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

:root {
    --red:     #d42b20;
    --red-d:   #b02219;
    --black:   #111111;
    --dark:    #1a1a1a;
    --dark2:   #222222;
    --gray:    #555555;
    --light:   #f5f5f5;
    --white:   #ffffff;
    --radius:  8px;
    --shadow:  0 4px 24px rgba(0,0,0,.12);
    --trans:   .25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── CONTAINER ─────────────────────────────────────── */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: background var(--trans), transform var(--trans);
}
.btn--primary {
    background: var(--red);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--red-d);
    transform: translateY(-2px);
}
.btn--small {
    padding: .45rem 1rem;
    font-size: .85rem;
    background: var(--red);
    color: var(--white);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background var(--trans);
}
.btn--small:hover { background: var(--red-d); }

/* ─── HEADER / NAV ──────────────────────────────────── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(17,17,17,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav__logo img {
    display: block;
    filter: brightness(0) invert(1);
    transition: filter var(--trans);
}
.nav__logo img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(212,43,32,.8));
}

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

.nav__link {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--trans);
}
.nav__link:hover { color: var(--white); }

.nav__link--cta {
    background: var(--red);
    color: var(--white) !important;
    padding: .45rem 1.1rem;
    border-radius: var(--radius);
}
.nav__link--cta:hover { background: var(--red-d); }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--trans), opacity var(--trans);
}

/* ─── HERO ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--black);
    overflow: hidden;
    padding-top: 64px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 50%, rgba(212,43,32,.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212,43,32,.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

.hero__tag {
    display: inline-block;
    background: rgba(212,43,32,.15);
    color: var(--red);
    border: 1px solid rgba(212,43,32,.3);
    border-radius: 50px;
    padding: .3rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -.02em;
}

.hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.6);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ─── SECTIONS ──────────────────────────────────────── */
.section {
    padding: 6rem 0;
}
.section--dark {
    background: var(--dark);
    color: var(--white);
}
.section--dark .section__title { color: var(--white); }
.section--dark .section__sub { color: rgba(255,255,255,.55); }

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}
.section__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--red);
    margin-top: .6rem;
}
.section__sub {
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 540px;
}

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

.card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 2rem;
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--red);
}
.card__icon {
    width: 48px;
    height: 48px;
    color: var(--red);
    margin-bottom: 1.25rem;
}
.card__icon svg { width: 100%; height: 100%; }
.card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--black);
}
.card__text { color: var(--gray); font-size: .95rem; }

/* ─── TEAM ──────────────────────────────────────────── */
.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
}

.team__card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color var(--trans);
}
.team__card:hover { border-color: rgba(212,43,32,.5); }

.team__avatar {
    width: 64px;
    height: 64px;
    background: rgba(212,43,32,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    margin-bottom: 1rem;
}
.team__avatar svg { width: 36px; height: 36px; }

.team__name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: .25rem;
}
.team__role {
    display: block;
    font-size: .8rem;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
}
.team__bio { font-size: .9rem; color: rgba(255,255,255,.5); }

/* ─── PROJECTS ──────────────────────────────────────── */
.projects__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project__card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: border-color var(--trans), box-shadow var(--trans);
}
.project__card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow);
}
.project__icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    color: var(--red);
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0f0f0;
}
.project__icon svg { width: 100%; height: 100%; }
.project__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project__info { flex: 1; }
.project__name {
    font-weight: 600;
    font-size: .95rem;
    color: var(--black);
    margin-bottom: .2rem;
}
.project__desc { font-size: .85rem; color: var(--gray); }
.project__links { display: flex; gap: .5rem; flex-shrink: 0; }

/* ─── GALLERY ───────────────────────────────────────── */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .75rem;
}
.gallery__grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    transition: transform var(--trans), opacity var(--trans);
    opacity: .85;
}
.gallery__grid img:hover {
    transform: scale(1.03);
    opacity: 1;
}

/* ─── CONTACT ───────────────────────────────────────── */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}
.contact__text p {
    color: rgba(255,255,255,.55);
    margin-top: 1rem;
    max-width: 340px;
}

.contact__info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    line-height: 1.6;
}
.contact__info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--red);
    margin-top: .15rem;
}
.contact__info-item a {
    color: rgba(255,255,255,.7);
    transition: color var(--trans);
}
.contact__info-item a:hover { color: var(--red); }

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.form__group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.form__group label {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.form__group input,
.form__group textarea {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    color: var(--white);
    font-family: inherit;
    font-size: .95rem;
    transition: border-color var(--trans);
    resize: vertical;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(255,255,255,.25); }
.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--red);
}
.form__note {
    font-size: .8rem;
    color: rgba(255,255,255,.3);
    margin-top: -.25rem;
}

/* ─── FOOTER ────────────────────────────────────────── */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 2rem 0;
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer__inner img { filter: brightness(0) invert(1) opacity(.5); }

.footer__inner p {
    font-size: .85rem;
    color: rgba(255,255,255,.3);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
    .nav__toggle { display: flex; }

    .nav__menu {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .nav__menu.is-open { display: flex; }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact__text p { max-width: 100%; }

    .section { padding: 4rem 0; }
}
