@font-face {
  font-family: "The Seasons";
  src: url("./assets/fonts/the-seasons.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/*
Theme Name: Santina Homes
Theme URI: https://santinahomes.com
Author: Mickytulios
Description: Custom theme for Santina Homes — Estepona, Costa del Sol
Version: 1.0.0
Text Domain: santina-homes
*/

/* ============================================================
   SANTINA HOMES — Main Stylesheet
   Colors: #031A61 navy | #DDD2C7 sand | #6D5C4C brown
           #FFFFFF white | #000000 black
   ============================================================ */

:root {
  --navy:   #031A61;
  --sand:   #DDD2C7;
  --brown:  #6D5C4C;
  --white:  #FFFFFF;
  --black:  #000000;
  --off-white: #ffffff;
  --text:   #1A1A1A;
  --text-light: #666;

  --font-serif: 'Lora', 'Georgia', serif;
  --font-sans: 'Libre Franklin', sans-serif;

  --max-w: 1280px;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn-primary:hover {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--navy);
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--sand);
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-sand {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--black);
}
.btn-sand:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--sand); }
.section-sub {
  font-size: 15px;
  color: var(--text-light);
  max-width: 540px;
  margin: 12px auto 0;
}
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* header retains its white background when menu is open */

/* Top bar */
.header-top {
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 7px 0;
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-languages { display: flex; gap: 8px; align-items: center; }
.header-languages span { opacity: 0.3; }
.lang { opacity: 0.6; transition: var(--transition); }
.lang:hover { opacity: 1; color: var(--sand); }
.lang.active { opacity: 1; }
.header-contact-top { display: flex; gap: 20px; align-items: center; }
.header-contact-top a { opacity: 0.85; transition: var(--transition); }
.header-contact-top a:not(.whatsapp-link):hover { opacity: 1; color: var(--sand); }
.whatsapp-link {
  background: rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 2px;
  transition: var(--transition);
}
.whatsapp-link:hover {
  background: var(--sand);
  color: var(--navy);
  opacity: 1;
}

/* Main nav bar */
.header-main { padding: 0; }
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
/* Nav pushed fully to the right */
.header-main-inner .main-nav {
  margin-left: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
}
/* Mobile: swap to monogram */
.logo .logo-img-mobile { display: none; }
.logo .logo-img-desktop { display: block; }

@media (max-width: 768px) {
  .logo .logo-img-desktop { display: none; }
  .logo .logo-img-mobile  { display: block; height: 44px; }
}
.logo-est {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
}
.logo-monogram {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.logo-wordmark {
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
}
.logo-homes {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ===== SLIM NAV (desktop — only key items) ===== */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li > a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 12px;
  transition: var(--transition);
  display: block;
}
.main-nav > ul > li > a:hover { color: var(--navy); }

/* Highlight nav item */
.main-nav li.highlight > a {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 16px;
  border: 1px solid var(--navy);
}
.main-nav li.highlight > a:hover {
  background: var(--sand);
  color: var(--black) !important;
  border-color: var(--sand);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-top: 2px solid var(--navy);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.dropdown li a:hover {
  background: var(--off-white);
  color: var(--navy);
  padding-left: 26px;
}

/* ===== HAMBURGER TOGGLE ===== */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  z-index: 1003;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: var(--transition);
}
.nav-toggle.fading {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.nav-toggle.open span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== FULL-SCREEN MENU OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(3,26,97,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.menu-overlay-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 380px;
  max-width: 90vw;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 32px 40px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  justify-content: space-between;
  z-index: 1002;
}
.menu-overlay.open .menu-overlay-inner {
  transform: translateX(0);
}
.menu-close {
  display: none;
  position: fixed;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-close span {
  position: absolute;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  display: block;
}
.menu-close span:nth-child(1) { transform: rotate(45deg); }
.menu-close span:nth-child(2) { transform: rotate(-45deg); }
.menu-close:hover span { background: var(--brown); }
.drawer-close {
  position: absolute;
  top: 68px;
  left: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0 12px 40px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s;
}
.drawer-close:hover { color: var(--navy); }
.menu-overlay-inner h4 {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.menu-overlay-inner h4:first-of-type {
  margin-top: 0;
}
.menu-overlay-inner ul { list-style: none; padding: 0; margin: 0 0 0; }
.menu-overlay-inner ul li { margin-bottom: 0; }
.menu-overlay-inner ul li a {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--navy);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
  padding: 4px 0;
}
.menu-overlay-inner ul li a:hover { color: var(--brown); padding-left: 10px; }
.menu-overlay-inner ul li.sub {
  margin-left: 18px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
}
.menu-overlay-inner ul li.sub.open {
  max-height: 60px;
  opacity: 1;
}
.menu-overlay-inner ul li.sub a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-light);
  padding: 4px 0;
}
.menu-overlay-inner ul li.expandable > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform 0.3s ease;
}
.menu-overlay-inner ul li.expandable.open > a::after {
  transform: rotate(180deg);
}
.menu-overlay-inner ul li.sub a:hover { color: var(--navy); }
.menu-contact {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.menu-contact p {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}
.menu-contact a {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.menu-contact a:hover { color: var(--brown); }
.menu-lang {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.menu-lang a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s;
}
.menu-lang a:hover, .menu-lang a.active { color: var(--navy); }

/* On mobile: slim nav hidden, overlay always via toggle */
@media (max-width: 900px) {
  .main-nav { display: none; }
}
@media (min-width: 901px) {
  .menu-overlay-inner { padding-top: 160px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 85vh;
  min-height: 420px;
  margin-top: 0;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 80px;
}

/* Slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-prop-tag {
  position: absolute;
  bottom: 130px;
  left: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--transition);
  opacity: 0;
}
.hero-slide.active .hero-prop-tag { opacity: 1; transition-delay: 0.6s; }
.hero-prop-tag:hover { background: rgba(0,0,0,0.6); color: #fff; }
.hero-prop-city { font-weight: 500; }
.hero-prop-sep { opacity: 0.4; }
.hero-prop-arrow { opacity: 0.5; transition: var(--transition); }
.hero-prop-tag:hover .hero-prop-arrow { opacity: 1; transform: translateX(3px); }
@media (max-width: 768px) {
  .hero-prop-tag { bottom: 110px; left: 16px; font-size: 0.72rem; padding: 8px 14px; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.22) 40%,
    rgba(0,0,0,0.50) 100%
  );
  z-index: 1;
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.hero-dot.active { background: var(--white); transform: scale(1.3); }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  margin-bottom: 220px;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(3, 26, 97, 0.55);
  padding: 6px 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 680px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero h1 em {
  font-style: normal;
  color: var(--sand);
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  font-style: normal;
  margin-bottom: 32px;
  max-width: 480px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.hero-search {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 0;
}
.search-bar {
  background: var(--white);
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}
.search-bar .container {
  padding: 0;
  max-width: none;
}
.search-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.search-field {
  flex: 1;
  min-width: 160px;
  padding: 12px 24px;
  border-right: 1px solid rgba(0,0,0,0.10);
}
.search-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
}
.search-field select {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.search-field input[type="text"] {  width: 100%;  border: none;  outline: none;  font-family: var(--font-sans);  font-size: 15px;  color: var(--text);  background: transparent;  padding: 0;}
.search-btn {
  border-radius: 0;
  align-self: stretch;
  padding: 0 48px;
  flex-shrink: 0;
  font-size: 13px;
  letter-spacing: 0.15em;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.search-btn:hover {
  background: var(--sand) !important;
  border-color: var(--sand) !important;
  color: var(--navy) !important;
}

/* ============================================================
   PROPERTIES GRID
   ============================================================ */
.properties-section { background: var(--white); }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.property-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
}
.property-card:hover { transform: translateY(-4px); }

.property-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.property-img img {
  transition: transform 0.6s ease;
}
.property-card:hover .property-img img { transform: scale(1.04); }

.property-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 1;
}
.property-tag.tag-sea { background: #1a6b8a; }
.property-tag.tag-golf { background: #3a6b3a; }
.property-tag.tag-luxury { background: var(--brown); }

.property-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,26,97,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.property-card:hover .property-overlay { opacity: 1; }
.btn-detail {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 10px 22px;
  transition: var(--transition);
}
.btn-detail:hover {
  background: var(--white);
  color: var(--navy);
}

.property-info {
  padding: 20px 0 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.property-location {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 6px;
}
.property-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--black);
  line-height: 1.3;
}
.property-specs {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.property-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.property-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 400;
}
.property-ref {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

/* ============================================================
   INVEST BANNER
   ============================================================ */
.invest-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.invest-banner-bg {
  position: absolute;
  inset: 0;
}
.invest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(3,26,97,0.88) 0%,
    rgba(3,26,97,0.6) 60%,
    rgba(0,0,0,0.3) 100%
  );
}
.invest-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: var(--white);
}
.invest-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.invest-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 32px;
}
.btn-sand {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--black);
}
.btn-sand:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* ============================================================
   AREAS
   ============================================================ */
.areas-section { background: var(--off-white); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 3px;
}
.area-card {
  position: relative;
  overflow: hidden;
  display: block;
}
.area-card.large {
  grid-column: span 2;
  grid-row: span 2;
}
.area-card img {
  transition: transform 0.6s ease;
}
.area-card:hover img { transform: scale(1.05); }
.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  transition: var(--transition);
}
.area-card:hover .area-overlay {
  background: linear-gradient(to top, rgba(3,26,97,0.75) 0%, rgba(3,26,97,0.2) 100%);
}
.area-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: var(--white);
}
.area-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2px;
}
.area-card.large .area-info h3 { font-size: 1.8rem; }
.area-info p {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ============================================================
   ABOUT / WHY SANTINA
   ============================================================ */
.about-section { background: var(--white); }

.about-header {
  margin-bottom: 32px;
}
.about-header .section-eyebrow { text-align: left; }
.about-header h2 {
  max-width: 560px;
  margin-bottom: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
}
.about-text .section-eyebrow { text-align: left; }
.about-text h2 {
  margin-bottom: 28px;
  max-width: 560px;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.8;
}
.about-text {
}
.about-text p strong {
  color: var(--black);
  font-weight: 600;
}
.about-text .about-highlight {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 400;
  margin: 32px 0;
  line-height: 1.4;
}
.about-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.about-footer .about-closing {
  margin-top: 0;
}
.about-footer .about-closing-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.about-footer .about-closing-sub {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}
.about-text blockquote {
  border-left: 2px solid var(--navy);
  padding-left: 20px;
  margin: 28px 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: normal;
  color: var(--navy);
  line-height: 1.6;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 20px 0;

}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.about-image {
  display: flex;
  flex-direction: column;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  height: 580px;
  object-fit: cover;
  object-position: center;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--navy);
  color: var(--white);
  padding: 24px 28px;
  text-align: center;
  font-family: var(--font-serif);
}
.about-badge span {
  display: block;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}
.about-badge span:first-child { font-size: 1.75rem; font-style: normal; }

/* ============================================================
   CONTACT TEASER
   ============================================================ */
.contact-teaser {
  background: var(--sand);
  padding: 80px 0;
}
.contact-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-left h2 { margin-bottom: 16px; }
.contact-left p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 15px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.contact-info-item .label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  min-width: 60px;
}
.contact-form-simple {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  padding: 40px;
}
.contact-form-simple h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--black);
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: transparent;
  outline: none;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--navy);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 20px;
  font-size: 11px;
  color: var(--text-light);
}
.form-consent input { width: auto; flex-shrink: 0; margin-top: 2px; }
.form-consent a { color: var(--navy); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 32px 0 0;
}
.footer-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 22px;
}
.footer-logo {
  display: inline-block;
  color: var(--white);
}
.footer-logo .logo-img-desktop { height: 84px; width: auto; display: block; }
.footer-logo .logo-img-mobile { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-col ul li {
  margin-bottom: 4px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--white);
}
.footer-col li.highlight a {
  color: var(--sand);
}
.footer-contact p {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.7);
}
.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--white); }
.footer-hours {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-top: 6px !important;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-links a:hover {
  border-color: var(--sand);
  color: var(--sand);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { margin: 0; }
.footer-attribution { margin: 4px 0 0; font-size: 10px; opacity: 0.45; }
.footer-attribution a { color: inherit; text-decoration: none; }
.footer-attribution a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   INVEST PAGE SPECIFIC
   ============================================================ */
.invest-page-hero {
  height: 64vh;
  min-height: 420px;
  max-height: 620px;
  padding-top: 160px;
  padding-bottom: 0;
  align-items: flex-end;
  overflow: visible;
  position: relative;
  z-index: 3;
}
.invest-page-hero ~ .invest-stats-bar { position: relative; z-index: 1; }
.invest-page-hero .hero-content { transform: translateY(40px); }
.invest-page-hero h1 { margin-bottom: 120px; }
.invest-page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.invest-page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.62) saturate(1.08);
}
.invest-page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,10,30,0.05);
}
.invest-page-hero .hero-eyebrow { text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.invest-page-hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.invest-page-hero .hero-tagline { text-shadow: 0 1px 8px rgba(0,0,0,0.35); color: #fff; }
.hero-slot-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; height: 1.25em; position: relative; }
.hero-slot { display: inline-block; transition: transform 1s ease, opacity 1s ease; }
.hero-slot.hero-slot-out { transform: translateY(-100%); opacity: 0; }
.hero-slot.hero-slot-in { animation: heroSlotIn 0.5s ease; }
@keyframes heroSlotIn { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.invest-page-hero .hero-content { position: relative; z-index: 2; }
.invest-page-hero ~ .invest-stats-bar { padding: 36px 0; }
@media (max-width: 768px) {
  .invest-page-hero { height: 72vh; min-height: 420px; max-height: none; padding-bottom: 0; }
  .invest-page-hero .hero-bg img { object-position: center 25%; }
  .invest-page-hero .hero-content { transform: translateY(70px); }
}

.invest-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.invest-intro h2 { margin-bottom: 20px; }
.invest-intro p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.reason-card {
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
}
.reason-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
}
.reason-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.reason-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.reason-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

.invest-stats-bar {
  background: var(--navy);
  padding: 56px 0;
}
.invest-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.invest-stat {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.invest-stat:last-child { border-right: none; }
.invest-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--sand);
  margin-bottom: 8px;
}
.invest-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ============================================================
   INVEST — TWO PATHS CARDS
   ============================================================ */
.invest-paths-section {
  background: var(--off-white);
  padding: 72px 0;
}
.invest-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.invest-path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.invest-path-card:hover,
.invest-path-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  outline: none;
}
.invest-path-card.is-chosen {
  border-color: var(--sand);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.invest-path-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.invest-path-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.invest-path-card:hover .invest-path-img img {
  transform: scale(1.06);
}
.invest-path-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 2px;
}
.invest-path-tag.tag-sea { background: var(--sand); color: var(--navy); }
.invest-path-body {
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.invest-path-eyebrow {
  font-family: var(--font-sans, inherit);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 10px;
}
.invest-path-body h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin: 0 0 14px;
  color: var(--navy);
}
.invest-path-lede {
  margin: 0 0 20px;
  color: var(--text-muted, #555);
  line-height: 1.55;
  flex: 1;
}
.invest-path-bullets {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.invest-path-bullets li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.95rem;
  line-height: 1.5;
}
.invest-path-bullets strong { color: var(--navy); font-weight: 700; }
.invest-path-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 4px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.invest-path-cta span[aria-hidden="true"] {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.invest-path-card:hover .invest-path-cta span[aria-hidden="true"] {
  transform: translateX(6px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .area-card.large { grid-column: span 2; grid-row: span 1; height: 280px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { display: none; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .contact-teaser-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .invest-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .invest-stat { padding: 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .invest-paths { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .header-top { display: none; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 20px 0;
  }
  .main-nav.open ul { flex-direction: column; gap: 0; }
  .main-nav.open > ul > li > a { color: var(--text); padding: 14px 24px; }
  .main-nav.open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-left: 3px solid var(--sand);
    margin-left: 24px;
  }
  .nav-toggle { display: flex; }
  .properties-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .area-card.large { grid-column: span 1; height: 220px; }
  .search-form { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
  .search-btn { width: 100%; min-height: 56px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .invest-stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-scroll { display: none; }
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-logo {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
  display: block;
  filter: invert(1) brightness(0);
}
.intro-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 32px;
}
.intro-section {
  background: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}
.intro-text a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(3,26,97,0.3);
  transition: border-color 0.2s;
}
.intro-text a:hover {
  border-bottom-color: var(--navy);
}
.intro-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}
.intro-highlight {
  font-family: var(--font-serif);
  font-size: 1.05rem !important;
  color: var(--navy) !important;
  font-style: normal;
}
.intro-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.1);
}
.intro-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}
.intro-link-item:last-child { border-bottom: none; }
.intro-link-item:hover {
  background: var(--navy);
  color: var(--white);
  padding-left: 26px;
}
.intro-link-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ============================================================
   AREA CARDS V2
   ============================================================ */
.area-cards-section { background: var(--off-white); }
.area-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card-v2 {
  display: block;
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.area-card-v2:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.area-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.area-card-img img { transition: transform 0.6s ease; }
.area-card-v2:hover .area-card-img img { transform: scale(1.05); }
.area-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,26,97,0.2);
  transition: var(--transition);
}
.area-card-v2:hover .area-card-overlay { background: rgba(3,26,97,0.35); }
.area-card-body {
  padding: 20px;
}
.area-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--black);
}
.area-card-body p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}
.area-card-cta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ============================================================
   OUR SELECTIONS
   ============================================================ */
.selections-section { background: var(--white); }
.selections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
@media (max-width: 1024px) {
  .selections-grid { grid-template-columns: repeat(2, 1fr); }
}
.selection-card {
  display: block;
  position: relative;
  overflow: hidden;
}
.selection-img {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.selection-img img {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.selection-card:hover .selection-img img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.02);
}
.selection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.04) 75%, transparent 100%);
  transition: background 0.4s ease;
}
.selection-card:hover .selection-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.28) 50%, rgba(109,92,76,0.1) 80%, transparent 100%);
}
.selection-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 20px;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
  opacity: 0.85;
}
.selection-card:hover::after { transform: scaleX(1); }
.selection-card .selection-body {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.selection-card:hover .selection-body {
  transform: translateY(-6px);
}
.selection-body {
  text-shadow: 0 1px 10px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.5);
}
.selection-body h3 {
  text-shadow: 0 2px 14px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
}
.selection-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  color: var(--white);
}
.selection-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--white);
}
.selection-body p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 16px;
}
.selection-body .btn {
  font-size: 10px;
  padding: 9px 20px;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  background: transparent;
}
.selection-body .btn:hover {
  background: var(--white);
  color: var(--navy);
}

/* ============================================================
   NEW DEVELOPMENTS BANNER
   ============================================================ */
.new-dev-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.new-dev-banner-bg {
  position: absolute;
  inset: 0;
}
.new-dev-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}
.new-dev-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  color: var(--white);
}
.new-dev-content h2 { color: var(--white); margin-bottom: 16px; }
.new-dev-content p { color: rgba(255,255,255,0.82); margin-bottom: 28px; line-height: 1.8; }

/* ============================================================
   AREA GUIDES TAGS
   ============================================================ */
.guides-section { background: var(--sand); }
.guides-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.guide-tag {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid rgba(0,0,0,0.2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  transition: var(--transition);
}
.guide-tag:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--navy);
  padding: 72px 0;
}
.newsletter-inline { margin-top: 0; }
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.newsletter-text .section-eyebrow { color: var(--sand); text-align: left; }
.newsletter-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--white);
  font-weight: 400;
  margin: 12px 0 12px;
  line-height: 1.3;
}
.newsletter-text p { color: rgba(255,255,255,0.6); font-size: 13px; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.newsletter-form .form-field { margin-bottom: 12px; }
.newsletter-form input {
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--white);
  background: transparent;
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-bottom-color: var(--sand); }
.newsletter-form .form-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  margin: 10px 0 22px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.newsletter-form .form-consent input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--sand);
  margin: 0;
  cursor: pointer;
}
.newsletter-form .form-consent a {
  color: var(--sand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 500;
  transition: color var(--transition);
}
.newsletter-form .form-consent a:hover {
  color: var(--white);
  text-decoration-thickness: 2px;
}
.newsletter-form .btn-primary {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--black);
  align-self: flex-start;
}
.newsletter-form .btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* ============================================================
   VISIT / CONTACT SECTION
   ============================================================ */
.visit-section {
  background: var(--white);
  padding: 80px 0;
}
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.visit-text h2 { margin-bottom: 16px; }
.visit-text p { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.visit-map {
  min-height: 380px;
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
}
.visit-map iframe { display: block; }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 1024px) {
  .area-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-links { flex-direction: row; flex-wrap: wrap; border: none; gap: 8px; }
  .intro-link-item { border: 1px solid rgba(0,0,0,0.1); flex: 1; min-width: 160px; }
}
@media (max-width: 768px) {
  .area-cards-grid { grid-template-columns: 1fr; }
  .selections-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .visit-inner { grid-template-columns: 1fr; }
  .visit-map { min-height: 260px; }
  .guides-tags { gap: 8px; }
  .guide-tag { padding: 10px 16px; font-size: 10px; }
}

/* ============================================================
   ZONE FINDER BANNER
   ============================================================ */
.area-finder-banner {
  background: var(--navy);
  padding: 72px 0;
}
.area-finder-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.area-finder-text h2 {
  color: var(--white);
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.area-finder-text p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
}
.area-finder-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.area-finder-stat {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-align: right;
}
.area-finder-stat span {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--sand);
  margin-right: 6px;
  vertical-align: middle;
}
.area-finder-btn {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* ── Find My Area nav highlight ── */
.main-nav li.highlight-area a {
  background: var(--sand);
  color: var(--navy);
  padding: 6px 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
}
.main-nav li.highlight-area a:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── Find My Area in hamburger: plain (no underline, no bold) ── */

/* ── Homepage: Living on the Costa del Sol ── */
.living-section { background: var(--sand); padding: 48px 0 54px; }
.living-section .section-header { text-align: center; margin-bottom: 28px; }
.living-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.living-guide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid rgba(3,26,97,0.08);
  min-height: 150px;
  transition: all var(--transition);
}
.living-guide-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3,26,97,0.08);
}
.living-guide-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}
.living-guide-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 14px;
  flex: 1;
}
.living-guide-cta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.living-zones {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid rgba(3,26,97,0.12);
}
.micro-eyebrow {

  margin-bottom: 30px;
}
.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.zone-group h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.zone-group h4 a { color: inherit; }
.zone-group h4 a:hover { color: var(--brown); }
.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.zone-tag {
  font-size: 12px;
  color: var(--text-light);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.zone-tag:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
@media (max-width: 900px) {
  .living-guides-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .living-guides-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
}

/* ── Single Guide: 2-column layout (main + sticky sidebar) ── */
.guide-single { background: var(--white); }
.guide-hero {
  padding: 160px 0 32px;
  background: #111;
}
.guide-hero h1 { color: var(--sand); }
.guide-hero .section-eyebrow { color: rgba(255,255,255,0.7); }
.guide-hero .section-eyebrow a { color: var(--sand); font-weight: 600; }
.guide-hero .section-eyebrow a:hover { color: var(--white); }
.guide-hero .guide-hero-lead { color: rgba(255,255,255,0.85); }
.guide-hero .crumb-sep { color: rgba(255,255,255,0.35); }
.guide-hero .crumb-sep { margin: 0 8px; }
.guide-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-top: 10px;
  max-width: 780px;
}
.guide-hero-lead {
  font-size: 16px;
  line-height: 1.55;
  max-width: 680px;
  margin-top: 14px;
  font-weight: 300;
}
.guide-body { padding: 28px 0 100px; }
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
}
.guide-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  min-width: 0;
}
.guide-content p.lead { font-size: 18px; line-height: 1.7; color: var(--navy); margin-bottom: 32px; font-weight: 400; }
.guide-content h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--navy);
  margin: 72px 0 20px;
  padding-top: 48px;
  border-top: 1px solid rgba(3,26,97,0.08);
  scroll-margin-top: 100px;
}
.guide-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.guide-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 36px 0 14px;
  scroll-margin-top: 100px;
}
.guide-content p { margin-bottom: 22px; }
.guide-content ul, .guide-content ol {
  margin: 0 0 28px 0;
  padding: 20px 24px 20px 44px;
  background: rgba(221,210,199,0.12);
  border-radius: 6px;
  border-left: 3px solid rgba(3,26,97,0.1);
}
.guide-content li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(3,26,97,0.04);
}
.guide-content li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.guide-content a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.guide-content a:hover { color: var(--brown); }
.guide-content strong { color: var(--navy); font-weight: 600; }
.guide-content em { color: var(--text); }

/* Sidebar */
.guide-sidebar {
  position: sticky;
  top: 150px;
  font-size: 13px;
}
.toc-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}
.guide-toc {
  padding: 14px 18px;
  background: var(--sand);
  margin-bottom: 18px;
}
.toc-eyebrow { margin-bottom: 10px; }
.guide-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}
.guide-toc li {
  margin-bottom: 0;
  border-top: 1px solid rgba(3,26,97,0.1);
}
.guide-toc li:first-child { border-top: none; }
.guide-toc a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.3;
  transition: color var(--transition);
}
.guide-toc a:hover .toc-text { color: var(--brown); }
.toc-num {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brown);
  flex-shrink: 0;
  padding-top: 2px;
}
.toc-text { font-size: 12px; line-height: 1.35; }

/* Agent card */
.guide-agent-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  margin-bottom: 16px;
}

.agent-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e8e4df;
  flex-shrink: 0;
}















.agent-role {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light, #666);
}
.agent-name {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.agent-bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light, #666);
  margin-bottom: 18px;
}
.agent-contact { display: flex; flex-direction: column; gap: 8px; }
.agent-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  padding-bottom: 2px;
  border-bottom: 1px solid #e8e4df;
  transition: color var(--transition);
}
.agent-link:hover { color: var(--brown); border-bottom-color: var(--brown); }
.agent-btn {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  margin-top: 12px;
  transition: all var(--transition);
  text-decoration: none;
}
.agent-btn:hover { background: var(--sand); color: var(--navy); }
.btn-sand {
  display: inline-block;

  background: var(--sand);
  color: var(--navy);
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 10px;
  transition: all var(--transition);
}
.btn-sand:hover { background: var(--white); color: var(--navy); }

/* Related */
.guide-related { padding: 22px 24px; background: var(--sand); }
.related-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(3,26,97,0.1);
  color: var(--navy);
  transition: padding-left var(--transition);
}
.guide-related .related-link:first-of-type { border-top: none; }
.related-link:hover { padding-left: 4px; }
.related-title {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.3;
}
.related-arrow { color: var(--brown); }

/* CTA block at end of content */
.guide-cta-block {
  margin-top: 60px;
  padding: 40px;
  background: var(--navy);
  color: var(--white);

}
.guide-cta-block h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.guide-cta-block p { color: rgba(255,255,255,0.75); margin-bottom: 22px; }
.guide-cta-block .btn {
  background: var(--sand);
  color: var(--navy);
  padding: 14px 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-block;
}
.guide-cta-block .btn:hover { background: var(--white); color: var(--navy); }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 40px; }
  .guide-sidebar { position: static; }
}

/* ============================================================
   DEVELOPMENT SINGLE — Maralto-style cinematic landing
   URL: /invest-in-estepona/{slug}/
   ============================================================ */
.dev-page { background: var(--white); color: var(--text); overflow-x: clip; }

/* --- Scroll reveal --- */
.dev-page .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dev-page .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- 1. HERO with Ken Burns --- */
.dev-hero {
  position: relative;
  min-height: 75vh;
  padding: 140px 0 70px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.dev-hero-bg {
  position: absolute;
  inset: 0 -3% -6%;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.0);
  animation: devKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes devKenBurns {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-2%, -2%, 0); }
}
.dev-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(0,0,0,0.65) 0%,
              rgba(0,0,0,0.45) 40%,
              rgba(0,0,0,0.8) 100%);
}
.dev-hero-inner {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 20px;
}
.dev-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 22px;
}
.dev-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.dev-hero-lead {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
  max-width: 620px;
  margin-bottom: 26px;
  font-weight: 300;
}
.dev-price {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.dev-price strong {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 400;
  margin-left: 8px;
}
.dev-hero-cta { padding: 16px 36px; font-size: 11px; letter-spacing: 0.18em; }

/* --- 2. SPLIT IMAGE SECTION + rotated label --- */
.dev-split {
  background: var(--white);
  padding: 0 0 70px;
  position: relative;
}
.dev-split-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  padding: 70px 40px 40px;
}
.dev-split-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
}
.dev-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dev-split-img:hover img { transform: scale(1.06); }
.dev-split-img--wide { aspect-ratio: 16/10; }
.dev-split-img--narrow { aspect-ratio: 4/5; }
.dev-rotated-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-style: normal;
  color: var(--navy);
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.85;
  z-index: 3;
}
.dev-split-copy {
  max-width: 920px;
  margin: 60px auto 0;
  columns: 2;
  column-gap: 60px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}
.dev-split-copy p { margin-bottom: 16px; break-inside: avoid; }
.dev-split-copy .lead { font-family: var(--font-serif); font-size: 18px; font-style: normal; color: var(--navy); }
.dev-split-copy h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 16px 0 10px;
  column-span: all;
  break-before: auto;
}
.dev-split-copy strong { color: var(--navy); }

@media (max-width: 900px) {
  .dev-split-grid { grid-template-columns: 1fr; padding: 40px 20px; }
  .dev-split-copy { columns: 1; margin: 40px 20px 0; }
  .dev-split-img--wide, .dev-split-img--narrow { aspect-ratio: 16/10; }
}

/* --- 3. FULL-WIDTH BAND --- */
.dev-band {
  position: relative;
  height: 60vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.dev-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,26,97,0.15), rgba(3,26,97,0.05));
}
@media (max-width: 900px) {
  .dev-band { background-attachment: scroll; height: 40vh; }
}

/* --- 4. AMENITIES --- */
.dev-amenities {
  padding: 90px 0;
  background: var(--white);
  position: relative;
}
.dev-amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.dev-amenities-left h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
  max-width: 480px;
}
.dev-amenities-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 460px;
}
.dev-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.dev-amenities-list li {
  padding: 14px 0 14px 28px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  border-top: 1px solid rgba(3,26,97,0.08);
  line-height: 1.5;
}
.dev-amenities-list li:last-child { border-bottom: 1px solid rgba(3,26,97,0.08); }
.dev-amenities-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 16px;
  height: 1px;
  background: var(--brown);
}
.dev-amenities-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.dev-amenities-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dev-amenities-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dev-amenities-right:hover .dev-amenities-img img { transform: scale(1.05); }
.dev-rotated-label--inline {
  position: static;
  transform: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
  justify-self: center;
  font-size: 1.2rem;
  opacity: 0.7;
  margin: -10px 0;
}
@media (max-width: 900px) {
  .dev-amenities-grid { grid-template-columns: 1fr; gap: 40px; }
  .dev-rotated-label--inline { display: none; }
}

/* --- 5. STATS DARK BAND + image + CTA --- */
.dev-stats-band {
  background: #0c2049;
  color: var(--white);
  padding: 56px 0 0;
}
.dev-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 0 42px;
}
.dev-stats-grid > div {

  padding: 8px 14px;
  border-right: 1px solid rgba(221,210,199,0.15);
}
.dev-stats-grid > div:last-child { border-right: none; }
.dev-stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--sand);
  line-height: 1;
  margin-bottom: 8px;
}
.dev-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(221,210,199,0.65);
}
.dev-stats-img {
  position: relative;
  overflow: hidden;
  height: 50vh;
  min-height: 360px;
}
.dev-stats-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.5s ease;
}
.dev-stats-band:hover .dev-stats-img img { transform: scale(1.08); }
.dev-stats-cta {

  padding: 40px 0 80px;
}
.btn-outline-sand {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--sand);
  color: var(--sand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  text-decoration: none;
}
.btn-outline-sand:hover { background: var(--sand); color: var(--navy); }

@media (max-width: 640px) {
  .dev-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .dev-stats-grid > div:nth-child(2n) { border-right: none; }
}

/* --- 6. GALLERY CAROUSEL --- */
.dev-gallery-section {
  padding: 70px 0 40px;
  background: var(--white);
}
.dev-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);

  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 400;
}
.dev-gallery-carousel {
  position: relative;
  padding: 0 60px;
}
.dev-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0 12px;
}
.dev-carousel-track::-webkit-scrollbar { display: none; }
.dev-carousel-item {
  flex: 0 0 auto;
  width: min(420px, 75vw);
  aspect-ratio: 4/3;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}
.dev-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dev-carousel-item:hover img { transform: scale(1.06); }
.dev-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(3,26,97,0.95);
  color: var(--sand);
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
  transition: background 0.3s ease;
}
.dev-carousel-nav:hover { background: var(--sand); color: var(--navy); }
.dev-carousel-prev { left: 6px; }
.dev-carousel-next { right: 6px; }
.dev-gallery-cta { text-align: center; padding: 34px 0 60px; }

@media (max-width: 600px) {
  .dev-gallery-carousel { padding: 0 16px; }
  .dev-carousel-nav { display: none; }
}

/* --- 7. CONTACT (split image + form) --- */
.dev-contact {
  background: var(--navy);
  color: var(--white);
  padding: 0;
}
.dev-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  align-items: center;
}
.dev-contact-img {
  overflow: hidden;
  position: relative;
}
.dev-contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.5s ease;
}
.dev-contact-img:hover img { transform: scale(1.08); }
.dev-contact-form-wrap {
  padding: 80px 60px;
  max-width: 620px;
}
.dev-contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--sand);
  margin: 0 0 16px;
  font-weight: 400;
  line-height: 1.2;
}
.dev-contact-lead {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.dev-contact-form-wrap input[type="text"],
.dev-contact-form-wrap input[type="email"],
.dev-contact-form-wrap input[type="tel"],
.dev-contact-form-wrap textarea,
.dev-contact-form-wrap select {
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--white);
  background: transparent;
  outline: none;
  width: 100%;
  margin-bottom: 16px;
}
.dev-contact-form-wrap input::placeholder,
.dev-contact-form-wrap textarea::placeholder { color: rgba(255,255,255,0.4); }
.dev-contact-form-wrap input:focus,
.dev-contact-form-wrap textarea:focus,
.dev-contact-form-wrap select:focus { border-bottom-color: var(--sand); }
.dev-contact-form-wrap .wpcf7-submit,
.dev-contact-form-wrap button[type="submit"],
.dev-contact-form-wrap input[type="submit"] {
  background: var(--sand);
  color: var(--navy);
  border: 1px solid var(--sand);
  padding: 14px 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
  margin-top: 10px;
}
.dev-contact-form-wrap .wpcf7-submit:hover,
.dev-contact-form-wrap button[type="submit"]:hover,
.dev-contact-form-wrap input[type="submit"]:hover {
  background: var(--white);
  border-color: var(--white);
}
@media (max-width: 900px) {
  .dev-contact-grid { grid-template-columns: 1fr; }
  .dev-contact-img { min-height: 320px; }
  .dev-contact-form-wrap { padding: 48px 28px; max-width: none; }
}

/* --- 8. OFFICE BLOCK --- */
.dev-office {
  padding: 70px 0 100px;
  background: #faf8f3;
}
.dev-office h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  margin: 0 0 36px;

  font-weight: 400;
}
.dev-office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
}
.dev-office-grid p { margin-bottom: 10px; }
.dev-office-grid a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.dev-office-grid .section-eyebrow { color: var(--brown); margin-bottom: 12px; }
@media (max-width: 700px) {
  .dev-office-grid { grid-template-columns: 1fr; }
}

/* ── Inline CTA inside guide content (Find My Area promo) ── */
.guide-content .guide-inline-cta {
  margin: 0;
  margin-top: auto;
  padding: 28px 32px;
  background: #faf8f3;
  border: 1px solid rgba(109,92,76,0.18);
  border-left: 3px solid var(--brown);
  position: relative;
}
.guide-content .guide-inline-cta .guide-inline-cta-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px;
}
.guide-content .guide-inline-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 400;
  scroll-margin-top: 100px;
}
.guide-content .guide-inline-cta p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0 0 18px;
}
.guide-content .guide-inline-cta .btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}
.guide-content .guide-inline-cta .btn:hover {
  background: var(--navy);
  color: var(--sand);
  border-color: var(--navy);
}

/* ── Areas guide: Leaflet Costa del Sol map ── */
.costa-map-wrap { margin: 0 0 48px; padding: 0; border-radius: 8px; overflow: hidden; }
.costa-map-live {
  width: 100%;
  height: 520px;
  border: none;
  background: #f5f3ef;
}
.leaflet-tooltip.cm-area-label {
  background: rgba(255,255,255,0.9);
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--navy);
  text-shadow: none;
  white-space: nowrap;
  line-height: 1;
  padding: 3px 6px;
  pointer-events: none;
}
.leaflet-tooltip.cm-sub-label {
  font-size: 9px;
  padding: 2px 5px;
  font-weight: 600;
}
.leaflet-tooltip.cm-area-label::before { display: none; }
.costa-map-live .leaflet-interactive {
  pointer-events: all !important;
  cursor: pointer !important;
  transition: fill-opacity 0.25s ease, stroke-width 0.25s ease, stroke-opacity 0.25s ease;
}
.leaflet-container svg,
.leaflet-map-pane svg,
.leaflet-zoom-animated {
  width: auto !important;
  height: auto !important;
  fill: initial !important;
  flex-shrink: initial !important;
}
.leaflet-container svg path { fill: inherit; }
.costa-map-live .leaflet-tooltip-pane,
.costa-map-live .leaflet-tooltip-pane * {
  pointer-events: none !important;
}
.leaflet-container a.leaflet-popup-close-button { color: var(--navy); }
.costa-map-caption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);

  opacity: 0.7;
}
@media (max-width: 640px) {
  .costa-map-live { height: 320px; }
}

/* ── Areas guide: hero cards per municipality (shown on /guides/areas/ only) ── */
.areas-hero-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
}
.areas-card { display: block; scroll-margin-top: 100px; }
.areas-card-hero {
  position: relative;
  display: block;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: #1a1a1a;
}
.areas-card-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.areas-card-hero:hover img { transform: scale(1.03); }
.areas-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.08) 55%, transparent 100%);
}
.areas-card-caption {
  position: absolute;
  left: 36px;
  right: 45%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3);
}
.areas-card-caption h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--sand);
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.1;
  scroll-margin-top: 100px;
}
.areas-card-caption p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
  margin-bottom: 14px;
  font-weight: 300;
}
.areas-card-cta {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--navy);
  padding: 8px 16px;
  display: inline-block;
}
.areas-card-subzones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 12px 4px 0;
}
.areas-card-subzone {
  font-size: 12px;
  color: var(--text-light);
}
.areas-card-subzone::after {
  content: '·';
  margin-left: 14px;
  opacity: 0.35;
}
.areas-card-subzone:last-child::after { content: ''; }
.zone-hero {
  margin: 40px 0 24px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.zone-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zone-hero + h2 {
  margin-top: 20px;
}
.areas-separator {
  border: none;
  border-top: 1px solid rgba(3,26,97,0.12);
  margin: 40px 0 24px;
}
.areas-detail-lead {
  font-size: 13px;
  color: var(--text-light);

  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .areas-card-hero { aspect-ratio: 16 / 10; }
  .areas-card-caption { right: 24px; }
  .areas-card-caption h2 { font-size: 1.5rem; }
  .areas-card-caption p { font-size: 12px; }
}

/* ── Guides (hub + single) — minimal base styling ── */
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.guides-intro { padding: 160px 0 80px; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.guide-card {
  display: block;
  background: var(--sand);
  padding: 32px 28px;
  border: 1px solid rgba(3,26,97,0.08);
  transition: all var(--transition);
  color: var(--text);
}
.guide-card:hover { background: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.guide-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.guide-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 18px;
}
.guide-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; }
}

/* ── Our Areas — asymmetric grid (Estepona main + 4 small) ── */
.our-areas-section .section-header { text-align: center; margin-bottom: 48px; }
.our-areas-section .section-sub {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 300;
  max-width: 520px;
  margin: 12px auto 0;
  line-height: 1.6;
}
.our-areas-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
.oa-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--navy);
}
.oa-card--main {
  grid-row: 1 / span 2;
  grid-column: 1;
}
.oa-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.oa-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.02);
}
.oa-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.04) 75%, transparent 100%);
  transition: background 0.4s ease;
}
.oa-card:hover .oa-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.28) 50%, rgba(109,92,76,0.1) 80%, transparent 100%);
}
.oa-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
  opacity: 0.85;
}
.oa-card:hover::after { transform: scaleX(1); }
.oa-card .oa-caption {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.oa-card:hover .oa-caption {
  transform: translateY(-6px);
}
.oa-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  right: 20px;
  color: var(--white);
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.oa-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 6px;
}
.oa-card--main .oa-caption h3 {
  font-size: 2.9rem;
}
.oa-count {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 900px) {
  .our-areas-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
  }
  .our-areas-grid .oa-card { aspect-ratio: 4 / 3; }
  .oa-card--main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .oa-card--main .oa-caption h3 { font-size: 2.2rem; }
}
@media (max-width: 560px) {
  .our-areas-grid { grid-template-columns: 1fr; }
  .our-areas-grid .oa-card { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
  .area-finder-inner { grid-template-columns: 1fr; gap: 32px; }
  .area-finder-right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .area-finder-stat { text-align: left; }
}

/* ── Sub-zone grid (municipality guide pages) ── */
.subzone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 48px;
}
.subzone-grid-card {
  text-decoration: none;
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.subzone-grid-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.subzone-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.08) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background 0.3s ease;
}
.subzone-grid-card:hover .subzone-grid-overlay {
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.subzone-grid-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--white);
  line-height: 1.2;
}
.subzone-grid-cta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.subzone-grid-card:hover .subzone-grid-cta {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 900px) {
  .subzone-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .subzone-grid { grid-template-columns: 1fr; gap: 12px; }
  .subzone-grid-img { height: 180px; }
}

/* ── Municipality focused map: sub-zone labels, POI pins (Estepona pilot) ── */
.costa-map-muni .costa-map-live { height: 480px; }
.leaflet-tooltip.cm-sub-label {
  font-size: 12px;
  font-weight: 600;
}
.poi-pin {
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  width: 22px !important;
  height: 22px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
  line-height: 1;
}
.poi-pin span { display: inline-block; transform: translateY(-0.5px); }
.poi-pin.poi-airport { background: var(--brown); }
.poi-pin.poi-school  { background: var(--navy); }
.poi-pin.poi-golf    { background: var(--sand); color: var(--navy); border-color: var(--navy); }
.leaflet-tooltip.poi-tooltip {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 4px 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.leaflet-tooltip.poi-tooltip::before { border-top-color: var(--navy) !important; }
@media (max-width: 640px) {
  .costa-map-muni .costa-map-live { height: 340px; }
}

.about-text blockquote .quote-attr {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
}
.about-text blockquote .quote-attr cite {
  font-style: normal;
}

/* Inline footnote inside guide content (source + jump-back links) */
.guide-content .step-footnote { font-size: 0.85rem; color: #777; margin: 18px 0 32px; padding: 10px 0; border-top: 1px solid #eee3d6; }
.guide-content .step-footnote a { color: #031A61; text-decoration: none; border-bottom: 1px solid rgba(3,26,97,0.35); transition: border-color 0.2s; }
.guide-content .step-footnote a:hover { border-bottom-color: #031A61; }

/* ===== BLOG SINGLE ===== */
.blog-single .guide-hero h1 { color: #fff; }
.blog-single .guide-hero .section-eyebrow,
.blog-single .guide-hero .section-eyebrow a,
.blog-single .guide-hero .section-eyebrow span { color: rgba(255,255,255,0.7); }
.blog-single .guide-hero .section-eyebrow a:hover { color: #fff; }
.blog-single .guide-hero .crumb-sep { color: rgba(255,255,255,0.4); }
.blog-single .blog-byline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-top: 12px;
}
.blog-single .blog-byline strong {
  color: #fff;
  font-weight: 600;
}
.blog-single .blog-zone-search {
  margin-top: 24px;
  margin-bottom: 16px;
}
.blog-single .guide-content figure {
  margin: 32px 0;
  border-radius: 6px;
  overflow: hidden;
}
.blog-single .guide-content figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.blog-single .guide-content figcaption {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
  font-style: italic;
}

/* Main page hero spacing only */
body.home .hero-content { margin-bottom: 290px; }
body.home .hero-eyebrow { margin-bottom: 24px; }
body.home .hero h1 { margin-bottom: 28px; }
body.home .hero-tagline { margin-bottom: 40px; }
body.home .hero-ctas { margin-top: 20px; }

/* Municipality hero image */
.muni-hero-img {
  margin: 0 0 32px;
  border-radius: 8px;
  overflow: hidden;
}
.muni-hero-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Center subzone cards when not filling full row */
.subzone-grid {
  justify-items: center;
}
@supports (grid-template-columns: repeat(3, 1fr)) {
  .subzone-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 100%;
  }
}

/* Override: fix subzone grid back to 3-col, center last row */
.subzone-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0 0 48px;
}
.subzone-grid-card {
  flex: 0 0 calc(33.333% - 12px);
  max-width: calc(33.333% - 12px);
}
@media (max-width: 768px) {
  .subzone-grid-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ─── Mobile fixes (merged from mobile-fixes.css) ─── */

/*
 * Santina Homes — Mobile Fixes
 * Standardized breakpoints: 768px (tablet), 480px (phone)
 * Loaded after style.css to override cluttered mobile layout
 */

/* ============================================================
   GLOBAL MOBILE RESETS
   ============================================================ */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }
  body {
    overflow-x: hidden;
    font-size: 14px;
  }
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 48px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-header h2 {
    font-size: 1.6rem;
  }
  .section-sub {
    font-size: 13px;
  }
  .section-cta {
    margin-top: 32px;
  }

  /* Buttons: ensure touch targets */
  .btn {
    padding: 14px 24px;
    font-size: 11px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================================
   HEADER — reduce bulk on mobile
   ============================================================ */
@media (max-width: 768px) {
  .header-top {
    display: none;
  }
  .header-main-inner {
    height: 64px;
    padding: 0 4px;
  }
  .logo img {
    height: 40px;
  }
  .logo .logo-img-mobile {
    height: 36px;
  }
  .nav-toggle {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Menu overlay — full width on phone */
  .menu-overlay-inner {
    width: 100vw;
    max-width: 100vw;
    padding: 24px 20px 24px;
  }
  .menu-overlay-inner ul li a {
    padding: 10px 0;
    font-size: 1.15rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============================================================
   HERO — reduce height, fix text sizing, fix search overlap
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 64px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-content {
    margin-bottom: 24px;
    padding: 0 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  .hero-eyebrow {
    font-size: 9px;
    padding: 5px 10px;
    margin-bottom: 12px;
  }
  .hero-tagline {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-dots {
    position: relative;
    bottom: auto;
    margin: 16px 0;
  }
  .hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
  }
  .hero-scroll {
    display: none;
  }

  /* Search bar inside hero — 2-col grid to save space */
  .hero-search {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0;
  }
  .search-bar {
    max-width: 100%;
    box-shadow: none;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .search-field {
    min-width: 0;
    padding: 10px 14px;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .search-field label {
    font-size: 9px;
    margin-bottom: 2px;
  }
  .search-field select,
  .search-field input {
    font-size: 13px;
    min-height: 28px;
  }
  .search-btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero-tagline {
    font-size: 0.85rem;
  }
  .hero-eyebrow {
    font-size: 8px;
  }
}

/* ============================================================
   INTRO SECTION — stack columns, breathe
   ============================================================ */
@media (max-width: 768px) {
  .intro-section {
    padding: 40px 0;
  }
  .intro-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .intro-text p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .intro-links {
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.1);
  }
  .intro-link-item {
    padding: 14px 16px;
    min-height: 48px;
    font-size: 11px;
  }
}

/* ============================================================
   OUR AREAS — single column on mobile
   ============================================================ */
@media (max-width: 768px) {
  .our-areas-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
    gap: 8px;
  }
  .oa-card--main {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .our-areas-grid .oa-card {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
  }
  .oa-card--main .oa-caption h3 {
    font-size: 1.6rem;
  }
  .oa-caption h3 {
    font-size: 1rem;
  }
  .oa-caption {
    left: 10px;
    bottom: 10px;
    right: 10px;
  }
}

/* ============================================================
   SELECTIONS — single column, shorter images
   ============================================================ */
@media (max-width: 768px) {
  .selections-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .selection-card {
    border-radius: 8px;
    overflow: hidden;
  }
  .selection-img {
    height: 140px;
  }
  .selection-body {
    padding: 12px 10px;
  }
  .selection-body h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .selection-body p {
    display: none;
  }
  .selection-body .btn {
    min-height: 36px;
    font-size: 10px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============================================================
   NEW DEVELOPMENTS BANNER
   ============================================================ */
@media (max-width: 768px) {
  .new-dev-banner {
    padding: 56px 0;
  }
  .new-dev-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .new-dev-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* ============================================================
   LIVING GUIDES — 1 column on tablet, breathe
   ============================================================ */
@media (max-width: 768px) {
  .living-section {
    padding: 40px 0;
  }
  .living-guides-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .living-guide-card {
    min-height: auto;
    padding: 14px 12px;
  }
  .living-guide-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  .living-guide-card p {
    font-size: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .zones-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT / AGENCY — single column, hide image, reduce quote
   ============================================================ */
@media (max-width: 768px) {
  .about-section .section {
    padding: 48px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-image {
    display: none;
  }
  .about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .about-text p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .about-text blockquote {
    font-size: 0.9rem;
    padding-left: 14px;
    margin: 16px 0;
    line-height: 1.6;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
    padding: 20px 0;
  }
  .stat-num {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 9px;
  }
}

/* ============================================================
   NEWSLETTER — stack, reduce spacing
   ============================================================ */
@media (max-width: 768px) {
  .newsletter-section {
    padding: 48px 0;
  }
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .newsletter-text h3 {
    font-size: 1.2rem;
  }
  .newsletter-text p {
    font-size: 12px;
  }
  .newsletter-form input {
    font-size: 14px;
    padding: 12px 0;
    min-height: 44px;
  }
  .newsletter-form .form-consent {
    font-size: 11px;
  }
  .newsletter-form .form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
  }
  .newsletter-form .btn-primary {
    width: 100%;
    min-height: 48px;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   VISIT / CONTACT — stack, reduce map
   ============================================================ */
@media (max-width: 768px) {
  .visit-section {
    padding: 48px 0;
  }
  .visit-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .visit-text h2 {
    font-size: 1.5rem;
  }
  .visit-text p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .visit-map {
    min-height: 240px;
  }
  .contact-info-item {
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
  }
  .contact-info-item .label {
    min-width: auto;
  }
  .contact-info-item a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============================================================
   FOOTER — single column, compact
   ============================================================ */
@media (max-width: 768px) {
  .footer {
    padding: 24px 0 0;
  }
  .footer-logo .logo-img-desktop {
    height: 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 16px;
  }
  .footer-col.footer-contact {
    grid-column: 1 / -1;
  }
  .footer-col h4 {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .footer-col ul li a {
    font-size: 13px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
    font-size: 11px;
  }
  .social-links a {
    width: 44px;
    height: 44px;
  }
}

/* ============================================================
   PROPERTIES GRID — single column
   ============================================================ */
@media (max-width: 768px) {
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .property-img {
    height: 200px;
  }
  .property-info {
    padding: 16px 0 18px;
  }
}

/* ============================================================
   AREA CARDS V2 — single column
   ============================================================ */
@media (max-width: 768px) {
  .area-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .area-card-img {
    height: 180px;
  }
}

/* ============================================================
   INVEST PAGE
   ============================================================ */
@media (max-width: 768px) {
  .invest-banner {
    padding: 56px 0;
  }
  .invest-content h2 {
    font-size: 1.5rem;
  }
  .invest-content p {
    font-size: 14px;
  }
  .invest-stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .invest-stat {
    padding: 20px 16px;
  }
  .invest-stat-num {
    font-size: 2rem;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .reason-card {
    padding: 24px 20px;
  }
  .reason-num {
    font-size: 2.2rem;
  }
  .invest-paths {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .invest-path-body {
    padding: 24px 20px 28px;
  }
  .invest-path-body h3 {
    font-size: 1.5rem;
  }
}

/* ============================================================
   GUIDE PAGES — sidebar stacks, content readable
   ============================================================ */
@media (max-width: 768px) {
  .guide-hero {
    padding: 80px 0 24px;
  }
  .guide-hero h1 {
    font-size: 1.6rem;
  }
  .guide-hero-lead {
    font-size: 14px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .guide-sidebar {
    position: static;
  }
  .guide-content {
    font-size: 14px;
  }
  .guide-content h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px;
  }
  .guide-content h3 {
    font-size: 1.05rem;
  }
  .guide-cta-block {
    margin-top: 40px;
    padding: 28px 20px;
  }
  .guide-cta-block h3 {
    font-size: 1.2rem;
  }

  /* Guide hub cards */
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    padding: 24px 20px;
  }

  /* Area guide hero cards */
  .areas-card-hero {
    aspect-ratio: 16 / 10;
  }
  .areas-card-caption {
    left: 16px;
    right: 16px;
  }
  .areas-card-caption h2 {
    font-size: 1.4rem;
  }
  .areas-card-caption p {
    font-size: 12px;
  }

  /* Map */
  .costa-map-live {
    height: 280px;
  }
  .costa-map-muni .costa-map-live {
    height: 300px;
  }
}

/* ============================================================
   CALCULATORS (buying/selling) — single column fields
   ============================================================ */
@media (max-width: 768px) {
  .net-estimator,
  .buy-estimator {
    padding: 20px 16px;
    margin: 0 0 32px;
    border-radius: 6px;
  }
  .net-estimator h2,
  .buy-estimator h2 {
    font-size: 1.25rem;
  }
  .net-estimator-form .ne-row,
  .buy-estimator-form .be-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ne-submit,
  .be-submit {
    width: 100%;
    min-height: 48px;
    padding: 14px 24px;
  }
  .ne-line,
  .be-line {
    font-size: 0.85rem;
    padding: 8px 0;
  }
  .ne-line dt,
  .be-line dt {
    max-width: 60%;
  }
  .ne-line.total dd,
  .be-line.total dd {
    font-size: 1.05rem;
  }
}

/* ============================================================
   CONTACT TEASER
   ============================================================ */
@media (max-width: 768px) {
  .contact-teaser {
    padding: 48px 0;
  }
  .contact-teaser-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form-simple {
    padding: 24px 20px;
  }
  .contact-form-simple h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
}

/* ============================================================
   ZONE FINDER BANNER
   ============================================================ */
@media (max-width: 768px) {
  .area-finder-banner {
    padding: 48px 0;
  }
  .area-finder-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .area-finder-text h2 {
    font-size: 1.4rem;
  }
  .area-finder-right {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .area-finder-stat {
    text-align: left;
  }
}

/* ============================================================
   DEV SINGLE PAGE
   ============================================================ */
@media (max-width: 768px) {
  .dev-hero {

    min-height: 70vh;
    padding-bottom: 48px;
  }
  .dev-hero h1 {
    font-size: 2rem;
  }
  .dev-hero-lead {
    font-size: 1rem;
  }
  .dev-split-grid {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }
  .dev-split-copy {
    columns: 1;
    margin: 28px 16px 0;
  }
  .dev-amenities-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dev-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }
  .dev-stats-grid > div:nth-child(2n) {
    border-right: none;
  }
  .dev-gallery-carousel {
    padding: 0 16px;
  }
  .dev-carousel-nav {
    display: none;
  }
  .dev-contact-grid {
    grid-template-columns: 1fr;
  }
  .dev-contact-img {
    min-height: 240px;
  }
  .dev-contact-form-wrap {
    padding: 36px 20px;
    max-width: none;
  }
  .dev-office-grid {
    grid-template-columns: 1fr;
  }
  .dev-band {
    background-attachment: scroll;
    height: 36vh;
    min-height: 240px;
  }
}

/* ============================================================
   PHONE-SPECIFIC (480px) — extra compactness
   ============================================================ */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 36px 0;
  }
  .section-header {
    margin-bottom: 24px;
  }
  .section-header h2 {
    font-size: 1.4rem;
  }

  /* Header */
  .header-main-inner {
    height: 56px;
  }

  /* Hero */
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero-tagline {
    font-size: 0.85rem;
  }
  .hero-eyebrow {
    font-size: 8px;
  }

  /* Intro */
  .intro-title {
    font-size: 1.3rem;
  }

  /* Areas */
  .oa-card--main .oa-caption h3 {
    font-size: 1.5rem;
  }
  .oa-caption h3 {
    font-size: 1.1rem;
  }

  /* Selections */
  .selection-img {
    height: 180px;
  }
  .selection-body {
    padding: 16px 12px;
  }
  .selection-body h3 {
    font-size: 1.05rem;
  }

  /* New dev banner */
  .new-dev-banner {
    padding: 40px 0;
  }
  .new-dev-content h2 {
    font-size: 1.3rem;
  }

  /* About stats */
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  /* Newsletter */
  .newsletter-section {
    padding: 36px 0;
  }
  .newsletter-text h3 {
    font-size: 1.1rem;
  }

  /* Visit */
  .visit-section {
    padding: 36px 0;
  }
  .visit-text h2 {
    font-size: 1.3rem;
  }
  .visit-map {
    min-height: 200px;
  }

  /* Footer */
  .footer-logo .logo-img-desktop {
    height: 48px;
  }

  /* Guide hero */
  .guide-hero {
    padding: 72px 0 20px;
  }
  .guide-hero h1 {
    font-size: 1.4rem;
  }

  /* Calculators */
  .net-estimator,
  .buy-estimator {
    padding: 16px 12px;
  }
  .net-estimator h2,
  .buy-estimator h2 {
    font-size: 1.1rem;
  }

  /* Dev single */
  .dev-hero h1 {
    font-size: 1.7rem;
  }
  .dev-amenities {
    padding: 48px 0;
  }

  /* About badge — reduce on phone */
  .about-badge {
    width: 80px;
    height: 80px;
  }
  .about-badge span:first-child {
    font-size: 1.2rem;
  }
  .about-badge span:last-child {
    font-size: 0.85rem;
  }

  /* Calculator inputs — prevent overflow */
  .ne-field input,
  .be-field input,
  .ne-field select,
  .be-field select {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }

  /* Guide sidebar agent card — fit screen */
  .guide-agent-card {
    padding: 16px 14px;
  }
  .guide-agent-card h4 {
    font-size: 0.95rem;
  }

  /* Cookie banner — don't cover content */
  #cookie-consent {
    padding: 12px 16px !important;
    font-size: 12px !important;
  }
  #cookie-consent p {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  #cookie-consent div {
    flex-direction: column !important;
    gap: 10px !important;
  }
  #cookie-consent button,
  #cookie-consent a[role="button"] {
    min-height: 40px;
    padding: 8px 20px !important;
    font-size: 12px !important;
  }
}
.trp-language-switcher-container.trp-floater-ls-container { display: none !important; }

/* ============================================================
   MOBILE UX IMPROVEMENTS — 2026-06-01
   Touch targets, sticky CTA, menu fix, guide readability
   ============================================================ */

/* 1. MENU CLOSE BUTTON — fix overlap with first link */
@media (max-width: 768px) {
  .drawer-close {
    position: static;
    display: block;
    margin-bottom: 16px;
    padding: 12px 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: right;
    min-height: 44px;
  }
}

/* 2. SEARCH DROPDOWNS — enlarge touch targets */
@media (max-width: 768px) {
  .search-field select,
  .search-field input[type="text"] {
    min-height: 44px;
    font-size: 15px;
    padding: 8px 0;
  }
  .search-field {
    padding: 12px 14px;
  }
  .search-field label {
    font-size: 10px;
    margin-bottom: 4px;
  }
}

/* 3. FOOTER — larger touch targets for links */
@media (max-width: 768px) {
  .footer-col ul li {
    margin-bottom: 0;
  }
  .footer-col ul li a {
    min-height: 44px;
    padding: 8px 0;
    display: flex;
    align-items: center;
  }
}

/* 4. GUIDE CARDS — single column on narrow mobile */
@media (max-width: 520px) {
  .living-guides-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .living-guide-card {
    padding: 16px;
  }
  .living-guide-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .living-guide-card p {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
}

/* 5. STICKY ENQUIRY CTA — mobile property detail */
.pd-sticky-cta {
  display: none;
}

@media (max-width: 960px) {
  .pd-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
    padding: 12px 16px;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }
  .pd-sticky-cta .pd-sticky-price {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
  }
  .pd-sticky-cta .pd-sticky-type {
    font-size: 11px;
    color: var(--text-light);
  }
  .pd-sticky-cta .pd-sticky-btn {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    min-height: 48px;
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  .pd-sticky-cta .pd-sticky-btn:hover {
    background: #052080;
  }
  .pd-sticky-cta .pd-sticky-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 4px;
    width: 48px;
    min-height: 48px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .pd-sticky-cta .pd-sticky-wa:hover {
    background: #1da851;
  }
  .pd-sticky-cta .pd-sticky-wa svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
  }

  /* Add bottom padding to page so sticky bar doesn't cover content */
  .pd {
    padding-bottom: 100px;
  }
}

/* 6. MENU OVERLAY — better touch targets for all links */
@media (max-width: 768px) {
  .menu-overlay-inner ul li a {
    padding: 12px 0;
    min-height: 48px;
  }
  .menu-contact a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* Guide inline CTA banner */
.guide-cta-banner {
  background: #FAF8F5;
  border-left: 3px solid var(--navy, #031A61);
  padding: 28px 32px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.guide-cta-banner p {
  margin: 0;
  font-size: 1rem;
  color: var(--text, #333);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}
.guide-cta-banner .btn-cta {
  display: inline-block;
  background: var(--navy, #031A61);
  color: #fff;
  padding: 14px 32px;
  font-family: var(--font-sans, 'Times New Roman', serif);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  transition: background .3s ease;
}
.guide-cta-banner .btn-cta:hover {
  background: var(--sand, #DDD2C7);
  color: var(--navy, #031A61);
}
.guide-cta-banner > p:last-of-type {
  margin: 0;
  flex: 0 0 auto;
}

/* Guide agent card — personal team member layout */
.guide-agent-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e4df;
}
.guide-agent-row .agent-name {
  margin: 0;
}
.guide-agent-row .agent-role {
  margin: 2px 0 0;
}

/* ===== SHARED SIDEBAR AGENT CARD ===== */
.sidebar-agent-card { background: #fff; border: 1px solid #e8e4df; border-radius: 8px; padding: 28px 24px; box-shadow: 0 4px 24px rgba(0,0,0,.06); margin-top: 20px; }
.sidebar-agent { display: flex; align-items: center; gap: .85rem; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #e8e4df; }
.sidebar-agent-photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid #e8e4df; }
.sidebar-agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-agent-name { display: block; font-family: var(--font-serif, 'Playfair Display', serif); font-weight: 600; font-size: 1rem; color: var(--navy); line-height: 1.3; }
.sidebar-agent-role { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light, #666); margin-top: 2px; }
.sidebar-agent-card h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy); margin: 0 0 6px; }
.sidebar-agent-lead { font-size: 0.85rem; color: #666; line-height: 1.5; margin: 0 0 16px; }
.sidebar-lead-form .sidebar-form-row { margin-bottom: 10px; }
.sidebar-lead-form input[type="text"],
.sidebar-lead-form input[type="email"],
.sidebar-lead-form input[type="tel"],
.sidebar-lead-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px;
  font-size: 0.85rem; font-family: var(--font-sans); transition: border-color 0.2s;
}
.sidebar-lead-form input:focus,
.sidebar-lead-form textarea:focus { border-color: var(--navy); outline: none; }
.sidebar-checkbox-row { font-size: 0.75rem; color: #888; }
.sidebar-checkbox-row label { display: flex; align-items: flex-start; gap: 6px; cursor: pointer; }
.sidebar-checkbox-row input[type="checkbox"] { margin-top: 2px; }
.sidebar-checkbox-row a { color: var(--navy); }
.sidebar-submit-btn { width: 100%; margin-top: 4px; }
.sidebar-form-status { font-size: 0.8rem; margin-top: 8px; text-align: center; }
.sidebar-agent-actions { display: flex; flex-direction: column; gap: 8px; }
.sidebar-agent-link { font-size: 0.85rem; color: var(--navy); text-decoration: none; font-weight: 500; }
.sidebar-agent-link:hover { color: var(--sand); }

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-hero {
  background: var(--navy);
  padding: 160px 0 48px;
  text-align: center;
}
.blog-hero h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
}
.blog-hero-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.blog-cats {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.blog-cats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.blog-cats-row:last-child { margin-bottom: 0; }
.blog-cats-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  font-weight: 500;
  min-width: 70px;
}
.blog-cat-link {
  background: none;
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-cat-link:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.blog-cat-link.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.blog-feed { padding: 48px 0 64px; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.blog-card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--sand);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 20px 24px 24px;
}
.blog-card-body h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 12px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
}
.blog-card-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brown);
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.blog-card-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
}
.blog-sidebar {
  position: sticky;
  top: 100px;
}
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: var(--text-light);
}
.blog-pagination {
  margin-top: 48px;
  text-align: center;
}
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar { display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-hero { padding: 100px 0 32px; }
  .blog-hero h1 { font-size: 2.2rem; }
  .blog-hero-sub { font-size: 14px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-card-image { height: 180px; }
  .blog-feed { padding: 32px 0 48px; }
}
