/* NODO — hoja de estilos principal (colores tomados del logo) */
:root {
    --navy: #0a466c;
    --navy-dark: #062f49;
    --teal: #139cbb;
    --amber: #f39a1e;
    --amber-dark: #d97f08;
    --amber-soft: #febb65;
    --ink: #24323d;
    --muted: #5d6b76;
    --sky: #e3f1f8;
    --line: #dbe4ea;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(6, 47, 73, 0.12);
    --head: 'Barlow Semi Condensed', 'Barlow', sans-serif;
    --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; color: var(--navy); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.eyebrow { font-family: var(--head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-size: .9rem; margin-bottom: .6rem; display: block; }
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; text-align: center; margin-bottom: .9rem; }
.section-lead { text-align: center; color: var(--muted); font-size: 1.15rem; max-width: 820px; margin: 0 auto 48px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-family: var(--head); font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }

/* Barra de temporada + header */
.season-bar { background: var(--navy-dark); color: #fff; text-align: center; font-size: .92rem; padding: .45rem 1rem; }
.season-bar a { color: var(--amber-soft); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(6,47,73,.1); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand b { font-family: var(--head); font-size: 1.6rem; color: var(--navy); letter-spacing: .02em; }
.brand small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-top: -4px; }
.menu { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--teal); }
.menu .btn { color: #fff; padding: .6rem 1.3rem; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.burger span { display: block; height: 3px; background: var(--navy); margin: 6px 4px; border-radius: 2px; }

/* Hero con formulario (estilo foto completa) */
.hero { position: relative; color: #fff; padding: 72px 0 80px; background: var(--navy-dark) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,73,.92) 0%, rgba(6,47,73,.72) 48%, rgba(6,47,73,.35) 100%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; margin-bottom: 1.1rem; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 620px; margin-bottom: 1.8rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .legal { margin-top: 1.6rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.hero .legal i { color: var(--amber-soft); margin-right: .35rem; }

.form-card { background: rgba(255,255,255,.96); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--ink); }
.form-card h2 { font-size: 1.6rem; margin-bottom: .2rem; }
.form-card p.sub { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .98rem; background: #fff; color: var(--ink); }
.lead-form textarea { min-height: 92px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.lead-form button { width: 100%; }
.form-message { display: none; grid-column: 1 / -1; padding: .7rem .9rem; border-radius: 8px; font-size: .95rem; }
.form-message.success { display: block; background: #e7f7ee; color: #146c3a; }
.form-message.error { display: block; background: #fdecec; color: #9b1c1c; }

/* Franja ámbar de valores */
.values-band { background: var(--amber); color: #fff; padding: 18px 0; }
.values-band ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.values-band i { margin-right: .45rem; }

/* Tarjetas de solución con foto */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sol-card { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: var(--navy) center/cover no-repeat; isolation: isolate; }
.sol-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,47,73,.15) 20%, rgba(6,47,73,.92) 85%); transition: background .3s; }
.sol-card:hover::before { background: linear-gradient(180deg, rgba(6,47,73,.35) 0%, rgba(6,47,73,.96) 75%); }
.sol-card .badge { position: absolute; top: 18px; left: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.sol-card h3 { color: #fff; font-size: 1.75rem; margin-bottom: .4rem; }
.sol-card p { font-size: .98rem; color: rgba(255,255,255,.9); margin-bottom: .8rem; }
.sol-card .more { font-family: var(--head); font-weight: 600; color: var(--amber-soft); }

/* Bloque celeste con foto y datos */
.sky { background: var(--sky); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 480px; object-fit: cover; }
.split h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; margin-bottom: 1rem; }
.split p { color: var(--muted); margin-bottom: 1.4rem; }
.facts { display: grid; gap: 18px; }
.fact b { display: block; font-family: var(--head); font-size: 2.3rem; color: var(--teal); line-height: 1; }
.fact span { font-size: .98rem; color: var(--ink); font-weight: 500; }

/* Cuándo usar */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.use { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.use i { font-size: 1.6rem; color: var(--amber); margin-bottom: .8rem; }
.use h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.use p { color: var(--muted); font-size: .98rem; }

/* Industrias */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind { position: relative; height: 210px; border-radius: var(--radius); overflow: hidden; background: var(--navy) center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; isolation: isolate; }
.ind::before { content: ""; position: absolute; inset: 0; background: rgba(6,47,73,.55); z-index: -1; transition: background .3s; }
.ind:hover::before { background: rgba(6,47,73,.75); }
.ind h3 { color: #fff; font-size: 1.5rem; font-weight: 500; padding: 0 14px; }

/* Comparación */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--head); font-size: 1.15rem; font-weight: 600; }
.compare td:first-child { font-weight: 600; color: var(--navy); width: 22%; }
.compare tr:last-child td { border-bottom: 0; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: #fff; font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.3rem; margin: .5rem 0 .35rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* Testimonios */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--amber); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote p { font-size: 1rem; color: var(--ink); flex: 1; margin-bottom: 1.2rem; }
.quote b { font-family: var(--head); color: var(--navy); font-size: 1.15rem; display: block; }
.quote span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 10px; margin-bottom: 10px; padding: 16px 20px; box-shadow: 0 2px 8px rgba(6,47,73,.06); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--teal); font-size: .85rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin-top: .7rem; color: var(--muted); }

/* Contacto */
.contact { background: #eef2f5; }
.contact .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 500; margin-bottom: .8rem; }
.contact .info p { margin-bottom: .7rem; color: var(--ink); }
.contact .info i { color: var(--teal); width: 22px; }
.contact .form-card { box-shadow: var(--shadow); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--teal)); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 500; margin-bottom: .6rem; }
.cta p { max-width: 640px; margin: 0 auto 1.6rem; color: rgba(255,255,255,.9); }
.cta .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Páginas internas */
.page-hero { position: relative; color: #fff; padding: 90px 0 80px; background: var(--navy-dark) center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,47,73,.94), rgba(6,47,73,.6)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 860px; margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; max-width: 760px; color: rgba(255,255,255,.92); margin-bottom: 1.6rem; }
.page-hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: rgba(255,255,255,.8); }
.crumbs a { color: #fff; }
.prose { max-width: 880px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-bottom: .8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.causales { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.causales li { background: var(--sky); border-left: 4px solid var(--amber); border-radius: 8px; padding: 14px 18px; margin: 0 !important; }
.causales b { color: var(--navy); margin-right: .3rem; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.82); padding: 64px 0 24px; font-size: .97rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--amber-soft); }
.site-footer .brand b { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 2000; text-decoration: none; }

/* Responsive */
@media (max-width: 1080px) {
    .solutions { grid-template-columns: repeat(2, 1fr); }
    .uses, .steps { grid-template-columns: repeat(2, 1fr); }
    .quotes { grid-template-columns: 1fr; }
    .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .burger { display: block; }
    .menu { position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(6,47,73,.12); display: none; }
    .menu.open { display: flex; }
    .menu li { width: 100%; border-bottom: 1px solid var(--line); }
    .menu li a { display: block; padding: 14px 0; }
    .menu li:last-child { border: 0; padding-top: 14px; }
    .menu .btn { width: 100%; }
    .hero .container, .split, .contact .container { grid-template-columns: 1fr; }
    .industries { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    section { padding: 64px 0; }
    .container { padding: 0 16px; }
    .hero { padding: 48px 0 56px; }
    .solutions, .uses, .steps, .industries { grid-template-columns: 1fr; }
    .sol-card { min-height: 300px; }
    .ind { height: 160px; }
    .lead-form { grid-template-columns: 1fr; }
    .values-band ul { justify-content: flex-start; font-size: 1rem; }
    .hero .actions .btn, .page-hero .actions .btn { width: 100%; }
    .site-footer .cols { grid-template-columns: 1fr; }

}
