/* ── Variables ───────────────────────────────────────────────── */
:root {
    --primary:        #1A1A1A;
    --accent:         #C41E3A;
    --accent-dark:    #A3192F;
    --accent-light:   #E02040;
    --text-dark:      #F0F0F0;
    --text-body:      #C8C8C8;
    --text-muted:     #888;
    --text-light:     #555;
    --bg:             #111111;
    --bg-alt:         #1C1C1C;
    --bg-dark:        #0D0D0D;
    --bg-charcoal:    #161616;
    --border:         rgba(255,255,255,0.1);
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.4);
    --shadow-md:      0 6px 24px rgba(0,0,0,0.5);
    --shadow-lg:      0 16px 48px rgba(0,0,0,0.6);
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --max-w:          1080px;
    --transition:     0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-body);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Container ───────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ── Sections ────────────────────────────────────────────────── */
.section { padding-block: 5rem; }
.section--dark     { background: var(--bg-dark); }
.section--black    { background: #0A0A0A; }
.section--charcoal { background: var(--bg-charcoal); }

/* ── Typography helpers ──────────────────────────────────────── */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}
.section-eyebrow--light { color: var(--accent-light); }

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-title--light { color: #FFFFFF; }

/* ── Scroll-reveal ───────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition), color var(--transition),
                transform var(--transition), box-shadow var(--transition);
    line-height: 1;
    white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn--accent {
    background: var(--accent);
    color: #fff;
}
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 4px 20px rgba(192,57,43,.45); }

.btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.6); }

.btn--full { width: 100%; justify-content: center; }

.btn__spinner { display: none; }
.btn[disabled] .btn__text  { opacity: 0.6; }
.btn[disabled] .btn__spinner {
    display: block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: box-shadow var(--transition);
}
.nav--scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.6); }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 64px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.nav__logo {
    width: 36px; height: 36px;
    object-fit: contain;
}
.nav__wordmark {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav__link {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition), background var(--transition);
}
.nav__link:hover,
.nav__link--active { color: #fff; background: rgba(255,255,255,0.07); }

.nav__link--cta {
    margin-left: 0.4rem;
    background: var(--accent);
    color: #fff !important;
    padding: 0.45rem 1rem;
}
.nav__link--cta:hover { background: var(--accent-dark) !important; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav__toggle span {
    display: block;
    width: 22px; height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.55) 55%,
        rgba(0,0,0,0.25) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding-block: 4rem;
}

.hero__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.hero__title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.0;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.72);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.45);
    width: 28px;
    animation: bounce 2s ease-in-out infinite;
    transition: color var(--transition);
}
.hero__scroll-indicator:hover { color: rgba(255,255,255,0.8); }
.hero__scroll-indicator svg { width: 100%; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── About ───────────────────────────────────────────────────── */
.about__body {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 700px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
    width: 44px; height: 44px;
    color: var(--accent);
    margin-bottom: 1rem;
}
.feature-card__icon svg { width: 100%; height: 100%; }

.feature-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.feature-card__desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}

.about__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}
.about__contact-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.about__contact-link svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}
.about__contact-link:hover { color: #fff; }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 2.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 0;
}
.gallery-item--wide {
    grid-column: 1 / -1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item--wide img { max-height: 420px; object-fit: cover; }
.gallery-item:not(.gallery-item--wide) img { min-height: 260px; }

.gallery-item:hover img { transform: scale(1.03); }

.gallery-item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1rem 1.25rem 0.9rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Services ────────────────────────────────────────────────── */
.services__body {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    max-width: 680px;
    line-height: 1.85;
    margin-top: 1rem;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
    align-items: start;
}

.contact-info__body {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.contact-info__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
}
.contact-info__list li::before {
    content: '';
    flex-shrink: 0;
    margin-top: 0.5em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.contact-info__direct {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-info__direct-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.contact-info__direct-link svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}
.contact-info__direct-link:hover { color: #fff; }

/* ── Form ────────────────────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.22); }
.form-input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.09);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-result {
    font-size: 0.88rem;
    line-height: 1.5;
    border-radius: var(--radius-sm);
    min-height: 0;
    transition: all 0.3s ease;
}
.form-result:not(:empty) { padding: 0.75rem 1rem; }
.form-result--success {
    background: rgba(80, 200, 120, 0.12);
    border: 1.5px solid rgba(80, 200, 120, 0.3);
    color: #7BEB9A;
}
.form-result--error {
    background: rgba(240, 80, 80, 0.12);
    border: 1.5px solid rgba(240, 80, 80, 0.25);
    color: #F09090;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
    background: #080808;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-block: 1.75rem;
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer__logo { width: 26px; height: 26px; object-fit: contain; opacity: 0.7; }
.footer__name { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.45); }
.footer__copy { font-size: 0.82rem; color: rgba(255,255,255,0.28); }

@media (max-width: 480px) {
    .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .section { padding-block: 3.5rem; }

    .nav__toggle { display: flex; }
    .nav__list {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(10,10,10,0.97);
        border-top: 1px solid rgba(255,255,255,0.07);
        padding: 0.75rem 1rem 1rem;
        gap: 0.25rem;
    }
    .nav__list--open { display: flex; }
    .nav__link { padding: 0.6rem 0.75rem; font-size: 0.95rem; }
    .nav__link--cta { margin-left: 0; margin-top: 0.25rem; }

    .hero__title { font-size: 2.8rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item--wide { grid-column: 1; }
    .gallery-item:not(.gallery-item--wide) img { min-height: 220px; }

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

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
