/* ============================================
   WINTER IMPORTACIONES — SHARED PAGE STYLES
   For: /contacto, /sobre-nosotros, /preguntas-frecuentes
   ============================================ */

:root {
    --bg-primary: #060B18;
    --bg-secondary: #0B1426;
    --bg-tertiary: #101D33;
    --bg-card: rgba(16, 29, 51, 0.6);
    --bg-card-hover: rgba(22, 38, 66, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(0, 194, 255, 0.2);

    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --accent: #00C2FF;
    --accent-dark: #0090CC;
    --warm: #F59E0B;
    --green: #10B981;

    --gradient-accent: linear-gradient(135deg, #00C2FF 0%, #0066FF 100%);
    --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(0, 194, 255, 0.06) 0%, transparent 60%),
                     radial-gradient(ellipse at 80% 20%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --nav-height: 72px;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #F1F5F9;
    --bg-tertiary: #E2E8F0;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 40, 100, 0.08);
    --glass-border-hover: rgba(0, 102, 204, 0.2);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-height);
    background: rgba(6, 11, 24, 0.7);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition-base);
}
[data-theme="light"] .navbar { background: rgba(248, 250, 252, 0.85); }
.navbar.scrolled { background: rgba(6, 11, 24, 0.92); }
[data-theme="light"] .navbar.scrolled { background: rgba(248, 250, 252, 0.96); }

.navbar .container {
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
    color: var(--text-primary);
}
.nav-logo img { height: 36px; width: auto; }
.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: inline-block; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    color: var(--text-secondary); font-size: 0.95rem; font-weight: 500;
    transition: color var(--transition-base);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gradient-accent); color: #fff !important;
    padding: 10px 18px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.92rem;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.25);
    transition: transform var(--transition-base);
}
.nav-cta:hover { transform: translateY(-1px); }

.theme-toggle {
    background: transparent; border: 1px solid var(--glass-border);
    color: var(--text-secondary); width: 38px; height: 38px;
    border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition-base);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--glass-border-hover); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: inline-block; }

.nav-burger {
    display: none; flex-direction: column; gap: 5px;
    background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span {
    display: block; width: 24px; height: 2px; background: var(--text-primary);
    transition: all var(--transition-base);
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--bg-primary); border-bottom: 1px solid var(--glass-border);
    padding: 24px; flex-direction: column; gap: 8px;
    transform: translateY(-110%); transition: transform var(--transition-base);
    z-index: 99;
    display: none;
}
.nav-mobile.open { transform: translateY(0); display: flex; }
.nav-mobile a {
    color: var(--text-secondary); font-size: 1.05rem; font-weight: 500;
    padding: 12px 0; border-bottom: 1px solid var(--glass-border);
}
.nav-mobile a:last-of-type { border-bottom: 0; }

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
}

/* ============================================
   HERO / PAGE HEADER
   ============================================ */
.page-hero {
    padding: calc(var(--nav-height) + 60px) 0 60px;
    background: var(--gradient-hero), var(--bg-primary);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 14px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 130%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero p { color: var(--text-secondary); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-secondary); }
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 12px;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 40px; max-width: 700px; }

/* ============================================
   CONTACT BLOCK
   ============================================ */
.contact-grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
    align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); padding: 32px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
}
.contact-card h2 {
    font-size: 1.4rem; margin-bottom: 24px;
    padding-bottom: 16px; border-bottom: 1px solid var(--glass-border);
}
.contact-row {
    display: grid; grid-template-columns: 160px 1fr; gap: 16px;
    padding: 12px 0; border-bottom: 1px dashed var(--glass-border);
    align-items: baseline;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .label {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text-muted); font-weight: 600;
}
.contact-row .value { color: var(--text-primary); font-size: 1rem; word-break: break-word; }
.contact-row .value a { color: var(--accent); }
.contact-row .value a:hover { text-decoration: underline; }

@media (max-width: 540px) {
    .contact-row { grid-template-columns: 1fr; gap: 4px; }
}

.map-wrap {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-tertiary);
    aspect-ratio: 4/3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.hours-card {
    margin-top: 24px;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); padding: 22px;
}
.hours-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.hours-card .hours-row {
    display: flex; justify-content: space-between;
    padding: 6px 0; color: var(--text-secondary); font-size: 0.95rem;
}
.hours-card .hours-row strong { color: var(--text-primary); }

.contact-form {
    margin-top: 24px;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); padding: 24px;
}
.contact-form h3 { font-size: 1.1rem; margin-bottom: 16px; }
.form-field { margin-bottom: 14px; }
.form-field label {
    display: block; font-size: 0.82rem; color: var(--text-secondary);
    margin-bottom: 6px; font-weight: 500;
}
.form-field input, .form-field textarea {
    width: 100%; background: var(--bg-tertiary);
    border: 1px solid var(--glass-border); color: var(--text-primary);
    padding: 12px 14px; border-radius: var(--radius-sm);
    font-family: inherit; font-size: 0.95rem;
    transition: border-color var(--transition-base);
}
.form-field input:focus, .form-field textarea:focus {
    outline: 0; border-color: var(--accent);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-submit {
    background: var(--gradient-accent); color: #fff; border: 0;
    padding: 12px 26px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    transition: transform var(--transition-base);
}
.form-submit:hover { transform: translateY(-1px); }

/* ============================================
   ABOUT / TEAM
   ============================================ */
.about-hero-grid {
    display: grid; grid-template-columns: 320px 1fr; gap: 48px;
    align-items: center;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg); padding: 40px;
    box-shadow: var(--shadow-md);
}
.about-hero-grid img.portrait {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}
.about-hero-grid h2 { font-size: 1.8rem; margin-bottom: 8px; }
.about-hero-grid .role { color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.about-hero-grid p { color: var(--text-secondary); margin-bottom: 12px; }
.about-hero-grid .contact-line { color: var(--text-primary); font-size: 0.95rem; }
.about-hero-grid .contact-line a { color: var(--accent); }
.about-hero-grid--no-portrait { grid-template-columns: 1fr; }
@media (max-width: 720px) { .about-hero-grid { grid-template-columns: 1fr; padding: 28px; } }

.values-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px; margin-top: 28px;
}
.value-card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); padding: 24px;
}
.value-card .icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,194,255,0.18), rgba(0,102,255,0.10));
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent); margin-bottom: 14px;
}
.value-card .icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { color: var(--text-secondary); font-size: 0.95rem; }

.story-block { max-width: 760px; margin: 0 auto; }
.story-block p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 16px; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius-md); margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition-base);
}
.faq-item:hover { border-color: var(--glass-border-hover); }
.faq-question {
    width: 100%; background: transparent; border: 0;
    padding: 18px 22px; text-align: left;
    color: var(--text-primary); font-weight: 600; font-size: 1.02rem;
    cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; font-family: inherit;
}
.faq-question::after {
    content: ''; width: 12px; height: 12px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg); flex-shrink: 0;
    transition: transform var(--transition-base);
}
.faq-item.active .faq-question::after { transform: rotate(-135deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height var(--transition-base);
    color: var(--text-secondary);
}
.faq-answer-inner { padding: 0 22px 20px; line-height: 1.7; }
.faq-answer-inner a { color: var(--accent); text-decoration: underline; }

/* ============================================
   CTA / BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; font-weight: 600; border-radius: var(--radius-sm);
    cursor: pointer; transition: all var(--transition-base);
    text-decoration: none; border: 0;
    font-family: inherit;
}
.btn-primary { background: var(--gradient-accent); color: #fff; padding: 12px 24px; box-shadow: 0 4px 16px rgba(0,102,255,0.25); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-whatsapp { background: #25D366; color: #fff; padding: 12px 24px; box-shadow: 0 4px 16px rgba(37,211,102,0.25); }
.btn-whatsapp:hover { transform: translateY(-1px); background: #1DA851; }
.btn-outline {
    background: transparent; color: var(--text-primary);
    padding: 12px 24px;
    border: 1px solid var(--glass-border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.cta-banner {
    margin-top: 48px;
    background: linear-gradient(135deg, rgba(0,194,255,0.08), rgba(0,102,255,0.05));
    border: 1px solid var(--glass-border-hover);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
}
.cta-banner h3 { font-size: 1.5rem; margin-bottom: 10px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 22px; }

/* ============================================
   FOOTER (shared)
   ============================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 28px;
    margin-top: 80px;
}
.site-footer .container { max-width: var(--container-max); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-block .nav-logo { margin-bottom: 14px; }
.footer-brand-block p { color: var(--text-secondary); font-size: 0.95rem; }

.footer-col h4 {
    font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text-muted); margin-bottom: 16px; font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    color: var(--text-secondary); font-size: 0.95rem;
    display: inline-flex; align-items: flex-start; gap: 8px;
    transition: color var(--transition-base);
}
.footer-col a:hover { color: var(--accent); }
.footer-col li.muted-line {
    color: var(--text-secondary); font-size: 0.95rem;
    display: flex; align-items: flex-start; gap: 8px;
}
.footer-col .ico { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--text-muted); }

.footer-bottom {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    color: var(--text-muted); font-size: 0.86rem;
}
.footer-bottom strong { color: var(--text-secondary); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    transition: transform var(--transition-base);
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 28px; height: 28px; }
