:root{--navy:#032b3a;--navy-dark:#011d29;--orange:#ff7100;--paper:#f5f7f8;--ink:#10212a;--muted:#66747b}*{box-sizing:border-box}body{font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff}.topbar{background:#021722;color:#c7d2d7;font-size:.78rem;padding:.5rem 0}.navbar{background:rgba(2,29,41,.98);padding:.9rem 0}.navbar-brand{letter-spacing:.02em}.navbar-brand small{font-size:.55em}.brand-mark,.eyebrow,.section-kicker{color:var(--orange)}.nav-link{font-weight:600;font-size:.92rem}.btn-promec{background:var(--orange);border-color:var(--orange);color:#fff;font-weight:700}.btn-promec:hover{background:#dd6200;border-color:#dd6200;color:#fff}.hero{background:radial-gradient(circle at 80% 30%,#14546b 0,transparent 32%),linear-gradient(115deg,#011d29 0%,#063449 60%,#021722 100%);color:#fff;overflow:hidden}.min-vh-75{min-height:68vh}.hero h1{max-width:760px;font-size:clamp(2.4rem,5vw,4.7rem);font-weight:850;line-height:1.02;letter-spacing:-.04em}.hero h1 span{color:var(--orange)}.hero .lead{max-width:600px;color:#d8e2e6}.eyebrow,.section-kicker{font-size:.78rem;font-weight:800;letter-spacing:.13em}.hero-visual{aspect-ratio:1/1;border:1px solid rgba(255,255,255,.3);background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.02));clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.hero-visual span{font-size:4rem;font-weight:900;color:rgba(255,255,255,.8)}.hero-visual small{color:#b5c7cf}.catalog-strip,.metrics{background:var(--navy-dark);color:#fff}.catalog-item{display:flex;flex-direction:column;text-decoration:none;color:#fff;padding:1rem;border-left:2px solid rgba(255,255,255,.1)}.catalog-item:hover{border-color:var(--orange)}.catalog-item small{color:#a9bac2;margin-top:.3rem}.service-card,.product-card,.admin-stat{background:#fff;border:1px solid #e1e7ea;border-radius:14px;padding:1.5rem;box-shadow:0 12px 35px rgba(3,43,58,.07)}.service-card h2,.service-card h3,.product-card h2{font-size:1.1rem;font-weight:750}.service-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff1e7;color:var(--orange);font-size:1.35rem;margin-bottom:1rem}.metrics strong,.metrics span{display:block}.metrics strong{font-size:1.4rem;color:var(--orange)}.metrics span{font-size:.85rem;color:#c4d0d5}.page-header{padding:7rem 0;background:linear-gradient(120deg,var(--navy-dark),#0a455b);color:#fff}.page-header.compact{padding:4rem 0}.page-header h1{font-size:clamp(2.2rem,5vw,4rem);font-weight:800}.product-card{padding:0;overflow:hidden}.product-image{height:180px;background:linear-gradient(145deg,#0b465d,#021d29);color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:900}.empty-state{padding:3rem;text-align:center;background:var(--paper);border-radius:14px;color:var(--muted)}.site-footer{background:#010f16;color:#a8b7bd}.floating-contact{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#19b868;color:#fff;display:grid;place-items:center;text-decoration:none;font-weight:900;box-shadow:0 8px 25px rgba(0,0,0,.25)}.admin-body{background:var(--paper)}.admin-stat strong,.admin-stat span{display:block}.admin-stat strong{font-size:2.2rem;color:var(--orange)}.preserve-lines{white-space:pre-line}@media(max-width:991px){.hero-visual{max-width:360px;margin:3rem auto 0}.min-vh-75{min-height:auto}.hero{padding:2rem 0}}
 :root{--hero-image:none}.hero{position:relative;background-image:linear-gradient(90deg,rgba(1,22,31,.98) 0%,rgba(2,32,44,.92) 35%,rgba(2,29,41,.45) 68%,rgba(2,21,30,.62) 100%),var(--hero-image);background-size:cover;background-position:center}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,13,20,.42),transparent 45%);pointer-events:none}.hero .container{position:relative;z-index:1}.hero-collage{position:relative;min-height:490px}.hero-collage img{position:absolute;display:block;object-fit:cover;border:2px solid rgba(255,255,255,.82);box-shadow:0 18px 42px rgba(0,0,0,.4)}.hero-collage-main{width:72%;height:62%;right:-8%;top:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.hero-collage-secondary{width:82%;height:56%;right:-18%;bottom:0;clip-path:polygon(32% 0,100% 0,100% 100%,32% 100%,0 50%)}@media(max-width:991px){.hero-collage{max-width:500px;min-height:420px;margin:3rem auto 0}.hero-collage-main{right:0}.hero-collage-secondary{right:-4%}.hero{background-position:62% center}}@media(max-width:575px){.hero-collage{min-height:320px}}

/* ===== PROMEC UNIFICADO: conserva la escala visual del diseño base ===== */
.topbar-inner{display:flex;justify-content:space-between;align-items:center}.promec-navbar{z-index:1030}.promec-brand{display:flex;align-items:center;gap:.65rem}.brand-mark{display:grid;place-items:center;width:32px;height:32px;font-size:2rem;line-height:1}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:1.35rem;letter-spacing:.02em}.brand-copy small{font-size:.45rem;letter-spacing:.16em;color:#9eb4bc;margin-top:.18rem}.nav-action .btn{white-space:nowrap}.btn-call{border:1px solid var(--orange);color:#fff;background:transparent;font-weight:700}.btn-call:hover{background:var(--orange);border-color:var(--orange);color:#fff}.consultation-section{background:#f5f7f8}.consultation-card{display:flex;align-items:center;justify-content:space-between;gap:2rem;background:#fff;border:1px solid #e1e7ea;border-radius:14px;padding:1.7rem 2rem;box-shadow:0 12px 35px rgba(3,43,58,.07)}.consultation-card h2{margin:0;font-size:1.5rem;font-weight:800}.consultation-card p:not(.section-kicker){margin:.4rem 0 0;color:var(--muted)}.floating-actions{position:fixed;right:18px;bottom:20px;z-index:1040;display:flex;flex-direction:column;gap:8px}.floating-contact{position:static;width:58px;height:58px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;font-weight:800;box-shadow:0 8px 25px rgba(0,0,0,.25);transition:transform .2s ease,box-shadow .2s ease}.floating-contact:hover{transform:translateY(-2px);box-shadow:0 11px 28px rgba(0,0,0,.3);color:#fff}.floating-contact span{font-size:1.2rem;line-height:1}.floating-contact small{font-size:.55rem;margin-top:2px}.floating-whatsapp{background:#19b868;color:#fff}.floating-call{background:var(--orange);color:#fff}@media(max-width:991px){.promec-navbar .navbar-collapse{padding:.8rem 0 .3rem}.promec-navbar .navbar-nav{align-items:stretch!important}.promec-navbar .nav-link{padding:.65rem .3rem}.nav-action{margin-top:.35rem}.nav-action .btn{width:100%}.consultation-card{align-items:flex-start;flex-direction:column}}@media(max-width:575px){.floating-actions{right:12px;bottom:12px}.floating-contact{width:52px;height:52px}.consultation-card{padding:1.35rem}.consultation-card h2{font-size:1.25rem}}

/* ===== HOME: segunda sección igual a la referencia visual aprobada ===== */
.promec-brand{height:50px;display:flex;align-items:center}.promec-logo{width:170px;height:50px;object-fit:contain;object-position:left center;display:block}
.home-services{background:#f5f7f8;padding:3.25rem 0 3rem}.home-section-heading{margin-bottom:1.9rem}.home-section-heading .section-kicker{margin-bottom:.2rem;font-size:.58rem}.home-section-heading h2{margin:.1rem 0 .25rem;color:#062f42;font-size:1.55rem;font-weight:800}.home-section-heading>p:last-child{margin:0;color:#87939a;font-size:.68rem}.home-service-card{height:100%;min-height:92px;background:#fff;border:1px solid #dce2e5;border-radius:0;padding:1rem 1rem .85rem;box-shadow:none}.home-service-icon{color:var(--orange);font-size:.95rem;line-height:1;margin-bottom:.38rem}.home-service-card h3{margin:0 0 .2rem;color:#062f42;font-size:.74rem;font-weight:700}.home-service-card p{margin:0;color:#7b858b;font-size:.58rem;line-height:1.35}.home-metrics{padding:0!important}.home-metric{min-height:54px;display:flex;align-items:center;justify-content:center;gap:.42rem;border-right:1px solid rgba(255,255,255,.14);text-align:left}.home-metric:last-child{border-right:0}.home-metric strong{font-size:1.18rem;line-height:1;color:var(--orange)}.home-metric span{font-size:.55rem;line-height:1.25;color:#fff;font-weight:700}.home-metric span small{font-size:.46rem;color:#aebfc6;font-weight:400}.home-consultation{background:#f5f7f8;padding:3.2rem 0 3.25rem}.home-consultation .consultation-card{border-radius:0;padding:1.35rem 1.25rem;box-shadow:none;min-height:96px}.home-consultation .consultation-card h2{font-size:1.3rem;color:#062f42}.home-consultation .consultation-card p:not(.section-kicker){font-size:.62rem}.home-consultation .section-kicker{font-size:.55rem}.home-consultation .btn{font-size:.68rem;padding:.55rem .85rem}.site-footer{background:#011d29}.footer-brand{color:#fff;font-size:1rem;font-weight:800}.site-footer p,.site-footer a,.site-footer span{display:block;color:#b2c1c7;font-size:.62rem;text-decoration:none;margin:.25rem 0}.site-footer strong{display:block;color:#fff;font-size:.65rem;margin-bottom:.35rem}.site-footer a:hover{color:#fff}.footer-bottom{margin-top:1rem;padding-top:.65rem;border-top:1px solid rgba(255,255,255,.12);color:#8ea3ac;font-size:.52rem}@media(max-width:991px){.promec-logo{width:150px;height:44px}.home-metric{border-right:0;border-bottom:1px solid rgba(255,255,255,.14);min-height:58px}.home-metric:nth-child(odd){border-right:1px solid rgba(255,255,255,.14)}}@media(max-width:575px){.home-services{padding-top:2.6rem}.home-section-heading h2{font-size:1.35rem}.home-service-card{min-height:105px;padding:.85rem}.home-metric strong{font-size:1rem}.home-metric span{font-size:.5rem}.promec-logo{width:145px;height:42px}}

/* ===== ESCALA TIPOGRÁFICA BASE PROMEC =====
   Se recuperan los tamaños de la versión base original.
   No se modifican las funcionalidades ni la estructura MVC.
*/
.topbar{font-size:12px;padding:.5rem 0}
.nav-link{font-size:13px}
.brand-copy strong{font-size:22px}
.brand-copy small{font-size:7px;letter-spacing:1.4px}
.hero{min-height:560px}
.hero-copy{padding:55px 0}
.eyebrow,.section-kicker{font-size:12px;letter-spacing:1px}
.hero h1{font-size:clamp(38px,5vw,61px);line-height:1.04;letter-spacing:normal}
.hero .lead{font-size:16px;line-height:1.6}
.hero-actions{margin-top:26px}
.catalog-item{padding:17px 13px}
.catalog-item strong{font-size:12px}
.catalog-item small{font-size:9px;margin-top:4px}
.home-services{padding:78px 0}
.home-section-heading{max-width:760px;margin:0 auto 40px}
.home-section-heading .section-kicker{font-size:12px}
.home-section-heading h2{font-size:34px;font-weight:800;margin:.1rem 0 .25rem}
.home-section-heading>p:last-child{font-size:inherit}
.home-service-card{min-height:185px;padding:26px 20px}
.home-service-icon{font-size:27px;margin-bottom:.55rem}
.home-service-card h3{font-size:15px}
.home-service-card p{font-size:12px;line-height:1.6}
.home-metrics{padding:25px 0!important}
.home-metric{min-height:auto;padding:0 20px;justify-content:flex-start;gap:12px}
.home-metric strong{font-size:28px}
.home-metric span{font-size:11px}
.home-metric span small{font-size:9px}
.home-consultation{padding:78px 0}
.home-consultation .consultation-card{padding:38px;border-radius:0;min-height:auto}
.home-consultation .consultation-card h2{font-size:34px}
.home-consultation .consultation-card p:not(.section-kicker){font-size:inherit}
.home-consultation .section-kicker{font-size:12px}
.home-consultation .btn{font-size:inherit;padding:.375rem .75rem}
.footer-brand{font-size:24px}
.site-footer p,.site-footer a,.site-footer span{font-size:13px}
.site-footer strong{font-size:inherit}
.footer-bottom{font-size:inherit}

@media(max-width:575px){
  .hero h1{font-size:39px}
  .home-section-heading h2{font-size:34px}
  .home-service-card{min-height:185px;padding:26px 20px}
  .home-metric strong{font-size:28px}
  .home-metric span{font-size:11px}
  .home-consultation .consultation-card{padding:25px}
  .home-consultation .consultation-card h2{font-size:34px}
}


/* ===== PROMEC V2 - AJUSTE VISUAL PREMIUM SEGÚN REFERENCIA ===== */
.topbar{background:#032b3a;border-bottom:1px solid rgba(255,255,255,.09);padding:.62rem 0;color:#d7e2e7}
.topbar-inner{font-size:.82rem}.topbar-contact{display:flex;align-items:center;gap:1.6rem}.topbar i{color:var(--orange);margin-right:.35rem}.promec-navbar{background:#06283a!important;padding:.72rem 0;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.promec-brand{height:76px;min-width:280px}.promec-logo{width:238px;height:76px;object-fit:contain;object-position:left center;transform:scale(1.03);transform-origin:left center}.promec-navbar .nav-link{font-size:1rem;font-weight:600;color:#e4edf1;padding:.85rem .7rem;transition:color .2s ease}.promec-navbar .nav-link:hover,.promec-navbar .nav-link.active{color:var(--orange)}
.nav-action .btn{font-size:.95rem;padding:.72rem 1.15rem;border-radius:7px}.btn-promec{box-shadow:0 8px 18px rgba(255,113,0,.18)}.btn-promec i,.btn-call i{font-size:.95em}.btn-call{border-color:#91a5ae}.btn-call:hover{border-color:var(--orange)}
.hero{min-height:560px;background-image:linear-gradient(90deg,rgba(1,18,28,.98) 0%,rgba(2,29,41,.94) 31%,rgba(2,29,41,.72) 49%,rgba(2,29,41,.25) 70%,rgba(1,16,24,.55) 100%),var(--hero-image);background-size:cover;background-position:center right}.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,18,28,.35),transparent 42%,rgba(0,0,0,.12));pointer-events:none}.hero-container{position:relative;z-index:2}.hero-copy{padding:70px 0}.eyebrow{display:flex;align-items:center;gap:.7rem;color:#e6eef2}.eyebrow span{width:5px;height:28px;background:var(--orange);display:inline-block;transform:skewX(-28deg)}.hero h1{max-width:720px;text-shadow:0 3px 16px rgba(0,0,0,.28)}.hero .lead{max-width:640px;color:#e7eef1}.hero-actions .btn{border-radius:7px}.hero-secondary-btn{border-width:1px;background:rgba(0,0,0,.08)}
.catalog-strip{background:#032c3d}.catalog-row{border-top:1px solid rgba(255,255,255,.09)}.catalog-item{min-height:104px;display:flex;flex-direction:row;align-items:center;gap:1rem;padding:1.2rem 1.35rem;border-left:1px solid rgba(255,255,255,.14);border-right:0;transition:background .2s ease,transform .2s ease}.catalog-item:hover{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.14);transform:translateY(-1px)}.catalog-icon,.home-service-icon{display:grid;place-items:center;flex:0 0 auto}.catalog-icon{width:52px;height:52px;color:#fff;border:2px solid var(--orange);background:linear-gradient(145deg,#0a4256,#062c3d);clip-path:polygon(50% 0,92% 25%,92% 75%,50% 100%,8% 75%,8% 25%);font-size:1.3rem;box-shadow:inset 0 0 0 2px rgba(0,155,255,.18)}.catalog-copy{display:flex;flex-direction:column}.catalog-item strong{font-size:1rem}.catalog-item small{font-size:.76rem;color:#b8cbd2;margin-top:.25rem}
.home-services{background:#f4f7f8;padding:78px 0}.home-section-heading{margin-bottom:42px}.home-section-heading .section-kicker{color:var(--orange)}.home-section-heading h2{color:#062f42;font-size:2.15rem}.home-section-heading>p:last-child{color:#77868e;font-size:.92rem}.home-service-card{min-height:185px;padding:24px 22px;border:1px solid #d9e1e5;border-radius:3px;box-shadow:0 8px 22px rgba(3,43,58,.035);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.home-service-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(3,43,58,.09);border-color:#c7d3d9}.home-service-icon{width:46px;height:46px;border:1px solid rgba(255,113,0,.25);background:#fff7f0;color:var(--orange);font-size:1.15rem;margin-bottom:14px}.home-service-card h3{font-size:.98rem}.home-service-card p{font-size:.78rem;color:#6f7e85}
.home-metrics{background:#032b3a!important;padding:0!important}.home-metric{min-height:76px;padding:0 22px;justify-content:flex-start;gap:12px;border-right:1px solid rgba(255,255,255,.14)}.home-metric .metric-icon{color:var(--orange);font-size:1rem}.home-metric strong{font-size:1.45rem}.home-metric span{font-size:.72rem}.home-metric span small{font-size:.6rem;color:#a9bdc5}
.home-consultation{background:#f4f7f8;padding:78px 0}.home-consultation .consultation-card{padding:34px 38px;border:1px solid #dce3e7;box-shadow:0 10px 28px rgba(3,43,58,.05)}.home-consultation .consultation-card h2{font-size:2rem;color:#062f42}.home-consultation .btn{border-radius:6px}
.site-footer{background:#021d29}.floating-contact{width:60px;height:60px}.floating-contact i{font-size:1.35rem}.floating-contact small{font-size:.55rem}
@media(max-width:1199px){.promec-brand{min-width:235px}.promec-logo{width:210px}.promec-navbar .nav-link{font-size:.92rem;padding:.75rem .5rem}.nav-action .btn{padding:.65rem .9rem}}
@media(max-width:991px){.promec-brand{height:62px;min-width:0}.promec-logo{width:190px;height:62px}.promec-navbar{padding:.35rem 0}.topbar{display:none}.hero{min-height:0;background-position:62% center}.hero-copy{padding:62px 0}.catalog-item{min-height:96px}.promec-navbar .navbar-collapse{background:#06283a;padding:1rem 0 .4rem}.home-metric{min-height:72px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}}
@media(max-width:575px){.promec-logo{width:175px;height:58px}.hero-copy{padding:50px 0}.hero h1{font-size:39px}.hero .lead{font-size:15px}.catalog-item{padding:1rem .8rem;gap:.65rem}.catalog-icon{width:44px;height:44px;font-size:1rem}.catalog-item strong{font-size:.86rem}.catalog-item small{font-size:.68rem}.home-services{padding:58px 0}.home-section-heading h2{font-size:1.75rem}.home-service-card{min-height:165px}.home-metric{padding:0 12px;gap:8px}.home-metric strong{font-size:1.15rem}.home-metric span{font-size:.62rem}.home-consultation{padding:58px 0}.home-consultation .consultation-card h2{font-size:1.6rem}}


/* =========================================================
   PROMEC V3 - Ajuste visual inspirado en la referencia
   Navbar más compacto + logo intermedio + geometría lateral
   ========================================================= */
.promec-navbar{
    padding:.48rem 0;
    background:rgba(3,30,43,.985)!important;
    border-bottom:1px solid rgba(255,255,255,.10);
    box-shadow:0 7px 20px rgba(0,0,0,.16);
}
.promec-brand{
    height:64px;
    min-width:250px;
}
.promec-logo{
    width:204px;
    height:65px;
    object-fit:contain;
    object-position:left center;
    transform:none;
}
.promec-navbar .nav-link{
    font-size:.94rem;
    padding:.68rem .58rem;
}
.nav-action .btn{
    font-size:.86rem;
    padding:.60rem .92rem;
}
.topbar{
    padding:.40rem 0;
    font-size:.76rem;
    background:#021a26;
}
.topbar-inner{min-height:31px}

/* Hero ligeramente más compacto y con mayor profundidad de fondo */
.hero{
    min-height:535px;
    background-image:
        linear-gradient(90deg,rgba(1,18,28,.985) 0%,rgba(2,29,41,.95) 30%,rgba(2,29,41,.70) 50%,rgba(2,29,41,.24) 72%,rgba(1,16,24,.58) 100%),
        var(--hero-image);
    background-size:cover;
    background-position:center right;
}
.hero-copy{padding:58px 0}
.hero-overlay{
    background:
        linear-gradient(135deg,rgba(0,20,31,.30),transparent 42%,rgba(0,0,0,.10) 100%),
        linear-gradient(180deg,rgba(3,48,69,.10),transparent 48%,rgba(0,9,15,.30));
}

/* Paneles diagonales y líneas laterales como en la referencia */
.hero-decor{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    overflow:hidden;
}
.hero-decor::before,
.hero-decor::after{
    content:"";
    position:absolute;
    display:block;
}
.hero-decor-left::before{
    left:-105px;
    top:18%;
    width:245px;
    height:245px;
    background:linear-gradient(135deg,rgba(9,76,105,.22),rgba(4,48,70,.02));
    clip-path:polygon(0 0,100% 0,0 100%);
}
.hero-decor-left::after{
    left:-30px;
    bottom:18%;
    width:155px;
    height:155px;
    border-left:5px solid rgba(4,111,159,.62);
    border-bottom:5px solid rgba(4,111,159,.62);
    transform:skewY(-30deg) rotate(45deg);
    opacity:.70;
}
.hero-decor-right::before{
    right:-70px;
    top:5%;
    width:210px;
    height:210px;
    background:linear-gradient(135deg,rgba(4,111,159,.22),rgba(4,48,70,.03));
    clip-path:polygon(100% 0,100% 100%,0 100%);
}
.hero-decor-right::after{
    right:-55px;
    bottom:7%;
    width:270px;
    height:270px;
    border-right:4px solid rgba(255,113,0,.95);
    border-bottom:4px solid rgba(255,113,0,.95);
    transform:skewY(-30deg) rotate(-45deg);
    opacity:.95;
}
.hero-decor .decor-blue,
.hero-decor .decor-orange{
    position:absolute;
    display:block;
    height:3px;
    transform:rotate(-45deg);
    transform-origin:center;
}
.hero-decor-left .decor-blue{
    width:145px;
    left:-25px;
    bottom:29%;
    background:#0c78ad;
    box-shadow:0 0 12px rgba(12,120,173,.22);
}
.hero-decor-left .decor-orange{
    width:92px;
    left:-8px;
    bottom:24%;
    height:4px;
    background:var(--orange);
}
.hero-decor-right .decor-blue{
    width:125px;
    right:-20px;
    top:25%;
    background:#0875a8;
}
.hero-decor-right .decor-orange{
    width:105px;
    right:-18px;
    top:31%;
    height:4px;
    background:var(--orange);
}

/* Mantener el contenido siempre por encima de la decoración */
.hero-container{z-index:3}
.hero h1{font-size:clamp(2.25rem,4.55vw,4.25rem)}

@media(max-width:1199px){
    .promec-brand{min-width:225px}
    .promec-logo{width:195px;height:62px}
    .promec-navbar .nav-link{font-size:.90rem;padding:.65rem .48rem}
    .nav-action .btn{padding:.58rem .78rem}
}
@media(max-width:991px){
    .promec-navbar{padding:.28rem 0}
    .promec-brand{height:58px;min-width:0}
    .promec-logo{width:185px;height:58px}
    .hero{min-height:0;background-position:62% center}
    .hero-copy{padding:56px 0}
    .hero-decor-left .decor-blue{bottom:23%}
    .hero-decor-left .decor-orange{bottom:18%}
    .hero-decor-right .decor-blue{top:20%}
    .hero-decor-right .decor-orange{top:26%}
}
@media(max-width:575px){
    .promec-logo{width:170px;height:54px}
    .hero-copy{padding:48px 0}
    .hero-decor{opacity:.70}
    .hero-decor-right::before{right:-130px}
    .hero-decor-right::after{right:-120px}
    .hero-decor-left .decor-blue{left:-58px}
    .hero-decor-left .decor-orange{left:-35px}
}

/* Página de servicios */
.services-header p:last-child{max-width:720px;margin:1rem 0 0;color:#c8d6dc;font-size:1rem;line-height:1.7}
.services-page{background:#fff}
.services-group{padding:76px 0}
.services-group-alt{background:#f4f7f8}
.services-heading{margin-bottom:34px}
.services-heading .section-kicker{margin:0 0 .4rem}
.services-heading h2{margin:0;color:var(--navy);font-size:clamp(1.8rem,3vw,2.45rem);font-weight:800}
.service-card-link{display:block;height:100%;color:inherit;text-decoration:none}
.service-showcase-card{overflow:hidden;background:#fff;border:1px solid #dce4e8;border-radius:8px;box-shadow:0 10px 28px rgba(3,43,58,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.service-showcase-image{position:relative;aspect-ratio:16/10;overflow:hidden;background:#dce4e8}
.service-showcase-image::after{content:"";position:absolute;inset:auto 0 0;height:34%;background:linear-gradient(transparent,rgba(1,29,41,.24));pointer-events:none}
.service-showcase-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.service-showcase-body{display:flex;min-height:245px;flex-direction:column;padding:24px}
.service-showcase-body h3{margin:0 0 12px;color:#062f42;font-size:1.05rem;font-weight:800;line-height:1.4}
.service-showcase-body p{margin:0;color:#6d7b82;font-size:.9rem;line-height:1.65}
.service-whatsapp{display:flex;align-items:center;gap:.5rem;margin-top:auto;padding-top:20px;color:#138b51;font-size:.86rem;font-weight:800}
.service-whatsapp i{font-size:1.1rem}
.service-card-link:hover,.service-card-link:focus-visible{color:inherit}
.service-card-link:hover .service-showcase-card,.service-card-link:focus-visible .service-showcase-card{transform:translateY(-5px);border-color:rgba(255,113,0,.55);box-shadow:0 18px 38px rgba(3,43,58,.14)}
.service-card-link:hover .service-showcase-image img,.service-card-link:focus-visible .service-showcase-image img{transform:scale(1.04)}
.service-card-link:focus-visible{outline:3px solid rgba(255,113,0,.38);outline-offset:4px;border-radius:8px}
@media(max-width:767px){.services-group{padding:58px 0}.service-showcase-body{min-height:220px;padding:21px}.services-heading{margin-bottom:28px}}

/* Botón flotante: únicamente ícono de WhatsApp */
.floating-actions .floating-whatsapp{width:64px;height:64px;flex-direction:row}
.floating-actions .floating-whatsapp i{font-size:2rem;line-height:1}
@media(max-width:575px){.floating-actions .floating-whatsapp{width:58px;height:58px}.floating-actions .floating-whatsapp i{font-size:1.8rem}}

/* Categorías de servicios en el Home */
.home-service-category{display:block;height:100%;color:inherit;text-decoration:none}
.home-service-category article{display:flex;min-height:330px;height:100%;flex-direction:column;padding:34px 30px;background:#fff;border:1px solid #d7e0e5;border-radius:5px;box-shadow:0 10px 28px rgba(3,43,58,.045);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.home-service-category-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:22px;border:1px solid rgba(255,113,0,.34);border-radius:6px;background:#fff8f2;color:var(--orange);font-size:1.65rem}
.home-service-category h3{margin:0 0 14px;color:#062f42;font-size:1.45rem;font-weight:800;line-height:1.3}
.home-service-category p{margin:0;color:#6f7e85;font-size:.95rem;line-height:1.65}
.home-service-category span{display:flex;align-items:center;gap:.75rem;margin-top:auto;padding-top:28px;color:var(--orange);font-size:.94rem;font-weight:800}
.home-service-category span i{transition:transform .2s ease}
.home-service-category:hover,.home-service-category:focus-visible{color:inherit}
.home-service-category:hover article,.home-service-category:focus-visible article{transform:translateY(-5px);border-color:rgba(255,113,0,.55);box-shadow:0 18px 36px rgba(3,43,58,.11)}
.home-service-category:hover span i,.home-service-category:focus-visible span i{transform:translateX(5px)}
.home-service-category:focus-visible{outline:3px solid rgba(255,113,0,.35);outline-offset:4px;border-radius:5px}
.services-group[id]{scroll-margin-top:105px}
@media(max-width:991px){.home-service-category article{min-height:270px}}
@media(max-width:575px){.home-service-category article{min-height:255px;padding:28px 24px}.home-service-category h3{font-size:1.25rem}}

/* PROMEC Admin V5.1: interfaz administrativa, modo claro/nocturno */
:root{--admin-bg:#f3f6f7;--admin-surface:#fff;--admin-text:#10212a;--admin-muted:#66747b;--admin-border:#dce4e8;--admin-input:#fff;--admin-shadow:0 14px 38px rgba(3,43,58,.08)}
html[data-theme="dark"],body[data-theme="dark"]{--admin-bg:#0b1720;--admin-surface:#132530;--admin-text:#e8f0f3;--admin-muted:#a4b5bd;--admin-border:#2c414d;--admin-input:#0e202a;--admin-shadow:0 14px 38px rgba(0,0,0,.2);color-scheme:dark}
.admin-body{min-height:100vh;background:var(--admin-bg);color:var(--admin-text);transition:background .2s ease,color .2s ease}
.admin-navbar{background:#06283a!important;border-bottom:3px solid var(--orange);box-shadow:0 8px 25px rgba(0,0,0,.12);padding:.65rem 0}
.admin-brand{display:flex;align-items:center;gap:.75rem;font-size:.95rem;letter-spacing:.01em}.admin-brand img{width:130px;height:42px;object-fit:contain}.admin-brand span{border-left:1px solid rgba(255,255,255,.25);padding-left:.75rem;color:#dce8ed}
.theme-toggle{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .7rem;border:1px solid rgba(255,255,255,.35);border-radius:7px;background:rgba(255,255,255,.07);color:#fff;font-size:.78rem;font-weight:650}.theme-toggle:hover{background:rgba(255,255,255,.16)}
.admin-content{max-width:1600px;margin-inline:auto}.admin-page-heading{display:flex;justify-content:space-between;align-items:center;gap:1.25rem}.admin-page-heading h1{color:var(--admin-text);font-weight:800;letter-spacing:-.025em}.admin-card{background:var(--admin-surface);border:1px solid var(--admin-border);border-radius:14px;box-shadow:var(--admin-shadow);color:var(--admin-text)}
.admin-form-section h2{font-weight:750;color:var(--admin-text)}.admin-body .text-muted,.admin-body .form-text{color:var(--admin-muted)!important}.admin-body .form-label,.admin-body .form-check-label{color:var(--admin-text);font-weight:600}.admin-body .form-control,.admin-body .form-select{background-color:var(--admin-input);color:var(--admin-text);border-color:var(--admin-border);min-height:43px}.admin-body textarea.form-control{min-height:auto}.admin-body .form-control::placeholder{color:var(--admin-muted);opacity:.8}.admin-body .form-control:focus,.admin-body .form-select:focus{border-color:var(--orange);box-shadow:0 0 0 .2rem rgba(255,113,0,.16)}.admin-body .form-check-input:checked{background-color:var(--orange);border-color:var(--orange)}.admin-body .table{--bs-table-bg:transparent;--bs-table-color:var(--admin-text);--bs-table-border-color:var(--admin-border);color:var(--admin-text)}.admin-body .table thead th{color:var(--admin-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.055em;border-bottom-width:1px;white-space:nowrap}.admin-body .table td{border-color:var(--admin-border)}.admin-body .table tbody tr:hover>*{--bs-table-bg:rgba(255,113,0,.045)}.admin-body hr{border-color:var(--admin-border);opacity:1}.admin-body .btn-outline-secondary{color:var(--admin-text);border-color:var(--admin-border)}.admin-body .btn-outline-secondary:hover{background:var(--admin-border);color:var(--admin-text)}.admin-body .alert-success{background:rgba(25,135,84,.12);color:var(--admin-text);border-color:rgba(25,135,84,.25)}.admin-body .admin-stat{background:var(--admin-surface);border-color:var(--admin-border);color:var(--admin-text)}
.product-admin-preview{width:100%;max-width:320px;height:205px;object-fit:contain;background:var(--admin-bg);border:1px solid var(--admin-border);border-radius:10px;padding:.5rem}.product-admin-placeholder{max-width:320px;height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;background:var(--admin-bg);border:1px dashed var(--admin-border);border-radius:10px;color:var(--admin-muted)}.product-admin-placeholder span{font-weight:900;letter-spacing:.15em;color:var(--orange)}.product-table-thumb{width:54px;height:48px;object-fit:contain;border-radius:8px;border:1px solid var(--admin-border);background:var(--admin-bg);padding:3px;flex-shrink:0}.product-table-empty{display:grid;place-items:center;color:var(--orange);font-weight:900;font-size:1.3rem}.status-pill{display:inline-block;padding:.25rem .6rem;border-radius:999px;font-size:.75rem;font-weight:750}.status-active{color:#167347;background:rgba(25,135,84,.13)}.status-inactive{color:var(--admin-muted);background:rgba(102,116,123,.15)}.empty-state{padding:2rem;text-align:center;color:var(--admin-muted)}.empty-state strong{display:block;color:var(--admin-text);font-size:1.1rem;margin-bottom:.3rem}
/* Login con la imagen hero del sitio público */
.admin-login-body{min-height:100vh;background:var(--admin-bg);color:var(--admin-text);display:flex;align-items:center;justify-content:center;padding:28px;overflow-x:hidden}.login-background{position:fixed;inset:0;background-image:linear-gradient(120deg,rgba(1,18,28,.91),rgba(2,29,41,.70));background-size:cover;background-position:center;transform:scale(1.02);z-index:0}.login-shell{position:relative;z-index:1;width:min(1120px,100%);min-height:650px;display:grid;grid-template-columns:1.03fr .97fr;border:1px solid rgba(255,255,255,.18);border-radius:22px;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.34)}.login-brand-panel{padding:clamp(28px,5vw,60px);display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:linear-gradient(145deg,rgba(2,35,49,.66),rgba(1,19,27,.42))}.login-logo-link{display:inline-flex;width:max-content}.login-logo{width:220px;max-width:100%;height:76px;object-fit:contain;object-position:left center}.login-brand-copy{max-width:470px;padding:45px 0}.login-eyebrow{font-size:.72rem;letter-spacing:.18em;font-weight:800;color:#ffd0ad}.login-brand-copy h1{font-size:clamp(2.3rem,4.5vw,3.9rem);line-height:1.05;font-weight:850;letter-spacing:-.045em;margin:1.2rem 0}.login-brand-copy h1 span{color:var(--orange)}.login-brand-copy p{max-width:400px;color:#d5e2e7;line-height:1.75}.login-brand-footer{display:flex;align-items:center;gap:.75rem;color:#d1dfe4;font-size:.78rem}.login-brand-line{width:34px;height:3px;background:var(--orange)}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:clamp(25px,4vw,55px);background:var(--admin-surface);color:var(--admin-text)}.login-form-card{width:100%;max-width:400px}.login-lock-icon{width:48px;height:48px;display:grid;place-items:center;background:rgba(255,113,0,.13);color:var(--orange);border-radius:13px;font-size:1.5rem;font-weight:900;margin-bottom:1.5rem}.login-form-card h2{font-size:2rem;font-weight:850;letter-spacing:-.04em;margin-bottom:.45rem;color:var(--admin-text)}.login-subtitle{color:var(--admin-muted);font-size:.92rem;line-height:1.6}.login-form-card .form-label{font-weight:700;font-size:.84rem;color:var(--admin-text)}.login-form-card .form-control{min-height:50px;background:var(--admin-input);color:var(--admin-text);border-color:var(--admin-border)}.login-form-card .form-control:focus{border-color:var(--orange);box-shadow:0 0 0 .2rem rgba(255,113,0,.16)}.login-form-card .btn-promec{display:flex;align-items:center;justify-content:center;gap:.7rem;min-height:51px;border-radius:8px}.login-back-link{display:block;text-align:center;margin-top:1.5rem;color:var(--admin-muted);text-decoration:none;font-size:.85rem}.login-back-link:hover{color:var(--orange)}.login-security-note{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--admin-border);font-size:.72rem;color:var(--admin-muted);text-align:center}.login-security-note span{color:#1c9a66;margin-right:.35rem}.login-theme-toggle{position:fixed;z-index:5;top:18px;right:18px}.login-mobile-logo{display:none}.admin-login-body[data-theme="dark"] .login-form-panel{background:var(--admin-surface)}
@media(max-width:800px){.login-shell{grid-template-columns:1fr;max-width:520px;min-height:0}.login-brand-panel{display:none}.login-form-panel{padding:36px 26px}.login-mobile-logo{display:block;margin-bottom:2rem}.login-mobile-logo img{width:170px;height:54px;object-fit:contain;object-position:left}.login-lock-icon{margin-bottom:1rem}.login-theme-toggle{top:10px;right:10px}.admin-page-heading{align-items:flex-start;flex-direction:column}.admin-brand img{width:100px}.admin-brand span{font-size:.8rem}}
@media(max-width:480px){.admin-login-body{padding:12px}.login-shell{border-radius:16px}.login-form-panel{padding:30px 20px}.login-theme-toggle{font-size:0;padding:.5rem}.login-theme-toggle [data-theme-icon]{font-size:1rem}.admin-brand span{display:none}}

/* V5.3: navegación administrativa y logos de marcas */
.admin-section-nav{background:var(--admin-surface, #fff);border-bottom:1px solid rgba(100,116,139,.22);position:sticky;top:0;z-index:1020}
.admin-section-nav a{display:inline-flex;align-items:center;padding:.55rem .85rem;border-radius:.55rem;color:inherit;text-decoration:none;font-weight:600;font-size:.92rem}
.admin-section-nav a:hover{background:rgba(0,126,140,.12);color:#087f8c}
.brand-card{border:1px solid #e5e7eb;border-radius:1rem;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.04)}
.brand-logo-wrap{height:100px;display:flex;align-items:center;justify-content:center}
.brand-logo-wrap img{max-width:100%;max-height:90px;object-fit:contain}
.product-image-real{height:220px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f5f7fa}
.product-image-real img{width:100%;height:100%;object-fit:contain;padding:1rem}
html[data-theme=dark] .admin-section-nav{background:#111827;color:#e5e7eb;border-color:#374151}
html[data-theme=dark] .admin-section-nav a:hover{background:#243b48;color:#fff}

/* Tema de la web pública: se limita al contenido, conserva navegación corporativa. */
.public-theme-toggle{width:38px;height:38px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:rgba(255,255,255,.07);color:#fff;display:inline-grid;place-items:center}
.public-theme-toggle:hover{background:rgba(255,255,255,.17)}
html[data-public-theme="dark"] body{background:#0b1720;color:#e8f0f3}
html[data-public-theme="dark"] main{background:#0b1720;color:#e8f0f3}
html[data-public-theme="dark"] .service-card,html[data-public-theme="dark"] .product-card,html[data-public-theme="dark"] .empty-state{background:#132530;color:#e8f0f3;border-color:#2c414d}
html[data-public-theme="dark"] .text-muted{color:#a4b5bd!important}
html[data-public-theme="dark"] .bg-white{background:#132530!important;color:#e8f0f3}
html[data-public-theme="dark"] .bg-light{background:#132530!important;color:#e8f0f3}
html[data-public-theme="dark"] .admin-body .theme-toggle{width:38px;height:38px;justify-content:center;padding:.35rem}
.catalog-toolbar{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}
.catalog-toolbar .form-control,.catalog-toolbar .form-select{max-width:260px}
.catalog-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem}
.catalog-admin-card{height:100%;border:1px solid var(--admin-border);border-radius:12px;padding:1rem;background:var(--admin-surface);color:var(--admin-text)}
.catalog-admin-card img{width:100%;height:130px;object-fit:contain;background:var(--admin-bg);border-radius:8px;margin-bottom:.75rem}
.catalog-admin-card .placeholder-image{height:130px;display:grid;place-items:center;background:var(--admin-bg);border:1px dashed var(--admin-border);border-radius:8px;margin-bottom:.75rem;color:var(--admin-muted)}
.catalog-admin-card h3{font-size:1rem;font-weight:750}
.view-switch .btn.active{background:var(--navy);color:white}
@media(max-width:991px){.public-theme-toggle{margin:.35rem 0}.catalog-toolbar .form-control,.catalog-toolbar .form-select{max-width:none;width:100%}}

/* V5.5: catálogo público con proporción horizontal tipo marketplace */
.product-card-market{display:flex;flex-direction:column;border-radius:12px;transition:transform .18s ease,box-shadow .18s ease;}
.product-card-market:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(3,43,58,.13)}
.product-card-market .product-image-real{height:auto;aspect-ratio:4/3;min-height:170px;max-height:230px;background:#fff;border-bottom:1px solid #edf0f2;padding:.65rem}
.product-card-market .product-image-real img{padding:0;object-fit:contain;width:100%;height:100%}
.product-card-body{padding:1rem;display:flex;flex-direction:column;flex:1}
.product-card-body h2{font-size:1rem;line-height:1.35;min-height:2.7em;margin:.35rem 0 .5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-category-label{font-size:.75rem;color:#687981;text-transform:uppercase;letter-spacing:.04em}
.product-card-description{font-size:.88rem;color:#59676d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}
.product-card-actions{display:flex;gap:.5rem;margin-top:auto;padding-top:.75rem}.product-card-actions .btn{flex:1}
.catalog-public-filters{padding:1rem;background:#f5f7f8;border:1px solid #e1e7ea;border-radius:14px}
.public-category-pills .btn{border-radius:999px}
.promec-navbar .dropdown-menu{border:0;border-radius:12px;box-shadow:0 15px 35px rgba(0,0,0,.18);padding:.5rem;min-width:220px}
.promec-navbar .dropdown-item{border-radius:8px;padding:.65rem .8rem;font-weight:550}
.promec-navbar .dropdown-item:hover{background:#fff1e7;color:#9e4700}
@media(max-width:575px){.product-card-market .product-image-real{aspect-ratio:4/3;min-height:145px}.product-card-body{padding:.85rem}.product-card-actions{flex-direction:column}}

/* V5.6: analítica y accesibilidad */
.product-card-market[data-product-card]{cursor:pointer}
.product-card-market[data-product-card]:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.analytics-consent-banner{position:fixed;z-index:1200;left:clamp(12px,3vw,32px);right:clamp(12px,3vw,32px);bottom:clamp(12px,3vw,28px);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;max-width:1100px;margin-inline:auto;padding:1rem 1.25rem;background:#fff;color:#172630;border:1px solid #dbe3e7;border-radius:14px;box-shadow:0 16px 55px rgba(0,0,0,.22)}
.analytics-consent-banner[hidden]{display:none!important}.analytics-consent-banner p{margin:.3rem 0 0;color:#52616a;font-size:.88rem;max-width:650px}.analytics-consent-actions{display:flex;align-items:center;gap:.55rem;flex-shrink:0}.admin-stat-card{height:100%;padding:1.25rem;border:1px solid var(--admin-border);border-radius:14px;background:var(--admin-surface);display:flex;flex-direction:column;gap:.35rem}.admin-stat-card span{color:var(--admin-muted);font-size:.82rem;font-weight:650}.admin-stat-card strong{font-size:2rem;line-height:1.2;color:var(--admin-text)}.admin-stat-card small{font-size:.75rem;color:var(--admin-muted)}
@media(max-width:700px){.analytics-consent-banner{align-items:stretch;flex-direction:column;gap:.85rem}.analytics-consent-actions{justify-content:flex-end;flex-wrap:wrap}}

.service-card-detail-link{display:block;color:inherit;text-decoration:none}.service-card-detail-link:hover,.service-card-detail-link:focus-visible{color:inherit}.service-card-detail-link:hover .service-showcase-card,.service-showcase-card:has(.service-card-detail-link:hover){transform:translateY(-3px)}.service-details-label{display:inline-block;margin-top:1rem;color:#d95d00;font-weight:750;font-size:.85rem}

/* V5.7: catálogo móvil compacto, estilo marketplace */
@media(max-width:575px){
  .product-card-market{border-radius:9px;box-shadow:0 3px 12px rgba(3,43,58,.07)}
  .product-card-market .product-image-real{aspect-ratio:1/1;min-height:0;max-height:none;padding:.35rem}
  .product-card-market .product-card-body{padding:.55rem .6rem}
  .product-card-market .product-card-body h2{font-size:.82rem;line-height:1.25;min-height:2.05em;margin:.2rem 0 .35rem}
  .product-card-market .product-category-label{font-size:.65rem}
  .product-card-market .product-card-description{font-size:.72rem;line-height:1.25;min-height:1.8em;margin-bottom:.35rem}
  .product-card-market .product-price{font-size:.82rem;margin-bottom:.35rem}
  .product-card-market .product-card-actions{gap:.3rem;padding-top:.35rem;flex-direction:column}
  .product-card-market .product-card-actions .btn{font-size:.70rem;padding:.3rem .35rem;line-height:1.15}
  .product-card-market .product-image-real img{object-fit:contain}
  .product-listing-grid{--bs-gutter-x:.5rem;--bs-gutter-y:.65rem}
}

/* PROMEC V5.9: galerías de producto/servicio, destacados y testimonios */
.product-gallery{min-width:0}.product-gallery-main,.service-gallery-main{background:#fff;border:1px solid #e5e9ef;border-radius:1rem;min-height:320px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:1rem}.product-gallery-main img,.service-gallery-main img{display:block;width:100%;height:clamp(300px,42vw,500px);object-fit:contain}.product-gallery-empty{min-height:280px;display:grid;place-items:center;color:#7b8794;width:100%}.product-gallery-thumbs{display:flex;gap:.65rem;overflow-x:auto;padding:.75rem .1rem .3rem;scrollbar-width:thin}.product-gallery-thumb{flex:0 0 82px;width:82px;height:76px;padding:.25rem;background:#fff;border:2px solid #e5e9ef;border-radius:.65rem;cursor:pointer}.product-gallery-thumb.active,.product-gallery-thumb:focus-visible{border-color:#ef7d00;outline:none}.product-gallery-thumb img{width:100%;height:100%;object-fit:contain}.product-spec-list{border-top:1px solid #e8edf2;margin:1rem 0}.product-spec-list>div{display:grid;grid-template-columns:minmax(100px, .8fr) 1.2fr;gap:1rem;padding:.7rem 0;border-bottom:1px solid #e8edf2}.product-spec-list dt{color:#667085;font-weight:500}.product-spec-list dd{margin:0;font-weight:600;overflow-wrap:anywhere}.product-description{line-height:1.8;overflow-wrap:anywhere}.product-document-list{list-style:none;padding:0}.product-document-list li{padding:.65rem .8rem;margin:.45rem 0;border:1px solid #e6eaf0;border-radius:.6rem;background:#fff}.product-document-list a{font-weight:600;text-decoration:none}.product-document-list a:hover{text-decoration:underline}.featured-products-track{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:.2rem .1rem 1rem;scrollbar-width:thin}.featured-product-card{flex:0 0 clamp(155px,21%,220px);scroll-snap-align:start;text-decoration:none;color:inherit;border:1px solid #e6eaf0;border-radius:.9rem;padding:.75rem;background:#fff;transition:transform .2s,box-shadow .2s}.featured-product-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px #18223012;color:inherit}.featured-product-image{height:145px;display:grid;place-items:center;margin-bottom:.65rem;background:#f7f9fb;border-radius:.6rem;overflow:hidden}.featured-product-image img{width:100%;height:100%;object-fit:contain}.featured-product-image span{font-size:2rem;color:#98a2b3}.featured-product-card strong,.featured-product-card small{display:block}.featured-product-card strong{font-size:.95rem;line-height:1.35}.featured-product-card small{margin-top:.25rem;color:#667085}.featured-carousel-controls{display:flex;gap:.5rem;flex-shrink:0}.testimonial-card{border:1px solid #e6eaf0;border-radius:.9rem;background:#fff;padding:1.25rem;box-shadow:0 4px 18px #18223008}.testimonial-card p{line-height:1.7;margin:.8rem 0 1rem}.testimonial-card strong,.testimonial-card small{display:block}.testimonial-card small{color:#667085;margin-top:.15rem}.testimonial-stars{color:#e89a14;min-height:1.2rem}.testimonial-stars span{font-size:.82rem;color:#667085}@media(max-width:575.98px){.product-gallery-main,.service-gallery-main{min-height:240px;padding:.5rem}.product-gallery-main img,.service-gallery-main img{height:280px}.featured-product-card{flex-basis:42%}.featured-product-image{height:115px}.product-spec-list>div{grid-template-columns:1fr;gap:.2rem}}
.analytics-bar-row{margin:.85rem 0}.analytics-bar-row>div:first-child{display:flex;justify-content:space-between;gap:.7rem;font-size:.85rem;margin-bottom:.3rem}.analytics-bar-row span{overflow-wrap:anywhere}.analytics-bar-track{height:8px;border-radius:99px;background:#edf0f4;overflow:hidden}.analytics-bar-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#174a7e,#ed7d19)}
/* V5.10: centra el carrusel cuando los productos caben en el ancho disponible. */
.featured-products-track.is-centered{justify-content:center;}
@media(max-width:575.98px){.featured-products-track.is-centered{justify-content:center;}}

/* V6: centrar testimonios cuando la última fila no ocupa todo el ancho. */
.testimonial-list{justify-content:center!important}
.testimonial-list-item{display:flex}
.testimonial-list-item>.testimonial-card{width:100%}
/* Confirmaciones del panel centradas y consistentes. */
.swal2-container{z-index:20000!important}
.swal2-popup{border-radius:1rem!important}


/* PROMEC V6.1: estilos unificados para tablas y acciones administrativas. */
.admin-table th,
.admin-table td { text-align: left !important; vertical-align: middle; }
.admin-table td .d-flex { justify-content: flex-start; }
.btn-admin-edit,
.btn-admin-toggle,
.btn-admin-delete {
  background: #fff !important;
  border: 1px solid currentColor !important;
  border-radius: .25rem !important;
  font-weight: 400;
  padding: .28rem .58rem;
  line-height: 1.35;
  box-shadow: none !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-admin-edit { color: #0d6efd !important; border-color: #0d6efd !important; }
.btn-admin-edit:hover, .btn-admin-edit:focus-visible { background: #0d6efd !important; color: #fff !important; transform: translateY(-1px); }
.btn-admin-toggle { color: #e6a100 !important; border-color: #ffc107 !important; }
.btn-admin-toggle:hover, .btn-admin-toggle:focus-visible { background: #ffc107 !important; color: #212529 !important; transform: translateY(-1px); }
.btn-admin-delete { color: #dc3545 !important; border-color: #dc3545 !important; }
.btn-admin-delete:hover, .btn-admin-delete:focus-visible { background: #dc3545 !important; color: #fff !important; transform: translateY(-1px); }
.btn-admin-edit:focus-visible, .btn-admin-toggle:focus-visible, .btn-admin-delete:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.testimonial-rating-admin { white-space: nowrap; color: #b8bec5; letter-spacing: 1px; }
.testimonial-rating-admin .is-filled { color: #f0ad00; }
.testimonial-rating-admin small { color: #6c757d; letter-spacing: 0; }
.staged-file-item { transition: opacity .15s ease; }


/* PROMEC V6.2: animaciones discretas para una experiencia pública más pulida. */
@media (prefers-reduced-motion: no-preference) {
  .public-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
  .public-reveal.is-visible { opacity: 1; transform: translateY(0); }
  .public-reveal[data-reveal-delay="1"] { transition-delay: 70ms; }
  .public-reveal[data-reveal-delay="2"] { transition-delay: 140ms; }
  .public-reveal[data-reveal-delay="3"] { transition-delay: 210ms; }
  .promec-navbar .nav-link { transition: color .18s ease, opacity .18s ease; }
  .product-card-market, .service-showcase-card, .brand-card, .testimonial-card, .featured-product-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
  .product-card-market:hover, .service-showcase-card:hover, .brand-card:hover, .testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14, 37, 56, .11); }
  .btn-promec, .btn-call, .floating-contact { transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
  .btn-promec:hover, .btn-call:hover, .floating-contact:hover { transform: translateY(-2px); filter: brightness(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .public-reveal { opacity: 1 !important; transform: none !important; }
}


/* PROMEC V6.3: acciones outline en tema oscuro y microinteracciones accesibles. */
html[data-theme="dark"] .btn-admin-edit { color:#fff !important; background:#0d6efd !important; border-color:#4d91ff !important; }
html[data-theme="dark"] .btn-admin-toggle { color:#fff !important; background:#996900 !important; border-color:#d99b00 !important; }
html[data-theme="dark"] .btn-admin-delete { color:#fff !important; background:#c82333 !important; border-color:#ff6675 !important; }
html[data-theme="dark"] .btn-admin-edit:hover, html[data-theme="dark"] .btn-admin-edit:focus-visible { background:#0b5ed7 !important; }
html[data-theme="dark"] .btn-admin-toggle:hover, html[data-theme="dark"] .btn-admin-toggle:focus-visible { background:#b47c00 !important; }
html[data-theme="dark"] .btn-admin-delete:hover, html[data-theme="dark"] .btn-admin-delete:focus-visible { background:#a71d2a !important; }
@media (prefers-reduced-motion: no-preference) {
  .product-image-real img, .service-showcase-card img, .brand-card img { transition: transform .35s cubic-bezier(.22,1,.36,1); }
  .product-card-market:hover .product-image-real img, .service-showcase-card:hover img, .brand-card:hover img { transform: scale(1.045); }
  .promec-navbar .nav-link { position:relative; }
  .promec-navbar .nav-link::after { content:""; position:absolute; left:.5rem; right:.5rem; bottom:.2rem; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .22s ease; }
  .promec-navbar .nav-link:hover::after, .promec-navbar .nav-link:focus-visible::after { transform:scaleX(1); }
}


/* PROMEC V6.4: tablas administrativas ordenables y feedback visual consistente. */
.admin-table thead th.admin-sortable-th { cursor:pointer; user-select:none; white-space:nowrap; position:relative; transition:background-color .16s ease,color .16s ease; }
.admin-table thead th.admin-sortable-th::after { content:'↕'; display:inline-block; margin-left:.45rem; font-size:.78em; opacity:.45; }
.admin-table thead th.admin-sortable-th[data-sort-direction="asc"]::after { content:'↑'; opacity:1; }
.admin-table thead th.admin-sortable-th[data-sort-direction="desc"]::after { content:'↓'; opacity:1; }
.admin-table thead th.admin-sortable-th:hover, .admin-table thead th.admin-sortable-th:focus-visible { background:rgba(13,110,253,.08); outline:none; }
.admin-table thead th.admin-sortable-th:focus-visible { box-shadow:inset 0 0 0 2px #0d6efd; }
.admin-table thead th.admin-sortable-th.is-sorted { color:#0d6efd; }
@media (prefers-color-scheme: dark) { .admin-table thead th.admin-sortable-th.is-sorted { color:#8bb8ff; } }
@media (prefers-reduced-motion: no-preference) {
  .public-reveal { transition-duration:.62s; transition-timing-function:cubic-bezier(.22,1,.36,1); }
  .public-reveal.is-visible { will-change:auto; }
  .product-card-market, .service-showcase-card, .brand-card, .testimonial-card, .featured-product-card { transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .2s ease; }
  .product-card-market:hover, .service-showcase-card:hover, .brand-card:hover, .testimonial-card:hover, .featured-product-card:hover { transform:translateY(-5px); box-shadow:0 16px 34px rgba(14,37,56,.14); }
}

@media (prefers-reduced-motion: no-preference) {
  .public-reveal[data-reveal-variant="left"] { transform:translateX(-18px); }
  .public-reveal[data-reveal-variant="right"] { transform:translateX(18px); }
  .public-reveal[data-reveal-variant="left"].is-visible,
  .public-reveal[data-reveal-variant="right"].is-visible { transform:translate3d(0,0,0); }
  .public-reveal[data-reveal-delay="1"] { transition-delay:80ms; }
  .public-reveal[data-reveal-delay="2"] { transition-delay:160ms; }
  .public-reveal[data-reveal-delay="3"] { transition-delay:240ms; }
}

/* V6.9: botones flotantes de llamada y WhatsApp, ambos al 90% del tamaño anterior. */
.floating-actions .floating-contact{width:52px;height:52px;font-size:1.2rem}
.floating-actions .floating-call{background:#168fc2;color:#fff}
.floating-actions .floating-whatsapp{background:#19b868;color:#fff}
@media(max-width:575px){.floating-actions .floating-contact{width:47px;height:47px}}
/* Mejor contraste en modo nocturno para testimonios y contenido público. */
html[data-public-theme="dark"] .testimonial-card{background:#102b36;border-color:#31515d;color:#edf5f7}
html[data-public-theme="dark"] .testimonial-card p,
html[data-public-theme="dark"] .testimonial-card strong,
html[data-public-theme="dark"] .testimonial-card small,
html[data-public-theme="dark"] .testimonial-stars span{color:#edf5f7}

.product-image-real video,.service-showcase-image video{width:100%;height:100%;object-fit:cover;display:block}

.page-header{position:relative;isolation:isolate;overflow:hidden}
.page-header-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.page-header-content{position:relative;z-index:1}
.hero{position:relative;isolation:isolate;overflow:hidden}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}

.page-header-video{z-index:0}
.page-header::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(2,29,41,.55),rgba(10,69,91,.38));z-index:1;pointer-events:none}
.page-header-content{z-index:2}
.hero-video{z-index:0}
.hero .hero-decor,.hero .hero-overlay{z-index:1}
.hero .container{z-index:2}

/* Contraste adicional del tema oscuro en bloques de servicios, testimonios y textos públicos. */
html[data-public-theme="dark"] .service-showcase-card,
html[data-public-theme="dark"] .home-service-category article,
html[data-public-theme="dark"] .contact-info-card,
html[data-public-theme="dark"] .home-testimonials,
html[data-public-theme="dark"] .home-featured-products{background:#132530;color:#e8f0f3;border-color:#2c414d}
html[data-public-theme="dark"] .service-showcase-card h2,
html[data-public-theme="dark"] .service-showcase-card h3,
html[data-public-theme="dark"] .service-showcase-card p,
html[data-public-theme="dark"] .home-service-category h3,
html[data-public-theme="dark"] .home-service-category p,
html[data-public-theme="dark"] .contact-info-card h2,
html[data-public-theme="dark"] .home-section-heading h2,
html[data-public-theme="dark"] .home-section-heading p,
html[data-public-theme="dark"] .testimonial-card p,
html[data-public-theme="dark"] .testimonial-card strong,
html[data-public-theme="dark"] .testimonial-card small{color:#e8f0f3}
html[data-public-theme="dark"] .home-service-category article{box-shadow:0 8px 24px rgba(0,0,0,.22)}

html[data-public-theme="dark"] .public-category-pills .btn-dark{background:#d9e8ee;border-color:#d9e8ee;color:#082b3a}
html[data-public-theme="dark"] .public-category-pills .btn-outline-secondary{border-color:#8298a2;color:#e8f0f3}
@media(max-width:575.98px){.hero-decor{opacity:.18;pointer-events:none}.hero-decor span{max-width:18vw}}

/* PROMEC: ajuste de densidad visual del selector de líneas (mantiene tipografía e iconos). */
.catalog-strip .catalog-item{padding-top:.7rem;padding-bottom:.7rem;min-height:0}
.catalog-strip .catalog-item small{margin-top:.15rem}
/* Contacto: cinco motivos de consulta y tres canales directos. */
.contact-options-section{background:#f5f7f8}
.contact-request-card{display:flex;flex-direction:column;align-items:flex-start;gap:.8rem;padding:1.25rem;border:1px solid #dfe7eb;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(3,43,58,.06);transition:transform .2s ease,box-shadow .2s ease}
.contact-request-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(3,43,58,.11)}
.contact-request-card h3{font-size:1.05rem;font-weight:750;color:#102f3d;margin:0}
.contact-request-card .btn{margin-top:auto}
.contact-request-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#fff1e7;color:#ed7100;font-size:1.25rem}
.contact-direct-section{background:#fff}
html[data-public-theme="dark"] .contact-options-section,html[data-public-theme="dark"] .contact-direct-section{background:#0b1720;color:#e8f0f3}
html[data-public-theme="dark"] .contact-request-card,html[data-public-theme="dark"] .contact-info-card{background:#132530!important;color:#e8f0f3!important;border-color:#304955!important}
html[data-public-theme="dark"] .contact-request-card h3,html[data-public-theme="dark"] .contact-request-card p,html[data-public-theme="dark"] .contact-info-card h2,html[data-public-theme="dark"] .contact-info-card h3,html[data-public-theme="dark"] .contact-info-card p{color:#e8f0f3!important}
html[data-public-theme="dark"] .contact-options-section .text-muted,html[data-public-theme="dark"] .contact-direct-section .text-muted{color:#b8c8cf!important}
html[data-public-theme="dark"] .contact-request-icon{background:#263b45;color:#ffad68}
html[data-public-theme="dark"] .contact-info-card .btn-outline-secondary{color:#e8f0f3;border-color:#8da2ab}
html[data-public-theme="dark"] .form-control,html[data-public-theme="dark"] .form-select,html[data-public-theme="dark"] input,html[data-public-theme="dark"] textarea{background-color:#132530;color:#edf5f7;border-color:#49616c}
html[data-public-theme="dark"] .form-control::placeholder,html[data-public-theme="dark"] input::placeholder,html[data-public-theme="dark"] textarea::placeholder{color:#a9bac2}
@media(max-width:575px){.contact-request-card{padding:1.1rem}.contact-request-card .btn{width:100%}}


/* V6.9.2: modo oscuro coherente. Ningún panel, filtro, galería o tarjeta pública conserva fondos blancos. */
html[data-public-theme="dark"] body,
html[data-public-theme="dark"] main,
html[data-public-theme="dark"] .container-fluid,
html[data-public-theme="dark"] .catalog-public-filters,
html[data-public-theme="dark"] .catalog-toolbar,
html[data-public-theme="dark"] .catalog-strip,
html[data-public-theme="dark"] .product-gallery-main,
html[data-public-theme="dark"] .service-gallery-main,
html[data-public-theme="dark"] .product-gallery-thumb,
html[data-public-theme="dark"] .product-document-list li,
html[data-public-theme="dark"] .featured-product-card,
html[data-public-theme="dark"] .featured-product-image,
html[data-public-theme="dark"] .testimonial-card,
html[data-public-theme="dark"] .contact-request-card,
html[data-public-theme="dark"] .contact-direct-section,
html[data-public-theme="dark"] .contact-options-section,
html[data-public-theme="dark"] .service-card,
html[data-public-theme="dark"] .product-card,
html[data-public-theme="dark"] .empty-state,
html[data-public-theme="dark"] .bg-white,
html[data-public-theme="dark"] .bg-light {
  background-color:#101f29 !important;
  color:#e8f0f3 !important;
  border-color:#2c4653 !important;
}
html[data-public-theme="dark"] .catalog-public-filters,
html[data-public-theme="dark"] .catalog-toolbar,
html[data-public-theme="dark"] .catalog-strip { background-color:#142b37 !important; }
html[data-public-theme="dark"] .product-gallery-main,
html[data-public-theme="dark"] .service-gallery-main,
html[data-public-theme="dark"] .featured-product-image,
html[data-public-theme="dark"] .product-gallery-thumb { background-color:#172d38 !important; }
html[data-public-theme="dark"] .catalog-public-filters *,
html[data-public-theme="dark"] .catalog-toolbar *,
html[data-public-theme="dark"] .catalog-strip *,
html[data-public-theme="dark"] .product-gallery-main *,
html[data-public-theme="dark"] .service-gallery-main *,
html[data-public-theme="dark"] .product-document-list *,
html[data-public-theme="dark"] .featured-product-card *,
html[data-public-theme="dark"] .testimonial-card *,
html[data-public-theme="dark"] .contact-request-card *,
html[data-public-theme="dark"] .service-card *,
html[data-public-theme="dark"] .product-card * { color:#e8f0f3; }
html[data-public-theme="dark"] .catalog-public-filters .btn-primary,
html[data-public-theme="dark"] .catalog-toolbar .btn-primary { color:#fff !important; background:#e87512 !important; border-color:#e87512 !important; }
html[data-public-theme="dark"] .catalog-public-filters .form-control,
html[data-public-theme="dark"] .catalog-public-filters .form-select,
html[data-public-theme="dark"] .catalog-toolbar .form-control,
html[data-public-theme="dark"] .catalog-toolbar .form-select,
html[data-public-theme="dark"] .catalog-public-filters input,
html[data-public-theme="dark"] .catalog-toolbar input {
  background:#0b1820 !important; color:#f1f6f8 !important; border-color:#3b5967 !important;
}
html[data-public-theme="dark"] .catalog-public-filters input::placeholder,
html[data-public-theme="dark"] .catalog-toolbar input::placeholder { color:#a9bac2 !important; }
html[data-public-theme="dark"] .text-muted,
html[data-public-theme="dark"] small,
html[data-public-theme="dark"] .small { color:#b8c8cf !important; }
html[data-public-theme="dark"] .table,
html[data-public-theme="dark"] .table > :not(caption) > * > * { --bs-table-bg:transparent; --bs-table-color:#e8f0f3; color:#e8f0f3; background-color:transparent; border-color:#2c4653; }
html[data-public-theme="dark"] .modal-content,
html[data-public-theme="dark"] .dropdown-menu,
html[data-public-theme="dark"] .list-group-item { background:#142b37 !important; color:#e8f0f3 !important; border-color:#2c4653 !important; }
html[data-public-theme="dark"] .border,
html[data-public-theme="dark"] .border-top,
html[data-public-theme="dark"] .border-bottom { border-color:#2c4653 !important; }

/* PROMEC V6.9.3: modo nocturno público con contraste consistente */
html[data-public-theme="dark"] body,html[data-public-theme="dark"] main,html[data-public-theme="dark"] section:not(.hero):not(.page-header):not(.catalog-strip):not(.metrics),html[data-public-theme="dark"] .container-fluid:not(.hero):not(.page-header){background-color:#0b1720;color:#edf4f7;}
html[data-public-theme="dark"] .consultation-section,html[data-public-theme="dark"] .contact-options-section,html[data-public-theme="dark"] .contact-direct-section,html[data-public-theme="dark"] .home-service-category,html[data-public-theme="dark"] .home-services,html[data-public-theme="dark"] .catalog-public-filters,html[data-public-theme="dark"] .catalog-toolbar,html[data-public-theme="dark"] .filter-panel,html[data-public-theme="dark"] .bg-light,html[data-public-theme="dark"] .bg-white{background:#0b1720!important;color:#edf4f7!important;}
html[data-public-theme="dark"] article,html[data-public-theme="dark"] .contact-info-card,html[data-public-theme="dark"] .contact-request-card,html[data-public-theme="dark"] .consultation-card,html[data-public-theme="dark"] .home-service-category article,html[data-public-theme="dark"] .brand-card,html[data-public-theme="dark"] .product-document-list,html[data-public-theme="dark"] .product-spec-list{background:#132530!important;color:#edf4f7!important;border-color:#344c59!important;}
html[data-public-theme="dark"] h1,html[data-public-theme="dark"] h2,html[data-public-theme="dark"] h3,html[data-public-theme="dark"] h4,html[data-public-theme="dark"] h5,html[data-public-theme="dark"] h6,html[data-public-theme="dark"] p,html[data-public-theme="dark"] li,html[data-public-theme="dark"] label,html[data-public-theme="dark"] dt,html[data-public-theme="dark"] dd,html[data-public-theme="dark"] .contact-request-card *,html[data-public-theme="dark"] .contact-info-card *{color:#edf4f7;}
html[data-public-theme="dark"] a:not(.btn):not(.nav-link):not(.contact-request-link){color:#8bd4ff;}
html[data-public-theme="dark"] .contact-request-link{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;gap:.7rem;padding:1.7rem;border-radius:14px;border:1px solid #344c59;transition:transform .2s ease,border-color .2s ease;background:#132530!important;color:#edf4f7!important;}
.contact-request-link{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;gap:.7rem;padding:1.7rem;border-radius:14px;border:1px solid #dce4e8;background:#fff;color:#10212a;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.contact-request-link:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,.12);border-color:var(--orange);color:inherit;}
.contact-request-link h3{margin:0;font-size:1.15rem;font-weight:750;color:inherit;}
.contact-request-link .contact-request-arrow{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(255,113,0,.15);color:var(--orange);font-size:1.1rem;}
html[data-public-theme="dark"] .contact-request-link:hover{border-color:var(--orange);}


/* PROMEC V6.10 — sistema visual público unificado */
:root{--promec-orange:#ff7100;--promec-orange-hover:#e96500;--promec-navy:#032b3a;--promec-light-surface:#fff;--promec-dark-surface:#132530;--promec-dark-bg:#0b1720}
/* En modo claro se recupera el acento naranja del menú en hover y selección. */
html:not([data-public-theme="dark"]) .promec-navbar .navbar-nav .nav-link:hover,
html:not([data-public-theme="dark"]) .promec-navbar .navbar-nav .nav-link:focus,
html:not([data-public-theme="dark"]) .promec-navbar .navbar-nav .nav-link[aria-current="page"],
html:not([data-public-theme="dark"]) .promec-navbar .dropdown-item:hover,
html:not([data-public-theme="dark"]) .promec-navbar .dropdown-item:focus{background:var(--promec-orange);color:#fff!important;border-radius:.45rem}
html[data-public-theme="dark"] .promec-navbar .navbar-nav .nav-link:hover,
html[data-public-theme="dark"] .promec-navbar .navbar-nav .nav-link:focus,
html[data-public-theme="dark"] .promec-navbar .dropdown-item:hover,
html[data-public-theme="dark"] .promec-navbar .dropdown-item:focus{background:var(--promec-orange);color:#fff!important;border-radius:.45rem}
/* Botones públicos de contacto: misma geometría y tratamiento en ambos temas. */
.public-contact-action{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:44px;padding:.68rem 1.15rem;border:1.5px solid var(--promec-orange)!important;border-radius:.55rem;background:transparent!important;color:var(--promec-orange)!important;font-weight:750;transition:background .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease}
.public-contact-action:hover,.public-contact-action:focus-visible{background:var(--promec-orange)!important;color:#fff!important;transform:translateY(-2px);box-shadow:0 9px 22px rgba(255,113,0,.2)}
.contact-channel-icon{color:var(--promec-orange)!important}
html[data-public-theme="dark"] .contact-channel-icon{color:#fff!important}
html[data-public-theme="dark"] .home-contact-title{color:var(--promec-orange)!important}
html:not([data-public-theme="dark"]) .home-contact-title{color:var(--promec-navy)}
/* Los iconos públicos siguen la identidad PROMEC, excepto los botones flotantes. */
.contact-request-icon,.contact-request-arrow,.contact-info-card>i,.home-service-category-icon{color:var(--promec-orange)}
html[data-public-theme="dark"] .contact-request-icon,html[data-public-theme="dark"] .contact-request-arrow,html[data-public-theme="dark"] .contact-info-card>i{color:#fff}
/* Entrada progresiva desde lados y desde abajo. */
.reveal-from-bottom,.reveal-from-left,.reveal-from-right{opacity:0;transition:opacity .75s ease,transform .75s cubic-bezier(.2,.75,.25,1)}
.reveal-from-bottom{transform:translate3d(0,34px,0)}.reveal-from-left{transform:translate3d(-42px,0,0)}.reveal-from-right{transform:translate3d(42px,0,0)}
.reveal-from-bottom.is-visible,.reveal-from-left.is-visible,.reveal-from-right.is-visible{opacity:1;transform:translate3d(0,0,0)}
.service-card,.product-card,.home-service-category article,.contact-request-card,.contact-info-card,.featured-product-card{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.service-card:hover,.product-card:hover,.home-service-category:hover article,.contact-request-card:hover,.contact-info-card:hover,.featured-product-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(2,29,41,.13)}
.hero h1,.hero .lead,.hero .eyebrow{text-shadow:0 2px 8px rgba(1,18,28,.55)}
/* Portadas: mantener la composición y priorizar el lado derecho en móvil. */
@media(max-width:767.98px){.hero{background-position:72% center!important}.page-header[style*="background-image"]{background-position:72% center!important}.hero h1{font-size:clamp(2.15rem,9vw,3.2rem)} }
/* Títulos de páginas interiores: reducción aproximada al 70% sin afectar el hero de Inicio. */
.page-header h1{font-size:clamp(1.55rem,2.8vw,2.45rem)}
@media(prefers-reduced-motion:reduce){.reveal-from-bottom,.reveal-from-left,.reveal-from-right{opacity:1;transform:none;transition:none}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
html[data-public-theme="dark"] .contact-info-card,html[data-public-theme="dark"] .contact-request-card{background:#132530;color:#e8f0f3;border-color:#2c414d}
html[data-public-theme="dark"] .contact-info-card .text-muted,html[data-public-theme="dark"] .contact-options-section .text-muted{color:#b9c7ce!important}

.login-background-video{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;object-position:center right;z-index:0;filter:brightness(.58)}
.login-background{background-size:cover;background-position:center right}

.btn-service-whatsapp {
    --bs-btn-color: #a44000;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #b84b00;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #a44000;
    --bs-btn-hover-border-color: #a44000;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #863600;
    --bs-btn-active-border-color: #863600;
    --bs-btn-focus-shadow-rgb: 184, 75, 0;
    font-weight: 600;
}

html[data-public-theme="dark"] .btn-service-whatsapp {
    --bs-btn-color: #fff;
    --bs-btn-bg: #a44000;
    --bs-btn-border-color: #f69b58;
    --bs-btn-hover-color: #a44000;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-focus-shadow-rgb: 246, 155, 88;
}

.btn-service-whatsapp:focus-visible {
    outline: 2px solid var(--bs-btn-border-color);
    outline-offset: 2px;
}
