/*
Theme Name: Eltove
Theme URI: https://eltove.ee
Description: Eltove custom teema - mobiilside taristu ja eriehitustööd
Author: Eltove
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: eltove
*/

/* ===========================
   CSS CUSTOM PROPERTIES
   CVI värvid: #0001FE (sinine), #00B4B1 (teal)
   Kujundus: index.html Tailwind moodi
   =========================== */
:root {
    --eltove-blue: #0001FE;
    --eltove-teal: #00B4B1;
    --eltove-teal-dark: #009E9B;
    --eltove-white: #FFFFFF;
    --eltove-black: #0f172a;
    --eltove-slate-900: #0f172a;
    --eltove-slate-800: #1e293b;
    --eltove-slate-700: #334155;
    --eltove-slate-100: #f1f5f9;
    --eltove-slate-50: #f8fafc;
    --eltove-gray-50: #f9fafb;
    --eltove-gray-100: #f3f4f6;
    --eltove-gray-300: #d1d5db;
    --eltove-gray-400: #9ca3af;
    --eltove-gray-500: #6b7280;
    --eltove-gray-600: #4b5563;
    --eltove-gray-700: #374151;
    --font-body: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: 'Rockwell Nova', 'Rockwell', 'Rokkitt', Georgia, serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 90px; }
body.admin-bar { scroll-padding-top: 122px; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--eltove-slate-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--eltove-gray-50);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===========================
   NAVIGATION (fixed, transparent → dark on scroll)
   =========================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 1.25rem 0;
    transition: all 0.3s;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header.scrolled {
    background: var(--eltove-slate-900);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 0.75rem 0;
}
.site-header.menu-open { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.site-logo {
    display: flex;
    align-items: center;
}
.site-logo__img {
    height: 36px;
    width: auto;
}
.back-link {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    opacity: 0.75;
}
.back-link:hover {
    color: var(--eltove-teal);
    opacity: 1;
}

.site-nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    height: auto;
    padding: 1.25rem 1.5rem;
    pointer-events: none;
    transition: padding 0.3s;
}
.site-nav.scrolled { padding: 0.75rem 1.5rem; }
.site-nav ul {
    display: flex; gap: 2rem; align-items: center;
    pointer-events: auto;
}
.site-nav a {
    color: var(--eltove-gray-300);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.site-nav a:hover { color: var(--eltove-teal); }

.nav-cta {
    background: var(--eltove-teal);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(0, 180, 177, 0.3);
    transition: background 0.3s;
}
.nav-cta:hover { background: var(--eltove-teal-dark); color: #fff !important; }

.nav-toggle {
    display: none; outline: none;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: #fff; margin: 5px 0; transition: all 0.3s;
}
/* Desktop: peidame mobiili-ainult elemendid */
.site-nav__logo { display: none; }
.nav-cta--mobile-btn { display: none; }

/* ===========================
   HERO (fullscreen, bg image, gradient overlay)
   =========================== */
.hero { background: var(--eltove-slate-900);
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__bg img,
.hero__bg video {
    width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,0.55);
}
.hero__content {
    position: relative; z-index: 10;
    max-width: 48rem;
    padding-top: 5rem;
}
.hero__badge {
    display: inline-block;
    background: rgba(0,180,177,0.2);
    border: 1px solid rgba(0,180,177,0.5);
    color: var(--eltove-teal);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--eltove-teal); }
.hero__desc {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
    max-width: 42rem;
    margin-bottom: 2rem;
}
.hero__highlight { color: var(--eltove-teal); font-weight: 600; }
.hero__buttons {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.hero__buttons .btn {
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem 2rem; font-weight: 700; font-size: 1.125rem;
    border-radius: 4px; border: 2px solid transparent;
    cursor: pointer; transition: all 0.3s; font-family: var(--font-body);
}
.btn--teal {
    background: var(--eltove-teal); color: #fff;
    box-shadow: 0 4px 14px rgba(0,180,177,0.3);
}
.btn--teal:hover { background: var(--eltove-teal-dark); color: #fff; }
.btn--outline-white {
    background: transparent; color: #fff;
    border-color: #fff;
}
.btn--outline-white:hover { background: #fff; color: var(--eltove-slate-900); }
.btn--teal-solid {
    background: var(--eltove-teal); color: #fff;
    border-radius: 8px; font-size: 1rem; padding: 1rem;
    box-shadow: 0 4px 14px rgba(0,180,177,0.2);
}
.btn--teal-solid:hover { background: var(--eltove-teal-dark); }
.btn--blue {
    background: var(--eltove-blue); color: #fff;
}
.btn--blue:hover { background: #0001CC; color: #fff; }

/* ===========================
   PARTNERS BAR (6-column grid)
   =========================== */
.partners {
    background: #fff; padding: 2rem 0; border-bottom: none;
    position: relative; overflow: hidden;
}
.partners::before,
.partners::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.partners::before {
    left: 0; background: linear-gradient(90deg, #fff 0%, transparent 100%);
}
.partners::after {
    right: 0; background: linear-gradient(90deg, transparent 0%, #fff 100%);
}
.partners__label {
    text-align: center; color: var(--eltove-gray-500);
    font-size: 0.875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}
.partners__marquee {
    overflow: hidden; width: 100%;
}
.partners__track {
    display: flex; align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partners__marquee:hover .partners__track {
    animation-play-state: paused;
}
.partner-box {
    display: flex; align-items: center; justify-content: center;
    padding: 1rem 2.5rem;
    flex-shrink: 0;
    transition: all 0.3s;
}
.partner-box a {
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    width: 100%; height: 100%;
}
.partner-box__logo {
    height: 32px; width: auto; max-width: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s;
}
.partner-box:hover .partner-box__logo {
    opacity: 1;
}

/* ===========================
   SECTION ABOUT (2-col: image + text + checklist)
   =========================== */
.section-about { padding: 2.5rem 0; background: #fff; }
.about-grid {
    display: flex; gap: 4rem; align-items: center;
}
.about-grid__image { flex: 1; position: relative; }
.about-grid__image img {
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    position: relative; z-index: 1;
}
.about-grid__badge {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--eltove-teal); padding: 2rem; border-radius: 12px;
    color: #fff; z-index: 2;
}
.about-grid__badge .num { font-size: 2.5rem; font-weight: 700; }
.about-grid__badge .label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }
.about-grid__text { flex: 1; }
.section-label {
    color: var(--eltove-teal);
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; font-size: 0.875rem; margin-bottom: 0.5rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700; color: var(--eltove-slate-900);
    margin-bottom: 1.5rem; line-height: 1.2;
}
.about-grid__text p:not(.section-label) {
    color: var(--eltove-gray-600); line-height: 1.7; margin-bottom: 1.5rem;
}
.checklist { margin-top: 0.5rem; }
.checklist li {
    display: flex; align-items: center; gap: 0.75rem;
    font-weight: 500; color: var(--eltove-slate-800);
    margin-bottom: 1rem;
}
.checklist__icon {
    width: 28px; height: 28px;
    background: rgba(0,180,177,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--eltove-teal); font-size: 1rem; flex-shrink: 0;
}

/* ===========================
   GALLERY SECTION
   =========================== */
.section-gallery {
    padding: 2.5rem 0;
    background: var(--eltove-slate-900);
}
.section-gallery .section-label { color: var(--eltove-teal); }
.section-gallery .section-title { color: #fff; }
.section-gallery .section-header {
    text-align: center; max-width: 42rem; margin: 0 auto 3rem;
}
.section-gallery .section-header p:not(.section-label) {
    color: var(--eltove-gray-400);
}

/* Gallery Grid - CSS Grid Masonry */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item.hidden {
    display: none;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}
.gallery-item__overlay span {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.gallery-item--wide {
    grid-column: span 2;
}
.gallery-item--tall {
    grid-row: span 2;
}
.gallery-more {
    text-align: center;
    margin-top: 1rem;
}
.gallery-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--eltove-teal);
    color: var(--eltove-teal);
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.gallery-more__btn:hover {
    background: var(--eltove-teal);
    color: #fff;
}

/* Gallery Text Block */
.gallery-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}
.gallery-text p {
    color: var(--eltove-gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-style: italic;
}

/* Video Cards */
.gallery-videos {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--eltove-slate-700);
}
.gallery-videos__title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.gallery-videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.video-card {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--eltove-slate-800);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover .video-card__thumb img {
    transform: scale(1.05);
}
.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}
.video-card:hover .video-card__play {
    background: rgba(0,0,0,0.15);
}
.video-card__play svg {
    transition: transform 0.3s ease;
}
.video-card:hover .video-card__play svg {
    transform: scale(1.15);
}
.video-card__info {
    padding: 1rem 1.25rem 1.25rem;
}
.video-card__info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}
.video-card__info p {
    color: var(--eltove-gray-400);
    font-size: 0.8125rem;
}

/* Gallery Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-item--wide {
        grid-column: span 2;
    }
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item.hidden-mobile {
        display: none;
    }
    .gallery-item--wide {
        grid-column: span 2;
    }
    .gallery-item--tall {
        grid-row: span 1;
    }
    .gallery-videos__grid {
        grid-template-columns: 1fr;
        max-width: 28rem;
        margin: 0 auto;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
    .gallery-item--wide {
        grid-column: span 2;
    }
}

/* Image Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}
.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.lightbox.is-open .lightbox__content {
    transform: scale(1);
}
.lightbox__img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox__caption {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 1rem;
    text-align: center;
}
.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 2;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.lightbox__close:hover { color: var(--eltove-teal); }
.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--eltove-teal);
    color: #fff;
}

/* Video Popup */
.video-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-popup.is-open {
    opacity: 1;
    visibility: visible;
}
.video-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}
.video-popup__content {
    position: relative;
    max-width: min(90vw, 960px);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.video-popup.is-open .video-popup__content {
    transform: scale(1);
}
.video-popup__close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
    z-index: 1;
}
.video-popup__close:hover {
    color: var(--eltove-teal);
}
.video-popup__player {
    width: 100%;
    max-height: 80vh;
    border-radius: 0.5rem;
    background: #000;
    outline: none;
}

/* ===========================
   SERVICES SECTION (4 cards)
   =========================== */
.section-services { padding: 2.5rem 0; background: var(--eltove-slate-50); }
.section-services .section-header {
    text-align: center; max-width: 42rem; margin: 0 auto 1.5rem;
}
.section-services .section-header p:not(.section-label) {
    color: var(--eltove-gray-600);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.service-card {
    background: #fff; border-radius: 12px; padding: 1.25rem;
    border: 1px solid var(--eltove-gray-100);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex; flex-direction: column;
}
.service-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.service-card__icon {
    width: 64px; height: 64px;
    background: var(--eltove-slate-50); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.75rem; font-size: 2rem;
    transition: background 0.3s;
}
.service-card:hover .service-card__icon { background: rgba(0,180,177,0.1); }
.service-card h3 {
    font-size: 1.125rem; font-weight: 700;
    color: var(--eltove-slate-900); margin-bottom: 0.5rem;
}
.service-card > p {
    color: var(--eltove-gray-500); font-size: 0.8125rem;
    line-height: 1.6; margin-bottom: 1.5rem;
}
.service-card__list {
    margin-bottom: 1.5rem;
}
.service-card__list li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.75rem; color: var(--eltove-gray-500);
    margin-bottom: 0.5rem;
}
.service-card__list li::before {
    content: '';
    width: 5px; height: 5px; background: var(--eltove-teal);
    border-radius: 50%; flex-shrink: 0; margin-top: 0.35rem;
}
.service-card__link {
    display: inline-flex; align-items: center; gap: 0.25rem;
    color: var(--eltove-teal); font-weight: 600; font-size: 0.875rem;
    transition: gap 0.3s; margin-top: auto;
}
.service-card:hover .service-card__link { gap: 0.5rem; }
.service-card__link::after { content: '→'; }

/* ===========================
   EQUIPMENT (dark bg, 2 col)
   =========================== */
.section-equipment {
    padding: 2.5rem 0;
    background: var(--eltove-slate-900);
    color: #fff; position: relative; overflow: hidden;
}
.section-equipment::before, .section-equipment::after {
    content: ''; position: absolute;
    width: 16rem; height: 16rem;
    background: rgba(0,180,177,0.1);
    border-radius: 50%; filter: blur(48px);
}
.section-equipment::before { top: -4rem; right: -4rem; }
.section-equipment::after { bottom: -4rem; left: -4rem; }
.equipment-grid {
    display: flex; gap: 3rem; align-items: center;
    position: relative; z-index: 1;
}
.equipment-grid__text { flex: 1; }
.equipment-grid__text .section-label { color: var(--eltove-teal); /* teal on dark bg for contrast */ }
.equipment-grid__text .section-title { color: #fff; }
.equipment-grid__text > p { color: var(--eltove-gray-400); line-height: 1.7; margin-bottom: 2rem; }
.equipment-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.equipment-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.equip-card {
    background: rgba(255,255,255,0.05); padding: 1.5rem;
    border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
}
.equip-card__icon { font-size: 2rem; color: var(--eltove-teal); margin-bottom: 1rem; }
.equip-card__thumb {
    width: 100%; height: 80px; border-radius: 6px; overflow: hidden; margin-bottom: 1rem;
}
.equip-card__thumb img {
    width: 100%; height: 100%; object-fit: cover;
}
.equip-card h5 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.equip-card p { font-size: 0.875rem; color: var(--eltove-gray-400); }
.equipment-grid__image { flex: 1; }
.equipment-grid__image img {
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border: 4px solid var(--eltove-slate-700);
}

/* ===========================
   CTA / PROCESS (inside equipment section)
   =========================== */
.equipment-cta {
    margin-top: 0; padding-top: 0;
    text-align: center; position: relative; z-index: 1;
}
.equipment-cta__title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700; color: #fff; margin-bottom: 2rem;
}
.steps-grid {
    display: flex; gap: 2rem; max-width: 60rem; margin: 0 auto;
    justify-content: center;
}
.step-card {
    flex: 1;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(4px);
    padding: 1.5rem; border-radius: 8px;
    color: #fff; border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s; cursor: default;
}
.step-card:hover { transform: translateY(-0.5rem); background: rgba(255,255,255,0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.step-card__num { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--eltove-teal); }
.step-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; opacity: 0.85; }

/* ===========================
   CONTACT (2 col: info + form)
   =========================== */
.section-contact { padding: 2.5rem 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.contact-info .section-label { color: var(--eltove-teal); }
.contact-info .section-title { margin-bottom: 1rem; }
.contact-item {
    display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.5rem;
}
.contact-item__icon {
    background: var(--eltove-slate-100); padding: 0.75rem; border-radius: 8px;
    color: var(--eltove-teal); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.contact-item h5 { font-weight: 700; font-size: 1.125rem; color: var(--eltove-slate-900); margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { color: var(--eltove-gray-600); font-size: 0.875rem; }
.contact-item a:hover { color: var(--eltove-teal); }


.contact-form {
    background: var(--eltove-slate-900); padding: 1.5rem 2rem; border-radius: 16px;
    border: none;
}
.contact-form h3 {
    font-size: 1.5rem; font-weight: 700; color: #fff;
    margin-bottom: 0.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.5rem; }
.form-group { margin-bottom: 0.5rem; }
.form-group label {
    display: block; font-size: 0.875rem; font-weight: 600;
    color: var(--eltove-gray-700); margin-bottom: 0.25rem;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border-radius: 8px;
    border: 1px solid var(--eltove-gray-300); font-family: var(--font-body);
    font-size: 1rem; outline: none; transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--eltove-teal);
    box-shadow: 0 0 0 3px rgba(0,180,177,0.15);
}


/* CF7 form layout */
.wpcf7-form .cf7-row { margin-bottom: 0.25rem; }
.wpcf7-form .cf7-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpcf7-form .cf7-field { margin: 0; display: flex; flex-direction: column; }
.wpcf7-form .cf7-field label { display: flex; flex-direction: column; flex: 1; }
.wpcf7-form .cf7-field label span.wpcf7-form-control-wrap { margin-top: auto; }
.wpcf7-form .cf7-field .wpcf7-form-control { display: block; }
.wpcf7-form .cf7-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--eltove-gray-400); margin-bottom: 0.2rem; letter-spacing: 0.05em; text-transform: uppercase; }
.wpcf7-form .cf7-field label br { display: none; }
.wpcf7-form input[type='text'], .wpcf7-form input[type='email'], .wpcf7-form input[type='tel'] { width: 100%; padding: 0.55rem 0.875rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 0.875rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; }
.wpcf7-form textarea, .wpcf7-form .wpcf7-textarea { width: 100%; height: 85px !important; max-height: 85px !important; padding: 0.55rem 0.875rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 0.9375rem; outline: none; resize: none; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box !important; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--eltove-teal); box-shadow: 0 0 0 3px rgba(0,180,177,0.15); }
.wpcf7-form .cf7-submit { margin-top: 0.25rem; }
.wpcf7-form input[type='submit'] { background: var(--eltove-teal); color: #fff; border: none; padding: 0.7rem 2rem; border-radius: 8px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.wpcf7-form input[type='submit']:hover { background: #009e9b; }
@media (max-width: 600px) { .wpcf7-form .cf7-two-col { grid-template-columns: 1fr; } }

/* ===========================
   FOOTER (dark)
   =========================== */
.site-footer {
    background: var(--eltove-slate-900); color: var(--eltove-gray-400);
    padding: 2.5rem 0; border-top: 1px solid var(--eltove-slate-800);
}
.footer-logo-row {
    margin-bottom: 1rem;
}
.footer-bottom-row {
    display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.footer-logo__img {
    height: 32px;
    width: auto;
    transition: filter 0.3s;
}
.footer-logo__img:hover {
    opacity: 0.8;
}
.footer-tagline { font-size: 0.875rem; margin: 0; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; font-weight: 500; }
.footer-links a:hover { color: var(--eltove-teal); }
.footer-copy { font-size: 0.875rem; }

/* ===========================
   WP ADMIN BAR FIX
   =========================== */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .equipment-grid { flex-direction: column; }
    .about-grid { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { display: contents; }
    .contact-info > *:not(.contact-map) { order: 1; }
    .contact-map { order: 3; min-height: 250px; position: relative; border-radius: 12px; overflow: hidden; margin-top: 0.75rem; }
    .contact-map iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    .contact-form { order: 2; }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; }
    .equipment-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    /* ---- Hamburger nupp ---- */
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center;
        position: relative; z-index: 2;
    }
    .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ---- Full-screen mobiilimenüü ---- */
    .site-nav {
        position: fixed; inset: 0;
        width: 100%; height: 100%; z-index: 10000;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        display: flex; flex-direction: column; align-items: center;
        gap: 0; padding: 5rem 1.5rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    .site-nav.is-open { transform: translateX(0); }

    /* Logo menüü sees */
    .site-nav__logo { display: none; }
    .site-nav__logo img { height: 34px; width: auto; max-width: 120px; }

    /* X nupp z-index üle menüü */
    .nav-toggle { z-index: 10001; }

    /* Desktop CTA peidus */
    .nav-cta-desktop { display: none; }

    /* Lingid */
    .site-nav ul {
        flex-direction: column; align-items: center; gap: 0;
        width: 100%; max-width: 320px;
        margin: 0 auto 2rem;
    }
    .site-nav ul li { width: 100%; border: none; }
    .site-nav ul li:first-child { border: none; }
    .site-nav ul a {
        display: block; text-align: center;
        font-size: 1.35rem; font-weight: 700; color: #f1f5f9 !important;
        padding: 0.85rem; letter-spacing: 0.02em;
        transition: color 0.2s, transform 0.2s;
        border-radius: 8px;
    }
    .site-nav ul a:hover { color: var(--eltove-teal) !important; transform: scale(1.05); }

    /* Küsi pakkumist nupp mobiilis */
    .nav-cta--mobile-btn { margin-top: auto;
        display: inline-block;
        background: var(--eltove-teal); color: #fff !important;
        border-radius: 12px; font-weight: 700; font-size: 1.1rem;
        padding: 0.9rem 3rem; letter-spacing: 0.02em;
        transition: background 0.2s, transform 0.2s;
    }
    .nav-cta--mobile-btn:hover { background: var(--eltove-teal-dark); transform: scale(1.03); }

    /* Footer logo keskel mobiilis */
    .footer-logo-row { text-align: center; }
    .footer-bottom-row { flex-direction: column; text-align: center; }
    .about-grid__badge { display: none; }
    .hero__buttons { flex-direction: column; }
    .hero__buttons .btn { width: 100%; }
    .meist-grid { flex-direction: column; }
    .meist-grid__stats { flex-direction: row; }
    .meist-certs__grid { grid-template-columns: repeat(2, 1fr); }
    .meist-partners__list { gap: 0.75rem; }
    .meist-partners__list span { padding: 0.5rem 1rem; font-size: 0.813rem; }
}

/* ===========================
   MEIST (About) PAGE
   =========================== */
.meist-hero {
    position: relative; height: 40vh; min-height: 280px; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
}
.meist-hero__bg {
    position: absolute; inset: 0;
}
.meist-hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.meist-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(15,23,42,0.6));
}
.meist-hero .container {
    position: relative; z-index: 1; text-align: center;
}
.meist-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: #fff;
}

/* About content */
.meist-content {
    padding: 5rem 0; background: var(--eltove-slate-900); color: #fff;
}
.meist-grid {
    display: flex; gap: 4rem; align-items: flex-start;
}
.meist-grid__text {
    flex: 2;
}
.meist-grid__text .section-label { color: var(--eltove-teal); }
.meist-grid__text .section-title { margin-bottom: 1.5rem; }
.meist-grid__text p {
    color: var(--eltove-gray-400); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem;
}
.meist-grid__stats {
    flex: 1; display: flex; flex-direction: column; gap: 2rem;
}
.meist-stat {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 1.5rem; text-align: center;
}
.meist-stat__num {
    display: block; font-size: 2.5rem; font-weight: 700; color: var(--eltove-teal);
    line-height: 1;
}
.meist-stat__label {
    display: block; font-size: 0.813rem; color: var(--eltove-gray-400); margin-top: 0.5rem;
    text-transform: uppercase; letter-spacing: 0.05em;
}

/* Partners */
.meist-partners {
    padding: 3rem 0; background: var(--eltove-slate-800); text-align: center;
}
.meist-partners h3 {
    font-size: 1rem; font-weight: 600; color: var(--eltove-gray-400);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem;
}
.meist-partners__list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.meist-partners__list span {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 0.625rem 1.25rem; border-radius: 6px; color: #fff;
    font-size: 0.875rem; font-weight: 500;
}

/* Certificates */
.meist-certs {
    padding: 5rem 0; background: var(--eltove-slate-900); color: #fff; text-align: center;
}
.meist-certs .section-label { color: var(--eltove-teal); }
.meist-certs .section-title { margin-bottom: 3rem; }
.meist-certs__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    max-width: 60rem; margin: 0 auto;
}
.meist-cert {
    background: #fff; border-radius: 12px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.meist-cert:hover {
    transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.meist-cert img {
    width: 100%; height: auto; display: block;
}
.meist-cert__info {
    padding: 0.75rem 1rem; background: var(--eltove-slate-800);
    display: flex; justify-content: space-between; align-items: center;
}
.meist-cert__info strong {
    color: var(--eltove-teal); font-size: 1rem;
}
.meist-cert__info span {
    color: var(--eltove-gray-400); font-size: 0.813rem;
}

/* ===========================
   TEENUS (Service) PAGES
   =========================== */
.teenus-hero {
    position: relative; height: 55vh; min-height: 420px; display: flex; align-items: flex-end;
    overflow: hidden;
}
.teenus-hero__bg { position: absolute; inset: 0; }
.teenus-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.teenus-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.4) 60%, rgba(15,23,42,0.15) 100%);
}
.teenus-hero .container { position: relative; z-index: 1; padding-bottom: 2.5rem; text-align: left; width: 100%; }
.teenus-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; text-align: left;
}

.teenus-body {
    padding: 3rem 0; background: var(--eltove-slate-900); color: #fff;
}
.teenus-body .teenus-intro-block h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: #fff; margin: 0 0 1rem;
}
.teenus-body .teenus-intro-block p {
    color: var(--eltove-gray-300); line-height: 1.75; margin-bottom: 1rem;
}
.teenus-body .teenus-content-block { margin-top: 2rem; }
.teenus-body .teenus-content-block h3 { font-size: 1.25rem; font-weight: 700; color: var(--eltove-teal); margin: 1.5rem 0 0.75rem; }
.teenus-body .teenus-content-block p { color: var(--eltove-gray-300); line-height: 1.75; margin-bottom: 1rem; }
.teenus-body .teenus-content-block ul { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.teenus-body .teenus-content-block ul li { color: var(--eltove-gray-300); padding: 0.35rem 0 0.35rem 1.5rem; position: relative; }
.teenus-body .teenus-content-block ul li::before { content: ''; position: absolute; left: 0; top: 0.75rem; width: 8px; height: 8px; border-radius: 50%; background: var(--eltove-teal); }
.teenus-body .teenus-content-block ul li strong { color: #fff; }
.teenus-intro {
    padding: 1.5rem 0 0; background: var(--eltove-slate-900); color: #fff;
}
.teenus-intro-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.teenus-intro-grid__title h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: #fff; margin: 0;
}
/* Full-width intro (no video) */
.teenus-intro-single { max-width: 800px; padding-bottom: 3rem; }
.teenus-intro-single h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: #fff; margin: 0 0 1rem; }
.teenus-intro-single p { color: var(--eltove-gray-300); line-height: 1.75; }
.teenus-content {
    padding: 1rem 0 4rem; background: var(--eltove-slate-900); color: #fff;
}
.teenus-grid {
    display: grid; grid-template-columns: 7fr 3fr; gap: 3rem; align-items: start;
}
.teenus-grid__sidebar {
    position: sticky; top: 100px; align-self: start;
}
.teenus-grid__main h2 {
    font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem;
}
.teenus-grid__main h3 {
    font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem;
    color: var(--eltove-teal);
}
.teenus-grid__main p {
    color: var(--eltove-gray-400); line-height: 1.8; margin-bottom: 1rem; font-size: 0.938rem;
}
.teenus-grid__main ul {
    list-style: none; padding: 0; margin-bottom: 1.5rem;
}
.teenus-grid__main ul li {
    padding: 0.5rem 0 0.5rem 1.5rem; position: relative;
    color: var(--eltove-gray-400); font-size: 0.938rem; line-height: 1.6;
}
.teenus-grid__main ul li::before {
    content: ''; position: absolute; left: 0; top: 0.85rem;
    width: 6px; height: 6px; border-radius: 50%; background: var(--eltove-teal);
}
.teenus-grid__main ul li strong { color: #fff; }

.teenus-highlight {
    background: rgba(0,180,177,0.08); border: 1px solid rgba(0,180,177,0.2);
    border-radius: 12px; padding: 1.5rem 2rem; margin: 2rem 0;
    display: flex; align-items: center; gap: 1.5rem;
}
.teenus-highlight__num {
    font-size: 2.5rem; font-weight: 700; color: var(--eltove-teal); line-height: 1;
}
.teenus-highlight__text {
    font-size: 1rem; color: var(--eltove-gray-300);
}

.teenus-cta-card {
    background: linear-gradient(135deg, var(--eltove-teal), var(--eltove-teal-dark));
    border-radius: 12px; padding: 2rem; margin-bottom: 1.5rem;
}
.teenus-cta-card h4 { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.teenus-cta-card p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin-bottom: 1.25rem; }
.teenus-cta-card .btn { width: 100%; text-align: center; background: #fff; color: var(--eltove-teal); border: none; }
.teenus-cta-card .btn:hover { background: var(--eltove-slate-100); }

.teenus-info-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 1.5rem;
}
.teenus-info-card h5 {
    font-size: 0.75rem; font-weight: 600; color: var(--eltove-teal);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem;
}
.teenus-info-card h5:not(:first-child) { margin-top: 1rem; }
.teenus-info-card p { color: var(--eltove-gray-400); font-size: 0.875rem; margin: 0; }

.teenus-content-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.teenus-cta-section {
    padding: 2.5rem 0; background: var(--eltove-slate-800);
}
.teenus-cta-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}

@media (max-width: 768px) {
    .teenus-intro-grid { grid-template-columns: 1fr; }
    .teenus-grid { grid-template-columns: 1fr; }
    .teenus-content-grid { grid-template-columns: 1fr; }
    .teenus-cta-row { grid-template-columns: 1fr; }
    .meist-certs__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Teenuse galerii */
.teenus-gallery { padding: 0 0 4rem; background: var(--eltove-slate-900); }


/* CF7 success/error messages */
.wpcf7 form.sent .wpcf7-response-output { color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(0,180,177,0.15); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output { color: #ff6b6b; border-color: rgba(255,107,107,0.3); background: rgba(255,107,107,0.1); }
.wpcf7 form .wpcf7-response-output { color: #fff; }
.wpcf7 form .wpcf7-not-valid-tip { color: #ff6b6b; font-size: 0.8rem; }

/* Privacy notice under form */
.form-privacy-notice { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.75rem; line-height: 1.4; text-align: center; }

.form-privacy-notice a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.form-privacy-notice a:hover { color: #fff; }

/* Tunnustused (inline in content) */
.tunnustused--inline { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); }
.tunnustused--inline h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1.25rem; }
.tunnustused__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; width: 100%; }
.tunnustused__item { width: 100%; }
.tunnustused__item img { width: 100%; height: auto; display: block; border-radius: 8px; }
@media (max-width: 992px) {
    .tunnustused__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .tunnustused__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

/* Language switcher */
.nav-lang { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-lang .lang-switcher__btn { padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-decoration: none; color: rgba(255,255,255,0.5); border-radius: 4px; transition: all 0.2s; }
.nav-lang .lang-switcher__btn.is-active { color: #fff; background: var(--eltove-teal); }
.nav-lang .lang-switcher__btn:hover { color: #fff; }

/* Language switcher mobile/tablet centering */
@media (max-width: 768px) {
    .nav-lang { justify-content: center; margin-top: 0.5rem; }
    .nav-lang .lang-switcher__btn { padding: 0.15rem 0.35rem; font-size: 0.65rem; border-radius: 3px; }
}

/* ── 404 Page ───────────────────────────────────────────── */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--eltove-black);
    padding: 8rem 1rem 4rem;
}
.error-404__content {
    text-align: center;
    max-width: 520px;
}
.error-404__code {
    display: block;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--eltove-teal);
    margin-bottom: 1rem;
}
.error-404 h1 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.error-404 p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
@media (max-width: 480px) {
    .error-404__code { font-size: 5rem; }
    .error-404 h1 { font-size: 1.35rem; }
}


/* Hide reCAPTCHA badge (allowed when privacy notice is visible in form) */
.grecaptcha-badge { visibility: hidden !important; }

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--eltove-teal);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 40;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #009e9b;
    transform: translateY(-2px);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Contact map */
.contact-info {
    display: flex;
    flex-direction: column;
}
.contact-map {
    margin-top: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    flex: 1;
    position: relative;
    min-height: 180px;
}
.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}
