/* ============================================
   Holmeter OÜ – Modernne koduleht
   ============================================ */

/* --- Font Awesome font-display override --- */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2');
}

/* --- CSS Muutujad --- */
:root {
    --color-primary: #1a56db;
    --color-primary-dark: #1342a8;
    --color-primary-light: #e8effc;
    --color-secondary: #0f172a;
    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;
    --color-text: #334155;
    --color-text-light: #475569;
    --color-text-dark: #0f172a;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.2;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo__img {
    height: 50px;
    width: auto;
    transition: transform var(--transition);
}

.logo:hover .logo__img {
    transform: scale(1.05);
}

.logo--footer .logo__img {
    height: 40px;
    filter: brightness(0) invert(1);
}

/* --- Navigatsioon --- */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav__link--cta {
    background: var(--color-primary);
    color: white !important;
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--color-primary-dark);
    color: white !important;
}

/* --- Burger menüü --- */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Keelte valik --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: 12px;
}

.lang-switcher__btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
    font-family: 'Inter', sans-serif;
}

.lang-switcher__btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.lang-switcher__btn--active {
    color: white;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
}

.lang-switcher__btn--active:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65) 0%, rgba(30, 58, 95, 0.65) 50%, rgba(26, 86, 219, 0.85) 100%),
        url('../images/hero.jpg') center/cover no-repeat;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23ffffff' fill-opacity='0.03'%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");
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(26, 86, 219, 0.3) 0%, transparent 60%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 72px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__title span {
    background: linear-gradient(135deg, var(--color-accent), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.hero__stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* --- Nupud --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}

.btn--outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* --- Sektsioonid --- */
.section {
    padding: 100px 0;
}

.section__header {
    margin-bottom: 60px;
}

.section__header--center {
    text-align: center;
}

.section__tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Ettevõttest --- */
.about {
    background: var(--color-bg-alt);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about__lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.about__content p {
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.about__feature i {
    color: var(--color-success);
    font-size: 16px;
}

.about__visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__card {
    padding: 28px;
    border-radius: var(--radius-lg);
    transition: transform var(--transition), box-shadow var(--transition);
}

.about__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.about__card--primary {
    background: linear-gradient(135deg, var(--color-primary), #3b82f6);
    color: white;
}

.about__card--secondary {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

.about__card--accent {
    background: linear-gradient(135deg, var(--color-accent), #fbbf24);
    color: white;
}

.about__card i {
    font-size: 28px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.about__card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.about__card p {
    opacity: 0.85;
    font-size: 14px;
}

/* --- Teenused --- */
.services {
    background: var(--color-bg);
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 32px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.service-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 22px;
    flex-shrink: 0;
}

.service-card__icon--secondary {
    background: #fef3c7;
    color: var(--color-accent-dark);
}

.service-card__icon--accent {
    background: #e0f2fe;
    color: #0284c7;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card__body p {
    margin-bottom: 16px;
}

.service-card__list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.service-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.service-card__list li i {
    color: var(--color-success);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-card__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-card__columns h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--color-text-dark);
}

/* --- Partnerid --- */
.partners {
    background: var(--color-bg-alt);
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.partner-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* --- Galerii --- */
.gallery {
    background: var(--color-bg);
}

.gallery__grid {
    column-count: 4;
    column-gap: 12px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform var(--transition), opacity var(--transition);
    display: block;
    text-decoration: none;
    break-inside: avoid;
    margin-bottom: 12px;
}

.gallery__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition), opacity 0.4s ease;
    opacity: 0.6;
    background: #e2e8f0;
}

.gallery__img--loaded {
    opacity: 1;
    background: transparent;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.1);
}

/* Skeletoni shimmer efekt laadivatele piltidele */
.gallery__img:not(.gallery__img--loaded) {
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.gallery__item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 2;
}

.gallery__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.gallery__item:hover::before,
.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* --- CTA --- */
.cta {
    background: linear-gradient(135deg, var(--color-primary), #3b82f6);
    padding: 80px 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: white;
    margin-bottom: 8px;
}

.cta__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.cta .btn--primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.cta .btn--primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* --- Kontakt --- */
.contact {
    background: var(--color-bg-alt);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__item {
    display: flex;
    gap: 16px;
}

.contact__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 18px;
    flex-shrink: 0;
}

.contact__item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact__item p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.contact__item a {
    color: var(--color-text);
}

.contact__item a:hover {
    color: var(--color-primary);
}

.contact__social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.contact__social a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text);
    font-size: 14px;
    transition: color var(--transition);
}

.contact__social a:hover {
    color: var(--color-primary);
}

.contact__social i {
    font-size: 16px;
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
}

/* --- Jalus --- */
.footer {
    background: var(--color-bg-dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer__brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer__links h3 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 6px 0;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: white;
}

.footer__social h3 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    font-size: 16px;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-links a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer__bottom a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Tagasi üles --- */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__visual {
        flex-direction: row;
    }

    .about__card {
        flex: 1;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery__item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    /* Mobiilinavigatsioon */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        transition: transform var(--transition);
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav__link {
        padding: 14px 16px;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.85);
        border-radius: var(--radius-sm);
    }

    .nav__link:hover,
    .nav__link.active {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        justify-content: center;
        background: var(--color-primary);
        color: white !important;
    }

    .burger {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
        justify-content: center;
    }

    .hero__scroll {
        display: none;
    }

    /* About */
    .about__visual {
        flex-direction: column;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    /* Teenused */
    .service-card {
        padding: 24px;
    }

    .service-card__list {
        grid-template-columns: 1fr;
    }

    .service-card__columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Galerii */
    .gallery__grid {
        column-count: 2;
    }

    /* CTA */
    .cta__inner {
        flex-direction: column;
        text-align: center;
    }

    /* Kontakt */
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__map {
        height: 300px;
    }

    /* Jalus */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Partnerid */
    .partners__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__stats {
        gap: 16px;
    }

    .gallery__grid {
        column-count: 1;
    }

    .partners__grid {
        grid-template-columns: 1fr;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .lang-switcher {
        gap: 2px;
        margin-left: 6px;
    }

    .lang-switcher__btn {
        font-size: 10px;
        padding: 4px 7px;
        letter-spacing: 0.3px;
    }
}

/* --- Animatsioonid --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Overlay mobiilimenüüle --- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}