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

:root {
    --bg:          #161620;
    --surface:     #1e1e2c;
    --surface2:    #272738;
    --border:      #363650;
    --accent:      #f5a623;
    --accent-dark: #d4891a;
    --text:        #eeeef8;
    --text-dim:    #c0c0d8;
    --text-muted:  #8888aa;
    --radius:      12px;
    --nav-h:       72px;
    --shadow:      0 2px 16px rgba(0,0,0,0.25);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

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

.container {
    width: 92%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--accent); }
.accent-jam { color: #c0357a; }
em { font-style: italic; color: var(--accent); }

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(22,22,32,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }

.nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    letter-spacing: 0.03em;
}

.nav-links a:hover { color: #c0357a; }
.nav-links a.nav-active { color: #c0357a; }

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 9px 22px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 201;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dim);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
    background: url('mainScreenImage.jpg') center center / cover no-repeat fixed;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 18, 0.72);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 80px 24px 120px;
}

.hero-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(224,154,16,0.1);
    border: 1px solid rgba(224,154,16,0.3);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-heading {
    font-size: clamp(2.4rem, 7vw, 5.5rem);
    color: var(--text);
    margin-bottom: 40px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 44px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1; }
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(224,154,16,0.3); }

.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

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

/* ── SECTIONS ── */
.section { padding: 100px 0; background: var(--surface); }
.section-alt { background: var(--bg); }

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-tag.center { display: block; text-align: center; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 56px;
    color: var(--text);
}

.section-title.center { text-align: center; }

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    color: var(--text);
}

.about-text p {
    color: var(--text-dim);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat { border-left: 3px solid var(--accent); padding-left: 24px; }

.stat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: rgba(224,154,16,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.35rem;
    color: var(--accent);
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--text); }

.service-card p {
    color: var(--text-muted);
    font-size: 0.91rem;
    line-height: 1.75;
}

/* ── CLIENTS ── */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}

.client-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-logo-placeholder {
    width: 90px;
    height: 90px;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    transition: border-color 0.3s;
}

.client-card:hover .client-logo-placeholder { border-color: var(--accent); }

.client-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--radius) - 2px);
}

.client-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
}

.client-url {
    font-size: 0.73rem;
    color: var(--text-muted);
}

.clients-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ── REVIEWS ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    left: 28px;
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.review-placeholder {
    border-style: dashed;
    opacity: 0.6;
}

.review-stars {
    display: flex;
    gap: 4px;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.review-card blockquote {
    font-size: 0.94rem;
    line-height: 1.85;
    color: var(--text-dim);
    margin-bottom: 28px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(224,154,16,0.1);
    border: 1.5px solid rgba(224,154,16,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent);
    flex-shrink: 0;
}

.review-author strong { display: block; font-size: 0.93rem; color: var(--text); }
.review-author span   { font-size: 0.78rem; color: var(--text-muted); }

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.contact-info p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 1rem;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.contact-details i { color: var(--accent); width: 18px; flex-shrink: 0; }
.contact-details a:hover { color: var(--accent); }

.contact-services-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.contact-services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.contact-services-list i { color: var(--accent); font-size: 0.8rem; }

.contact-form {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.required { color: var(--accent); }

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 13px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237878a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option { background: var(--surface); color: var(--text); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224,154,16,0.12);
}

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

.form-success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: #86efac;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── FOOTER ── */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.7;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ── FADE-IN ANIMATION ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .about-grid    { grid-template-columns: 1fr; gap: 48px; }
    .clients-grid  { grid-template-columns: repeat(2, 1fr); }
    .contact-grid  { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .reviews-grid  { grid-template-columns: 1fr; }

    /* iOS/mobile doesn't support fixed background-attachment — fall back to scroll */
    .hero {
        background-attachment: scroll;
        background-size: cover;
    }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(22,22,32,0.98);
        flex-direction: column;
        padding: 32px;
        gap: 28px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }

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

@media (max-width: 540px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row     { grid-template-columns: 1fr; }
    .hero-ctas    { flex-direction: column; align-items: center; }
    .contact-form { padding: 24px; }
}

/* Landscape mobile — fix background image disappearing */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 100svh;
    }
}
