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

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --text: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── HEADER ─── */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo-text strong {
    font-size: 0.95rem;
    color: var(--primary);
}

.logo-text span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ─── NAV ─── */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: space-between;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-list > li > a {
    display: block;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--secondary);
    background: rgba(52,152,219,0.08);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 100;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: 6px;
    border-top: 3px solid var(--secondary);
    transition: opacity 0.1s ease;
}

/* Opened via JS (desktop hover) or JS (mobile tap) */
.dropdown.is-open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--secondary);
    padding-left: 1.5rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.lang-btn {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border: 2px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: white;
}

/* ─── HERO (homepage) ─── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 5rem 0;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-text .efa-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    opacity: 0.92;
    margin-bottom: 0.75rem;
}

.hero-text .tagline {
    font-size: 0.95rem;
    opacity: 0.75;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-photo {
    position: relative;
}

.hero-photo img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: block;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem 0;
}

.page-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 0.4rem;
}

.page-hero p {
    opacity: 0.82;
    font-size: 1.05rem;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

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

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* ─── WARNING ─── */
.warning {
    background: #fff8e1;
    padding: 1.25rem 0;
}

.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-left: 4px solid #f39c12;
    padding: 1.25rem 1.5rem;
    border-radius: 0 6px 6px 0;
    box-shadow: var(--shadow);
}

.warning-box .warning-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.warning-box strong {
    display: block;
    color: #d68910;
    margin-bottom: 0.25rem;
}

/* ─── SECTIONS ─── */
.section {
    padding: 4rem 0;
}

.section-gray {
    background: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* ─── ABOUT (homepage teaser) ─── */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-teaser-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-teaser-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ─── SERVICES GRID ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
    text-decoration: none;
    color: var(--text);
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

.service-card .read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 600;
}

/* ─── ABOUT PAGE ─── */
.about-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.about-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.02rem;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
}

/* ─── CONTENT PAGE (service detail) ─── */
.content-page {
    max-width: 860px;
    margin: 0 auto;
}

.content-page p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.02rem;
}

.content-page h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.content-page h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.highlight-box {
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin: 0;
    color: var(--text-light);
}

/* ─── STEPS ─── */
.steps-list {
    list-style: none;
    counter-reset: steps;
    margin: 2rem 0;
}

.steps-list li {
    counter-increment: steps;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.steps-list li::before {
    content: counter(steps);
    background: var(--secondary);
    color: white;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

/* ─── CONTACT PAGE ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item .icon {
    font-size: 1.3rem;
    min-width: 1.75rem;
    text-align: center;
    margin-top: 1px;
}

.contact-item a {
    color: var(--secondary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item small {
    display: block;
    color: var(--text-light);
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52,152,219,0.12);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.consent-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.form-note {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    text-align: center;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.footer-brand strong {
    display: block;
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.footer-brand p,
.footer-brand a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.8;
    transition: var(--transition);
}

.footer-brand a:hover {
    color: white;
}

.footer-links h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 2;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
    .about-photo {
        max-width: 260px;
        position: static;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow);
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav.open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-list > li {
        border-bottom: 1px solid var(--border);
    }

    .nav-list > li > a {
        border-radius: 0;
        padding: 0.75rem 0;
    }

    .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: none;
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0.5rem 1rem;
        border-top: none;
    }

    .dropdown.is-open .dropdown-menu {
        display: block;
    }

    .language-switcher {
        padding: 0.75rem 0;
        border-top: 1px solid var(--border);
        margin-top: 0.25rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .about-teaser {
        grid-template-columns: 1fr;
    }

    .about-teaser-photo {
        max-width: 220px;
    }

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

    .page-hero h1 {
        font-size: 1.75rem;
    }
}

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

    .hero {
        padding: 3.5rem 0;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
