/* Footer corporativo Tecnoservi */
.footer-advanced{
    background:#0f172a !important;
    color:#cbd5e1 !important;
    padding:58px 0 28px !important;
    margin-top:0 !important;
}

.footer-advanced .footer-grid{
    display:grid !important;
    grid-template-columns:1.35fr 1fr 1fr !important;
    gap:38px !important;
    align-items:start !important;
    margin-bottom:34px !important;
}

.footer-advanced .footer-brand{
    color:#ffffff !important;
    font-size:24px !important;
    font-weight:900 !important;
    letter-spacing:.04em !important;
    margin-bottom:14px !important;
}

.footer-advanced p{
    color:#94a3b8 !important;
    line-height:1.75 !important;
    margin:0 0 12px !important;
    font-size:15px !important;
}

.footer-advanced strong{
    color:#ffffff !important;
}

.footer-advanced .footer-title{
    color:#ffffff !important;
    font-size:16px !important;
    font-weight:900 !important;
    margin-bottom:16px !important;
    text-transform:uppercase !important;
    letter-spacing:.06em !important;
}

.footer-advanced .footer-links{
    display:flex !important;
    flex-direction:column !important;
    gap:11px !important;
}

.footer-advanced .footer-links a{
    display:block !important;
    color:#cbd5e1 !important;
    font-weight:700 !important;
    text-decoration:none !important;
    line-height:1.45 !important;
}

.footer-advanced .footer-links a:hover{
    color:#ffffff !important;
}

.footer-advanced .footer-bottom{
    border-top:1px solid rgba(255,255,255,.12) !important;
    padding-top:20px !important;
    display:flex !important;
    justify-content:space-between !important;
    gap:18px !important;
    flex-wrap:wrap !important;
    color:#94a3b8 !important;
    font-size:14px !important;
}

@media(max-width:900px){
    .footer-advanced .footer-grid{
        grid-template-columns:1fr !important;
    }
}
:root{
    --blue:#3D7CC9;
    --blue-dark:#1A1A2E;
    --blue-deep:#2563A8;
    --ice:#F4F7FC;
    --text:#1f2937;
    --muted:#64748b;
    --border:#e2e8f0;
}

*{box-sizing:border-box}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    background:white;
}

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

.container{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;
}

.topbar{
    background:var(--blue-dark);
    color:#dbeafe;
    font-size:13px;
    padding:10px 0;
}

.topbar .container{
    display:flex;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

.header{
    background:white;
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:20;
}

.nav{
    min-height:76px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:900;
    color:var(--blue-dark);
    letter-spacing:.04em;
}

.brand-mark{
    width:44px;
    height:44px;
    border-radius:14px;
    background:linear-gradient(135deg,var(--blue),var(--blue-deep));
    color:white;
    display:grid;
    place-items:center;
}

.menu{
    display:flex;
    gap:22px;
    font-size:14px;
    font-weight:700;
    color:#334155;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--blue);
    color:white;
    padding:13px 22px;
    border-radius:999px;
    font-weight:800;
}

.hero{
    background:linear-gradient(135deg,#0f172a 0%,#1A1A2E 52%,#2563A8 120%);
    color:white;
    padding:95px 0 78px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:54px;
    align-items:center;
}

.eyebrow{
    display:inline-block;
    padding:9px 15px;
    border:1px solid rgba(255,255,255,.24);
    border-radius:999px;
    background:rgba(255,255,255,.08);
    color:#dbeafe;
    font-weight:800;
    font-size:13px;
    margin-bottom:22px;
}

h1{
    max-width:820px;
    font-size:clamp(42px, 5.8vw, 72px);
    line-height:1.04;
    margin:0 0 22px;
    letter-spacing:-.05em;
}

.hero p{
    max-width:720px;
    color:#dbeafe;
    font-size:18px;
    line-height:1.75;
    margin:0 0 30px;
}

.hero-card{
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.16);
    border-radius:30px;
    padding:30px;
}

.metric{
    padding:20px 0;
    border-bottom:1px solid rgba(255,255,255,.12);
}

.metric:last-child{border-bottom:0}

.metric strong{
    display:block;
    font-size:34px;
    font-weight:900;
}

.metric span{
    color:#dbeafe;
    font-size:14px;
    line-height:1.6;
}

section{padding:82px 0}

.section-head{
    max-width:820px;
    margin-bottom:36px;
}

.kicker{
    color:var(--blue);
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.09em;
    font-size:13px;
    margin-bottom:10px;
}

h2{
    color:var(--blue-dark);
    font-size:clamp(30px, 3.4vw, 46px);
    line-height:1.15;
    margin:0 0 14px;
    letter-spacing:-.04em;
}

.section-head p{
    color:var(--muted);
    line-height:1.7;
    font-size:17px;
    margin:0;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:22px;
}

.card{
    background:white;
    border:1px solid var(--border);
    border-radius:24px;
    padding:26px;
    box-shadow:0 12px 32px rgba(15,23,42,.05);
}

.card-number{
    width:48px;
    height:48px;
    border-radius:16px;
    background:var(--ice);
    color:var(--blue);
    display:grid;
    place-items:center;
    font-weight:900;
    margin-bottom:18px;
}

.card h3{
    color:var(--blue-dark);
    margin:0 0 12px;
    font-size:19px;
    line-height:1.35;
}

.card p{
    color:var(--muted);
    line-height:1.68;
    margin:0;
}

.about{
    background:var(--ice);
}

.footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:34px 0;
    font-size:14px;
}

@media(max-width:950px){
    .hero-grid,.services-grid{grid-template-columns:1fr}
    .menu{display:none}
}

.contact-section{
    background:#ffffff;
}

.contact-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:34px;
    align-items:start;
}

.contact-panel{
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:26px;
    padding:30px;
    box-shadow:0 12px 32px rgba(15,23,42,.05);
}

.contact-form{
    display:grid;
    gap:16px;
}

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

.form-field label{
    display:block;
    font-weight:800;
    font-size:14px;
    color:var(--blue-dark);
    margin-bottom:7px;
}

.form-field input,
.form-field select,
.form-field textarea{
    width:100%;
    border:1px solid var(--border);
    border-radius:14px;
    padding:13px 14px;
    font-family:Arial, Helvetica, sans-serif;
    font-size:15px;
    outline:none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    border-color:var(--blue);
    box-shadow:0 0 0 4px rgba(61,124,201,.12);
}

.form-field textarea{
    min-height:130px;
    resize:vertical;
}

.alert-success{
    background:#ecfdf5;
    color:#065f46;
    border:1px solid #a7f3d0;
    padding:14px 16px;
    border-radius:14px;
    font-weight:700;
    margin-bottom:18px;
}

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

.solutions-section{
    background:#ffffff;
}

.solutions-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:22px;
}

.solution-card{
    background:linear-gradient(180deg,#ffffff 0%,#F8FAFC 100%);
    border:1px solid var(--border);
    border-radius:26px;
    padding:28px;
    box-shadow:0 14px 34px rgba(15,23,42,.05);
}

.solution-category{
    display:inline-flex;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(61,124,201,.10);
    color:var(--blue);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:16px;
}

.solution-card h3{
    color:var(--blue-dark);
    margin:0 0 12px;
    font-size:22px;
    line-height:1.3;
}

.solution-card p{
    color:var(--muted);
    line-height:1.68;
    margin:0 0 18px;
}

.solution-link{
    color:var(--blue);
    font-weight:900;
}

@media(max-width:950px){
    .solutions-grid{
        grid-template-columns:1fr;
    }
}

.whatsapp-float{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:80;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#16a34a;
    color:white;
    padding:14px 20px;
    border-radius:999px;
    font-weight:900;
    box-shadow:0 18px 40px rgba(22,163,74,.28);
}

.whatsapp-float:hover{
    filter:brightness(.95);
}

@media(max-width:700px){
    .whatsapp-float{
        right:16px;
        bottom:16px;
        padding:13px 16px;
        font-size:14px;
    }
}

.footer-advanced{
    background:#0f172a;
    color:#cbd5e1;
    padding:56px 0 28px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap:34px;
    margin-bottom:34px;
}

.footer-brand{
    color:white;
    font-size:22px;
    font-weight:900;
    margin-bottom:12px;
}

.footer-advanced p{
    color:#94a3b8;
    line-height:1.7;
    margin:0 0 12px;
}

.footer-title{
    color:white;
    font-weight:900;
    margin-bottom:14px;
}

.footer-links{
    display:grid;
    gap:10px;
}

.footer-links a{
    color:#cbd5e1;
    font-weight:700;
}

.footer-links a:hover{
    color:white;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.10);
    padding-top:20px;
    display:flex;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    color:#94a3b8;
    font-size:14px;
}

@media(max-width:900px){
    .footer-grid{
        grid-template-columns:1fr;
    }
}

/* Ajustes finales de navegación y separación */
.header{
    position:sticky;
    top:0;
    z-index:60;
}

.hero{
    padding-top:110px !important;
    padding-bottom:110px !important;
}

section{
    scroll-margin-top:120px;
}

.menu{
    display:flex;
    align-items:center;
    gap:28px;
    flex-wrap:wrap;
}

@media(max-width:900px){
    .nav{
        gap:18px;
    }

    .menu{
        width:100%;
        justify-content:flex-start;
        gap:16px;
        font-size:14px;
    }

    .hero{
        padding-top:80px !important;
        padding-bottom:80px !important;
    }
}

/* Hero corporativo con métricas */
.hero .container{
    max-width:1200px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:54px;
    align-items:center;
}

.hero-metrics-card{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
    border-radius:30px;
    padding:34px;
    color:white;
    box-shadow:0 24px 70px rgba(0,0,0,.18);
    backdrop-filter:blur(10px);
}

.hero-metric{
    padding:22px 0;
    border-bottom:1px solid rgba(255,255,255,.16);
}

.hero-metric:last-child{
    border-bottom:0;
}

.hero-metric strong{
    display:block;
    font-size:42px;
    line-height:1;
    color:white;
    font-weight:900;
    margin-bottom:8px;
}

.hero-metric span{
    color:#dbeafe;
    font-size:16px;
    line-height:1.55;
}

@media(max-width:950px){
    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero-metrics-card{
        margin-top:20px;
    }
}

/* Corrección final hero corporativo */
.hero-corporate{
    padding:110px 0 !important;
    background:linear-gradient(135deg,#14162b 0%,#244f82 100%) !important;
    color:white !important;
}

.hero-corporate .hero-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1.05fr) minmax(340px,.65fr) !important;
    gap:60px !important;
    align-items:center !important;
}

.hero-copy{
    max-width:760px !important;
}

.hero-copy h1{
    margin:28px 0 24px !important;
    font-size:clamp(46px,6vw,82px) !important;
    line-height:1.08 !important;
    letter-spacing:-.04em !important;
}

.hero-copy p{
    max-width:740px !important;
    font-size:20px !important;
    line-height:1.75 !important;
    color:#e5eefc !important;
    margin-bottom:28px !important;
}

.hero-corporate .hero-metrics-card{
    width:100% !important;
    max-width:440px !important;
    justify-self:end !important;
    background:rgba(255,255,255,.10) !important;
    border:1px solid rgba(255,255,255,.20) !important;
    border-radius:30px !important;
    padding:34px !important;
    box-shadow:0 24px 70px rgba(0,0,0,.22) !important;
}

.hero-corporate .hero-metric{
    padding:22px 0 !important;
    border-bottom:1px solid rgba(255,255,255,.16) !important;
}

.hero-corporate .hero-metric:last-child{
    border-bottom:0 !important;
}

.hero-corporate .hero-metric strong{
    display:block !important;
    font-size:44px !important;
    line-height:1 !important;
    color:white !important;
    font-weight:900 !important;
    margin-bottom:9px !important;
}

.hero-corporate .hero-metric span{
    display:block !important;
    color:#dbeafe !important;
    font-size:16px !important;
    line-height:1.55 !important;
}

@media(max-width:950px){
    .hero-corporate .hero-grid{
        grid-template-columns:1fr !important;
    }

    .hero-corporate .hero-metrics-card{
        justify-self:start !important;
        max-width:100% !important;
    }
}

/* Redes sociales footer */
.footer-social{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
}

.footer-social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:42px;
    padding:0 13px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#ffffff !important;
    font-weight:900;
    font-size:13px;
    text-decoration:none;
}

.footer-social a:hover{
    background:rgba(255,255,255,.16);
}

/* Página contacto mejorada */
.contact-layout{
    display:grid;
    grid-template-columns:1fr .72fr;
    gap:34px;
    align-items:start;
}

.contact-info-card{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:26px;
    padding:34px;
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.contact-info-card h3{
    margin:0 0 14px;
    font-size:26px;
    color:#0f172a;
}

.contact-info-card p{
    color:#52637a;
    line-height:1.7;
    margin:0 0 18px;
}

.contact-info-list{
    display:grid;
    gap:16px;
    margin-top:22px;
}

.contact-info-item{
    padding:16px 18px;
    border-radius:18px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
}

.contact-info-item strong{
    display:block;
    color:#0f172a;
    margin-bottom:6px;
}

.contact-info-item span,
.contact-info-item a{
    color:#52637a;
    font-weight:700;
    text-decoration:none;
}

.contact-info-item a:hover{
    color:#3d7cc9;
}

@media(max-width:950px){
    .contact-layout{
        grid-template-columns:1fr;
    }
}

/* Responsive final Tecnoservi */
@media(max-width:1100px){
    .container{
        width:min(92%, 1200px) !important;
    }

    .hero-copy h1{
        font-size:clamp(42px,8vw,68px) !important;
    }
}

@media(max-width:850px){
    .topbar{
        display:none !important;
    }

    .header{
        position:sticky !important;
        top:0 !important;
        z-index:90 !important;
    }

    .nav{
        flex-direction:column !important;
        align-items:flex-start !important;
        padding:18px 0 !important;
    }

    .brand{
        margin-bottom:10px !important;
    }

    .menu{
        width:100% !important;
        display:flex !important;
        gap:14px !important;
        overflow-x:auto !important;
        padding-bottom:4px !important;
        white-space:nowrap !important;
    }

    .menu a{
        font-size:14px !important;
    }

    .hero-corporate{
        padding:72px 0 !important;
    }

    .hero-copy h1{
        font-size:44px !important;
        line-height:1.08 !important;
    }

    .hero-copy p{
        font-size:17px !important;
    }

    .services-grid,
    .solutions-grid{
        grid-template-columns:1fr !important;
    }

    .card,
    .solution-card{
        padding:26px !important;
    }

    .solution-hero{
        padding:64px 0 !important;
    }

    .solution-hero h1{
        font-size:42px !important;
    }

    .solution-content{
        padding:48px 0 !important;
    }

    .solution-box{
        padding:26px !important;
    }

    .contact-layout{
        grid-template-columns:1fr !important;
    }

    .contact-info-card{
        padding:26px !important;
    }

    .footer-advanced{
        padding:44px 0 26px !important;
    }

    .footer-advanced .footer-grid{
        grid-template-columns:1fr !important;
        gap:28px !important;
    }

    .footer-bottom{
        flex-direction:column !important;
    }
}

@media(max-width:520px){
    .hero-copy h1{
        font-size:36px !important;
    }

    .hero-corporate .hero-metrics-card{
        padding:24px !important;
    }

    .hero-corporate .hero-metric strong{
        font-size:36px !important;
    }

    .btn{
        width:100% !important;
        justify-content:center !important;
        text-align:center !important;
    }

    .whatsapp-float{
        right:14px !important;
        bottom:14px !important;
        padding:12px 16px !important;
        font-size:14px !important;
    }

    input,
    select,
    textarea{
        font-size:16px !important;
    }
}

/* Paleta dinámica desde CMS */
.btn{
    background:var(--brand-primary,#3D7CC9) !important;
}

.brand-mark{
    background:var(--brand-primary,#3D7CC9) !important;
}

.hero-corporate{
    background:linear-gradient(135deg,var(--brand-secondary,#1A1A2E) 0%,var(--brand-primary,#3D7CC9) 100%) !important;
}

.footer-advanced{
    background:var(--brand-dark,#0F172A) !important;
}

.whatsapp-float{
    background:var(--brand-accent,#16A34A) !important;
}

.solution-link,
.menu a:hover{
    color:var(--brand-primary,#3D7CC9) !important;
}

/* Logo dinámico */
.brand-logo-img{
    display:block;
    max-height:58px;
    max-width:260px;
    width:auto;
    object-fit:contain;
}

@media(max-width:700px){
    .brand-logo-img{
        max-height:48px;
        max-width:220px;
    }
}

/* Normalización final de logos */
.header .brand{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    min-height:auto !important;
}

.header .brand img,
.brand-logo-img{
    display:block !important;
    width:auto !important;
    max-width:230px !important;
    max-height:58px !important;
    object-fit:contain !important;
}

@media(max-width:700px){
    .header .brand img,
    .brand-logo-img{
        max-width:190px !important;
        max-height:48px !important;
    }
}

/* Corrección logo interno */
.header .brand-logo-img{
    display:block !important;
    width:auto !important;
    max-width:240px !important;
    max-height:60px !important;
    object-fit:contain !important;
}

/* Banner de cookies */
.cookie-banner{
    position:fixed;
    left:24px;
    right:24px;
    bottom:24px;
    z-index:9998;
    background:#0f172a;
    color:#dbeafe;
    border:1px solid rgba(255,255,255,.14);
    border-radius:22px;
    padding:18px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.cookie-banner p{
    margin:0;
    line-height:1.55;
    font-size:14px;
}

.cookie-actions{
    display:flex;
    gap:10px;
    flex-shrink:0;
}

.cookie-btn{
    border:0;
    border-radius:999px;
    padding:10px 16px;
    font-weight:900;
    cursor:pointer;
}

.cookie-accept{
    background:var(--brand-primary,#3D7CC9);
    color:white;
}

.cookie-link{
    background:rgba(255,255,255,.10);
    color:white;
    text-decoration:none;
}

@media(max-width:700px){
    .cookie-banner{
        left:14px;
        right:14px;
        bottom:76px;
        flex-direction:column;
        align-items:flex-start;
    }
}

/* Mapa de ubicación */
.contact-map-section{
    padding:0 0 70px;
    background:#f4f7fc;
}

.contact-map-card{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:26px;
    padding:24px;
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.contact-map-card h3{
    margin:0 0 10px;
    font-size:26px;
    color:#0f172a;
}

.contact-map-card p{
    margin:0 0 20px;
    color:#52637a;
}

.contact-map-frame{
    overflow:hidden;
    border-radius:22px;
    border:1px solid #e2e8f0;
    min-height:340px;
    background:#eef2f7;
}

.contact-map-frame iframe{
    width:100%;
    height:380px;
    border:0;
    display:block;
}

.map-actions{
    margin-top:18px;
}

/* Mapa compacto dentro de contacto */
.contact-side-map{
    margin-top:20px;
}

.contact-side-map h4{
    margin:0 0 10px;
    font-size:18px;
    color:#0f172a;
}

.contact-side-map-frame{
    overflow:hidden;
    border-radius:18px;
    border:1px solid #e2e8f0;
    background:#eef2f7;
}

.contact-side-map-frame iframe{
    width:100%;
    height:240px;
    border:0;
    display:block;
}

.contact-side-map .btn{
    margin-top:14px;
    width:100%;
    text-align:center;
    justify-content:center;
}

/* Mapa lateral en contacto */
.contact-side-map{
    margin-top:20px;
}

.contact-side-map h4{
    margin:0 0 10px;
    font-size:18px;
    color:#0f172a;
}

.contact-side-map-frame{
    overflow:hidden;
    border-radius:18px;
    border:1px solid #e2e8f0;
    background:#eef2f7;
}

.contact-side-map-frame iframe{
    width:100%;
    height:240px;
    border:0;
    display:block;
}

.contact-side-map .btn{
    margin-top:14px;
    width:100%;
    text-align:center;
    justify-content:center;
}

/* Contacto en 3 columnas: formulario, datos y mapa */
.contact-layout{
    grid-template-columns:1.15fr .65fr .85fr !important;
    gap:28px !important;
    align-items:start !important;
}

.contact-map-panel{
    background:#ffffff;
    border:1px solid #e2e8f0;
    border-radius:26px;
    padding:28px;
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.contact-map-panel h3{
    margin:0 0 8px;
    font-size:24px;
    color:#0f172a;
}

.contact-map-panel p{
    margin:0 0 18px;
    color:#52637a;
}

.contact-map-panel-frame{
    overflow:hidden;
    border-radius:18px;
    border:1px solid #e2e8f0;
    background:#eef2f7;
}

.contact-map-panel-frame iframe{
    width:100%;
    height:300px;
    border:0;
    display:block;
}

.contact-map-panel .btn{
    margin-top:16px;
    width:100%;
    justify-content:center;
    text-align:center;
}

@media(max-width:1150px){
    .contact-layout{
        grid-template-columns:1fr !important;
    }
}

/* Mapa grande lateral en contacto */
.contact-layout{
    grid-template-columns:1.05fr .70fr 1.20fr !important;
    gap:28px !important;
    align-items:stretch !important;
}

.contact-map-wide{
    background:#ffffff;
    border:1px solid #e2e8f0 !important;
    border-radius:26px !important;
    padding:28px !important;
    box-shadow:0 18px 45px rgba(15,23,42,.07) !important;
    min-height:100% !important;
}

.contact-map-wide h3{
    margin:0 0 8px !important;
    font-size:26px !important;
    color:#0f172a !important;
}

.contact-map-wide p{
    margin:0 0 18px !important;
    color:#52637a !important;
}

.contact-map-wide-frame{
    overflow:hidden !important;
    border-radius:22px !important;
    border:1px solid #e2e8f0 !important;
    background:#eef2f7 !important;
}

.contact-map-wide-frame iframe{
    width:100% !important;
    height:420px !important;
    border:0 !important;
    display:block !important;
}

.contact-map-wide .btn{
    margin-top:18px !important;
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
}

@media(max-width:1150px){
    .contact-layout{
        grid-template-columns:1fr !important;
    }
}

/* Contacto: tarjeta principal + mapa aparte a la derecha */
.contact-section .container{
    max-width:1500px;
}

.contact-layout{
    grid-template-columns:1fr .72fr !important;
    gap:28px !important;
}

.contact-map-outside{
    position:absolute;
    right:70px;
    top:360px;
    width:560px;
    z-index:1;
}

.contact-map-outside .contact-map-wide{
    width:100%;
    min-height:560px;
}

.contact-map-outside .contact-map-wide-frame iframe{
    height:420px !important;
}

@media(max-width:1350px){
    .contact-map-outside{
        position:static;
        width:auto;
        margin:28px auto 0;
        max-width:980px;
    }
}

/* CATALOGO_PUBLICO_SERVICIOS */
.product-catalog-section {
    padding: 72px 0;
    background: #f4f7fc;
}

.section-head {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #3D7CC9;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
    color: #0f172a;
}

.section-head p {
    color: #52627a;
    font-size: 18px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.product-image {
    height: 210px;
    background: #eaf0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #3D7CC9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 24px;
}

.product-category {
    color: #3D7CC9;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.product-body h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.15;
}

.product-body p {
    color: #52627a;
    line-height: 1.65;
}

.product-meta {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    color: #334155;
    font-size: 14px;
}

.product-footer {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.product-price {
    font-size: 22px;
    color: #0f172a;
}

.product-btn {
    text-align: center;
}

@media (max-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
