/* =========================================================
   VARIABLES CORPORATIVAS (si no están ya en global.css)
   ========================================================= */
:root {
    --jdg-azul: #00458a;
    --jdg-rojo: #d3322a;
}

/* =========================================================
   ESTRUCTURA GENERAL DE LA LANDING
   ========================================================= */
.landing-servicio {
    padding: 20px 16px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */
.hero-servicio {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.hero-contenido {
    flex: 1;
}

.hero-imagen figure {
    margin: 0;
}

.hero-imagen img {
    display: block;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    object-fit: cover;
}



/* Subrayado animado */
.subrayo-azul {
    position: relative;
    padding-bottom: 1px;
    background-image: linear-gradient(to right,
        rgba(0, 69, 138, 0.08) 0%,
        rgba(0, 69, 138, 0.25) 20%,
        rgba(0, 69, 138, 0.25) 60%,
        rgba(0, 69, 138, 0.08) 100%);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 0.9em;
    border-radius: 999px;
    transition: background-size 0.6s ease-out;
}

.subrayo-azul.animar {
    background-size: 100% 0.9em;
}

/* =========================================================
   CTA HERO
   ========================================================= */
.hero-ctas {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.hero-ctas .btn-hero {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
}

@media (max-width: 360px) {
    .hero-ctas {
        flex-direction: column;
    }
}

/* Botones hero */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: 0.15s ease;
}

.btn-hero-primary {
    background: var(--jdg-rojo);
    color: #fff;
}

.btn-hero-secondary {
    background: #ffffff;
    color: var(--jdg-azul);
    border-color: #dde3ea;
}

.btn-hero i {
    font-size: 16px;
}

.btn-hero:active {
    transform: scale(0.98);
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.bloque-opiniones {
    margin-top: 28px;
}

.opinion-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    max-width: 420px;
    margin: 0 auto;
}

.opinion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.opinion-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00458a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.opinion-nombre {
    font-size: 13px;
    font-weight: 700;
}

.opinion-rol {
    font-size: 11px;
    color: #666;
}

.opinion-estrellas {
    font-size: 14px;
    color: #f5a623;
    margin-bottom: 6px;
}

.opinion-texto {
    font-size: 13px;
    color: #444;
    margin: 0;
}

/* =========================================================
   FAQ (Preguntas frecuentes)
   ========================================================= */
.bloque-faq {
    margin-bottom: 40px;
}

.faq-lista {
    margin-top: 16px;
}

.faq-item {
    border-radius: 10px;
    border: 1px solid #e3e7ee;
    background: #ffffff;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 8px;
    font-size: 13px;
}

/* Tablas de FAQ */
.faq-tabla-puertas,
.faq-tabla-inox {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 10px;
    font-size: 13px;
}

.faq-tabla-puertas th,
.faq-tabla-puertas td,
.faq-tabla-inox th,
.faq-tabla-inox td {
    padding: 6px 8px;
    border-bottom: 1px solid #e3e7ec;
    vertical-align: top;
}

.faq-tabla-puertas th,
.faq-tabla-inox th {
    background: #f5f7fa;
    font-weight: 600;
    text-align: left;
}

@media (max-width: 400px) {
    .faq-tabla-puertas,
    .faq-tabla-inox {
        font-size: 12px;
    }
}

/* =========================================================
   BLOQUE “ASÍ TRABAJAMOS” (Proceso largo)
   ========================================================= */
.bloque-proceso {
    padding: 24px 16px 28px;
    background: #ffffff;
}

.bloque-proceso 

.proceso-pasos {
    position: relative;
    margin-left: 6px;
}

.proceso-pasos::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom,
        rgba(0, 69, 138, 0.12),
        rgba(0, 69, 138, 0.35));
}

.paso {
    position: relative;
    padding: 12px 14px 12px 50px;
    margin-bottom: 10px;
    background: #f9fafb;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.paso-numero {
    position: absolute;
    left: 10px;
    top: 14px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid var(--jdg-azul);
    background: #ffffff;
    color: var(--jdg-azul);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.paso-contenido h3 {
    font-size: 0.98rem;
    margin: 0 0 4px;
    font-weight: 700;
    color: #111827;
}

.paso-contenido p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    color: #4b5563;
}

@media (min-width: 768px) {
    .bloque-proceso {
        max-width: 720px;
        margin: 0 auto 10px;
        padding-inline: 22px;
    }

    .proceso-pasos::before {
        left: 22px;
    }

    .paso {
        padding: 14px 18px 14px 56px;
        margin-bottom: 12px;
    }

    .paso-numero {
        left: 12px;
    }

    .paso-contenido h3 {
        font-size: 1.05rem;
    }

    .paso-contenido p {
        font-size: 0.92rem;
    }
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.bloque-cta-final {
    margin-top: 10px;
    padding: 18px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--jdg-azul), var(--jdg-rojo));
    color: #ffffff;
    text-align: left;
}

.bloque-cta-final h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.bloque-cta-final p {
    font-size: 14px;
    margin-bottom: 12px;
}

.cta-final-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
