
:root{
    --navy:#062B43;
    --navy2:#0A405F;
    --blue:#0877A8;
    --blue2:#13A0D1;
    --cyan-light:#8FE3FF;
    --orange:#F58220;
    --orange2:#FF9A35;
    --red:#C52F2F;
    --green:#20B45B;
    --green-soft:#E6F8ED;
    --white:#ffffff;
    --light:#F3F7F9;
    --light2:#E8F0F4;
    --gray:#65747D;
    --dark:#14232D;
    --line:#D8E2E7;
    --shadow:0 18px 50px rgba(4,35,52,.12);
    --font-display:"Montserrat",Arial,sans-serif;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Inter",Arial,sans-serif;
    background:#fff;
    color:var(--dark);
}

a{
    text-decoration:none;
    color:inherit;
}

button,
input,
select,
textarea{
    font-family:inherit;
}

.page{
    display:none;
    min-height:calc(100vh - 86px);
}

.page.active{
    display:block;
}

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

/* =========================================================
   HEADER
========================================================= */

.header{
    height:86px;
    background:#fff;
    border-bottom:1px solid var(--line);
    position:sticky;
    top:0;
    z-index:1000;
}

.header-inner{
    height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-img{
    height:56px;
    width:auto;
    display:block;
}

.nav{
    display:flex;
    align-items:center;
    gap:6px;
}

.nav a{
    padding:13px 15px;
    border-radius:4px;
    color:#42545E;
    font-size:12px;
    font-weight:800;
    transition:.2s;
}

.nav a:hover,
.nav a.active{
    background:#EAF4F8;
    color:var(--blue);
}

.nav .nav-quote{
    color:#fff;
    background:var(--orange);
    margin-left:8px;
    padding:14px 20px;
}

.nav .nav-quote:hover,
.nav .nav-quote.active{
    background:var(--orange2);
    color:#fff;
}

.mobile-menu{
    display:none;
    border:0;
    background:var(--navy);
    color:#fff;
    width:45px;
    height:42px;
    border-radius:4px;
    font-size:21px;
}

/* =========================================================
   GENERAL
========================================================= */

.page-label{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:var(--orange);
    font-size:11px;
    font-weight:900;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.page-label:before{
    content:"";
    width:25px;
    height:3px;
    background:var(--orange);
}

h1,h2,h3{
    color:var(--navy);
    font-family:var(--font-display);
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.5px;
    text-transform:uppercase;
    font-family:var(--font-display);
    color:var(--orange-text);
}

.eyebrow:before{
    content:"";
    width:25px;
    height:3px;
    background:currentColor;
    display:inline-block;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height:52px;
    padding:0 24px;
    border-radius:4px;
    font-size:13px;
    font-weight:800;
    font-family:var(--font-display);
    letter-spacing:.2px;
    border:1px solid transparent;
    cursor:pointer;
    transition:.2s;
}

.btn-primary{
    background:var(--orange);
    color:#fff;
}

.btn-primary:hover{
    background:var(--orange2);
    transform:translateY(-2px);
}

.btn-dark{
    background:var(--navy);
    color:#fff;
}

.btn-dark:hover{
    background:var(--navy2);
}

.btn-outline{
    border-color:#B9CAD2;
    color:var(--navy);
    background:#fff;
}

.btn-outline:hover{
    border-color:var(--blue);
    color:var(--blue);
}

.section-space{
    padding:85px 0;
}

.capacity-row{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:20px 0;
}

.capacity{
    background:#fff;
    border:1px solid var(--line);
    color:var(--blue);
    padding:7px 9px;
    border-radius:3px;
    font-size:10px;
    font-weight:900;
}

.capacity.main{
    background:var(--blue);
    color:#fff;
    border-color:var(--blue);
}

/* =========================================================
   HOME — HERO CINEMATOGRÁFICO (foto real)
========================================================= */

.hero-full{
    position:relative;
    min-height:660px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
}

.hero-photo{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background: linear-gradient(0deg, rgba(4,20,31,.5) 0%, rgba(4,20,31,0) 42%);
}

.hero-inner{
    position:relative;
    z-index:2;
    padding:96px 0 0;
}

.hero-content{
    max-width:640px;
}

.hero-content .eyebrow{
    margin-bottom:22px;
}

.hero-content h1{
    color:#fff;
    font-size:clamp(32px,4.3vw,52px);
    line-height:1.14;
    letter-spacing:-1.2px;
    margin-bottom:20px;
}

.hero-content h1 .accent{
    color:var(--cyan-light);
}

.hero-content p{
    color:#D7E4EA;
    font-size:15.5px;
    line-height:1.65;
    max-width:480px;
    margin-bottom:32px;
}

.hero-cta-row{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.hero-cta-row .btn-outline{
    background:transparent;
    border-color:rgba(255,255,255,.45);
    color:#fff;
}

.hero-cta-row .btn-outline:hover{
    background:rgba(255,255,255,.12);
    border-color:#fff;
}

.hero-credentials{
    display:flex;
    flex-wrap:wrap;
    margin-top:44px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.16);
}

.hero-credential{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:0 18px;
    border-left:1px solid rgba(255,255,255,.16);
}

.hero-credential-center{
    justify-content:center;
    text-align:center;
}

.hero-credential:first-child{
    border-left:0;
    padding-left:0;
}

.hero-credential svg{
    width:21px;
    height:21px;
    stroke:var(--cyan-light);
    fill:none;
    stroke-width:1.6;
    flex-shrink:0;
    margin-top:2px;
}

.hero-credential strong{
    display:block;
    color:#fff;
    font-size:12.5px;
    font-family:var(--font-display);
    margin-bottom:2px;
}

.hero-credential span{
    display:block;
    color:#A9C2CE;
    font-size:10.5px;
    line-height:1.4;
    white-space:normal;
}

.hero-bottom-spacer{
    height:36px;
}

/* =========================================================
   HOME — AÉREO O SOTERRADO
========================================================= */

.solutions-head{
    max-width:640px;
    margin-bottom:44px;
}

.solutions-head .eyebrow{
    margin-bottom:20px;
}

.solutions-head h2{
    font-size:clamp(28px,3.4vw,40px);
    letter-spacing:-1.1px;
    line-height:1.15;
    margin-bottom:14px;
}

.solutions-head p{
    color:var(--gray);
    font-size:14px;
    line-height:1.7;
    max-width:560px;
}

.solution-cards{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:26px;
}

.solution-card{
    display:flex;
    background:#fff;
    border:1px solid var(--line);
    border-radius:4px;
    overflow:hidden;
    box-shadow:0 12px 34px rgba(6,43,67,.07);
}

.solution-card-media{
    flex:0 0 42%;
    position:relative;
    min-height:100%;
}

.solution-card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.solution-card-body{
    flex:1;
    padding:28px 26px;
}

.solution-card-body small{
    position:relative;
    display:block;
    padding-left:22px;
    font-size:10.5px;
    font-weight:800;
    letter-spacing:1.2px;
    text-transform:uppercase;
    color:var(--blue);
    margin-bottom:12px;
    font-family:var(--font-display);
}

.solution-card-body small:before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:14px;
    height:2px;
    background:var(--orange);
    transform:translateY(-50%);
}

.solution-card-body.soterrado small{
    color:var(--red);
}

.solution-card-body.soterrado small:before{
    background:var(--red);
}

.solution-card-body h3{
    font-size:19px;
    letter-spacing:-.2px;
    margin-bottom:10px;
}

.solution-card-body p{
    color:var(--gray);
    font-size:13px;
    line-height:1.72;
    margin-bottom:18px;
}

.solution-card-cta{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--blue);
    font-weight:800;
    font-size:12.5px;
    font-family:var(--font-display);
}

.solution-card-body.soterrado .solution-card-cta{
    color:var(--red);
}

.solution-card-cta:hover{
    color:var(--navy);
}

/* =========================================================
   HOME — CALIDAD
========================================================= */

.quality-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:72px;
    align-items:center;
}

.quality-copy .eyebrow{
    margin-bottom:22px;
}

.quality-copy h2{
    font-size:clamp(28px,3.4vw,40px);
    line-height:1.2;
    letter-spacing:-1.1px;
    margin-bottom:20px;
}

.quality-copy h2 .accent{
    color:var(--blue2);
}

.quality-copy p{
    color:var(--gray);
    font-size:14.5px;
    line-height:1.8;
    max-width:480px;
    margin-bottom:32px;
}

.quality-evidence{
    display:flex;
    margin-bottom:30px;
}

.quality-evidence-item{
    flex:1;
    padding:0 26px;
    border-left:1px solid var(--line);
}

.quality-evidence-item:first-child{
    border-left:0;
    padding-left:0;
}

.quality-evidence-item .icon{
    margin-bottom:16px;
    display:flex;
    align-items:center;
    min-height:32px;
}

.quality-evidence-item .icon img{
    height:30px;
    width:auto;
    max-width:100%;
    display:block;
    object-fit:contain;
}

.quality-evidence-item strong{
    display:block;
    color:var(--navy);
    font-size:12.5px;
    margin-bottom:6px;
    font-family:var(--font-display);
    letter-spacing:.2px;
}

.quality-evidence-item span{
    display:block;
    color:var(--gray);
    font-size:11.5px;
    line-height:1.6;
}

.quality-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--blue);
    font-weight:800;
    font-size:13px;
    font-family:var(--font-display);
    border-bottom:2px solid var(--blue);
    padding-bottom:4px;
}

.quality-link:hover{
    color:var(--navy);
    border-color:var(--navy);
}

.quality-media{
    position:relative;
    aspect-ratio:4/4.3;
    border-radius:4px;
    overflow:hidden;
    box-shadow:0 24px 55px rgba(6,43,67,.16);
}

.quality-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* =========================================================
   HOME — COTIZA TU TANQUE (PROCESO)
========================================================= */

.process-section{
    background:var(--light);
    border-top:1px solid var(--line);
}

.process-head-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:center;
    margin-bottom:60px;
}

.process-head-row .eyebrow{
    margin-bottom:20px;
}

.process-head-row h2{
    font-size:clamp(28px,3.6vw,40px);
    line-height:1.18;
    letter-spacing:-1.1px;
}

.process-head-row h2 .accent{
    color:var(--blue2);
}

.process-media{
    position:relative;
    aspect-ratio:16/9.4;
    border-radius:4px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(6,43,67,.14);
}

.process-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.process-steps{
    display:flex;
    align-items:flex-start;
    gap:0;
}

.process-step{
    flex:1;
    text-align:left;
}

.process-arrow{
    flex:0 0 auto;
    width:40px;
    margin-top:22px;
    display:flex;
    justify-content:center;
    color:var(--blue2);
}

.process-arrow svg{
    width:20px;
    height:14px;
    stroke:currentColor;
    fill:none;
    stroke-width:1.8;
}

.process-step-icon{
    position:relative;
    width:56px;
    height:56px;
    border-radius:50%;
    background:#E4F1F8;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
}

.process-step-icon svg{
    width:23px;
    height:23px;
    stroke:var(--blue);
    fill:none;
    stroke-width:1.6;
}

.process-step-num{
    position:absolute;
    top:-5px;
    right:-5px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--blue);
    color:#fff;
    font-size:10px;
    font-weight:900;
    font-family:var(--font-display);
    display:flex;
    align-items:center;
    justify-content:center;
}

.process-step h3{
    font-size:15px;
    color:var(--navy);
    margin-bottom:8px;
    letter-spacing:-.1px;
}

.process-step p{
    color:var(--gray);
    font-size:12.5px;
    line-height:1.7;
    max-width:220px;
}

.process-cta{
    margin-top:48px;
}

.process-cta a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--blue);
    font-weight:800;
    font-size:13.5px;
    font-family:var(--font-display);
}

.process-cta a:hover{
    color:var(--navy);
}

/* =========================================================
   HOME — FAQ (SECUNDARIO)
========================================================= */

.faq-mini{
    max-width:760px;
}

.faq-mini-head{
    margin-bottom:28px;
}

.faq-mini-head h2{
    font-size:22px;
    letter-spacing:-.3px;
    margin-top:12px;
}

.faq-mini-list{
    border-top:1px solid var(--line);
}

.faq-mini-item{
    border-bottom:1px solid var(--line);
}

.faq-mini-item summary{
    list-style:none;
    cursor:pointer;
    padding:18px 4px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    color:var(--navy);
    font-size:13px;
    font-weight:700;
}

.faq-mini-item summary::-webkit-details-marker{
    display:none;
}

.faq-mini-item summary:after{
    content:"+";
    flex-shrink:0;
    color:var(--blue);
    font-size:16px;
}

.faq-mini-item[open] summary:after{
    content:"–";
}

.faq-mini-item p{
    padding:0 4px 18px;
    color:var(--gray);
    font-size:12.5px;
    line-height:1.75;
    max-width:600px;
}

/* =========================================================
   HOME — CTA FINAL
========================================================= */

.final-cta{
    background:var(--orange);
    color:#fff;
}

.final-cta-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    flex-wrap:wrap;
    padding:64px 0;
}

.final-cta h2{
    color:#fff;
    font-size:clamp(26px,3vw,34px);
    letter-spacing:-1px;
    max-width:560px;
}

.final-cta-buttons{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.final-cta .btn-dark{
    background:#fff;
    color:var(--orange);
}

.final-cta .btn-dark:hover{
    background:#FFF3E8;
    transform:translateY(-2px);
}

.final-cta .btn-outline{
    border-color:rgba(255,255,255,.55);
    color:#fff;
    background:transparent;
}

.final-cta .btn-outline:hover{
    background:rgba(255,255,255,.15);
    border-color:#fff;
}

/* =========================================================
   HOME — MICROINTERACCIONES
========================================================= */

.reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity .7s ease, transform .7s ease;
}

.reveal.in-view{
    opacity:1;
    transform:translateY(0);
}

.solution-card,
.quality-media,
.process-media{
    transition:transform .5s ease, box-shadow .5s ease;
}

.solution-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(6,43,67,.12);
}

.quality-media:hover,
.process-media:hover{
    transform:translateY(-4px);
}

/* =========================================================
   PRODUCTS PAGE
========================================================= */

.products-page-head{
    background:var(--navy);
    color:#fff;
    padding:70px 0;
}

.products-page-head h1{
    color:#fff;
    font-size:53px;
    line-height:1.05;
    letter-spacing:-2px;
    margin:15px 0;
}

.products-page-head p{
    color:#BDD3DD;
    max-width:720px;
    font-size:15px;
}

.products-section{
    padding:70px 0 90px;
}

.products-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.product-card{
    border:1px solid var(--line);
    background:#fff;
    box-shadow:var(--shadow);
}

.product-card-top{
    height:350px;
    position:relative;
    background:#E5EEF2;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-card-top.red{
    background:#E9DCDC;
}

.product-card-label{
    position:absolute;
    left:20px;
    top:20px;
    padding:7px 10px;
    background:var(--navy);
    color:#fff;
    font-size:10px;
    font-weight:900;
}

.product-card-label.red{
    background:var(--red);
}

.tank-placeholder{
    width:90%;
    height:105px;
    border-radius:70px;
    background:linear-gradient(#fff,#C2CED2,#929FA4);
    border:5px solid #8C9A9F;
    box-shadow:0 25px 35px rgba(0,0,0,.2);
    position:relative;
}

.tank-placeholder:before,
.tank-placeholder:after{
    content:"";
    position:absolute;
    width:16px;
    height:28px;
    background:#59656A;
    bottom:-22px;
}

.tank-placeholder:before{
    left:18%;
}

.tank-placeholder:after{
    right:18%;
}

.product-card.red .tank-placeholder{
    background:linear-gradient(#E65A45,#C52F2F,#91251F);
    border-color:#84231F;
}

.product-card .tank-placeholder{
    width:70%;
    height:125px;
}

.product-card-body{
    padding:30px;
}

.product-card-body h2{
    font-size:27px;
    margin-bottom:12px;
}

.product-card-body p{
    color:var(--gray);
    font-size:13px;
    line-height:1.7;
}

.product-specs{
    margin-top:22px;
    border-top:1px solid var(--line);
    padding-top:18px;
}

.product-specs strong{
    color:var(--navy);
    font-size:11px;
}

.product-specs p{
    margin-top:5px;
    font-size:11px;
}

/* =========================================================
   QUOTE PAGE
========================================================= */

.quote-page{
    background:#F3F7F9;
    padding:70px 0 100px;
}

.quote-layout{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:55px;
    align-items:start;
}

.quote-copy h2{
    font-size:50px;
    line-height:1.06;
    letter-spacing:-2px;
    margin:17px 0 20px;
}

.quote-copy p{
    color:var(--gray);
    font-size:14px;
    line-height:1.8;
}

.quote-list{
    margin-top:30px;
    display:grid;
    gap:12px;
}

.quote-list div{
    background:#fff;
    border:1px solid var(--line);
    padding:15px;
    font-size:12px;
    font-weight:500;
    color:var(--navy);
}

.quote-list div strong{
    font-weight:800;
}

.quote-list .optional{
    color:var(--gray);
    font-weight:600;
    font-size:11px;
}

.quote-form{
    background:#fff;
    border-top:5px solid var(--orange);
    padding:38px;
    box-shadow:var(--shadow);
}

.quote-form h2{
    font-size:25px;
    margin-bottom:6px;
}

.quote-form-intro{
    color:var(--gray);
    font-size:11px;
    margin-bottom:25px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.form-row-3{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:15px;
}

.form-group{
    margin-bottom:17px;
    position:relative;
}

.form-group.half{
    max-width:calc(50% - 8px);
}

.form-group label{
    display:block;
    color:var(--navy);
    font-size:10px;
    font-weight:900;
    margin-bottom:7px;
}

.form-group label .hint{
    color:var(--gray);
    font-weight:600;
    text-transform:none;
    letter-spacing:0;
}

.product-row{
    position:relative;
}

.remove-product-btn{
    position:absolute;
    top:-2px;
    right:0;
    background:none;
    border:0;
    color:var(--red);
    font-size:10.5px;
    font-weight:800;
    cursor:pointer;
    padding:4px 0;
}

.remove-product-btn:hover{
    text-decoration:underline;
}

.add-product-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:none;
    border:1px dashed #B9CAD2;
    color:var(--blue);
    font-size:12px;
    font-weight:800;
    font-family:var(--font-display);
    padding:11px 18px;
    border-radius:3px;
    cursor:pointer;
    margin:-2px 0 24px;
    transition:.2s;
}

.add-product-btn:hover{
    border-color:var(--blue);
    background:var(--light);
}

input,select,textarea{
    width:100%;
    border:1px solid #CDD9DE;
    background:#FBFCFD;
    color:var(--dark);
    padding:13px;
    border-radius:3px;
    font-size:12px;
    outline:none;
}

input:focus,
select:focus,
textarea:focus{
    border-color:var(--blue);
}

textarea{
    min-height:110px;
    resize:vertical;
}

.form-submit{
    width:100%;
    border:0;
}

/* =========================================================
   QUALITY PAGE
========================================================= */

.quality-page-head{
    padding:75px 0;
    background:
        linear-gradient(110deg,#061F31,#0B4867);
    color:#fff;
}

.quality-page-head h1{
    color:#fff;
    font-size:51px;
    letter-spacing:-2px;
    margin:15px 0;
}

.quality-page-head p{
    color:#C5D9E2;
    max-width:750px;
    font-size:15px;
}

.quality-section{
    padding:75px 0;
}

.quality-main{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:20px;
}

.quality-card{
    border:1px solid var(--line);
    padding:35px 30px;
    min-height:280px;
    background:#fff;
    box-shadow:0 10px 35px rgba(5,45,64,.07);
}

.quality-number{
    font-size:11px;
    font-weight:900;
    color:var(--orange);
}

.quality-card h2{
    font-size:24px;
    margin:18px 0 12px;
}

.quality-card p{
    color:var(--gray);
    font-size:12px;
    line-height:1.8;
}

.quality-note{
    margin-top:22px;
    background:var(--navy);
    color:#fff;
    padding:30px;
}

.quality-note strong{
    display:block;
    font-size:18px;
    margin-bottom:7px;
}

.quality-note span{
    color:#BCD2DC;
    font-size:12px;
}

/* =========================================================
   ABOUT PAGE — NOSOTROS
========================================================= */

.about-hero{
    background:linear-gradient(120deg, #EAF4FB 0%, #F5FAFD 55%, #ffffff 100%);
    overflow:hidden;
}

.about-hero-grid{
    display:flex;
    align-items:stretch;
    min-height:420px;
}

.about-hero-copy{
    flex:0 0 50%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:40px max(24px, calc((100vw - 1200px) / 2 + 60px)) 40px max(24px, calc((100vw - 1200px) / 2 + 4px));
}

.about-hero-copy .eyebrow{
    margin-bottom:14px;
}

.about-hero-copy h2{
    font-size:clamp(24px,2.8vw,34px);
    line-height:1.18;
    letter-spacing:-.9px;
    color:var(--navy);
    margin-bottom:14px;
}

.about-hero-copy h2 .accent{
    color:var(--blue2);
    display:block;
}

.about-hero-copy p{
    color:var(--gray);
    font-size:14px;
    line-height:1.7;
    max-width:440px;
}

.about-hero-photo{
    flex:1;
    position:relative;
    min-height:300px;
}

.about-hero-photo img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 32%);
    mask-image:linear-gradient(to right, transparent 0%, #000 32%);
}

/* ---- Ritmo compartido para las 4 secciones inferiores ---- */

.n-section{
    padding:48px 0;
}

/* ---- Nuestra historia ---- */

.historia-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:52px;
    align-items:center;
}

.historia-copy .eyebrow{
    margin-bottom:14px;
}

.historia-copy h2{
    font-size:clamp(22px,2.6vw,30px);
    line-height:1.22;
    letter-spacing:-.7px;
    margin-bottom:14px;
}

.historia-copy h2 .accent{
    color:var(--blue2);
    display:block;
}

.historia-copy p{
    color:var(--gray);
    font-size:14px;
    line-height:1.7;
    margin-bottom:12px;
}

.historia-copy p strong{
    color:var(--navy);
}

.mini-divider{
    width:36px;
    height:2px;
    background:var(--blue2);
    margin:18px 0 12px;
}

.quote-italic{
    font-style:italic;
    color:var(--navy2);
    font-size:14px;
}

.historia-media{
    display:flex;
    justify-content:center;
}

.historia-media img{
    display:block;
    max-width:100%;
    max-height:380px;
    width:auto;
    object-fit:contain;
    border-radius:4px;
    box-shadow:0 16px 40px rgba(6,43,67,.16);
}

/* ---- Nuestra evolución ---- */

.evolution-head{
    margin-bottom:28px;
}

.evolution-head h2{
    font-size:clamp(22px,2.6vw,30px);
    letter-spacing:-.7px;
    margin-top:10px;
}

.evolution-head h2 .accent{
    color:var(--blue2);
}

.evolution-row{
    display:flex;
    align-items:flex-start;
}

.evolution-step{
    flex:1;
}

.evolution-step img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    border-radius:4px;
    margin-bottom:14px;
    display:block;
}

.evolution-step .year{
    font-size:21px;
    font-weight:900;
    color:var(--navy);
    font-family:var(--font-display);
    letter-spacing:-.5px;
    line-height:1;
}

.evolution-step .subtitle{
    display:block;
    color:var(--blue2);
    font-weight:800;
    font-size:13px;
    margin:5px 0 8px;
    font-family:var(--font-display);
}

.evolution-step p{
    color:var(--gray);
    font-size:12.5px;
    line-height:1.65;
    max-width:230px;
}

.evolution-arrow{
    flex:0 0 auto;
    width:36px;
    display:flex;
    justify-content:center;
    padding-top:60px;
    color:var(--blue2);
}

.evolution-arrow svg{
    width:18px;
    height:13px;
    stroke:currentColor;
    fill:none;
    stroke-width:1.8;
}

/* ---- Nuestra presencia ---- */

.presencia-section{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:52px;
    align-items:center;
}

.presencia-copy .eyebrow{
    margin-bottom:14px;
}

.presencia-copy h2{
    font-size:clamp(22px,2.6vw,30px);
    line-height:1.22;
    letter-spacing:-.7px;
    margin-bottom:14px;
    color:var(--navy);
}

.presencia-copy h2 .accent{
    color:var(--blue2);
    display:block;
}

.presencia-copy p{
    color:var(--gray);
    font-size:14px;
    line-height:1.7;
    max-width:440px;
}

.presencia-media{
    display:flex;
    justify-content:center;
}

.presencia-media img{
    max-width:100%;
    max-height:340px;
    width:auto;
    display:block;
}

/* ---- Sectores que atendemos ---- */

.sectors-section{
    background:var(--light2);
    padding:48px 0;
}

.sectors-grid{
    display:flex;
    align-items:center;
    gap:40px;
}

.sectors-copy{
    flex:0 0 300px;
}

.sectors-copy .eyebrow{
    margin-bottom:12px;
}

.sectors-copy h2{
    font-size:clamp(22px,2.6vw,30px);
    line-height:1.26;
    letter-spacing:-.6px;
    color:var(--navy);
}

.sectors-copy h2 .accent{
    color:var(--blue2);
}

.sectors-list{
    display:flex;
    flex:1;
    justify-content:space-between;
}

.sector-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:0 14px;
    position:relative;
}

.sector-item:not(:first-child):before{
    content:"";
    position:absolute;
    left:0;
    top:6px;
    bottom:30px;
    width:1px;
    background:rgba(6,43,67,.14);
}

.sector-item img{
    width:72px;
    height:72px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:14px;
    box-shadow:0 10px 24px rgba(6,43,67,.14);
}

.sector-item strong{
    font-size:12.5px;
    color:var(--navy);
    font-family:var(--font-display);
    line-height:1.4;
    max-width:120px;
}

/* =========================================================
   FOOTER
========================================================= */

.footer{
    background:#041C2A;
    color:#AFC3CD;
    padding:35px 0;
}

.footer-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.footer-brand strong{
    color:#fff;
    font-size:18px;
}

.footer-brand span{
    display:block;
    font-size:10px;
    margin-top:4px;
}

.footer-info{
    text-align:right;
    font-size:10px;
    line-height:1.7;
}

.footer-nav{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

.footer-nav a{
    font-size:11px;
    font-weight:700;
    color:#AFC3CD;
}

.footer-nav a:hover{
    color:#fff;
}

/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:2000;
    width:62px;
    height:62px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    transition:.2s;
}

.whatsapp:hover{
    transform:scale(1.08);
}

.whatsapp svg{
    width:34px;
    height:34px;
    fill:#fff;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:950px){

    .mobile-menu{
        display:block;
    }

    .nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:86px;
        background:#fff;
        padding:15px 4%;
        border-bottom:1px solid var(--line);
        box-shadow:0 15px 35px rgba(0,0,0,.12);
        flex-direction:column;
        align-items:stretch;
    }

    .nav.open{
        display:flex;
    }

    .nav a{
        width:100%;
    }

    .nav .nav-quote{
        margin-left:0;
        text-align:center;
    }

    .quote-layout{
        grid-template-columns:1fr;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .hero-full{
        min-height:auto;
    }

    .hero-inner{
        padding:120px 0 0;
    }

    .hero-credentials{
        gap:20px 0;
    }

    .hero-credential{
        flex:0 0 50%;
        border-left:0;
        padding:0 0 18px;
    }

    .solution-cards{
        grid-template-columns:1fr;
    }

    .solution-card{
        flex-direction:column;
    }

    .solution-card-media{
        min-height:220px;
    }

    .quality-main{
        grid-template-columns:1fr 1fr;
    }

    .quality-section{
        grid-template-columns:1fr;
        gap:36px;
    }

    .quality-media{
        aspect-ratio:16/9;
        order:-1;
    }

    .process-head-row{
        grid-template-columns:1fr;
        gap:30px;
        margin-bottom:44px;
    }

    .process-steps{
        flex-wrap:wrap;
        row-gap:32px;
    }

    .process-step{
        flex:0 0 46%;
    }

    .process-arrow{
        display:none;
    }

    .about-hero-grid{
        flex-direction:column;
    }

    .about-hero-copy{
        flex:1;
        padding:36px 24px 0;
    }

    .about-hero-photo{
        flex:1;
        width:100%;
        min-height:260px;
    }

    .about-hero-photo img{
        -webkit-mask-image:none;
        mask-image:none;
    }

    .historia-section,
    .presencia-section{
        grid-template-columns:1fr;
        gap:28px;
    }

    .historia-media{
        order:-1;
    }

    .evolution-row{
        flex-wrap:wrap;
        row-gap:28px;
    }

    .evolution-step{
        flex:0 0 46%;
    }

    .evolution-arrow{
        display:none;
    }

    .sectors-grid{
        flex-direction:column;
        align-items:flex-start;
        gap:34px;
    }

    .sectors-copy{
        flex:1;
    }

    .sectors-list{
        width:100%;
        flex-wrap:wrap;
        row-gap:24px;
        justify-content:flex-start;
    }

    .sector-item{
        flex:0 0 33.33%;
    }
}

@media(max-width:600px){

    .header,
    .header-inner{
        height:74px;
    }

    .nav{
        top:74px;
    }

    .logo-img{
        height:42px;
    }

    .products-page-head h1,
    .quote-copy h2,
    .quality-page-head h1{
        font-size:40px;
        letter-spacing:-2px;
    }

    .hero-full{
        min-height:auto;
    }

    .hero-inner{
        padding:104px 0 0;
    }

    .hero-content h1{
        font-size:30px;
        letter-spacing:-1px;
    }

    .hero-content p{
        font-size:14px;
    }

    .hero-cta-row{
        width:100%;
    }

    .hero-cta-row .btn{
        flex:1;
    }

    .hero-credentials{
        margin-top:32px;
        padding-top:20px;
    }

    .hero-credential{
        flex:0 0 100%;
        border-left:0;
        padding:0 0 16px;
    }

    .quality-main,
    .form-row,
    .form-row-3{
        grid-template-columns:1fr;
    }

    .form-group.half{
        max-width:100%;
    }

    .product-card-top{
        height:280px;
    }

    .quote-form{
        padding:25px;
    }

    .about-hero-photo{
        min-height:200px;
    }

    .n-section,
    .sectors-section{
        padding:32px 0;
    }

    .evolution-step{
        flex:0 0 100%;
    }

    .sector-item{
        flex:0 0 50%;
    }

    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .footer-info{
        text-align:left;
    }

    .whatsapp{
        width:57px;
        height:57px;
        right:17px;
        bottom:17px;
    }

    .solution-cards{
        grid-template-columns:1fr;
    }

    .solution-card{
        flex-direction:column;
    }

    .solution-card-media{
        min-height:200px;
    }

    .quality-section{
        grid-template-columns:1fr;
        gap:30px;
    }

    .quality-media{
        aspect-ratio:16/9;
        order:-1;
    }

    .quality-evidence{
        flex-direction:column;
        gap:20px;
    }

    .quality-evidence-item{
        border-left:0;
        padding:0;
    }

    .process-head-row{
        grid-template-columns:1fr;
        gap:24px;
    }

    .process-steps{
        flex-direction:column;
        gap:28px;
    }

    .process-arrow{
        display:none;
    }

    .process-step p{
        max-width:none;
    }

    .final-cta-inner{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* =========================================================
   SISTEMA VISUAL v2 (refinamiento, sin cambios de contenido)
   Industrial / técnico. Una familia (Archivo variable, eje de
   ancho), esquinas de 2px, bordes finos en vez de sombras,
   naranja solo para acción, rojo solo para soterrados.
========================================================= */

:root{
    --ink:#062B43;
    --ink-2:#0A3A57;
    --blue:#0877A8;
    --steel:#5B6B75;
    --paper:#F2F5F7;
    --rule:#D5DEE3;
    --rule-strong:#B8C6CE;
    --orange:#F58220;
    --orange-text:#B5510A;
    --red:#C52F2F;
    --radius:2px;
    --section-y:64px;
    --font-display:"Archivo","Archivo Variable",Arial,sans-serif;
    --font-body:"Archivo","Archivo Variable",Arial,sans-serif;
    --ease:cubic-bezier(.16,1,.3,1);
}

body{
    font-family:var(--font-body);
    font-stretch:100%;
    color:var(--ink);
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

h1,h2,h3{
    font-family:var(--font-display);
    font-stretch:112%;
    font-weight:700;
    letter-spacing:-.015em;
    color:var(--ink);
}

/* Titulares: el segundo tramo se distingue por peso, no por un color extra */
h1 .accent,
h2 .accent{
    color:var(--blue);
    font-weight:400;
}

/* ---------- Etiquetas (eyebrow): mismo tamaño, un solo naranja ---------- */

.eyebrow,
.page-label{
    font-family:var(--font-display);
    font-stretch:118%;
    font-size:11px;
    font-weight:700;
    letter-spacing:.14em;
    color:var(--orange-text);
    gap:10px;
}

.eyebrow:before,
.page-label:before{
    width:22px;
    height:2px;
    background:var(--orange);
}

/* ---------- Header ---------- */

.header{
    border-bottom:1px solid var(--rule);
}

.nav{
    gap:2px;
}

.nav a{
    font-family:var(--font-display);
    font-stretch:106%;
    font-size:13px;
    font-weight:600;
    color:#3B4D58;
    border-radius:var(--radius);
    position:relative;
}

.nav a:hover,
.nav a.active{
    background:transparent;
    color:var(--ink);
}

@media(min-width:951px){
    .nav a:not(.nav-quote):after{
        content:"";
        position:absolute;
        left:15px;
        right:15px;
        bottom:6px;
        height:2px;
        background:var(--orange);
        transform:scaleX(0);
        transform-origin:left;
        transition:transform .35s var(--ease);
    }

    .nav a:not(.nav-quote):hover:after,
    .nav a.active:not(.nav-quote):after{
        transform:scaleX(1);
    }
}

.nav .nav-quote,
.nav .nav-quote:hover,
.nav .nav-quote.active{
    color:var(--ink);
    font-weight:700;
}

.nav .nav-quote{
    background:var(--orange);
}

.nav .nav-quote:hover,
.nav .nav-quote.active{
    background:#FF9437;
}

/* ---------- Botones ---------- */

.btn{
    border-radius:var(--radius);
    min-height:48px;
    font-family:var(--font-display);
    font-stretch:110%;
    font-weight:700;
    letter-spacing:.01em;
    transition:background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}

.btn:active{
    transform:scale(.98);
}

.btn-primary,
.btn-primary:hover{
    color:var(--ink);
    transform:none;
}

.btn-primary:hover{
    background:#FF9437;
}

.btn-outline{
    border:1.5px solid var(--rule-strong);
}

.btn:focus-visible,
.nav a:focus-visible,
.solution-card-cta:focus-visible,
.quality-link:focus-visible,
.process-cta a:focus-visible,
summary:focus-visible{
    outline:2px solid var(--blue);
    outline-offset:3px;
}

/* ---------- Ritmo de secciones (uno solo para todo el sitio) ---------- */

.section-space,
.n-section{
    padding:var(--section-y) 0;
}

section.faq-section{
    padding-top:var(--section-y);
}

/* ---------- Movimiento: un solo momento orquestado (carga del hero) ---------- */

.reveal,
.reveal.in-view{
    opacity:1;
    transform:none;
    transition:none;
}

@media (prefers-reduced-motion: no-preference){
    @keyframes rise{
        from{opacity:0; transform:translateY(14px);}
        to{opacity:1; transform:none;}
    }

    .hero-content > *,
    .about-hero-copy > *{
        animation:rise .8s var(--ease) both;
    }

    .hero-content > :nth-child(2),
    .about-hero-copy > :nth-child(2){animation-delay:.08s;}

    .hero-content > :nth-child(3),
    .about-hero-copy > :nth-child(3){animation-delay:.16s;}

    .hero-content > :nth-child(4){animation-delay:.24s;}
    .hero-content > :nth-child(5){animation-delay:.32s;}
}

.solution-card:hover,
.quality-media:hover,
.process-media:hover{
    transform:none;
}

/* ---------- HERO (Inicio) ---------- */

.hero-content{
    max-width:720px;
}

.hero-content .eyebrow{
    color:var(--orange);
}

.hero-content h1{
    font-size:clamp(32px,4vw,52px);
    line-height:1.06;
    letter-spacing:-.02em;
    font-stretch:108%;
}

.hero-content h1 .accent{
    color:#A9CCDE;
}

.hero-content p{
    font-size:16px;
    line-height:1.6;
    color:#D3E1E8;
    max-width:52ch;
}

.hero-cta-row .btn-outline{
    border:1.5px solid rgba(255,255,255,.5);
}

.hero-credentials{
    border-top:1px solid rgba(255,255,255,.18);
}

.hero-credential svg{
    stroke:#A9CCDE;
}

.hero-credential strong{
    font-family:var(--font-display);
    font-stretch:110%;
    font-weight:700;
}

/* ---------- Encabezados de sección: una escala para todo ---------- */

.solutions-head h2,
.quality-copy h2,
.process-head-row h2,
.historia-copy h2,
.evolution-head h2,
.presencia-copy h2,
.sectors-copy h2{
    font-size:clamp(26px,2.7vw,36px);
    line-height:1.1;
    letter-spacing:-.018em;
}

.faq-mini-head h2{
    font-size:clamp(22px,2vw,26px);
}

.solutions-head p,
.quality-copy p,
.historia-copy p,
.presencia-copy p,
.about-hero-copy p{
    font-size:15px;
    line-height:1.65;
    color:var(--steel);
    max-width:58ch;
}

.solutions-head{
    margin-bottom:36px;
}

/* ---------- Aéreo / soterrado: paneles planos, el color de línea es información ---------- */

.solution-cards{
    gap:20px;
}

.solution-card{
    border:1px solid var(--rule);
    border-top:3px solid var(--blue);
    border-radius:var(--radius);
    box-shadow:none;
    transition:border-color .25s var(--ease);
}

.solution-card:nth-child(2){
    border-top-color:var(--red);
}

.solution-card:hover{
    border-color:var(--rule-strong);
}

.solution-card:hover{
    border-top-color:var(--blue);
}

.solution-card:nth-child(2):hover{
    border-top-color:var(--red);
}

.solution-card-body{
    padding:26px 26px 24px;
}

.solution-card-body small{
    font-stretch:115%;
    letter-spacing:.12em;
}

.solution-card-body small:before{
    background:currentColor;
}

.solution-card-body small{
    color:var(--blue);
}

.solution-card-body h3{
    font-size:20px;
    font-stretch:110%;
}

.solution-card-body p{
    font-size:14px;
    line-height:1.65;
    color:var(--steel);
}

.solution-card-cta{
    font-family:var(--font-display);
    font-stretch:108%;
    font-size:13px;
    font-weight:700;
}

.solution-card-media img{
    transition:transform .6s var(--ease);
}

.solution-card:hover .solution-card-media img{
    transform:scale(1.03);
}

.solution-card-media{
    overflow:hidden;
}

/* ---------- Calidad (Inicio) ---------- */

#inicio .quality-section{
    gap:64px;
}

.quality-media,
.process-media,
.historia-media img,
.evolution-step img,
.product-card,
.quote-form{
    border-radius:var(--radius);
    box-shadow:none;
}

.quality-media,
.process-media{
    border:1px solid var(--rule);
}

.historia-media img{
    border:1px solid var(--rule);
    box-shadow:none;
}

.quality-evidence-item strong{
    font-family:var(--font-display);
    font-stretch:112%;
    font-size:13px;
}

.quality-evidence-item span{
    font-size:12.5px;
    color:var(--steel);
}

.quality-link{
    font-family:var(--font-display);
    font-stretch:108%;
    border-bottom-width:1.5px;
}

/* ---------- Proceso: secuencia real, marcada con una línea continua ---------- */

.process-section{
    background:var(--paper);
    border-top:1px solid var(--rule);
    border-bottom:1px solid var(--rule);
}

.process-head-row{
    margin-bottom:44px;
}

.process-arrow{
    display:none;
}

.process-steps{
    gap:28px;
}

.process-step{
    border-top:2px solid var(--ink);
    padding-top:22px;
}

.process-step-icon{
    width:auto;
    height:auto;
    background:none;
    border-radius:0;
    justify-content:flex-start;
    gap:12px;
    margin-bottom:16px;
    flex-direction:row-reverse;
}

.process-step-num{
    position:static;
    width:26px;
    height:26px;
    border-radius:var(--radius);
    background:var(--ink);
    font-size:12px;
    font-stretch:110%;
}

.process-step-icon svg{
    width:22px;
    height:22px;
    stroke:var(--blue);
}

.process-step h3{
    font-size:16px;
    font-stretch:108%;
}

.process-step p{
    font-size:13.5px;
    line-height:1.6;
    color:var(--steel);
}

.process-cta{
    margin-top:36px;
}

.process-cta a{
    font-family:var(--font-display);
    font-stretch:108%;
    font-size:14px;
}

/* ---------- FAQ ---------- */

.faq-mini-item summary{
    font-size:14.5px;
    font-weight:600;
    padding:18px 2px;
    color:var(--ink);
}

.faq-mini-item summary:after{
    color:var(--orange-text);
    font-weight:400;
    font-size:20px;
}

.faq-mini-item p{
    font-size:14px;
    line-height:1.65;
    color:var(--steel);
}

/* ---------- CTA final: azul de marca, el naranja queda para la acción ---------- */

.final-cta{
    background:var(--ink);
}

.final-cta-inner{
    padding:56px 0;
}

.final-cta h2{
    color:#fff;
    font-size:clamp(24px,2.6vw,34px);
    line-height:1.12;
}

.final-cta .btn-dark,
.final-cta .btn-dark:hover{
    background:var(--orange);
    color:var(--ink);
    transform:none;
}

.final-cta .btn-dark:hover{
    background:#FF9437;
}

.final-cta .btn-outline{
    border:1.5px solid rgba(255,255,255,.45);
}

/* ---------- Páginas internas: encabezados y tarjetas en el mismo sistema ---------- */

.products-page-head,
.quality-page-head{
    padding:56px 0;
    background:var(--ink);
}

.products-page-head h1,
.quality-page-head h1,
.quote-copy h2{
    font-size:clamp(32px,3.8vw,48px);
    line-height:1.06;
    letter-spacing:-.02em;
}

.products-page-head .page-label,
.quality-page-head .page-label{
    color:var(--orange) !important;
}

.products-section{
    padding:var(--section-y) 0;
}

.product-card{
    border:1px solid var(--rule);
}

.product-card-top{
    background:var(--paper);
}

.product-card-top.red{
    background:#F4ECEB;
}

.product-card-body h2{
    font-size:24px;
}

.product-card-body p{
    font-size:14px;
    color:var(--steel);
}

.capacity{
    border-radius:var(--radius);
    font-stretch:110%;
}

/* Página Calidad: corrige la colisión de clase con el bloque de Inicio */
#calidad .quality-section{
    display:block;
    padding:var(--section-y) 0;
}

.quality-card{
    border-radius:var(--radius);
    box-shadow:none;
    min-height:0;
}

.quality-card h2{
    font-size:24px;
}

.quality-card p{
    font-size:14px;
    line-height:1.65;
    color:var(--steel);
}

.quality-number{
    color:var(--orange-text);
    font-stretch:115%;
    letter-spacing:.1em;
}

.quality-note{
    border-radius:var(--radius);
}

.quality-note span{
    font-size:14px;
    line-height:1.6;
}

/* Cotización */

.quote-page{
    background:var(--paper);
    padding:var(--section-y) 0;
}

.quote-form{
    border:1px solid var(--rule);
    border-top:3px solid var(--orange);
}

.quote-copy p{
    font-size:15px;
    line-height:1.65;
    color:var(--steel);
}

.quote-list div{
    border-radius:var(--radius);
    font-size:13.5px;
}

.form-group label{
    font-family:var(--font-display);
    font-stretch:110%;
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
}

input,
select,
textarea{
    border-radius:var(--radius);
    font-size:14px;
    border-color:#C4D1D8;
    background:#fff;
    transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}

input::placeholder,
textarea::placeholder{
    color:#6D7C85;
}

input:focus,
select:focus,
textarea:focus{
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(8,119,168,.16);
}

.add-product-btn{
    border-radius:var(--radius);
    font-stretch:108%;
}

/* ---- Teléfono con prefijo de país fijo (+51) ---- */

.phone-input{
    display:flex;
    align-items:stretch;
    border:1px solid #C4D1D8;
    background:#fff;
    border-radius:var(--radius);
    overflow:hidden;
    transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.phone-input:focus-within{
    border-color:var(--blue);
    box-shadow:0 0 0 3px rgba(8,119,168,.16);
}

.phone-prefix{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    padding:0 10px 0 13px;
    font-size:14px;
    font-weight:700;
    color:var(--steel);
    background:var(--paper);
    border-right:1px solid #E2E8EC;
    user-select:none;
}

.phone-input input{
    flex:1;
    min-width:0;
    border:0;
    background:transparent;
    padding:13px 13px 13px 10px;
}

.phone-input input:focus{
    border:0;
    box-shadow:none;
}

/* ---- Código de descuento ---- */

#descuento-input{
    text-transform:uppercase;
}

#descuento-input::placeholder{
    text-transform:none;
}

.discount-feedback{
    margin:6px 2px 0;
    font-size:12px;
    font-weight:700;
    min-height:14px;
}

.discount-feedback.is-valid{
    color:#1E8E4F;
}

.discount-feedback.is-invalid{
    color:var(--red);
}

/* ---------- Nosotros: mismo sistema ---------- */

.about-hero{
    background:linear-gradient(115deg,#EEF3F6 0%,#F6F9FA 55%,#FFFFFF 100%);
}

.about-hero-copy h2{
    font-size:clamp(30px,3.4vw,44px);
    line-height:1.06;
    letter-spacing:-.02em;
}

.mini-divider{
    background:var(--orange);
    height:2px;
}

.quote-italic{
    color:var(--ink-2);
    font-size:15px;
}

.evolution-arrow{
    display:none;
}

.evolution-row{
    gap:24px;
}

.evolution-step{
    border-top:2px solid var(--ink);
    padding-top:18px;
}

.evolution-step .year{
    font-stretch:112%;
    font-size:22px;
}

.evolution-step .subtitle{
    color:var(--blue);
    font-stretch:108%;
    font-weight:600;
}

.evolution-step p{
    font-size:13.5px;
    line-height:1.6;
    color:var(--steel);
}

.sectors-section{
    background:var(--paper);
    border-top:1px solid var(--rule);
    padding:var(--section-y) 0;
}

.sector-item strong{
    font-family:var(--font-display);
    font-stretch:108%;
    font-size:13px;
    font-weight:600;
}

.sector-item img{
    box-shadow:none;
    border:1px solid var(--rule);
}

.sector-item:not(:first-child):before{
    background:var(--rule);
}

/* ---------- Footer ---------- */

.footer-brand strong{
    font-family:var(--font-display);
    font-stretch:112%;
}

.footer-nav a{
    font-size:12px;
    font-weight:600;
}

/* ---------- Responsive del sistema v2 ---------- */

@media(max-width:950px){
    :root{
        --section-y:52px;
    }

    .process-steps{
        gap:28px 0;
    }

    .evolution-row{
        gap:28px 0;
    }

    .evolution-step{
        flex:0 0 calc(50% - 12px);
    }

    .evolution-row{
        column-gap:24px;
    }
}

@media(max-width:600px){
    :root{
        --section-y:40px;
    }

    .hero-content h1{
        font-size:30px;
        font-stretch:104%;
    }

    .evolution-step{
        flex:0 0 100%;
    }

    .final-cta-inner{
        padding:44px 0;
    }
}

/* ---------- Ajustes tras la revisión visual ---------- */

:root{
    --section-y:56px;
}

/* Doble padding del bloque Calidad de Inicio (colisión con la página Calidad) */
#inicio .quality-section{
    padding:0;
}

/* Un solo tratamiento para el segundo tramo de todos los titulares */
.quality-copy h2 .accent,
.process-head-row h2 .accent,
.historia-copy h2 .accent,
.evolution-head h2 .accent,
.presencia-copy h2 .accent,
.sectors-copy h2 .accent,
.about-hero-copy h2 .accent{
    color:var(--blue);
    font-weight:400;
}

/* Proceso: el número va primero, luego el ícono */
.process-step-icon{
    flex-direction:row-reverse;
    justify-content:flex-end;
}

/* Nosotros */
.about-hero-copy h2{
    font-size:clamp(28px,3vw,40px);
}

.sectors-copy{
    flex:0 0 360px;
}

.sectors-copy h2{
    font-size:clamp(24px,2.3vw,30px);
}

.footer{
    border-top:1px solid rgba(255,255,255,.08);
}

@media(max-width:950px){
    :root{
        --section-y:48px;
    }

    .sectors-copy{
        flex:1;
    }
}

@media(max-width:600px){
    :root{
        --section-y:40px;
    }

    /* Legibilidad del hero cuando la foto queda detrás del texto */
    .hero-overlay{
        background:linear-gradient(180deg, rgba(4,20,31,.78) 0%, rgba(4,20,31,.62) 55%, rgba(4,20,31,.85) 100%);
    }

    .hero-cta-row .btn{
        flex:1 1 100%;
    }

    .hero-credential-center{
        justify-content:flex-start;
        text-align:left;
        padding-left:31px;
    }

    .evolution-step img{
        aspect-ratio:16/9;
    }
}


/* =========================================================
   PRODUCTOS (catálogo) · prefijo pr- para evitar colisiones
========================================================= */

.pr-section{
    padding:var(--section-y) 0;
}

.pr-head{
    margin-bottom:28px;
}

.pr-head .eyebrow{
    margin-bottom:12px;
}

#productos .pr-title{
    font-size:clamp(24px,2.5vw,32px);
    line-height:1.14;
    letter-spacing:-.018em;
    max-width:24ch;
}

/* ---- Configuración ---- */

.pr-config{
    padding-top:48px;
}

.pr-config-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.pr-config-card{
    display:grid;
    grid-template-columns:42% 1fr;
    border-radius:var(--radius);
    overflow:hidden;
    color:#fff;
    min-height:300px;
}

.pr-config-card--aereo{ background:var(--blue); }
.pr-config-card--soterrado{ background:var(--red); }

.pr-config-media{
    position:relative;
    min-height:220px;
}

.pr-config-media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 58%;
}

.pr-config-panel{
    padding:26px 26px 24px;
    display:flex;
    flex-direction:column;
}

#productos .pr-config-title{
    color:#fff;
    font-size:24px;
    font-stretch:118%;
    text-transform:uppercase;
    letter-spacing:.02em;
    line-height:1;
}

.pr-config-sub{
    margin-top:6px;
    font-size:14px;
    font-weight:600;
    color:rgba(255,255,255,.92);
}

.pr-config-desc{
    margin-top:12px;
    font-size:14px;
    line-height:1.55;
    color:rgba(255,255,255,.86);
}

.pr-config-label{
    margin-top:16px;
    font-size:12px;
    font-weight:700;
    font-stretch:108%;
    letter-spacing:.04em;
}

.pr-chips{
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:8px;
}

.pr-chips li{
    font-size:11.5px;
    font-weight:700;
    font-stretch:110%;
    padding:5px 9px;
    border:1.5px solid rgba(255,255,255,.7);
    border-radius:var(--radius);
    white-space:nowrap;
}

.pr-config-btn{
    margin-top:auto;
    align-self:flex-start;
    background:#fff;
    min-height:44px;
    padding:0 18px;
    font-size:13px;
}

.pr-config-card--aereo .pr-config-btn{ color:var(--ink); }
.pr-config-card--soterrado .pr-config-btn{ color:#8E1F1F; }

.pr-config-btn:hover{ background:#EEF3F6; }

.pr-config-panel .pr-chips{ margin-bottom:20px; }

/* ---- Catálogo ---- */

.pr-catalog--soterrado{
    background:var(--paper);
    border-top:1px solid var(--rule);
}

.pr-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.pr-card{
    background:#fff;
    border:1px solid var(--rule);
    border-top:3px solid var(--blue);
    border-radius:var(--radius);
    display:flex;
    flex-direction:column;
    transition:border-color .25s var(--ease);
}

.pr-card--soterrado{ border-top-color:var(--red); }

.pr-card:hover{
    border-left-color:var(--rule-strong);
    border-right-color:var(--rule-strong);
    border-bottom-color:var(--rule-strong);
}

.pr-card-media{
    aspect-ratio:4/3;
    overflow:hidden;
    background:#E8EEF1;
}

.pr-card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transform:scale(var(--pr-zoom,1));
    transform-origin:50% 58%;
    transition:transform .6s var(--ease);
}

.pr-card--soterrado .pr-card-media img{
    transform-origin:50% 59%;
}

.pr-card:hover .pr-card-media img{
    transform:scale(calc(var(--pr-zoom,1) * 1.03));
}

.pr-card-body{
    padding:18px 20px 20px;
    display:flex;
    flex-direction:column;
    flex:1;
}

#productos .pr-card-cap{
    font-size:26px;
    font-stretch:114%;
    line-height:1;
    letter-spacing:-.01em;
}

.pr-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:12px;
}

.pr-badge{
    font-family:var(--font-display);
    font-stretch:112%;
    font-size:10.5px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
    padding:4px 8px;
    border-radius:var(--radius);
    border:1.5px solid transparent;
    line-height:1.2;
}

.pr-badge--aereo{ background:var(--blue); color:#fff; }
.pr-badge--soterrado{ background:var(--red); color:#fff; }
.pr-badge--asme{ border-color:var(--blue); color:var(--blue); background:#fff; }

.pr-card-text{
    margin-top:10px;
    font-size:14px;
    color:var(--steel);
}

.pr-card-actions{
    display:flex;
    gap:8px;
    margin-top:18px;
}

.pr-card-actions .pr-card-btn{
    flex:1;
    min-width:0;
    min-height:44px;
    padding:0 10px;
    font-size:13px;
}

/* ---- Detalle (dialog) ---- */

.pr-dialog{
    width:min(940px,94vw);
    max-height:92vh;
    margin:auto;
    padding:0;
    border:0;
    border-radius:var(--radius);
    color:var(--ink);
    background:#fff;
    overflow:auto;
}

.pr-dialog::backdrop{
    background:rgba(4,31,49,.62);
}

.pr-dialog-close{
    position:absolute;
    top:10px;
    right:10px;
    z-index:2;
    width:40px;
    height:40px;
    border:0;
    border-radius:var(--radius);
    background:rgba(255,255,255,.92);
    color:var(--ink);
    font-size:26px;
    line-height:1;
    cursor:pointer;
}

.pr-dialog-close:hover{ background:#fff; }

.pr-dialog-close:focus-visible{
    outline:2px solid var(--blue);
    outline-offset:2px;
}

.pr-dialog-grid{
    display:grid;
    grid-template-columns:1.05fr 1fr;
}

.pr-dialog-media{
    background:#E8EEF1;
    overflow:hidden;
    min-height:320px;
}

.pr-dialog-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transform:scale(var(--pr-zoom,1));
    transform-origin:50% 58%;
}

.pr-dialog-body{
    padding:30px 30px 28px;
}

.pr-dialog-body .pr-badges{
    margin-top:0;
}

#productos .pr-dialog-name{
    margin-top:14px;
    font-size:22px;
    line-height:1.2;
    font-stretch:108%;
}

.pr-dialog-cap{
    margin-top:10px;
    font-size:14px;
    color:var(--steel);
}

.pr-dialog-cap strong{
    color:var(--ink);
    font-size:18px;
    font-family:var(--font-display);
    font-stretch:112%;
    margin-left:6px;
}

#productos .pr-dialog-subtitle{
    margin-top:22px;
    font-size:12px;
    font-stretch:115%;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--steel);
}

.pr-specs{
    margin-top:10px;
    display:grid;
    grid-template-columns:auto 1fr;
    column-gap:18px;
    border-top:1px solid var(--rule);
}

.pr-specs dt,
.pr-specs dd{
    padding:8px 0;
    font-size:13.5px;
    line-height:1.45;
    border-bottom:1px solid #EAF0F3;
}

.pr-specs dt{
    color:var(--steel);
}

.pr-specs dd{
    color:var(--ink);
    font-weight:600;
}

.pr-dialog-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
}

.pr-btn-outline{
    border:1.5px solid var(--rule-strong);
    color:var(--ink);
    background:#fff;
}

.pr-btn-outline:hover{
    border-color:var(--blue);
    color:var(--blue);
}

/* ---- Responsive ---- */

@media(max-width:1100px){
    .pr-config-grid{ grid-template-columns:1fr; }
}

@media(max-width:950px){
    .pr-grid{ grid-template-columns:repeat(2,1fr); }
}

@media(max-width:600px){
    .pr-config-card{ grid-template-columns:1fr; }
    .pr-config-media{ min-height:190px; }
    .pr-grid{ grid-template-columns:1fr; gap:16px; }
    .pr-dialog{ width:100vw; max-height:100dvh; height:100dvh; max-width:100vw; }
    .pr-dialog-grid{ grid-template-columns:1fr; }
    .pr-dialog-media{ min-height:0; aspect-ratio:4/3; }
    .pr-dialog-body{ padding:22px 20px 28px; }
    .pr-dialog-actions .btn{ flex:1 1 100%; }
}

@media (prefers-reduced-motion: reduce){
    .pr-card-media img{ transition:none; }
}

/* ---- Productos: ajustes tras revisión ---- */
#productos .pr-title{ max-width:none; }
.pr-config-card--soterrado .pr-config-media img{ object-position:24% 62%; }
.pr-config-card--aereo .pr-config-media img{ object-position:50% 60%; }
.pr-dialog-grid{ align-items:start; }
.pr-dialog-media{ min-height:0; aspect-ratio:4/3; align-self:start; }
.pr-dialog-actions .btn{ flex:1 1 180px; }
@media(max-width:600px){
    .pr-dialog-actions .btn{ flex:1 1 100%; }
}

.pr-dialog-aside{ background:var(--paper); align-self:stretch; }
.pr-dialog-actions{ margin-top:0; padding:22px 24px 24px; flex-direction:column; }
.pr-dialog-actions .btn{ flex:0 0 auto; width:100%; }
@media(max-width:600px){
    .pr-dialog-actions{ padding:16px 20px 18px; }
}


/* ---- Acceso discreto al panel de administración ---- */

.footer-admin{
    display:inline-block;
    margin-top:10px;
    font-size:10.5px;
    letter-spacing:.06em;
    color:rgba(255,255,255,.34);
    text-decoration:none;
}

.footer-admin:hover,
.footer-admin:focus-visible{
    color:rgba(255,255,255,.72);
    text-decoration:underline;
}

.admin-dialog{
    width:min(380px,92vw);
    margin:auto;
    padding:28px 26px 24px;
    border:0;
    border-top:3px solid var(--orange);
    border-radius:var(--radius);
    background:#fff;
    color:var(--ink);
}

.admin-dialog::backdrop{ background:rgba(4,31,49,.62); }

#productos .admin-dialog h2,
.admin-dialog h2{
    font-size:19px;
    line-height:1.2;
}

.admin-dialog p.admin-hint{
    margin-top:6px;
    font-size:12.5px;
    color:var(--steel);
}

.admin-dialog label{
    display:block;
    margin-top:16px;
    font-family:var(--font-display);
    font-stretch:110%;
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--ink);
}

.admin-dialog input{
    margin-top:6px;
}

.admin-msg{
    margin-top:10px;
    min-height:14px;
    font-size:12px;
    font-weight:700;
    color:var(--red);
}

.admin-actions{
    display:flex;
    gap:10px;
    margin-top:20px;
}

.admin-actions .btn{ flex:1; }


/* ---- Panel de administración embebido (overlay a pantalla completa) ---- */

.admin-panel-overlay{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
    background:#fff;
    flex-direction:column;
}

.admin-panel-overlay.show{
    display:flex;
}

.admin-panel-bar{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 16px;
    background:var(--ink);
    color:#fff;
}

.admin-panel-bar span{
    font-family:var(--font-display);
    font-stretch:110%;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:rgba(255,255,255,.7);
}

.admin-panel-back{
    border:1.5px solid rgba(255,255,255,.4);
    background:transparent;
    color:#fff;
    border-radius:var(--radius);
    padding:7px 14px;
    font-family:var(--font-display);
    font-stretch:108%;
    font-size:12.5px;
    font-weight:700;
    cursor:pointer;
}

.admin-panel-back:hover{
    border-color:#fff;
    background:rgba(255,255,255,.08);
}

.admin-panel-frame{
    flex:1;
    width:100%;
    border:0;
    display:block;
}


/* =========================================================
   CALIDAD (rediseño "dossier de ingeniería") · prefijo cal-
========================================================= */

.cal-hero{
    padding:64px 0 48px;
    background:var(--paper);
}

#calidad .cal-hero-title{
    margin-top:16px;
    font-size:clamp(28px,3.2vw,40px);
    line-height:1.1;
    letter-spacing:-.02em;
    max-width:20ch;
}

.cal-hero-text{
    max-width:56ch;
    margin-top:16px;
    font-size:15.5px;
    line-height:1.65;
    color:var(--steel);
}

/* ---- Certificación ASME: bloque 50/50 ---- */

.cal-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:420px;
}

.cal-split-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:56px min(64px,6vw) 56px max(24px, calc((100vw - 1200px) / 2));
    background:#fff;
}

#calidad .cal-split-copy h2{
    margin-top:14px;
    font-size:clamp(22px,2.4vw,30px);
    line-height:1.16;
    letter-spacing:-.015em;
    max-width:22ch;
}

.cal-split-copy p{
    margin-top:14px;
    font-size:14.5px;
    line-height:1.65;
    color:var(--steel);
    max-width:42ch;
}

.cal-split-media{
    position:relative;
    min-height:320px;
    background:#E8EEF1;
    overflow:hidden;
}

.cal-split-media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 58%;
}

/* ---- Anatomía de la seguridad: lista escalonada con números fantasma ---- */

.cal-anatomy{
    padding:var(--section-y) 0;
    background:var(--paper);
}

#calidad .cal-anatomy-title{
    margin-top:12px;
    font-size:clamp(22px,2.4vw,30px);
    letter-spacing:-.015em;
}

.cal-anatomy-list{
    margin-top:36px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.cal-anatomy-item{
    position:relative;
    display:grid;
    grid-template-columns:88px 132px 1fr;
    align-items:center;
    gap:28px;
    padding:22px 0;
    border-top:1px solid var(--rule);
}

.cal-anatomy-item:last-child{
    border-bottom:1px solid var(--rule);
}

.cal-anatomy-num{
    font-family:var(--font-display);
    font-stretch:125%;
    font-weight:800;
    font-size:64px;
    line-height:1;
    color:var(--rule-strong);
    user-select:none;
}

.cal-anatomy-icon{
    overflow:hidden;
    height:104px;
    border:1px solid var(--rule);
    border-radius:var(--radius);
    background:#fff;
}

.cal-anatomy-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.cal-anatomy-copy{
    position:relative;
    padding-left:22px;
    border-left:2px solid var(--blue);
}

#calidad .cal-anatomy-copy h3{
    font-size:15px;
    font-stretch:112%;
    letter-spacing:.02em;
    text-transform:uppercase;
    color:var(--ink);
}

.cal-anatomy-copy p{
    margin-top:8px;
    font-size:14px;
    line-height:1.6;
    color:var(--steel);
    max-width:60ch;
}

/* ---- Marco legal: bloque de contraste ---- */

.cal-legal{
    background:var(--ink);
    padding:var(--section-y) 0;
}

.cal-legal-inner{
    display:flex;
    align-items:flex-start;
    gap:28px;
}

/* Este eyebrow va sobre fondo oscuro (var(--ink)): el naranja de texto
   estándar (--orange-text) pierde contraste ahí, así que usa el naranja
   claro normal, que sí cumple AA sobre ese fondo. */
.eyebrow-on-dark{
    color:var(--orange);
}

.cal-legal-icon{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    border:1.5px solid rgba(255,255,255,.3);
    border-radius:var(--radius);
    color:#8FD3F4;
}

.cal-legal-icon svg{
    width:32px;
    height:32px;
}

#calidad .cal-legal-copy h2{
    color:#fff;
    margin-top:10px;
    font-size:clamp(21px,2.3vw,28px);
    line-height:1.2;
}

.cal-legal-copy p{
    margin-top:12px;
    font-size:14.5px;
    line-height:1.65;
    color:#C9D8E0;
    max-width:70ch;
}

/* ---- Responsive ---- */

@media(max-width:950px){
    .cal-split{ grid-template-columns:1fr; }
    .cal-split-media{ min-height:280px; order:-1; }
    .cal-split-copy{ padding:44px min(48px,6vw); }
    .cal-anatomy-item{ grid-template-columns:56px 100px 1fr; gap:18px; }
    .cal-anatomy-num{ font-size:46px; }
    .cal-anatomy-icon{ height:88px; }
}

@media(max-width:600px){
    .cal-hero{ padding:48px 0 36px; }
    .cal-split-copy{ padding:36px 20px; }
    .cal-anatomy-item{
        grid-template-columns:1fr;
        gap:14px;
        padding:20px 0;
    }
    .cal-anatomy-num{
        position:absolute;
        top:18px;
        right:0;
        font-size:38px;
        opacity:.5;
    }
    .cal-anatomy-item{ position:relative; }
    .cal-anatomy-icon{
        width:88px;
        height:88px;
    }
    .cal-legal-inner{ flex-direction:column; }
}
/* Las fotos de «Nuestra evolución» llevan width y height en el HTML (evitan el salto al cargar); su alto lo sigue dando
   aspect-ratio, no el atributo. */
.evolution-step img{
    height:auto;
}

/* Archivo variable alojado en el propio sitio (antes, Google Fonts): mismo archivo, mismos ejes y mismo subconjunto latino.
   Los demás subconjuntos (latin-ext, vietnamese) no se usan en el contenido en español. */
@font-face{
    font-family:"Archivo";
    font-style:normal;
    font-weight:100 900;
    font-stretch:62% 125%;
    font-display:swap;
    src:url(/fonts/archivo-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;
}

/* =========================================================
   ESTILOS NUEVOS DE LA FASE 4 (docs/03 §9, docs/08 §7)
   site.css es intocable: todo lo que la maqueta no tenía va aquí.
   Reutiliza sus variables y sus clases (.discount-feedback, .btn, .form-group…).
========================================================= */

/* Campo trampa: invisible para una persona, pero presente para un robot.
   No se usa display:none, que los robots suelen detectar. */
.campo-extra{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

/* ---- Consentimiento (Ley 29733), justo encima del botón de envío ---- */

.consent-group{
    margin:2px 0 20px;
}

.consent-group .consent-label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:0;
    font-family:inherit;
    font-size:12px;
    font-weight:400;
    letter-spacing:0;
    line-height:1.5;
    text-transform:none;
    color:var(--dark);
    cursor:pointer;
}

.consent-group input[type="checkbox"]{
    flex:none;
    width:16px;
    min-width:16px;
    height:16px;
    margin:2px 0 0;
    padding:0;
    accent-color:var(--blue);
    cursor:pointer;
}

.consent-group .consent-label a{
    color:var(--blue);
    text-decoration:underline;
}

.consent-group .consent-nota{
    margin:8px 0 0 26px;
    color:var(--gray);
    font-size:11px;
    line-height:1.5;
}

/* ---- Mensajes de error del envío (reutilizan .discount-feedback.is-invalid) ---- */

.quote-form .envio-error{
    margin:0 0 14px;
}

/* ---- Pantalla de confirmación: ocupa el lugar del formulario, en la misma tarjeta ---- */

.quote-confirm{
    display:none;
    text-align:center;
    padding:22px 0 6px;
}

.quote-form.is-confirmed > h2,
.quote-form.is-confirmed > .quote-form-intro,
.quote-form.is-confirmed > form{
    display:none;
}

.quote-form.is-confirmed > .quote-confirm{
    display:block;
}

.quote-confirm-check{
    font-size:46px;
    font-weight:800;
    line-height:1;
    color:var(--green);
    margin-bottom:16px;
}

.quote-confirm h2{
    margin-bottom:16px;
}

.quote-confirm h2:focus{
    outline:none;
}

.quote-confirm-text{
    margin:0 0 14px;
    font-size:14px;
    line-height:1.7;
    color:var(--dark);
}

.quote-confirm-text strong{
    overflow-wrap:anywhere;
}

/* El número de cotización es lo más visible después del título */
.quote-confirm-num{
    font-size:21px;
    font-weight:800;
    color:var(--blue);
}

.quote-confirm-note{
    margin:0 0 26px;
    font-size:12.5px;
    line-height:1.6;
    color:var(--gray);
}

/* ---- Páginas legales interiores (/privacidad/, docs/08 §7.5) y pie ----
   Carencia demostrada: site.css no trae estilos de texto corrido (listas, tablas, interlineado).
   Solo reutiliza sus variables; no cambia ninguna regla existente. */

.pagina-legal{
    padding:var(--section-y) 0;
}

.pagina-legal .container{
    width:min(820px,92%);
}

.pagina-legal h1{
    font-size:clamp(28px,4vw,40px);
    line-height:1.15;
}

.pagina-legal .legal-fecha{
    margin:10px 0 0;
    font-size:13px;
    color:var(--steel);
}

.pagina-legal h2{
    margin:40px 0 12px;
    font-size:clamp(18px,2.2vw,22px);
    line-height:1.25;
}

.pagina-legal p{
    margin:0 0 14px;
    font-size:15px;
    line-height:1.7;
}

.pagina-legal ul{
    margin:0 0 14px;
    padding-left:22px;
    list-style:disc;
    font-size:15px;
    line-height:1.7;
}

.pagina-legal li{
    margin:0 0 4px;
}

.pagina-legal table{
    width:100%;
    margin:0 0 16px;
    border-collapse:collapse;
    font-size:14px;
    line-height:1.5;
}

.pagina-legal th,
.pagina-legal td{
    padding:10px 12px;
    text-align:left;
    vertical-align:top;
    border-bottom:1px solid var(--rule);
}

.pagina-legal th{
    font-weight:700;
    color:var(--ink);
    border-bottom-color:var(--rule-strong);
}

/* Páginas SEO (6B): migas, filas de botones, listas numeradas y rejilla de tarjetas dentro de la columna de 820 px */
.pagina-legal .migas ol{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:0 0 20px;
    padding:0;
    list-style:none;
    font-size:13px;
    color:var(--steel);
}

.migas li + li:before{
    content:"›";
    margin-right:6px;
}

.migas a{
    color:inherit;
    text-decoration:underline;
    text-underline-offset:2px;
}

.pagina-seo .eyebrow{
    margin-bottom:10px;
}

.pagina-seo h1{
    margin-bottom:16px;
}

.pagina-legal .botones{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:20px 0 0;
}

.pagina-legal ol{
    margin:0 0 14px;
    padding-left:22px;
    font-size:15px;
    line-height:1.7;
}

.pagina-seo .pr-grid{
    margin:22px 0 0;
}

@media(min-width:951px){
    .pagina-seo .pr-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Enlace «Política de privacidad» dentro de la línea legal del pie */
.footer-info a{
    text-decoration:underline;
    text-underline-offset:2px;
}

.footer-info a:hover{
    color:#fff;
}

/* Cuadro de detalle del producto en las páginas interiores (reorganización de Productos, 12/10/2026).
   Mismas declaraciones que `#productos .pr-dialog-name` y `#productos .pr-dialog-subtitle` de site.css:
   el cuadro ya no vive dentro de la vista #productos del home. */
.pr-dialog .pr-dialog-name{
    margin-top:14px;
    font-size:22px;
    line-height:1.2;
    font-stretch:108%;
}

.pr-dialog .pr-dialog-subtitle{
    margin-top:22px;
    font-size:12px;
    font-stretch:115%;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--steel);
}
