/* style.css - Goto Restoration: Health & Restoration Hybrid Edition (RESPONSIVE FIX) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Azul = autoridad / estructura */
    --primary: #1f3aa8;
    --primary-light: #3a57d6;
    --primary-soft: #eef4ff;

    /* Verde = salud / éxito / acción */
    --health-dark: #166534;
    --health-main: #22c55e;
    --health-soft: #ecfdf3;

    /* Acento teal para transiciones azul→verde */
    --teal: #14b8a6;
    --teal-soft: #e6fffb;

    /* Gradients (azul→teal) para transiciones suaves */
    --grad-authority: radial-gradient(1200px circle at 20% 0%, rgba(31, 58, 168, 0.14) 0%, rgba(20, 184, 166, 0.10) 38%, rgba(255, 255, 255, 1) 72%);
    --grad-authority-vertical: linear-gradient(180deg, rgba(31, 58, 168, 0.10) 0%, rgba(20, 184, 166, 0.08) 45%, rgba(255, 255, 255, 1) 100%);

    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;

    --radius: 24px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

* {
    background-size: cover;
    background-position: center;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Contenido principal: aire lateral fijo para que el texto no roce el borde del dispositivo */
main {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
    overflow-x: hidden;
}

main img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================
   ANIMACIONES
   ===================== */
.reveal,
.reveal-left {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal.active,
.reveal-left.active {
    opacity: 1;
    transform: translate(0);
}

/* =====================
   HEADER / NAV
   ===================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    /* Centra el logo verticalmente */
    flex-shrink: 0;
    /* Evita que el logo se aplaste si el menú crece */
    z-index: 2100;
    min-width: 150px;
    /* Asegura un espacio mínimo para que sea legible */
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 55px;
    /* Ajusta este valor según el diseño */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    /* Opcional: para un efecto al pasar el mouse */
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-cta {
    flex-shrink: 0;
}

/* Hamburger button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 2100;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Overlay for mobile nav */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1500;
    backdrop-filter: blur(2px);
}

.nav-overlay.active {
    display: block;
}

/* =====================
   BOTONES
   ===================== */
.btn-primary {
    background: var(--health-main);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 60, 173, 0.1);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--health-dark);
}

/* =====================
   BADGE
   ===================== */
.badge {
    display: inline-block;
}

.badge-health {
    background: var(--health-soft);
    color: var(--health-dark);
    border: 1px solid rgba(34, 197, 94, 0.45);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1;
    letter-spacing: 0.5px;
}

.section-authority {
    background: var(--grad-authority);
}

.section-authority-vertical {
    background: var(--grad-authority-vertical);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(31, 58, 168, 0.35);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(31, 58, 168, 0.06);
}

.btn-dark {
    background: var(--text-dark);
    border: 2px solid var(--text-dark);
    box-shadow: none;
}

/* Botón sobre fondo oscuro (hero banners) */
.btn-ghost-on-dark {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    box-shadow: none;
}

.btn-ghost-on-dark:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Badge azul (autoridad) */
.badge-authority {
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Banners CTA */
.cta-banner-dark {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1e293b 100%);
    color: var(--white);
    padding: 70px 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15);
    border-left: 8px solid var(--health-main);
}

.cta-banner-authority {
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    color: var(--white);
    padding: 80px 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 30px 60px rgba(31, 58, 168, 0.18);
}

@media (max-width: 768px) {
    .cta-banner-dark {
        padding: 40px 30px;
    }
}

/* =====================
   STATS SECTION
   ===================== */
.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 100px 5%;
    background: var(--bg-light);
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    flex-shrink: 0;
}

.stats-text h2 {
    font-size: 3rem;
    color: var(--health-dark);
}

/* =====================
   SYMPTOMS SECTION
   ===================== */
.symptoms-container {
    display: grid;
    grid-template-columns: 1fr min(350px, 100%);
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.symptoms-container>* {
    min-width: 0;
    max-width: 100%;
}

.chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.symptoms-desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.symptoms-mobile-trigger {
    display: none;
}

.symptom-chip {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #e2e8f0;
    outline: none;
    padding: 14px 24px;
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    text-align: center;
}

.symptom-chip:hover {
    border-color: var(--primary);
    background: var(--white);
}

.symptom-chip.selected {
    background: var(--health-soft);
    color: var(--health-dark);
    border-color: rgba(34, 197, 94, 0.55);
    transform: scale(1.02);
}

.symptom-trigger {
    width: 100%;
    max-width: 360px;
}

.symptoms-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.symptoms-modal.open {
    display: flex;
}

.symptoms-modal-dialog {
    width: min(920px, 96vw);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
}

.symptoms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.symptoms-modal-header h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--primary);
}

.symptoms-modal-close {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--text-dark);
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
}

.symptoms-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.symptoms-modal-grid .symptom-chip {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
}

.symptoms-modal-grid .symptom-chip.selected::after {
    content: "  \2713";
    font-weight: 800;
}

/* Certificaciones: acento verde (seguridad biológica) */
.features-grid .card {
    border-top: 4px solid var(--health-main);
}

.symptoms-modal-done {
    margin-top: 18px;
    width: 100%;
}

/* =====================
   STATUS CARD
   ===================== */
.status-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 120px;
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.status-card.active-risk {
    background: var(--health-soft);
    border-color: var(--health-main);
}

.risk-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--health-dark);
    line-height: 1;
    margin-bottom: 5px;
}

/* =====================
   BENTO GRID
   ===================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Subrejilla dentro de tarjetas (ej. Containment / Air Scrubbing) */
.card-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
}

/* Bloque de certificaciones / iconos */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* El primer card ocupa 2 columnas solo en desktop */
.bento-grid>.card:first-child {
    grid-column: span 2;
}

/* =====================
   CARDS
   ===================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    border: 1px solid #f1f5f9;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* =====================
   RESPONSIVE — TABLET (≤ 1024px)
   ===================== */
@media (max-width: 1024px) {
    .logo img {
        height: 48px;
    }

    .bento-grid>.card:first-child {
        grid-column: span 1;
    }

    .symptoms-container {
        grid-template-columns: 1fr;
    }

    .symptoms-container>.chips-wrapper,
    .symptoms-container>.status-card {
        width: 100%;
        max-width: 100%;
    }

    .status-card {
        position: static;
    }
}

/* =====================
   RESPONSIVE — MOBILE (≤ 768px)
   ===================== */
@media (max-width: 768px) {
    nav {
        padding: 0 4%;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        height: 42px;
    }

    /* --- NAV MOBILE --- */
    .menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
        margin-left: auto;
        padding: 8px 12px;
        font-size: 0.78rem;
        border-radius: 10px;
        box-shadow: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 80vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 100px 0 40px;
        box-shadow: -10px 0 40px rgba(15, 23, 42, 0.1);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 2000;
        overflow-y: auto;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links a {
        display: block;
        padding: 18px 30px;
        font-size: 1.1rem;
    }

    /* Hamburger → X cuando está abierto */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* --- HERO BUTTONS --- */
    .btn-primary {
        padding: 14px 24px;
        font-size: 0.95rem;
        white-space: normal;
        max-width: 100%;
    }

    /* --- STATS SECTION --- */
    .stats-container {
        flex-direction: column;
        gap: 30px;
        padding: 60px 5%;
        text-align: center;
    }

    .stats-text h2 {
        font-size: 2.2rem;
    }

    /* --- SYMPTOMS: grilla compacta, contador debajo --- */
    .symptoms-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
    }

    .symptoms-container>.chips-wrapper {
        order: 1;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .symptoms-desktop-grid {
        display: none;
    }

    .symptoms-mobile-trigger {
        display: inline-flex;
    }

    .symptoms-container>.status-card {
        order: 2;
        width: 100%;
        max-width: 100%;
    }

    .symptoms-container .symptom-chip {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 10px 12px;
        font-size: 0.82rem;
        line-height: 1.25;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .symptom-trigger {
        max-width: 100%;
    }

    /* Modal tipo drawer / pantalla completa para pulgar */
    .symptoms-modal {
        padding: 0;
        align-items: flex-end;
        justify-content: center;
    }

    .symptoms-modal-dialog {
        width: 100%;
        height: 92vh;
        max-height: 92vh;
        padding: 18px;
        border-radius: 18px 18px 0 0;
    }

    .symptoms-modal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .symptoms-modal-grid .symptom-chip {
        padding: 10px 8px;
        font-size: 0.8rem;
        line-height: 1.2;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .status-card {
        position: static;
    }

    /* --- BENTO GRID --- */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid>.card:first-child {
        grid-column: span 1;
    }

    /* --- REMEDIATION steps: quitar order en mobile --- */
    .reveal [style*="order: 2"] {
        order: unset !important;
    }

    .reveal [style*="order: 1"] {
        order: unset !important;
    }

    /* --- WATER DAMAGE CTA banner --- */
    .reveal[style*="display: flex"][style*="align-items: center"][style*="justify-content: space-between"] {
        flex-direction: column;
        padding: 40px 30px !important;
    }

    /* --- CONTACT grid: ya usa auto-fit, se apila solo --- */
}

/* =====================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ===================== */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(5, 20px);
        gap: 6px;
    }

    .stats-grid .stat-box {
        width: 20px !important;
        height: 20px !important;
    }

    .status-card {
        padding: 25px 20px;
    }

    .risk-number {
        font-size: 3.5rem;
    }

    /* Botones hero apilados */
    section>div>div[style*="display: flex"][style*="justify-content: center"] {
        flex-direction: column;
        align-items: center;
    }

    .card {
        padding: 20px 15px;
    }

    .symptoms-modal-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   BEFORE / AFTER IMAGE FIXES
   ===================== */
/* Base styles for before/after containers are around line 960 */
@media (min-width: 769px) {
    div[style*="height: 250px"][style*="position: relative"] {
        height: 350px !important; /* Increase height for iPad and PC */
    }
}

@media (min-width: 1200px) {
    div[style*="height: 250px"][style*="position: relative"] {
        height: 450px !important; /* Even larger for desktop */
    }
}

/* =====================
   SERVICES ICONS WRAPPER
   ===================== */
.services-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.service-icon-box {
    text-align: center;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-icon-box img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-icon-box:hover img {
    transform: translateY(-5px);
}

.service-icon-box p {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin: 0;
}

/* =====================
   SERVICES PAGE CARDS
   ===================== */
.card-service-authority {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.card-service-authority img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .services-icons-wrapper {
        gap: 15px;
    }
    .service-icon-box {
        width: 110px;
        padding: 15px 10px;
    }
    .service-icon-box img {
        width: 80px;
        height: 80px;
    }
}

/* =====================
   SERVICES PAGE HERO & BEFORE/AFTER IMAGES
   ===================== */
main .container-authority .reveal:not(.card)[style*="border-radius: 24px"],
main .container-authority .reveal-left:not(.card)[style*="border-radius: 24px"],
main .container-authority .reveal-right:not(.card)[style*="border-radius: 24px"] {
    overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
    height: 400px !important;
}

main .container-authority .reveal:not(.card)[style*="border-radius: 24px"] img,
main .container-authority .reveal-left:not(.card)[style*="border-radius: 24px"] img,
main .container-authority .reveal-right:not(.card)[style*="border-radius: 24px"] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

main .container-authority .reveal:not(.card)[style*="border-radius: 24px"] p,
main .container-authority .reveal-left:not(.card)[style*="border-radius: 24px"] p,
main .container-authority .reveal-right:not(.card)[style*="border-radius: 24px"] p {
    display: none !important;
}

div[style*="height: 250px"][style*="position: relative"] {
    overflow: hidden !important;
    border-radius: 12px; /* Smoother inner corners */
}

div[style*="height: 250px"][style*="position: relative"] > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease;
}

div[style*="height: 250px"][style*="position: relative"]:hover > img {
    transform: scale(1.05);
}

/* =====================
   MAIN FOOTER
   ===================== */
.main-footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 80px 5% 40px;
    border-top: 4px solid var(--health-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--health-main);
    border-radius: 2px;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--health-main);
    transform: translateX(5px);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col.brand-col img {
    max-width: 200px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-col.brand-col img:hover {
    transform: scale(1.05);
}

.footer-contact-info {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col.brand-col a.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--health-main);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.footer-col.brand-col a.contact-item:hover {
    color: var(--white);
    transform: translateX(8px);
}

.footer-col.brand-col a.contact-item:hover .icon-box {
    background: var(--health-main);
    color: var(--white);
    border-color: var(--health-main);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
    transform: scale(1.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: var(--white);
    transform: none;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col.brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-col.brand-col {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

/* =====================
   DEVELOPER SIGNATURE
   ===================== */
.signature-link {
    font-weight: 800;
    color: #84cc16; /* Apple green */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0 2px;
}

.signature-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #84cc16;
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.signature-link:hover {
    color: #a3e635; /* Brighter neon green */
    text-shadow: 0 0 12px rgba(163, 230, 53, 0.6);
    transform: translateY(-2px);
}

.signature-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}