/* ================================================================
   APIS ARCANUM — Premium Landing Page — Neural Network Edition
   ================================================================ */

/* ===== VARIABLES ===== */
:root {
    --gold: #D4A843;
    --gold-light: #E8C96A;
    --gold-dark: #B8912F;
    --gold-glow: rgba(212, 168, 67, 0.4);
    --navy: #1A1A2E;
    --navy-deep: #0D1120;
    --navy-abyss: #080B15;
    --cream: #FAF8F5;
    --cream-dark: #F0EBE3;
    --text-dark: #2D2D2D;
    --text-muted: #8B8FA3;
    --text-light: #E8E4DC;
    --error: #EF4444;
    --success: #22C55E;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1200px;
    --section-py: 120px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.35s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--navy-abyss);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }

/* ===== GRAIN OVERLAY ===== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== NEURAL NETWORK CANVAS ===== */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header { text-align: center; margin-bottom: 72px; }

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: 100px;
    background: rgba(212, 168, 67, 0.05);
}

.section-tag--dark {
    color: var(--gold-dark);
    border-color: rgba(184, 145, 47, 0.3);
    background: rgba(184, 145, 47, 0.08);
}

.section-title {
    font-size: 3rem;
    color: var(--cream);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-title--light { color: var(--gold); }
.section-title--dark { color: var(--navy); }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.section-subtitle--dark { color: #6B7280; }
.required { color: var(--error); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy-abyss);
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(232, 228, 220, 0.2);
    padding: 15px 35px;
}

.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 67, 0.05);
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn__arrow { transition: transform var(--transition); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(8, 11, 21, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.08);
}

.header__inner { display: flex; align-items: center; justify-content: space-between; }

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.header__logo-hex { color: var(--gold); }

.header__nav { display: flex; align-items: center; gap: 36px; }

.header__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    transition: color var(--transition);
}

.header__link:hover { color: var(--cream); }

.header__link--cta {
    background: rgba(212, 168, 67, 0.1);
    color: var(--gold);
    padding: 8px 22px;
    border-radius: 6px;
    border: 1px solid rgba(212, 168, 67, 0.2);
}

.header__link--cta:hover {
    background: rgba(212, 168, 67, 0.2);
    border-color: rgba(212, 168, 67, 0.4);
    color: var(--gold-light);
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.header__hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--text-light);
    transition: all var(--transition);
}

.header__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Transparent — canvas shows through from behind */
}

.hero__gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.hero__gradient-orb--1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.07) 0%, transparent 70%);
    animation: orb-float 12s ease-in-out infinite;
}

.hero__gradient-orb--2 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
    animation: orb-float 15s ease-in-out infinite reverse;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 15px); }
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 140px 24px 100px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding: 8px 20px;
    border: 1px solid rgba(232, 228, 220, 0.1);
    border-radius: 100px;
    background: rgba(232, 228, 220, 0.03);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--gold-glow); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

.hero__title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
    color: var(--cream);
}

.hero__title-accent {
    display: block;
    background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 40%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__cta { padding: 18px 44px; font-size: 1rem; }

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero__scroll-indicator span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.5;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SERVICIOS ===== */
.servicios {
    position: relative;
    z-index: 1;
    padding: var(--section-py) 0;
    /* Semi-transparent to show network beneath */
    background: rgba(13, 17, 32, 0.25);
}

.servicios__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
}

.servicio-card {
    position: relative;
    padding: 44px 36px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s var(--ease);
    overflow: hidden;
    z-index: 2;
    text-align: center;
}

/* Gradient border on hover */
.servicio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.4) 0%, transparent 50%, rgba(232, 185, 75, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.servicio-card:hover::before { opacity: 1; }

.servicio-card:hover {
    background: rgba(212, 168, 67, 0.03);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 168, 67, 0.05);
}

.servicio-card__number {
    display: none;
}

.servicio-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: var(--gold);
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.12);
    border-radius: 16px;
    transition: all var(--transition);
}

.servicio-card__icon svg {
    width: 40px;
    height: 40px;
}

.servicio-card:hover .servicio-card__icon {
    background: rgba(212, 168, 67, 0.12);
    border-color: rgba(212, 168, 67, 0.25);
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.15);
}

.servicio-card__title {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 14px;
    line-height: 1.3;
}

.servicio-card__desc {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.9rem;
}

/* ===== SOBRE NOSOTROS ===== */
.sobre {
    position: relative;
    z-index: 1;
    padding: var(--section-py) 0;
    background: rgba(26, 26, 46, 0.35);
}

.sobre__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre__text .section-tag { margin-bottom: 16px; }
.sobre__text .section-title { margin-bottom: 32px; }

.sobre__text p {
    color: rgba(232, 228, 220, 0.7);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.sobre__text p:last-child { margin-bottom: 0; }

.sobre__highlight {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sobre__quote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--cream);
    line-height: 1.25;
    position: relative;
    padding: 32px;
    background: rgba(212, 168, 67, 0.04);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 16px;
}

.sobre__quote-mark { color: var(--gold); opacity: 0.5; }

.sobre__values { display: flex; flex-direction: column; gap: 12px; }

.sobre__value {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 10px;
    background: rgba(212, 168, 67, 0.02);
    transition: all var(--transition);
}

.sobre__value:hover {
    border-color: rgba(212, 168, 67, 0.25);
    background: rgba(212, 168, 67, 0.06);
    transform: translateX(4px);
}

.sobre__value-icon { color: var(--gold); flex-shrink: 0; opacity: 0.7; }

.sobre__value-label {
    font-weight: 600;
    color: var(--cream);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* ===== CONTACTO ===== */
.contacto {
    position: relative;
    z-index: 2;
    padding: var(--section-py) 0;
    background: var(--cream);
}

.contacto::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    pointer-events: none;
}

.contacto__form {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-group { margin-bottom: 20px; }
.form-group--checkbox { margin-bottom: 28px; }

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder { color: #B0ADA6; }

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.12);
    background: #FFFFFF;
}

.form-input.error { border-color: var(--error); }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error {
    display: block;
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 6px;
    min-height: 18px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #6B7280;
}

.form-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--gold);
}

.form-checkbox-text a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-checkbox-text a:hover { color: var(--gold); }

.contacto__submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    justify-content: center;
    border-radius: 10px;
}

.form-feedback {
    margin-top: 16px;
    padding: 0;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    transition: all var(--transition);
}

.form-feedback.success {
    padding: 14px 16px;
    background: rgba(34, 197, 94, 0.08);
    color: #16A34A;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.form-feedback.error {
    padding: 14px 16px;
    background: rgba(239, 68, 68, 0.08);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 2;
    background-color: var(--navy-abyss);
    padding-top: 64px;
    border-top: 1px solid rgba(212, 168, 67, 0.06);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.footer__tagline { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; line-height: 1.6; opacity: 0.6; }

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    opacity: 0.5;
}

.footer__link { display: block; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 10px; transition: color var(--transition); }
.footer__link:hover { color: var(--gold); }
.footer__social { margin-top: 12px; }

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(232, 228, 220, 0.1);
    border-radius: 8px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer__social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 67, 0.08);
}

.footer__bottom { border-top: 1px solid rgba(232, 228, 220, 0.05); padding: 20px 0; }
.footer__bottom p { color: var(--text-muted); font-size: 0.75rem; text-align: center; opacity: 0.4; }

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-down"] { transform: translateY(-30px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-in"] { transform: none; }
[data-animate].visible { opacity: 1; transform: translate(0, 0); }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 120px 0 80px; background-color: var(--cream); min-height: 100vh; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: 2.2rem; color: var(--navy); margin-bottom: 12px; }
.legal-page .legal-updated { color: #6B7280; font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.4rem; color: var(--navy); margin-top: 36px; margin-bottom: 16px; }
.legal-page h3 { font-size: 1.1rem; color: var(--navy); margin-top: 24px; margin-bottom: 12px; }
.legal-page p { color: var(--text-dark); line-height: 1.7; margin-bottom: 16px; }
.legal-page ul, .legal-page ol { margin-bottom: 16px; padding-left: 24px; }
.legal-page li { color: var(--text-dark); line-height: 1.7; margin-bottom: 8px; list-style: disc; }
.legal-page ol li { list-style: decimal; }
.legal-page a { color: var(--gold-dark); text-decoration: underline; }
.legal-page a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root { --section-py: 100px; }
    .hero__title { font-size: 3rem; }
    .servicios__grid { gap: 20px; }
    .servicio-card { padding: 36px 28px; }
    .sobre__inner { gap: 48px; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    :root { --section-py: 80px; }
    .container { padding: 0 20px; }
    .header__hamburger { display: flex; }
    .header__nav {
        position: fixed; top: 0; right: -100%; width: 280px;
        height: 100vh; height: 100dvh;
        background: rgba(8, 11, 21, 0.97);
        backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
        flex-direction: column; align-items: flex-start;
        padding: 100px 32px 32px; gap: 20px;
        transition: right 0.4s var(--ease);
        border-left: 1px solid rgba(212, 168, 67, 0.08);
    }
    .header__nav.open { right: 0; }
    .header__link { font-size: 1.05rem; color: var(--text-light); }
    .header__link--cta { margin-top: 12px; }
    .hero__content { padding: 120px 20px 80px; }
    .hero__badge { font-size: 0.65rem; padding: 6px 14px; }
    .hero__title { font-size: 2.2rem; letter-spacing: -0.5px; }
    .hero__subtitle { font-size: 1rem; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__scroll-indicator { display: none; }
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 2.2rem; }
    .servicios__grid { grid-template-columns: 1fr; gap: 16px; }
    .servicio-card { padding: 32px 24px; }
    .sobre__inner { grid-template-columns: 1fr; gap: 48px; }
    .sobre__quote { font-size: 1.6rem; padding: 24px; }
    .contacto__form { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contacto::before { height: 50px; top: -50px; }
    .footer__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer__logo { justify-content: center; }
    .footer__social { justify-content: center; display: flex; }
}

@media (max-width: 380px) {
    .hero__title { font-size: 1.85rem; }
    .section-title { font-size: 1.9rem; }
    .contacto__form { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    [data-animate] { opacity: 1 !important; transform: none !important; }
}
