/* Fuentes alojadas en el propio servidor (Poppins y Michroma, SIL Open Font License) */
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/michroma-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/michroma-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/poppins-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/poppins-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/poppins-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/poppins-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/poppins-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/poppins-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/poppins-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/poppins-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Páginas por zona – Construc Inmobiliaria (misma paleta del manual de marca) */
:root { --bosque:#0E3B2E; --bosque-2:#0a2c22; --oliva:#5B7F4A; --beige:#E9DDB8; --dorado:#C8A96A; --crema:#F6F4EE; --gris:#5c6360; --linea:rgba(14,59,46,.12); --radio:18px; --display:"Michroma","Poppins",sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Poppins", system-ui, sans-serif; color: #1A1A1A; background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.angosto { max-width: 860px; }
h1, h2, h3 { color: var(--bosque); line-height: 1.2; font-weight: 600; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px "Poppins", sans-serif; padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .2s, background .2s, color .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-dorado { background: var(--dorado); color: var(--bosque); }
.btn-dorado:hover { background: var(--beige); }
.btn-claro { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-claro:hover { background: #fff; color: var(--bosque); }
.btn-linea { border-color: var(--bosque); color: var(--bosque); padding: 10px 18px; font-size: 14px; }
.btn-linea:hover { background: var(--bosque); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 50; background: rgba(14,59,46,.97); box-shadow: 0 6px 20px -12px rgba(0,0,0,.5); }
.top-in { display: flex; align-items: center; gap: 18px; height: 70px; }
.top .logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.9); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--dorado); }
.langs { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.langs a { color: #fff; text-decoration: none; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 999px; }
.langs a[aria-current] { background: var(--dorado); color: var(--bosque); }

/* Portada */
.hero { position: relative; color: #fff; padding: 110px 0 120px; background: var(--bosque) var(--bg) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(100deg, rgba(10,44,34,.94), rgba(14,59,46,.78) 55%, rgba(14,59,46,.45)); }
.hero .wrap { position: relative; }
.migas { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.migas a { color: var(--beige); text-decoration: none; }
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--beige); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--dorado); }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); margin: 16px 0 16px; max-width: 820px; }
.sub { font-size: clamp(16px, 1.7vw, 19px); font-weight: 300; max-width: 660px; color: rgba(255,255,255,.9); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Franja de confianza */
.confianza { position: relative; margin-top: -54px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radio); box-shadow: 0 18px 40px -18px rgba(14,59,46,.35); overflow: hidden; }
.confianza div { padding: 22px 20px; border-right: 1px solid var(--linea); }
.confianza div:last-child { border-right: 0; }
.confianza strong { display: block; color: var(--bosque); font-size: 19px; }
.confianza span { font-size: 13.5px; color: var(--gris); }

/* Secciones */
.sec { padding: 80px 0; }
.sec-crema { background: var(--crema); }
.tit { font-size: clamp(26px, 3.4vw, 38px); text-align: center; margin-bottom: 40px; }
.dos { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 54px; align-items: start; }
.texto p { font-size: 16.5px; color: #333; margin-bottom: 18px; }
.lado { background: var(--crema); border-radius: var(--radio); padding: 28px; }
.lado h2 { font-size: 20px; margin-bottom: 14px; }
.lado h2 + ul { margin-bottom: 26px; }
.check, .dist { list-style: none; display: grid; gap: 10px; }
.check li { padding-left: 30px; position: relative; font-size: 15px; }
.check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--oliva) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.dist li { display: flex; justify-content: space-between; background: #fff; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.dist strong { color: var(--bosque); }
.preventa { margin-top: 26px; background: var(--bosque); color: #fff; border-radius: var(--radio); padding: 26px; }
.preventa .badge { display: inline-block; background: var(--dorado); color: var(--bosque); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 8px; }
.preventa p { color: rgba(255,255,255,.9); margin: 12px 0 18px; }

/* Tarjetas de proyecto */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.pcard { background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: 0 8px 24px -14px rgba(14,59,46,.4); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 20px 34px -16px rgba(14,59,46,.5); }
.pcard-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.pcard-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard-img > img { transform: scale(1.05); }
.pcard-logo { position: absolute; left: 14px; bottom: 14px; width: 66px; height: 66px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.pcard-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h3 { font-size: 20px; }
.ubic { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: var(--gris); }
.ubic svg { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--oliva); stroke-width: 2; }
.dato { font-size: 14.5px; }
.precio { margin: 8px 0 14px; font-size: 22px; font-weight: 700; color: var(--bosque); }
.precio small { font-size: 13px; font-weight: 500; color: var(--gris); }
.precio.consultar { font-size: 16px; }
.pcard .btn { margin-top: auto; align-self: flex-start; }
.nota { text-align: center; font-size: 13px; color: var(--gris); margin-top: 22px; }

/* Pasos */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pasos li { background: var(--crema); border-radius: var(--radio); padding: 24px; }
.pasos .n { font-family: var(--display); color: var(--dorado); font-size: 22px; }
.pasos h3 { font-size: 18px; margin: 6px 0; }
.pasos p { font-size: 14.5px; color: var(--gris); }

/* Preguntas */
.faq details { background: #fff; border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 30px 18px 0; font-weight: 600; color: var(--bosque); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--dorado); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: #444; }

/* Otras zonas */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--linea); color: var(--bosque); font-weight: 500; font-size: 14.5px; transition: .2s; }
.chip:hover { background: var(--bosque); color: #fff; border-color: var(--bosque); }

/* CTA y pie */
.cta { background: linear-gradient(135deg, var(--bosque-2), var(--bosque)); color: #fff; text-align: center; padding: 80px 0; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: rgba(255,255,255,.82); max-width: 560px; margin: 12px auto 26px; }
.pie { background: var(--bosque-2); color: rgba(255,255,255,.75); padding: 46px 0 30px; text-align: center; font-size: 14px; }
.pie .logo img { height: 44px; margin: 0 auto 16px; }
.pie a { color: var(--beige); text-decoration: none; }
.pie a:hover { color: var(--dorado); }
.zonas-pie { margin-top: 14px; line-height: 2; }
.legal { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,.4); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 960px) {
  .dos { grid-template-columns: minmax(0, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .confianza { grid-template-columns: repeat(2, 1fr); }
  .confianza div:nth-child(2) { border-right: 0; }
  .confianza div:nth-child(-n+2) { border-bottom: 1px solid var(--linea); }
  .nav { display: none; }
  .langs { margin-left: auto; }
}
@media (max-width: 560px) {
  .top .logo img { height: 32px; }
  .btn-sm span { display: none; }
  .btn-sm { padding: 9px 11px; }
  .pasos { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 100px; }
  .sec { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pcard, .btn, .pcard-img > img { transition: none; } }

/* Navegadores antiguos sin aspect-ratio */
@supports not (aspect-ratio: 1 / 1) { .pcard-img { height: 220px; } }

/* Paso suave entre páginas (navegadores que lo permiten) */
@view-transition { navigation: auto; }
