:root {
  --color-primary: #0a2540;
  --color-accent: #c9a24b;
  --color-accent-dark: #b08d3c;
  --color-background: #f8f9fa;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-success: #25d366;
  --color-danger: #dc2626;
  --color-divider: #e5e7eb;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

section[id] {
  scroll-margin-top: 132px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.01em;
}

a,
button,
input,
select,
textarea {
  transition: all 0.3s ease;
}

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

.container-shell {
  width: min(100% - 1.5rem, 1200px);
  margin-inline: auto;
}

.section-shell {
  padding: clamp(5rem, 8vw, 6rem) 0;
}

.section-kicker {
  color: var(--color-accent);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-kicker-dark {
  color: #eacb7c;
}

.section-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 2vw + 1.25rem, 3rem);
  line-height: 1.15;
  color: var(--color-primary);
}

.section-copy {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.top-bar {
  background: var(--color-primary);
  max-height: 42px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  padding: 0.55rem 0;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.top-bar-link:hover,
.top-bar-link:focus-visible {
  color: var(--color-accent);
}

#site-header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
}

#nav-shell {
  animation: navFade 0.5s ease forwards;
}

.nav-inner {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-divider);
  transform: translateY(0);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#site-header.scrolled .nav-inner {
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.1);
}

#site-header.nav-hidden .nav-inner {
  transform: translateY(-100%);
}

.nav-bar-content {
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  transition: padding 0.3s ease;
}

#site-header.scrolled .nav-bar-content {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

.site-brand-button,
.nav-link-button,
.drawer-link-button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.site-logo-header {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  clip-path: none;
  filter: none;
}

.nav-link {
  position: relative;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--color-accent);
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.drawer-link:hover,
.drawer-link:focus-visible {
  color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.drawer-link {
  color: rgba(255, 255, 255, 0.92);
}

.btn-primary,
.btn-gold,
.btn-outline,
.btn-outline-light {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.btn-primary:hover,
.btn-gold:hover,
.btn-outline:hover,
.btn-outline-light:hover {
  transform: translateY(-3px);
}

.btn-primary:active,
.btn-gold:active,
.btn-outline:active,
.btn-outline-light:active {
  transform: translateY(-1px);
}

/* Diagonal two-part fill sweep on hover: matches the live reference site's
   button interaction (two half-height layers growing from opposite corners,
   meeting in the middle) rather than an instant color swap. */
.btn-primary::before,
.btn-primary::after,
.btn-gold::before,
.btn-gold::after,
.btn-outline::before,
.btn-outline::after,
.btn-outline-light::before,
.btn-outline-light::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 50%;
  width: 0;
  transition: width 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.btn-primary::before,
.btn-gold::before,
.btn-outline::before,
.btn-outline-light::before {
  top: 0;
  left: 0;
}

.btn-primary::after,
.btn-gold::after,
.btn-outline::after,
.btn-outline-light::after {
  bottom: 0;
  right: 0;
}

.btn-primary:hover::before,
.btn-primary:hover::after,
.btn-gold:hover::before,
.btn-gold:hover::after,
.btn-outline:hover::before,
.btn-outline:hover::after,
.btn-outline-light:hover::before,
.btn-outline-light:hover::after {
  width: 100%;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 28px;
}

.btn-primary::before,
.btn-primary::after {
  background: var(--color-accent);
}

.btn-primary:hover {
  color: var(--color-primary);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.18);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 24px;
}

.btn-outline::before,
.btn-outline::after {
  background: var(--color-primary);
}

.btn-outline:hover {
  color: var(--color-white);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.18);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--color-white);
  padding: 10px 24px;
}

.btn-outline-light::before,
.btn-outline-light::after {
  background: var(--color-white);
}

.btn-outline-light:hover {
  color: var(--color-primary);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.btn-gold {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 28px;
}

.btn-gold::before,
.btn-gold::after {
  background: var(--color-accent);
}

.btn-gold:hover {
  color: var(--color-primary);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.18);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

#hero-slide-text {
  transition: opacity 0.3s ease;
}

#hero-slide-text.is-fading {
  opacity: 0;
}

.hero-dot {
  height: 10px;
  width: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
  width: 28px;
  background: var(--color-accent);
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto auto 6% -4%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.28), transparent 70%);
  filter: blur(10px);
}

.hero-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -3rem;
  top: 10rem;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

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

.hero-chip,
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: var(--color-white);
  backdrop-filter: blur(10px);
}

.hero-chip {
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-pill {
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: heroRise 0.65s ease forwards;
  animation-delay: var(--delay, 0s);
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
}

.hero-stat {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stat-value {
  color: var(--color-white);
  font-size: 1.75rem;
  font-weight: 700;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.badge-card,
.counter-card,
.reason-card {
  border-radius: 24px;
}

.badge-card {
  display: flex;
  gap: 1rem;
  height: 100%;
  align-items: flex-start;
  border: 1px solid var(--color-divider);
  background: var(--color-white);
  padding: 1.15rem 1.2rem;
}

.badge-card-content {
  flex: 1;
}

.badge-icon,
.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
}

.badge-icon {
  height: 52px;
  width: 52px;
  background: rgba(201, 162, 75, 0.12);
  color: var(--color-accent);
}

.counter-card {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(10, 37, 64, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 1.5rem;
}

.counter-value {
  color: var(--color-accent);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.counter-label {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.about-media {
  display: flex;
  align-self: start;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 32px;
  background: var(--color-white);
  box-shadow: 0 20px 52px rgba(10, 37, 64, 0.12);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}

.about-media-badge {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.92), rgba(10, 37, 64, 0.84));
  padding: 1rem 1.1rem;
  backdrop-filter: blur(10px);
}

.about-media-badge-label {
  display: block;
  color: #eacb7c;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-media-badge-copy {
  display: block;
  margin-top: 0.45rem;
  color: var(--color-white);
  font-size: 0.96rem;
  line-height: 1.7;
}

.agent-metric {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-top: 3px solid var(--color-primary);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(10, 37, 64, 0.1);
}

.agent-metric-value {
  display: block;
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.agent-metric-label {
  display: block;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.owner-panel {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 28px;
  background: var(--color-white);
  padding: 2rem;
  box-shadow: 0 18px 44px rgba(10, 37, 64, 0.08);
}

.owner-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.owner-point {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 1rem 1.1rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.owner-point:hover {
  border-color: var(--color-accent);
  transform: translateX(3px);
}

.owner-point-index {
  flex-shrink: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.owner-point h3 {
  font-size: 1.05rem;
  color: var(--color-primary);
}

.owner-point p {
  margin-top: 0.55rem;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.owner-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.owner-byline-avatar {
  height: 56px;
  width: 56px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 82% center;
  border: 2px solid var(--color-accent);
}

.owner-byline-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
  line-height: 1.3;
}

.owner-byline-role {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.reason-card {
  height: 100%;
  border: 1px solid rgba(10, 37, 64, 0.08);
  background: var(--color-white);
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.05);
}

.reason-icon {
  height: 60px;
  width: 60px;
  background: var(--color-primary);
  color: var(--color-white);
}

.map-frame {
  border: 1px solid rgba(10, 37, 64, 0.1);
  box-shadow: 0 18px 42px rgba(10, 37, 64, 0.12);
}

.office-contact-card {
  height: 100%;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.05);
}

.office-contact-label {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.office-contact-copy,
.office-contact-link {
  display: block;
  margin-top: 0.8rem;
  color: var(--color-primary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.office-contact-link:hover {
  color: var(--color-accent);
}

.office-contact-note {
  margin-top: 0.6rem;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-simple {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.footer-simple-label {
  color: #eacb7c;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-simple-contact {
  display: grid;
  gap: 0.5rem;
}

.footer-simple-link,
.footer-simple-address {
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.95rem;
  line-height: 1.75;
}

.footer-simple-link:hover {
  color: var(--color-accent);
}

.footer-simple-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.16);
  color: #8af0b2;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-simple-whatsapp:hover {
  background: rgba(37, 211, 102, 0.24);
  color: var(--color-white);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 32px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--color-success);
  color: var(--color-white);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.42);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  box-shadow: 0 -12px 24px rgba(10, 37, 64, 0.2);
}

.mobile-call-bar a:hover {
  color: var(--color-accent);
}

body.drawer-open {
  overflow: hidden;
}

@keyframes navFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  70% {
    opacity: 0;
    transform: scale(1.18);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (min-width: 768px) {
  .footer-simple {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .footer-simple-meta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .footer-simple {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) auto;
    align-items: center;
  }

  .footer-simple-meta {
    grid-column: auto;
    justify-self: end;
    text-align: right;
  }
}

@media (max-width: 1379px) {
  .whatsapp-float {
    display: none;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 112px;
  }

  section[id] {
    scroll-margin-top: 112px;
  }

  body {
    padding-bottom: 4.9rem;
  }

  .site-logo-header {
    max-height: 44px;
  }

  .btn-primary,
  .btn-gold {
    width: 100%;
  }

  .footer-simple-meta {
    padding-top: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
