        :root {
            --primary-red: #c00000;
            --primary-red-light: #e02020;
            --bg-light: #f5f5f5;
            --text-dark: #222;
            --max-width: 1100px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            color: var(--text-dark);
            background: #ffffff;
        }

        .page-wrapper {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ---------- HEADER + HERO ---------- */

        .hero {
            position: relative;
            min-height: 65vh;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: left;
            background-image: url('../img/hero-office.jpg'); /* REEMPLAZAR POR TU IMAGEN */
            background-size: cover;
            background-position: center;
        }




/* Asegura que los enlaces dentro del hero sean blancos */
.hero a:link,
.hero a:visited {
  color: white;
  text-decoration: underline; /* opcional: subrayado para accesibilidad */
}

.hero a:hover {
  color: gray;
}

.hero a:active {
  color: lightgray;
}




        .hero-inner {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: var(--max-width);
            padding: 7rem 1.5rem 5rem;
        }

        .top-bar {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            padding: 1rem 1.5rem;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(6px);
            z-index: 3;
        }

        .top-bar-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .top-logo {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .top-logo img {
            height: 60px;
            width: auto;
            display: block;
        }

        .top-center {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            text-align: center;
        }

        .top-center img {
            height: 60px;
            width: auto;
        }

        /* ---------- HERO CONTENT ---------- */

        .hero-content {
            max-width: 480px;
        }

        .hero-badge {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            font-size: 0.75rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.25);
            margin-bottom: 1rem;
        }

        .hero-title {
            font-size: clamp(1.9rem, 3vw, 2.4rem);
            margin: 0 0 0.5rem;
        }

        .hero-subtitle {
            font-size: 0.95rem;
            max-width: 420px;
            margin: 0 0 1rem;
            opacity: 0.9;
            color: white;
        }

        .hero-social-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            opacity: 0.9;
            margin-top: 1.2rem;
            margin-bottom: 0.4rem;
        }

        .hero-social {
            display: flex;
            gap: 0.5rem;
        }

        .hero-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.35);
            text-decoration: none;
            font-size: 0.9rem;
            color: #fff;
        }

        /* ---------- CONTACT SECTION ---------- */

        .contact-section {
            background: var(--bg-light);
            padding: 3rem 1.5rem 3.5rem;
        }

        .contact-inner {
            max-width: var(--max-width);
            margin: -3rem auto 0; /* para que “suba” un poco sobre el hero */
        }

        .contact-card {
            background: #ffffff;
            border-radius: 1rem;
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
            padding: 2rem 1.5rem;
        }

        .contact-header {
            margin-bottom: 1.5rem;
        }

        .contact-header h2 {
            margin: 0 0 0.3rem;
            font-size: 1.3rem;
        }

        .contact-header p {
            margin: 0;
            font-size: 0.9rem;
            color: #666;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 1.5rem;
        }

        .contact-info {
            font-size: 0.9rem;
            color: #555;
        }

        .contact-info strong {
            color: var(--text-dark);
        }

        .contact-info p {
            margin: 0 0 0.4rem;
        }

        .contact-info .highlight {
            margin-top: 0.8rem;
            padding: 0.7rem 0.8rem;
            border-left: 3px solid var(--primary-red);
            background: #fff4f4;
            border-radius: 0.4rem;
            font-size: 0.85rem;
        }

        /* ---------- FORM ---------- */

        form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            font-size: 0.9rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }

        label {
            font-size: 0.85rem;
            font-weight: 500;
        }

        input[type="text"],
        input[type="email"],
        textarea {
            border: 1px solid #d0d0d0;
            border-radius: 0.55rem;
            padding: 0.55rem 0.7rem;
            font-family: inherit;
            font-size: 0.9rem;
            transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        textarea:focus {
            outline: none;
            border-color: var(--primary-red);
            box-shadow: 0 0 0 2px rgba(192, 0, 0, 0.15);
            background-color: #fff;
        }

        textarea {
            min-height: 5rem;
            resize: vertical;
        }

        .form-footer {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            align-items: flex-start;
        }

        .btn-submit {
            border: none;
            border-radius: 999px;
            padding: 0.6rem 1.6rem;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            background: var(--primary-red);
            color: #fff;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.15s, transform 0.1s, box-shadow 0.15s;
            box-shadow: 0 10px 25px rgba(192, 0, 0, 0.4);
        }

        .btn-submit:hover {
            background: var(--primary-red-light);
        }

        .btn-submit:active {
            transform: translateY(1px);
            box-shadow: 0 6px 16px rgba(192, 0, 0, 0.35);
        }

        .btn-submit:focus-visible {
            outline: 2px solid #fff;
            outline-offset: 2px;
        }

        .small-text {
            font-size: 0.8rem;
            color: #777;
        }

        /* Honeypot (campo invisible para humanos) */
        .honeypot {
            display: none;
        }

        /* ---------- MENSAJES ---------- */

        .alert {
            border-radius: 0.7rem;
            padding: 0.9rem 1rem;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }

        .alert-success {
            background: #e6f8ea;
            border: 1px solid #7bc78d;
            color: #216331;
        }

        .alert-error {
            background: #ffecec;
            border: 1px solid #f3a4a4;
            color: #851515;
        }

        .alert-error ul {
            margin: 0.3rem 0 0;
            padding-left: 1.1rem;
        }

        /* ---------- RESPONSIVE ---------- */

        @media (max-width: 768px) {
            .hero {
                background-image: url('../img/hero-movil.jpg');
            }

            .top-bar-inner {
                display: grid;
                grid-template-columns: 1fr 1fr;
                grid-template-areas:
                    "center center"
                    "left   right";
                gap: 0.75rem;
                align-items: center;
                padding-top: 0.5rem; /* Añadir espacio superior */
            }

            .top-bar-inner > div:first-child { /* Left logo */
                grid-area: left;
                justify-self: end;
            }

            .top-center {
                grid-area: center;
                justify-self: center;
            }

            .top-bar-inner > div:last-child { /* Right logo */
                grid-area: right;
                justify-self: start;
            }

            .top-logo img {
                max-height: 40px;
            }

            .top-center img {
                height: 48px; /* Un poco más grande para destacar */
            }

            .hero-inner {
                padding-top: 6rem;
                padding-bottom: 3rem;
            }

            .hero-content {
                max-width: 100%;
            }

            .contact-inner {
                margin-top: -2rem;
            }

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

            .form-row {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 1.6rem;
            }

            .top-bar {
                padding-inline: 1rem;
            }
        }
        
    