/* =========================================================
   OPCIÓN B — "Fresca y moderna"
   Portada a pantalla completa con foto, tipografía de palo seco,
   tarjetas con texto sobre la foto. Colores en :root.
   ========================================================= */
:root {
  --naranja: #f57a00;      /* naranja del logo */
  --naranja-osc: #d96a00;
  --verde: #1a1a1a;        /* títulos y fondos oscuros (negro del logo) */
  --verde-2: #3d3d3d;
  --terracota: #f57a00;    /* botones */
  --terracota-osc: #a84f00;/* textos en naranja sobre blanco */
  --oro: #f57a00;
  --crema: #ffffff;
  --crema-2: #f4f4f2;      /* gris muy claro */
  --tinta: #1a1a1a;
  --gris: #555555;
  --blanco: #ffffff;
  --f-titulo: "Poppins", system-ui, sans-serif;
  --radio: 22px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6.8vw, 5.2rem); }
.eyebrow { color: var(--terracota-osc); }
.eyebrow::before { background: var(--terracota); }

.site-header { background: rgba(255,255,255,.94); }
.logo-mark { border-radius: 12px; box-shadow: none; background: var(--terracota); color: #fff; font-family: var(--f-titulo); font-weight: 700; }
.logo-text { font-weight: 700; }

/* Portada a pantalla completa */
.hero { position: relative; padding: 0; min-height: min(88vh, 820px); display: grid; align-items: end; color: #fff; }
.hero-grid { display: block; position: static; padding: 7rem 0 4rem; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero h1, .hero .lead { color: #fff; }
.hero h1 em { color: var(--oro); font-style: normal; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero .eyebrow { color: var(--oro); }
.hero .eyebrow::before { background: var(--oro); }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--tinta); }
.hero-points { color: #fff; }
.hero-points li::before { color: var(--oro); }
.hero-media { position: absolute; inset: 0; padding: 0; z-index: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,17,.25) 0%, rgba(10,20,17,.55) 45%, rgba(10,20,17,.85) 100%); }
.frame-main { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; margin: 0; }
.frame-small, .sprig { display: none; }

/* Servicios: texto sobre la foto */
.service { position: relative; min-height: 380px; display: flex; align-items: flex-end; background: var(--verde); }
.service img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,20,17,.88) 100%); }
.service-body { position: relative; z-index: 1; }
.service-body h3 { color: #fff; }
.service-body p { color: rgba(255,255,255,.88); }
.extras { border: 0; background: var(--crema-2); }

.about-media { border-radius: var(--radio); }
.values div { border-left-color: var(--terracota); }
.values dt { font-size: 1.2rem; }

/* Galería en cuadrícula regular */
.gallery { columns: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.gallery li { margin: 0; }
.gallery a, .gallery img { height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.steps li { background: rgba(255,255,255,.06); border: 0; border-radius: var(--radio); padding: 1.6rem; }
.step-n { font-weight: 700; font-size: 2.4rem; }

.faq details { background: var(--crema-2); border: 0; border-radius: 14px; margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary { padding-right: 2rem; }
.form { box-shadow: 0 20px 50px -25px rgba(0,0,0,.3); }
input, select, textarea { background: #fff; border-color: #cfd8d3; }
.ci { background: #fff; }
.site-footer { background: var(--verde); }

/* Botones con texto oscuro sobre naranja (contraste AA) */
.btn { color: #1a1a1a; }
.btn:hover { background: var(--naranja-osc); border-color: var(--naranja-osc); color: #1a1a1a; }
.btn-ghost { color: var(--tinta); background: transparent; border-color: var(--tinta); }
.btn-ghost:hover { background: var(--tinta); color: #fff; }
.btn-whatsapp, .btn-whatsapp:hover { color: #fff; }
.values div { border-left-color: var(--naranja); }
.extras li::before { color: var(--naranja-osc); }
.ci { color: var(--naranja-osc); }
.hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.88) 100%); }
.service::after { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88) 100%); }

/* =========================================================
   Web multipágina — componentes nuevos
   ========================================================= */
.nav a[aria-current="page"]:not(.btn) { color: var(--terracota-osc); font-weight: 700; }
@media (min-width: 960px) { .nav a[aria-current="page"]:not(.btn)::after { right: 0; } }

a.service { text-decoration: none; color: inherit; }
a.service:focus-visible { outline-offset: 4px; }

.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section-head-row > div { max-width: 640px; }
.link-arrow { font-weight: 700; color: var(--terracota-osc); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { margin-left: .25rem; }
.more-link { margin-top: 2rem; text-align: center; }

/* Ventajas bajo la portada */
.features { padding: 3.5rem 0; background: var(--crema-2); }
.features-grid { display: grid; gap: 1.8rem; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature h3 { font-size: 1.15rem; margin: .8rem 0 .3rem; }
.feature p { color: var(--gris); font-size: .96rem; margin: 0; }
.feature-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--naranja); display: grid; place-items: center; }
.feature-ic svg { width: 26px; height: 26px; fill: none; stroke: #1a1a1a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Formatos */
.formats { display: grid; gap: 1.2rem; }
@media (min-width: 768px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.format { display: grid; grid-template-columns: 110px 1fr; gap: 1.1rem; align-items: center; background: #fff; border-radius: 18px; padding: .9rem; }
.format img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.format h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.format p { color: var(--gris); font-size: .93rem; margin: 0; }

/* Banda de llamada a la acción */
.cta-band { background: var(--naranja); padding: 3.5rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band h2 { color: #1a1a1a; margin-bottom: .3rem; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta-band p { color: #2a2a2a; margin: 0; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.cta-band .btn:hover { background: #000; border-color: #000; color: #fff; }
.cta-band .btn-ghost-light { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.cta-band .btn-ghost-light:hover { background: #1a1a1a; color: #fff; }

/* Cabecera de las páginas interiores */
.page-hero { position: relative; color: #fff; padding: 6rem 0 3.5rem; overflow: hidden; background: #1a1a1a; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.8)); }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; margin-left: max(1.25rem, calc((100% - var(--max)) / 2)); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.page-hero .lead { color: rgba(255,255,255,.9); }
.page-hero .eyebrow { color: var(--naranja); }
.page-hero .eyebrow::before { background: var(--naranja); }
@media (min-width: 960px) { .page-hero { padding: 8rem 0 5rem; } }

/* Submenú de servicios */
.subnav { position: sticky; top: 76px; z-index: 30; background: #fff; border-bottom: 1px solid #e6e6e3; }
.subnav .container { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: none; }
.subnav a { flex: none; padding: .45rem 1rem; border-radius: 999px; background: var(--crema-2); color: var(--tinta); text-decoration: none; font-weight: 600; font-size: .92rem; }
.subnav a:hover { background: var(--naranja); }
.sdetails { display: grid; gap: 5rem; }
.sdetail { display: grid; gap: 2rem; align-items: center; scroll-margin-top: 150px; }
.sdetail-media { margin: 0; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 3; }
.sdetail-media img { width: 100%; height: 100%; object-fit: cover; }
.sdetail-copy p { color: var(--gris); }
@media (min-width: 960px) {
  .sdetail { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .sdetail-rev .sdetail-media { order: 2; }
}
.checklist { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .55rem; }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--naranja); color: #1a1a1a; font-size: .75rem; font-weight: 700; display: grid; place-items: center; margin-top: .2rem; }

.extras-grid, .values-grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .extras-grid, .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .extras-grid { grid-template-columns: repeat(3, 1fr); } .values-grid { grid-template-columns: repeat(4, 1fr); } }
.extra, .value { background: #fff; border-radius: 18px; padding: 1.6rem; border-top: 4px solid var(--naranja); }
.extra h3, .value h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.extra p, .value p { color: var(--gris); margin: 0; font-size: .96rem; }
.value-n { font-family: var(--f-titulo); font-weight: 700; font-size: 2rem; color: var(--naranja); display: block; margin-bottom: .4rem; }

.trio { display: grid; gap: 1.2rem; }
@media (min-width: 768px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio figure { margin: 0; }
.trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radio); }
.trio figcaption { margin-top: .7rem; font-weight: 600; color: var(--gris); }

/* Filtros de la galería */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { font: inherit; font-weight: 600; font-size: .95rem; padding: .6rem 1.2rem; border-radius: 999px; border: 1.5px solid #d4d4d0; background: #fff; color: var(--tinta); cursor: pointer; transition: background .2s, border-color .2s; }
.filter:hover { border-color: var(--naranja); }
.filter.is-active { background: var(--naranja); border-color: var(--naranja); color: #1a1a1a; }
.gallery li[hidden] { display: none; }

/* Pie más completo */
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-title { font-family: var(--f-texto); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--naranja); margin-bottom: .9rem; }
.site-footer .footer-list { display: grid; gap: .5rem; }
.copy { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 1.5rem; }
.copy a { color: #9c9c9c; }

/* Páginas legales con la cabecera nueva */
.legal { padding: 3.5rem 0 5rem; }
.section-tint .faq details { background: #fff; }
.ci-text { font-weight: 700; font-size: .9rem; }
