/* ========================================
   Custom Properties — Light theme (default)
   ======================================== */
:root {
    --color-primary: #1a3a2a;
    --color-primary-light: #2d5e43;
    --color-accent: #4ecb71;
    --color-accent-light: #c1e8d5;
    --color-accent-bg: #edf7f1;
    --color-dark: #0f1923;
    --color-text: #374151;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-surface: #ffffff;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-heading: #111827;
    --color-white: #ffffff;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: clamp(1.75rem, 4vw, 2.25rem);
    --font-size-5xl: clamp(2rem, 5vw, 3rem);
    --font-size-6xl: clamp(2.25rem, 6vw, 3.75rem);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --header-height: 80px;
}

/* ========================================
   Dark Theme
   ======================================== */
[data-theme="dark"] {
    --color-dark: #0a0f14;
    --color-text: #cbd5e1;
    --color-text-light: #94a3b8;
    --color-bg: #0f172a;
    --color-bg-alt: #1e293b;
    --color-surface: #1e293b;
    --color-border: #334155;
    --color-border-light: #1e293b;
    --color-heading: #f1f5f9;
    --color-accent-bg: rgba(78, 203, 113, 0.1);
}

[data-theme="dark"] .about__card--main,
[data-theme="dark"] .services__card,
[data-theme="dark"] .containers__card,
[data-theme="dark"] .geography__card,
[data-theme="dark"] .contact__card,
[data-theme="dark"] .contact__form-wrapper,
[data-theme="dark"] .geography__countries,
[data-theme="dark"] .faq__item {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--color-bg);
    border-color: var(--color-border);
    color: var(--color-heading);
}

[data-theme="dark"] .header__lang-dropdown {
    background: var(--color-surface);
}

[data-theme="dark"] .header__lang-option {
    color: var(--color-text);
}

[data-theme="dark"] .header__lang-option:hover,
[data-theme="dark"] .header__lang-option.active {
    background: var(--color-accent-bg);
}

[data-theme="dark"] .gallery__item { box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

[data-theme="dark"] .about__photo { box-shadow: 0 10px 30px rgba(0,0,0,0.4); }

[data-theme="dark"] .footer {
    background: #060a10;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ========================================
   Splash / Loader
   ======================================== */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f1923 0%, #1a3a2a 50%, #0f2318 100%);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.splash__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.splash__logo {
    width: 100px;
    height: 100px;
    border-radius: 1rem;
    animation: splash-logo 1.2s ease-out both;
    filter: drop-shadow(0 0 30px rgba(78,203,113,0.3));
}
@keyframes splash-logo {
    0% { opacity: 0; transform: scale(0.5) rotate(-10deg); }
    60% { opacity: 1; transform: scale(1.08) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.splash__bar {
    width: 140px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin-top: 1.5rem;
    overflow: hidden;
}
.splash__bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: 3px;
    animation: splash-fill 1.5s 0.3s ease-out forwards;
}
@keyframes splash-fill {
    0% { width: 0%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

/* ========================================
   Theme Button (sun/moon)
   ======================================== */
.theme-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1001;
    transition: background 0.3s ease, transform 0.2s ease;
}
.theme-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.theme-btn:active { transform: scale(0.95); }
.theme-btn--mobile { display: none; }

.theme-btn__sun,
.theme-btn__moon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

/* Sun */
.theme-btn__sun {
    width: 20px;
    height: 20px;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
.theme-btn__sun-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: #fbbf24;
    border-radius: 50%;
}
.theme-btn__sun-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 4px;
    margin-left: -1px;
    margin-top: -10px;
    background: #fbbf24;
    border-radius: 1px;
    transform-origin: 1px 10px;
}
.theme-btn__sun-ray:nth-child(2) { transform: rotate(0deg); }
.theme-btn__sun-ray:nth-child(3) { transform: rotate(45deg); }
.theme-btn__sun-ray:nth-child(4) { transform: rotate(90deg); }
.theme-btn__sun-ray:nth-child(5) { transform: rotate(135deg); }
.theme-btn__sun-ray:nth-child(6) { transform: rotate(180deg); }
.theme-btn__sun-ray:nth-child(7) { transform: rotate(225deg); }
.theme-btn__sun-ray:nth-child(8) { transform: rotate(270deg); }
.theme-btn__sun-ray:nth-child(9) { transform: rotate(315deg); }

[data-theme="dark"] .theme-btn__sun {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(180deg) scale(0);
}

/* Moon */
.theme-btn__moon {
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) scale(0);
}
.theme-btn__moon-body {
    width: 18px;
    height: 18px;
    background: #e2e8f0;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px rgba(226,232,240,0.5);
}
.theme-btn__moon-shadow {
    position: absolute;
    width: 14px;
    height: 14px;
    background: transparent;
    border-radius: 50%;
    top: -3px;
    right: -4px;
    box-shadow: -5px 3px 0 0 #e2e8f0;
}
.theme-btn__moon-crater {
    position: absolute;
    background: rgba(148,163,184,0.4);
    border-radius: 50%;
}
.theme-btn__moon-crater:nth-child(3) { width: 4px; height: 4px; top: 8px; left: 4px; }
.theme-btn__moon-crater:nth-child(4) { width: 3px; height: 3px; top: 4px; left: 8px; }

[data-theme="dark"] .theme-btn__moon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

/* Theme transition animation */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.5s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, fill 0.4s ease, stroke 0.4s ease !important;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.accent { color: var(--color-accent); }

/* ========================================
   Section Shared
   ======================================== */
.section-header { margin-bottom: 4rem; }
.section-header--center { text-align: center; }
.section-tag { display: inline-block; font-size: var(--font-size-sm); font-weight: 600; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.section-title { font-size: var(--font-size-4xl); font-weight: 800; color: var(--color-heading); line-height: 1.2; margin-bottom: 1rem; }
.section-desc { font-size: var(--font-size-lg); color: var(--color-text-light); max-width: 600px; margin: 0 auto; }

/* ========================================
   Buttons
   ======================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; font-size: var(--font-size-base); font-weight: 600; border-radius: var(--radius-lg); transition: all var(--transition-base); cursor: pointer; border: 2px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--color-accent); color: var(--color-dark); border-color: var(--color-accent); }
.btn--primary:hover { background: #3db85e; border-color: #3db85e; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(78,203,113,0.35); }
.btn--outline { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.4); }
.btn--outline:hover { background: var(--color-white); color: var(--color-dark); border-color: var(--color-white); }
.btn--white { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }
.btn--white:hover { background: transparent; color: var(--color-white); transform: translateY(-2px); }
.btn--sm { padding: 0.625rem 1.5rem; font-size: var(--font-size-sm); }
.btn--lg { padding: 1rem 2.5rem; font-size: var(--font-size-lg); }
.btn--full { width: 100%; }

/* ========================================
   Header
   ======================================== */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); z-index: 1000; transition: all var(--transition-slow); background: rgba(15,25,35,0.85); }
.header.scrolled { background: rgba(15,25,35,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.header__logo { display: flex; align-items: center; gap: 0.5rem; z-index: 1001; }
.header__logo-img { width: 44px; height: 44px; border-radius: var(--radius-md); object-fit: cover; }
.header__logo-text { font-size: var(--font-size-lg); font-weight: 700; color: var(--color-white); }
.header__nav { display: flex; align-items: center; gap: 2rem; }
.header__nav-list { display: flex; align-items: center; gap: 1.25rem; }
.header__nav-link { font-size: var(--font-size-sm); font-weight: 500; color: rgba(255,255,255,0.75); padding: 0.5rem 0.25rem; position: relative; transition: color var(--transition-fast); }
.header__nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--color-accent); transition: width var(--transition-base); border-radius: 1px; }
.header__nav-link:hover, .header__nav-link.active { color: var(--color-white); }
.header__nav-link.active::after, .header__nav-link:hover::after { width: 100%; }

.header__controls { display: flex; align-items: center; gap: 0.75rem; }
.header__right-mobile { display: none; align-items: center; gap: 0.75rem; z-index: 1001; }


/* Lang Switcher */
.header__lang { position: relative; }
.header__lang-btn { display: flex; align-items: center; gap: 0.25rem; padding: 0.5rem 1rem; color: rgba(255,255,255,0.75); font-size: var(--font-size-sm); font-weight: 500; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); transition: all var(--transition-fast); }
.header__lang-btn:hover { color: var(--color-white); border-color: rgba(255,255,255,0.4); }
.header__lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-xl); min-width: 160px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition-fast); overflow: hidden; z-index: 1002; }
.header__lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.header__lang-option { display: block; width: 100%; padding: 0.5rem 1rem; font-size: var(--font-size-sm); font-weight: 500; color: var(--color-text); text-align: left; transition: all var(--transition-fast); }
.header__lang-option:hover, .header__lang-option.active { background: var(--color-accent-bg); color: var(--color-primary); }

/* Burger */
.header__burger { display: none; flex-direction: column; gap: 5px; width: 28px; height: 20px; z-index: 1001; }
.header__burger span { display: block; width: 100%; height: 2px; background: var(--color-white); border-radius: 2px; transition: all var(--transition-base); transform-origin: center; }
.header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========================================
   Hero
   ======================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-height); }
.hero__bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,25,35,0.82) 0%, rgba(26,58,42,0.78) 50%, rgba(15,35,24,0.82) 100%), url('https://images.unsplash.com/photo-1494412574643-ff11b0a5eb95?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; z-index: -2; }
.hero__bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(78,203,113,0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(78,203,113,0.1) 0%, transparent 40%); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234ecb71' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.hero__gradient { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(78,203,113,0.12) 0%, transparent 70%); right: -100px; top: 50%; transform: translateY(-50%); animation: pulse-glow 6s ease-in-out infinite; }
@keyframes pulse-glow { 0%,100% { transform: translateY(-50%) scale(1); opacity: 1; } 50% { transform: translateY(-50%) scale(1.15); opacity: 0.7; } }
.hero__inner { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 6rem; }
.hero__content { max-width: 720px; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.5rem; background: rgba(78,203,113,0.1); border: 1px solid rgba(78,203,113,0.25); border-radius: var(--radius-full); font-size: var(--font-size-sm); font-weight: 500; color: var(--color-accent); margin-bottom: 2rem; animation: fadeInUp 0.8s ease forwards; }
.hero__title { font-size: var(--font-size-6xl); font-weight: 900; color: var(--color-white); line-height: 1.1; margin-bottom: 2rem; animation: fadeInUp 0.8s 0.1s ease both; }
.hero__subtitle { font-size: var(--font-size-lg); color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 3rem; max-width: 560px; animation: fadeInUp 0.8s 0.2s ease both; }
.hero__actions { display: flex; gap: 1rem; margin-bottom: 4rem; animation: fadeInUp 0.8s 0.3s ease both; }
.hero__stats { display: flex; gap: 4rem; animation: fadeInUp 0.8s 0.4s ease both; }
.hero__stat { text-align: left; }
.hero__stat-number { font-size: var(--font-size-4xl); font-weight: 800; color: var(--color-accent); display: inline-block; font-variant-numeric: tabular-nums; }
.hero__stat-plus { font-size: var(--font-size-3xl); font-weight: 800; color: var(--color-accent); }
.hero__stat-label { display: block; font-size: var(--font-size-sm); color: rgba(255,255,255,0.5); margin-top: 0.25rem; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ========================================
   About
   ======================================== */
.about { padding: 6rem 0; background: var(--color-bg); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about__lead { font-size: var(--font-size-xl); font-weight: 600; color: var(--color-heading); margin-bottom: 1.5rem; }
.about__text p { margin-bottom: 1rem; color: var(--color-text); line-height: 1.8; }
.about__features { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.about__feature { display: flex; gap: 1rem; align-items: flex-start; }
.about__feature-icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--color-accent-bg); border-radius: var(--radius-lg); color: var(--color-accent); }
.about__feature h4 { font-size: var(--font-size-base); font-weight: 600; color: var(--color-heading); margin-bottom: 0.25rem; }
.about__feature p { font-size: var(--font-size-sm); color: var(--color-text-light); margin-bottom: 0; }
.about__visual { display: flex; flex-direction: column; gap: 1.5rem; }
.about__card { padding: 3rem; border-radius: var(--radius-xl); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.about__card:hover { transform: translateY(-4px); }
.about__card--main { background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.about__card--main:hover { box-shadow: var(--shadow-lg); }
.about__card-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--color-accent-bg); border-radius: var(--radius-xl); color: var(--color-accent); margin-bottom: 1.5rem; }
.about__card h3 { font-size: var(--font-size-xl); font-weight: 700; color: var(--color-heading); margin-bottom: 1rem; }
.about__card p { color: var(--color-text-light); line-height: 1.7; }
.about__card--accent { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); }
.about__card--accent:hover { box-shadow: 0 20px 40px rgba(26,58,42,0.3); }
.about__card-number { font-size: var(--font-size-5xl); font-weight: 900; color: var(--color-accent); margin-bottom: 1rem; }
.about__card--accent p { color: rgba(255,255,255,0.8); }

.about__photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); position: relative; }
.about__photo-img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.about__photo:hover .about__photo-img { transform: scale(1.04); }

/* ========================================
   Services
   ======================================== */
.services { padding: 6rem 0; background: var(--color-bg-alt); }
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.services__card { background: var(--color-surface); border-radius: var(--radius-xl); padding: 3rem; border: 1px solid var(--color-border); transition: all var(--transition-base); position: relative; overflow: hidden; }
.services__card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-base); }
.services__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.services__card:hover::before { transform: scaleX(1); }
.services__card-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--color-accent-bg); border-radius: var(--radius-lg); color: var(--color-accent); margin-bottom: 1.5rem; }
.services__card-title { font-size: var(--font-size-xl); font-weight: 700; color: var(--color-heading); margin-bottom: 1rem; }
.services__card-text { color: var(--color-text-light); line-height: 1.7; margin-bottom: 1.5rem; }
.services__card-tag { display: inline-block; padding: 0.25rem 1rem; background: var(--color-accent-bg); color: var(--color-primary); font-size: var(--font-size-xs); font-weight: 600; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.05em; }
[data-theme="dark"] .services__card-tag { color: var(--color-accent); }
.services__card--cta { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); border-color: transparent; display: flex; align-items: center; }
.services__card--cta::before { display: none; }
.services__card--cta:hover { box-shadow: 0 20px 40px rgba(26,58,42,0.3); }
.services__card-cta-inner h3 { font-size: var(--font-size-xl); font-weight: 700; color: var(--color-white); margin-bottom: 1rem; }
.services__card-cta-inner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.7; }

/* ========================================
   Gallery
   ======================================== */
.gallery { padding: 6rem 0; background: var(--color-bg-alt); }
.gallery__grid { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 220px 220px; gap: 1rem; }
.gallery__item { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.gallery__item--tall { grid-row: 1 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease, filter 0.4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem 1.5rem 1.25rem; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%); opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.gallery__item:hover .gallery__caption { opacity: 1; transform: translateY(0); }
.gallery__caption span { color: #fff; font-size: var(--font-size-sm); font-weight: 600; letter-spacing: 0.02em; }

/* ========================================
   Containers
   ======================================== */
.containers { padding: 6rem 0; background: var(--color-bg); }
.containers__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.containers__card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 2rem; text-align: center; transition: all var(--transition-base); }
.containers__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--color-accent); }
.containers__card-visual { margin-bottom: 1.5rem; padding: 1rem; }
.containers__svg { width: 100%; height: auto; max-height: 80px; color: var(--color-accent); }
.containers__svg--reefer { color: #3b82f6; }
.containers__card h3 { font-size: var(--font-size-lg); font-weight: 700; color: var(--color-heading); margin-bottom: 1.5rem; }
.containers__specs { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.containers__spec { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); }
.containers__spec-label { font-size: var(--font-size-xs); font-weight: 600; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.containers__spec-value { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-heading); }
.containers__card-desc { font-size: var(--font-size-sm); color: var(--color-text-light); line-height: 1.6; }

/* ========================================
   Geography
   ======================================== */
.geography { padding: 6rem 0; background: var(--color-bg-alt); }


.geography__info { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.geography__info-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 2rem; text-align: center; transition: all var(--transition-base); }
.geography__info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.geography__info-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--color-accent-bg); border-radius: var(--radius-lg); color: var(--color-accent); margin: 0 auto 1.5rem; }
.geography__info-card h3 { font-size: var(--font-size-lg); font-weight: 700; color: var(--color-heading); margin-bottom: 0.75rem; }
.geography__info-card p { font-size: var(--font-size-sm); color: var(--color-text-light); line-height: 1.7; }

/* ========================================
   FAQ
   ======================================== */
.faq { padding: 6rem 0; background: var(--color-bg); }
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq__item { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; transition: all var(--transition-base); }
.faq__item:hover { border-color: var(--color-accent); }
.faq__item.active { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.faq__question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.5rem 2rem; font-size: var(--font-size-base); font-weight: 600; color: var(--color-heading); text-align: left; cursor: pointer; transition: color var(--transition-fast); gap: 1rem; }
.faq__question:hover { color: var(--color-accent); }
.faq__chevron { flex-shrink: 0; color: var(--color-text-light); transition: transform var(--transition-base); }
.faq__item.active .faq__chevron { transform: rotate(180deg); color: var(--color-accent); }
.faq__answer { max-height: 0px; overflow: hidden; transition: max-height 0.4s ease; }
.faq__item.active .faq__answer { overflow: visible; }
.faq__answer p { padding: 0 2rem 1.5rem; font-size: var(--font-size-sm); color: var(--color-text-light); line-height: 1.8; }

/* ========================================
   CTA
   ======================================== */
.cta { padding: 6rem 0; background: var(--color-bg-alt); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 4rem; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); border-radius: var(--radius-2xl); position: relative; overflow: hidden; }
.cta__inner::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(78,203,113,0.15) 0%, transparent 70%); right: -100px; top: -100px; }
.cta__content { position: relative; z-index: 1; }
.cta__title { font-size: var(--font-size-3xl); font-weight: 800; color: var(--color-white); margin-bottom: 1rem; }
.cta__text { color: rgba(255,255,255,0.7); font-size: var(--font-size-lg); max-width: 500px; line-height: 1.7; }

/* ========================================
   Contact
   ======================================== */
.contact { padding: 6rem 0; background: var(--color-bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact__info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__card { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; background: var(--color-bg-alt); border-radius: var(--radius-xl); border: 1px solid var(--color-border); transition: all var(--transition-base); }
.contact__card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); }
.contact__card-icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent-bg); border-radius: var(--radius-lg); color: var(--color-accent); }
.contact__card-content h4 { font-size: var(--font-size-base); font-weight: 600; color: var(--color-heading); margin-bottom: 0.25rem; }
.contact__card-content a { color: var(--color-text-light); font-size: var(--font-size-sm); }
.contact__card-content a:hover { color: var(--color-accent); }
.contact__socials { padding-top: 1.5rem; }
.contact__socials h4 { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-heading); margin-bottom: 1rem; }
.contact__socials-list { display: flex; gap: 1rem; }
.contact__social { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-lg); color: var(--color-white); transition: all var(--transition-base); }
.contact__social:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact__social--viber { background: #7360f2; }
.contact__social--telegram { background: #0088cc; }
.contact__social--whatsapp { background: #25d366; }

.contact__form-wrapper { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 3rem; }
.contact__form-title { font-size: var(--font-size-xl); font-weight: 700; color: var(--color-heading); margin-bottom: 2rem; }
.form-group { margin-bottom: 1rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.875rem 1.5rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); color: var(--color-heading); font-size: var(--font-size-base); transition: all var(--transition-fast); outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--color-text-light); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(78,203,113,0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }

.btn--submit-success { background: var(--color-accent) !important; border-color: var(--color-accent) !important; color: var(--color-dark) !important; transform: scale(1.03); box-shadow: 0 8px 25px rgba(78,203,113,0.4); }
.btn--submit-success svg { display: inline-block; vertical-align: middle; animation: checkDraw 0.5s ease forwards; }
.btn--submit-error { background: #dc2626 !important; border-color: #dc2626 !important; color: #fff !important; animation: btnShake 0.4s ease; }
.btn--submit-loading { pointer-events: none; position: relative; color: transparent !important; }
.btn--submit-loading::after { content: ''; position: absolute; width: 22px; height: 22px; border: 3px solid rgba(255,255,255,0.3); border-top-color: var(--color-dark); border-radius: 50%; animation: btnSpin 0.7s linear infinite; }

@keyframes checkDraw { 0% { opacity: 0; transform: scale(0.3) rotate(-20deg); } 50% { opacity: 1; transform: scale(1.15) rotate(5deg); } 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes btnShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ========================================
   Footer
   ======================================== */
.footer { background: var(--color-dark); padding: 4rem 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.footer__logo-img { width: 40px; height: 40px; border-radius: var(--radius-md); }
.footer__logo span { font-size: var(--font-size-lg); font-weight: 700; color: var(--color-white); }
.footer__desc { color: rgba(255,255,255,0.5); font-size: var(--font-size-sm); line-height: 1.7; max-width: 300px; }
.footer__links h4, .footer__contact h4 { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.footer__links ul, .footer__contact ul { display: flex; flex-direction: column; gap: 1rem; }
.footer__links a, .footer__contact a { color: rgba(255,255,255,0.5); font-size: var(--font-size-sm); }
.footer__links a:hover, .footer__contact a:hover { color: var(--color-accent); }
.footer__bottom { padding: 2rem 0; text-align: center; }
.footer__bottom p { color: rgba(255,255,255,0.3); font-size: var(--font-size-sm); }

/* ========================================
   Back to Top
   ======================================== */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-dark); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition-base); z-index: 100; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(78,203,113,0.4); }

/* ========================================
   Scroll Animations
   ======================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   Responsive
   ======================================== */

/* Burger menu kicks in at 1024px — covers all tablets and phones */
@media (max-width: 1024px) {
    :root { --header-height: 64px; }

    /* Switch to burger menu */
    .header__burger { display: flex; }
    .header__right-mobile { display: flex; }
    .header__controls .theme-btn { display: none; }
    .theme-btn--mobile { display: block; }

    /* Fullscreen mobile nav overlay */
    .header__nav {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: #0f1923;
        flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
        z-index: 999;
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .header__nav.open { opacity: 1; visibility: visible; pointer-events: auto; }

    /* Nav links cascade animation */
    .header__nav-list { flex-direction: column; gap: 1.5rem; }
    .header__nav-link { font-size: var(--font-size-lg); opacity: 0; transform: translateY(20px); transition: opacity 0.3s ease, transform 0.3s ease, color 0.15s ease; }
    .header__nav.open .header__nav-link { opacity: 1; transform: translateY(0); }
    .header__nav.open li:nth-child(1) .header__nav-link { transition-delay: 0.05s; }
    .header__nav.open li:nth-child(2) .header__nav-link { transition-delay: 0.1s; }
    .header__nav.open li:nth-child(3) .header__nav-link { transition-delay: 0.15s; }
    .header__nav.open li:nth-child(4) .header__nav-link { transition-delay: 0.2s; }
    .header__nav.open li:nth-child(5) .header__nav-link { transition-delay: 0.25s; }
    .header__nav.open li:nth-child(6) .header__nav-link { transition-delay: 0.3s; }
    .header__nav.open li:nth-child(7) .header__nav-link { transition-delay: 0.35s; }
    .header__controls { opacity: 0; transform: translateY(20px); transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s; flex-direction: column; gap: 1.5rem; }
    .header__nav.open .header__controls { opacity: 1; transform: translateY(0); }

    /* Language switcher: inline pills instead of dropdown on mobile */
    .header__lang-btn {
        display: none;
    }
    .header__lang-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        background: transparent !important;
        box-shadow: none !important;
        min-width: auto;
        border-radius: 0;
        overflow: visible;
    }
    .header__lang-option {
        width: auto;
        padding: 0.5rem 1rem;
        color: rgba(255,255,255,0.7) !important;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: var(--radius-full);
        text-align: center;
    }
    .header__lang-option:hover,
    .header__lang-option.active {
        background: rgba(78, 203, 113, 0.15) !important;
        color: #fff !important;
        border-color: var(--color-accent);
    }

    /* Layout adjustments */
    .about__grid { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: repeat(2,1fr); }
    .containers__grid { grid-template-columns: repeat(2,1fr); }
    .geography__info { grid-template-columns: repeat(2,1fr); }
    .geography__info .geography__info-card:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
    .cta__inner { flex-direction: column; text-align: center; align-items: center; }
    .contact__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }

    .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
    .gallery__item--tall { grid-row: 1 / 3; }
    .about__photo-img { height: 220px; }

    .about, .services, .containers, .geography, .faq, .contact, .cta, .gallery { padding: 4rem 0; }
    .section-header { margin-bottom: 2.5rem; }
}

/* Phones */
@media (max-width: 640px) {
    .container { padding: 0 1.25rem; }
    .hero__inner { padding-top: 3rem; padding-bottom: 3rem; }
    .hero__actions { flex-direction: column; }
    .hero__stats { gap: 2rem; flex-wrap: wrap; }
    .services__grid { grid-template-columns: 1fr; }
    .containers__grid { grid-template-columns: 1fr; }
    .gallery__grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 200px); }
    .gallery__item--tall { grid-row: auto; }
    .gallery__caption { opacity: 1; transform: translateY(0); }
    .about__photo-img { height: 200px; }
    .geography__info { grid-template-columns: 1fr; }
    .geography__info .geography__info-card:last-child { grid-column: span 1; max-width: 100%; }
    .about__card { padding: 2rem; }
    .services__card { padding: 2rem; }
    .contact__form-wrapper { padding: 2rem; }
    .cta__inner { padding: 2.5rem 1.5rem; }
    .faq__question { padding: 1.25rem 1.5rem; }
    .faq__answer p { padding: 0 1.5rem 1.25rem; }
    .splash__logo { width: 80px; height: 80px; }
}

/* Small phones */
@media (max-width: 400px) {
    .container { padding: 0 1rem; }
    .hero__stat-number { font-size: 2rem; }
    .hero__badge { font-size: var(--font-size-xs); padding: 0.4rem 1rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: var(--font-size-sm); }
    .header__logo-text { font-size: var(--font-size-sm); }
}
