/* public/contacto.php · bloque 1 · movido fuera del HTML el 2026-09-24 (punto 4: style-src sin 'unsafe-inline') */
        :root {
            --gold: #f6d46b;
            --gold-dark: #b48a3a;
            --dark: #050304;
            --dark-card: #1a1716;
            --white: #ffffff;
            --text-dim: rgba(255, 255, 255, 0.7);
            --glass-bg: rgba(10, 8, 6, 0.85);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html, body {
            min-height: 100%;
            scroll-behavior: smooth;
        }

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

        .pe-root {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: url('../../../public/assets/img/hero-bg.webp') center/cover no-repeat fixed;
        }

        .pe-root::before {
            content: '';
            position: fixed;
            inset: 0;
            background:
                radial-gradient(ellipse at top, rgba(246, 212, 107, 0.03), transparent 55%),
                linear-gradient(135deg, rgba(5, 3, 4, 0.65), rgba(26, 23, 22, 0.6));
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            pointer-events: none;
            z-index: 0;
        }

        /* HEADER */
        .pe-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            background: linear-gradient(180deg, rgba(5, 3, 4, 0.95), rgba(5, 3, 4, 0.85));
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(246, 212, 107, 0.2);
        }

        .pe-header-inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }

        .pe-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--gold);
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .pe-logo-img {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 2px solid var(--gold);
        }

        .pe-nav {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .pe-nav-link {
            padding: 8px 16px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-dim);
            transition: all 0.3s;
        }

        .pe-nav-link:hover { color: var(--gold); }

        .pe-btn-outline {
            color: var(--gold);
            border: 1px solid var(--gold);
        }

        .pe-btn-gold {
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            color: var(--dark);
        }

        /* LANGUAGE SWITCHER - DEBAJO DEL HEADER */
        .lang-switcher {
            position: fixed;
            top: 75px;
            right: 20px;
            z-index: 9998;
            display: flex;
            gap: 6px;
            background: rgba(26, 23, 22, 0.98);
            backdrop-filter: blur(20px) saturate(180%);
            padding: 8px 12px;
            border-radius: 50px;
            border: 2px solid rgba(246, 212, 107, 0.4);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        }

        .lang-switcher a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 13px;
            padding: 6px 12px;
            border-radius: 25px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 5px;
            letter-spacing: 0.5px;
        }

        .lang-switcher a.active {
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            color: var(--dark);
            box-shadow: 0 4px 15px rgba(246, 212, 107, 0.5);
        }

        /* CONTENT */
        .main-content {
            position: relative;
            z-index: 1;
            flex: 1;
            padding-top: 90px;
            padding-bottom: 40px;
        }

        .hero {
            text-align: center;
            padding: 60px 20px;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 3rem);
            color: var(--white);
            letter-spacing: 0.1em;
            margin-bottom: 10px;
        }

        .hero p {
            color: var(--gold);
            font-size: 1.1rem;
        }

        /* FORM */
        .form-container {
            max-width: 600px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .form-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(246, 212, 107, 0.3);
            border-radius: 20px;
            padding: 40px;
        }

        .form-card h2 {
            font-family: 'Playfair Display', serif;
            color: var(--gold);
            text-align: center;
            margin-bottom: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            color: var(--gold);
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 14px 18px;
            background: rgba(26, 23, 22, 0.8);
            border: 1px solid rgba(246, 212, 107, 0.3);
            border-radius: 10px;
            color: var(--white);
            font-size: 1rem;
            font-family: inherit;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--gold);
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--gold), var(--gold-dark));
            border: none;
            border-radius: 10px;
            color: var(--dark);
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(246, 212, 107, 0.4);
        }

        .alert {
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
        }

        .alert-success {
            background: rgba(0, 200, 100, 0.2);
            border: 1px solid rgba(0, 200, 100, 0.5);
            color: #00ff88;
        }

        .alert-error {
            background: rgba(255, 0, 0, 0.2);
            border: 1px solid rgba(255, 0, 0, 0.5);
            color: #ff6666;
        }

        .direct-contact {
            text-align: center;
            margin-top: 30px;
            color: var(--text-dim);
        }

        .direct-contact a {
            color: var(--gold);
        }

        /* FOOTER */
        .seo-footer {
            position: relative;
            z-index: 10;
            padding: 40px 20px 30px;
            background: transparent;
            border-top: 1px solid rgba(246, 212, 107, 0.3);
            text-align: center;
        }

        .seo-footer h3 {
            font-family: 'Playfair Display', serif;
            color: var(--gold);
            font-size: 1.3rem;
            margin-bottom: 15px;
        }

        .seo-footer > p {
            color: var(--text-dim);
            font-size: 0.9rem;
            max-width: 700px;
            margin: 0 auto 25px;
        }

        .copyright-text {
            color: var(--text-dim);
            font-size: 0.9rem;
            margin: 20px 0;
        }

        @media (max-width: 768px) {
            .pe-header-inner { flex-wrap: wrap; }
            .pe-logo-text { display: none; }
            .pe-nav { order: 3; width: 100%; justify-content: center; margin-top: 10px; }
            .form-card { padding: 25px; }
        }

        /* SEO HIDDEN - Solo para motores de búsqueda */
    

/* C-417 (LA COLA 622): el TARRO de los antirrobots (un campo que solo rellena un robot: fuera de la vista y del foco, sin display:none,
   que algunos robots detectan) y el contador de caracteres del mensaje (500) */
.pe-tarro { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pe-contador { display: block; margin-top: 6px; text-align: right; font-size: 0.8rem; color: #b4b4bb; }
