@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #050505;
    --bg-alt: #111;
    --bg-card: #1a1a1a;
    --text: #f5f5f5;
    --muted: #b0b0b0;
    --accent: #fdc632;
    --accent-dark: #d6a323;
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

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

a {
    color: inherit;
}

section {
    padding: 4rem 5vw;
    position: relative;
    overflow: hidden;
}

.section__accent {
    display: inline-block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, rgba(253, 198, 50, 0.2), var(--accent), rgba(253, 198, 50, 0.2));
    border-radius: 999px;
    box-shadow: 0 0 15px rgba(253, 198, 50, 0.6);
    margin-bottom: 1.5rem;
}

.section__intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.section__intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

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

.btn--primary:hover {
    background: var(--accent-dark);
}

.btn--ghost {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn--ghost:hover {
    background: rgba(253, 198, 50, 0.15);
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    padding: 6rem 5vw;
    background-size: cover;
    background-position: center;
    background-color: #111;
}

.hero__brand {
    position: absolute;
    top: 1.5rem;
    left: 5vw;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(253, 198, 50, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.hero__brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.hero__brand-text span {
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.hero__brand-text small {
    display: block;
    color: var(--accent);
    font-size: 0.75rem;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.85) 100%),
        linear-gradient(120deg, rgba(253, 198, 50, 0.35), transparent 70%);
}

.hero__content {
    position: relative;
    max-width: 700px;
}

.hero__eyebrow {
    color: var(--accent);
    letter-spacing: 0.4rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

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

.hero__cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.services {
    background: var(--bg-alt);
}

.service__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1000px) {
    .service__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.75rem;
    border-radius: 1.25rem;
    transition: transform 0.2s ease;
}

.service__card:hover {
    transform: translateY(-6px);
}

.service__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(253, 198, 50, 0.15);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio {
    background: var(--bg);
}

.portfolio__filter {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.portfolio__filter select {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.portfolio__card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.portfolio__card:hover,
.portfolio__card:focus-within {
    border-color: rgba(253, 198, 50, 0.5);
    transform: translateY(-4px);
}

.portfolio__card--disabled {
    cursor: default;
    opacity: 0.75;
}

.portfolio__card--disabled:hover {
    transform: none;
    border-color: var(--border);
}

.portfolio__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.portfolio__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio__hint {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    background: rgba(0, 0, 0, 0.65);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
    font-size: 0.75rem;
    border: 1px solid rgba(253, 198, 50, 0.6);
}

.portfolio__card--disabled .portfolio__hint {
    display: none;
}

.portfolio__body {
    padding: 1.25rem;
}

.portfolio__body h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.portfolio__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

.about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
    background: var(--bg-alt);
}

.about__media {
    position: relative;
}

.about__media img {
    border-radius: 1.5rem;
    border: 2px solid var(--border);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.about__badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--accent);
}

.about__content p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.founder {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.founder__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.founder__name {
    font-weight: 600;
}

.quote {
    text-align: center;
    font-style: italic;
    background: radial-gradient(circle at top, rgba(253, 198, 50, 0.12), transparent), var(--bg);
    position: relative;
}

.quote::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.quote blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
}

.gallery {
    background: var(--bg-alt);
}

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

.gallery__grid figure {
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.gallery__grid figure[data-gallery-index] {
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery__grid figure[data-gallery-index]:hover,
.gallery__grid figure[data-gallery-index]:focus-within {
    transform: translateY(-4px);
    border-color: rgba(253, 198, 50, 0.5);
}

.gallery__grid figure[data-gallery-index]::after {
    content: '⤢';
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(253, 198, 50, 0.4);
    pointer-events: none;
}

.partners {
    text-align: center;
}

.partners__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 1rem;
}

.partners__row img {
    max-width: 120px;
    filter: grayscale(1);
    opacity: 0.7;
}

.partners .empty-state {
    color: var(--muted);
}

.empty-state {
    color: var(--muted);
    font-style: italic;
}

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.contact__map iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.contact__info {
    padding: 3rem;
}

.contact__info h2 {
    margin-bottom: 1rem;
}

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

.contact__form {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.contact__form input,
.contact__form textarea,
.newsletter input {
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.85rem 1rem;
    color: var(--text);
    border-radius: 0.75rem;
    font: inherit;
}

.contact__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.newsletter {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.newsletter form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.newsletter button {
    white-space: nowrap;
}

.certificates {
    background: var(--bg);
}

.certificates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.certificates__grid figure {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 0.75rem;
}

.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
}

.lightbox--visible {
    display: block;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.lightbox__dialog {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
}

.lightbox__stage {
    width: min(900px, 90vw);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.lightbox__image {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    background: #000;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--accent);
    color: var(--accent);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.2s ease;
}

.lightbox__nav:hover {
    background: rgba(253, 198, 50, 0.2);
}

.lightbox__nav--prev {
    left: 1rem;
}

.lightbox__nav--next {
    right: 1rem;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent);
    font-size: 1.4rem;
    cursor: pointer;
}

.lightbox__caption {
    margin-top: 1.2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    header.hero {
        min-height: 70vh;
        padding-top: 5rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .section__intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter form {
        width: 100%;
    }

    .newsletter input {
        flex: 1;
    }

    .lightbox__stage {
        width: 95vw;
        min-height: 220px;
    }

    .lightbox__nav {
        width: 36px;
        height: 36px;
    }

    .lightbox__close {
        top: 0.5rem;
        right: 0.5rem;
    }
}
