/* ============================================================
   Inversiones El Tesoro S.R.L. — Global Stylesheet
   Brand: Navy #0a1f44 / Gold #c9a44c
   ============================================================ */

:root {
  --navy-900: #050f24;
  --navy-800: #0a1f44;
  --navy-700: #142a55;
  --navy-600: #1e3a6e;
  --gold-600: #b8902f;
  --gold-500: #c9a44c;
  --gold-400: #d4b35a;
  --gold-300: #e6c878;
  --cream: #f7f3e8;
  --white: #ffffff;
  --shadow-gold: 0 10px 40px -10px rgba(201, 164, 76, 0.45);
  --shadow-3d: 0 20px 50px -15px rgba(5, 15, 36, 0.55), 0 8px 20px -8px rgba(5, 15, 36, 0.4);
  --grad-navy: linear-gradient(135deg, #050f24 0%, #0a1f44 50%, #142a55 100%);
  --grad-gold: linear-gradient(135deg, #b8902f 0%, #d4b35a 50%, #e6c878 100%);
  --grad-gold-soft: linear-gradient(135deg, #c9a44c 0%, #e6c878 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--navy-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--navy-800);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { color: var(--gold-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-800); }

img { max-width: 100%; display: block; }

/* ============================================================
   TOP LANGUAGE BAR
   ============================================================ */
.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--navy-900);
  color: #d8dde6;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201, 164, 76, 0.2);
}
.lang-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.lang-bar .info-strip { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.lang-bar .info-strip > span,
.lang-bar .info-strip > a { display: inline-flex; align-items: center; gap: 6px; }
.lang-bar .info-strip i { color: var(--gold-500); }
.lang-bar .info-strip a {
  color: #d8dde6;
  text-decoration: none;
  transition: color .2s;
  cursor: pointer;
}
.lang-bar .info-strip a:hover {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.lang-bar .info-strip a:hover i { color: var(--gold-300); }

/* SVG social media icons */
.contact-info .socials a svg,
.footer-grid .col svg.social-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.lang-switch { display: inline-flex; gap: 6px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid rgba(201, 164, 76, 0.4);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all .2s;
}
.lang-btn .flag {
  width: 22px; height: 14px; border-radius: 2px;
  display: inline-block; box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.lang-btn.active, .lang-btn:hover {
  background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500);
}

/* Dominican flag (ES) */
.flag-do {
  background:
    linear-gradient(to right, #002d62 50%, #ce1126 50%) top / 100% 50% no-repeat,
    linear-gradient(to right, #ce1126 50%, #002d62 50%) bottom / 100% 50% no-repeat;
  position: relative;
}
.flag-do::after {
  content: '';
  position: absolute; left: 45%; top: 35%; width: 10%; height: 30%;
  background: #fff;
}
.flag-do::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 45%; height: 10%;
  background: #fff;
}
/* US flag (EN) */
.flag-us {
  background:
    repeating-linear-gradient(to bottom, #b22234 0 14.28%, #fff 14.28% 28.57%) right / 100% 100% no-repeat;
  position: relative;
}
.flag-us::before {
  content: '';
  position: absolute; left: 0; top: 0; width: 40%; height: 54%;
  background: #3c3b6e;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
  position: fixed;
  top: var(--lang-bar-h, 44px);
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Keep .container's horizontal padding — dropping it to `14px 0` left the
     logo and hamburger flush against the screen edges on any viewport
     narrower than the 1240px max-width (i.e. every phone). */
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(10, 31, 68, 0.15));
  transition: transform .3s;
}
.brand:hover img { transform: scale(1.05) rotate(-2deg); }
.brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand-text .top {
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-700);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.brand-text .bot {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--navy-800);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 11px;
  border-radius: 6px;
  position: relative;
  transition: all .25s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(201, 164, 76, 0.12);
  color: var(--gold-600);
}
.nav-links a.cta {
  background: var(--grad-gold);
  color: var(--navy-900);
  margin-left: 6px;
  padding: 9px 14px;
  box-shadow: var(--shadow-gold);
}
.nav-links a.cta:hover { transform: translateY(-2px); color: var(--navy-900); }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--navy-800);
}

@media (max-width: 1080px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .menu-toggle { display: block; }
}

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

/* ============================================================
   HERO (LANDING)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 164, 76, 0.22) 0%, transparent 55%),
    linear-gradient(115deg, rgba(5, 15, 36, 0.82) 0%, rgba(10, 31, 68, 0.65) 45%, rgba(20, 42, 85, 0.45) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 30px;
  align-items: center;
}
.hero-text .badge {
  display: inline-block;
  background: rgba(201, 164, 76, 0.15);
  border: 1px solid rgba(201, 164, 76, 0.4);
  color: var(--gold-300);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-text h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0,0,0,.3);
  text-wrap: balance;
}
.hero-text h1 .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-text p {
  color: #e8eaf0;
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-checks {
  display: flex; gap: 22px; margin-top: 32px; flex-wrap: wrap;
}
.hero-checks div {
  display: flex; align-items: center; gap: 10px;
  color: #f0e6c8; font-size: 14px; font-weight: 500;
}
.hero-checks i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-weight: 900; font-size: 12px;
}

/* Hero showcase — cinematic, business-focused */
.hero-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 820px;
  padding: 30px 0;
  perspective: 1400px;
  overflow: hidden;
}

/* Soft single glow behind the logo */
.hero-logo-card::before {
  content: '';
  position: absolute;
  width: 1100px;
  height: 1100px;
  max-width: 115%;
  background: radial-gradient(circle,
    rgba(201, 164, 76, 0.42) 0%,
    rgba(201, 164, 76, 0.18) 28%,
    rgba(201, 164, 76, 0.05) 55%,
    transparent 75%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  animation: breatheGlow 8s ease-in-out infinite;
}
@keyframes breatheGlow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.04); opacity: 1; }
}

/* Drifting geometric diamond shapes (background atmosphere) */
.hero-logo-card .geo {
  position: absolute;
  border: 1.5px solid rgba(201, 164, 76, 0.25);
  background: linear-gradient(135deg, rgba(201, 164, 76, 0.08), rgba(201, 164, 76, 0.02));
  z-index: 0;
  pointer-events: none;
  border-radius: 8px;
  backdrop-filter: blur(2px);
}
.hero-logo-card .geo-1 {
  width: 100px; height: 100px;
  top: 12%; left: 6%;
  animation: drift1 14s ease-in-out infinite;
}
.hero-logo-card .geo-2 {
  width: 70px; height: 70px;
  top: 20%; right: 10%;
  animation: drift2 18s ease-in-out infinite;
}
.hero-logo-card .geo-3 {
  width: 130px; height: 130px;
  bottom: 22%; left: 14%;
  animation: drift3 20s ease-in-out infinite;
}
.hero-logo-card .geo-4 {
  width: 60px; height: 60px;
  bottom: 16%; right: 18%;
  animation: drift4 16s ease-in-out infinite;
}
.hero-logo-card .geo-5 {
  width: 80px; height: 80px;
  top: 45%; right: 4%;
  animation: drift5 22s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.7; }
  50%      { transform: rotate(60deg) translate(20px, -25px); opacity: 1; }
}
@keyframes drift2 {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50%      { transform: rotate(30deg) translate(-15px, 20px); opacity: 0.9; }
}
@keyframes drift3 {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50%      { transform: rotate(55deg) translate(25px, -20px); opacity: 0.8; }
}
@keyframes drift4 {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.7; }
  50%      { transform: rotate(35deg) translate(-20px, -15px); opacity: 1; }
}
@keyframes drift5 {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50%      { transform: rotate(50deg) translate(15px, 25px); opacity: 0.85; }
}

/* The logo itself — clean, no float */
.hero-logo-card img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  height: auto;
  filter:
    drop-shadow(0 50px 90px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 70px rgba(201, 164, 76, 0.55));
  animation: logoEntrance 1.2s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes logoEntrance {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* Typewriter rotator below logo */
.hero-logo-card .typewriter-wrap {
  position: relative;
  z-index: 3;
  margin-top: 18px;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 20px;
  animation: typewriterFadeIn 1.2s 0.6s both;
}
@keyframes typewriterFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo-card .typewriter-prefix {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.hero-logo-card .typewriter-text {
  color: var(--gold-400);
  font-size: 22px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
  border-right: 2px solid var(--gold-400);
  padding-right: 4px;
  min-height: 30px;
  animation: blinkCursor 0.8s steps(1) infinite;
  text-shadow: 0 0 18px rgba(201, 164, 76, 0.4);
}
@keyframes blinkCursor {
  0%, 50%   { border-color: var(--gold-400); }
  50.01%, 100% { border-color: transparent; }
}

/* Hide previous decorations cleanly */
.hero-logo-card .orb,
.hero-logo-card .sparkle,
.hero-logo-card .orbit-ring,
.hero-logo-card .shimmer { display: none; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-12px) rotateX(2deg); }
}
@keyframes spin3d {
  0% { transform: perspective(800px) rotateY(-8deg) rotateX(2deg); }
  100% { transform: perspective(800px) rotateY(8deg) rotateX(-2deg); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-checks { justify-content: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all .25s;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(201, 164, 76, 0.6);
  color: var(--navy-900);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold-500);
  color: var(--gold-300);
}
.btn-outline:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:hover { background: #1eb957; color: #fff; transform: translateY(-3px); }
.btn-navy {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--shadow-3d);
}
.btn-navy:hover { transform: translateY(-3px); color: #fff; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title .eyebrow {
  display: inline-block;
  color: var(--gold-600);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}
.section-title p {
  max-width: 680px; margin: 0 auto;
  color: #56607a; font-size: 17px;
}

/* ============================================================
   SERVICE CARDS (3D effect)
   ============================================================ */
.services {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.07);
  border: 1px solid rgba(10, 31, 68, 0.04);
  transform-style: preserve-3d;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-gold);
  border-radius: 18px 18px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.service-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 60px -20px rgba(10, 31, 68, 0.25);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 64px; height: 64px;
  background: var(--grad-navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 12px 24px -8px rgba(10, 31, 68, 0.4);
  position: relative;
}
.service-card .icon::after {
  content: '';
  position: absolute; inset: 2px;
  border-radius: 12px;
  background: linear-gradient(135deg, transparent 50%, rgba(201,164,76,0.2) 100%);
}
.service-card .icon svg {
  width: 32px; height: 32px; stroke: var(--gold-400); stroke-width: 1.8;
  fill: none; position: relative; z-index: 1;
}
.service-card h3 {
  font-size: 22px; margin-bottom: 10px;
}
.service-card p {
  color: #56607a; font-size: 15px; margin-bottom: 16px;
}
.service-card ul {
  list-style: none; margin-bottom: 22px;
}
.service-card ul li {
  padding: 6px 0 6px 24px;
  font-size: 14px;
  color: #3a4663;
  position: relative;
}
.service-card ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gold-600);
  font-weight: 900;
}
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-600); font-weight: 700; font-size: 14px;
}
.service-card .more::after {
  content: '→'; transition: transform .2s;
}
.service-card .more:hover::after { transform: translateX(4px); }

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip {
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
}
.feature-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201, 164, 76, 0.15) 0%, transparent 60%);
}
.feature-strip .container { position: relative; z-index: 1; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}
.feature-grid .item h3 {
  color: var(--gold-400);
  font-size: 42px;
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
}
.feature-grid .item p {
  color: #c9d2e0;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT-LIKE SPLIT SECTION
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-img {
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  box-shadow: var(--shadow-3d);
  position: relative;
  overflow: hidden;
}
.split-img::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,164,76,.18), transparent 70%);
  top: -80px; right: -80px;
  border-radius: 50%;
}
.split-img img {
  position: relative; z-index: 1;
  max-width: 320px; margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(10, 31, 68, 0.18));
}
.split-logo-img {
  display: block;
  max-width: 360px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(10, 31, 68, 0.18));
  animation: splitLogoFloat 5s ease-in-out infinite;
  will-change: transform;
}
@keyframes splitLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.split-text h2 { margin-bottom: 18px; }
.split-text > p { color: #56607a; font-size: 16px; margin-bottom: 22px; }
.split-text .features {
  display: grid; gap: 20px; margin-bottom: 30px;
}
.split-text .features div {
  display: flex; gap: 14px; align-items: flex-start;
}
.split-text .features .num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--grad-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-900); font-weight: 800;
  box-shadow: var(--shadow-gold);
}
.split-text .features h4 { font-size: 17px; margin-bottom: 4px; }
.split-text .features p { color: #56607a; font-size: 14px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--grad-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before, .cta-strip::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 76, 0.15) 0%, transparent 60%);
}
.cta-strip::before { top: -200px; left: -100px; }
.cta-strip::after { bottom: -200px; right: -100px; }
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: 14px; }
.cta-strip p { color: #c9d2e0; max-width: 600px; margin: 0 auto 30px; font-size: 17px; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FORM
   ============================================================ */
.contact-section {
  background: linear-gradient(180deg, var(--cream), #fff);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  background: var(--grad-navy);
  border-radius: 20px;
  padding: 40px 34px;
  color: #fff;
  box-shadow: var(--shadow-3d);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,164,76,.2), transparent 70%);
  top: -50px; right: -50px;
}
.contact-info h3 { color: #fff; margin-bottom: 8px; font-size: 26px; position: relative; }
.contact-info > p { color: #c9d2e0; margin-bottom: 28px; font-size: 14px; position: relative; }
.contact-info .item {
  display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start;
  position: relative;
}
.contact-info .item .ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(201,164,76,0.2);
  border: 1px solid rgba(201,164,76,0.4);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400); font-weight: 700; font-size: 16px;
}
.contact-info .item div p { font-size: 13px; color: #b8c2d6; margin-bottom: 2px; }
.contact-info .item div strong { color: #fff; font-size: 15px; font-weight: 600; }
.contact-info .socials {
  margin-top: 28px; display: flex; gap: 12px; position: relative;
}
.contact-info .socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,164,76,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400); font-size: 16px;
  transition: all .2s;
}
.contact-info .socials a:hover {
  background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px);
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px -20px rgba(10,31,68,0.18);
  border: 1px solid rgba(10, 31, 68, 0.05);
}
.form-card h3 { font-size: 26px; margin-bottom: 8px; }
.form-card > p { color: #56607a; margin-bottom: 26px; font-size: 14px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group label .req { color: #c9252d; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #e0e4ec;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fafbfd;
  color: var(--navy-800);
  transition: all .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 164, 76, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.checkbox-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #fafbfd;
  border: 1.5px solid #e0e4ec;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  font-size: 14px;
}
.checkbox-item:hover { border-color: var(--gold-500); background: #fff; }
.checkbox-item input { accent-color: var(--gold-600); width: 16px; height: 16px; }
.form-card .submit-row { margin-top: 8px; }
.form-card button[type=submit] { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }
.form-success {
  display: none;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border-left: 4px solid #28a745;
  color: #155724;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-900);
  color: #b8c2d6;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 164, 76, 0.15);
}
.footer-grid .col img { height: 70px; margin-bottom: 14px; }
.footer-grid .col h4 {
  color: var(--gold-400);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Manrope', sans-serif;
}
.footer-grid .col p { font-size: 14px; margin-bottom: 14px; }
.footer-grid .col a {
  display: block;
  color: #b8c2d6;
  font-size: 14px;
  padding: 4px 0;
}
.footer-grid .col a:hover { color: var(--gold-400); }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #7a849a;
}
.footer-bottom a { color: #b8c2d6; }
.footer-bottom a:hover { color: var(--gold-400); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  background: var(--grad-navy);
  padding: calc(var(--header-h, 110px) + 40px) 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-500);
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 164, 76, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(201, 164, 76, 0.08) 0%, transparent 60%);
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.08;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .breadcrumb {
  font-size: 13px;
  color: var(--gold-300);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.page-header .breadcrumb a { color: #c9d2e0; }
.page-header .breadcrumb a:hover { color: var(--gold-400); }
.page-header h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 50px);
  margin-bottom: 12px;
}
.page-header h1 .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-header p {
  color: #d8dde6;
  font-size: 18px;
  max-width: 720px;
}

/* ============================================================
   GENERIC CONTENT
   ============================================================ */
.content { padding: 70px 0; }
.content h2 { font-size: 32px; margin-bottom: 18px; }
.content h3 { font-size: 22px; margin-top: 28px; margin-bottom: 12px; color: var(--navy-700); }
.content p { color: #3a4663; margin-bottom: 16px; font-size: 16px; }
.content ul, .content ol { padding-left: 24px; margin-bottom: 18px; }
.content ul li, .content ol li { color: #3a4663; margin-bottom: 8px; }

.lead {
  font-size: 19px;
  color: #56607a;
  border-left: 4px solid var(--gold-500);
  padding: 14px 0 14px 22px;
  margin-bottom: 30px;
  background: linear-gradient(to right, rgba(201,164,76,0.06), transparent);
}

/* Requirement cards */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.req-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(10,31,68,0.06);
  box-shadow: 0 6px 20px rgba(10,31,68,0.06);
  transition: all .3s;
}
.req-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(10,31,68,0.15);
  border-color: rgba(201, 164, 76, 0.3);
}
.req-card .check {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--grad-gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-900); font-weight: 900;
  box-shadow: var(--shadow-gold);
}
.req-card h4 { font-size: 15px; margin-bottom: 4px; color: var(--navy-800); font-family: 'Manrope', sans-serif; font-weight: 700; }
.req-card p { font-size: 13px; color: #56607a; margin: 0; }

/* Sub-service blocks */
.subservices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.sub-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(10,31,68,0.08);
  border-top: 4px solid var(--gold-500);
  transition: transform .3s;
}
.sub-card:hover { transform: translateY(-6px); }
.sub-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--navy-800); }
.sub-card p { font-size: 14px; color: #56607a; margin-bottom: 12px; }
.sub-card ul li { font-size: 14px; }

/* Property listings */
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.prop-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10,31,68,0.08);
  transition: all .3s;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -10px rgba(10,31,68,0.18);
}
.prop-img {
  height: 200px;
  background: var(--grad-navy);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.prop-img::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(201,164,76,.25), transparent 70%);
}
.prop-img .icon-house {
  position: relative; z-index: 1;
  font-size: 80px; color: rgba(201, 164, 76, 0.6);
}
.prop-img .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--grad-gold);
  color: var(--navy-900);
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
}
.prop-body { padding: 22px; }
.prop-body h4 { font-size: 18px; margin-bottom: 6px; }
.prop-body .loc {
  font-size: 13px; color: #56607a;
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 14px;
}
.prop-body .loc::before { content: '📍'; }
.prop-body .price {
  font-size: 22px; color: var(--gold-600); font-weight: 800;
  margin-bottom: 12px;
}
.prop-body .price .unit { font-size: 13px; color: #7a849a; font-weight: 500; }
.prop-meta {
  display: flex; gap: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef0f5;
  font-size: 13px;
  color: #56607a;
}

/* Form-style application page */
.app-form-section {
  background: var(--cream);
  padding: 70px 0;
}
.app-form {
  max-width: 980px; margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px -10px rgba(10,31,68,0.12);
}
.form-part {
  border-bottom: 1px solid #eef0f5;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.form-part:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.form-part h3 {
  font-size: 18px;
  background: var(--grad-navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid var(--gold-500);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}
.radio-row {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.radio-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #fafbfd;
  border: 1.5px solid #e0e4ec;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
}
.radio-item:hover { border-color: var(--gold-500); }
.radio-item input { accent-color: var(--gold-600); }
.declaration-box {
  background: #fafbfd;
  border-left: 4px solid var(--gold-500);
  padding: 20px;
  border-radius: 8px;
  font-size: 13px;
  color: #56607a;
  line-height: 1.7;
  margin-top: 20px;
}
.declaration-box strong { color: var(--navy-800); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all .3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
  color: #fff;
}
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -4px;
  background: #25d366;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Animations on scroll — content visible by default, animation enhances if JS triggers it */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s, transform .8s;
}
/* Only hide initially if JS has marked the document */
html.js-ready .fade-in:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}
html.js-ready .fade-in.visible { opacity: 1; transform: translateY(0); }

/* small print  */
.small-note {
  font-size: 12px; color: #7a849a; margin-top: 14px;
}

/* ============================================================
   TABS (Bienes Raíces)
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px 0 36px;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10,31,68,0.08);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 12px 22px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-700);
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}
.tab-btn:hover { background: rgba(201, 164, 76, 0.1); color: var(--gold-600); }
.tab-btn.active {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(10, 31, 68, 0.4);
}
.tab-pane { display: none; animation: fadeIn .4s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About page values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(10,31,68,0.08);
  border-top: 4px solid var(--gold-500);
  transition: all .3s;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -10px rgba(10,31,68,0.18);
}
.value-card .vico {
  width: 56px; height: 56px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--navy-900);
  font-size: 24px;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
}
.value-card h4 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: #56607a; }

/* Mission/vision split */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}
.mv-card {
  background: var(--grad-navy);
  border-radius: 16px;
  padding: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3d);
}
.mv-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,164,76,0.2), transparent 70%);
  top: -60px; right: -60px;
}
.mv-card h3 {
  color: var(--gold-400);
  margin-bottom: 14px;
  font-size: 24px;
  position: relative;
}
.mv-card p { color: #c9d2e0; font-size: 15px; position: relative; }
@media (max-width: 750px) {
  .mv-grid { grid-template-columns: 1fr; }
}

/* Team card */
.team-card {
  background: linear-gradient(135deg, #fff 0%, #faf8f1 100%);
  border-radius: 18px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(10,31,68,0.08);
  border: 1px solid rgba(201, 164, 76, 0.2);
}
.team-card .avatar {
  width: 120px; height: 120px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 48px;
  color: var(--navy-900);
  font-weight: 900;
  box-shadow: var(--shadow-gold);
  font-family: 'Playfair Display', serif;
}
.team-card .info h4 { font-size: 22px; margin-bottom: 4px; }
.team-card .info .role {
  color: var(--gold-600); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.team-card .info p { color: #56607a; font-size: 15px; }
@media (max-width: 600px) {
  .team-card { grid-template-columns: 1fr; text-align: center; }
  .team-card .avatar { margin: 0 auto; }
}

/* (Footer social hover lives with the .social-row rules below — a second
   !important copy here is what made these icons hard to restyle.) */

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(10, 31, 68, 0.06);
  border: 1px solid rgba(10, 31, 68, 0.04);
  overflow: hidden;
  transition: all .3s;
}
.faq-item:hover {
  box-shadow: 0 12px 28px rgba(10, 31, 68, 0.1);
  border-color: rgba(201, 164, 76, 0.3);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-800);
  position: relative;
  user-select: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--grad-gold);
  color: var(--navy-900);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
  box-shadow: var(--shadow-gold);
}
.faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.faq-item[open] summary { color: var(--gold-600); }
.faq-item .faq-answer {
  padding: 0 24px 22px;
  border-top: 1px solid rgba(10, 31, 68, 0.06);
  margin-top: -2px;
  padding-top: 18px;
  animation: faqFadeIn .3s ease;
}
.faq-item .faq-answer p {
  color: #3a4663;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hide typewriter wrapper since we removed it from HTML */
.hero-logo-card .typewriter-wrap { display: none; }

/* Re-enable card-tagline-wrap and divider styles for the new hero */
.hero-logo-card .card-tagline-wrap {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  width: 100%;
  display: block !important;
}
.hero-logo-card .card-divider {
  width: 90px;
  height: 2px;
  background: var(--grad-gold);
  margin: 0 auto 14px;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(201, 164, 76, 0.8);
  animation: dividerPulse 3s ease-in-out infinite;
}
@keyframes dividerPulse {
  0%, 100% { width: 90px; opacity: 0.85; }
  50%      { width: 130px; opacity: 1; }
}
.hero-logo-card .card-tagline {
  color: var(--gold-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.page-section { animation: pageFadeIn 0.4s ease; }
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO — Scroll-scrubbed video
   ============================================================ */
.hero-scrub {
  position: relative;
  height: 250vh;
  background: #000;
  margin: 0;
  padding: 0;
}
.hero-scrub__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.hero-scrub__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: #000;
  /* Hardware accel hint to keep scrubbing smooth on iOS */
  transform: translateZ(0);
  will-change: opacity;
}
.hero-scrub__video.ready { opacity: 1; }

/* Dark vignette — keeps text legible & adds cinema feel */
.hero-scrub__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5,15,36,0.75) 0%, rgba(5,15,36,0.45) 30%, rgba(5,15,36,0) 60%),
    radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.45) 80%, rgba(0,0,0,0.8) 100%),
    linear-gradient(180deg, rgba(5,15,36,0.55) 0%, rgba(5,15,36,0) 22%, rgba(5,15,36,0) 60%, rgba(5,15,36,0.85) 100%);
}

/* Tiny watermark mask in bottom-right */
.hero-scrub__watermark-mask {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 240px;
  height: 70px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(225deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0) 100%);
}
@media (max-width: 720px) {
  .hero-scrub__watermark-mask { display: none; }
}

/* Loading spinner — visible until .ready is added */
.hero-scrub__spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-scrub__spinner span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(201, 164, 76, 0.18);
  border-top-color: var(--gold-500);
  animation: heroSpin 0.9s linear infinite;
  box-shadow: 0 0 30px rgba(201, 164, 76, 0.25);
}
.hero-scrub__video.ready ~ .hero-scrub__spinner { opacity: 0; }
@keyframes heroSpin { to { transform: rotate(360deg); } }

/* Content overlay (eyebrow, title, CTAs) */
.hero-scrub__content {
  position: absolute;
  left: 0; right: 0;
  bottom: 12vh;
  z-index: 5;
  padding: 0;
  margin: 0;
  max-width: none;
  color: #fff;
  pointer-events: none;
  /* fades out as user scrolls deeper into the hero */
  opacity: var(--hero-content-opacity, 1);
  transform: translateY(calc((1 - var(--hero-content-opacity, 1)) * 24px));
  transition: opacity 80ms linear, transform 80ms linear;
}
.hero-scrub__content > * { pointer-events: auto; margin-left: 0; }
.hero-scrub__content .hero-text {
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: 24px;
  max-width: 760px;
}

.hero-scrub__eyebrow {
  display: inline-block;
  font-family: 'Manrope', 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: 8px 22px;
  border: 1px solid rgba(201, 164, 76, 0.5);
  border-radius: 999px;
  background: rgba(5, 15, 36, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 22px;
  width: max-content;
  margin-left: clamp(20px, 4vw, 56px);
}
.hero-scrub__title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0,0,0,0.65), 0 1px 2px rgba(0,0,0,0.6);
  margin: 0 0 22px;
  max-width: 920px;
  text-wrap: balance;
}
.hero-scrub__title span { display: block; }
.hero-scrub__title .gold {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #f0d585 0%, #d4b35a 45%, #b8902f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-top: 2px;
}
.hero-scrub__sub {
  font-family: 'Manrope', 'Manrope', sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 0 28px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero-scrub__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Scroll cue (bottom-center) */
.hero-scrub__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  pointer-events: none;
  opacity: var(--hero-content-opacity, 1);
  transition: opacity 120ms linear;
}
.hero-scrub__scroll-cue-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero-scrub__scroll-cue-bar {
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
  position: relative;
}
.hero-scrub__scroll-cue-bar span {
  position: absolute;
  left: 0; right: 0;
  top: -40%;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--gold-400));
  animation: heroScrollCue 2.2s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
@keyframes heroScrollCue {
  0%   { top: -40%; }
  100% { top: 100%; }
}

/* Hide nav (lang-bar + navbar) while inside the hero */
.lang-bar, .navbar {
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.3, 1);
  will-change: transform;
}
body.hide-nav .lang-bar,
body.hide-nav .navbar {
  transform: translateY(-200%);
}

/* Mobile tweaks */
@media (max-width: 720px) {
  .hero-scrub__content { bottom: 10vh; padding: 0 22px; }
  .hero-scrub__sub { font-size: 15px; }
  .hero-scrub__scroll-cue { bottom: 18px; }
  .hero-scrub__scroll-cue-bar { height: 40px; }
}

/* ============================================================
   V1 UPGRADES — header/footer refinements & accessibility
   ============================================================ */

/* Icon alignment in the top info strip */
.lang-bar .info-strip i {
  display: inline-flex;
  align-items: center;
}

/* Hamburger (3-bar) toggle */
.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) {
  .menu-toggle { display: flex; }
}

/* Footer social icons.
   Scoped as .footer-grid .col .social-row a so it outranks the generic
   `.footer-grid .col a` link rule — otherwise the icons inherit that rule's
   grey colour, display:block (which kills the flex centring) and padding. */
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-grid .col .social-row a,
.social-row a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 164, 76, 0.3);
  border-radius: 10px;
  color: var(--gold-400);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.footer-grid .col .social-row a:hover,
.social-row a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

/* Inline links inside footer paragraphs */
.footer-grid .col p a {
  display: inline;
  padding: 0;
  color: #b8c2d6;
}
.footer-grid .col p a:hover { color: var(--gold-400); }

.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* WhatsApp float: center the SVG */
.whatsapp-float svg { display: block; }

/* Brand-colored text selection */
::selection { background: var(--gold-500); color: var(--navy-900); }

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect reduced-motion preferences */
@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;
  }
}

/* ============================================================
   V2 DESIGN POLISH — luxury typography, icons, micro-interactions
   ============================================================ */

/* --- Inline SVG icon sizing --- */
.hero-checks i svg { width: 11px; height: 11px; display: block; }
.contact-info .item .ico svg { width: 22px; height: 22px; display: block; }
.req-card .check svg { width: 14px; height: 14px; display: block; }
.btn .btn-ico { display: inline-flex; align-items: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; display: block; }
a, button { touch-action: manipulation; }

/* --- Oversized luxury headline scale --- */
.page-header { padding: calc(var(--header-h, 110px) + 56px) 0 72px; }
.page-header h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.page-header .breadcrumb {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
}
.section-title h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.015em; }

/* Richer gold atmosphere in page headers */
.page-header::before {
  background:
    radial-gradient(ellipse at 18% 55%, rgba(201, 164, 76, 0.20) 0%, transparent 48%),
    radial-gradient(ellipse at 82% 25%, rgba(201, 164, 76, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 110%, rgba(20, 42, 85, 0.85) 0%, transparent 70%);
}

/* --- Editorial nav: gold underline instead of pill --- */
.nav-links a:not(.cta):hover,
.nav-links a:not(.cta).active {
  background: transparent;
  color: var(--gold-600);
}
.nav-links a:not(.cta)::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 4px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:not(.cta):hover::after,
.nav-links a:not(.cta).active::after { transform: scaleX(1); }
@media (max-width: 1080px) {
  .nav-links a:not(.cta)::after { display: none; }
  .nav-links a:not(.cta):hover, .nav-links a:not(.cta).active { background: rgba(201, 164, 76, 0.12); }
}

/* --- Button sheen sweep + press feedback --- */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn:active { transform: translateY(-1px) scale(0.985); }
.nav-links a.cta:active { transform: translateY(0) scale(0.97); }

/* --- Stat numerals: gold gradient Playfair --- */
.feature-strip .item h3 {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(38px, 4.5vw, 54px);
  letter-spacing: -0.02em;
}

/* --- Card micro-interactions --- */
.service-card .icon { transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.service-card:hover .icon { transform: translateY(-4px) scale(1.06); }
.footer-grid .col a { transition: color .2s, transform .25s; }
.footer-grid .col a:hover { transform: translateX(4px); }

/* ============================================================
   V3 — POLISH PASS
   ============================================================ */

/* --- Skip link (keyboard users land on content, not the whole nav) --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  color: var(--navy-900);
}

/* --- Group heading for radio/checkbox sets (replaces orphan <label>) --- */
.group-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-800);
  margin-bottom: 10px;
}

/* --- Live open / closed indicator in the top bar --- */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 11px 3px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.open-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.open-status.is-open {
  color: #6ee7a0;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
}
.open-status.is-open .dot { background: #25d366; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
.open-status.is-open .dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.6);
  animation: statusPulse 2s ease-out infinite;
}
@keyframes statusPulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.open-status.is-closed {
  color: #b8c2d6;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.open-status.is-closed .dot { background: #7a849a; }

/* --- Form success: announce, and read as a confirmation --- */
.form-success { align-items: center; gap: 10px; }
.form-success[style*="block"] { display: flex !important; }

/* --- Property card placeholder icon (SVG replaces per-OS emoji) --- */
.prop-img .icon-house svg { width: 78px; height: 78px; opacity: 0.62; }
.prop-body .loc::before {
  content: '';
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --- HERO FIXES --- */

/* Scroll cue: centred at the bottom.
   It used to collide with the checkmark row, which is why it had been pushed
   to the bottom-right. That collision no longer exists — the copy is now
   hidden while the video plays and the cue fades out as the copy appears, so
   the two are never on screen together. */
.hero-scrub__scroll-cue {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

/* The legacy .hero rule centred CTAs/checks under 900px while the
   scrub hero's headline stays left — keep this hero left-aligned. */
@media (max-width: 900px) {
  .hero-scrub .hero-cta,
  .hero-scrub .hero-checks { justify-content: flex-start; }
}

/* Portrait: the bright logo in the video washed out the copy. */
@media (max-width: 900px) {
  .hero-scrub__vignette {
    background:
      linear-gradient(180deg, rgba(5,15,36,0.72) 0%, rgba(5,15,36,0.30) 26%,
                              rgba(5,15,36,0.62) 58%, rgba(5,15,36,0.94) 100%),
      radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.6) 100%);
  }
}
/* Desktop: a touch more scrim behind the left-hand column. */
@media (min-width: 901px) {
  .hero-scrub__vignette {
    background:
      linear-gradient(90deg, rgba(5,15,36,0.86) 0%, rgba(5,15,36,0.58) 34%, rgba(5,15,36,0) 66%),
      radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.45) 80%, rgba(0,0,0,0.8) 100%),
      linear-gradient(180deg, rgba(5,15,36,0.55) 0%, rgba(5,15,36,0) 22%, rgba(5,15,36,0) 60%, rgba(5,15,36,0.85) 100%);
  }
}

/* Video still downloading: show the brand instead of a black screen. */
.hero-scrub__stage {
  background: var(--grad-navy);
}
.hero-scrub__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../assets/hero-poster.jpg") center / cover no-repeat;
  opacity: 1;
  transition: opacity 0.9s ease;
  z-index: 0;
}
.hero-scrub__stage.video-ready::before { opacity: 0; }

/* Value-card icons: SVG, so all four render identically on every OS */
.value-card .vico svg { width: 26px; height: 26px; display: block; }

/* --- Send choice: WhatsApp or pre-filled email --- */
.form-success .send-choice { width: 100%; }
.send-choice__title {
  font-weight: 700;
  font-size: 15px;
  color: #155724;
  margin-bottom: 14px;
}
.send-choice__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.send-choice__actions .btn {
  flex: 1 1 200px;
  justify-content: center;
  padding: 13px 20px;
  font-size: 14.5px;
}
.send-choice__note {
  font-size: 12.5px;
  color: #2f6b41;
  margin-top: 12px;
}

/* Property meta icons: SVG so bed/bath/area render identically everywhere */
.prop-meta span { display: inline-flex; align-items: center; gap: 5px; }
.prop-meta svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .75; }

/* ============================================================
   PROPERTY META ICONS
   Add a listing detail with just a class name:
       <span class="ico-bed">3 hab</span>
   Available: ico-bed ico-bath ico-area ico-pool ico-park ico-view ico-floor
   ============================================================ */
.prop-meta span { display: inline-flex; align-items: center; gap: 5px; }
.prop-meta span[class^="ico-"]::before {
  content: "";
  width: 14px; height: 14px; flex-shrink: 0;
  background: currentColor;
  opacity: .75;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.ico-bed::before { -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M3%2018v-6h18v6%22/><path%20d=%22M3%2012V7%22/><path%20d=%22M21%2018v-2%22/><path%20d=%22M3%2018v-2%22/><path%20d=%22M7%2012V9.5h4.5V12%22/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M3%2018v-6h18v6%22/><path%20d=%22M3%2012V7%22/><path%20d=%22M21%2018v-2%22/><path%20d=%22M3%2018v-2%22/><path%20d=%22M7%2012V9.5h4.5V12%22/></svg>"); }
.ico-bath::before { -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M5%2020V7a3%203%200%200%201%206%200v1%22/><path%20d=%22M9.5%208h9%22/><path%20d=%22M14%208v3%22/><path%20d=%22M12%2015h.01M15%2017h.01M18%2014h.01M16%2020h.01M12.5%2019h.01%22/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M5%2020V7a3%203%200%200%201%206%200v1%22/><path%20d=%22M9.5%208h9%22/><path%20d=%22M14%208v3%22/><path%20d=%22M12%2015h.01M15%2017h.01M18%2014h.01M16%2020h.01M12.5%2019h.01%22/></svg>"); }
.ico-area::before { -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M4%204v16h16%22/><path%20d=%22M4%204%2020%2020%22/><path%20d=%22M9%2016h5%22/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M4%204v16h16%22/><path%20d=%22M4%204%2020%2020%22/><path%20d=%22M9%2016h5%22/></svg>"); }
.ico-pool::before { -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M2%2017c1.5%200%201.5%201.2%203%201.2S6.5%2017%208%2017s1.5%201.2%203%201.2S12.5%2017%2014%2017s1.5%201.2%203%201.2S18.5%2017%2020%2017%22/><path%20d=%22M2%2020.5c1.5%200%201.5%201.2%203%201.2%22/><path%20d=%22M6%2015V8.5a2.5%202.5%200%200%201%205%200V14%22/><circle%20cx=%2215.5%22%20cy=%227%22%20r=%221.6%22/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M2%2017c1.5%200%201.5%201.2%203%201.2S6.5%2017%208%2017s1.5%201.2%203%201.2S12.5%2017%2014%2017s1.5%201.2%203%201.2S18.5%2017%2020%2017%22/><path%20d=%22M2%2020.5c1.5%200%201.5%201.2%203%201.2%22/><path%20d=%22M6%2015V8.5a2.5%202.5%200%200%201%205%200V14%22/><circle%20cx=%2215.5%22%20cy=%227%22%20r=%221.6%22/></svg>"); }
.ico-park::before { -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><rect%20x=%223%22%20y=%223%22%20width=%2218%22%20height=%2218%22%20rx=%223%22/><path%20d=%22M9.5%2017V8h3.2a2.6%202.6%200%200%201%200%205.2H9.5%22/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><rect%20x=%223%22%20y=%223%22%20width=%2218%22%20height=%2218%22%20rx=%223%22/><path%20d=%22M9.5%2017V8h3.2a2.6%202.6%200%200%201%200%205.2H9.5%22/></svg>"); }
.ico-view::before { -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M12%2021v-5%22/><path%20d=%22M12%2016a5%205%200%200%200%201.8-9.66A4%204%200%200%200%207%205.5%204%204%200%200%200%208.5%2015%205%205%200%200%200%2012%2016z%22/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M12%2021v-5%22/><path%20d=%22M12%2016a5%205%200%200%200%201.8-9.66A4%204%200%200%200%207%205.5%204%204%200%200%200%208.5%2015%205%205%200%200%200%2012%2016z%22/></svg>"); }
.ico-floor::before { -webkit-mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M4%2020h16%22/><path%20d=%22M6%2020V9l6-4%206%204v11%22/><path%20d=%22M10%2020v-5h4v5%22/></svg>"); mask-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M4%2020h16%22/><path%20d=%22M6%2020V9l6-4%206%204v11%22/><path%20d=%22M10%2020v-5h4v5%22/></svg>"); }

/* --- "Coming soon" state for a section with no listings yet --- */
.coming-soon {
  background: #fff;
  border: 1px solid rgba(201, 164, 76, 0.28);
  border-top: 4px solid var(--gold-500);
  border-radius: 16px;
  padding: 48px 34px;
  text-align: center;
  margin-top: 32px;
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.07);
}
.coming-soon__ico {
  display: inline-block;
  width: 58px; height: 58px;
  margin-bottom: 18px;
  background: var(--gold-500);
  opacity: .85;
  -webkit-mask: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.4'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M3%2011.5%2012%204l9%207.5%22/><path%20d=%22M5.5%2010.5V20h13v-9.5%22/><path%20d=%22M9.75%2020v-5.5h4.5V20%22/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.4'%20stroke-linecap='round'%20stroke-linejoin='round'><path%20d=%22M3%2011.5%2012%204l9%207.5%22/><path%20d=%22M5.5%2010.5V20h13v-9.5%22/><path%20d=%22M9.75%2020v-5.5h4.5V20%22/></svg>") center / contain no-repeat;
}
.coming-soon h4 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--navy-800);
}
.coming-soon p {
  color: #56607a;
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 24px;
}
.coming-soon__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   V4 — HERO: play the video clean, reveal the copy at the end
   The previous build laid a heavy navy scrim over the left half of the
   video so white text could sit on it. That scrim read as a black smear
   across the footage. Now the copy (and the scrim it needs) fade in only
   once the logo animation has finished, driven by --hero-content-opacity.
   ============================================================ */

/* Nothing covers the footage while it plays. */
@media (max-width: 900px) { .hero-scrub__vignette { background: linear-gradient(180deg,
    rgba(5, 15, 36, 0.34) 0%, rgba(5, 15, 36, 0) 22%,
    rgba(5, 15, 36, 0) 58%, rgba(5, 15, 36, 0.62) 100%); } }
@media (min-width: 901px) { .hero-scrub__vignette { background: linear-gradient(180deg,
    rgba(5, 15, 36, 0.30) 0%, rgba(5, 15, 36, 0) 20%,
    rgba(5, 15, 36, 0) 62%, rgba(5, 15, 36, 0.55) 100%); } }

/* The readable backdrop appears with the copy, never before it. */
.hero-scrub__stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: var(--hero-content-opacity, 0);
  transition: opacity 120ms linear;
  background:
    linear-gradient(90deg, rgba(5, 15, 36, 0.88) 0%, rgba(5, 15, 36, 0.62) 42%, rgba(5, 15, 36, 0.15) 75%, rgba(5, 15, 36, 0) 100%),
    linear-gradient(180deg, rgba(5, 15, 36, 0.35) 0%, rgba(5, 15, 36, 0.1) 40%, rgba(5, 15, 36, 0.6) 100%);
}
@media (max-width: 900px) {
  .hero-scrub__stage::after {
    background: linear-gradient(180deg,
      rgba(5, 15, 36, 0.72) 0%, rgba(5, 15, 36, 0.55) 35%,
      rgba(5, 15, 36, 0.78) 70%, rgba(5, 15, 36, 0.92) 100%);
  }
}

/* Copy sits above that backdrop and is inert until revealed. */
.hero-scrub__content { z-index: 5; }
.hero-scrub__content, .hero-scrub__content > * { pointer-events: none; }
.hero-scrub.is-revealed .hero-scrub__content > * { pointer-events: auto; }

/* Scroll cue fades on the first bit of scrolling (--hero-cue-opacity), not
   when the copy arrives — it was staying at full opacity for the first 72% of
   the runway, so it followed you all the way down. */
.hero-scrub__scroll-cue { opacity: var(--hero-cue-opacity, 1); }

/* No JS: show the copy rather than an empty hero. */
html:not(.js-ready) .hero-scrub__content { opacity: 1; }

/* The cue now sits on unscrimmed footage, which is bright white in places —
   give it its own contrast rather than darkening the whole frame for it. */
.hero-scrub__scroll-cue-label {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.45);
}
.hero-scrub__scroll-cue-bar { background: rgba(255,255,255,.35); box-shadow: 0 0 6px rgba(0,0,0,.35); }

/* Now that the copy is revealed at the end of the hero (rather than fading
   out at the start), it has to FIT on a phone — at 390x844 it was 706px tall
   against 597px of space, so the badge and headline hid behind the header. */
@media (max-width: 720px) {
  .hero-scrub__content { bottom: 6vh; }
  .hero-scrub__content .badge { margin-bottom: 14px; padding: 5px 13px; font-size: 11px; }
  .hero-scrub__content h1 { font-size: clamp(30px, 8.4vw, 40px); margin-bottom: 14px; }
  .hero-scrub__content p {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .hero-scrub .hero-cta { gap: 10px; }
  .hero-scrub .hero-cta .btn { padding: 12px 20px; font-size: 14px; }
  .hero-scrub .hero-checks {
    margin-top: 18px;
    gap: 8px 16px;
    row-gap: 8px;
  }
  .hero-scrub .hero-checks div { font-size: 12.5px; gap: 7px; }
  .hero-scrub .hero-checks i { width: 18px; height: 18px; }
}

/* ============================================================
   V5 — MOBILE HEADER
   The top bar wrapped to 4 rows on a phone (168px = 43% of a 390x844
   screen before any content), and the nav lost its side padding, so the
   logo and hamburger sat flush against the screen edges.
   ============================================================ */
@media (max-width: 720px) {
  /* Keep only what earns its space on a phone: tap-to-call, open/closed,
     language. Email and the hours string are both repeated in the footer,
     and the status badge already states the hours in plain words. */
  .lang-bar { padding: 6px 0; font-size: 12px; }
  .lang-bar .container { gap: 8px; flex-wrap: nowrap; padding: 0 14px; }
  .lang-bar .info-strip { gap: 10px; flex-wrap: nowrap; min-width: 0; }
  .lang-bar .info-strip > a[href^="tel"] { white-space: nowrap; flex-shrink: 0; }
  .lang-bar .info-strip > a[href^="mailto"],
  .lang-bar .info-strip > span:has(> i + span[data-i18n="lb.hours"]) { display: none; }
  .lang-bar .open-status { padding: 2px 9px 2px 7px; font-size: 11px; }
  .lang-switch { flex-shrink: 0; }
  .lang-btn { padding: 4px 9px; font-size: 11px; gap: 5px; }
  .lang-btn .flag { width: 18px; height: 12px; }

  .navbar .container { padding: 10px 18px; }
  .menu-toggle { width: 40px; height: 40px; margin-right: -6px; }
}

/* Older Safari has no :has() — hide the hours by class as well. */
@media (max-width: 720px) {
  .lang-bar .info-strip .lb-hours { display: none; }
}

/* Long status string on desktop, one word on a phone. */
.open-status__short { display: none; }
@media (max-width: 720px) {
  .open-status__text { display: none; }
  .open-status__short { display: inline; }
}

/* ============================================================
   V5 — MOBILE MENU
   `.nav-links` keeps `align-items:center` from the desktop row; in the
   mobile column that shrank every <li> to its text width, leaving 60x37
   tap targets floating in the middle of a full-width panel.
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links {
    align-items: stretch;
    gap: 2px;
    padding: 10px 14px 14px;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 13px 14px;      /* >= 44px tall incl. line-height: touch target */
    font-size: 15px;
    text-align: left;
    border-radius: 8px;
  }
  .nav-links a.cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 14px;
  }
}

/* Portrait viewports load the 9:16 re-cut of the hero (see data-src-mobile),
   so the poster behind it has to match that framing. Same condition as the JS. */
@media (max-aspect-ratio: 1/1) {
  .hero-scrub__stage::before { background-image: url("../assets/hero-poster-mobile.jpg"); }
}

/* A word-based stat can't ride the numeral scale — "RD + EE.UU." wrapped to
   two lines and broke the row's baseline. */
.feature-grid .item h3.stat-text {
  font-size: clamp(22px, 2.4vw, 32px);
  white-space: nowrap;
  line-height: 1.35;
}

/* Centred cue wrapped to two lines on a phone (the 0.32em tracking pushes
   "DESLIZA PARA DESCUBRIR" past the width that clears the WhatsApp float). */
@media (max-width: 720px) {
  .hero-scrub__scroll-cue-label {
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .hero-scrub__scroll-cue-bar { height: 44px; }
}
