/* ============================================
   Spanish Riviera — styles.css
   Design: Inspired by albacondos.com
   Colors: Teal #63B4B4 | Dark #333 | Gray #7A7A7A
   Font: Assistant (Google Fonts)
   ============================================ */

/* --- Skip link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: #63B4B4;
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* --- Focus visible (accessibility) --- */
*:focus-visible {
  outline: 3px solid #63B4B4;
  outline-offset: 2px;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #63B4B4;
  outline-offset: 2px;
}

/* --- CSS Custom Properties --- */
:root {
  --teal: #63B4B4;
  --teal-dark: #4a9a9a;
  --teal-light: rgba(99,180,180,0.08);
  --teal-glow: rgba(99,180,180,0.4);
  --dark: #2A2D32;
  --dark-soft: #54595F;
  --text: #6B7280;
  --light-bg: #F9FAFB;
  --card-shadow: 0 4px 16px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 20px 50px rgba(0,0,0,0.12);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Assistant', sans-serif;
  color: var(--dark-soft);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--transition-smooth); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--dark); line-height: 1.15; }
h1 { font-family: 'Cormorant Garamond', serif; font-size: 3.8rem; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 600; color: var(--teal); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
p { font-size: 1.05rem; color: var(--text); margin-bottom: 1rem; line-height: 1.8; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 15px 38px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  border-radius: 3px;
  border: none;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--teal-glow);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(42, 45, 50, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 40px;
  width: auto;
  transition: height 0.3s;
}

.header.scrolled .header__logo img {
  height: 32px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #63B4B4;
  transition: width 0.3s;
}

.header__nav a:hover::after { width: 100%; }

.header__nav .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero slideshow */
.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s ease, transform 7s ease-out;
}

.hero__slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide.prev {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.5s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(51,51,51,0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(99,180,180,0.25);
  border: 1px solid rgba(99,180,180,0.5);
  border-radius: 30px;
  color: #63B4B4;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
}

.hero__title {
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s var(--transition-smooth) 0.3s forwards;
}

.hero__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s var(--transition-smooth) 0.6s forwards;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease 0.9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero__scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}

.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

/* ============================================
   FEATURE NAVIGATION GRID
   ============================================ */
.features {
  padding: 120px 0;
  background: #fff;
}

.features__header {
  text-align: center;
  margin-bottom: 60px;
}

.features__header p {
  max-width: 600px;
  margin: 16px auto 0;
}

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

.feature-tile {
  position: relative;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.feature-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.feature-tile:hover .feature-tile__bg {
  transform: scale(1.08);
}

.feature-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
  transition: background 0.3s;
}

.feature-tile:hover .feature-tile__overlay {
  background: linear-gradient(180deg, transparent 10%, rgba(99,180,180,0.8) 100%);
}

.feature-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.feature-tile__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #63B4B4;
  margin-bottom: 6px;
}

.feature-tile:hover .feature-tile__label { color: #fff; }

.feature-tile__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.feature-tile__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(-10px);
}

.feature-tile:hover .feature-tile__arrow {
  opacity: 1;
  transform: translateX(0);
  background: rgba(255,255,255,0.15);
}

.feature-tile__arrow svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
}

/* ============================================
   FEATURED DEVELOPMENTS
   ============================================ */
.developments {
  padding: 100px 0;
  background: var(--light-bg);
}

.developments__header {
  text-align: center;
  margin-bottom: 20px;
}

.developments__header p {
  max-width: 600px;
  margin: 16px auto 0;
}

/* Filters */
.developments__filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #54595F;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: #63B4B4;
  color: #63B4B4;
  background: rgba(99,180,180,0.08);
}

/* Property Grid */
.developments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.property-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.5s var(--transition-smooth);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.property-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.property-card:hover .property-card__image img {
  transform: scale(1.06);
}

.property-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: #63B4B4;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
}

.property-card__body {
  padding: 20px;
}

.property-card__location {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #63B4B4;
  margin-bottom: 4px;
}

.property-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.property-card__desc {
  font-size: 0.9rem;
  color: #7A7A7A;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card__meta {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  align-items: center;
}

.property-card__meta span {
  font-size: 0.82rem;
  color: #54595F;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-card__meta svg {
  width: 16px;
  height: 16px;
  stroke: #63B4B4;
  fill: none;
}

.property-card__price {
  margin-left: auto;
  font-size: 1.05rem;
  font-weight: 800;
  color: #333 !important;
}

.developments__more {
  text-align: center;
}

/* --- Filter rows & dropdowns --- */
.developments__filters-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.developments__filters-row + .developments__filters-row {
  margin-top: 14px;
}

.filter-select {
  padding: 8px 16px;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #54595F;
  font-family: 'Assistant', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2354595F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  min-width: 140px;
}

.filter-select:hover, .filter-select:focus {
  border-color: #63B4B4;
  color: #63B4B4;
  outline: none;
}

/* --- Favorites badge --- */
.favorites-badge {
  display: none;
  align-items: center;
  justify-content: center;
  background: #63B4B4;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-left: 4px;
  line-height: 1;
}

/* --- Results count --- */
.developments__results-count {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7A7A7A;
  margin-bottom: 20px;
  min-height: 1.2em;
}

/* --- No results --- */
.developments__no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  gap: 16px;
}

.developments__no-results-icon {
  opacity: 0.5;
}

.developments__no-results h3 {
  font-size: 1.3rem;
  color: #333;
}

.developments__no-results p {
  color: #7A7A7A;
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- Favorite heart icon on property cards --- */
.property-card__favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.property-card__favorite svg {
  stroke: #333;
  fill: none;
  stroke-width: 2;
  transition: all 0.3s;
}

.property-card__favorite:hover {
  background: rgba(255,255,255,1);
  transform: scale(1.1);
}

.property-card__favorite:hover svg {
  stroke: #e74c3c;
}

.property-card__favorite.active svg {
  stroke: #e74c3c;
  fill: #e74c3c;
}

.property-card__favorite.active {
  background: rgba(255,255,255,0.95);
}

@media (max-width: 768px) {
  .filter-select {
    min-width: 0;
    flex: 1 1 calc(50% - 6px);
    font-size: 0.8rem;
    padding: 7px 30px 7px 12px;
  }

  .developments__filters-row {
    gap: 8px;
  }
}

/* ============================================
   WHY COSTA DEL SOL
   ============================================ */
.why-costa {
  position: relative;
  padding: 120px 0;
  background: #333;
  overflow: hidden;
}

.why-costa__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.25;
}

.why-costa .container {
  position: relative;
  z-index: 2;
}

.why-costa__header {
  text-align: center;
  margin-bottom: 60px;
}

.why-costa__header h2 {
  color: #fff;
}

.why-costa__header p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 16px auto 0;
}

.why-costa__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
}


.why-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(99,180,180,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: #63B4B4;
  fill: none;
}

.why-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============================================
   AREAS — ESTEPONA & MARBELLA
   ============================================ */
.areas {
  padding: 100px 0;
  background: #fff;
}

.areas__header {
  text-align: center;
  margin-bottom: 60px;
}

.areas__header p {
  max-width: 600px;
  margin: 16px auto 0;
}

.area-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.area-block:last-child { margin-bottom: 0; }

.area-block--reverse { direction: rtl; }
.area-block--reverse > * { direction: ltr; }

.area-block__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 420px;
}

.area-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area-block__image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 16px;
  background: rgba(99,180,180,0.9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  backdrop-filter: blur(5px);
}

.area-block__text h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 16px;
}

.area-block__text h3 span {
  color: #63B4B4;
}

.area-block__text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.area-stats {
  display: flex;
  gap: 32px;
  margin: 24px 0;
}

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

.area-stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: #63B4B4;
  line-height: 1;
}

.area-stat__label {
  font-size: 0.8rem;
  color: #7A7A7A;
  margin-top: 4px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.process {
  padding: 100px 0;
  background: #F8F8F8;
}

.process__header {
  text-align: center;
  margin-bottom: 60px;
}

.process__header p {
  max-width: 600px;
  margin: 16px auto 0;
}

.process__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #63B4B4, rgba(99,180,180,0.2));
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.process-step:last-child { margin-bottom: 0; }

.process-step__number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #63B4B4;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(99,180,180,0.3);
}

.process-step__content {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  flex: 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.process-step__content:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.process-step__content h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
}

.process-step__content p {
  font-size: 0.95rem;
  color: #7A7A7A;
  margin-bottom: 0;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: #fff;
}

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

.services__header p {
  max-width: 600px;
  margin: 16px auto 0;
}

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

.service-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: all 0.3s;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-4px);
}


.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(99,180,180,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: #63B4B4;
  fill: none;
}

.service-card h3 {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: #7A7A7A;
  margin-bottom: 0;
}

/* ============================================
   ABOUT / TEAM
   ============================================ */
.about {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #63B4B4, #4a9a9a);
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.about .container {
  position: relative;
  z-index: 2;
}

.about__header {
  text-align: center;
  margin-bottom: 60px;
}

.about__header h2 { color: #fff; }
.about__header p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 16px auto 0; }

/* (Old team grid removed — now using .about__founder layout defined above) */

/* ============================================
   TAXES SECTION
   ============================================ */
.taxes {
  padding: 100px 0;
  background: #F8F8F8;
}

.taxes__header {
  text-align: center;
  margin-bottom: 60px;
}

.taxes__header p {
  max-width: 600px;
  margin: 16px auto 0;
}

.taxes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.tax-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.tax-card h3 {
  color: #63B4B4;
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #63B4B4;
}

.tax-card ul { list-style: none; }

.tax-card li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: #54595F;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tax-card li:last-child { border-bottom: none; }

.tax-card li strong {
  color: #333;
  white-space: nowrap;
}

/* ============================================
   CONTACT / REGISTER
   ============================================ */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__info h2 { margin-bottom: 16px; }
.contact__info > p { font-size: 1.1rem; margin-bottom: 32px; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(99,180,180,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__item-icon svg {
  width: 22px;
  height: 22px;
  stroke: #63B4B4;
  fill: none;
}

.contact__item-text h4 {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 2px;
}

.contact__item-text a,
.contact__item-text p {
  font-size: 0.95rem;
  color: #7A7A7A;
  margin-bottom: 0;
}

.contact__item-text a:hover { color: #63B4B4; }

/* Form */
.contact__form {
  background: #F8F8F8;
  padding: 40px;
  border-radius: 16px;
}

.contact__form h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #54595F;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  color: #333;
  background: #fff;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #63B4B4;
  box-shadow: 0 0 0 3px rgba(99,180,180,0.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #333;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer__social a:hover {
  background: #63B4B4;
  border-color: #63B4B4;
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.7);
}

.footer__col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer__col ul li { margin-bottom: 10px; }

.footer__col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer__col ul a:hover { color: #63B4B4; }

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

.footer__accent {
  height: 4px;
  background: linear-gradient(90deg, #63B4B4, #4a9a9a);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 998;
  width: 42px;
  height: 42px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #63B4B4;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
}

/* ============================================
   TRUST STATS BAR
   ============================================ */
.stats-bar {
  background: #333;
  padding: 40px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-bar__number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #63B4B4;
  line-height: 1;
  margin-bottom: 4px;
}

.stats-bar__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-bar__number { font-size: 2rem; }
}

/* ============================================
   FOUNDER / ABOUT (redesigned)
   ============================================ */
.about__founder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.about__founder-image {
  position: relative;
}

.about__founder-image img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 30%;
}

.about__founder-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
}

.about__founder-text h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.about__founder-role {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.about__founder-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about__quote {
  border-left: 3px solid #63B4B4;
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(99,180,180,0.1);
  border-radius: 0 8px 8px 0;
}

.about__quote p, .about__quote {
  color: #fff;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0;
}

.about__founder-contact {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about__founder-contact .btn {
  padding: 10px 20px;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .about__founder { grid-template-columns: 1fr; gap: 24px; max-width: 500px; }
  .about__founder-image img { aspect-ratio: 1; max-width: 200px; margin: 0 auto; border-radius: 50%; }
  .about__founder-text { text-align: center; }
  .about__founder-contact { justify-content: center; }
  .about__quote { text-align: left; }
}

/* ============================================
   LIFESTYLE GRID
   ============================================ */
.lifestyle {
  padding: 100px 0;
  background: #F8F8F8;
}

.lifestyle__header {
  text-align: center;
  margin-bottom: 48px;
}

.lifestyle__header p {
  max-width: 550px;
  margin: 12px auto 0;
}

.lifestyle__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.lifestyle__card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  cursor: default;
}

.lifestyle__card--tall {
  grid-row: span 2;
  min-height: 540px;
}

.lifestyle__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  transition: background 0.4s;
}

.lifestyle__card:hover .lifestyle__card-overlay {
  background: linear-gradient(180deg, transparent 10%, rgba(99,180,180,0.8) 100%);
}

.lifestyle__card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.lifestyle__card-content h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.lifestyle__card-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .lifestyle__grid { grid-template-columns: 1fr; }
  .lifestyle__card--tall { grid-row: span 1; min-height: 260px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: #fff;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials__header p {
  max-width: 550px;
  margin: 12px auto 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: #F8F8F8;
  border-radius: 14px;
  padding: 32px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.testimonial-card:hover {
  border-color: rgba(99,180,180,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.testimonial-card__stars {
  color: #63B4B4;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: #54595F;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card__name {
  font-weight: 700;
  color: #333;
  font-size: 0.95rem;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: #7A7A7A;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ============================================
   TRUST SIGNALS
   ============================================ */
.trust {
  position: relative;
  padding: 100px 0;
  background: #1a1a1a;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(99,180,180,0.04);
}

.trust__header {
  text-align: center;
  margin-bottom: 60px;
}

.trust__header h2 {
  color: #fff;
  font-size: 2.2rem;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 60px;
  text-align: center;
}

.trust__stat {
  padding: 28px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

.trust__stat:hover {
  background: rgba(99,180,180,0.08);
  border-color: rgba(99,180,180,0.2);
  transform: translateY(-4px);
}

.trust__stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #63B4B4;
  margin-bottom: 8px;
  line-height: 1.2;
}

.trust__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.trust__transactions {
  max-width: 900px;
  margin: 0 auto;
}

.trust__transactions h3 {
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 28px;
  font-weight: 600;
}

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

.trust__transaction-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

.trust__transaction-card:hover {
  background: rgba(99,180,180,0.06);
  border-color: rgba(99,180,180,0.15);
}

.trust__transaction-type {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.trust__transaction-year {
  color: #63B4B4;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 12px;
}

@media (max-width: 1024px) {
  .trust__stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust__transactions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust__transactions-grid {
    grid-template-columns: 1fr;
  }
  .trust__stat-number {
    font-size: 1.4rem;
  }
}

/* ============================================
   SECTION CTAs
   ============================================ */
.why-costa__cta,
.lifestyle__cta,
.taxes__cta {
  text-align: center;
  margin-top: 40px;
}

.why-costa__cta {
  position: relative;
  z-index: 2;
}

.lifestyle__cta p,
.taxes__cta p {
  font-size: 1.05rem;
  color: #54595F;
  margin-bottom: 16px;
}

.taxes__cta {
  margin-top: 48px;
}

.taxes__cta .btn {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .taxes__cta .btn {
    display: block;
    margin: 8px auto 0 !important;
    max-width: 280px;
  }
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  padding: 60px 0;
  background: #333;
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter__text h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.newsletter__text p {
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.newsletter__form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter__form input {
  padding: 14px 20px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: 'Assistant', sans-serif;
  font-size: 0.95rem;
  width: 280px;
  transition: border-color 0.3s;
}

.newsletter__form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter__form input:focus { outline: none; border-color: #63B4B4; }

@media (max-width: 768px) {
  .newsletter__inner { flex-direction: column; text-align: center; }
  .newsletter__form { flex-direction: column; width: 100%; }
  .newsletter__form input { width: 100%; }
}

/* ============================================
   PROPERTY CARD EXTRAS
   ============================================ */
.property-card__imgcount {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
  backdrop-filter: blur(3px);
}

/* Estepona/Marbella dedicated sections */
.developments--estepona {
  background: #fff;
  padding-top: 0;
}

.developments--marbella {
  background: #F8F8F8;
  padding-top: 0;
}

.developments--casares {
  background: #fff;
  padding-top: 0;
}

/* Area hero banner */
.developments__area-hero {
  position: relative;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
}

.developments__area-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s;
}

.developments__area-hero:hover .developments__area-hero-bg {
  transform: scale(1.03);
}

.developments__area-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.7) 100%);
}

.developments__area-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
}

.developments__area-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(99,180,180,0.3);
  border: 1px solid rgba(99,180,180,0.5);
  color: #63B4B4;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 20px;
  margin-bottom: 12px;
  backdrop-filter: blur(5px);
}

.developments__area-hero-content h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.developments__area-hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 0;
}

.developments__area-count {
  font-weight: 800;
  color: #63B4B4;
  font-size: 1.2em;
}

/* Sub-location stats bar */
.developments__area-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.developments__area-stat {
  text-align: center;
  padding: 0 16px;
}

.developments__area-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #63B4B4;
  line-height: 1;
}

.developments__area-stat-label {
  font-size: 0.75rem;
  color: #7A7A7A;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sub-location filter pills */
.developments__area-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 8px 0;
}

.area-filter-pill {
  padding: 6px 16px;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: #54595F;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.area-filter-pill:hover,
.area-filter-pill.active {
  border-color: #63B4B4;
  color: #63B4B4;
  background: rgba(99,180,180,0.08);
}

.area-filter-pill .pill-count {
  font-size: 0.72rem;
  color: #aaa;
  margin-left: 4px;
}

.area-filter-pill.active .pill-count {
  color: #63B4B4;
}

/* Full grid — show all */
.developments__grid--full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* CTA at bottom of section */
.developments__cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(99,180,180,0.08), rgba(99,180,180,0.04));
  border-radius: 16px;
  border: 1px solid rgba(99,180,180,0.15);
  margin-top: 16px;
}

.developments__cta p {
  font-size: 1.1rem;
  color: #54595F;
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .developments__grid--full { grid-template-columns: repeat(2, 1fr); }
  .developments__area-hero { height: 280px; }
  .developments__area-hero-content h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .developments__grid--full { grid-template-columns: 1fr; }
  .developments__area-hero { height: 240px; border-radius: 12px; }
  .developments__area-hero-content { padding: 24px; }
  .developments__area-hero-content h2 { font-size: 1.5rem; }
  .developments__area-stats { gap: 12px; }
}

/* ============================================
   MODAL THUMBNAILS
   ============================================ */
.modal__thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: #f5f5f5;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.modal__thumbs::-webkit-scrollbar {
  height: 4px;
}
.modal__thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.modal__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.modal__thumb:hover {
  opacity: 0.85;
}

.modal__thumb.active {
  opacity: 1;
  border-color: #63B4B4;
}

.modal__desc {
  line-height: 1.8;
  white-space: pre-wrap;
}

/* WhatsApp button in modal */
.btn-whatsapp {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  border: none;
  background: #25D366;
  color: #fff;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  background: #fff;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__header p { max-width: 550px; margin: 12px auto 0; }

.faq__grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #eee;
}

.faq__item summary {
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

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

.faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #63B4B4;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item summary:hover { color: #63B4B4; }

.faq__answer {
  padding: 0 0 20px;
}

.faq__answer p {
  font-size: 0.95rem;
  color: #54595F;
  line-height: 1.8;
  margin-bottom: 0;
}

/* SEO static fallback (noscript) */
.seo-properties { padding: 20px 0; }
.property-card-static {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}
.property-card-static h3 { font-size: 1.1rem; color: #333; margin-bottom: 4px; }
.property-card-static p { font-size: 0.9rem; margin-bottom: 4px; }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cookie-banner__text h4 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 6px;
}

.cookie-banner__text p {
  font-size: 0.85rem;
  color: #7A7A7A;
  margin-bottom: 0;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: #63B4B4;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-family: 'Assistant', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: #63B4B4;
  color: #fff;
}
.cookie-btn--accept:hover {
  background: #4a9a9a;
}

.cookie-btn--necessary {
  background: #333;
  color: #fff;
}
.cookie-btn--necessary:hover {
  background: #555;
}

.cookie-btn--settings {
  background: transparent;
  color: #54595F;
  border: 1.5px solid #ddd;
}
.cookie-btn--settings:hover {
  border-color: #63B4B4;
  color: #63B4B4;
}

/* Cookie settings panel */
.cookie-settings {
  display: none;
  border-top: 1px solid #eee;
}

.cookie-settings.open {
  display: block;
}

.cookie-settings__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.cookie-settings__inner h4 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
}

.cookie-category {
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cookie-category__header strong {
  font-size: 0.9rem;
  color: #333;
  display: block;
  margin-bottom: 2px;
}

.cookie-category__header p {
  font-size: 0.8rem;
  color: #7A7A7A;
  margin-bottom: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  display: inline-block;
  margin-top: 2px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: #63B4B4;
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}

.cookie-toggle__slider--locked {
  background: #63B4B4;
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-toggle__slider--locked::before {
  transform: translateX(20px);
}

.cookie-settings__actions {
  padding-top: 16px;
  text-align: right;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
  }
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-btn { width: 100%; text-align: center; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }

/* ============================================
   PROPERTY MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 1.2rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.modal__close:hover { background: #63B4B4; color: #fff; }

.modal__gallery {
  position: relative;
  height: 400px;
  background: #f0f0f0;
}

.modal__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  background: #f0f0f0;
}

.modal__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.modal__gallery-nav:hover { background: #63B4B4; color: #fff; }
.modal__gallery-prev { left: 16px; }
.modal__gallery-next { right: 16px; }

.modal__gallery-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modal__body { padding: 28px 32px; }

.modal__body h2 {
  color: #333;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.modal__location {
  color: #63B4B4;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.modal__details {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}

.modal__details span {
  font-size: 0.9rem;
  color: #54595F;
  font-weight: 600;
}

.modal__body > p {
  line-height: 1.8;
}

.modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  h1, .hero__title { font-size: 2.8rem; }
  h2 { font-size: 2rem; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .developments__grid { grid-template-columns: repeat(2, 1fr); }
  .why-costa__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-costa__bg { background-attachment: scroll; }
}

/* Mobile */
@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #333;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.3s;
  }

  .header__nav.open { right: 0; }

  .hamburger { display: flex; }

  h1, .hero__title { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero { min-height: 600px; }
  .hero__subtitle { font-size: 1.05rem; }
  .hero__ctas { flex-direction: column; align-items: center; }

  .features__grid { grid-template-columns: 1fr; }
  .feature-tile { height: 200px; }

  .developments__grid { grid-template-columns: 1fr; }

  .why-costa__grid { grid-template-columns: 1fr; }
  .why-costa__bg { background-attachment: scroll; }

  .area-block { grid-template-columns: 1fr; gap: 24px; }
  .area-block--reverse { direction: ltr; }
  .area-block__image { height: 280px; }

  .services__grid { grid-template-columns: 1fr; }

  /* team grid removed */

  .taxes__grid { grid-template-columns: 1fr; }

  .contact .container { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .modal__gallery { height: 250px; }
  .modal__body { padding: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1, .hero__title { font-size: 1.8rem; }
  .hero__badge { font-size: 0.7rem; }
  .area-stats { flex-wrap: wrap; gap: 16px; }
}

/* ============================================
   GUIDE & BLOG PAGE STYLES
   ============================================ */

/* --- Page Hero (subpages) --- */
.page-hero { position: relative; height: 420px; display: flex; align-items: flex-end; overflow: hidden; margin-bottom: 48px; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 8s ease-out; }
.page-hero:hover .page-hero__bg { transform: scale(1.03); }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,45,50,0.6) 0%, rgba(42,45,50,0.3) 40%, rgba(42,45,50,0.8) 100%); }
.page-hero__content { position: relative; z-index: 2; padding: 48px 40px; width: 100%; max-width: 1200px; margin: 0 auto; }
.page-hero__content h1 { color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.page-hero__content p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 0; letter-spacing: 0.01em; }

/* --- Breadcrumb --- */
.breadcrumb { padding: 16px 0; font-size: 0.85rem; color: #7A7A7A; }
.breadcrumb a { color: #63B4B4; }

/* --- Article Content --- */
.content { max-width: 800px; margin: 0 auto; padding: 0 24px 80px; }
.content h2 { color: #63B4B4; font-size: 1.6rem; margin: 40px 0 16px; }
.content h3 { font-size: 1.2rem; margin: 24px 0 12px; color: #333; }
.content p { font-size: 1.02rem; line-height: 1.85; color: #54595F; margin-bottom: 16px; }
.content ul, .content ol { padding-left: 24px; margin-bottom: 16px; }
.content li { font-size: 1rem; color: #54595F; line-height: 1.8; margin-bottom: 6px; }
.content blockquote { border-left: 3px solid #63B4B4; padding: 16px 24px; margin: 24px 0; background: rgba(99,180,180,0.06); border-radius: 0 8px 8px 0; font-style: italic; }
.content img { width: 100%; border-radius: 12px; margin: 24px 0; }
.content a { color: #63B4B4; }

/* --- Highlight Box --- */
.content .highlight-box { background: #F8F8F8; border-radius: 12px; padding: 24px; margin: 24px 0; border-left: 4px solid #63B4B4; }
.content .highlight-box h4 { color: #333; margin-bottom: 8px; }

/* --- Stat Grid --- */
.content .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 24px 0; }
.content .stat-box { text-align: center; padding: 20px; background: #F8F8F8; border-radius: 10px; }
.content .stat-box .stat-num { font-size: 2rem; font-weight: 800; color: #63B4B4; }
.content .stat-box .stat-label { font-size: 0.8rem; color: #7A7A7A; }

/* --- CTA Banner --- */
.cta-banner { background: linear-gradient(135deg, #63B4B4, #4a9a9a); border-radius: 16px; padding: 48px; text-align: center; margin: 48px 0; }
.cta-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.cta-banner .btn { background: #fff; color: #63B4B4; }

/* --- Blog Grid & Cards --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 32px; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s; text-decoration: none; display: block; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.blog-card__image { height: 200px; background-size: cover; background-position: center; }
.blog-card__body { padding: 24px; }
.blog-card__tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #63B4B4; margin-bottom: 8px; }
.blog-card__title { font-size: 1.15rem; font-weight: 700; color: #333; margin-bottom: 8px; line-height: 1.4; }
.blog-card__excerpt { font-size: 0.9rem; color: #7A7A7A; line-height: 1.6; margin-bottom: 12px; }
.blog-card__link { font-size: 0.85rem; font-weight: 700; color: #63B4B4; text-transform: uppercase; letter-spacing: 1px; }

/* --- Content Tables --- */
.content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.content table th { background: #63B4B4; color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; }
.content table td { padding: 12px 16px; border-bottom: 1px solid #eee; color: #54595F; }
.content table tr:nth-child(even) td { background: #F8F8F8; }
.content table tr:hover td { background: rgba(99,180,180,0.08); }

/* --- Comparison Table --- */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.comparison-table th { background: #63B4B4; color: #fff; padding: 12px 10px; text-align: left; font-weight: 700; }
.comparison-table td { padding: 10px; border-bottom: 1px solid #eee; color: #54595F; vertical-align: top; }
.comparison-table tr:nth-child(even) { background: #F8F8F8; }
.comparison-table tr:hover { background: rgba(99,180,180,0.08); }
.comparison-table thead th { background: linear-gradient(135deg, #63B4B4, #4a9a9a); color: #fff; padding: 14px 16px; text-align: left; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.5px; }
.comparison-table tbody td { padding: 12px 16px; border-bottom: 1px solid #eee; color: #54595F; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: #F8F8F8; }
.comparison-table tbody tr:hover { background: rgba(99,180,180,0.08); }
.comparison-table tbody td:first-child { font-weight: 600; color: #333; }
.comparison-table .total-row td { font-weight: 800; color: #333; background: rgba(99,180,180,0.12); border-top: 2px solid #63B4B4; }
.comparison-table .total-row td:first-child { color: #63B4B4; }
.comparison-table .savings-row td { font-weight: 700; color: #63B4B4; background: rgba(99,180,180,0.06); font-style: italic; }
.table-caption { font-size: 0.85rem; color: #7A7A7A; margin: -16px 0 32px; font-style: italic; }

/* --- Cost Grid --- */
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 24px; }
.cost-item { display: flex; justify-content: space-between; padding: 12px 16px; background: #F8F8F8; border-radius: 8px; }
.cost-item .cost-label { color: #54595F; font-size: 0.95rem; }
.cost-item .cost-value { font-weight: 700; color: #63B4B4; font-size: 0.95rem; }

/* --- Related Guides --- */
.related-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.related-guide-card { background: #F8F8F8; border-radius: 12px; padding: 20px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #eee; }
.related-guide-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.related-guide-card h4 { color: #333; font-size: 1rem; margin-bottom: 6px; }
.related-guide-card p { color: #7A7A7A; font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* --- Related Links --- */
.content .related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0; }
.content .related-links a { display: block; padding: 16px 20px; background: #F8F8F8; border-radius: 10px; color: #333; font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.content .related-links a:hover { background: rgba(99,180,180,0.12); transform: translateY(-2px); }
.content .related-links a span { display: block; font-size: 0.85rem; font-weight: 400; color: #7A7A7A; margin-top: 4px; }

/* --- Guide/Blog Responsive --- */
@media (max-width: 768px) {
  .page-hero { height: 280px; }
  .page-hero__content h1 { font-size: 1.8rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .content table { font-size: 0.85rem; }
  .content table th, .content table td { padding: 8px 10px; }
  .comparison-table { font-size: 0.78rem; }
  .comparison-table th, .comparison-table td { padding: 8px 6px; }
  .comparison-table thead th, .comparison-table tbody td { padding: 8px 10px; }
  .cost-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .comparison-table { font-size: 0.72rem; }
  .comparison-table thead th, .comparison-table tbody td { padding: 6px 8px; }
}

/* --- Currency Toggle --- */
.currency-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.currency-toggle-wrapper select {
  padding: 8px 16px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-family: 'Assistant', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #54595F;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  min-width: 110px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2354595F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.currency-toggle-wrapper select:hover,
.currency-toggle-wrapper select:focus {
  border-color: #63B4B4;
  color: #63B4B4;
}
.currency-note {
  font-size: 0.72rem;
  color: #7A7A7A;
  margin-top: 4px;
  font-style: italic;
}

/* --- Gallery touch swipe support --- */
.modal__gallery img {
  touch-action: pan-y;
}

/* --- Property Card Compare Button --- */
.property-card__compare {
  position: absolute;
  top: 14px;
  right: 56px;
  z-index: 2;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.property-card__compare svg {
  stroke: #333;
  fill: none;
  stroke-width: 2;
  width: 18px;
  height: 18px;
  transition: all 0.3s;
}

.property-card__compare:hover {
  background: rgba(255,255,255,1);
  transform: scale(1.1);
}

.property-card__compare:hover svg {
  stroke: #63B4B4;
}

.property-card__compare.active {
  background: #63B4B4;
}

.property-card__compare.active svg {
  stroke: #fff;
}

/* --- Compare Bar --- */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(30, 30, 30, 0.96);
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}

.compare-bar.active {
  transform: translateY(0);
}

.compare-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.compare-bar__items {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  flex: 1;
  padding: 4px 0;
}

.compare-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 10px;
  flex-shrink: 0;
  max-width: 200px;
}

.compare-bar__item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.compare-bar__item-name {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.compare-bar__item-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.compare-bar__item-remove:hover {
  color: #e74c3c;
}

.compare-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.compare-bar__count {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* --- Compare Modal --- */
.compare-modal {
  max-width: 960px;
  width: 95%;
}

.compare-modal h2 {
  padding: 24px 24px 0;
  font-size: 1.5rem;
  color: #333;
}

.compare-table-wrapper {
  overflow-x: auto;
  padding: 16px 24px 24px;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.compare-table th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  color: #63B4B4;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #f0f0f0;
  white-space: nowrap;
  vertical-align: top;
}

.compare-table td {
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #54595F;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.compare-table td img {
  width: 100%;
  max-width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.compare-table .compare-desc {
  font-size: 0.8rem;
  color: #7A7A7A;
  line-height: 1.5;
}

.compare-table .compare-price {
  font-weight: 700;
  color: #333;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .compare-bar__inner {
    flex-direction: column;
    padding: 12px 16px;
    gap: 10px;
  }

  .compare-bar__items {
    width: 100%;
    justify-content: flex-start;
  }

  .compare-bar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .compare-modal {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 12px 12px 0 0;
    max-height: 90vh;
  }

  .compare-table td img {
    max-width: 120px;
    height: 80px;
  }
}

/* --- Interactive Property Map --- */
.property-map {
  padding: 80px 0;
  background: #F2F2F2;
}

.property-map__header {
  text-align: center;
  margin-bottom: 40px;
}

.property-map__header h2 {
  margin-bottom: 12px;
}

.property-map__header p {
  max-width: 600px;
  margin: 0 auto;
}

.property-map__container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

#propertyMap {
  z-index: 1;
}

/* Leaflet custom marker */
.map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #63B4B4;
  color: #fff;
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 3px 12px rgba(99,180,180,0.5);
  border: 3px solid #fff;
  transition: transform 0.2s;
  cursor: pointer;
}

.map-marker:hover {
  transform: scale(1.15);
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  font-family: 'Assistant', sans-serif !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}

.leaflet-popup-content {
  margin: 16px 20px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.map-popup__title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.map-popup__count {
  font-size: 14px;
  color: #63B4B4;
  font-weight: 600;
  margin-bottom: 6px;
}

.map-popup__price {
  font-size: 13px;
  color: #7A7A7A;
  margin-bottom: 10px;
}

.map-popup__link {
  display: inline-block;
  padding: 6px 16px;
  background: #63B4B4;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}

.map-popup__link:hover {
  background: #4a9a9a;
  color: #fff;
}

@media (max-width: 768px) {
  .property-map {
    padding: 60px 0;
  }
  #propertyMap {
    height: 380px !important;
  }
}

/* --- Other Areas Section --- */
.other-areas {
  padding: 80px 0;
  background: #fff;
}

.other-areas__header {
  text-align: center;
  margin-bottom: 48px;
}

.other-areas__header h2 {
  margin-bottom: 12px;
}

.other-areas__header p {
  max-width: 600px;
  margin: 0 auto;
}

.other-areas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.other-area-card {
  background: #F2F2F2;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.other-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.other-area-card__icon {
  margin-bottom: 12px;
}

.other-area-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.other-area-card__count {
  display: inline-block;
  background: #63B4B4;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.other-area-card p {
  font-size: 0.9rem;
  color: #7A7A7A;
  margin-bottom: 0;
  line-height: 1.5;
}

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

.other-areas__cta p {
  font-size: 1.1rem;
  color: #54595F;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .other-areas__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .other-areas {
    padding: 60px 0;
  }
  .other-areas__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .other-area-card {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .other-areas__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LEAD MAGNET POPUP
   ============================================ */
.lead-magnet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lead-magnet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lead-magnet {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.lead-magnet-overlay.active .lead-magnet {
  transform: scale(1) translateY(0);
}

.lead-magnet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f2f2f2;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  line-height: 1;
}

.lead-magnet__close:hover {
  background: #63B4B4;
  color: #fff;
}

.lead-magnet__content h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 12px;
  padding-right: 24px;
}

.lead-magnet__content > p {
  font-size: 0.95rem;
  color: #7A7A7A;
  line-height: 1.6;
  margin-bottom: 16px;
}

.lead-magnet__content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.lead-magnet__content ul li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: #54595F;
  margin-bottom: 8px;
  line-height: 1.5;
}

.lead-magnet__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: #63B4B4;
  border-radius: 50%;
}

.lead-magnet__form {
  display: flex;
  gap: 10px;
}

.lead-magnet__form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  color: #333;
  transition: border-color 0.3s;
}

.lead-magnet__form input:focus {
  outline: none;
  border-color: #63B4B4;
  box-shadow: 0 0 0 3px rgba(99,180,180,0.12);
}

.lead-magnet__form .btn {
  white-space: nowrap;
  padding: 12px 24px;
  font-size: 0.85rem;
}

.lead-magnet__privacy {
  font-size: 0.8rem !important;
  color: #aaa !important;
  margin-top: 12px;
  margin-bottom: 0 !important;
}

.lead-magnet__privacy a {
  color: #63B4B4;
  text-decoration: underline;
}

.lead-magnet__success {
  text-align: center;
  padding: 20px 0;
}

.lead-magnet__success h4 {
  font-size: 1.3rem;
  color: #63B4B4;
  margin-bottom: 8px;
}

.lead-magnet__success p {
  font-size: 0.95rem;
  color: #7A7A7A;
}

@media (max-width: 520px) {
  .lead-magnet {
    padding: 28px 20px;
  }
  .lead-magnet__form {
    flex-direction: column;
  }
  .lead-magnet__form .btn {
    width: 100%;
  }
}

/* ============================================
   CONTACT BOOKING SECTION
   ============================================ */
.contact__booking {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}

.contact__booking h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 8px;
}

.contact__booking > p {
  font-size: 0.95rem;
  color: #7A7A7A;
  margin-bottom: 16px;
}

.contact__booking .btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

.contact__booking-note {
  font-size: 0.9rem !important;
  color: #7A7A7A !important;
  margin-top: 12px;
  margin-bottom: 0 !important;
}

.contact__booking-note a {
  color: #63B4B4;
  font-weight: 600;
}

.contact__booking-note a:hover {
  text-decoration: underline;
}

/* ============================================
   SIMILAR PROPERTIES (Modal)
   ============================================ */
.modal__similar {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.modal__similar h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 16px;
}

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

.modal__similar-card {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f8f8;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.modal__similar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.modal__similar-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.modal__similar-info {
  padding: 10px 12px;
}

.modal__similar-info h5 {
  font-size: 0.8rem;
  color: #333;
  margin-bottom: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal__similar-info p {
  font-size: 0.75rem;
  color: #7A7A7A;
  margin-bottom: 2px;
}

.modal__similar-price {
  font-size: 0.8rem !important;
  color: #63B4B4 !important;
  font-weight: 700;
}

@media (max-width: 768px) {
  .modal__similar-grid {
    grid-template-columns: 1fr;
    overflow-x: auto;
    display: flex;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .modal__similar-card {
    min-width: 160px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

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