/* Estilos base Defany Industria */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background: #02042B;
    padding: 10px 20px;
}

.logo h1 {
    color: white;
    margin: 0;
}

nav {
    margin-top: 10px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
}

.menu a:hover {
    background: #02042B;
}

/* Submenús */
.submenu ul {
    display: none;
    position: absolute;
    background: #02042B;
    list-style: none;
    padding: 0;
    top: 100%;
    left: 0;
    min-width: 220px;
}

.submenu ul li a {
    padding: 10px;
}

.submenu:hover ul {
    display: block;
}

/* Botón WhatsApp nav */
.btn-whatsapp-nav a {
    background: #25D366;
    color: #fff !important;
    font-weight: 600;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-whatsapp-nav a:hover {
    background: #1ebe5d;
    color: #fff !important;
}

.hero {
    padding: 60px;
    background: #f4f4f4;
    text-align: center;
}

footer {
    background: #02042B;
    color: white;
    text-align: center;
    padding: 15px;
}
/* ===== HEADER ===== */

.header {
    background-color: #FFFFFF;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo img {
    height: 75px;
}

/* NAV */
.nav .menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu a {
    color: #02042B;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 10px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #D5EBF8;
}

/* ===== DROPDOWN ===== */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    list-style: none;
    padding: 10px 0;
    min-width: 240px;
    display: none;
    z-index: 1000;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background-color: #D5EBF8;
    color: #02042B;
}

/* Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Click (soporte táctil) */
.dropdown > a {
    cursor: pointer;
}
/* ===== DROPDOWN HOVER + CLICK ===== */

/* Hover (mouse) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Click / Focus (teclado y touch) */
.dropdown:focus-within .dropdown-menu {
    display: block;
}

/* ===== FOOTER ===== */

.footer {
    background-color: #02042B;
    color: #FFFFFF;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-block h3 {
    color: #D5EBF8;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #D5EBF8;
}

/* Botón tienda */
.footer-btn-tienda {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #D5EBF8;
    color: #02042B;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-btn-tienda:hover {
    background-color: #FFFFFF;
}

/* Contacto */
.footer-block p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-block a {
    color: #D5EBF8;
    text-decoration: none;
}

.footer-block a:hover {
    text-decoration: underline;
}

/* Logo */
.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

/* Footer inferior */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    padding: 15px;
    font-size: 14px;
}
/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(2,4,43,0.85), rgba(2,4,43,0.85)),
                url("../img/hero-placeholder.jpg") center/cover no-repeat;
    color: #FFFFFF;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons a {
    margin-right: 15px;
}

/* Botones */
.btn-primary {
    background-color: #D5EBF8;
    color: #02042B;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.btn-secondary {
    border: 2px solid #D5EBF8;
    color: #D5EBF8;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
}

/* ===== SOLUTIONS ===== */
.solutions {
    padding: 70px 20px;
    text-align: center;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
}

.solution-card img {
    width: 100%;
    border-radius: 6px;
}

.solution-card a {
    color: #02042B;
    font-weight: bold;
}

/* ===== FEATURED ===== */
.featured {
    background: #D5EBF8;
    padding: 70px 20px;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.featured-item {
    position: relative;
    text-decoration: none;
    color: #FFFFFF;
}

.featured-item img {
    width: 100%;
    border-radius: 8px;
}

.featured-item span {
    position: absolute;
    bottom: 0;
    background: rgba(2,4,43,0.8);
    width: 100%;
    padding: 10px;
    border-radius: 0 0 8px 8px;
}

/* ===== SERVICES ===== */
.services {
    padding: 70px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-box {
    border-left: 4px solid #D5EBF8;
    padding-left: 20px;
}

/* ===== CTA ===== */
.cta {
    background: #02042B;
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-whatsapp-cta:hover {
    background: #1ebe5d;
}

/* ===== HERO VIDEO ===== */
.hero-video {
    position: relative;
    width: 100%;
    height: calc(100vh - 91px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-video__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 43, 0.65);
}

.hero-video__content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    max-width: 850px;
    padding: 20px;
}

.hero-video__tag {
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero-video__content h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-video__content > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-video__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PRESENTACIÓN CORPORATIVA ===== */

.corp-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.corp-animate.visible {
    opacity: 1;
    transform: none;
}
.corp-animate:nth-child(2) {
    transition-delay: 0.15s;
}

.corp-intro {
    background: #F4F6F8;
    padding: 100px 28px;
}

.corp-intro__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* LADO IZQUIERDO — LOGO */
.corp-intro__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    padding: 60px 50px;
    box-shadow: 0 6px 40px rgba(2, 4, 43, 0.08);
}
.corp-intro__logo img {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* LADO DERECHO — TEXTO */
.corp-intro__label {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #02042B;
    display: block;
    margin-bottom: 18px;
}

.corp-intro__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #02042B;
    line-height: 1.2;
    margin: 0 0 28px;
}

.corp-intro__body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    color: #5B5B5B;
    line-height: 1.9;
    margin: 0 0 18px;
}

.corp-intro__btn {
    display: inline-block;
    margin-top: 12px;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s;
}
.corp-intro__btn:hover {
    background: #D5EBF8;
    color: #02042B;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .corp-intro__container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .corp-intro__logo {
        padding: 44px 36px;
    }
    .corp-intro__logo img {
        max-width: 260px;
    }
    .corp-intro__btn {
        display: block;
        max-width: 220px;
        margin: 12px auto 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .corp-intro {
        padding: 72px 20px;
    }
    .corp-intro__title {
        font-size: 26px;
    }
}

/* ===== PRODUCTOS DESTACADOS (HOME) ===== */

.prod-anim {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.prod-anim.visible {
    opacity: 1;
    transform: none;
}

.prod-dest {
    background: #D5EBF8;
    padding: 52px 28px 48px;
}

.prod-dest__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ENCABEZADO */
.prod-dest__header {
    text-align: center;
    margin-bottom: 36px;
}

.prod-dest__label {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #02042B;
    display: block;
    margin-bottom: 8px;
}

.prod-dest__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #02042B;
    margin: 0 0 10px;
    line-height: 1.15;
}

.prod-dest__desc {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* GRID DE TARJETAS */
.prod-dest__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

/* TARJETA */
.prod-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(2, 4, 43, 0.1);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(2, 4, 43, 0.18);
}

/* IMAGEN — sin padding, llena el área, los PNG ya traen su fondo */
.prod-card__img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.prod-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.prod-card:hover .prod-card__img-wrap img {
    transform: scale(1.04);
}

.prod-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prod-card__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #02042B;
    margin: 0 0 8px;
}

.prod-card__text {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
    color: #5B5B5B;
    line-height: 1.7;
    margin: 0 0 16px;
    flex: 1;
}

.prod-card__btn {
    display: inline-block;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    padding: 9px 22px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    align-self: flex-start;
    transition: background 0.3s, color 0.3s;
}

.prod-card:hover .prod-card__btn {
    background: #D5EBF8;
    color: #02042B;
}

/* CTA INFERIOR */
.prod-dest__cta {
    text-align: center;
}

.prod-dest__cta-text {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    max-width: 520px;
    margin: 0 auto 22px;
    line-height: 1.75;
}

.prod-dest__cta-btn {
    display: inline-block;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 36px;
    border-radius: 7px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 16px rgba(2, 4, 43, 0.2);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.prod-dest__cta-btn:hover {
    background: #fff;
    color: #02042B;
    box-shadow: 0 6px 24px rgba(2, 4, 43, 0.12);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .prod-dest__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
    }
    .prod-dest__title { font-size: 26px; }
}

@media (max-width: 480px) {
    .prod-dest { padding: 44px 16px 40px; }
    .prod-dest__title { font-size: 22px; }
    .prod-card__body { padding: 16px 16px 18px; }
}

/* ===== MARCAS Y ALIADOS (HOME) ===== */

.marcas-home {
    background: #fff;
    padding: 72px 0 64px;
    overflow: hidden;
}

.marcas-home__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ENCABEZADO */
.marcas-home__header {
    text-align: center;
    margin-bottom: 48px;
}

.marcas-home__label {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #02042B;
    display: block;
    margin-bottom: 10px;
}

.marcas-home__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #02042B;
    margin: 0 0 14px;
    line-height: 1.2;
}

.marcas-home__desc {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* CARRUSEL 3D */
.marcas3d__stage {
    position: relative;
    height: 260px;
    margin-bottom: 52px;
    overflow: hidden;
}

.marcas3d__scene {
    width: 100%;
    height: 100%;
    position: relative;
}

.marcas3d__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 148px;
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #E0EAF4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                opacity   0.55s ease,
                box-shadow 0.3s ease;
    transform: translate(-50%, -50%) perspective(900px) scale(0.3);
    will-change: transform, opacity;
}

.marcas3d__card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(25%);
    transition: filter 0.3s;
    pointer-events: none;
    user-select: none;
}

/* ── Posiciones ── */
.marcas3d__card.is-center {
    transform: translate(-50%, -50%) perspective(900px) rotateY(0deg) scale(1.08);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 18px 56px rgba(2, 4, 43, 0.18), 0 2px 8px rgba(2,4,43,0.08);
    border-color: #D5EBF8;
    pointer-events: auto;
}
.marcas3d__card.is-center img { filter: grayscale(0%); }

.marcas3d__card.is-left1 {
    transform: translate(calc(-50% - 250px), -50%) perspective(900px) rotateY(46deg) scale(0.83);
    opacity: 0.75;
    z-index: 4;
    pointer-events: auto;
}
.marcas3d__card.is-right1 {
    transform: translate(calc(-50% + 250px), -50%) perspective(900px) rotateY(-46deg) scale(0.83);
    opacity: 0.75;
    z-index: 4;
    pointer-events: auto;
}

.marcas3d__card.is-left2 {
    transform: translate(calc(-50% - 440px), -50%) perspective(900px) rotateY(62deg) scale(0.62);
    opacity: 0.36;
    z-index: 3;
    pointer-events: auto;
}
.marcas3d__card.is-right2 {
    transform: translate(calc(-50% + 440px), -50%) perspective(900px) rotateY(-62deg) scale(0.62);
    opacity: 0.36;
    z-index: 3;
    pointer-events: auto;
}

.marcas3d__card.is-hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%) perspective(900px) scale(0.25);
}

/* ── Botones de navegación ── */
.marcas3d__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #02042B;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 18px rgba(2, 4, 43, 0.25);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.marcas3d__btn:hover {
    background: #0d1660;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 28px rgba(2, 4, 43, 0.32);
}
.marcas3d__btn--prev { left: 20px; }
.marcas3d__btn--next { right: 20px; }

/* CTA INFERIOR */
.marcas-home__cta {
    text-align: center;
}

.marcas-home__cta-text {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    max-width: 500px;
    margin: 0 auto 22px;
    line-height: 1.75;
}

.marcas-home__cta-btn {
    display: inline-block;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 36px;
    border-radius: 7px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 16px rgba(2, 4, 43, 0.18);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.marcas-home__cta-btn:hover {
    background: #D5EBF8;
    color: #02042B;
    box-shadow: 0 6px 22px rgba(2, 4, 43, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .marcas-home { padding: 56px 0 48px; }
    .marcas-home__title { font-size: 26px; }

    .marcas3d__stage { height: 220px; }
    .marcas3d__card  { width: 170px; height: 116px; padding: 14px 18px; }

    .marcas3d__card.is-left1  { transform: translate(calc(-50% - 196px), -50%) perspective(700px) rotateY(46deg) scale(0.8); }
    .marcas3d__card.is-right1 { transform: translate(calc(-50% + 196px), -50%) perspective(700px) rotateY(-46deg) scale(0.8); }
    .marcas3d__card.is-left2  { transform: translate(calc(-50% - 346px), -50%) perspective(700px) rotateY(62deg) scale(0.58); opacity: 0.28; }
    .marcas3d__card.is-right2 { transform: translate(calc(-50% + 346px), -50%) perspective(700px) rotateY(-62deg) scale(0.58); opacity: 0.28; }

    .marcas3d__btn { width: 38px; height: 38px; font-size: 0.85rem; }
    .marcas3d__btn--prev { left: 8px; }
    .marcas3d__btn--next { right: 8px; }
}

@media (max-width: 480px) {
    .marcas-home__title { font-size: 22px; }

    .marcas3d__stage { height: 190px; }
    .marcas3d__card  { width: 148px; height: 100px; padding: 12px 14px; }

    .marcas3d__card.is-left1  { transform: translate(calc(-50% - 168px), -50%) perspective(600px) rotateY(46deg) scale(0.78); }
    .marcas3d__card.is-right1 { transform: translate(calc(-50% + 168px), -50%) perspective(600px) rotateY(-46deg) scale(0.78); }
    .marcas3d__card.is-left2,
    .marcas3d__card.is-right2 { opacity: 0; pointer-events: none; }
}

/* ===== SERVICIOS ESPECIALIZADOS (HOME) ===== */

.serv-home {
    background: #F4F6F8;
    padding: 80px 28px;
}

.serv-home__container {
    max-width: 1000px;
    margin: 0 auto;
}

.serv-home__header {
    text-align: center;
    margin-bottom: 52px;
}

.serv-home__label {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #02042B;
    display: block;
    margin-bottom: 10px;
}

.serv-home__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #02042B;
    margin: 0 0 14px;
    line-height: 1.2;
}

.serv-home__desc {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    color: #5B5B5B;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* GRID 2 TARJETAS */
.serv-home__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

/* TARJETA */
.serv-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 22px rgba(2, 4, 43, 0.08);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid transparent;
}

.serv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(2, 4, 43, 0.14);
    border-top-color: #02042B;
}

.serv-card__icon {
    background: #02042B;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 0;
}

.serv-card__icon i {
    font-size: 52px;
    color: #D5EBF8;
}

.serv-card__body {
    padding: 30px 28px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.serv-card__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #02042B;
    margin: 0 0 12px;
}

.serv-card__text {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    line-height: 1.8;
    margin: 0 0 24px;
    flex: 1;
}

.serv-card__btn {
    display: inline-block;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 11px 26px;
    border-radius: 6px;
    align-self: flex-start;
    transition: background 0.3s, color 0.3s;
}

.serv-card:hover .serv-card__btn {
    background: #D5EBF8;
    color: #02042B;
}

/* CTA INFERIOR */
.serv-home__cta {
    text-align: center;
}

.serv-home__cta-text {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    max-width: 520px;
    margin: 0 auto 22px;
    line-height: 1.75;
}

.serv-home__cta-btn {
    display: inline-block;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 36px;
    border-radius: 7px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 16px rgba(2, 4, 43, 0.18);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.serv-home__cta-btn:hover {
    background: #D5EBF8;
    color: #02042B;
    box-shadow: 0 6px 22px rgba(2, 4, 43, 0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .serv-home__grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
    .serv-home__title { font-size: 26px; }
}

@media (max-width: 480px) {
    .serv-home { padding: 60px 16px; }
    .serv-home__title { font-size: 22px; }
    .serv-card__body { padding: 22px 20px 24px; }
}

/* ===== SOLUCIONES COMPLEMENTARIAS (HOME) ===== */

.comp-home {
    background: #fff;
    padding: 80px 28px;
}

.comp-home__container {
    max-width: 1100px;
    margin: 0 auto;
}

.comp-home__header {
    text-align: center;
    margin-bottom: 52px;
}

.comp-home__label {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #02042B;
    display: block;
    margin-bottom: 10px;
}

.comp-home__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #02042B;
    margin: 0 0 14px;
    line-height: 1.2;
}

.comp-home__desc {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    color: #5B5B5B;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* GRID */
.comp-home__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

/* TARJETA */
.comp-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(2, 4, 43, 0.09);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s, box-shadow 0.35s;
}

.comp-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 48px rgba(2, 4, 43, 0.15);
}

/* IMAGEN con overlay */
.comp-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.comp-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.comp-card:hover .comp-card__img-wrap img {
    transform: scale(1.06);
}

.comp-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 4, 43, 0.18) 100%);
    transition: background 0.35s;
}

.comp-card:hover .comp-card__overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(2, 4, 43, 0.28) 100%);
}

/* BODY */
.comp-card__body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.comp-card__title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #02042B;
    margin: 0 0 10px;
}

.comp-card__text {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    line-height: 1.8;
    margin: 0 0 22px;
    flex: 1;
}

.comp-card__btn {
    display: inline-block;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 11px 26px;
    border-radius: 6px;
    align-self: flex-start;
    transition: background 0.3s, color 0.3s;
}

.comp-card:hover .comp-card__btn {
    background: #D5EBF8;
    color: #02042B;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .comp-home__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .comp-home__title { font-size: 26px; }
}

@media (max-width: 480px) {
    .comp-home { padding: 60px 16px; }
    .comp-home__title { font-size: 22px; }
    .comp-card__body { padding: 20px 18px 22px; }
}

/* ================================================================
   HERO INTERNO — páginas de producto y servicio
   ================================================================ */
.page-hero {
    position: relative;
    width: 100%;
    height: 38vh;
    min-height: 220px;
    max-height: 460px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Variantes de imagen de fondo */
.page-hero--inicio   { background-image: url('../img/iniciofondo.jpg'); }
.page-hero--valvulas { background-image: url('../img/prtada-de-inicio-valvulas.jpg'); }
.page-hero--tubos    { background-image: url('../img/portada-tubos.jpg'); }

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 4, 43, 0.91) 0%,
        rgba(2, 4, 43, 0.72) 50%,
        rgba(2, 4, 43, 0.54) 100%
    );
}

.page-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #FFFFFF;
    padding: 0 24px;
    max-width: 680px;
    animation: pageHeroIn 0.75s ease both;
}

@keyframes pageHeroIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page-hero__sub {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    color: #D5EBF8;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 18px;
    line-height: 1.1;
}

.page-hero__line {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, #D5EBF8, rgba(213, 235, 248, 0.28));
    margin: 0 auto;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .page-hero { height: 36vh; }
    .page-hero__title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .page-hero__sub   { letter-spacing: 0.22em; }
}

@media (max-width: 480px) {
    .page-hero { height: 32vh; min-height: 200px; }
    .page-hero__sub { font-size: 0.58rem; }
}
