/*
============================================================
 ROBERT VARÓN | PLATAFORMA WEB CORPORATIVA
============================================================

 Archivo: components.css
 Módulo: Componentes visuales reutilizables
 Descripción:
 Botones, tarjetas, encabezados, etiquetas, navegación
 secundaria, indicadores y componentes de interacción.

 Dependencias:
 - variables.css
 - main.css

============================================================
*/


/* =========================================================
   01. BOTONES
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);

    min-height: 48px;
    padding: 0.875rem 1.75rem;

    border: 1px solid transparent;
    border-radius: var(--radius-md);

    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        color var(--transition-normal),
        box-shadow var(--transition-normal),
        transform var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-primary);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(201, 164, 76, 0.28);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-outline-gold:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: var(--color-gray-100);
}

.btn-sm {
    min-height: 40px;
    padding: 0.65rem 1.25rem;
    font-size: var(--font-size-xs);
}

.btn-lg {
    min-height: 54px;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

.btn-block {
    width: 100%;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


/* =========================================================
   02. ENCABEZADOS DE SECCIÓN
========================================================= */

.section-header {
    margin-bottom: var(--space-12);
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-description {
    margin-inline: auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);

    margin-bottom: var(--space-4);

    color: var(--color-gold-dark);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background-color: var(--color-secondary);
}

.section-title {
    max-width: 850px;
    margin-bottom: var(--space-5);
}

.section-description {
    max-width: 650px;

    color: var(--color-gray-600);
    font-size: var(--font-size-md);
    line-height: 1.75;
}

.section-dark .section-description {
    color: var(--color-gray-200);
}

.section-dark .section-eyebrow {
    color: var(--color-gold-light);
}


/* =========================================================
   03. TARJETAS DE SERVICIOS
========================================================= */

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;

    overflow: hidden;

    background-color: var(--bg-card);
    border: var(--border-light);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-lg);
}

.service-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background-color: var(--color-gray-100);
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
    transform: scale(1.035);
}

.service-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    padding: var(--space-6);
}

.service-card__category {
    margin-bottom: var(--space-3);

    color: var(--color-gold-dark);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-card__title {
    margin-bottom: var(--space-3);

    font-size: var(--font-size-lg);
    line-height: 1.35;
}

.service-card__description {
    margin-bottom: var(--space-6);

    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.service-card__footer {
    margin-top: auto;
    padding-top: var(--space-4);

    border-top: var(--border-light);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);

    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
}

.service-card__link:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
}

.service-card__link svg {
    width: 18px;
    height: 18px;
}


/* =========================================================
   04. TARJETAS INFORMATIVAS
========================================================= */

.info-card {
    height: 100%;
    padding: var(--space-8);

    background-color: var(--color-white);
    border: var(--border-light);
    border-radius: var(--radius-lg);

    transition:
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.info-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    margin-bottom: var(--space-6);

    background-color: rgba(201, 164, 76, 0.12);
    border-radius: var(--radius-md);

    color: var(--color-gold-dark);
}

.info-card__icon svg {
    width: 28px;
    height: 28px;
}

.info-card__title {
    margin-bottom: var(--space-3);
    font-size: var(--font-size-lg);
}

.info-card__description {
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.75;
}


/* =========================================================
   05. ETIQUETAS
========================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.4rem 0.8rem;

    border: 1px solid transparent;
    border-radius: var(--radius-full);

    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

.badge-gold {
    background-color: rgba(201, 164, 76, 0.15);
    color: var(--color-gold-dark);
    border-color: rgba(201, 164, 76, 0.3);
}

.badge-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.badge-light {
    background-color: var(--color-gray-100);
    color: var(--color-gray-800);
}


/* =========================================================
   06. BREADCRUMBS
========================================================= */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);

    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.breadcrumb a {
    color: inherit;
}

.breadcrumb a:hover {
    color: var(--color-gold-dark);
    text-decoration: underline;
}

.breadcrumb__separator {
    color: var(--color-gray-400);
}

.breadcrumb [aria-current="page"] {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}


/* =========================================================
   07. INDICADORES DE CONFIANZA
========================================================= */

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.trust-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    flex-shrink: 0;

    border-radius: var(--radius-md);
    background-color: rgba(201, 164, 76, 0.12);
    color: var(--color-gold-dark);
}

.trust-item__icon svg {
    width: 24px;
    height: 24px;
}

.trust-item__title {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

.trust-item__description {
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
}


/* =========================================================
   08. ACORDEONES / PREGUNTAS FRECUENTES
========================================================= */

.faq-item {
    overflow: hidden;

    background-color: var(--color-white);
    border: var(--border-light);
    border-radius: var(--radius-md);
}

.faq-item + .faq-item {
    margin-top: var(--space-3);
}

.faq-item[open] {
    border-color: var(--color-secondary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);

    width: 100%;
    padding: var(--space-5) var(--space-6);

    color: var(--color-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;

    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    flex-shrink: 0;

    color: var(--color-gold-dark);
    font-size: 1.5rem;
    font-weight: var(--font-weight-regular);
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 var(--space-6) var(--space-6);

    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}


/* =========================================================
   09. MENSAJES INFORMATIVOS
========================================================= */

.alert {
    padding: var(--space-5) var(--space-6);

    border: 1px solid;
    border-radius: var(--radius-md);

    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.alert-info {
    background-color: #EFF6FF;
    border-color: #BFDBFE;
    color: #1E40AF;
}

.alert-success {
    background-color: #F0FDF4;
    border-color: #BBF7D0;
    color: #166534;
}

.alert-warning {
    background-color: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
}

.alert-error {
    background-color: #FEF2F2;
    border-color: #FECACA;
    color: #991B1B;
}


/* =========================================================
   10. BOTÓN FLOTANTE DE WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: var(--z-whatsapp);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    background-color: #25D366;
    color: #FFFFFF;

    border: 2px solid #FFFFFF;
    border-radius: 50%;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}


/* =========================================================
   11. DIVISORES DECORATIVOS
========================================================= */

.divider-gold {
    width: 60px;
    height: 3px;

    background: var(--gradient-gold);
    border: 0;
    border-radius: var(--radius-full);
}

.divider-center {
    margin-inline: auto;
}


/* =========================================================
   12. ESTADOS DE CARGA
========================================================= */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-gray-100) 25%,
        var(--color-gray-200) 50%,
        var(--color-gray-100) 75%
    );

    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* =========================================================
   13. RESPONSIVE DE COMPONENTES
========================================================= */

@media (max-width: 768px) {

    .section-header {
        margin-bottom: var(--space-8);
    }

    .service-card__content {
        padding: var(--space-5);
    }

    .info-card {
        padding: var(--space-6);
    }

    .btn-lg {
        min-height: 50px;
        padding: 0.875rem 1.5rem;
    }

    .faq-question {
        padding: var(--space-4);
    }

    .faq-answer {
        padding: 0 var(--space-4) var(--space-5);
    }

}

@media (max-width: 480px) {

    .whatsapp-float {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .service-card__title {
        font-size: var(--font-size-md);
    }

}

/* ============================================================
   ROBERT VARÓN | PLATAFORMA WEB CORPORATIVA
   ============================================================

   Archivo: components.css
   Sección: Header y navegación principal

   Descripción:
   Estilos del encabezado corporativo, logotipo,
   navegación responsive y botón de menú móvil.

   ============================================================ */


/* ============================================================
   01. HEADER PRINCIPAL
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);

    width: 100%;

    background-color: var(--color-primary);

    border-bottom: 1px solid rgba(201, 164, 76, 0.12);

    transition:
        background-color var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.site-header.is-scrolled {
    background-color: var(--color-gray-900);

    border-bottom-color: rgba(201, 164, 76, 0.35);

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}


/* ============================================================
   02. CONTENEDOR DEL HEADER
   ============================================================ */

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1.5rem;

    min-height: 88px;
}


/* ============================================================
   03. LOGOTIPO
   ============================================================ */

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    flex-shrink: 0;

    text-decoration: none;
}

.site-logo__image {
    display: block;

    width: auto;
    max-width: 170px;
    height: auto;
    max-height: 72px;

    object-fit: contain;

    transition: opacity var(--transition-fast);
}

.site-logo:hover .site-logo__image {
    opacity: 0.88;
}


/* ============================================================
   04. NAVEGACIÓN DE ESCRITORIO
   ============================================================ */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(1rem, 1.6vw, 1.75rem);

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-nav__list li {
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 0.75rem 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;

    text-decoration: none;

    white-space: nowrap;

    transition: color var(--transition-fast);
}

.site-nav__list a:hover {
    color: var(--color-gold-light);
}


/* ============================================================
   05. INDICADOR DORADO
   ============================================================ */

.site-nav__list a::after {
    content: "";

    position: absolute;
    bottom: 0.3rem;
    left: 0;

    width: 100%;
    height: 2px;

    background-color: var(--color-secondary);

    border-radius: 999px;

    transform: scaleX(0);
    transform-origin: left center;

    transition: transform var(--transition-normal);
}

.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-nav__list a[aria-current="page"] {
    color: var(--color-gold-light);
}


/* ============================================================
   06. BOTÓN PRINCIPAL DEL HEADER
   ============================================================ */

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    min-height: 44px;

    padding: 0.8rem 1.25rem;

    font-size: 0.875rem;
    font-weight: 600;

    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-1px);
}


/* ============================================================
   07. BOTÓN DEL MENÚ MÓVIL
   ============================================================ */

.nav-toggle {
    display: none;

    position: relative;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    width: 46px;
    height: 46px;

    padding: 10px;

    background: transparent;

    border: 1px solid rgba(201, 164, 76, 0.35);
    border-radius: var(--radius-md);

    color: var(--color-white);

    cursor: pointer;

    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast);
}

.nav-toggle:hover {
    border-color: var(--color-secondary);

    background-color: rgba(201, 164, 76, 0.08);
}

.nav-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    background-color: var(--color-white);

    border-radius: 999px;

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}


/* ============================================================
   08. MENÚ RESPONSIVE
   ============================================================ */

@media (max-width: 1023px) {

    .header-container {
        min-height: 76px;
        gap: 1rem;
    }

    .site-logo__image {
        max-width: 145px;
        max-height: 62px;
    }

    .nav-toggle {
        display: inline-flex;
        order: 3;
        flex-shrink: 0;
    }

    .site-nav {
        position: absolute;

        top: 100%;
        left: 0;

        display: block;

        width: 100%;

        margin: 0;

        padding: 0;

        background-color: var(--color-gray-900);

        border-bottom: 1px solid rgba(201, 164, 76, 0.25);

        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);

        visibility: hidden;
        opacity: 0;

        pointer-events: none;

        transform: translateY(-8px);

        transition:
            opacity var(--transition-normal),
            transform var(--transition-normal),
            visibility var(--transition-normal);
    }

    .site-nav.is-open {
        visibility: visible;
        opacity: 1;

        pointer-events: auto;

        transform: translateY(0);
    }

    .site-nav__list {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        width: min(100%, 1200px);

        margin: 0 auto;
        padding: 0.75rem 1.5rem 1.25rem;
    }

    .site-nav__list li {
        width: 100%;
    }

    .site-nav__list a {
        display: flex;
        align-items: center;

        width: 100%;

        padding: 0.95rem 0.25rem;

        font-size: 0.95rem;

        white-space: normal;

        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .site-nav__list li:last-child a {
        border-bottom: 0;
    }

    .site-nav__list a::after {
        display: none;
    }

    .header-cta {
        margin-left: auto;
        order: 2;
    }

    /*
     * El botón cambia a una X
     * cuando el menú está abierto.
     */

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}


/* ============================================================
   09. DISPOSITIVOS PEQUEÑOS
   ============================================================ */

@media (max-width: 575px) {

    .header-container {
        min-height: 70px;
    }

    .site-logo__image {
        max-width: 125px;
        max-height: 56px;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        margin-left: auto;
    }

    .site-nav__list {
        padding-inline: 1.25rem;
    }

}


/* ============================================================
   10. ACCESIBILIDAD
   ============================================================ */

.nav-toggle:focus-visible,
.site-logo:focus-visible,
.site-nav a:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .site-header,
    .site-logo__image,
    .site-nav,
    .site-nav__list a,
    .site-nav__list a::after,
    .nav-toggle,
    .nav-toggle span {
        transition: none !important;
    }

}


/* ============================================================
   11. DESPLAZAMIENTO A SECCIONES
   ============================================================ */

html {
    scroll-padding-top: 100px;
}

[id] {
    scroll-margin-top: 100px;
}

/* ============================================================
   RESPALDO SIN JAVASCRIPT
   ============================================================ */

@media (max-width: 1023px) {

    .no-js .nav-toggle {
        display: none;
    }

    .no-js .site-nav {
        position: static;

        visibility: visible;
        opacity: 1;

        pointer-events: auto;

        transform: none;

        width: 100%;

        box-shadow: none;
    }

    .no-js .header-container {
        flex-wrap: wrap;
    }

    .no-js .site-nav {
        order: 4;
    }

    .no-js .site-nav__list {
        padding-top: 0;
    }

}

/* ============================================================
   ROBERT VARÓN | PLATAFORMA WEB CORPORATIVA
   ============================================================

   Archivo: components.css
   Módulo: Hero principal
   Versión: 1.0

   Objetivos:
   - Diseño corporativo premium
   - Responsive mobile-first
   - Accesibilidad
   - Alto rendimiento
   - Identidad negro / dorado / blanco

   ============================================================ */


/* ============================================================
   01. SECCIÓN HERO
   ============================================================ */

.hero {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;

    min-height: min(760px, 90svh);

    padding-block: clamp(5rem, 8vw, 8rem);

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(201, 164, 76, 0.13) 0%,
            rgba(201, 164, 76, 0.045) 25%,
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #101010 0%,
            #171717 50%,
            #090909 100%
        );
}


/* ============================================================
   02. TEXTURA DECORATIVA
   ============================================================ */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 45%,
            black 100%
        );
}


/* ============================================================
   03. LÍNEA DECORATIVA INFERIOR
   ============================================================ */

.hero::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: min(88%, 1180px);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201, 164, 76, 0.55),
            transparent
        );
}


/* ============================================================
   04. CONTENEDOR
   ============================================================ */

.hero-container {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);

    align-items: center;

    gap: clamp(2rem, 5vw, 5rem);

    width: 100%;
}


/* ============================================================
   05. CONTENIDO PRINCIPAL
   ============================================================ */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;
}


/* ============================================================
   06. ETIQUETA SUPERIOR
   ============================================================ */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 0.75rem;

    margin-bottom: 1.75rem;

    color: #e8ce85;

    font-size: clamp(0.7rem, 1vw, 0.8rem);
    font-weight: 700;

    letter-spacing: 0.18em;
    line-height: 1.6;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    flex-shrink: 0;

    background-color: #c9a44c;
}


/* ============================================================
   07. TÍTULO PRINCIPAL
   ============================================================ */

.hero-title {
    margin: 0 0 1.75rem;

    max-width: 850px;

    color: #ffffff;

    font-size: clamp(2.65rem, 5vw, 5rem);
    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -0.055em;

    text-wrap: balance;
}

.hero-title .text-gold {
    display: block;

    margin-top: 0.2em;

    color: #e8ce85;
}


/* ============================================================
   08. DESCRIPCIÓN
   ============================================================ */

.hero-description {
    max-width: 590px;

    margin: 0 0 2rem;

    color: rgba(255, 255, 255, 0.76);

    font-size: clamp(1rem, 1.35vw, 1.125rem);

    line-height: 1.85;
}


/* ============================================================
   09. BOTONES DEL HERO
   ============================================================ */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 1rem;

    margin-bottom: 1.75rem;
}

.hero-actions .btn {
    min-height: 52px;

    padding: 0.95rem 1.6rem;

    font-weight: 700;
}

.hero-actions .btn-primary {
    box-shadow: 0 10px 30px rgba(201, 164, 76, 0.15);
}

.hero-actions .btn-primary:hover {
    box-shadow: 0 14px 36px rgba(201, 164, 76, 0.22);
}


/* ============================================================
   10. TEXTO DE APOYO
   ============================================================ */

.hero-note {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 0.65rem;

    max-width: 520px;

    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 0.82rem;

    line-height: 1.65;
}

.hero-note::before {
    content: "";

    display: block;

    width: 7px;
    height: 7px;

    margin-top: 0.45rem;

    flex-shrink: 0;

    border-radius: 50%;

    background-color: #c9a44c;
}


/* ============================================================
   11. ÁREA VISUAL
   ============================================================ */

.hero-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    min-height: 480px;
}


/* ============================================================
   12. CONTENEDOR VISUAL TEMPORAL
   ============================================================ */

.hero-visual__placeholder {
    position: relative;

    width: min(100%, 480px);

    aspect-ratio: 4 / 5;

    overflow: hidden;

    border: 1px solid rgba(201, 164, 76, 0.24);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(201, 164, 76, 0.2),
            transparent 65%
        ),
        linear-gradient(
            145deg,
            #24211b,
            #121212 70%
        );

    box-shadow:
        0 25px 75px rgba(0, 0, 0, 0.32),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}


/* ============================================================
   13. MARCO DECORATIVO
   ============================================================ */

.hero-visual__placeholder::before {
    content: "";

    position: absolute;

    inset: 22px;

    border: 1px solid rgba(201, 164, 76, 0.2);

    border-radius: 16px;

    pointer-events: none;
}


/* ============================================================
   14. ILUMINACIÓN DECORATIVA
   ============================================================ */

.hero-visual__placeholder::after {
    content: "";

    position: absolute;

    width: 72%;
    aspect-ratio: 1;

    top: 14%;
    left: 14%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(201, 164, 76, 0.17),
            transparent 70%
        );

    filter: blur(24px);

    pointer-events: none;
}


/* ============================================================
   15. DETALLE DORADO
   ============================================================ */

.hero-visual__accent {
    position: absolute;

    right: 0;
    top: 12%;

    width: 4px;
    height: 25%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #e8ce85,
            transparent
        );

    box-shadow: 0 0 24px rgba(201, 164, 76, 0.2);
}


/* ============================================================
   16. PANTALLAS GRANDES
   ============================================================ */

@media (min-width: 1440px) {

    .hero {
        min-height: 780px;
    }

    .hero-container {
        gap: 5rem;
    }

    .hero-title {
        font-size: clamp(4rem, 4.5vw, 5.25rem);
    }

}


/* ============================================================
   17. TABLETAS
   ============================================================ */

@media (max-width: 1023px) {

    .hero {
        min-height: auto;

        padding-block: 5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 3rem;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-title {
        max-width: 760px;

        font-size: clamp(2.75rem, 6vw, 4.5rem);
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-visual__placeholder {
        width: min(100%, 520px);

        aspect-ratio: 16 / 10;
    }

}


/* ============================================================
   18. MÓVILES
   ============================================================ */

@media (max-width: 767px) {

    .hero {
        padding-block: 4rem 4.5rem;
    }

    .hero-container {
        gap: 2.5rem;
    }

    .hero-eyebrow {
        margin-bottom: 1.25rem;

        letter-spacing: 0.12em;
    }

    .hero-title {
        font-size: clamp(2.35rem, 8vw, 3.4rem);

        letter-spacing: -0.045em;
    }

    .hero-description {
        font-size: 1rem;

        line-height: 1.75;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .hero-actions .btn {
        min-height: 50px;
    }

    .hero-visual__placeholder {
        aspect-ratio: 4 / 3;

        border-radius: 18px;
    }

    .hero-visual__placeholder::before {
        inset: 14px;

        border-radius: 12px;
    }

}


/* ============================================================
   19. MÓVILES PEQUEÑOS
   ============================================================ */

@media (max-width: 479px) {

    .hero {
        padding-block: 3.5rem 4rem;
    }

    .hero-title {
        font-size: clamp(2.15rem, 9vw, 2.85rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-note {
        font-size: 0.78rem;
    }

}


/* ============================================================
   20. ACCESIBILIDAD
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .hero *,
    .hero *::before,
    .hero *::after {
        animation: none !important;
        transition: none !important;
    }

}

/* ============================================================
   ROBERT VARÓN | HERO IMAGE
   FASE 05.04
   ============================================================ */

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-visual__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    overflow: hidden;
    border-radius: 20px;
    isolation: isolate;
    background-color: #151515;
}

.hero-visual__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.hero-visual__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(17, 17, 17, 0.16) 0%,
            transparent 35%
        ),
        linear-gradient(
            0deg,
            rgba(17, 17, 17, 0.20),
            transparent 35%
        );
}

/* Pantallas medianas */

@media (max-width: 1023px) {

    .hero-visual__image-wrapper {
        max-width: 680px;
    }

}

/* Móviles */

@media (max-width: 767px) {

    .hero-visual__image-wrapper {
        border-radius: 14px;
    }

}
/* ============================================================
   ROBERT VARÓN | IMAGEN DEL HERO
   ============================================================ */

    .hero-visual__image-wrapper {
        position: relative;
        width: 100%;
        max-width: 620px;
        overflow: hidden;
        border-radius: 20px;
        isolation: isolate;
        background-color: #151515;
    }

    .hero-visual__image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    .hero-visual__overlay {
        position: absolute;
        inset: 0;
        pointer-events: none;

        background:
            linear-gradient(
                90deg,
                rgba(17, 17, 17, 0.16),
                transparent 35%
            ),
            linear-gradient(
                0deg,
                rgba(17, 17, 17, 0.20),
                transparent 35%
            );
    }

    @media (max-width: 767px) {
        .hero-visual__image-wrapper {
            border-radius: 14px;
        }
}

/* ============================================================
   ROBERT VARÓN
   FASE 05.05 — BENEFICIOS Y SERVICIOS
   ============================================================ */

/* ------------------------------------------------------------
   01. ENCABEZADOS DE SECCIÓN
   ------------------------------------------------------------ */

.section-header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-header__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;

    color: #b08a35;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.6;
    text-transform: uppercase;
}

.section-header__title {
    margin: 0 0 1.25rem;

    color: #161616;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.section-header__description {
    max-width: 650px;
    margin-inline: auto;

    color: #555555;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
}

/* ------------------------------------------------------------
   02. SECCIÓN BENEFICIOS
   ------------------------------------------------------------ */

.benefits-section {
    position: relative;
    padding-block: clamp(5rem, 8vw, 8rem);
    background: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

/* Tarjetas */

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: clamp(1.75rem, 3vw, 2.5rem);

    border: 1px solid #e9e5dc;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.035);

    transition:
        transform 250ms ease,
        box-shadow 250ms ease,
        border-color 250ms ease;
}

.info-card:hover {
    transform: translateY(-5px);

    border-color: rgba(201, 164, 76, 0.55);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.075);
}

/* Número */

.info-card__number {
    display: block;
    margin-bottom: 1.5rem;

    color: #b08a35;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
}

/* Título */

.info-card__title {
    margin: 0 0 1rem;

    color: #181818;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    font-weight: 750;
    line-height: 1.35;
}

/* Descripción */

.info-card__description {
    margin: 0;

    color: #5c5c5c;
    font-size: 0.98rem;
    line-height: 1.8;
}

/* ------------------------------------------------------------
   03. SECCIÓN SERVICIOS
   ------------------------------------------------------------ */

.services-section {
    position: relative;
    padding-block: clamp(5rem, 8vw, 8rem);

    background:
        linear-gradient(
            180deg,
            #f8f7f4 0%,
            #f2f0eb 100%
        );
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

/* Tarjeta de servicio */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 290px;

    overflow: hidden;

    border: 1px solid #e4dfd3;
    border-radius: 18px;

    background: #ffffff;

    transition:
        transform 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
}

.service-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #a47d29,
            #e8ce85
        );
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #c9a44c;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.085);
}

/* Contenido */

.service-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    flex: 1;
    padding: clamp(1.75rem, 2.5vw, 2.25rem);
}

/* Etiquetas */

.service-card .badge {
    display: inline-flex;
    align-items: center;

    min-height: 28px;
    margin-bottom: 1.5rem;
    padding: 0.35rem 0.75rem;

    border: 1px solid rgba(176, 138, 53, 0.25);
    border-radius: 100px;

    background: #f8f3e6;
    color: #806018;

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* Título */

.service-card__title {
    margin: 0 0 1rem;

    color: #161616;
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
}

/* Descripción */

.service-card__description {
    margin: 0 0 1.75rem;

    color: #555555;
    font-size: 0.96rem;
    line-height: 1.75;
}

/* Enlace */

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;

    margin-top: auto;

    color: #806018;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;

    transition:
        color 200ms ease,
        gap 200ms ease;
}

.service-card__link::after {
    content: "";
    font-size: 1.2rem;
}

.service-card__link:hover {
    color: #111111;
    gap: 0.9rem;
}

.service-card__link:focus-visible {
    outline: 3px solid #a47d29;
    outline-offset: 5px;
    border-radius: 3px;
}

/* ------------------------------------------------------------
   04. BOTÓN INFERIOR
   ------------------------------------------------------------ */

.section-actions {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 3rem;
}

/* ------------------------------------------------------------
   05. TABLET
   ------------------------------------------------------------ */

@media (max-width: 1023px) {

    .benefits-grid,
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* ------------------------------------------------------------
   06. MÓVIL
   ------------------------------------------------------------ */

@media (max-width: 767px) {

    .benefits-section,
    .services-section {
        padding-block: 4rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
        text-align: left;
    }

    .section-header__description {
        margin-inline: 0;
    }

    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card,
    .service-card {
        border-radius: 14px;
    }

    .service-card {
        min-height: 0;
    }

    .section-actions {
        margin-top: 2rem;
    }

    .section-actions .btn {
        width: 100%;
        justify-content: center;
    }

}

/* ------------------------------------------------------------
   07. ACCESIBILIDAD
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .info-card,
    .service-card,
    .service-card__link {
        transition: none;
    }

    .info-card:hover,
    .service-card:hover {
        transform: none;
    }

}
/* ============================================================
   ROBERT VARÓN
   FASE 05.06 — CATEGORÍAS DE LICENCIAS
   ============================================================ */


/* ------------------------------------------------------------
   01. SECCIÓN PRINCIPAL
   ------------------------------------------------------------ */

.licenses-section {
    position: relative;
    isolation: isolate;

    padding-block: clamp(5rem, 8vw, 8rem);

    color: #ffffff;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201, 164, 76, 0.08),
            transparent 55%
        ),
        #111111;
}


/* ------------------------------------------------------------
   02. ENCABEZADO DE LA SECCIÓN
   ------------------------------------------------------------ */

.licenses-section .section-header {
    max-width: 850px;
    margin-inline: auto;
    margin-bottom: 3.5rem;
    text-align: center;
}

.licenses-section .section-header__eyebrow {
    color: #e8ce85;
}

.licenses-section .section-header__title {
    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
}

.licenses-section .section-header__description {
    color: #c4c4c4;

    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
}


/* ------------------------------------------------------------
   03. CUADRÍCULA DE LICENCIAS
   ------------------------------------------------------------ */

.licenses-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.5rem;

    align-items: stretch;
}


/* ------------------------------------------------------------
   04. TARJETAS
   ------------------------------------------------------------ */

.license-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 310px;

    padding: clamp(1.75rem, 2.5vw, 2.5rem);

    overflow: hidden;

    border: 1px solid rgba(201, 164, 76, 0.24);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #202020 0%,
            #171717 100%
        );

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);

    transition:
        transform 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
}

.license-card:hover {
    transform: translateY(-5px);

    border-color: rgba(232, 206, 133, 0.75);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.3);
}


/* ------------------------------------------------------------
   05. LÍNEA SUPERIOR DORADA
   ------------------------------------------------------------ */

.license-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #a47d29,
            #e8ce85,
            transparent
        );
}


/* ------------------------------------------------------------
   06. DISTINTIVO DE CATEGORÍA
   ------------------------------------------------------------ */

.license-card__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 82px;
    min-height: 64px;

    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;

    border: 1px solid rgba(201, 164, 76, 0.45);
    border-radius: 12px;

    background: rgba(201, 164, 76, 0.08);

    color: #e8ce85;

    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}


/* ------------------------------------------------------------
   07. TÍTULOS
   ------------------------------------------------------------ */

.license-card h3 {
    margin: 0 0 1rem;

    color: #ffffff;

    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
}


/* ------------------------------------------------------------
   08. DESCRIPCIÓN
   ------------------------------------------------------------ */

.license-card p {
    margin: 0 0 1.75rem;

    color: #c4c4c4;

    font-size: 0.96rem;
    line-height: 1.75;
}


/* ------------------------------------------------------------
   09. ENLACES
   ------------------------------------------------------------ */

.license-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;

    margin-top: auto;

    color: #e8ce85;

    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;

    transition:
        color 200ms ease,
        gap 200ms ease;
}

.license-card a::after {
    content: "";

    font-size: 1.2rem;
}

.license-card a:hover {
    color: #ffffff;
    gap: 0.9rem;
}

.license-card a:focus-visible {
    outline: 3px solid #e8ce85;
    outline-offset: 5px;
    border-radius: 3px;
}


/* ------------------------------------------------------------
   10. TABLETAS
   ------------------------------------------------------------ */

@media (max-width: 1023px) {

    .licenses-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ------------------------------------------------------------
   11. MÓVILES
   ------------------------------------------------------------ */

@media (max-width: 767px) {

    .licenses-section {
        padding-block: 4rem;
    }

    .licenses-section .section-header {
        margin-bottom: 2.5rem;
        text-align: left;
    }

    .licenses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .license-card {
        min-height: 0;
        padding: 1.75rem;
        border-radius: 14px;
    }

    .license-card__category {
        min-width: 72px;
        min-height: 58px;
        font-size: 2.2rem;
    }

}


/* ------------------------------------------------------------
   12. ACCESIBILIDAD
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .license-card,
    .license-card a {
        transition: none;
    }

    .license-card:hover {
        transform: none;
    }

}

/* ============================================================
   ROBERT VARÓN
   FASE 05.07 — PROCESO DE ATENCIÓN
   ============================================================ */


/* ------------------------------------------------------------
   01. SECCIÓN PRINCIPAL
   ------------------------------------------------------------ */

.process-section {
    position: relative;
    isolation: isolate;

    padding-block: clamp(5rem, 8vw, 8rem);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201, 164, 76, 0.055),
            transparent 55%
        ),
        #ffffff;
}


/* ------------------------------------------------------------
   02. ENCABEZADO
   ------------------------------------------------------------ */

.process-section .section-header {
    position: relative;
    z-index: 1;

    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.process-section .section-header__title {
    color: #161616;
}


/* ------------------------------------------------------------
   03. CUADRÍCULA
   ------------------------------------------------------------ */

.process-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: clamp(1rem, 2vw, 1.75rem);

    align-items: stretch;
}


/* ------------------------------------------------------------
   04. LÍNEA DE CONEXIÓN
   ------------------------------------------------------------ */

@media (min-width: 1024px) {

    .process-grid::before {
        content: "";

        position: absolute;

        top: 56px;
        left: 12%;
        right: 12%;

        height: 2px;

        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(201, 164, 76, 0.55) 15%,
                rgba(201, 164, 76, 0.55) 85%,
                transparent
            );

        pointer-events: none;
    }

}


/* ------------------------------------------------------------
   05. TARJETAS
   ------------------------------------------------------------ */

.process-step {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 280px;

    padding: clamp(1.75rem, 2.5vw, 2.5rem);

    border: 1px solid #e9e5dc;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.045);

    transition:
        transform 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
}

.process-step:hover {
    transform: translateY(-5px);

    border-color: rgba(201, 164, 76, 0.65);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.08);
}


/* ------------------------------------------------------------
   06. NÚMERO DEL PASO
   ------------------------------------------------------------ */

.process-step__number {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin-bottom: 1.75rem;

    border: 1px solid rgba(201, 164, 76, 0.45);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f9f3e5,
            #f0e3bf
        );

    color: #806018;

    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;

    box-shadow:
        0 8px 25px rgba(201, 164, 76, 0.12);
}


/* ------------------------------------------------------------
   07. TÍTULOS
   ------------------------------------------------------------ */

.process-step h3 {
    margin: 0 0 1rem;

    color: #161616;

    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
}


/* ------------------------------------------------------------
   08. DESCRIPCIONES
   ------------------------------------------------------------ */

.process-step p {
    margin: 0;

    color: #555555;

    font-size: 0.98rem;
    line-height: 1.8;
}


/* ------------------------------------------------------------
   09. DETALLE INFERIOR
   ------------------------------------------------------------ */

.process-step::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 2rem;

    width: 48px;
    height: 3px;

    border-radius: 3px 3px 0 0;

    background:
        linear-gradient(
            90deg,
            #a47d29,
            #e8ce85
        );
}


/* ------------------------------------------------------------
   10. TABLETAS
   ------------------------------------------------------------ */

@media (max-width: 1023px) {

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-step {
        min-height: 260px;
    }

}


/* ------------------------------------------------------------
   11. MÓVILES
   ------------------------------------------------------------ */

@media (max-width: 767px) {

    .process-section {
        padding-block: 4rem;
    }

    .process-section .section-header {
        margin-bottom: 2.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step {
        min-height: 0;
        padding: 1.75rem;
        border-radius: 14px;
    }

    .process-step__number {
        width: 64px;
        height: 64px;

        margin-bottom: 1.25rem;

        font-size: 1.75rem;
        border-radius: 14px;
    }

}


/* ------------------------------------------------------------
   12. ACCESIBILIDAD
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .process-step {
        transition: none;
    }

    .process-step:hover {
        transform: none;
    }

}
/* ============================================================
   ROBERT VARÓN
   FASE 05.07 — PROCESO DE ATENCIÓN
   ============================================================ */


/* ------------------------------------------------------------
   01. SECCIÓN PRINCIPAL
   ------------------------------------------------------------ */

.process-section {
    position: relative;
    isolation: isolate;

    padding-block: clamp(5rem, 8vw, 8rem);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201, 164, 76, 0.055),
            transparent 55%
        ),
        #ffffff;
}


/* ------------------------------------------------------------
   02. ENCABEZADO
   ------------------------------------------------------------ */

.process-section .section-header {
    position: relative;
    z-index: 1;

    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.process-section .section-header__title {
    color: #161616;
}


/* ------------------------------------------------------------
   03. CUADRÍCULA
   ------------------------------------------------------------ */

.process-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: clamp(1rem, 2vw, 1.75rem);

    align-items: stretch;
}


/* ------------------------------------------------------------
   04. LÍNEA DE CONEXIÓN
   ------------------------------------------------------------ */

@media (min-width: 1024px) {

    .process-grid::before {
        content: "";

        position: absolute;

        top: 56px;
        left: 12%;
        right: 12%;

        height: 2px;

        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(201, 164, 76, 0.55) 15%,
                rgba(201, 164, 76, 0.55) 85%,
                transparent
            );

        pointer-events: none;
    }

}


/* ------------------------------------------------------------
   05. TARJETAS
   ------------------------------------------------------------ */

.process-step {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 280px;

    padding: clamp(1.75rem, 2.5vw, 2.5rem);

    border: 1px solid #e9e5dc;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.045);

    transition:
        transform 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease;
}

.process-step:hover {
    transform: translateY(-5px);

    border-color: rgba(201, 164, 76, 0.65);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.08);
}


/* ------------------------------------------------------------
   06. NÚMERO DEL PASO
   ------------------------------------------------------------ */

.process-step__number {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin-bottom: 1.75rem;

    border: 1px solid rgba(201, 164, 76, 0.45);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f9f3e5,
            #f0e3bf
        );

    color: #806018;

    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;

    box-shadow:
        0 8px 25px rgba(201, 164, 76, 0.12);
}


/* ------------------------------------------------------------
   07. TÍTULOS
   ------------------------------------------------------------ */

.process-step h3 {
    margin: 0 0 1rem;

    color: #161616;

    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    font-weight: 800;
    line-height: 1.3;
}


/* ------------------------------------------------------------
   08. DESCRIPCIONES
   ------------------------------------------------------------ */

.process-step p {
    margin: 0;

    color: #555555;

    font-size: 0.98rem;
    line-height: 1.8;
}


/* ------------------------------------------------------------
   09. DETALLE INFERIOR
   ------------------------------------------------------------ */

.process-step::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 2rem;

    width: 48px;
    height: 3px;

    border-radius: 3px 3px 0 0;

    background:
        linear-gradient(
            90deg,
            #a47d29,
            #e8ce85
        );
}


/* ------------------------------------------------------------
   10. TABLETAS
   ------------------------------------------------------------ */

@media (max-width: 1023px) {

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-step {
        min-height: 260px;
    }

}


/* ------------------------------------------------------------
   11. MÓVILES
   ------------------------------------------------------------ */

@media (max-width: 767px) {

    .process-section {
        padding-block: 4rem;
    }

    .process-section .section-header {
        margin-bottom: 2.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step {
        min-height: 0;
        padding: 1.75rem;
        border-radius: 14px;
    }

    .process-step__number {
        width: 64px;
        height: 64px;

        margin-bottom: 1.25rem;

        font-size: 1.75rem;
        border-radius: 14px;
    }

}


/* ------------------------------------------------------------
   12. ACCESIBILIDAD
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .process-step {
        transition: none;
    }

    .process-step:hover {
        transform: none;
    }

}

/* ============================================================
   ROBERT VARÓN
   FASE 05.08 — PREGUNTAS FRECUENTES
   ============================================================ */

/* ------------------------------------------------------------
   01. SECCIÓN PRINCIPAL
   ------------------------------------------------------------ */

.faq-section {
    position: relative;

    padding-block: clamp(5rem, 8vw, 8rem);

    background: #ffffff;
}

/* ------------------------------------------------------------
   02. CONTENEDOR
   ------------------------------------------------------------ */

.faq-section .container-narrow {
    width: min(100% - 2.5rem, 900px);
    margin-inline: auto;
}

/* ------------------------------------------------------------
   03. ENCABEZADO
   ------------------------------------------------------------ */

.faq-section .section-header {
    margin-bottom: 3rem;
}

/* ------------------------------------------------------------
   04. LISTADO
   ------------------------------------------------------------ */

.faq-list {
    display: flex;
    flex-direction: column;

    gap: 1rem;
}

/* ------------------------------------------------------------
   05. TARJETA FAQ
   ------------------------------------------------------------ */

.faq-item {
    overflow: hidden;

    border: 1px solid #e8e3d8;
    border-radius: 14px;

    background: #ffffff;

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.faq-item:hover {
    border-color: rgba(201, 164, 76, 0.65);
}

.faq-item[open] {
    border-color: rgba(201, 164, 76, 0.7);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.045);
}

/* ------------------------------------------------------------
   06. PREGUNTA
   ------------------------------------------------------------ */

.faq-question {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1.5rem;

    padding: 1.5rem 1.75rem;

    color: #181818;

    font-size: clamp(1rem, 1.3vw, 1.12rem);
    font-weight: 750;
    line-height: 1.5;

    cursor: pointer;

    list-style: none;
}

/* Ocultar marcador nativo en navegadores compatibles */

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: "";
}

/* ------------------------------------------------------------
   07. INDICADOR DE APERTURA
   ------------------------------------------------------------ */

.faq-question::after {
    content: "+";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #f8f3e6;
    color: #806018;

    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;

    transition:
        background-color 200ms ease,
        transform 200ms ease;
}

.faq-item[open] .faq-question::after {
    content: "−";

    background: #e8ce85;
    color: #111111;
}

/* ------------------------------------------------------------
   08. RESPUESTA
   ------------------------------------------------------------ */

.faq-answer {
    padding: 0 1.75rem 1.75rem;
}

.faq-answer p {
    margin: 0;

    color: #555555;

    font-size: 0.98rem;
    line-height: 1.85;
}

/* ------------------------------------------------------------
   09. ACCESIBILIDAD
   ------------------------------------------------------------ */

.faq-question:focus-visible {
    outline: 3px solid #a47d29;
    outline-offset: -4px;
    border-radius: 12px;
}

/* ------------------------------------------------------------
   10. MÓVILES
   ------------------------------------------------------------ */

@media (max-width: 767px) {

    .faq-section {
        padding-block: 4rem;
    }

    .faq-section .container-narrow {
        width: min(100% - 2.5rem, 900px);
    }

    .faq-question {
        padding: 1.25rem;
        gap: 1rem;
    }

    .faq-question::after {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .faq-answer {
        padding: 0 1.25rem 1.5rem;
    }

}

/* ------------------------------------------------------------
   11. MOVIMIENTO REDUCIDO
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

    .faq-item,
    .faq-question::after {
        transition: none;
    }

}

/* ============================================================
   ROBERT VARÓN | CORRECCIÓN SOBRE NOSOTROS
   ============================================================ */

.about-section .about-container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.about-visual {
    min-width: 0;
}

.about-visual__placeholder {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 5 / 5.5;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 60% 35%,
            rgba(201, 164, 76, 0.20),
            transparent 50%
        ),
        linear-gradient(145deg, #25221c, #111111);
}

.about-visual__placeholder::after {
    content: none;
}

.about-visual__monogram {
    color: rgba(232, 206, 133, 0.22);
    font-size: clamp(6rem, 13vw, 11rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.08em;
}

.about-visual__line {
    position: absolute;
    bottom: 12%;
    left: 15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #c9a44c,
        transparent
    );
}

@media (max-width: 1023px) {

    .about-section .about-container {
        grid-template-columns: 1fr;
    }

    .about-visual__placeholder {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {

    .about-section .about-container {
        gap: 2rem;
    }

    .about-content {
        order: 1;
    }

    .about-visual {
        order: 2;
    }

    .about-visual__placeholder {
        aspect-ratio: 4 / 3;
    }
}

/* ============================================================
   ROBERT VARÓN — IMAGEN CORPORATIVA SOBRE NOSOTROS
   ============================================================ */

.about-visual__picture {
    display: block;
    width: 100%;
    max-width: 540px;
    overflow: hidden;

    border-radius: 22px;
    border: 1px solid rgba(201, 164, 76, 0.35);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.about-visual__image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 5 / 5.5;
    object-fit: cover;
    object-position: center;

    transition: transform 400ms ease;
}

@media (hover: hover) {
    .about-visual__picture:hover .about-visual__image {
        transform: scale(1.025);
    }
}

/* TABLET */

@media (max-width: 1023px) {
    .about-visual__picture {
        max-width: 100%;
    }

    .about-visual__image {
        aspect-ratio: 16 / 10;
    }
}

/* MÓVIL: MOSTRAR FOTOGRAFÍA COMPLETA */

@media (max-width: 767px) {
    .about-visual__picture {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        border-radius: 16px;
    }

    .about-visual__image {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;

        aspect-ratio: auto;
        object-fit: contain;
        object-position: center;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .about-visual__image {
        transition: none;
    }
}
/* ============================================================
   FASE 05.09 — CTA FINAL
   ============================================================ */

.final-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: clamp(5rem, 9vw, 8rem) 0;

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(201, 164, 76, 0.13),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #111111 0%,
            #1c1a16 55%,
            #111111 100%
        );

    color: #ffffff;
}

.final-cta__container {
    position: relative;
    z-index: 1;
}

.final-cta__content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin-inline: auto;

    text-align: center;
}

.final-cta__eyebrow {
    display: inline-block;
    margin-bottom: 1.5rem;

    color: #e8ce85;

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.final-cta h2 {
    margin: 0 0 1.5rem;

    color: #ffffff;

    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.045em;

    text-wrap: balance;
}

.final-cta h2 span {
    display: block;
    color: #e8ce85;
}

.final-cta__content > p:not(.final-cta__note) {
    max-width: 650px;
    margin: 0 auto 2.5rem;

    color: #d2d2d2;

    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
}

.final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 1rem;
}

.final-cta__button,
.final-cta__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;
    padding: 1rem 2rem;

    border-radius: 12px;

    font-size: 1rem;
    font-weight: 750;
    text-decoration: none;

    transition:
        background-color 200ms ease,
        border-color 200ms ease,
        transform 200ms ease;
}

.final-cta__button {
    gap: 1rem;

    border: 1px solid #e8ce85;

    background: linear-gradient(
        135deg,
        #b58b33,
        #e8ce85
    );

    color: #111111;
}

.final-cta__button:hover {
    transform: translateY(-2px);
    background: #f1dc9f;
}

.final-cta__secondary {
    border: 1px solid rgba(232, 206, 133, 0.6);

    background: transparent;
    color: #f1dc9f;
}

.final-cta__secondary:hover {
    background: rgba(232, 206, 133, 0.1);
    border-color: #e8ce85;
}

.final-cta__button:focus-visible,
.final-cta__secondary:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.final-cta__button.is-disabled,
.final-cta__button[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* Texto informativo del CTA final */
.final-cta__note {
    width: 100%;
    margin: 1.5rem auto 0;
    color: #c8c8c8;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}
/* Decoración */

.final-cta__decoration {
    position: absolute;
    inset: 0;
    z-index: -1;

    overflow: hidden;
    pointer-events: none;
}

.final-cta__circle {
    position: absolute;
    display: block;

    border: 1px solid rgba(201, 164, 76, 0.13);
    border-radius: 50%;
}

.final-cta__circle--one {
    width: 420px;
    height: 420px;

    right: -170px;
    top: -190px;
}

.final-cta__circle--two {
    width: 620px;
    height: 620px;

    right: -260px;
    top: -290px;
}

.final-cta__circle--three {
    width: 820px;
    height: 820px;

    right: -360px;
    top: -390px;
}

@media (max-width: 767px) {

    .final-cta {
        padding: 4.5rem 0;
    }

    .final-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta__button,
    .final-cta__secondary {
        width: 100%;
    }

    .final-cta__circle {
        opacity: 0.45;
    }

}

@media (prefers-reduced-motion: reduce) {

    .final-cta__button,
    .final-cta__secondary {
        transition: none;
    }

}

/* ============================================================
   FASE 05.09 — FOOTER CORPORATIVO
   ============================================================ */

.site-footer {
    padding: 5rem 0 0;

    background: #101010;
    color: #d2d2d2;

    border-top: 1px solid rgba(201, 164, 76, 0.3);
}

.site-footer__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        repeat(3, minmax(0, 1fr));

    gap: clamp(2rem, 4vw, 4rem);

    padding-bottom: 4rem;
}

.site-footer__brand,
.site-footer__column {
    min-width: 0;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 1.5rem;
}

.site-footer__logo img {
    display: block;

    width: 140px;
    height: auto;
}

.site-footer__brand p {
    max-width: 340px;

    margin: 0;

    color: #c3c3c3;

    font-size: 0.95rem;
    line-height: 1.85;
}

.site-footer__column h2 {
    margin: 0 0 1.5rem;

    color: #e8ce85;

    font-size: 1rem;
    font-weight: 800;
}

.site-footer__column ul,
.site-footer__legal {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer__column li + li {
    margin-top: 0.85rem;
}

.site-footer__column a,
.site-footer__legal a {
    color: #d2d2d2;
    text-decoration: none;

    line-height: 1.6;

    transition: color 200ms ease;
}

.site-footer__column a:hover,
.site-footer__legal a:hover {
    color: #e8ce85;
}

.site-footer__column a:focus-visible,
.site-footer__legal a:focus-visible,
.site-footer__logo:focus-visible {
    outline: 2px solid #e8ce85;
    outline-offset: 5px;
}

.site-footer__column > p {
    margin: 0 0 1.25rem;

    color: #c3c3c3;
    line-height: 1.8;
}

.site-footer__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;

    font-weight: 750;
}

/* Franja inferior */

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 1.5rem;

    padding: 1.75rem 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__copyright {
    margin: 0;

    color: #a8a8a8;

    font-size: 0.875rem;
    line-height: 1.6;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;

    gap: 1rem 1.5rem;
}

.site-footer__legal a {
    font-size: 0.875rem;
}

/* Tablet */

@media (max-width: 1023px) {

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }

}

/* Móvil */

@media (max-width: 767px) {

    .site-footer {
        padding-top: 3.5rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;

        padding-bottom: 3rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__legal {
        flex-direction: column;
        gap: 0.85rem;
    }

}

@media (prefers-reduced-motion: reduce) {

    .site-footer__column a,
    .site-footer__legal a {
        transition: none;
    }

}

/* =========================================
   ROBERT VARÓN
   HEADER CTA — REFINAMIENTO
========================================= */

.header-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  min-height: 52px;
  padding: 0.85rem 1.5rem;

  border: 1px solid #c9a44c;
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    #b38b34 0%,
    #e8cf85 52%,
    #ad862e 100%
  );

  color: #111111;

  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  white-space: nowrap;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.header-cta:hover:not(.is-disabled) {
  transform: translateY(-2px);

  box-shadow:
    0 8px 24px rgba(201, 164, 76, 0.22);

  filter: brightness(1.06);
}

.header-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.header-cta.is-disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 1023px) {

  .header-container {
    gap: 1rem;
  }

  .header-cta {
    min-height: 44px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

}

@media (max-width: 575px) {

  .header-cta {
    display: none;
  }

}

@media (prefers-reduced-motion: reduce) {

  .header-cta {
    transition: none;
  }

}
/* =====================================================
   ROBERT VARÓN
   CORRECCIÓN DEFINITIVA - LOGO POPUP DE RESEÑAS
   ===================================================== */

.rv-review-brand {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    display: flex !important;
    width: 100% !important;
    max-width: none !important;

    justify-content: center !important;
    align-items: center !important;

    margin: 0 auto 12px !important;
    padding: 0 !important;
}

.rv-review-brand img {
    display: block !important;

    width: 110px !important;
    height: 110px !important;

    object-fit: contain !important;
    margin: 0 auto !important;

    filter: drop-shadow(
        0 4px 12px rgba(218, 175, 55, 0.25)
    );
}

@media (max-width: 480px) {
    .rv-review-brand img {
        width: 85px !important;
        height: 85px !important;
    }
}