:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --text: #0f172a;
    --muted: #475569;
    --line: #dbe4ee;
    --primary: #1d4ed8;
    --primary-hover: #1e40af;
    --dark: #0f172a;
    --dark-soft: #162033;
    --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
    --radius: 18px;
    --radius-sm: 14px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
}

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

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 96px 0;
}

.section-soft {
    background: linear-gradient(180deg, #f8fbff 0%, #eff4fa 100%);
}

.section-gallery {
    background: #ffffff;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.section-label::before {
    content: '';
    width: 22px;
    height: 2px;
    background: currentColor;
    opacity: 0.55;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2,
.about-copy h2,
.social-card h2,
.contact-section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 18px;
}

.section-heading p,
.about-copy p,
.social-card p,
.contact-section p {
    color: var(--muted);
}

.lead {
    font-size: 1.08rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(219, 228, 238, 0.75);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

.header-container {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

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

.logo-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text);
}

.logo-subtitle {
    margin-top: 4px;
    font-size: 0.92rem;
    color: var(--muted);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 28px;
    list-style: none;
}

nav a {
    position: relative;
    text-decoration: none;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.25s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    color: var(--primary);
}

nav a:hover::after,
nav a:focus-visible::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.66) 46%, rgba(15, 23, 42, 0.48) 100%),
        url('images/tlo.jpg') center center / cover no-repeat;
    color: #ffffff;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.26) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 56px 0;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}

.hero p {
    max-width: 660px;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.contact-actions,
.social-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    margin-top: 34px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border-color: var(--line);
    box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #ffffff;
    color: var(--text);
    border-color: #c7d5e4;
}

.btn-nav {
    min-height: 44px;
    padding: 0 18px;
}

.btn-full {
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: start;
}

.about-copy {
    padding-right: 10px;
}

.about-copy p + p {
    margin-top: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.feature-card,
.video-card,
.service-box,
.social-card,
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.feature-card {
    padding: 22px 20px;
}

.feature-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card span {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
}

.video-card {
    padding: 24px;
}

.video-heading h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
}

.video-frame {
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.video-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.service-box {
    position: relative;
    padding: 28px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #c9d8eb;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #e8f0ff;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 800;
}

.service-box h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text);
}

.service-box p {
    color: var(--muted);
}

.social-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 24px;
    align-items: stretch;
}

.social-card {
    padding: 34px;
}

.social-card-accent {
    background: linear-gradient(180deg, #eff5ff 0%, #f8fbff 100%);
}

.social-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 14px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-md);
}

.contact-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.section-heading-light h2,
.section-heading-light p {
    color: #ffffff;
}

.section-heading-light p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.contact-card {
    padding: 26px 24px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.contact-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.contact-card strong,
.contact-card a {
    display: block;
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1.2;
    text-decoration: none;
    word-break: break-word;
}

.contact-card p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
    justify-content: center;
    margin-top: 30px;
}

footer {
    background: #0b1220;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    padding: 22px 0;
}

footer p {
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
    font-size: 0.95rem;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.94);
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-content {
    max-width: min(90vw, 1200px);
    max-height: 84vh;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.close-lightbox,
.prev-lightbox,
.next-lightbox {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.close-lightbox:hover,
.prev-lightbox:hover,
.next-lightbox:hover {
    background: rgba(255, 255, 255, 0.18);
}

.close-lightbox {
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 2rem;
}

.prev-lightbox,
.next-lightbox {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
}

.prev-lightbox {
    left: 18px;
}

.next-lightbox {
    right: 18px;
}

@media (max-width: 1100px) {
    .about-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .header-container {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 16px 0;
    }

    nav ul {
        flex-wrap: wrap;
    }
}

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

    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .header-container {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "logo cta"
            "nav nav";
        align-items: center;
        justify-items: stretch;
        gap: 10px 12px;
        min-height: auto;
        padding: 10px 0;
    }

    .logo {
        grid-area: logo;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 10px;
        min-width: 0;
    }

    .logo img {
        width: 42px;
        height: 42px;
    }

    .logo-title {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        margin-top: 2px;
        font-size: 0.75rem;
        line-height: 1.25;
    }

    nav {
        grid-area: nav;
    }

    nav ul {
        justify-content: flex-start;
        gap: 10px 14px;
    }

    nav a {
        font-size: 0.9rem;
    }

    .btn-nav {
        grid-area: cta;
        width: auto;
        min-height: 40px;
        padding: 0 14px;
        justify-self: end;
    }

    .hero {
        min-height: 76vh;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.6rem);
    }

    .hero p {
        font-size: 1rem;
    }

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

    .gallery-grid img {
        height: 220px;
    }

    .social-card,
    .video-card,
    .service-box,
    .contact-card,
    .feature-card {
        padding: 22px 18px;
    }

    .btn,
    .btn-full {
        width: 100%;
    }

    .hero-actions,
    .contact-actions,
    .social-actions {
        flex-direction: column;
    }

    .prev-lightbox,
    .next-lightbox {
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        gap: 8px 10px;
        padding: 8px 0;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

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

    .logo-subtitle {
        display: none;
    }

    nav ul {
        gap: 8px 12px;
    }

    nav a {
        font-size: 0.86rem;
    }

    .btn-nav {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .hero {
        min-height: 72vh;
    }

    .hero-content {
        padding: 40px 0;
    }

    .eyebrow {
        font-size: 0.74rem;
        padding: 7px 12px;
    }
}
