/* Una sola familia tipográfica para toda la web. Si Inter no carga,
   la pila de respaldo son las sans del sistema, que no desentonan. */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --clay:     #C4826A;
  --clay-lt:  #D4A090;
  --clay-bg:  #F5EDE8;
  --sage:     #7A9E8E;
  --sage-lt:  #A8C4B8;
  --sage-bg:  #EEF4F1;
  --warm:     #FDFAF5;
  --beige:    #F0E8DC;
  --stone:    #C8BDB4;
  --ink:      #2B2520;
  --ink-md:   #5A4E48;
  --ink-lt:   #9A8E88;
  --white:    #FFFFFF;
  --shadow:   0 4px 30px rgba(43,37,32,0.07);
  --shadow-lg:0 20px 60px rgba(43,37,32,0.10);
  --radius:   16px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--warm); line-height: 1.7; overflow-x: hidden; }

h1,h2,h3,h4 { font-family: var(--font); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

.label { font-family: var(--font); font-size: 0.7rem; font-weight: 600; letter-spacing: 3.5px; text-transform: uppercase; color: var(--clay); display: block; margin-bottom: 1rem; }
.subtitle { font-size: 1.05rem; color: var(--ink-lt); max-width: 580px; margin: 0 auto; line-height: 1.85; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(253,250,245,0.95); backdrop-filter: blur(24px); border-bottom: 1px solid rgba(200,189,180,0.25); transition: all 0.4s; }
nav .container { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; padding-bottom: 1rem; }
.logo { display: flex; align-items: center; text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--ink-md); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--clay); }
.nav-cta { background: var(--clay) !important; color: var(--white) !important; padding: 0.65rem 1.5rem !important; border-radius: 50px !important; font-weight: 600 !important; transition: all 0.3s !important; }
.nav-cta:hover { background: var(--clay-lt) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,130,106,0.3) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* HERO */
.hero { min-height: 100vh; background: var(--beige); display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 7rem; }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(196,130,106,0.14) 0%, transparent 65%); top: -20%; right: -15%; }
.hero-blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(122,158,142,0.12) 0%, transparent 65%); bottom: -15%; left: -10%; }
.hero .container { position: relative; z-index: 2; }
.hero-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(196,130,106,0.1); border: 1px solid rgba(196,130,106,0.2); padding: 0.45rem 1.1rem; border-radius: 50px; font-size: 0.75rem; color: var(--clay); font-weight: 600; margin-bottom: 1.8rem; letter-spacing: 1.5px; text-transform: uppercase; }
.hero h1 { color: var(--ink); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-text { color: var(--ink-md); font-size: 1.1rem; max-width: 480px; line-height: 1.85; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary { background: var(--clay); color: var(--white); padding: 0.9rem 2.2rem; border: none; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; font-family: var(--font); display: inline-block; }
.btn-primary:hover { background: var(--clay-lt); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(196,130,106,0.3); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0.9rem 2.2rem; border: 1.5px solid var(--stone); border-radius: 50px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s; text-decoration: none; font-family: var(--font); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }
.btn-sage { background: var(--sage); color: var(--white); padding: 0.9rem 2.2rem; border: none; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; font-family: var(--font); display: inline-block; }
.btn-sage:hover { background: var(--sage-lt); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(122,158,142,0.3); }
.btn-wa { background: #25D366; color: var(--white); padding: 0.9rem 2.2rem; border: none; border-radius: 50px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; font-family: var(--font); display: inline-flex; align-items: center; gap: 0.6rem; }
.btn-wa:hover { background: #20c05c; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.3); }
.btn-wa svg { width: 18px; height: 18px; fill: white; flex-shrink: 0; }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(43,37,32,0.08); }
.hero-stat h3 { font-family: var(--font); color: var(--clay); font-size: 2.5rem; margin-bottom: 0.2rem; }
.hero-stat p { color: var(--ink-lt); font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; }

.hero-visuals { position: relative; }
.hero-img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px 24px 80px 24px; box-shadow: var(--shadow-lg); }
.hero-img-mini { position: absolute; bottom: -2rem; left: -2.5rem; width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 5px solid var(--warm); box-shadow: var(--shadow); }
.hero-pill { position: absolute; top: 1.5rem; right: -1rem; background: var(--white); border-radius: 50px; padding: 0.75rem 1.2rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--ink); }

/* TRUST BAR */
.trust-bar { background: var(--white); padding: 2.2rem 0; border-top: 1px solid rgba(200,189,180,0.2); border-bottom: 1px solid rgba(200,189,180,0.2); }
.trust-items { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--ink-md); font-weight: 500; }
.trust-dot { width: 6px; height: 6px; background: var(--clay); border-radius: 50%; flex-shrink: 0; }
.trust-dot.sage { background: var(--sage); }

/* SPLIT */
.split-intro { background: var(--warm); }
.split-intro .container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.split-card { border-radius: 24px; padding: 3.5rem; position: relative; overflow: hidden; transition: all 0.4s; }
.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.split-card.owners { background: var(--clay-bg); border: 1px solid rgba(196,130,106,0.2); }
.split-card.tenants { background: var(--sage-bg); border: 1px solid rgba(122,158,142,0.2); }
.split-card .split-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.split-card h3 { color: var(--ink); margin-bottom: 0.8rem; }
.split-card p { color: var(--ink-md); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.8rem; }
.split-features { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.split-feature { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--ink-md); }
.split-feature::before { content: '✓'; color: var(--clay); font-weight: 700; flex-shrink: 0; }
.split-card.tenants .split-feature::before { color: var(--sage); }
.split-blob { position: absolute; border-radius: 50%; pointer-events: none; width: 200px; height: 200px; bottom: -60px; right: -60px; opacity: 0.3; }
.split-card.owners .split-blob { background: radial-gradient(circle, rgba(196,130,106,0.4), transparent 70%); }
.split-card.tenants .split-blob { background: radial-gradient(circle, rgba(122,158,142,0.4), transparent 70%); }

/* PROPIETARIOS */
.owners-section { background: var(--clay-bg); }
.owners-header { text-align: center; margin-bottom: 4rem; }
.owners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.owner-card { background: var(--white); border-radius: var(--radius); padding: 2.5rem 2rem; transition: all 0.4s; border: 1px solid rgba(200,189,180,0.2); position: relative; overflow: hidden; }
.owner-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--clay), var(--clay-lt)); opacity: 0; transition: opacity 0.4s; }
.owner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.owner-card:hover::before { opacity: 1; }
.owner-num { font-family: var(--font); font-size: 4rem; font-weight: 400; color: rgba(43,37,32,0.12); line-height: 1; margin-bottom: 1rem; }
.owner-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.owner-card h3 { color: var(--ink); margin-bottom: 0.8rem; }
.owner-card p { color: var(--ink-lt); font-size: 0.93rem; line-height: 1.75; }

/* RENTABILIDAD */
.rentabilidad { background: var(--ink); padding: 6rem 0; }
.rent-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.rentabilidad .label { color: var(--clay-lt); }
.rentabilidad h2 { color: var(--white); margin-bottom: 1.2rem; }
.rent-lead { color: rgba(253,250,245,0.55); line-height: 1.85; font-size: 1rem; margin-bottom: 2rem; }
.rent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.r-card { background: rgba(253,250,245,0.05); border: 1px solid rgba(253,250,245,0.08); border-radius: 14px; padding: 1.5rem; transition: all 0.3s; }
.r-card:hover { background: rgba(196,130,106,0.08); border-color: rgba(196,130,106,0.2); }
.r-icon { font-size: 1.6rem; margin-bottom: 0.8rem; }
.r-card h4 { color: var(--clay-lt); font-family: var(--font); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.r-card p { color: rgba(253,250,245,0.45); font-size: 0.82rem; line-height: 1.6; }

/* PISOS */
.rooms-section { background: var(--warm); }
.rooms-header { text-align: center; margin-bottom: 4rem; }
.rooms-filter { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn { background: var(--beige); color: var(--ink-md); border: 1.5px solid rgba(200,189,180,0.4); border-radius: 50px; padding: 0.5rem 1.3rem; font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.3s; font-family: var(--font); }
.filter-btn:hover, .filter-btn.active { background: var(--sage); color: var(--white); border-color: var(--sage); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.room-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 20px rgba(43,37,32,0.05); border: 1px solid rgba(200,189,180,0.2); transition: all 0.4s; display: flex; flex-direction: column; }
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-img-wrap { position: relative; flex-shrink: 0; }
.room-img-wrap img { width: 100%; height: 240px; object-fit: cover; display: block; }
.room-badge { position: absolute; top: 1rem; left: 1rem; background: var(--sage); color: var(--white); font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 50px; }
.room-badge.soon { background: var(--stone); color: var(--ink); }
.room-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.room-location { font-size: 0.75rem; color: var(--clay); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.4rem; }
.room-body h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 0.5rem; }
.room-desc { color: var(--ink-lt); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.2rem; flex: 1; }
.room-features { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.room-feat { background: var(--beige); border-radius: 50px; padding: 0.3rem 0.8rem; font-size: 0.75rem; color: var(--ink-md); border: 1px solid rgba(200,189,180,0.3); }
.room-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 0.8rem; }
.room-price { font-family: var(--font); font-size: 1.6rem; color: var(--clay); font-weight: 500; white-space: nowrap; }
.room-price span { font-family: var(--font); font-size: 0.72rem; color: var(--ink-lt); font-weight: 400; }
.room-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.room-gallery img { width: 100%; height: 90px; object-fit: cover; cursor: pointer; transition: opacity 0.3s; }
.room-gallery img:hover { opacity: 0.8; }

/* COLIVING */
.coliving-section { background: var(--sage-bg); }
.coliving-header { text-align: center; margin-bottom: 4rem; }
.coliving-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.coliving-card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: all 0.4s; border: 1px solid rgba(122,158,142,0.15); }
.coliving-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.coliving-icon { font-size: 2rem; margin-bottom: 1rem; }
.coliving-card h4 { font-family: var(--font); font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.coliving-card p { font-size: 0.82rem; color: var(--ink-lt); line-height: 1.65; }

/* REVIEWS */
.reviews { background: var(--white); }
.reviews-header { text-align: center; margin-bottom: 4rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: var(--warm); border-radius: var(--radius); padding: 2.2rem; border: 1px solid rgba(200,189,180,0.15); transition: all 0.3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { color: var(--clay); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.review-quote { font-family: var(--font); font-size: 3rem; color: var(--clay-bg); line-height: 1; margin-bottom: -0.5rem; }
.review-text { font-size: 0.93rem; color: var(--ink-md); line-height: 1.8; margin-bottom: 1.5rem; }
.review-author { display: flex; align-items: center; gap: 0.9rem; padding-top: 1.2rem; border-top: 1px solid rgba(200,189,180,0.2); }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--clay-bg), var(--beige)); color: var(--clay); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; flex-shrink: 0; }
.review-avatar.sage-av { background: linear-gradient(135deg, var(--sage-bg), #d4ede8); color: var(--sage); }
.review-name { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.review-role { font-size: 0.78rem; color: var(--ink-lt); margin-top: 0.1rem; }

/* CONTACT CTA (sin formulario) */
.contact-section { background: var(--beige); }
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; }
.contact-cta-card { background: var(--white); border-radius: 24px; padding: 3rem 2.5rem; text-align: center; box-shadow: var(--shadow); border: 1px solid rgba(200,189,180,0.2); transition: all 0.4s; }
.contact-cta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-cta-icon { font-size: 2.8rem; margin-bottom: 1.2rem; }
.contact-cta-card h3 { color: var(--ink); margin-bottom: 0.8rem; }
.contact-cta-card p { color: var(--ink-lt); font-size: 0.9rem; line-height: 1.75; margin-bottom: 2rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; align-items: center; }
.contact-info-item { font-size: 0.88rem; color: var(--ink-md); }
.contact-info-item a { color: var(--clay); text-decoration: none; font-weight: 600; }
.contact-info-item a:hover { color: var(--clay-lt); }

/* FAQ */
.faq { background: var(--warm); }
.faq-header { text-align: center; margin-bottom: 4rem; }
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(200,189,180,0.3); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: none; border: none; width: 100%; text-align: left; font-size: 1rem; font-weight: 500; color: var(--ink); font-family: var(--font); padding: 1.6rem 0; cursor: pointer; transition: color 0.3s; }
.faq-q:hover { color: var(--clay); }
.faq-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--clay-bg); color: var(--clay); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; transition: all 0.3s; }
.faq-item.active .faq-ico { background: var(--clay); color: var(--white); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-a { max-height: 300px; padding-bottom: 1.5rem; }
.faq-a p { color: var(--ink-lt); line-height: 1.85; font-size: 0.93rem; }

/* FOOTER */
footer { background: var(--ink); padding: 3rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(253,250,245,0.08); margin-bottom: 1.5rem; }
.footer-brand p { color: rgba(253,250,245,0.35); font-size: 0.82rem; line-height: 1.7; max-width: 280px; margin-top: 0.8rem; }
.footer-col h4 { color: rgba(253,250,245,0.6); font-family: var(--font); font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; color: rgba(253,250,245,0.35); text-decoration: none; font-size: 0.82rem; line-height: 1.8; transition: color 0.3s; cursor: pointer; }
.footer-col a:hover { color: var(--clay-lt); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(253,250,245,0.25); font-size: 0.78rem; }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { color: rgba(253,250,245,0.25); text-decoration: none; font-size: 0.78rem; transition: color 0.3s; cursor: pointer; }
.footer-legal-links a:hover { color: var(--clay-lt); }

/* WHATSAPP */
.whatsapp-btn { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.45); transition: all 0.3s; text-decoration: none; animation: wa-pulse 2.5s infinite; }
.whatsapp-btn:hover { background: #20c05c; transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.55); animation: none; }
.whatsapp-btn svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-tooltip { position: fixed; bottom: 3.2rem; right: 6rem; background: var(--ink); color: var(--white); font-size: 0.78rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 50px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 998; }
.whatsapp-btn:hover + .whatsapp-tooltip { opacity: 1; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(43,37,32,0.95); z-index: 9999; justify-content: center; align-items: center; cursor: pointer; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 12px; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* MODALS */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(43,37,32,0.7); z-index: 9998; backdrop-filter: blur(4px); justify-content: center; align-items: flex-start; padding: 2rem 1rem; overflow-y: auto; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--white); border-radius: 20px; max-width: 720px; width: 100%; padding: 3rem; position: relative; margin: auto; }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--beige); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all 0.3s; }
.modal-close:hover { background: var(--clay-bg); color: var(--clay); }
.modal-box h2 { margin-bottom: 0.5rem; font-size: 2rem; }
.modal-box .modal-date { color: var(--ink-lt); font-size: 0.82rem; margin-bottom: 2rem; }
.modal-box h3 { font-size: 1.05rem; color: var(--ink); margin: 1.5rem 0 0.5rem; font-family: var(--font); font-weight: 600; }
.modal-box p, .modal-box li { color: var(--ink-md); font-size: 0.9rem; line-height: 1.8; }
.modal-box ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.modal-box a { color: var(--clay); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visuals { display: none; }
  .owners-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .rent-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .coliving-grid { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .split-intro .container { grid-template-columns: 1fr; }
  .contact-cta-grid { grid-template-columns: 1fr; max-width: 480px; }
}
/* Con seis entradas en el menú, entre 768 y 1000 px hay que apretar el hueco. */
@media (max-width: 1000px) {
  .nav-links { gap: 1.1rem; }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--warm); padding: 2rem; border-bottom: 1px solid rgba(200,189,180,0.3); gap: 1rem; }
  .owners-grid, .reviews-grid, .rooms-grid { grid-template-columns: 1fr; }
  .coliving-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .rent-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 2rem 1.5rem; }
  .whatsapp-btn { bottom: 1.5rem; right: 1.5rem; }
  .whatsapp-tooltip { display: none; }
}

/* ============================================================
   AÑADIDOS 2026 — inversores, honorarios, garantía, calculadora,
   comparativa, portal de la app, antes/después, blog
   ============================================================ */

img { max-width: 100%; }
/* <picture> desaparece de la caja de layout: el <img> queda como hijo directo,
   así el CSS existente (posiciones absolutas, grid) sigue funcionando igual. */
picture { display: contents; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

/* ---- utilidades ---- */
.center { text-align: center; }
.mt2 { margin-top: 2rem; }
.mt3 { margin-top: 3rem; }
.section-dark { background: var(--ink); color: var(--warm); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--warm); }
.section-dark .subtitle { color: rgba(253,250,245,0.62); }
.section-dark .label { color: var(--clay-lt); }

/* ---- badge nuevo en nav ---- */
.nav-badge { display: inline-block; background: var(--sage); color: #fff; font-size: 0.58rem; font-weight: 700; letter-spacing: 1px; padding: 0.15rem 0.4rem; border-radius: 4px; margin-left: 0.35rem; vertical-align: middle; text-transform: uppercase; }

/* ---- hero: sello de garantía ---- */
.hero-seal { position: absolute; bottom: 1.5rem; right: -1rem; background: var(--sage); color: #fff; border-radius: 16px; padding: 0.85rem 1.1rem; box-shadow: var(--shadow); max-width: 190px; line-height: 1.35; }
.hero-seal b { display: block; font-size: 1.5rem; font-family: var(--font); font-weight: 600; }
.hero-seal span { font-size: 0.7rem; letter-spacing: 0.5px; opacity: 0.92; }

/* ---- tres caminos ---- */
.paths { background: var(--warm); }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.path-card { background: var(--white); border: 1px solid rgba(200,189,180,0.3); border-radius: 20px; padding: 2.2rem 1.9rem; display: flex; flex-direction: column; transition: all 0.35s; position: relative; overflow: hidden; }
.path-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-card:hover::after { transform: scaleX(1); }
.path-card.is-sage::after { background: var(--sage); }
.path-ico { font-size: 1.9rem; margin-bottom: 1rem; }
.path-card h3 { margin-bottom: 0.5rem; }
.path-card > p { color: var(--ink-md); font-size: 0.93rem; line-height: 1.75; margin-bottom: 1.4rem; flex-grow: 1; }
.path-price { border-top: 1px solid rgba(200,189,180,0.35); padding-top: 1.1rem; margin-bottom: 1.3rem; }
.path-price strong { display: block; font-family: var(--font); font-size: 2.1rem; color: var(--clay); line-height: 1; }
.path-card.is-sage .path-price strong { color: var(--sage); }
.path-price span { font-size: 0.78rem; color: var(--ink-lt); letter-spacing: 0.5px; }

/* ---- pasos numerados (inversores) ---- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.flow-step { background: rgba(253,250,245,0.06); border: 1px solid rgba(253,250,245,0.13); border-radius: 18px; padding: 1.9rem 1.5rem; position: relative; }
.flow-step .n { font-family: var(--font); font-size: 2.6rem; color: var(--clay-lt); line-height: 1; display: block; margin-bottom: 0.7rem; }
.flow-step h4 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.flow-step p { font-size: 0.87rem; color: rgba(253,250,245,0.62); line-height: 1.7; }
.flow-step .tagline { display: inline-block; margin-top: 0.9rem; font-size: 0.7rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--clay-lt); font-weight: 600; }

/* ---- caja de precio ---- */
.pricebox { background: var(--white); border-radius: 22px; padding: 2.6rem; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1px 1fr; gap: 2.4rem; align-items: center; }
.pricebox .divider { background: rgba(200,189,180,0.4); }
.pricebox .amount { font-family: var(--font); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--ink); line-height: 1; margin-bottom: 0.4rem; }
.pricebox .amount em { font-style: normal; color: var(--clay); }
.pricebox h4 { font-family: var(--font); font-size: 0.72rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-lt); margin-bottom: 0.9rem; }
.pricebox p { font-size: 0.9rem; color: var(--ink-md); line-height: 1.75; }
.pricebox .fineprint { font-size: 0.8rem; color: var(--ink-lt); margin-top: 0.7rem; line-height: 1.6; }

/* ---- garantía 80% ---- */
.guarantee { background: linear-gradient(135deg, var(--sage) 0%, #6B8F80 100%); color: #fff; border-radius: 26px; padding: 3.2rem; display: grid; grid-template-columns: auto 1fr; gap: 2.6rem; align-items: center; box-shadow: 0 24px 60px rgba(122,158,142,0.28); }
.guarantee-num { font-family: var(--font); font-size: clamp(5rem, 11vw, 8.5rem); line-height: 0.85; font-weight: 500; }
.guarantee-num small { display: block; font-size: 0.13em; letter-spacing: 3.5px; text-transform: uppercase; font-family: var(--font); font-weight: 600; opacity: 0.85; margin-top: 0.8rem; }
.guarantee h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.9rem; }
.guarantee p { color: rgba(255,255,255,0.9); font-size: 1rem; line-height: 1.8; max-width: 55ch; }
.guarantee ul { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.6rem; }
.guarantee li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.guarantee li::before { content: "\2713"; font-weight: 700; flex-shrink: 0; }

/* ---- calculadora ---- */
.calc { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 0.95fr 1.05fr; }
.calc-in { padding: 2.6rem; }
.calc-out { background: var(--ink); color: var(--warm); padding: 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.calc-field { margin-bottom: 1.5rem; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.82rem; font-weight: 600; color: var(--ink-md); margin-bottom: 0.6rem; }
.calc-field label b { font-family: var(--font); font-size: 1.4rem; color: var(--clay); font-weight: 600; }
.calc-field input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 5px; background: var(--beige); outline: none; }
.calc-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--clay); cursor: pointer; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(196,130,106,0.45); }
.calc-field input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--clay); cursor: pointer; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(196,130,106,0.45); }
.calc-field .hint { font-size: 0.75rem; color: var(--ink-lt); margin-top: 0.4rem; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.85rem 0; border-bottom: 1px solid rgba(253,250,245,0.12); font-size: 0.9rem; }
.calc-row span { color: rgba(253,250,245,0.65); }
.calc-row b { font-weight: 600; font-size: 1rem; }
.calc-row.is-total { border-bottom: none; border-top: 2px solid var(--sage); margin-top: 0.6rem; padding-top: 1.2rem; }
.calc-row.is-total span { color: var(--warm); font-weight: 600; }
.calc-row.is-total b { font-family: var(--font); font-size: 2.4rem; color: var(--sage-lt); line-height: 1; }
.calc-delta { background: rgba(122,158,142,0.18); border: 1px solid rgba(168,196,184,0.3); border-radius: 14px; padding: 1.1rem 1.3rem; margin-top: 1.5rem; font-size: 0.88rem; line-height: 1.65; color: rgba(253,250,245,0.88); }
.calc-delta b { color: var(--sage-lt); font-size: 1.05rem; }
.calc-note { font-size: 0.74rem; color: rgba(253,250,245,0.42); margin-top: 1.2rem; line-height: 1.6; }

/* ---- comparativa ---- */
.cmp-wrap { overflow-x: auto; border-radius: 20px; box-shadow: var(--shadow); background: var(--white); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.92rem; }
table.cmp th, table.cmp td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid rgba(200,189,180,0.28); }
table.cmp thead th { font-family: var(--font); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--ink-lt); background: var(--warm); }
table.cmp thead th:last-child { background: var(--clay-bg); color: var(--clay); }
table.cmp td:last-child { background: rgba(196,130,106,0.05); font-weight: 500; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }
table.cmp .yes { color: var(--sage); font-weight: 600; }
table.cmp .no { color: var(--ink-lt); }

/* ---- portal de la app ---- */
.portal { background: var(--beige); }
.portal-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 3.5rem; }
.portal-bullets { display: grid; gap: 1rem; margin-top: 1.8rem; }
.portal-bullet { display: flex; gap: 0.9rem; align-items: flex-start; }
.portal-bullet i { width: 30px; height: 30px; border-radius: 9px; background: var(--clay-bg); color: var(--clay); display: grid; place-items: center; font-style: normal; font-size: 0.85rem; flex-shrink: 0; margin-top: 2px; }
.portal-bullet b { display: block; font-size: 0.95rem; margin-bottom: 0.1rem; }
.portal-bullet p { font-size: 0.87rem; color: var(--ink-lt); line-height: 1.65; }

.browser { background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(43,37,32,0.18); overflow: hidden; border: 1px solid rgba(200,189,180,0.35); }
.browser-bar { background: #E9E2D9; padding: 0.65rem 0.9rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid rgba(43,37,32,0.07); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #C9BFB4; }
.browser-url { flex: 1; background: #FDFAF5; border-radius: 20px; padding: 0.25rem 0.9rem; font-size: 0.68rem; color: var(--ink-lt); text-align: center; font-family: var(--font); }
.portal-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.6rem; }
.portal-tab { background: var(--white); border: 1px solid rgba(200,189,180,0.45); border-radius: 50px; padding: 0.55rem 1.3rem; font-size: 0.82rem; font-weight: 600; color: var(--ink-md); cursor: pointer; font-family: var(--font); transition: all 0.25s; }
.portal-tab:hover { border-color: var(--clay); color: var(--clay); }
.portal-tab.active { background: var(--ink); border-color: var(--ink); color: var(--warm); }
.portal-pane { display: none; }
.portal-pane.active { display: block; }

/* --- réplica de la interfaz real de la app (paleta propia, aislada) --- */
.appui { --a-plane:#F5FAF6; --a-surface:#FFF; --a-surface2:#EEF6F1; --a-ink:#10241A; --a-ink2:#3E5849; --a-muted:#6E8177; --a-line:#DCEAE1; --a-line2:#C3D9CC; --a-brand:#1BAF7A; --a-brand-deep:#0F7A54; --a-brand-soft:#E3F5EC; --a-terr-soft:#F7EAE5; --a-terr-deep:#9C5F49; --a-good:#0E8F52; --a-good-bg:#E3F5EC; --a-warn:#B8760A; --a-warn-bg:#FDF3E2; --a-crit:#C62828; --a-crit-bg:#FCEBEB; --a-gray:#6E8177; --a-gray-bg:#EDF1EE;
  display: grid; grid-template-columns: 190px 1fr; background: var(--a-plane); color: var(--a-ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 12px; line-height: 1.45; text-align: left; min-height: 470px; }
.appui * { box-sizing: border-box; }
.appui .rail { background: var(--a-ink); color: #fff; padding: 14px 10px; display: flex; flex-direction: column; gap: 15px; }
.appui .rail-logo { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; font-family: Georgia, serif; }
.appui .rail-mark { width: 21px; height: 21px; border-radius: 7px; background: var(--a-brand); display: grid; place-items: center; color: #06251A; font-size: 11px; font-weight: 800; font-family: system-ui, sans-serif; flex: 0 0 auto; }
.appui .rail-nav { display: flex; flex-direction: column; gap: 1px; }
.appui .rail-nav a { padding: 6px 9px; border-radius: 7px; color: rgba(255,255,255,.62); text-decoration: none; font-size: 11.5px; font-weight: 600; }
.appui .rail-nav a.on { background: var(--a-brand-deep); color: #fff; }
.appui .rail-foot { margin-top: auto; font-size: 9.5px; color: rgba(255,255,255,.4); line-height: 1.5; }
.appui .main { min-width: 0; display: flex; flex-direction: column; }
.appui .topbar { border-bottom: 1px solid var(--a-line); padding: 7px 16px; display: flex; align-items: center; gap: 8px; }
.appui .topbar-right { margin-left: auto; font-size: 9.5px; color: var(--a-muted); }
.appui .content { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.appui .head h4 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; font-family: system-ui, sans-serif; color: var(--a-ink); margin-bottom: 3px; }
.appui .head p { font-size: 11px; color: var(--a-muted); }
.appui .agrid { display: grid; gap: 9px; }
.appui .ag2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.appui .ag3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.appui .ag4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.appui .card { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 11px; padding: 11px 12px; box-shadow: 0 1px 2px rgba(16,36,26,.05); min-width: 0; }
.appui .card-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.appui .card-t { font-size: 11.5px; font-weight: 750; }
.appui .card-sub, .appui .note { font-size: 9.5px; color: var(--a-muted); }
.appui .kpi { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 11px; padding: 10px 11px; box-shadow: 0 1px 2px rgba(16,36,26,.05); min-width: 0; }
.appui .kpi .lab { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--a-muted); margin-bottom: 2px; }
.appui .kpi-v { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.appui .kpi-f { font-size: 9px; color: var(--a-muted); margin-top: 2px; display: flex; gap: 5px; flex-wrap: wrap; }
.appui .delta.up { color: var(--a-good); font-weight: 750; }
.appui .delta.down { color: var(--a-crit); font-weight: 750; }
.appui .pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.appui .pill--good { background: var(--a-good-bg); color: var(--a-good); }
.appui .pill--warn { background: var(--a-warn-bg); color: var(--a-warn); }
.appui .pill--bad { background: var(--a-crit-bg); color: var(--a-crit); }
.appui .pill--gray { background: var(--a-gray-bg); color: var(--a-gray); }
.appui .pill--terr { background: var(--a-terr-soft); color: var(--a-terr-deep); }
.appui .pill--brand { background: var(--a-brand-soft); color: var(--a-brand-deep); }
.appui .chips { display: flex; gap: 5px; flex-wrap: wrap; }
.appui .chip { border: 1px solid var(--a-line); border-radius: 999px; padding: 2px 8px; font-size: 9.5px; color: var(--a-ink2); background: var(--a-surface); }
.appui table.t { width: 100%; border-collapse: collapse; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.appui table.t th { font-size: 8.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--a-muted); text-align: right; padding: 4px 6px; border-bottom: 1px solid var(--a-line); white-space: nowrap; }
.appui table.t th:first-child, .appui table.t td:first-child { text-align: left; }
.appui table.t td { padding: 6px 6px; border-bottom: 1px solid var(--a-line); text-align: right; white-space: nowrap; }
.appui table.t tbody tr:last-child td { border-bottom: none; }
.appui table.t .tot td { font-weight: 800; background: var(--a-surface2); border-top: 2px solid var(--a-line2); }
.appui .pos { color: var(--a-good); }
.appui .neg { color: var(--a-crit); }
.appui .alerts { display: flex; flex-direction: column; gap: 6px; }
.appui .alert { padding: 8px 10px; border: 1px solid var(--a-line); border-left-width: 3px; border-radius: 8px; background: var(--a-surface); }
.appui .alert--bad { border-left-color: var(--a-crit); }
.appui .alert--warn { border-left-color: var(--a-warn); }
.appui .alert--gray { border-left-color: var(--a-line2); }
.appui .alert-t { font-weight: 750; font-size: 10.5px; margin-bottom: 1px; }
.appui .alert-d { font-size: 9.5px; color: var(--a-muted); }
.appui .bars { display: flex; flex-direction: column; gap: 7px; }
.appui .bar-hd { display: flex; justify-content: space-between; font-size: 10.5px; margin-bottom: 3px; }
.appui .bar-lab { color: var(--a-ink2); }
.appui .bar-val { font-weight: 750; }
.appui .bar-track { height: 6px; border-radius: 4px; background: var(--a-surface2); overflow: hidden; }
.appui .bar-fill { height: 100%; border-radius: 4px; background: var(--a-brand); }
.appui .btnp { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px; background: var(--a-brand); color: #06251A; font-size: 10px; font-weight: 700; }

/* ---- antes / después ---- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.ba { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(200,189,180,0.25); }
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-side { position: relative; }
.ba-side img { width: 100%; height: 260px; object-fit: cover; display: block; }
.ba-tag { position: absolute; top: 0.8rem; left: 0.8rem; background: rgba(43,37,32,0.82); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 50px; }
.ba-side.is-after .ba-tag { background: var(--clay); }
.ba-body { padding: 1.5rem 1.6rem; }
.ba-body h4 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.ba-body .loc { font-size: 0.72rem; color: var(--clay); font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 0.7rem; }
.ba-body p { font-size: 0.88rem; color: var(--ink-md); line-height: 1.7; }
.ba-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.ba-meta span { background: var(--clay-bg); color: var(--clay); font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 50px; }

/* ---- blog ---- */
.blogcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blogcard { background: var(--white); border: 1px solid rgba(200,189,180,0.3); border-radius: 18px; padding: 1.8rem 1.6rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all 0.35s; }
.blogcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(196,130,106,0.4); }
.blogcard .cat { font-size: 0.64rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--clay); margin-bottom: 0.7rem; }
.blogcard h4 { font-size: 1.18rem; margin-bottom: 0.6rem; line-height: 1.3; }
.blogcard p { font-size: 0.86rem; color: var(--ink-lt); line-height: 1.7; flex-grow: 1; }
.blogcard .more { font-size: 0.8rem; color: var(--clay); font-weight: 600; margin-top: 1.1rem; }

/* ---- formulario ---- */
.leadform { background: var(--white); border-radius: 22px; padding: 2.4rem; box-shadow: var(--shadow); }
.leadform .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.leadform label { display: block; font-size: 0.76rem; font-weight: 600; color: var(--ink-md); margin-bottom: 0.35rem; letter-spacing: 0.3px; }
.leadform input, .leadform select, .leadform textarea { width: 100%; font-family: var(--font); font-size: 0.92rem; padding: 0.8rem 1rem; border: 1.5px solid rgba(200,189,180,0.55); border-radius: 12px; background: var(--warm); color: var(--ink); }
.leadform input:focus, .leadform select:focus, .leadform textarea:focus { border-color: var(--clay); outline: none; background: var(--white); }
.leadform textarea { min-height: 96px; resize: vertical; }
.leadform .full { grid-column: 1 / -1; }
.leadform .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.78rem; color: var(--ink-lt); line-height: 1.6; margin-top: 0.4rem; }
.leadform .consent input { width: auto; margin-top: 3px; flex-shrink: 0; }
.leadform .consent a { color: var(--clay); cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.leadform .is-invalid { border-color: #C0392B !important; background: #FDF3F1; }
.wa-error { color: #C0392B; font-size: 0.83rem; font-weight: 600; margin-bottom: 0.8rem; }
.wa-hint { font-size: 0.76rem; color: var(--ink-lt); text-align: center; margin-top: 0.8rem; line-height: 1.6; }

/* ---- responsive de los añadidos ---- */
@media (max-width: 1024px) {
  .paths-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .portal-lead { grid-template-columns: 1fr; gap: 2.2rem; }
  .calc { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .blogcards { grid-template-columns: 1fr 1fr; }
  .guarantee { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.4rem; text-align: center; justify-items: center; }
  .guarantee p { margin: 0 auto; }
  .guarantee ul { text-align: left; }
  .appui { grid-template-columns: 1fr; min-height: 0; }
  .appui .rail { display: none; }
}
@media (max-width: 768px) {
  .flow { grid-template-columns: 1fr; }
  .pricebox { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.9rem; }
  .pricebox .divider { height: 1px; width: 100%; }
  .blogcards { grid-template-columns: 1fr; }
  .ba-side img { height: 190px; }
  .leadform .fgrid { grid-template-columns: 1fr; }
  .leadform { padding: 1.6rem; }
  .calc-in, .calc-out { padding: 1.7rem; }
  .hero-seal { display: none; }
  .appui { font-size: 11px; }
  .appui .ag4 { grid-template-columns: 1fr 1fr; }
  .appui .ag3 { grid-template-columns: 1fr 1fr; }
  .appui .ag2 { grid-template-columns: 1fr; }
  .appui .content { padding: 11px 11px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   TIPOGRAFÍA — UNA SOLA FAMILIA EN TODA LA WEB
   Una única sans (Inter) para titulares, textos, cifras, botones,
   formularios, logotipo y la interfaz del portal. La jerarquía la
   hacen el peso, el tamaño y el interletrado, no cambiar de fuente.
   Referencia de tono: sobrio e institucional.
   ============================================================ */
html, body, button, input, select, textarea, optgroup,
h1, h2, h3, h4, h5, h6, .label, .subtitle, .btn-primary, .btn-sage,
.btn-ghost, .btn-wa, .filter-btn, .faq-q, .portal-tab, .appui, .appui * {
  font-family: var(--font);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

h1 { font-size: clamp(2.25rem, 4.6vw, 3.85rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.42rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.28; }
h4 { font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }

/* El acento del titular iba en cursiva de serif; en una sans queda
   pobre, así que pasa a ser acento de color con el mismo peso. */
h1 em, h2 em, h3 em { font-style: normal; color: var(--clay); font-weight: 700; }
.section-dark h1 em, .section-dark h2 em, .guarantee h3 em { color: var(--clay-lt); }

/* Cifras: mismo peso y cifras tabulares en toda la web, para que las
   columnas de números cuadren y no bailen al cambiar de valor. */
.hero-stat h3, .owner-num, .process-num, .path-price strong, .flow-step .n,
.pricebox .amount, .guarantee-num, .calc-field label b, .calc-row b,
.hero-seal b, .room-price, .review-quote {
  font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -0.035em;
}

/* Los display estaban dimensionados para una serif: una sans del mismo
   tamaño pesa mucho más, así que se bajan. */
.hero-stat h3 { font-size: clamp(1.75rem, 3vw, 2.1rem); }
.owner-num { font-size: 2.2rem; font-weight: 700; color: rgba(43,37,32,0.14); }
.process-num { font-size: 2.2rem; font-weight: 700; color: rgba(43,37,32,0.16); }
.path-price strong { font-size: 1.95rem; }
.flow-step .n { font-size: 1.45rem; letter-spacing: 0.02em; color: var(--clay-lt); }
.pricebox .amount { font-size: clamp(2.3rem, 4.4vw, 3.1rem); letter-spacing: -0.045em; }
.guarantee-num { font-size: clamp(3.4rem, 8vw, 5.8rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.92; }
.guarantee-num small { font-size: 0.16em; font-weight: 600; letter-spacing: 2.5px; }
.calc-row.is-total b { font-size: clamp(1.7rem, 3.2vw, 2.1rem); }
.room-price { font-size: 1.45rem; }
.room-price span { font-weight: 500; letter-spacing: 0; }
.review-quote { font-size: 2rem; color: rgba(196,130,106,0.3); margin-bottom: 0.5rem; }
.hero-seal b { font-size: 1.7rem; }

/* Micro-tipografía coherente en el resto de piezas */
.label { letter-spacing: 2.4px; font-weight: 600; font-size: 0.68rem; }
.subtitle { font-weight: 400; }
.nav-links a, .trust-item, .faq-q, .btn-ghost, .filter-btn { font-weight: 500; }
.btn-primary, .btn-sage, .btn-wa { font-weight: 600; letter-spacing: 0.01em; }
.hero-text strong { font-weight: 650; color: var(--ink); }
.section-dark .hero-text strong { color: var(--warm); }

/* La interfaz del portal usa la misma familia que el resto de la web */
.appui .rail-logo, .appui .rail-mark, .appui .head h4 { font-family: var(--font); }
.appui { font-feature-settings: "tnum"; }

/* ---- franja de ejecución: obra, deco, reposicionamiento ---- */
.exec-strip { margin-top: 2.2rem; background: var(--white); border: 1px solid rgba(200,189,180,0.35); border-radius: 20px; padding: 1.9rem 2rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; box-shadow: var(--shadow); }
.exec-lead h3 { font-size: 1.15rem; max-width: 22ch; }
.exec-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.exec-item b { display: block; font-size: 0.92rem; margin-bottom: 0.3rem; }
.exec-item p { font-size: 0.82rem; color: var(--ink-lt); line-height: 1.65; }
@media (max-width: 1120px) { .exec-strip { grid-template-columns: 1fr; gap: 1.4rem; } .exec-items { grid-template-columns: 1fr; gap: 1rem; } .exec-strip .btn-primary { justify-self: start; } }

/* ---- nuestra historia ---- */
.story-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: start; }
.story-p { color: rgba(253,250,245,0.78); font-size: 1.02rem; line-height: 1.85; margin-top: 1.2rem; max-width: 58ch; }
.story-p strong, .story-fails b { color: var(--warm); }
.story-fails { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.story-fails li { position: relative; padding-left: 1.6rem; color: rgba(253,250,245,0.68); font-size: 0.93rem; line-height: 1.7; }
.story-fails li::before { content: "\2715"; position: absolute; left: 0; top: 0.1rem; color: var(--clay-lt); font-weight: 700; }
.story-key { background: rgba(196,130,106,0.12); border: 1px solid rgba(212,160,144,0.3); border-radius: 20px; padding: 2rem 1.9rem; }
.story-key b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; color: var(--clay-lt); line-height: 1; margin-bottom: 0.8rem; font-variant-numeric: tabular-nums; }
.story-key p { color: rgba(253,250,245,0.82); font-size: 0.95rem; line-height: 1.8; }
.story-key strong { color: var(--warm); }
.story-close { margin-top: 1.6rem; background: rgba(253,250,245,0.05); border: 1px solid rgba(253,250,245,0.12); border-radius: 20px; padding: 1.9rem; }
.story-close p { color: rgba(253,250,245,0.78); font-size: 0.97rem; line-height: 1.8; }
.story-close strong { color: var(--warm); }
@media (max-width: 1024px) { .story-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* Texto solo para lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- BOTONES: texto blanco siempre, y fondo lo bastante oscuro ----
   Regla: ningún botón de color lleva letra oscura. Y como el blanco
   sobre los tonos pastel de marca no se leía (2–3:1), los rellenos
   usan una versión más profunda del mismo color, que además da un
   aire menos "startup" y más institucional. Los pastel siguen
   mandando en acentos, bordes y fondos, que es donde funcionan.
   Comprobado: todos por encima de 4,5:1 (WCAG AA). */
:root {
  --clay-btn:      #A85F42;  /* 4,7:1 sobre blanco */
  --clay-btn-h:    #8E4E35;
  --sage-btn:      #4F7565;  /* 5,2:1 */
  --sage-btn-h:    #3E5F52;
  --wa-btn:        #0D7C3F;  /* 5,3:1 */
  --wa-btn-h:      #0A6633;
}
.btn-primary, .nav-cta { background: var(--clay-btn) !important; color: #fff !important; }
.btn-primary:hover, .nav-cta:hover { background: var(--clay-btn-h) !important; color: #fff !important; box-shadow: 0 8px 25px rgba(168,95,66,0.32) !important; }
.btn-sage { background: var(--sage-btn); color: #fff; }
.btn-sage:hover { background: var(--sage-btn-h); color: #fff; box-shadow: 0 8px 25px rgba(79,117,101,0.32); }
.btn-wa { background: var(--wa-btn); color: #fff; }
.btn-wa:hover { background: var(--wa-btn-h); color: #fff; box-shadow: 0 8px 25px rgba(13,124,63,0.3); }
.filter-btn:hover, .filter-btn.active { background: var(--sage-btn); color: #fff; border-color: var(--sage-btn); }
.room-badge { background: var(--sage-btn); color: #fff; }
.btn-ghost:hover { border-color: var(--clay-btn); color: var(--clay-btn); }
.appui .btnp { background: var(--a-brand-deep); color: #fff; }
.appui .rail-mark { color: #fff; background: var(--a-brand-deep); }
.hero-seal { background: var(--sage-btn); }
.guarantee { background: linear-gradient(135deg, #4F7565 0%, #3C5C4E 100%); box-shadow: 0 24px 60px rgba(60,92,78,0.3); }
.leadform button[type=submit] { border: none; }

/* Las tablas de la maqueta del portal no deben empujar la caja */
.appui .card { overflow-x: auto; }

/* En móvil, todo lo que se pulsa con el dedo necesita al menos 44 px */
@media (max-width: 768px) {
  .mobile-toggle { padding: 10px 6px; min-height: 44px; min-width: 44px; display: flex; flex-direction: column; justify-content: center; }
  .portal-tab, .filter-btn { min-height: 44px; padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .faq-q { min-height: 44px; }
  .footer-legal-links a, .modal-close { min-height: 44px; display: inline-flex; align-items: center; }
  .modal-close { min-width: 44px; justify-content: center; }
  /* el botón "Consultar" lleva padding en línea; se compensa aquí */
  .room-price-row .btn-sage { min-height: 44px; display: inline-flex; align-items: center; }
  /* iOS hace zoom automático al enfocar cualquier campo con letra menor de
     16px; con 16px exactos el zoom no se dispara y el formulario no salta. */
  .leadform input, .leadform select, .leadform textarea { font-size: 16px; }
  /* CTAs principales a ancho completo y con altura de pulgar en móvil */
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; text-align: center; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .path-card .btn-primary, .path-card .btn-sage, .path-card .btn-ghost { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .leadform button[type=submit] { min-height: 52px; }
  /* la barra pegajosa no debe comerse media pantalla en móvil */
  .nav-links.active a { min-height: 44px; display: flex; align-items: center; }
}

/* El banner de consentimiento lo inyecta site.js con su propio <style>;
   aquí solo se le impide colarse en cualquier impresión o PDF. */
@media print { #fr-cookies { display: none !important; } }
