/* ============================================================
   GRUPO SM — Inmobiliaria · Catarroja
   Paleta extraída del logo: navy #22356D · plata #919191
   ============================================================ */
@font-face {
  font-family: 'Bartomes';
  src: url('../assets/fonts/Bartomes-ES.ttf?v=2') format('truetype'); /* Bartomes original + tildes, Ñ, Ü, ¿ ¡ añadidas (sep 2026) */
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy: #22356D;
  --navy-dark: #182750;
  --navy-deep: #101B3A;
  --navy-light: #3E5B85;
  --navy-soft: #EDF1F8;
  --silver: #6E6E6E;        /* gris de texto: legible sobre blanco (5.1:1) */
  --silver-logo: #919191;   /* gris exacto del logo, para usos decorativos */
  --silver-light: #C9CCD3;
  --ink: #1C2333;
  --text: #4A5265;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --header-bg: rgba(255, 255, 255, .92);
  --bg-alt: #F6F7FA;
  --line: #E6E9F0;
  --whatsapp: #25D366;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(16, 27, 58, .06);
  --shadow-md: 0 10px 30px rgba(16, 27, 58, .10);
  --shadow-lg: 0 24px 60px rgba(16, 27, 58, .16);
  --font-head: 'Montserrat', sans-serif;
  --font-logo: 'Bartomes', 'Montserrat', sans-serif;  /* tipografía oficial del logotipo (facilitada por el diseñador, sep 2026) */
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
/* Bartomes es la tipografía principal (logotipo y títulos). Es solo de mayúsculas y ancha; la versión -ES lleva las tildes añadidas. */
h1, h2 { font-family: var(--font-logo); font-weight: 700; letter-spacing: .02em; line-height: 1.22; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .95rem 1.9rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .35s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(34, 53, 109, .28); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(34, 53, 109, .38); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-whatsapp { background: var(--whatsapp); color: #0A2E1C; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #1FC65C; transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: var(--header-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 48px; width: 48px; object-fit: contain; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .top { font-family: var(--font-logo); font-weight: 700; font-size: 1.02rem; color: var(--navy); letter-spacing: .1em; }
.brand-text .bottom { font-size: .62rem; letter-spacing: .32em; color: var(--silver); text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 500; font-size: .93rem; color: var(--ink); position: relative; padding: .3rem 0; transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--navy); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .7rem 1.4rem; font-size: .85rem; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav a.btn::after { display: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5.5px 0; border-radius: 2px; transition: .35s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 78px; right: 0; width: min(320px, 85vw); height: calc(100vh - 78px);
    background: var(--surface); flex-direction: column; align-items: flex-start; padding: 2rem;
    gap: 1.4rem; box-shadow: var(--shadow-lg); transform: translateX(110%);
    transition: transform .45s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  padding: 150px 0 110px; overflow: hidden; color: #fff;
}

/* Fondo animado: viviendas con efecto Ken Burns */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg .slide {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  opacity: 0; will-change: opacity, transform;
  animation: kenburns 21s ease-in-out infinite;
}
.hero-bg .slide:nth-child(2) { animation-delay: 7s; }
.hero-bg .slide:nth-child(3) { animation-delay: 14s; }
@keyframes kenburns {
  0%   { opacity: 0; transform: scale(1); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  43%  { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.14); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16, 27, 58, .96) 0%, rgba(24, 39, 80, .88) 45%, rgba(34, 53, 109, .55) 100%);
}

/* Texto con barrido de luz */
.shimmer {
  background: linear-gradient(110deg, var(--silver-light) 0%, #fff 42%, #E8EDF8 50%, #fff 58%, var(--silver-light) 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 3.4s linear infinite;
}
@keyframes shimmer { 0% { background-position: 125% 0; } 100% { background-position: -125% 0; } }
/* Palabra viva sobre fondo claro: el azul de la marca recorriendo la letra */
.shine {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 35%, #6C8FD0 48%, #9FB6E4 52%, #6C8FD0 56%, var(--navy) 70%, var(--navy) 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 4.2s linear infinite;
}
/* Cabeceras interiores con foto real en capas, como la portada */
.page-hero .hero-glow { z-index: 1; }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
}
.hero-glow { z-index: 1; }
.hero-glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 156, 210, .35), transparent 65%);
  top: -180px; right: -140px; animation: float 9s ease-in-out infinite;
}
.hero-glow.two { width: 460px; height: 460px; top: auto; bottom: -180px; right: auto; left: -140px; animation-delay: -4.5s; opacity: .6; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(34px) scale(1.05); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  color: var(--silver-light); margin-bottom: 1.4rem;
}
.hero-eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--silver-light); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--silver-light); }
.hero p.lead { font-size: 1.13rem; color: rgba(255, 255, 255, .82); max-width: 540px; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px); border-radius: 20px; padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: .4rem; letter-spacing: .04em; }
.hero-card > p { color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 1.5rem; }
.hero-card ul { display: grid; gap: .85rem; margin-bottom: 1.7rem; }
.hero-card li { display: flex; gap: .7rem; align-items: center; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero-card li svg { width: 20px; height: 20px; color: var(--silver-light); flex-shrink: 0; }
.hero-card .btn { width: 100%; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 130px 0 80px; }
}

/* ---------- Barra de estadísticas ---------- */
.stats { background: var(--bg); position: relative; z-index: 3; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-md);
  margin-top: -66px; padding: 2.2rem 1rem; border: 1px solid var(--line);
}
.stat { text-align: center; padding: .5rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: var(--line); }
.stat .num { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); }
.stat .num span { color: var(--silver); }
.stat .label { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--silver); font-weight: 600; margin-top: .2rem; }
@media (max-width: 760px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 0; }
  .stat:nth-child(3)::before { display: none; }
}

/* ---------- Secciones ---------- */
.section { padding: 105px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 3.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .76rem;
  letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--silver);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--navy); }
.section-head.center .eyebrow::after { content: ""; width: 36px; height: 2px; background: var(--navy); }
.section-head h2 { font-size: clamp(1.4rem, 2.9vw, 2.1rem); font-weight: 700; margin-bottom: .9rem; letter-spacing: -.01em; }
.section-head p { font-size: 1.05rem; }

/* ---------- Tarjetas de servicio ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.3rem 2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--silver-light));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--navy-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem;
  transition: background .35s, transform .35s;
}
.card .icon svg { width: 28px; height: 28px; color: var(--navy); transition: color .35s; }
.card:hover .icon { background: var(--navy); transform: scale(1.06) rotate(-4deg); }
.card:hover .icon svg { color: #fff; }
.card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.card p { font-size: .95rem; }
.card .link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy);
}
.link svg, .card .link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg, .card .link:hover svg { transform: translateX(5px); }

/* ---------- Propiedades ---------- */
.prop-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.prop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prop-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.08); }
.prop-tag {
  position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: .4rem .9rem; border-radius: 30px;
}
.prop-body { padding: 1.5rem 1.6rem 1.7rem; }
.prop-body h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.prop-body .loc { font-size: .88rem; color: var(--silver); display: flex; align-items: center; gap: .35rem; margin-bottom: 1rem; }
.prop-body .loc svg { width: 15px; height: 15px; }
.prop-feats { display: flex; gap: 1.1rem; font-size: .85rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 1rem; flex-wrap: wrap; }
.prop-feats span { display: flex; align-items: center; gap: .38rem; }
.prop-feats svg { width: 16px; height: 16px; color: var(--navy-light); }

/* ---------- Franja CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--navy-light));
  padding: 90px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Proceso / pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 2rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--navy-soft); -webkit-text-stroke: 1px var(--silver-light);
  display: block; margin-bottom: .7rem; line-height: 1;
}
.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p { font-size: .9rem; }

/* ---------- Testimonios ---------- */
.testimonial {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial .stars { color: #8F6D05; letter-spacing: .18em; margin-bottom: 1rem; font-size: .95rem; }
.testimonial blockquote { font-size: .98rem; color: var(--text); font-style: italic; margin-bottom: 1.4rem; }
.testimonial .who { display: flex; align-items: center; gap: .9rem; }
.testimonial .avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.testimonial .who strong { display: block; color: var(--ink); font-size: .95rem; }
.testimonial .who span { font-size: .82rem; color: var(--silver); }

/* ---------- Formularios ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2.6rem; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  padding: .85rem 1.1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg-alt); transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(34, 53, 109, .1);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--silver); grid-column: 1 / -1; }
.form-consent input { margin-top: .25rem; }

/* ---------- Calculadora hipoteca ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; } }
.calc-result {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: 20px; padding: 2.6rem; color: #fff; text-align: center;
  position: sticky; top: 110px;
}
.calc-result .label { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; color: var(--silver-light); font-weight: 600; }
.calc-result .amount { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; margin: .6rem 0 .2rem; }
.calc-result .amount small { font-size: 1.2rem; color: var(--silver-light); }
.calc-result .detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.15); }
.calc-result .detail div strong { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.calc-result .detail div span { font-size: .78rem; color: var(--silver-light); text-transform: uppercase; letter-spacing: .1em; }
.range-field { margin-bottom: 1.6rem; }
.range-field .range-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.range-field .range-top label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.range-field .range-top output { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
input[type="range"] {
  width: 100%; height: 6px; -webkit-appearance: none; appearance: none;
  background: linear-gradient(to right, var(--navy) var(--fill, 50%), var(--line) var(--fill, 50%));
  border-radius: 6px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--navy); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-card { display: grid; gap: 1.1rem; }
.contact-item {
  display: flex; gap: 1.1rem; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-item .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--navy-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .icon svg { width: 22px; height: 22px; color: var(--navy); }
.contact-item strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); margin-bottom: .15rem; }
.contact-item span, .contact-item a { font-size: .92rem; color: var(--text); }
.contact-item a:hover { color: var(--navy); }

/* ---------- Equipo ---------- */
.team-card { text-align: center; }
.team-card .avatar-lg {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1.3rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  border: 4px solid var(--navy-soft);
}
.team-card h3 { font-size: 1.15rem; }
.team-card .role { color: var(--silver); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin: .3rem 0 .9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.8rem; padding-bottom: 3rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { background: #fff; border-radius: 12px; padding: .8rem 1.2rem; display: inline-block; margin-bottom: 1.4rem; }
.footer-logo img { height: 52px; width: auto; }
.footer p { font-size: .92rem; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.3rem; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { font-size: .93rem; color: rgba(255,255,255,.7); transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .92rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--silver-light); flex-shrink: 0; margin-top: .2rem; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease);
}
.footer-social a svg { width: 18px; height: 18px; color: #fff; }
.footer-social a:hover { background: #fff; border-color: #fff; transform: translateY(-4px); }
.footer-social a:hover svg { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.6rem 0; font-size: .84rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Página interior: cabecera ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 65%, var(--navy-light));
  color: #fff; padding: 165px 0 90px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 75% 50%, #000 25%, transparent 72%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--silver-light); }
.page-hero .eyebrow::before { background: var(--silver-light); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 700; max-width: 760px; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; font-size: 1.08rem; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%; background: #149B4E;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease);
  animation: pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.12); animation: none; }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].visible > * { opacity: 1; transform: none; }
[data-stagger].visible > *:nth-child(1) { transition-delay: .05s; }
[data-stagger].visible > *:nth-child(2) { transition-delay: .15s; }
[data-stagger].visible > *:nth-child(3) { transition-delay: .25s; }
[data-stagger].visible > *:nth-child(4) { transition-delay: .35s; }
[data-stagger].visible > *:nth-child(5) { transition-delay: .45s; }
[data-stagger].visible > *:nth-child(6) { transition-delay: .55s; }
[data-stagger].visible > *:nth-child(7) { transition-delay: .65s; }
[data-stagger].visible > *:nth-child(8) { transition-delay: .75s; }
[data-stagger].visible > *:nth-child(9) { transition-delay: .85s; }

/* ---------- Anillos tipo dashboard ---------- */
.ring-stat { position: relative; display: flex; flex-direction: column; align-items: center; }
.ring-wrap { position: relative; width: 118px; height: 118px; margin-bottom: .6rem; }
.ring { width: 118px; height: 118px; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--line); stroke-width: 9; }
.ring .val {
  fill: none; stroke: url(#ringGrad); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.ring-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-center .num { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; color: var(--navy); line-height: 1; }
.ring-center .num small { font-size: .85rem; color: var(--silver); font-weight: 700; }

/* ---------- Roadmap / línea de tiempo ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding: 1rem 0; }
.tl-line {
  position: absolute; top: 0; bottom: 0; left: 27px; width: 3px;
  background: var(--line); border-radius: 3px; overflow: hidden;
}
.tl-fill {
  width: 100%; height: 0%; border-radius: 3px;
  background: linear-gradient(180deg, var(--navy-light), var(--navy));
  transition: height .25s linear;
}
.tl-item {
  position: relative; display: flex; gap: 1.6rem; padding: 0 0 2.6rem 0;
  opacity: 0; transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.tl-item.visible { opacity: 1; transform: none; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: relative; z-index: 2; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--silver);
  transition: all .5s var(--ease);
}
.tl-item.active .tl-dot {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: 0 0 0 8px rgba(34, 53, 109, .12);
}
.tl-card {
  flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.9rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.tl-card p { font-size: .94rem; }
@media (min-width: 760px) {
  .tl-line { left: 50%; transform: translateX(-50%); }
  .tl-item { width: 50%; padding-left: 0; }
  .tl-item:nth-child(odd of .tl-item) { flex-direction: row-reverse; margin-right: auto; padding-right: 44px; text-align: right; transform: translateX(-40px); }
  .tl-item:nth-child(even of .tl-item) { flex-direction: row; margin-left: auto; padding-left: 44px; transform: translateX(40px); }
  .tl-item.visible { transform: none; }
  .tl-item:nth-child(odd of .tl-item) .tl-dot { position: absolute; right: -28px; top: 0; }
  .tl-item:nth-child(even of .tl-item) .tl-dot { position: absolute; left: -28px; top: 0; }
}

/* ---------- Entrada al cargar (heros) ---------- */
@keyframes heroIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero-inner > div > *, .hero-card { animation: heroIn .9s var(--ease) both; }
.hero-inner .hero-eyebrow { animation-delay: .1s; }
.hero-inner h1 { animation-delay: .22s; }
.hero-inner p.lead { animation-delay: .38s; }
.hero-inner .hero-ctas { animation-delay: .52s; }
.hero-card { animation-delay: .65s; }
.page-hero .eyebrow { animation: heroIn .8s var(--ease) .1s both; }
.page-hero h1 { animation: heroIn .8s var(--ease) .24s both; }
.page-hero p { animation: heroIn .8s var(--ease) .4s both; }

/* ---------- Variantes de aparición ---------- */
.reveal-scale { opacity: 0; transform: scale(.9); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale.visible { opacity: 1; transform: none; }
.reveal-blur { opacity: 0; filter: blur(10px); transform: translateY(24px); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
.reveal-blur.visible { opacity: 1; filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .tl-item, [data-stagger] > * { opacity: 1; transform: none; filter: none; }
  .ring .val { stroke-dashoffset: 0 !important; }
  .shimmer { color: var(--silver-light); -webkit-text-fill-color: var(--silver-light); background: none; }
  .shine { color: var(--navy); -webkit-text-fill-color: var(--navy); background: none; }
}

/* ---------- Viviendas reales (tarjetas enlazadas a Idealista) ---------- */
a.prop-card { display: block; color: inherit; }
.prop-price { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy); margin-bottom: .3rem; letter-spacing: -.01em; }
.prop-body h3 { font-size: 1.02rem; font-weight: 600; }
.prop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.prop-filters { display: inline-flex; gap: .4rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 50px; padding: .3rem; }
.prop-filters button {
  border: none; background: transparent; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: var(--text); padding: .55rem 1.1rem; border-radius: 50px; transition: background .25s, color .25s;
}
.prop-filters button span { opacity: .6; margin-left: .3rem; font-weight: 500; }
.prop-filters button.active { background: var(--navy); color: #fff; }
.prop-filters button.active span { opacity: .85; }
.prop-note { font-size: .88rem; color: var(--text); margin: 0; }
.prop-more { text-align: center; margin-top: 2.6rem; }
.prop-card[hidden] { display: none; }

/* ---------- Reseñas de Google en movimiento ---------- */
.google-badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 50px; padding: .6rem 1.2rem .6rem .9rem;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.google-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.google-badge strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.google-badge span { font-size: .88rem; color: var(--text); }
.g-logo { width: 22px; height: 22px; flex-shrink: 0; }
.stars { display: inline-flex; gap: .1rem; color: #F2B01E; }
.stars svg { width: 15px; height: 15px; }
.reviews-section { overflow: hidden; }
.reviews-marquee {
  overflow: hidden; padding: .6rem 0 1.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
/* Dos filas: cada una lleva 5 reseñas repetidas 3 veces; la de arriba va hacia la izquierda y la de abajo hacia la derecha */
.reviews-track { display: flex; gap: 1.4rem; width: max-content; animation: reviewsScroll 60s linear infinite; }
.reviews-track.reverse { animation-direction: reverse; }
.reviews-marquee { padding-bottom: .4rem; }
.reviews-marquee-2 { padding-top: 1rem; padding-bottom: 1.4rem; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes reviewsScroll { to { transform: translateX(-33.3333%); } }
.review-card {
  width: 340px; flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem;
}
.review-top { display: flex; justify-content: space-between; align-items: center; }
.review-card p {
  font-size: .93rem; color: var(--text); line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.review-who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review-who .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy-soft); color: var(--navy);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.review-who strong { display: block; color: var(--ink); font-size: .92rem; }
.review-who span { font-size: .8rem; color: var(--silver); }
.reviews-cta { text-align: center; }
.reviews-cta .link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
@media (max-width: 620px) { .review-card { width: 280px; } }
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
  .reviews-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Oficina, mapa y cómo llegar ---------- */
.contact-item .sub { display: block; font-size: .82rem; color: var(--silver); margin-top: .2rem; }
.map-section .section-head p { margin-bottom: 1.4rem; }
.btn-directions svg { width: 18px; height: 18px; }
.map-frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-frame iframe { display: block; }

/* ---------- Formularios que envían por WhatsApp ---------- */
.form-hint { font-size: .8rem; color: var(--silver); text-align: center; margin-top: .7rem; }
.btn-whatsapp svg { width: 18px; height: 18px; }

/* ---------- Bloques azules intercalados: fondo en movimiento + capas de cristal ---------- */
.section.dark {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
}
.section.dark > .container { position: relative; z-index: 2; }
.section.dark .hero-bg { opacity: .55; }
.section.dark .section-head h2, .section.dark h3 { color: #fff; }
.section.dark .section-head p, .section.dark .card p { color: rgba(255, 255, 255, .78); }
.section.dark .eyebrow { color: var(--silver-light); }
.section.dark .eyebrow::before { background: var(--silver-light); }
.section.dark .card, .section.dark .tl-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.section.dark .card:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); }
.section.dark .card .icon { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.section.dark .card .icon svg { color: #fff; stroke: #fff; }
.section.dark .card .link { color: #fff; }
.section.dark .tl-card h3, .section.dark .tl-card p { color: inherit; }
.section.dark .tl-card p { color: rgba(255, 255, 255, .78); }
.section.dark .tl-dot { background: #fff; color: var(--navy); border-color: rgba(255, 255, 255, .35); }
.section.dark .tl-line { background: rgba(255, 255, 255, .18); }
.section.dark .tl-fill { background: #fff; }
.section.dark .shine { background: linear-gradient(110deg, #fff 0%, #fff 35%, var(--silver-light) 50%, #fff 65%, #fff 100%); background-size: 230% 100%; -webkit-background-clip: text; background-clip: text; }

/* Iconos que respiran y flotan */
.card .icon { animation: floaty 5.5s ease-in-out infinite; }
[data-stagger] > :nth-child(2n) .icon { animation-delay: -1.8s; }
[data-stagger] > :nth-child(3n) .icon { animation-delay: -3.4s; }
[data-stagger] > :nth-child(4n) .icon { animation-delay: -0.9s; }
.section.dark .card .icon { animation: floaty 5.5s ease-in-out infinite, breathe 4.2s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .22); }
  50% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) { .card .icon, .section.dark .card .icon { animation: none; } }

/* ---------- Mapa 3D (MapLibre + OpenFreeMap) ---------- */
.mapa3d { height: 460px; background: var(--navy-soft); }
.mapa3d canvas { outline: none; }
.mapa3d-pin { width: 46px; height: 46px; cursor: pointer; }
.mapa3d-pin img {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 5px;
  box-shadow: 0 6px 18px rgba(16, 27, 58, .35), 0 0 0 3px rgba(255, 255, 255, .9);
  animation: floaty 3.6s ease-in-out infinite;
}
.mapa3d-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.maplibregl-popup-content { font-family: var(--font-body); font-size: .9rem; color: var(--ink); border-radius: 12px; padding: .8rem 1rem; box-shadow: var(--shadow-md); }
.maplibregl-popup-content strong { color: var(--navy); }
.maplibregl-ctrl-attrib { font-size: .7rem; }
.map-hint { font-size: .82rem; color: var(--silver); text-align: center; margin-top: .8rem; }

/* ---------- Semáforo de abierto / cerrado ---------- */
.open-badge { display: none; }
.open-badge.on {
  display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; vertical-align: middle;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .02em;
  padding: .28rem .7rem .28rem .55rem; border-radius: 50px; color: #fff; white-space: nowrap;
}
.open-badge.on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: breatheDot 1.8s ease-in-out infinite; }
.open-badge.abierto { background: #1E8E4B; }
.open-badge.cerrado { background: #C0392B; }
.open-badge.cerrado::before { animation: none; opacity: .75; }
@keyframes breatheDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 50% { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); } }
.contact-item .open-badge.on { margin: .45rem 0 0; }
.footer-contact .open-badge.on { margin-left: .4rem; }
@media (prefers-reduced-motion: reduce) { .open-badge.on::before, .mapa3d-pin img { animation: none; } }

/* ============================================================
   VALORADOR — ¿Cuánto vale tu vivienda? / ¿Cuánto me queda limpio?
   ============================================================ */
.val-overlay {
  position: fixed; inset: 0; z-index: 4000; padding: 1rem;
  background: rgba(16, 27, 58, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s;
}
.val-overlay.on { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.val-dialog {
  position: relative; width: min(780px, 100%); max-height: calc(100vh - 2rem);
  overflow: auto; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg);
  transform: translateY(26px) scale(.97); transition: transform .45s var(--ease);
}
.val-overlay.on .val-dialog { transform: none; }
.val-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .25s, transform .25s;
}
.val-close:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }
.val-close svg { width: 18px; height: 18px; }

.valorador { --val-pad: 2.2rem; }
.val-top {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 65%, var(--navy-light));
  color: #fff; padding: 1.9rem var(--val-pad) 1.6rem; position: relative; overflow: hidden;
}
.val-top::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at 80% 50%, #000 20%, transparent 75%);
}
.val-top-txt { position: relative; z-index: 1; padding-right: 3rem; }
.val-eyebrow { display: block; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--silver-light); margin-bottom: .45rem; }
.val-title { color: #fff; font-family: var(--font-logo); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.val-progress { position: relative; z-index: 1; display: flex; gap: .4rem; margin-top: 1.4rem; }
.val-progress li {
  flex: 1; display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  color: rgba(255,255,255,.55); padding-bottom: .55rem; border-bottom: 2px solid rgba(255,255,255,.18); transition: color .3s, border-color .3s;
}
.val-progress li span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem;
  border: 1.5px solid rgba(255,255,255,.35); transition: all .3s;
}
.val-progress li.on { color: #fff; border-color: #fff; }
.val-progress li.on span { background: #fff; color: var(--navy); border-color: #fff; }
.val-progress li.done { color: var(--silver-light); border-color: var(--silver-light); }
.val-progress li.done span { background: var(--silver-light); color: var(--navy); border-color: var(--silver-light); }

.val-body { padding: var(--val-pad); }
.val-step { display: none; }
.val-step.on { display: block; animation: valIn .45s var(--ease) both; }
@keyframes valIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.val-q { margin-bottom: 1.5rem; }
.val-q > label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: .7rem; }
.val-q > label small { font-weight: 500; color: var(--silver); font-size: .8rem; }
.val-q[hidden] { display: none; }
.val-row { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 1.2rem; }
@media (max-width: 640px) { .val-row { grid-template-columns: 1fr; } }
.val-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.val-chip {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink);
  background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: 50px; padding: .6rem 1.05rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.val-chip:hover { border-color: var(--navy-light); transform: translateY(-2px); }
.val-chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.val-chip svg { width: 15px; height: 15px; display: none; }
.val-multi .val-chip.on svg { display: block; }
.val-num { display: flex; align-items: center; gap: .4rem; }
.val-num button {
  width: 42px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-alt);
  font-size: 1.3rem; color: var(--navy); cursor: pointer; transition: background .25s, color .25s;
}
.val-num button:hover { background: var(--navy); color: #fff; }
.val-num input {
  width: 96px; height: 46px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-alt); -moz-appearance: textfield;
}
.val-num input::-webkit-outer-spin-button, .val-num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.val-num input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(34, 53, 109, .1); background: var(--surface); }
.val-num span { font-family: var(--font-head); font-weight: 600; color: var(--silver); }
.val-error { color: #B3261E; font-size: .88rem; font-weight: 500; margin: -.4rem 0 1rem; }
.val-error[hidden] { display: none; }
.val-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .6rem; }
.val-actions .btn svg { width: 16px; height: 16px; }

/* calculando */
.val-calc.on { text-align: center; padding: 2.5rem 0 2rem; }
.val-spinner { width: 74px; height: 74px; margin: 0 auto 1.6rem; border-radius: 50%; border: 4px solid var(--navy-soft); border-top-color: var(--navy); animation: valSpin 1s linear infinite; position: relative; }
.val-spinner span { position: absolute; inset: 10px; border-radius: 50%; border: 3px solid transparent; border-bottom-color: var(--silver-light); animation: valSpin 1.6s linear infinite reverse; }
@keyframes valSpin { to { transform: rotate(360deg); } }
.val-calc-lines { display: grid; gap: .5rem; }
.val-calc-lines li { font-family: var(--font-head); font-weight: 600; color: var(--silver); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .5s; }
.val-calc-lines li.on { opacity: 1; transform: none; color: var(--navy); }

/* resultado bloqueado */
.val-locked, .val-result {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; border-radius: 18px;
  padding: 2rem 1.6rem; text-align: center; position: relative; overflow: hidden; margin-bottom: 1.6rem;
}
.val-label { display: block; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--silver-light); font-weight: 600; }
.val-form .form-grid { margin-bottom: 1rem; }
.val-form .form-consent { align-items: flex-start; }
.val-submit { width: 100%; }
.val-submit svg { width: 18px; height: 18px; }

/* resultado */
.val-note { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 1.1rem; line-height: 1.5; }

/* Versión dentro de la página valorar.html */
.valorador.inline { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 640px) { .valorador { --val-pad: 1.3rem; } .val-dialog { border-radius: 18px; } .val-progress li { font-size: 0; gap: 0; } .val-progress li span { font-size: .72rem; } }

/* Página valorar.html */
.landing-hero { padding: 140px 0 80px; min-height: 0; }
.landing-hero .hero-inner { grid-template-columns: .9fr 1.1fr; align-items: start; }
.landing-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.landing-trust { display: grid; gap: .8rem; margin-top: 2rem; }
.landing-trust li { display: flex; gap: .7rem; align-items: center; color: rgba(255,255,255,.9); font-size: .98rem; }
.landing-trust li svg { width: 20px; height: 20px; color: var(--silver-light); flex-shrink: 0; }
.landing-hero .valorador { animation: heroIn .9s var(--ease) .5s both; }
@media (max-width: 900px) { .landing-hero .hero-inner { grid-template-columns: 1fr; } .landing-hero { padding: 120px 0 60px; } }
.header-min .nav { gap: .8rem; }
@media (max-width: 1020px) {
  /* la página de valoración no tiene menú: los dos botones se quedan siempre a la vista */
  .header-min .nav { position: static; width: auto; height: auto; flex-direction: row; align-items: center; padding: 0; gap: .6rem; box-shadow: none; transform: none; background: transparent; }
  .header-min .nav a { font-size: .85rem; }
}
@media (max-width: 560px) {
  .header-min .nav .btn-primary { display: none; }
  .header-min .nav .btn-outline { padding: .6rem 1rem; }
}
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--navy); font-weight: 500; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; font-size: .95rem; }
.footer-min { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 2rem 0; font-size: .86rem; text-align: center; }
.footer-min a { color: rgba(255,255,255,.85); }
.footer-min p + p { margin-top: .4rem; }

@media (prefers-reduced-motion: reduce) { .val-spinner, .val-spinner span { animation: none; } .val-step.on { animation: none; } }

/* ============================================================
   INTRO — La casa que se construye y se convierte en el logo
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 5000;
  background: linear-gradient(180deg, #080E22 0%, #16244E 62%, #22356D 100%);
  cursor: pointer; overflow: hidden;
}
.intro.hide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.intro-scene { width: 100%; height: 100%; }
.intro-scene svg { width: 100%; height: 100%; display: block; }

/* suelo */
.casa-anim .c-ground { stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: introGround .5s ease-out forwards; }
@keyframes introGround { to { stroke-dashoffset: 0; } }
/* 1. plataforma que se extiende */
.casa-anim .c-plat { transform-origin: 440px 330px; transform: scaleX(0); opacity: 0; animation: casaPlat .45s var(--ease) .1s forwards; }
@keyframes casaPlat { to { transform: scaleX(1); opacity: 1; } }
/* 2. planta baja de cristal que sube */
.casa-anim .c-gf { transform-origin: 400px 326px; transform: scaleY(0); opacity: 0; animation: casaSube .5s var(--ease) .45s forwards; }
@keyframes casaSube { to { transform: scaleY(1); opacity: 1; } }
/* 3. losa volada que entra desde la derecha */
.casa-anim .c-s1 { transform: translateX(140px); opacity: 0; animation: casaEncaja .42s var(--ease) .9s forwards; }
@keyframes casaEncaja { to { transform: none; opacity: 1; } }
/* 4. planta alta que sube sobre la losa */
.casa-anim .c-uf { transform-origin: 400px 240px; transform: scaleY(0); opacity: 0; animation: casaSube .45s var(--ease) 1.25s forwards; }
/* 5. cubierta plana que entra desde la izquierda */
.casa-anim .c-rs { transform: translateX(-140px); opacity: 0; animation: casaEncaja .42s var(--ease) 1.6s forwards; }
/* 6. barandilla de la terraza y ventanas que se encienden */
.casa-anim .c-rail { opacity: 0; animation: casaAparece .3s ease 1.9s forwards; }
@keyframes casaAparece { to { opacity: 1; } }
.casa-anim .c-win { fill: #FFE9C4; opacity: 0; animation: introWin .4s ease forwards; animation-delay: 1.95s; }
.casa-anim .c-win2 { animation-delay: 2.05s; }
.casa-anim .c-win3 { animation-delay: 2.15s; }
@keyframes introWin { 0% { opacity: 0; } 55% { opacity: .3; } 100% { opacity: .8; } }
.casa-anim .c-reflejo { opacity: 0; animation: casaReflejo .6s ease 1.95s forwards; }
@keyframes casaReflejo { to { opacity: .08; } }
/* 7. el círculo se dibuja alrededor de la casa… */
.casa-anim .c-ring {
  fill: none; stroke: #C9CCD3; stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 1257; stroke-dashoffset: 1257;
  transform-origin: 400px 232px; transform: rotate(-90deg);
  animation: casaRing .65s var(--ease) 2.3s forwards, casaRingCierra .45s var(--ease) 3s forwards;
}
@keyframes casaRing { to { stroke-dashoffset: 0; } }
@keyframes casaRingCierra { to { transform: rotate(-90deg) scale(.45); opacity: 0; } }
/* 8. …la casa se recoge dentro y aparece el logo */
.casa-anim .c-house { transform-origin: 400px 232px; animation: casaRecoge .45s cubic-bezier(.55, 0, .85, .36) 3s forwards; }
@keyframes casaRecoge { to { transform: scale(.18); opacity: 0; } }
.casa-anim .c-glow, .casa-anim .c-logo { opacity: 0; transform-origin: 400px 232px; transform: scale(.55); animation: casaLogo .6s var(--ease) 3.2s forwards; }
@keyframes casaLogo { to { opacity: 1; transform: none; } }

/* Barra de progreso discreta */
.intro-bar {
  position: absolute; bottom: 7vh; left: 50%; transform: translateX(-50%);
  width: min(300px, 56vw); height: 2px; border-radius: 2px;
  background: rgba(255, 255, 255, .18); overflow: hidden;
}
.intro-bar::after { content: ""; display: block; height: 100%; width: 0; background: rgba(255, 255, 255, .75); animation: introBar 3.8s linear forwards; }
@keyframes introBar { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- Valorador: pantalla de datos y confirmación ---------- */
.val-locked h4, .val-result h4 { color: #fff; font-size: 1.25rem; margin: .5rem 0 .5rem; }
.val-locked p, .val-result p { color: rgba(255, 255, 255, .8); font-size: .95rem; max-width: 460px; margin-inline: auto; }
.val-ico { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 1rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; color: #fff; }
.val-ico svg { width: 30px; height: 30px; }
.val-ok { width: 82px; height: 82px; margin: 0 auto 1rem; }
.val-ok svg { width: 100%; height: 100%; }
.val-ok-ring { fill: none; stroke: #8FD3A6; stroke-width: 3; stroke-dasharray: 176; stroke-dashoffset: 176; animation: okRing .7s var(--ease) .1s forwards; }
.val-ok-tick { fill: none; stroke: #8FD3A6; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: okRing .45s var(--ease) .7s forwards; }
@keyframes okRing { to { stroke-dashoffset: 0; } }
.val-actions.val-center { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .val-ok-ring, .val-ok-tick { stroke-dashoffset: 0; animation: none; } }

/* ---------- Calculadora incrustada en la portada ---------- */
.valorar-home .valorador { max-width: 900px; margin: 0 auto; }
.valorar-home .val-top-txt { padding-right: 0; }

/* ---------- Botón del pie: ¿Cuánto vale mi vivienda? ---------- */
.footer-cta { margin-top: 1.5rem; }
.footer-cta svg { width: 16px; height: 16px; }

/* ---------- Acceso al panel (arriba a la derecha) ---------- */
.nav-acceso {
  display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 50px; padding: .5rem .95rem .5rem .8rem; margin-left: .6rem;
  transition: border-color .25s, background .25s, color .25s;
}
.nav-acceso svg { width: 16px; height: 16px; }
.nav-acceso:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 1020px) { .nav-acceso span { display: none; } .nav-acceso { padding: .5rem .6rem; margin-left: auto; margin-right: .6rem; } }

/* ---------- Bloque "¿Quieres saber cuánto vale tu vivienda?" ---------- */
.val-teaser { max-width: 720px; margin: 0 auto; text-align: center; }
.val-teaser .eyebrow::after { content: ""; width: 36px; height: 2px; background: var(--navy); }
.val-teaser h2 { font-size: clamp(1.4rem, 2.9vw, 2.1rem); margin-bottom: .9rem; }
.val-teaser p { font-size: 1.05rem; margin-bottom: 1.8rem; }
.btn-lg { padding: 1.1rem 2.3rem; font-size: 1.02rem; }
.btn-lg svg { width: 18px; height: 18px; }
.val-teaser-nota { display: block; margin-top: 1rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.val-panel { display: none; grid-template-columns: 1.15fr .85fr; gap: 2.4rem; align-items: start; }
.valorar-home.abierta .val-teaser { display: none; }
.valorar-home.abierta .val-panel { display: grid; }
.valorar-home.abierta .valorador { animation: panelIzq .7s var(--ease) both; }
.valorar-home.abierta .casa-panel { animation: panelDer .7s var(--ease) .15s both; }
@keyframes panelIzq { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes panelDer { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.casa-panel {
  position: sticky; top: 100px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #080E22 0%, #16244E 62%, #22356D 100%);
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3;
}
.casa-panel svg { width: 100%; height: 100%; display: block; }
.casa-panel .c-ground { stroke-dasharray: 600; stroke-dashoffset: 600; }
.casa-panel .c-plat, .casa-panel .c-gf, .casa-panel .c-uf { opacity: 0; }
.casa-panel .c-s1, .casa-panel .c-rs, .casa-panel .c-rail, .casa-panel .c-reflejo, .casa-panel .c-win { opacity: 0; }
/* cuando termina de construirse, la casa flota suave */
.casa-panel.casa-anim .c-casa { animation: casaFlota 6s ease-in-out 3.4s infinite; transform-origin: 400px 232px; }
@keyframes casaFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 900px) {
  .val-panel { grid-template-columns: 1fr; }
  .casa-panel { position: static; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .casa-panel .c-ground { stroke-dashoffset: 0; }
  .casa-panel .c-plat, .casa-panel .c-gf, .casa-panel .c-uf, .casa-panel .c-s1, .casa-panel .c-rs, .casa-panel .c-rail, .casa-panel .c-win { opacity: 1; }
  .casa-panel .c-reflejo { opacity: .08; }
  .valorar-home.abierta .valorador, .valorar-home.abierta .casa-panel, .casa-panel.casa-anim .c-casa { animation: none; }
}

/* ---------- Tarjeta llamativa de la pregunta ---------- */
.val-teaser { max-width: 860px; }
.val-teaser-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 3.2rem 2.4rem 2.6rem; color: #fff;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  box-shadow: 0 30px 70px rgba(16, 27, 58, .28);
}
.val-teaser-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%);
}
.val-teaser-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, rgba(255,255,255,.85) 72%, transparent 84%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: bordeGira 5s linear infinite;
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes bordeGira { to { --ang: 360deg; } }
.val-teaser-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(122,156,210,.4), transparent 65%); top: -200px; right: -120px; animation: float 9s ease-in-out infinite; }
.val-teaser-glow.two { width: 320px; height: 320px; top: auto; bottom: -160px; right: auto; left: -100px; animation-delay: -4s; opacity: .7; }
.val-teaser-card > :not(.val-teaser-glow) { position: relative; z-index: 1; }
.val-teaser-badge {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 50px; padding: .45rem 1rem; margin-bottom: 1.3rem;
}
.val-teaser-badge svg { width: 16px; height: 16px; }
.val-teaser-card h2 { color: #fff; font-size: clamp(1.5rem, 3.1vw, 2.3rem); margin-bottom: 1rem; }
.val-teaser-card p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 1.9rem; max-width: 600px; margin-inline: auto; }
.val-teaser-card .val-teaser-nota { color: var(--silver-light); }
.btn-pulse { position: relative; animation: btnPulse 2.4s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,.55); }
  60% { box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 0 16px rgba(255,255,255,0); }
}
.btn-pulse:hover { animation: none; }

/* ---------- Apertura con más fuerza ---------- */
.valorar-home { position: relative; overflow: hidden; }
.val-burst {
  position: absolute; width: 40px; height: 40px; border-radius: 50%; pointer-events: none; z-index: 5;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(122,156,210,.6) 45%, transparent 70%);
  transform: translate(-50%, -50%) scale(0); animation: burst .9s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes burst { 40% { opacity: 1; } to { transform: translate(-50%, -50%) scale(70); opacity: 0; } }
.valorar-home.abriendo .val-teaser { animation: teaserOut .45s cubic-bezier(.55, 0, .85, .36) forwards; }
@keyframes teaserOut { to { transform: scale(1.06); opacity: 0; filter: blur(8px); } }
.valorar-home.abierta .val-panel { perspective: 1400px; }
.valorar-home.abierta .valorador { animation: panelIzq .8s var(--ease) both; }
.valorar-home.abierta .casa-panel { animation: panelGira .9s var(--ease) .1s both; transform-origin: left center; }
@keyframes panelIzq { from { opacity: 0; transform: translateX(-70px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes panelGira { from { opacity: 0; transform: rotateY(-38deg) translateX(40px); } to { opacity: 1; transform: none; } }

/* ---------- Plano de arquitecto ---------- */
.plano-panel { background: radial-gradient(ellipse at 50% 30%, #1B2C5C 0%, #0E1838 60%, #080E22 100%); aspect-ratio: 4 / 3.3; }
.plano-panel svg { width: 100%; height: 100%; padding: 4%; box-sizing: border-box; }
.plano-panel .bp { fill: none; stroke: #C9CCD3; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.plano-panel .bp.fine { stroke-width: 1; opacity: .8; }
.plano-panel .bp.cota { stroke: #7A9CD2; }
.plano-panel .bp-grid { fill: none; stroke: rgba(201, 204, 211, .13); stroke-width: .8; vector-effect: non-scaling-stroke; opacity: 0; }
.plano-panel .bp-fill { opacity: 0; }
.plano-panel .vidrio { fill: rgba(122, 156, 210, .16); }
.plano-panel .losa { fill: rgba(201, 204, 211, .12); }
.plano-panel .agua { fill: rgba(122, 180, 235, .28); }
.plano-panel .bp-text { font-family: var(--font-logo); font-size: 11px; fill: #9FB6E4; letter-spacing: .06em; opacity: 0; }
.plano-panel.casa-anim .bp-grid { animation: casaAparece .9s ease .1s forwards; }
.plano-panel.casa-anim .bp { animation: bpDraw .75s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes bpDraw { to { stroke-dashoffset: 0; } }
.plano-panel.casa-anim .bp-fill { animation: casaAparece .9s ease forwards; animation-delay: var(--d, 3.9s); }
.plano-panel.casa-anim .bp-text { animation: casaAparece .6s ease forwards; animation-delay: var(--d, 3.7s); }
.plano-sweep { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); transform: translateX(-110%); }
.plano-panel.casa-anim .plano-sweep { animation: sweep 1.6s var(--ease) 4.4s forwards; }
@keyframes sweep { to { transform: translateX(110%); } }
.plano-panel.casa-anim svg { animation: casaFlota 7s ease-in-out 5.5s infinite; }
@media (prefers-reduced-motion: reduce) {
  .plano-panel .bp, .plano-panel .bp-grid, .plano-panel .bp-fill, .plano-panel .bp-text { stroke-dashoffset: 0; opacity: 1; animation: none !important; }
  .val-teaser-card::after, .btn-pulse, .plano-sweep { animation: none !important; }
}

/* Campo trampa para robots: invisible para personas */
.val-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
