/* ============================================
   MiLicenciaYa — Dark Theme (App-matched)
   ============================================ */

:root {
    --bg-deep:    #060F1E;
    --bg-main:    #081525;
    --bg-card:    #0D2035;
    --bg-card-hov:#112845;
    --teal:       #00C8D4;
    --teal-glow:  rgba(0, 200, 212, 0.12);
    --teal-border:rgba(0, 200, 212, 0.22);
    --gold:       #FFC107;
    --gold-glow:  rgba(255, 193, 7, 0.12);
    --gold-border:rgba(255, 193, 7, 0.35);
    --text-1:     #FFFFFF;
    --text-2:     rgba(255,255,255,0.60);
    --text-3:     rgba(255,255,255,0.32);
    --border:     rgba(255,255,255,0.06);
    --font-head:  'Outfit', sans-serif;
    --font-body:  'Inter', sans-serif;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-xl: 32px;
    --tr: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-1);
    line-height: 1.6;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--tr); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; cursor: pointer; font-family: var(--font-body); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.full-width { width: 100%; }

/* ── Section Badge ── */
.section-badge {
    display: inline-block;
    padding: 5px 16px;
    background: var(--teal-glow);
    color: var(--teal);
    border: 1px solid var(--teal-border);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ── Section Header ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 { font-size: 2.4rem; margin-bottom: 14px; }
.section-header p  { font-size: 1.05rem; color: var(--text-2); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-head);
    cursor: pointer;
    transition: var(--tr);
    font-size: 0.95rem;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, #0099A8 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,200,212,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,200,212,0.5); }

.btn-teal {
    background: linear-gradient(135deg, var(--teal) 0%, #0099A8 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,200,212,0.3);
}
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,200,212,0.5); }

.btn-gold {
    background: linear-gradient(135deg, #FFD54F 0%, var(--gold) 100%);
    color: #111;
    font-weight: 800;
    box-shadow: 0 6px 24px rgba(255,193,7,0.4);
    width: 100%;
    border-radius: var(--r-md);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,193,7,0.6); }

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 100%;
    border-radius: var(--r-md);
}
.btn-outline-gold:hover { background: var(--gold-glow); }


/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8,21,37,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; }
.logo-text {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
    display: none;
}
@media (min-width: 480px) { .logo-text { display: block; } }

.nav-menu { display: none; gap: 30px; align-items: center; }
@media (min-width: 800px) { .nav-menu { display: flex; } }
.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    position: relative;
    padding-bottom: 3px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: var(--tr);
}
.nav-link:hover { color: var(--teal); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; }
.header .btn { padding: 9px 18px; font-size: 0.85rem; }


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
    position: relative;
    padding-top: 128px;
    padding-bottom: 90px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 70% at 80% 50%, rgba(0,200,212,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 15% 80%, rgba(0,60,110,0.18) 0%, transparent 60%),
        var(--bg-main);
}

/* Decorative orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.orb-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(0,200,212,0.10) 0%, transparent 70%);
    top: -80px; right: 2%;
}
.orb-2 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(0,50,100,0.18) 0%, transparent 70%);
    bottom: -180px; left: -120px;
}
.orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(0,200,212,0.06) 0%, transparent 70%);
    top: 55%; left: 42%;
    transform: translate(-50%,-50%);
}
.orb-gold {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,193,7,0.04) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    z-index: 0;
}

/* Hero grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 992px) {
    .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero-content { text-align: center; }
@media (min-width: 992px) { .hero-content { text-align: left; } }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: var(--teal-glow);
    color: var(--teal);
    border: 1px solid var(--teal-border);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.25; } }

.headline {
    font-size: 2.7rem;
    color: var(--text-1);
    margin-bottom: 20px;
    line-height: 1.15;
}
@media (min-width: 768px)  { .headline { font-size: 3.3rem; } }
@media (min-width: 1200px) { .headline { font-size: 3.8rem; } }

.subheadline {
    font-size: 1.05rem;
    color: var(--text-2);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}
@media (min-width: 992px) { .subheadline { margin-left: 0; } }

/* Country buttons */
.country-select-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}
.country-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 370px;
    margin: 0 auto 28px;
}
@media (min-width: 992px) { .country-buttons { margin-left: 0; } }

.country-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--teal-border);
    border-radius: var(--r-lg);
    padding: 15px 20px;
    color: var(--text-1);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-head);
    transition: var(--tr);
    cursor: pointer;
}
.country-btn:hover {
    background: var(--bg-card-hov);
    border-color: var(--teal);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0,200,212,0.10);
}
.country-btn .fa-chevron-right { margin-left: auto; color: var(--teal); font-size: 0.85rem; }
.flag-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* App Store button */
.hero-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}
@media (min-width: 992px) { .hero-cta { justify-content: flex-start; } }

.store-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #000;
    color: #fff;
    padding: 13px 26px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--tr);
}
.store-btn:hover {
    background: #111;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.18);
}
.store-btn i { font-size: 2rem; }
.btn-text { line-height: 1.2; }
.btn-text .small { display: block; font-size: 0.62rem; opacity: 0.65; }
.btn-text .large { font-size: 1.05rem; font-weight: 700; }

/* Trust badges */
.trust-badges {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 11px 22px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    color: var(--text-2);
}
.trust-item strong { color: var(--text-1); }
.trust-divider { width: 1px; height: 18px; background: var(--border); }

/* Hero visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.speech-bubble {
    background: #fff;
    color: #17263a;
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    padding: 16px 20px;
    font-size: 0.97rem;
    font-weight: 600;
    max-width: 290px;
    line-height: 1.5;
    position: relative;
    margin-bottom: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.22);
}
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -13px; left: 28px;
    border: 8px solid transparent;
    border-top-color: #fff;
    border-bottom: 0;
    border-left: 0;
}
.robot-mascot {
    width: 270px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,200,212,0.22));
    animation: float 4s ease-in-out infinite;
}
@media (min-width: 992px) { .robot-mascot { width: 320px; } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-14px); } }


/* ═══════════════════════════════════════
   STATS
═══════════════════════════════════════ */
.stats-section {
    padding: 36px 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 36px;
    flex: 1;
    min-width: 130px;
}
.stat-number {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}
.stat-label { font-size: 0.85rem; color: var(--text-2); font-weight: 500; text-align: center; }
.stat-divider { width: 1px; height: 46px; background: var(--border); display: none; }
@media (min-width: 600px) { .stat-divider { display: block; } }


/* ═══════════════════════════════════════
   FEATURES
═══════════════════════════════════════ */
.features {
    padding: 100px 0;
    background: var(--bg-main);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 600px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: var(--tr);
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    border-color: var(--teal-border);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,200,212,0.09);
}

.feature-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 0;
}
.card-flag { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.card-tag {
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-1);
    flex: 1;
}
.card-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}
.gold-badge { background: var(--gold-glow); color: var(--gold); border: 1px solid var(--gold-border); }
.premium-badge {
    width: 26px; height: 26px;
    background: var(--bg-card-hov);
    border: 1px solid var(--teal-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 0.72rem;
}

.feature-img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    padding: 14px 20px;
    transition: var(--tr);
}
.feature-card:hover .feature-img { transform: scale(1.05); }

.feature-card-info {
    padding: 12px 18px 20px;
    flex: 1;
    border-top: 1px solid var(--border);
}
.feature-card-info h3 {
    font-size: 0.97rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.feature-card-info p {
    font-size: 0.83rem;
    color: var(--text-2);
    line-height: 1.55;
}


/* ═══════════════════════════════════════
   TUTOR IA HIGHLIGHT
═══════════════════════════════════════ */
.tutor-highlight {
    padding: 100px 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.tutor-highlight::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,212,0.06) 0%, transparent 70%);
    top: -150px; right: -80px;
    pointer-events: none;
}

.tutor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}
@media (min-width: 992px) { .tutor-grid { grid-template-columns: 1fr 1fr; } }

.tutor-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
}
.tutor-robot { width: 220px; height: auto; filter: drop-shadow(0 18px 36px rgba(0,200,212,0.18)); }
.tutor-chat-bubble {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--teal-border);
    border-radius: var(--r-md);
    padding: 14px 16px;
    max-width: 320px;
    width: 100%;
}
.avatar-small { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-text strong { display: block; font-size: 0.78rem; color: var(--teal); margin-bottom: 4px; }
.chat-text p { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; margin: 0; }
.tutor-demo-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    border-radius: var(--r-md);
    opacity: 0.92;
}

.tutor-content { text-align: center; }
@media (min-width: 992px) { .tutor-content { text-align: left; } }
.tutor-content h2 { font-size: 2.2rem; margin-bottom: 16px; }
.tutor-content > p { font-size: 1rem; color: var(--text-2); margin-bottom: 28px; line-height: 1.75; }

.tutor-benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; text-align: left; }
.tutor-benefits li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-2); }
.benefit-check {
    width: 26px; height: 26px;
    background: var(--teal-glow);
    border: 1px solid var(--teal-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
    font-size: 0.7rem;
    flex-shrink: 0;
}


/* ═══════════════════════════════════════
   PREMIUM / PRICING
═══════════════════════════════════════ */
.pricing {
    padding: 100px 0;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.premium-header { text-align: center; margin-bottom: 48px; }
.premium-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, #FFD54F 0%, var(--gold) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #111;
    margin: 0 auto 20px;
    box-shadow: 0 8px 28px rgba(255,193,7,0.40);
}
.premium-header h2 { font-size: 2.2rem; line-height: 1.35; margin-bottom: 10px; }
.premium-header p  { font-size: 1rem; color: var(--text-2); }

/* Feature list */
.premium-features-list {
    max-width: 580px;
    margin: 0 auto 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.premium-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 22px;
    border-bottom: 1px solid var(--border);
}
.premium-feature-item:last-child { border-bottom: none; }
.pf-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.pf-icon.lightning { background: rgba(255,152,0,0.14); color: #FFA726; }
.pf-icon.clipboard { background: rgba(92,107,192,0.14); color: #7986CB; }
.pf-icon.brain     { background: rgba(0,200,212,0.12);  color: var(--teal); }
.pf-icon.compass   { background: rgba(76,175,80,0.14);  color: #81C784; }
.pf-icon.chart     { background: rgba(100,100,230,0.14);color: #9FA8DA; }

.pf-text { flex: 1; }
.pf-text strong { display: block; font-size: 0.93rem; margin-bottom: 2px; }
.pf-text span   { font-size: 0.80rem; color: var(--text-2); }
.pf-check {
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #FFD54F, var(--gold));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #111; font-size: 0.72rem; font-weight: 700;
    flex-shrink: 0;
}

/* Pricing cards */
.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 640px;
    margin: 0 auto;
    align-items: stretch;
}
@media (min-width: 560px) {
    .pricing-grid { flex-direction: row; align-items: flex-start; }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: var(--tr);
}
.pricing-card:hover { border-color: var(--teal-border); }
.pricing-card.popular {
    border: 2px solid var(--gold);
    box-shadow: 0 0 36px rgba(255,193,7,0.13);
}
.pricing-card.popular:hover { box-shadow: 0 0 52px rgba(255,193,7,0.22); }

.popular-check {
    position: absolute;
    top: -12px; right: 18px;
    width: 26px; height: 26px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #111; font-size: 0.75rem; font-weight: 700;
}

.pricing-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
}
.teal-label { background: var(--teal-glow); color: var(--teal); border: 1px solid var(--teal-border); }
.gold-label  { background: var(--gold-glow);  color: var(--gold); border: 1px solid var(--gold-border); }

.pricing-card h3 { font-size: 1.35rem; }

.price { display: flex; align-items: baseline; gap: 3px; }
.price .currency { font-size: 1.25rem; font-weight: 700; }
.price .amount {
    font-size: 3.3rem;
    font-weight: 800;
    font-family: var(--font-head);
    line-height: 1;
}
.price .period { font-size: 0.88rem; color: var(--text-2); font-weight: 500; }

.discount-badge {
    display: inline-block;
    background: #c62828;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.cancel-note {
    text-align: center;
    margin-top: 28px;
    font-size: 0.83rem;
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq {
    padding: 100px 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 700px) { .faq-grid { grid-template-columns: repeat(2, 1fr); } }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px;
    display: flex;
    gap: 14px;
    transition: var(--tr);
}
.faq-item:hover { border-color: var(--teal-border); transform: translateY(-3px); }
.faq-icon { color: var(--teal); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.faq-content h3 { font-size: 0.97rem; margin-bottom: 8px; font-weight: 700; }
.faq-content p  { font-size: 0.87rem; color: var(--text-2); line-height: 1.6; }


/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-section { padding: 100px 0; background: var(--bg-main); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.contact-info h2 { font-size: 2.1rem; margin-bottom: 14px; }
.contact-info > p { font-size: 0.98rem; color: var(--text-2); line-height: 1.75; margin-bottom: 30px; }

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 20px;
    transition: var(--tr);
}
.contact-detail-item:hover { border-color: var(--teal-border); }
.contact-icon {
    width: 44px; height: 44px;
    background: var(--teal-glow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.contact-label { display: block; font-size: 0.75rem; color: var(--text-3); font-weight: 500; margin-bottom: 2px; }
.contact-value { font-size: 0.97rem; font-weight: 700; color: var(--text-1); transition: var(--tr); }
.contact-value:hover { color: var(--teal); }

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.87rem; color: var(--text-2); margin-bottom: 8px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-1);
    font-family: var(--font-body);
    font-size: 0.93rem;
    outline: none;
    transition: var(--tr);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,200,212,0.09);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group textarea { resize: vertical; min-height: 115px; }


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
    background: var(--bg-deep);
    padding: 80px 0 36px;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 56px;
}
@media (min-width: 992px) {
    .footer-content { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer-brand { max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo-img { height: 38px; width: auto; }
.footer-logo-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--teal); }
.footer-brand p { font-size: 0.87rem; color: var(--text-3); line-height: 1.7; margin-bottom: 22px; }

.social-links { display: flex; gap: 10px; }
.social-icon {
    width: 38px; height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2);
    font-size: 0.95rem;
    transition: var(--tr);
}
.social-icon:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    transform: translateY(-4px);
}

.footer-nav-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}
@media (min-width: 768px) { .footer-nav-group { grid-template-columns: repeat(3, 1fr); gap: 56px; } }

.footer-links h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 22px; height: 2px;
    background: var(--teal);
    border-radius: 2px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.87rem; color: var(--text-3); transition: var(--tr); }
.footer-links a:hover { color: var(--teal); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-3); }

/* ── Legal pages: accessible contrast on the dark theme ── */
.legal-content {
    color: #D8E4EF !important;
}
.legal-content p,
.legal-content li {
    color: #D8E4EF;
}
.legal-content h2,
.legal-content h3 {
    color: #FFFFFF !important;
}
.legal-content strong {
    color: #FFFFFF;
}
.legal-content a {
    color: var(--teal) !important;
}
