/* ===== VARIABLES ===== */
:root {
    --bg:       #0B0F17;
    --bg-2:     #0F1521;
    --bg-3:     #161E2E;
    --accent:   #F5C518;
    --accent-dim: rgba(245, 197, 24, 0.10);
    --accent-glow: rgba(245, 197, 24, 0.18);
    --text:     #EEF2FF;
    --text-dim: #94A3B8;
    --text-muted: #475569;
    --border:   rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius:   12px;
    --radius-lg: 20px;
    --shadow:   0 4px 32px rgba(0, 0, 0, 0.4);
    --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    --font:     'Outfit', system-ui, -apple-system, sans-serif;
    --max-w:    1200px;
    --nav-h:    68px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input, textarea, button, select { font-family: inherit; }

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.22s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn--primary {
    background: var(--accent);
    color: #0B0F17;
}
.btn--primary:hover {
    background: #ffd240;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.3);
}
.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}
.btn--ghost:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
}
.btn--outline {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border);
}
.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn--full { width: 100%; justify-content: center; }

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }
.section__header {
    text-align: center;
    margin-bottom: 60px;
}
.section__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.section__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section__desc {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(11, 15, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}
.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}
.nav__bolt {
    width: 18px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav__link {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link.active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__link--cta {
    background: var(--accent);
    color: #0B0F17;
    font-weight: 600;
    margin-left: 8px;
}
.nav__link--cta:hover {
    background: #ffd240;
    color: #0B0F17;
}
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}
.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245,197,24,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,197,24,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero__glow {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 65%);
    transform: translateY(-50%);
    pointer-events: none;
}
.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 60px;
    padding-bottom: 80px;
}
.hero__tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.85;
}
.hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 760px;
}
.hero__title em {
    font-style: normal;
    color: var(--accent);
}
.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}
.br-desktop { display: none; }
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.hero__stat strong {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.hero__stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.hero__stat-div {
    width: 1px;
    height: 40px;
    background: var(--border);
}
.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: bounce 2.4s ease-in-out infinite;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.hero__scroll:hover { opacity: 0.9; }
.hero__scroll svg { width: 22px; height: 22px; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.svc-card {
    background: var(--bg-2);
    padding: 36px 32px;
    transition: background 0.25s var(--ease);
}
.svc-card:hover { background: var(--bg-3); }
.svc-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    transition: background 0.25s;
}
.svc-card:hover .svc-card__icon { background: rgba(245, 197, 24, 0.18); }
.svc-card__icon svg { width: 22px; height: 22px; }
.svc-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}
.svc-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing { background: var(--bg-2); }
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.price-card {
    position: relative;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.25s, transform 0.25s;
}
.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.price-card--featured {
    border-color: rgba(245, 197, 24, 0.35);
    background: linear-gradient(145deg, #161E2E 0%, #1a2236 100%);
}
.price-card--featured:hover {
    border-color: rgba(245, 197, 24, 0.6);
}
.price-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0B0F17;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}
.price-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.price-card__price {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
}
.price-card__price sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dim);
    vertical-align: baseline;
    letter-spacing: 0;
}
.price-card__time {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: -12px;
}
.price-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.price-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dim);
}
.price-card__list li svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}
.pricing__note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===== GALLERY ===== */
.gallery { background: var(--bg); }
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-3);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,15,23,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s var(--ease);
    color: white;
}
.gallery__overlay svg { width: 28px; height: 28px; }
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

/* ===== CONTACT ===== */
.contact { background: var(--bg-2); }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-3);
    transition: border-color 0.22s, background 0.22s;
    color: inherit;
}
a.contact__item:hover {
    border-color: var(--border-hover);
    background: #1a2236;
}
.contact__item-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact__item-icon svg { width: 18px; height: 18px; }
.contact__item-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 500;
    margin-bottom: 3px;
}
.contact__item-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

/* ===== CONTACT FORM (CF7 overrides) ===== */
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.contact__form .wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.form-group input,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
    width: 100%;
    display: block;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: rgba(245, 197, 24, 0.5);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.08);
}

.wpcf7-not-valid,
.form-group input.error,
.form-group textarea.error {
    border-color: rgba(239, 68, 68, 0.6) !important;
}

.wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px !important;
    border-radius: 8px !important;
    margin: 0 !important;
    border: none !important;
}

.wpcf7-mail-sent-ok {
    color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.08) !important;
    border: 1px solid rgba(74, 222, 128, 0.2) !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
    color: #f87171 !important;
    background: rgba(248, 113, 113, 0.08) !important;
    border: 1px solid rgba(248, 113, 113, 0.2) !important;
}

.wpcf7-submit {
    background: var(--accent);
    color: #0B0F17;
    border: none;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.22s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wpcf7-submit:hover {
    background: #ffd240;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.3);
}
.wpcf7-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wpcf7 .ajax-loader {
    display: none !important;
}

/* CF7 spinner */
.wpcf7-spinner {
    display: none !important;
}

.form__success {
    display: none;
    text-align: center;
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px;
    border-radius: 8px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
}
.form__success.visible { display: block; }

.form__error {
    display: none;
    text-align: center;
    color: #f87171;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px;
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
}
.form__error.visible { display: block; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    position: relative;
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}
.footer__logo svg {
    width: 14px;
    height: 18px;
    color: var(--accent);
}
.footer__copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.footer__links {
    display: flex;
    gap: 20px;
}
.footer__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 12px 0;
}
.footer__bottom-inner {
    display: flex;
    justify-content: flex-end;
}
.footer__credit {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.footer__credit code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: none;
}
.footer__credit a {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: rgb(99, 102, 241);
    font-weight: 600;
    transition: opacity 0.2s;
}
.footer__credit a:hover { opacity: 0.75; }
.footer__credit-bracket { color: var(--text); }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 16, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,0.15); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__img {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 88vh;
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    transform: scale(0.94);
    transition: transform 0.3s var(--ease);
    object-fit: contain;
}
.lightbox.open .lightbox__img { transform: scale(1); }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 900px) {
    .br-desktop { display: block; }
}

@media (max-width: 1024px) {
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

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

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100dvh;
        background: rgba(11, 15, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--nav-h) + 24px) 32px 48px;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        z-index: 99;
    }
    .nav__menu.open { transform: translateX(0); }
    .nav__menu li { width: 100%; }
    .nav__link {
        display: block;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 22px 4px;
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }
    .nav__link--cta {
        display: block;
        margin-left: 0;
        margin-top: 32px;
        padding: 18px;
        text-align: center;
        border-radius: 10px;
        border-bottom: none;
    }
    .nav__burger { display: flex; }

    .hero__title { letter-spacing: -0.025em; }
    .hero__stats { gap: 20px; }
    .hero__stat strong { font-size: 1.5rem; }

    .services__grid { grid-template-columns: 1fr; }
    .svc-card { padding: 28px 24px; }

    .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

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

    .form-row { grid-template-columns: 1fr; }

    .footer__inner { flex-direction: column; text-align: center; gap: 12px; }
    .footer__links { justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .gallery__grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
}
