@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Jost:ital,wght@0,500;0,600;0,700;0,800;1,600;1,800&display=swap');

/* ── Design Tokens ────────────────────────────── */
:root {
    --white: #ffffff;
    --snow: #f5f5f3;
    --sage: #9aa09a;
    --sage-light: #b5bab5;
    --navy: #0a2540;       /* logo navy — primary text, headings, footer */
    --blue: #1a4570;       /* ocean — buttons, dividers, accents */
    --blue-light: #6b9bd2; /* light highlight, secondary surfaces */
    --black: #1a1a1a;
    --body-gray: #444444;
    --muted-gray: #777777;
    --lavender: #9595aa;
    --charcoal: #3d4050;
    --bar-height: 4px;
    --section-pad: 80px 8%;
    --max-w: 1100px;
    --font-display: 'Jost', 'Inter', sans-serif;
}

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

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

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--body-gray);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--black);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

h1 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--body-gray);
}

a { color: var(--navy); }

/* ── Header ───────────────────────────────────── */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--blue);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%;
    max-width: var(--max-w);
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 48px;
    height: auto;
    margin-right: 12px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
}

/* ── Language Selector ────────────────────────── */
.language-selector {
    display: flex;
    gap: 6px;
    z-index: 1001;
}

.language-button {
    width: 38px;
    height: 38px;
    padding: 0;
    background-color: var(--snow);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-button:hover {
    background-color: var(--sage-light);
}

.language-button.active {
    background-color: var(--blue);
    box-shadow: 0 0 0 2px var(--blue);
}

.language-flag {
    width: 22px;
    height: auto;
}

/* ── Main ─────────────────────────────────────── */
main {
    padding-top: 72px;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 8%;
    background-color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-w);
    width: 100%;
}

.hero-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-column h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.hero-text-column h1 .accent {
    color: var(--blue);
    font-style: italic;
}

.hero-text-column p {
    color: var(--muted-gray);
    font-size: 1.1rem;
    max-width: 420px;
}

.cta-button {
    display: inline-block;
    background-color: var(--blue);
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--blue-light);
    transform: translateY(-1px);
}

.hero-logo-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 100%;
    max-width: 640px;
    height: auto;
}

/* ── Sections ─────────────────────────────────── */
.section {
    padding: var(--section-pad);
    position: relative;
}

.section-content {
    max-width: var(--max-w);
    margin: 0 auto;
}

/* ── Two-Column Section Layout ────────────────── */
.section-split {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: start;
}

.section-title-column h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    white-space: nowrap;
}

.section-title-column .decorative-bar {
    width: 48px;
    height: var(--bar-height);
    background-color: var(--blue);
    border: none;
    margin: 0;
}

.section-body-column p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ── About ────────────────────────────────────── */
#about {
    background-color: #f4f6f9;
}

/* ── Services ─────────────────────────────────── */
#services {
    background-color: var(--white);
}

.services-header {
    margin-bottom: 48px;
}

.services-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.services-header .decorative-bar {
    width: 48px;
    height: var(--bar-height);
    background-color: var(--blue);
    border: none;
    margin: 0;
}

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

.service-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    align-items: start;
    padding: 0;
    transition: transform 0.2s ease;
}

.service-item:hover {
    transform: translateY(-2px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background-color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--black);
}

.service-text p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--body-gray);
    line-height: 1.6;
}

.service-text .decorative-bar {
    width: 48px;
    height: 3px;
    background-color: var(--blue);
    border: none;
    margin: 0;
}

/* ── Stagger Animation ────────────────────────── */
.stagger-animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

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

/* ── Contact ──────────────────────────────────── */
#contact {
    background-color: #f4f6f9;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-gray);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--black);
    margin: 0;
}

a.contact-item {
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    padding: 12px;
    margin: -12px;
    transition: background-color 0.2s ease;
}

a.contact-item:hover {
    background-color: rgba(74, 124, 186, 0.08);
}

a.contact-item:hover .contact-icon {
    background-color: var(--blue-light);
}

#info {
    margin-bottom: 5px;
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ── Footer ───────────────────────────────────── */
footer {
    background-color: var(--navy);
    padding: 40px 8%;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

footer .footer-cta {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 12px;
}

footer .footer-contact {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

footer .footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}
footer .footer-social a:hover {
    color: var(--white);
}

/* ── Hidden Elements ──────────────────────────── */
.pi-menu-toggler {
    position: fixed;
    right: 20px;
    bottom: 20px;
    font-size: 2rem;
    color: var(--muted-gray);
    cursor: default !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.menu {
    position: fixed;
    right: 70px;
    bottom: 20px;
    background-color: var(--navy);
    border-radius: 8px;
    padding: 12px 18px;
    display: none;
    z-index: 3;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.menu a {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.menu a:hover {
    color: var(--white);
}

#videoContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 2;
}

video {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    .service-grid {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 48px 6%;
    }

    nav {
        padding: 10px 4%;
    }

    .hero {
        padding: 40px 6%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-text-column {
        order: 1;
        align-items: center;
    }

    .hero-text-column p {
        max-width: 100%;
    }

    .hero-logo-column {
        order: 2;
    }

    .hero-logo {
        max-width: 440px;
    }

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

    .section-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .contact-grid {
        flex-direction: column;
        gap: 24px;
    }

    footer {
        padding: 32px 6%;
    }
}

@media (max-width: 480px) {
    .hero-text-column h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .language-button {
        width: 34px;
        height: 34px;
    }

    .language-flag {
        width: 18px;
    }
}
