: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: "Poppins", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  overflow-x: hidden;
}

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

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(4.25rem, 7vw, 5rem) 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;
}

#site-header {
  animation: navFade 0.5s ease forwards;
}

#site-header.scrolled #nav-shell {
  margin-top: 0.75rem;
}

#site-header.scrolled .nav-inner {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.12);
}

.site-logo-header {
  width: auto;
  height: 56px;
  max-width: min(100%, 240px);
  max-height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.site-brand {
  min-width: 0;
}

.site-logo-drawer-shell,
.site-logo-footer-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(10, 37, 64, 0.18);
}

.site-logo-drawer-shell {
  padding: 0.85rem 1rem;
}

.site-logo-footer-shell {
  padding: 1rem 1.15rem;
}

.site-logo-drawer {
  width: min(100%, 180px);
  height: auto;
}

.site-logo-footer {
  width: min(100%, 250px);
  height: auto;
}

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

.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,
.footer-link:hover,
.footer-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-outline,
.btn-gold,
.btn-outline-light,
.btn-search,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

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

.btn-primary:hover,
.btn-submit:hover:not(:disabled) {
  transform: scale(1.05);
  background: var(--color-accent);
  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:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

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

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

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

.btn-gold:hover,
.btn-search:hover {
  transform: scale(1.05);
  background: var(--color-accent-dark);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.4);
}

.btn-submit:disabled {
  cursor: not-allowed;
  background: #9ca3af;
  color: var(--color-white);
  box-shadow: none;
  transform: none;
}

.hero-section {
  background-image: linear-gradient(rgba(10, 37, 64, 0.72), rgba(10, 37, 64, 0.62)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80");
  background-position: center;
  background-size: cover;
}

.hero-section::before {
  content: "";
  position: absolute;
  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;
  right: -3rem;
  top: 10rem;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}

.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;
}

.search-panel {
  border: 1px solid rgba(10, 37, 64, 0.08);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.search-field select {
  min-height: 52px;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: 0 1rem;
  color: var(--color-text);
  outline: none;
}

.search-field select:focus,
.form-field:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.12);
}

.badge-card,
.counter-card,
.reason-card,
.contact-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: center;
  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: center 16%;
}

.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-portrait-shell {
  position: relative;
  padding-bottom: 1.5rem;
}

.agent-portrait {
  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);
}

.agent-portrait img {
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: 78% center;
}

.agent-floating-stat {
  position: absolute;
  right: -1rem;
  bottom: 0;
  max-width: 240px;
  border: 1px solid var(--color-divider);
  border-radius: 24px;
  background: var(--color-white);
  padding: 1.25rem;
  box-shadow: 0 16px 38px rgba(10, 37, 64, 0.12);
}

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

.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: 1.75rem;
  box-shadow: 0 18px 44px rgba(10, 37, 64, 0.08);
}

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

.owner-point {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 1rem 1.1rem;
}

.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;
}

.property-card {
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(10, 37, 64, 0.16);
}

.property-thumb {
  position: relative;
  overflow: hidden;
}

.property-thumb img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-thumb img {
  transform: scale(1.1);
}

.price-tag,
.listing-tag {
  position: absolute;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.price-tag {
  right: 1rem;
  top: 1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.55rem 0.9rem;
}

.listing-tag {
  left: 1rem;
  top: 1rem;
  background: rgba(10, 37, 64, 0.82);
  color: var(--color-white);
  padding: 0.5rem 0.85rem;
}

.property-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.category-card {
  height: 100%;
  border: 1px solid var(--color-divider);
  border-radius: 24px;
  background: var(--color-white);
  padding: 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(10, 37, 64, 0.08);
}

.category-card:hover .category-icon {
  animation: iconBounce 0.8s ease;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  border-radius: 20px;
  background: rgba(201, 162, 75, 0.12);
  color: var(--color-accent);
}

.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);
}

.testimonial-shell {
  position: relative;
}

.testimonial-track {
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-dot {
  height: 12px;
  width: 12px;
  border-radius: 999px;
  background: var(--color-divider);
}

.testimonial-dot.active {
  background: var(--color-accent);
  transform: scale(1.1);
}

.agent-card {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 26px;
  background: var(--color-white);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.07);
}

.agent-avatar {
  height: 132px;
  width: 132px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  border: 4px solid rgba(201, 162, 75, 0.18);
}

.agent-avatar img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.agent-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 42px;
  border-radius: 999px;
}

.agent-action.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: var(--color-success);
}

.agent-action.call {
  background: rgba(10, 37, 64, 0.12);
  color: var(--color-primary);
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 1.2rem;
  backdrop-filter: blur(8px);
}

.contact-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-value {
  margin-top: 0.6rem;
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.8;
}

.map-frame {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.form-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-primary);
}

.form-field {
  width: 100%;
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
}

.form-field {
  min-height: 54px;
  padding: 0.9rem 1rem;
}

.form-field.is-invalid {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-error {
  display: none;
  margin-top: 0.55rem;
  color: var(--color-danger);
  font-size: 0.85rem;
}

.form-error.is-visible {
  display: block;
}

.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;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px);
  }
  55% {
    transform: translateY(2px);
  }
}

@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) {
  body {
    padding-bottom: 4.9rem;
  }

  .site-logo-header {
    height: 46px;
    max-width: min(100%, 190px);
    max-height: 46px;
  }

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

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

@media (max-width: 1023px) {
  .agent-floating-stat {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }

  .about-media img {
    object-position: center 12%;
  }

  .site-logo-footer {
    width: min(100%, 220px);
  }
}

@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;
  }
}
