/* Brand colors
   Navy: #043B83
   Gold: #A24045
   Off-white: #F8F5EE
*/

:root {
  --color-navy: #043b83;
  --color-navy-deep: #03295c;
  --color-gold: #a24045;
  --color-cream: #f8f5ee;
  --color-surface: #ffffff;
  --color-line: #d9e0ea;
  --shadow-soft: 0 18px 45px rgba(3, 41, 92, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  color: #0f172a;
  background:
    radial-gradient(circle at top left, rgba(162, 64, 69, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(4, 59, 131, 0.1), transparent 20%),
    var(--color-cream);
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(4, 59, 131, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 59, 131, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 75%);
}

a {
  text-decoration: none;
}

.site-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.text-navy {
  color: var(--color-navy);
}

.text-gold {
  color: var(--color-gold);
}

.bg-navy {
  background: var(--color-navy);
}

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  transform: translateZ(0);
  transition: box-shadow 0.2s ease;
}

.site-header-shell.header-scrolled {
  box-shadow: 0 18px 40px rgba(3, 41, 92, 0.12);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(3, 41, 92, 0.55), rgba(4, 59, 131, 0.4)),
    url("../images/section-modern.jpg") center/cover;
  box-shadow: var(--shadow-soft);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -6rem -6rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(162, 64, 69, 0.18);
  filter: blur(20px);
}

.section-card,
.info-card,
.property-card,
.trust-chip,
.testimonial-card,
.process-card,
.faq-item,
.form-panel {
  border: 1px solid rgba(3, 41, 92, 0.09);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.section-card.bg-navy {
  background: var(--color-navy);
}

.section-card {
  border-radius: 1.75rem;
}

.info-card,
.property-card,
.trust-chip,
.testimonial-card,
.process-card,
.form-panel {
  border-radius: 1.5rem;
}

.info-card,
.property-card,
.trust-chip {
  padding: 1.5rem;
}

.info-card,
.property-card,
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

.info-card:hover,
.property-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(3, 41, 92, 0.14);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(4, 59, 131, 0.08);
  color: var(--color-navy);
  flex: 0 0 auto;
}

.icon-badge svg {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
}

.inner-banner {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  min-height: 13rem;
  background-color: var(--color-navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-soft);
}

.inner-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(3, 41, 92, 0.34), rgba(3, 41, 92, 0.54)),
    radial-gradient(circle at top right, rgba(162, 64, 69, 0.18), transparent 34%);
}

.inner-banner-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  color: #fff;
}

.image-slot {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: rgba(3, 41, 92, 0.04);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-soft);
}

.image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 41, 92, 0.48), rgba(3, 41, 92, 0.08));
}

.image-slot-content {
  position: relative;
  z-index: 1;
}

.image-slot-tile {
  min-height: 12rem;
}

.image-slot-founder {
  min-height: 18rem;
  max-height: 26rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-mark-dark {
  background: linear-gradient(135deg, var(--color-gold), #7f3234);
}

.site-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-logo-shell-dark {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.site-logo-image {
  display: block;
  object-fit: contain;
}

.site-logo-image-light {
  width: 3.1rem;
  height: 3.1rem;
}

.site-logo-image-dark {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #fff;
}

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: #334155;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-nav-link:hover {
  background: rgba(4, 59, 131, 0.06);
  color: var(--color-navy);
}

.nav-link-active,
.mobile-nav-link-active {
  border-bottom: 2px solid var(--color-gold);
  border-radius: 0;
  color: var(--color-navy);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, filter 0.25s ease;
}

.header-action:hover {
  transform: translateY(-1px) scale(1.03);
}

.header-action-ghost {
  border: 1px solid rgba(4, 59, 131, 0.16);
  background: #fff;
  color: var(--color-navy);
}

.header-action-ghost:hover {
  border-color: rgba(4, 59, 131, 0.25);
  box-shadow: 0 10px 24px rgba(3, 41, 92, 0.08);
}

.header-action-solid {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
  color: #fff;
}

.header-action-solid:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 0.28rem;
  width: 2.9rem;
  height: 2.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(4, 59, 131, 0.15);
  background: #fff;
}

.menu-toggle span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-navy);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-nav.is-open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(20rem, calc(100vw - 1.5rem));
  height: 100%;
  margin-left: auto;
  border: 1px solid rgba(3, 41, 92, 0.1);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 60px rgba(3, 41, 92, 0.18);
  transform: translateX(110%);
  transition: transform 260ms ease;
  overflow: auto;
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(3, 41, 92, 0.08);
  padding: 1rem 1rem 0.85rem;
}

.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(4, 59, 131, 0.15);
  border-radius: 999px;
  background: #fff;
  color: var(--color-navy);
  font-size: 1.35rem;
  line-height: 1;
}

.mobile-nav-inner {
  margin-bottom: 1rem;
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(162, 64, 69, 0.14);
  padding: 0.42rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.footer-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-link {
  color: #cbd5e1;
  transition: 160ms ease;
}

.footer-link:hover {
  color: #fff;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.social-pill:hover {
  transform: translateY(-2px) scale(1.15);
  background: rgba(162, 64, 69, 0.12);
  border-color: rgba(162, 64, 69, 0.3);
  color: var(--color-gold);
  box-shadow: 0 12px 26px rgba(3, 41, 92, 0.22);
}

.social-pill svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.testimonial-card {
  padding: 1.4rem;
}

.process-card {
  padding: 1.5rem;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(162, 64, 69, 0.16);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.faq-item {
  overflow: hidden;
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  font-weight: 800;
  color: var(--color-navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--color-gold);
  font-size: 1.35rem;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.3rem 1.25rem;
  color: #475569;
  line-height: 1.8;
}

.form-field {
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--color-line);
  background: #fff;
  padding: 0.95rem 1rem;
  color: #0f172a;
  outline: none;
  transition: 160ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(4, 59, 131, 0.35);
  box-shadow: 0 0 0 4px rgba(4, 59, 131, 0.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.88);
}

.lightbox img {
  max-height: 90vh;
  max-width: min(92vw, 1100px);
  border-radius: 1.5rem;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
}

.is-hidden {
  display: none !important;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-deep));
  color: #fff;
  box-shadow: 0 18px 35px rgba(3, 41, 92, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, visibility 0s linear 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.back-to-top:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 45px rgba(3, 41, 92, 0.32);
}

.back-to-top svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 5.75rem;
  z-index: 54;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 35px rgba(14, 89, 49, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 45px rgba(14, 89, 49, 0.32);
  filter: brightness(1.02);
}

.floating-whatsapp svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

html.js-enabled main section.reveal-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

html.js-enabled main section.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js-enabled main section.reveal-section,
  .info-card,
  .property-card,
  .nav-link,
  .mobile-nav-link,
  .header-action,
  .social-pill,
  .back-to-top,
  .faq-item summary::after {
    transition: none;
  }

  html.js-enabled main section.reveal-section {
    opacity: 1;
    transform: none;
  }

  .info-card:hover,
  .property-card:hover,
  .social-pill:hover,
  .header-action:hover,
  .back-to-top:hover {
    transform: none;
  }
}
