/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy:        #1A2E4A;
  --navy-dark:   #0F1E32;
  --navy-mid:    #243D62;
  --gold:        #C9A55A;
  --gold-light:  #E2BC76;
  --gold-dark:   #A8893E;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --gray-100:    #F2F2F2;
  --gray-200:    #E0E0E0;
  --gray-400:    #9E9E9E;
  --gray-600:    #555555;
  --text:        #2C3E50;
  --text-light:  #6B7280;

  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 48px rgba(0,0,0,0.18);

  --font-body:    'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--off-white); }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc { margin: 0 auto; }

.text-link {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.text-link:hover { border-color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,165,90,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 22px; font-size: 0.8rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition);
}
.navbar__logo:hover { opacity: 0.88; }

.navbar__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__brand-top {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.navbar__brand-bottom {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.navbar__link--cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
}

.navbar__link--cta:hover {
  background: var(--gold-dark);
  color: var(--navy) !important;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}

.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.82) 0%,
    rgba(10, 22, 40, 0.55) 60%,
    rgba(10, 22, 40, 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 72px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  z-index: 1;
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}

.hero__scroll-down:hover { color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Hero reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--navy);
  padding: 56px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats__number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stats__symbol {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-left: 2px;
}

.stats__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 100px;
}

.about__badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 4px;
}

.about__lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.5;
}

.about__body {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-card:hover .service-card__icon {
  background: var(--gold);
  color: var(--navy);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(201,165,90,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   AGENTS
   ============================================================ */
.agents__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.agent-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
}

.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.agent-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.agent-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.agent-card:hover .agent-card__img-wrap img {
  transform: scale(1.05);
}

.agent-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.agent-card:hover .agent-card__overlay { opacity: 1; }

.agent-card__info {
  padding: 20px 24px;
  border-top: 3px solid var(--gold);
}

.agent-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.agent-card__role {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact__map iframe { display: block; }

.contact__details-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201,165,90,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact__icon svg { width: 18px; height: 18px; }

.contact__hours {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.contact__hours h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.contact__hours p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  padding: 72px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__logo { margin-bottom: 16px; }

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--gold); }

.footer__contact-block p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.55);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children inside a grid */
.services__grid .fade-in:nth-child(1) { transition-delay: 0s; }
.services__grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.services__grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.services__grid .fade-in:nth-child(4) { transition-delay: 0.24s; }
.services__grid .fade-in:nth-child(5) { transition-delay: 0.32s; }
.services__grid .fade-in:nth-child(6) { transition-delay: 0.40s; }

.agents__grid .fade-in:nth-child(1) { transition-delay: 0s; }
.agents__grid .fade-in:nth-child(2) { transition-delay: 0.12s; }
.agents__grid .fade-in:nth-child(3) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about__inner    { grid-template-columns: 1fr; gap: 48px; }
  .about__img      { height: 400px; }
  .about__badge    { bottom: -16px; right: 16px; }
  .footer__inner   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact__inner  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .navbar__nav.open { display: flex; }

  .navbar__link {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
  }

  .navbar__hamburger { display: flex; }

  .section { padding: 64px 0; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .services__grid { grid-template-columns: 1fr 1fr; }

  .agents__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; max-width: 260px; }
}

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid    { grid-template-columns: 1fr 1fr; }
  .about__img     { height: 280px; }
  .about__badge   { right: 8px; bottom: -12px; padding: 14px 18px; }
  .about__badge-num { font-size: 2rem; }
  .contact__inner { gap: 32px; }
}
