/* ==========================================================================
   CALLE REAL — LANDING PAGE
   Editorial-Grade Luxury Real Estate
   Granada, Nicaragua
   ========================================================================== */

:root {
  /* Granada Colonial Palette */
  --c-ivory: #FAF6EE;          /* Limewash white — slightly warmer/yellower */
  --c-sand-light: #F2EBD9;     /* Aged plaster light */
  --c-sand: #E5D9C0;           /* Stucco tan */
  --c-sand-dark: #CFC2A6;      /* Weathered adobe */
  --c-terracotta: #B85C38;     /* Teja clay — deeper, more red-orange */
  --c-terracotta-dark: #8E3E22; /* Baked clay shadow */
  --c-terracotta-light: #D4886A; /* Sunlit terracotta */
  --c-rose: #C29483;
  --c-tobacco: #2E1F14;        /* Darker, richer colonial wood */
  --c-brass: #B8944E;          /* Aged bronze / brass hardware */
  --c-brass-light: #D4B36A;    /* Sunlit brass */
  --c-palm: #2B4434;           /* Deeper tropical green */
  --c-ink: #1A1209;            /* Very dark sepia-black (not blue-black) */
  --c-charcoal: #2D2418;       /* Warm charcoal */
  --c-muted: #6B6152;          /* Warm muted — brown-gray not blue-gray */
  --c-indigo: #1E3A5F;         /* Colonial door indigo blue */
  --c-ochre: #D4A843;          /* Colonial yellow-ochre (iconic Granada color) */
  --c-ochre-light: #E8C96E;    /* Light ochre / golden */
  --c-border: rgba(184, 92, 56, 0.18);
  --c-border-subtle: rgba(46, 31, 20, 0.10);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations & Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 12px rgba(26, 18, 9, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 18, 9, 0.10);
  --shadow-lg: 0 24px 64px rgba(26, 18, 9, 0.16);
  --shadow-warm: 0 16px 40px rgba(184, 92, 56, 0.14);

  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.2, 0, 0, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.85s cubic-bezier(0.16, 1, 0.3, 1);

  /* Max Widths */
  --max-w-narrow: 860px;
  --max-w-content: 1180px;
  --max-w-wide: 1360px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--c-ivory);
  color: var(--c-tobacco);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-tobacco);
  background-color: var(--c-ivory);
  overflow-x: hidden;
  position: relative;
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.section {
  padding: clamp(4.5rem, 8vw, 8.5rem) 0;
  position: relative;
}

/* ======= COLONIAL GRANADA ORNAMENTAL & RELIEF SYSTEM ======= */

/* Authentic Granada Hydraulic Tile Frieze (Friso de Mosaicos Granadinos) */
.colonial-tile-border {
  position: relative;
}
.colonial-tile-border::after {
  content: '';
  display: block;
  width: 100%;
  height: 24px;
  background-image: url('assets/colonial/mosaico-granada.svg');
  background-repeat: repeat-x;
  background-size: 24px 24px;
  border-top: 2px solid var(--c-ochre);
  border-bottom: 2px solid var(--c-terracotta-dark);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3), 0 3px 8px rgba(0,0,0,0.15);
  opacity: 0.95;
}

/* Wrought-iron scrollwork divider (Rejería Colonial de Granada — Full Width) */
.colonial-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: clamp(3.5rem, 6vw, 5.5rem) 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.colonial-divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 67, 0.4) 30%, var(--c-brass) 85%, var(--c-ochre) 100%);
  margin-right: clamp(0.75rem, 2vw, 1.75rem);
}

.colonial-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--c-ochre) 0%, var(--c-brass) 15%, rgba(212, 168, 67, 0.4) 70%, transparent 100%);
  margin-left: clamp(0.75rem, 2vw, 1.75rem);
}

.colonial-divider-ornament {
  display: block !important;
  flex-shrink: 0;
  width: clamp(280px, 40vw, 440px);
  height: 38px;
  background: url('assets/colonial/reja-filigrana.svg') no-repeat center center;
  background-size: contain;
}

/* Stucco texture overlay — subtle mineral plaster noise */
.stucco-texture {
  position: relative;
}
.stucco-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

/* Colonial arch top decoration with carved keystone (Arco Colonial) */
.colonial-arch-top {
  position: relative;
}
.colonial-arch-top::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 24px;
  background: url('assets/colonial/arco-clave.svg') no-repeat center center;
  background-size: contain;
  z-index: 5;
}

/* KICKERS & HEADINGS — Colonial Cartouche / Plaque style */
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ochre);
  margin-bottom: 1.15rem;
  position: relative;
  padding: 0.35rem 0.95rem;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 6px rgba(46, 31, 20, 0.04);
}
.section-kicker::before {
  content: '❖';
  font-size: 0.6rem;
  color: var(--c-terracotta);
}
.section-kicker::after {
  content: '❖';
  font-size: 0.6rem;
  color: var(--c-terracotta);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4.2vw, 3.75rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }
}

.section-description {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 680px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* BUTTONS — Colonial Relief & Bevel */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  position: relative;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(180deg, #C76644 0%, #A34226 100%);
  color: #FFFFFF;
  border: 1px solid #7D2D16;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 3px 0 #7D2D16,
    0 6px 18px rgba(163, 66, 38, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #D4724E 0%, #B04A2D 100%);
  transform: translateY(1px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 0 #7D2D16,
    0 8px 24px rgba(163, 66, 38, 0.45);
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 
    inset 0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 0 #7D2D16,
    0 2px 8px rgba(163, 66, 38, 0.25);
}

.btn-outline {
  border: 1.5px solid var(--c-terracotta);
  color: var(--c-terracotta);
  background-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(212, 168, 67, 0.2);
}

.btn-outline:hover {
  background-color: var(--c-terracotta);
  border-color: var(--c-terracotta);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(163, 66, 38, 0.25);
}

.btn-outline-nav {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 0.6rem 1.25rem;
  backdrop-filter: blur(8px);
}

.btn-outline-nav:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .btn-outline-nav {
    display: none;
  }
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* 1. PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--c-ink);
  color: var(--c-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem;
}

.preloader-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--c-ochre);
  opacity: 0.85;
}

.preloader-brand {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: #FFFFFF;
}

.preloader-divider {
  width: 48px;
  height: 1px;
  background-color: var(--c-ochre);
  margin: 0.4rem 0;
  transform: scaleX(0);
  animation: preloaderLine 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderLine {
  to { transform: scaleX(1); }
}

.preloader-location {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-sand);
  letter-spacing: 0.05em;
}

.preloader-content::after {
  content: '⚜';
  display: block;
  font-size: 0.9rem;
  color: var(--c-brass);
  opacity: 0.5;
  margin-top: 0.3rem;
}

/* HEADER & NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(26, 18, 9, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ensure header stays visible and sticky on scroll */
.site-header.header-hidden {
  transform: translateY(0);
}

.header-container {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #FFFFFF;
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--c-ochre);
  line-height: 1;
}

.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop { display: block; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--c-ochre);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  color: #FFFFFF;
}

@media (min-width: 992px) {
  .menu-toggle-btn { display: none; }
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 1px;
  transition: transform var(--transition-fast);
}

/* MOBILE NAV */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(15, 18, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
}

.mobile-nav-drawer:not(.open) {
  display: none !important;
}

.mobile-nav-drawer.open {
  display: block !important;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  justify-content: space-between;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.mobile-nav-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: #FFFFFF;
}

.menu-close-btn {
  font-size: 2.25rem;
  color: #FFFFFF;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--c-terracotta-light);
}

.mobile-nav-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.mobile-pricing-cue {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #FFFFFF;
}

.mobile-pricing-sub {
  font-size: 0.85rem;
  color: var(--c-brass-light);
  margin-bottom: 1.25rem;
}

/* 2. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.02);
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.04);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(20, 23, 28, 0.2) 0%,
    rgba(20, 23, 28, 0.55) 75%,
    rgba(20, 23, 28, 0.85) 100%
  ),
  linear-gradient(
    to bottom,
    rgba(20, 23, 28, 0.6) 0%,
    rgba(20, 23, 28, 0.15) 35%,
    rgba(20, 23, 28, 0.6) 75%,
    rgba(20, 23, 28, 0.95) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 6rem);
  max-height: 980px;
}

.hero-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker-wrap {
  margin-bottom: 1.25rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--c-ochre-light);
  border: 1px solid rgba(212, 168, 67, 0.5);
  padding: 0.4rem 1.15rem;
  border-radius: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 8vw, 6.75rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 40px rgba(26, 18, 9, 0.6);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  font-weight: 400;
  color: var(--c-sand-light);
  letter-spacing: 0.02em;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-pricing-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 18, 9, 0.72);
  border: 1px solid rgba(212, 168, 67, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-xs);
  margin-bottom: 2.5rem;
  gap: 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
  .hero-pricing-badge {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    width: 100%;
    max-width: 320px;
  }
}

.pricing-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.pricing-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ochre-light);
}

.pricing-val {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.03em;
}

.pricing-badge-separator {
  width: 1px;
  height: 28px;
  background-color: rgba(212, 168, 67, 0.3);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sand-light);
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: all var(--transition-fast);
}

.hero-link-secondary:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

.hero-scroll-cue {
  margin-top: 3.5rem;
}

.scroll-cue-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.scroll-cue-link:hover {
  color: #FFFFFF;
}

.scroll-cue-text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: pulseLine 2s infinite ease-in-out;
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* 3. MANIFESTO SECTION */
.manifesto-section {
  background: linear-gradient(180deg, var(--c-ivory) 0%, #F5EED9 100%);
  border-bottom: 1px solid var(--c-border-subtle);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .manifesto-grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.editorial-image-frame {
  position: relative;
  border-radius: 0;
  border: 4px solid var(--c-ivory);
  box-shadow: 
    0 0 0 1px var(--c-ochre),
    0 0 0 5px var(--c-sand-dark),
    0 0 0 6px var(--c-ochre),
    0 16px 40px rgba(46, 31, 20, 0.16);
  background-color: var(--c-sand);
}

.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  transition: transform var(--transition-slow);
}

.editorial-image-frame:hover .editorial-img {
  transform: scale(1.025);
}

.editorial-caption {
  padding: 1rem 1.25rem;
  background-color: var(--c-sand);
  border-top: 1px solid var(--c-border-subtle);
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.caption-marker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-ochre);
}

.caption-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--c-muted);
}

.manifesto-statement {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.manifesto-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.025rem;
  line-height: 1.8;
  color: var(--c-tobacco);
  margin-bottom: 2.25rem;
}

.manifesto-paragraphs p:first-of-type::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 4.8rem;
  line-height: 0.8;
  padding-top: 6px;
  padding-right: 14px;
  padding-bottom: 2px;
  color: var(--c-terracotta);
  font-weight: 600;
  text-shadow: 2px 2px 0 var(--c-sand-dark), 3px 3px 0 rgba(212, 168, 67, 0.4);
}

.manifesto-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-border-subtle);
}

.meta-tag {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.meta-val {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-ink);
}

/* 4. LIFESTYLE SECTION */
.lifestyle-section {
  background: linear-gradient(180deg, var(--c-sand-light) 0%, #EDE3CC 100%);
}

.lifestyle-panels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 768px) {
  .lifestyle-panels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lifestyle-card {
  background-color: var(--c-ivory);
  border-radius: 0;
  border: 1px solid var(--c-sand-dark);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(212, 168, 67, 0.25),
    0 8px 24px rgba(46, 31, 20, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
}

.lifestyle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-ochre), var(--c-terracotta), var(--c-ochre));
  z-index: 4;
}

.lifestyle-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-ochre);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px var(--c-ochre),
    0 18px 40px rgba(46, 31, 20, 0.14);
}

.lifestyle-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--c-sand);
  border-bottom: 2px solid var(--c-ochre);
}

.lifestyle-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.lifestyle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.lifestyle-card:hover .lifestyle-img {
  transform: scale(1.04);
}

.lifestyle-card-num {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FAF6EE;
  border: 1.5px solid var(--c-indigo);
  box-shadow: 
    inset 0 0 0 2px #FAF6EE,
    inset 0 0 0 3px rgba(212, 168, 67, 0.6),
    0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--c-indigo);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 2;
}

.lifestyle-card-body {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lifestyle-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ochre);
  margin-bottom: 0.5rem;
}

.lifestyle-card-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lifestyle-card-text {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--c-muted);
}

/* 4b. DEDICATED GRANADA HERITAGE & INSPIRATION SECTION */
.granada-section {
  background: var(--c-ivory);
  position: relative;
}

.granada-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 860px) {
  .granada-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.granada-card {
  background: var(--c-ivory);
  border: 1px solid var(--c-sand-dark);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(212, 168, 67, 0.28),
    0 12px 36px rgba(46, 31, 20, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.granada-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(212, 168, 67, 0.5),
    0 18px 48px rgba(46, 31, 20, 0.12);
}

.granada-media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--c-sand);
  border-bottom: 2px solid var(--c-ochre);
}

.granada-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.granada-card:hover .granada-img {
  transform: scale(1.04);
}

.granada-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(46, 31, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--c-brass-light);
  border: 1px solid rgba(212, 168, 67, 0.45);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.85rem;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.granada-card-body {
  padding: 2.25rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.granada-subheading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-ochre);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.granada-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--c-ink);
  margin-bottom: 0.95rem;
  line-height: 1.25;
}

.granada-text {
  font-size: 0.935rem;
  line-height: 1.7;
  color: var(--c-body);
}

.granada-pillars-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 2.25rem 2rem;
  background: rgba(244, 239, 230, 0.85);
  border: 1px solid rgba(212, 168, 67, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 24px rgba(46, 31, 20, 0.05);
  position: relative;
}

@media (min-width: 640px) {
  .granada-pillars-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .granada-pillars-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.granada-pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-ivory);
  border: 1px solid rgba(212, 168, 67, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(46, 31, 20, 0.08);
}

.pillar-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.pillar-content {
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--c-ink);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--c-muted);
}

/* 5. ARCHITECTURE SECTION */
.architecture-section {
  background: var(--c-ivory);
  position: relative;
}

.arch-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 992px) {
  .arch-intro-grid {
    grid-template-columns: 1fr 1.25fr;
    align-items: flex-start;
  }
}

.arch-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--c-tobacco);
}

.arch-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .arch-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.arch-pillar-item {
  padding: 1.75rem;
  background-color: var(--c-ivory);
  border-radius: 0;
  border: 1px solid var(--c-sand-dark);
  border-left: 4px solid var(--c-ochre);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 14px rgba(46, 31, 20, 0.05);
  transition: all var(--transition-fast);
  position: relative;
}

.arch-pillar-item:hover {
  border-left-color: var(--c-terracotta);
  border-color: var(--c-ochre);
  transform: translateX(4px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(46, 31, 20, 0.1);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FAF6EE;
  color: var(--c-terracotta);
  border: 1.5px solid var(--c-ochre);
  box-shadow: 
    inset 0 0 0 2px rgba(212, 168, 67, 0.15),
    0 2px 6px rgba(46, 31, 20, 0.08);
  border-radius: 0;
  margin-bottom: 1.15rem;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--c-muted);
}

.arch-spotlight-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  background-color: var(--c-sand);
}

.arch-spotlight-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  min-height: 380px;
}

.spotlight-overlay-card {
  position: absolute;
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 480px;
  background: rgba(20, 23, 28, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  border-left: 3px solid var(--c-ochre);
  padding: 1.75rem;
  color: #FFFFFF;
}

.spotlight-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-ochre-light);
  display: block;
  margin-bottom: 0.5rem;
}

.spotlight-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--c-sand-light);
  margin-bottom: 0.75rem;
}

.spotlight-author {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

/* Material Palette Strip */
.material-palette-wrap {
  background-color: var(--c-sand-light);
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 0;
  border: 1px solid var(--c-border-subtle);
  border-top: 3px solid var(--c-ochre);
}

.palette-header {
  margin-bottom: 2rem;
}

.palette-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: 0.5rem;
}

.palette-subtitle {
  font-size: 0.95rem;
  color: var(--c-muted);
}

.materials-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .materials-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .materials-strip { grid-template-columns: repeat(6, 1fr); }
}

.material-chip {
  background-color: var(--c-ivory);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--c-sand-dark);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 4px 12px rgba(46, 31, 20, 0.06);
  transition: all var(--transition-fast);
  cursor: default;
  position: relative;
}

.material-chip:hover, .material-chip:focus {
  transform: translateY(-4px);
  border-color: var(--c-ochre);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(46, 31, 20, 0.12);
}

.chip-color {
  height: 90px;
  width: 100%;
  position: relative;
}

.swatch-ochre {
  background: linear-gradient(135deg, #E5AC36 0%, #C48518 100%);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.swatch-terracotta {
  background: linear-gradient(135deg, #BD6446 0%, #9F4B32 100%);
}

.swatch-ivory {
  background: linear-gradient(135deg, #FAF6EE 0%, #E8DFCC 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.swatch-indigo {
  background: linear-gradient(135deg, #244973 0%, #162E4D 100%);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.swatch-sand {
  background: radial-gradient(circle at 30% 30%, #EFE8DD 15%, #DFD5C6 85%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.swatch-brass {
  background: linear-gradient(135deg, #3A2E26 0%, #63503B 50%, #B8944E 100%);
}

.swatch-wood {
  background: linear-gradient(135deg, #4A372C 0%, #2A1C14 100%);
}

.swatch-palm {
  background: linear-gradient(135deg, #3E5240 0%, #253327 100%);
}

.chip-info {
  padding: 1rem 0.85rem;
}

.chip-code {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

.chip-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--c-ink);
  margin: 0.2rem 0 0.4rem;
}

.chip-desc {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--c-muted);
}

/* 6. RESIDENCE COLLECTION */
.residences-section {
  background: linear-gradient(180deg, var(--c-sand-light) 0%, #E8DEC8 100%);
  border-top: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
}

.residence-filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.35rem;
  background-color: var(--c-ivory);
  border: 1px solid var(--c-border-subtle);
  border-radius: 0;
}

@media (max-width: 640px) {
  .residence-filter-bar {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

.filter-tab {
  padding: 0.65rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 0;
  cursor: pointer;
  color: var(--c-muted);
  transition: all var(--transition-fast);
}

@media (max-width: 640px) {
  .filter-tab {
    text-align: center;
    width: 100%;
  }
}

.filter-tab:hover {
  color: var(--c-ink);
}

.filter-tab.active {
  background-color: var(--c-indigo);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
}

.residences-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  width: 100%;
}

@media (min-width: 992px) {
  .residences-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.residence-card {
  min-width: 0;
  max-width: 100%;
  background-color: var(--c-ivory);
  border-radius: 0;
  border: 1px solid var(--c-sand-dark);
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(212, 168, 67, 0.25),
    0 10px 32px rgba(46, 31, 20, 0.08);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.residence-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--c-ochre), var(--c-terracotta), var(--c-indigo), var(--c-ochre));
  z-index: 4;
}

.residence-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-ochre);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px var(--c-ochre),
    0 20px 48px rgba(46, 31, 20, 0.14);
}

.residence-card-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--c-border-subtle);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--c-ivory) 100%);
}

@media (max-width: 640px) {
  .residence-card-header {
    padding: 1.25rem 1.25rem 1rem;
  }
}

.residence-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.residence-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terracotta-dark);
  background-color: #FAF6EE;
  border: 1.5px solid var(--c-terracotta);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 2px 6px rgba(46, 31, 20, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 0;
}

.residence-tag.badge-two-story {
  color: var(--c-indigo);
  background-color: #FAF6EE;
  border: 1.5px solid var(--c-indigo);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 2px 6px rgba(30, 58, 95, 0.15);
  font-weight: 700;
}

.residence-lot-cue {
  font-size: 0.75rem;
  color: var(--c-muted);
}

.residence-name {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.residence-summary {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.residence-visual-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background-color: #FAF8F4;
  border-bottom: 1px solid var(--c-border-subtle);
  min-height: 280px;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 640px) {
  .residence-visual-wrap {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }
}

.residence-plan-preview {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--c-border-subtle);
}

@media (max-width: 640px) {
  .residence-plan-preview {
    border-right: none;
    border-bottom: 1px solid var(--c-border-subtle);
    padding: 1.5rem 1rem;
  }
}

.plan-crop-img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.residence-card:hover .plan-crop-img {
  transform: scale(1.03);
}

.residence-render-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--c-sand-light);
}

.facade-crop-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.thumb-label {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.2rem 0.5rem;
  border-radius: 0;
}

.residence-specs-list {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

@media (max-width: 640px) {
  .residence-specs-list {
    padding: 1.25rem;
  }
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(40, 32, 24, 0.05);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-name {
  color: var(--c-muted);
  font-size: 0.8rem;
}

.spec-value {
  color: var(--c-ink);
  font-weight: 500;
  text-align: right;
}

.spec-highlight {
  background-color: rgba(189, 100, 70, 0.05);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xs);
  margin-top: 0.25rem;
  border-left: 3px solid var(--c-ochre);
}

.spec-highlight .spec-value {
  color: var(--c-terracotta);
  font-weight: 600;
}

.font-semibold {
  font-weight: 600;
}

.text-terracotta {
  color: var(--c-terracotta);
}

.residence-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem clamp(1rem, 2vw, 1.75rem) 1.5rem;
  border-top: 1px solid var(--c-border-subtle);
  background-color: var(--c-sand-light);
}

@media (min-width: 580px) and (max-width: 991px) {
  .residence-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

@media (min-width: 1360px) {
  .residence-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

.residence-actions .btn {
  padding: 0.85rem 0.85rem;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  min-height: 48px;
  width: 100%;
}

.residences-footnote {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* 7. FULL-BLEED IMAGE PAUSE */
.image-pause-section {
  position: relative;
  min-height: 80vh;
  min-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.image-pause-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.image-pause-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.image-pause-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(34, 22, 14, 0.32) 0%,
    rgba(28, 18, 11, 0.62) 65%,
    rgba(18, 11, 7, 0.86) 100%
  );
}

.image-pause-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 11, 7, 0.45) 0%,
    transparent 22%,
    transparent 78%,
    rgba(18, 11, 7, 0.55) 100%
  );
  pointer-events: none;
}

.image-pause-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 3rem 2rem;
}

.pause-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.6);
  background: rgba(34, 22, 14, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pause-ornament-icon {
  font-size: 1.4rem;
  color: var(--c-brass-light);
  line-height: 1;
}

.pause-quote {
  margin-bottom: 2rem;
}

.pause-line {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.pause-accent {
  font-style: italic;
  color: var(--c-ochre-light);
}

.pause-author-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.pause-rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-ochre), transparent);
}

.pause-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-brass-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* 8. OWNERSHIP / BUYER PATH */
.buyer-path-section {
  background-color: var(--c-ivory);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3.5rem 0 4.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background-color: var(--c-ivory);
  padding: clamp(2rem, 3vw, 2.75rem);
  border-radius: 0;
  border: 1px solid var(--c-sand-dark);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(212, 168, 67, 0.2),
    0 8px 24px rgba(46, 31, 20, 0.07);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-ochre), var(--c-terracotta));
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-ochre);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px var(--c-ochre),
    0 16px 36px rgba(46, 31, 20, 0.12);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--c-indigo);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #FAF6EE;
  border: 2px solid var(--c-indigo);
  box-shadow: 
    inset 0 0 0 2px #FAF6EE,
    inset 0 0 0 3px rgba(212, 168, 67, 0.6),
    0 4px 12px rgba(46, 31, 20, 0.12);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.step-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-tobacco);
  padding-top: 1rem;
  border-top: 1px solid var(--c-border-subtle);
}

/* Pricing Highlight Block */
.pricing-highlight-block {
  background: radial-gradient(circle at 15% 30%, #2A1C12 0%, #1A1209 100%);
  color: #FFFFFF;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(212, 168, 67, 0.45),
    0 24px 64px rgba(26, 18, 9, 0.35);
  border: 2px solid rgba(212, 168, 67, 0.5);
}

.pricing-highlight-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-ochre), var(--c-terracotta), var(--c-ochre));
}

.pricing-highlight-block::after {
  content: '⚜';
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15rem;
  line-height: 1;
  color: rgba(212, 168, 67, 0.045);
  pointer-events: none;
  font-family: var(--font-serif);
  z-index: 1;
}

.pricing-highlight-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .pricing-highlight-inner {
    flex-direction: row;
    align-items: center;
  }
}

.pricing-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-ochre-light);
  display: block;
  margin-bottom: 0.5rem;
}

.pricing-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.pricing-subheadline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-style: italic;
  color: var(--c-terracotta-light);
}

.pricing-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

/* 9. LEAD FORM SECTION */
.lead-section {
  background-color: var(--c-sand-light);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 992px) {
  .lead-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: flex-start;
  }
}

.lead-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-ink);
  margin-bottom: 1.25rem;
}

.lead-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-tobacco);
  margin-bottom: 2.5rem;
}

.lead-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.lead-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.12);
  color: var(--c-ochre);
  border-radius: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 0.2rem;
}

.feature-detail {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--c-muted);
}

.lead-reassurance-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background-color: var(--c-ivory);
  border: 1px solid var(--c-border-subtle);
  border-radius: 0;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--c-tobacco);
}

.lead-reassurance-badge svg {
  color: var(--c-ochre);
  flex-shrink: 0;
}

/* Lead Form Card */
.lead-card {
  background-color: var(--c-ivory);
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: 0;
  border: 1px solid var(--c-sand-dark);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(212, 168, 67, 0.25),
    0 14px 40px rgba(46, 31, 20, 0.1);
  position: relative;
}

.lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--c-ochre), var(--c-terracotta), var(--c-indigo), var(--c-ochre));
}

.editorial-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-tobacco);
}

.required-star {
  color: var(--c-terracotta);
}

.optional-cue {
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: none;
  color: var(--c-muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background-color: #FAF7F0;
  border: 1.5px solid var(--c-sand-dark);
  border-radius: 0;
  font-size: 0.95rem;
  color: var(--c-ink);
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 3px rgba(46, 31, 20, 0.05);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-ochre);
  background-color: #FFFFFF;
  box-shadow: 
    inset 0 1px 2px rgba(0, 0, 0, 0.05),
    0 0 0 3px rgba(212, 168, 67, 0.25);
}

.field-error {
  font-size: 0.72rem;
  color: #B3261E;
  min-height: 1rem;
  line-height: 1.2;
}

.form-privacy-note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--c-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.form-success-state {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(212, 168, 67, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--c-ink);
}

.success-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 440px;
  margin-bottom: 1rem;
}

/* 10. FOOTER */
.site-footer {
  background-color: var(--c-ink);
  color: #FFFFFF;
  padding: clamp(4.5rem, 6vw, 6.5rem) 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.site-footer::before {
  content: '';
  display: block;
  height: 24px;
  background-image: url('assets/colonial/mosaico-granada.svg');
  background-repeat: repeat-x;
  background-size: 24px 24px;
  border-top: 2px solid var(--c-ochre);
  border-bottom: 2px solid var(--c-terracotta-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.footer-top-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-top-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-sand-light);
  margin-bottom: 0.4rem;
}

.footer-location {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-ochre);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ochre);
  margin-bottom: 1.25rem;
}

.footer-nav-list, .footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contact-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

.footer-placeholder-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-placeholder-link:hover {
  color: var(--c-terracotta-light);
}

.architect-credit, .project-credit {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    text-align: left;
  }
}

/* ARCHITECTURAL MODAL */
.plan-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background-color: rgba(15, 18, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.plan-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.plan-modal-container {
  width: 100%;
  max-width: 1240px;
  height: 90vh;
  max-height: 880px;
  background-color: var(--c-ivory);
  border-radius: 0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-smooth);
}

.plan-modal-backdrop.open .plan-modal-container {
  transform: translateY(0) scale(1);
}

.plan-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--c-border-subtle);
  flex-shrink: 0;
}

.modal-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  display: block;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.15;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--c-muted);
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.modal-download-btn {
  display: none;
}

@media (min-width: 640px) {
  .modal-download-btn {
    display: inline-flex;
  }
}

.modal-close-btn {
  font-size: 2.25rem;
  line-height: 1;
  color: var(--c-ink);
  cursor: pointer;
  padding: 0.25rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--c-terracotta);
  transform: rotate(90deg);
}

.plan-modal-body {
  display: grid;
  grid-template-columns: 1fr;
  flex-grow: 1;
  overflow: hidden;
}

@media (min-width: 992px) {
  .plan-modal-body {
    grid-template-columns: 1fr 340px;
  }
}

.modal-viewer-panel {
  display: flex;
  flex-direction: column;
  background-color: #F6F4EE;
  overflow: hidden;
  position: relative;
}

.modal-tabs-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #ECE8DE;
  border-bottom: 1px solid var(--c-border-subtle);
  overflow-x: auto;
  flex-shrink: 0;
}

.modal-tab-btn {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 0;
  cursor: pointer;
  background-color: var(--c-ivory);
  color: var(--c-muted);
  border: 1px solid var(--c-border-subtle);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.modal-tab-btn:hover {
  color: var(--c-ink);
}

.modal-tab-btn.active {
  background-color: var(--c-indigo);
  color: #FFFFFF;
  border-color: var(--c-indigo);
}

.modal-graphic-wrapper {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: grab;
}

.modal-graphic-wrapper:active {
  cursor: grabbing;
}

.modal-graphic-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.1s ease-out;
}

.graphic-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  pointer-events: none;
}

.viewer-tools {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.35rem;
  border-radius: 0;
  border: 1px solid var(--c-border-subtle);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.tool-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-ink);
  border-radius: 0;
  transition: all var(--transition-fast);
}

.tool-btn:hover {
  background-color: var(--c-sand);
  color: var(--c-terracotta);
}

.viewer-hint {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  font-size: 0.68rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  pointer-events: none;
}

.modal-sidebar-panel {
  background-color: #FFFFFF;
  border-left: 1px solid var(--c-border-subtle);
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.sidebar-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: block;
  margin-bottom: 1.25rem;
}

.modal-rooms-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.room-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(40, 32, 24, 0.06);
}

.room-name {
  color: var(--c-tobacco);
}

.room-area {
  font-weight: 600;
  color: var(--c-ink);
}

.modal-extras-box {
  background-color: var(--c-sand-light);
  padding: 1.25rem;
  border-radius: 0;
  border-left: 3px solid var(--c-ochre);
  margin-bottom: 2rem;
}

.extras-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  display: block;
  margin-bottom: 0.35rem;
}

.extras-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--c-muted);
}

.modal-sidebar-cta {
  margin-top: auto;
}

html.no-anim, html.no-anim *, body.no-anim, body.no-anim * {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}

html.no-anim #preloader,
body.no-anim #preloader,
.no-preloader #preloader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body:not(.no-anim).animations-ready .reveal-on-scroll:not(.revealed) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.no-anim).animations-ready .reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.delay-1 {
  transition-delay: 0.15s;
}

.reveal-on-scroll.delay-2 {
  transition-delay: 0.3s;
}

.reveal-on-scroll.delay-1 {
  transition-delay: 0.15s;
}

.reveal-on-scroll.delay-2 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   11. INVESTOR LANDING PAGE SPECIFIC STYLES
   ========================================================= */
.investor-kpi-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background: rgba(46, 31, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 168, 67, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kpi-number {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: var(--c-ochre-light);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

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

.kpi-sep {
  width: 1px;
  height: 32px;
  background: rgba(212, 168, 67, 0.3);
  display: none;
}

@media (min-width: 768px) {
  .kpi-sep {
    display: block;
  }
}

/* Investment Thesis Grid */
.investment-thesis-section {
  background: var(--c-ivory);
}

.thesis-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 640px) {
  .thesis-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .thesis-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.thesis-card {
  background: var(--c-ivory);
  border: 1px solid var(--c-sand-dark);
  padding: 2.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(212, 168, 67, 0.25),
    0 10px 30px rgba(46, 31, 20, 0.06);
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.thesis-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-ochre), var(--c-terracotta));
}

.thesis-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(212, 168, 67, 0.5),
    0 16px 40px rgba(46, 31, 20, 0.12);
}

.thesis-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.thesis-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--c-ink);
  margin-bottom: 0.85rem;
}

.thesis-card-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.thesis-meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ochre);
  padding-top: 1rem;
  border-top: 1px solid var(--c-border-subtle);
}

.investor-models-section {
  background: linear-gradient(180deg, var(--c-sand-light) 0%, #EDE3CC 100%);
}

/* =========================================================
   FLOATING STICKY CTA ("Quiero solicitar asesoría" - MOBILE ONLY)
   ========================================================= */
.mobile-sticky-cta-wrap {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-sticky-cta-wrap {
    display: flex !important;
    position: fixed;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    padding: 0 1.25rem;
    z-index: 990;
    pointer-events: none;
    opacity: 0;
    transform: translateY(80px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .mobile-sticky-cta-wrap.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 380px;
    padding: 0.9rem 1.4rem;
    background: linear-gradient(135deg, #B85338 0%, #8C321B 100%);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 1px solid rgba(255, 235, 215, 0.4);
    box-shadow: 
      0 12px 28px rgba(35, 20, 12, 0.45),
      0 2px 6px rgba(184, 83, 56, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }

  .mobile-sticky-cta-btn:active {
    transform: scale(0.97);
    background: linear-gradient(135deg, #A8492F 0%, #7A2B17 100%);
    box-shadow: 0 4px 12px rgba(35, 20, 12, 0.5);
  }

  .mobile-sticky-icon {
    font-size: 1rem;
    color: var(--c-brass-light, #E6C875);
    line-height: 1;
  }

  .mobile-sticky-text {
    flex-grow: 1;
    text-align: center;
  }

  .mobile-sticky-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .mobile-sticky-cta-btn:active .mobile-sticky-arrow {
    transform: translateX(3px);
  }
}

