:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-soft: #ece6dc;
  --ink: #18201d;
  --muted: #63706a;
  --line: #ded6ca;
  --accent: #176b59;
  --accent-dark: #0d4238;
  --gold: #c69a4a;
  --shadow: 0 24px 70px rgba(24, 32, 29, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

.page {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.94);
  box-shadow: 0 10px 30px rgba(24, 32, 29, 0.08);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.site-header.nav-open {
  background: rgba(19, 24, 22, 0.72);
  box-shadow: none;
  color: #fff;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.9;
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.nav-cta {
  border: 1px solid currentColor;
  padding: 10px 18px;
}

.button {
  padding: 13px 20px;
}

.button:hover,
.nav-cta:hover,
.property-card:hover,
.leader-card:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #18130a;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 92px) 72px;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 24, 21, 0.82), rgba(12, 24, 21, 0.52) 46%, rgba(12, 24, 21, 0.18)),
    url("https://images.unsplash.com/photo-1600566753376-12c8ab7fb75b?auto=format&fit=crop&w=2200&q=85") center/cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(100%, 780px);
  max-width: 780px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 88px);
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 92px);
}

.section-label {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 58px);
}

.section-copy {
  max-width: 760px;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
  background: var(--surface);
}

.about-stats {
  display: grid;
  gap: 16px;
}

.about-stats div {
  border-left: 4px solid var(--gold);
  background: var(--bg);
  padding: 24px 26px;
  border-radius: var(--radius);
}

.about-stats strong {
  display: block;
  color: var(--accent-dark);
  font-size: 38px;
  line-height: 1;
}

.about-stats span {
  color: var(--muted);
  font-weight: 700;
}

.logo-strip {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 0;
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
  overflow: hidden;
}

.logo-strip p {
  margin: 0;
  padding: 0 clamp(20px, 6vw, 92px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.logo-marquee {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
}

.logo-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(28px, 3vw, 44px);
  padding-right: clamp(28px, 3vw, 44px);
  animation: logo-scroll 42s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logos span,
.logo-track span {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.logo-track span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface-soft);
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.properties-grid,
.testimonial-grid,
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.property-card,
.leader-card,
blockquote {
  background: var(--surface);
  border: 1px solid rgba(222, 214, 202, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(24, 32, 29, 0.07);
}

.property-card,
.leader-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.property-card:hover,
.leader-card:hover {
  box-shadow: var(--shadow);
}

.property-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.property-body {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.property-body h3,
.leader-card h3 {
  margin-bottom: 4px;
  font-size: 19px;
  line-height: 1.25;
}

.property-body p,
.leader-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.property-body strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 18px;
}

.testimonials-section {
  background: var(--accent-dark);
  color: #fff;
}

.testimonials-section .section-label {
  color: var(--gold);
}

.testimonials-section h2 {
  color: #fff;
}

blockquote {
  margin: 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

blockquote p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

blockquote cite {
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.leader-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
}

.leader-card h3,
.leader-card p {
  padding-inline: 20px;
}

.leader-card h3 {
  margin-top: 20px;
}

.leader-card p {
  padding-bottom: 22px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 54px clamp(20px, 6vw, 92px);
  background: #131816;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 34px;
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

.footer address,
.social-links {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand .brand-mark {
  width: 78px;
  height: 78px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(222, 214, 202, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(24, 32, 29, 0.07);
  padding: 28px 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.channel-section {
  background: var(--surface-soft);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.channel-card {
  background: var(--surface);
  border: 1px solid rgba(222, 214, 202, 0.8);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.channel-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  color: var(--accent-dark);
}

.channel-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid rgba(222, 214, 202, 0.8);
  border-radius: var(--radius);
}

.process-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-section {
  background: var(--accent-dark);
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-box .section-label {
  color: var(--gold);
}

.cta-box h2 {
  margin-bottom: 12px;
  color: #fff;
}

.cta-box p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
}

.nav-close {
  display: none;
}

@media (max-width: 920px) {
  .services-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: auto 1fr;
    padding: 20px;
  }


  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    padding: 96px 24px 32px;
    gap: 0;
    background: rgba(19, 24, 22, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #fff;
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  .site-header.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 17px;
  }

  .nav-cta-mobile {
    display: inline-flex;
    align-self: flex-end;
    margin-top: 22px;
    border: 1px solid var(--gold);
    color: var(--gold);
  }

  .nav-close {
    position: absolute;
    top: 22px;
    right: 24px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
  }

  .nav-close span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .nav-close span:first-child {
    transform: rotate(45deg);
  }

  .nav-close span:last-child {
    transform: rotate(-45deg);
  }

  .about-section,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .properties-grid,
  .testimonial-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .property-card img,
  .leader-card img {
    height: min(62vw, 360px);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 112px 18px 46px;
  }

  .hero-content {
    max-width: 354px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .hero p {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    max-width: 340px;
  }

  .button {
    min-height: 50px;
    padding: 12px 16px;
  }

  .section {
    padding: 64px 18px;
  }

  .property-body {
    display: grid;
  }

  .footer {
    padding: 40px 18px;
    gap: 28px;
    text-align: left;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    gap: 8px;
  }

  .footer p,
  .footer address span,
  .social-links a {
    font-size: 14px;
  }
}

/* --- Footer Bottom Styling --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 150ms ease;
  font-size: 13px;
}

.footer-bottom-links a:hover {
  color: #fff !important;
}

.footer-bottom-links .separator {
  color: rgba(255, 255, 255, 0.2);
}

/* --- Legal Pages Styling --- */
.legal-hero {
  padding: 160px 24px 80px;
  background: linear-gradient(135deg, var(--accent-dark) 0%, #131816 100%);
  color: #fff;
  text-align: center;
}

.legal-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.2;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(14px, 2vw, 16px);
  max-width: 600px;
  margin: 0 auto;
}

.legal-section {
  padding: 60px 24px 100px;
  background: var(--bg);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: clamp(24px, 6vw, 56px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-container h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--accent-dark);
  margin-top: 36px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.legal-container h2:first-of-type {
  margin-top: 0;
}

.legal-container p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.legal-container ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-container li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-container strong {
  color: var(--ink);
}

.thank-you-container {
  text-align: center;
}

.thank-you-hero {
  display: grid;
  justify-items: center;
}

.thank-you-hero h1,
.thank-you-hero p {
  width: 100%;
  text-align: center;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.thank-you-actions .button-secondary {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}
