/* DigAiDental — main.css */
/* Palette: Dark Navy #0d1b4b + Gold #c9a84c */
/* Font: Manrope */

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

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Manrope', sans-serif;
    background: #07112e;
    color: #e8eaf0;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== DESIGN TOKENS ===== */
:root {
    --navy-darkest:  #030d22;
    --navy-dark:     #07112e;
    --navy-mid:      #0d1b4b;
    --navy-light:    #162460;
    --navy-border:   #1e2f6a;
    --gold:          #c9a84c;
    --gold-light:    #e0c472;
    --gold-dark:     #a07830;
    --white:         #ffffff;
    --text-primary:  #e8eaf0;
    --text-muted:    #8e9ab5;
    --text-dim:      #5a6888;
    --card-bg:       #0f1e52;
    --card-border:   #1a2d6e;
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --radius-xl:     32px;
    --shadow-gold:   0 4px 30px rgba(201, 168, 76, 0.15);
    --shadow-card:   0 8px 40px rgba(0, 0, 0, 0.4);
    --transition:    0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; line-height: 1.35; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-muted); }

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title { color: var(--white); margin-bottom: 12px; }
.section-subtitle { color: var(--text-muted); max-width: 560px; font-size: 1.05rem; }
.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-subtitle { margin: 0 auto; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-darkest);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--navy-border);
}
.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}
.btn-ghost {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
    padding: 12px 28px;
}
.btn-ghost:hover {
    background: var(--gold);
    color: var(--navy-darkest);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: rgba(7, 17, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--navy-border);
}
.nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}
.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}
.logo-title span { color: var(--gold); }
.logo-subtitle {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.85;
    letter-spacing: 0.05em;
    margin-top: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}
.strateg-puzzle-icon {
    height: 36px;
    width: auto;
    display: block;
    margin-left: 0;
    flex-shrink: 0;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta { margin-left: 16px; }
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy-darkest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn { font-size: 1rem; width: 80%; justify-content: center; }
.mobile-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: linear-gradient(160deg, #030d22 0%, #07112e 50%, #0d1b4b 100%);
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}
.hero-glow-2 {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,27,75,0.6) 0%, transparent 70%);
    bottom: 0; left: -100px;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.hero-title {
    color: var(--white);
    margin-bottom: 24px;
}
.hero-title .highlight {
    color: var(--gold);
    position: relative;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.hero-stat-item { }
.hero-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card-stack {
    position: relative;
    width: 380px;
    height: 420px;
}
.hero-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.hero-card-main {
    width: 300px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
.hero-card-back1 {
    width: 260px;
    top: 30%; left: 25%;
    transform: rotate(-8deg);
    z-index: 1;
    opacity: 0.6;
}
.hero-card-back2 {
    width: 260px;
    top: 35%; left: 15%;
    transform: rotate(5deg);
    z-index: 2;
    opacity: 0.4;
}
.hero-card-icon { font-size: 2rem; margin-bottom: 12px; }
.hero-card-title { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.hero-card-desc { font-size: 0.78rem; color: var(--text-muted); }
.hero-card-stat {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-card-stat-num { font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.hero-card-stat-label { font-size: 0.75rem; color: var(--text-muted); }

/* ===== PROBLEMS (BEFORE/AFTER) ===== */
.problems { background: var(--navy-darkest); }
.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--card-border);
}
.problems-col { padding: 0; }
.problems-col-header {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--card-border);
}
.problems-col.before .problems-col-header {
    background: rgba(180, 40, 40, 0.08);
    color: #e86060;
}
.problems-col.after .problems-col-header {
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold);
}
.problems-col-icon { font-size: 1.3rem; }
.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background var(--transition);
}
.problem-item:last-child { border-bottom: none; }
.problem-item:hover { background: rgba(255,255,255,0.02); }
.problem-dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.problems-col.before .problem-dot {
    background: rgba(180, 40, 40, 0.15);
    color: #e86060;
}
.problems-col.after .problem-dot {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
}
.problem-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ===== SERVICES ===== */
.services { background: var(--navy-dark); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: default;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,168,76,0.3);
    box-shadow: var(--shadow-gold);
}
.service-icon {
    width: 48px; height: 48px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.service-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.service-price {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--card-border);
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 600;
}

/* ===== PROCESS ===== */
.process { background: var(--navy-darkest); }
.process-list { max-width: 720px; margin: 0 auto; }
.process-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.process-item:last-child { border-bottom: none; }
.process-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.process-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--navy-darkest);
    flex-shrink: 0;
}
.process-line {
    width: 2px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, rgba(201,168,76,0.3), transparent);
    margin-top: 8px;
}
.process-item:last-child .process-line { display: none; }
.process-icon-wrap {
    width: 36px; height: 36px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-top: 12px;
}
.process-content { padding-top: 12px; }
.process-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.process-desc { font-size: 0.9rem; color: var(--text-muted); }
.process-duration {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--gold);
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.15);
    padding: 3px 12px;
    border-radius: 50px;
    font-weight: 600;
}

/* ===== ABOUT ===== */
.about { background: var(--navy-dark); }
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about-text { }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.about-feature-icon {
    width: 44px; height: 44px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.about-feature-content h4 { color: var(--white); margin-bottom: 4px; }
.about-feature-content p { font-size: 0.875rem; }

.founders-grid { display: flex; flex-direction: column; gap: 24px; }
.founder-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: border-color var(--transition);
}
.founder-card:hover { border-color: rgba(201,168,76,0.3); }
.founder-photo {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201,168,76,0.3);
    flex-shrink: 0;
}
.founder-photo-placeholder {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--navy-mid);
    border: 2px solid rgba(201,168,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}
.founder-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.founder-role { font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.founder-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ===== FAQ ===== */
.faq { background: var(--navy-darkest); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(201,168,76,0.3); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}
.faq-question-text { font-size: 0.95rem; font-weight: 600; color: var(--white); }
.faq-arrow {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition);
    font-size: 0.75rem;
    color: var(--gold);
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    background: rgba(201,168,76,0.2);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p { font-size: 0.875rem; line-height: 1.7; }

/* ===== FORM ===== */
.form-section { background: var(--navy-mid); position: relative; overflow: hidden; }
.form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}
.form-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.form-info h2 { color: var(--white); margin-bottom: 16px; }
.form-info p { font-size: 1rem; margin-bottom: 32px; }
.form-promise {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-promise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.form-promise-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--navy-dark);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    transition: border-color var(--transition);
    outline: none;
    appearance: none;
}
.form-group select { cursor: pointer; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--navy-dark); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 16px;
}
.form-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-darkest);
    border-top: 1px solid var(--navy-border);
    padding: 48px 0 24px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand { max-width: 280px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.footer-links { display: flex; gap: 60px; }
.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--text-dim); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== SUCCESS MESSAGE ===== */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--white); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 48px; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: flex; margin-top: 16px; }
    .about-inner { grid-template-columns: 1fr; gap: 48px; }
    .form-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    section { padding: 56px 0; }
    .navbar { padding: 0 16px; }
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    
    .logo-title {
        font-size: 1.15rem;
    }
    .logo-subtitle {
        font-size: 0.58rem;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    .strateg-puzzle-icon {
        height: 32px !important;
    }
    
    .mobile-menu {
        justify-content: flex-start;
        padding: 96px 24px 48px;
        overflow-y: auto;
    }
    
    .services-grid { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-visual { display: none; }
    
    .problem-item { padding: 16px 20px; gap: 10px; }
    .problems-col-header { padding: 16px 20px; }
    
    .founder-card { flex-direction: column; text-align: center; padding: 20px; gap: 16px; }
    .founder-photo, .founder-photo-placeholder { margin: 0 auto; }
    
    .faq-question { padding: 16px 20px; }
    .faq-item.open .faq-answer { padding: 0 20px 16px; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 24px 20px; }
    
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1rem;
    }
    .logo-subtitle {
        font-size: 0.52rem;
        letter-spacing: 0.02em;
    }
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    .strateg-puzzle-icon {
        height: 28px !important;
    }
    .nav-logo {
        gap: 8px;
    }

    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .hero-badge { font-size: 0.68rem; padding: 6px 12px; }
    .contact-form { padding: 20px 16px; }
    .faq-question-text { font-size: 0.88rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .legal-container { padding: 20px 16px; }
}

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--navy-darkest); position: relative; }
.portfolio-info-block {
    margin-bottom: 80px;
    padding: 0;
    position: relative;
}
.portfolio-info-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.portfolio-info-title {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.portfolio-info-title span {
    color: var(--gold);
}
.portfolio-info-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}
.portfolio-info-content p:last-child {
    margin-bottom: 0;
}
.portfolio-info-content p strong {
    color: var(--white);
    font-weight: 600;
}
.portfolio-info-note {
    font-size: 0.85rem !important;
    color: var(--text-dim) !important;
    padding-left: 20px;
    border-left: 2px solid var(--gold);
    margin-top: 32px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 60px;
}
.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff; /* Gives white background to mockups */
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
    display: block;
}
.portfolio-item-img {
    position: relative;
    overflow: hidden;
}
.portfolio-item-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 168, 76, 0.3);
    z-index: 2;
}
.portfolio-item:hover .portfolio-item-img img {
    transform: scale(1.03);
}
.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3,13,34,0.95) 0%, rgba(3,13,34,0.2) 50%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px;
    transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-item-overlay {
    opacity: 1;
}
.portfolio-item-view {
    color: var(--navy-darkest);
    background: var(--gold);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.portfolio-item:hover .portfolio-item-view {
    transform: translateY(0);
}
.portfolio-item-view span {
    transition: transform 0.3s ease;
}
.portfolio-item:hover .portfolio-item-view span {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .portfolio-info-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
    .portfolio-grid { column-gap: 24px; row-gap: 48px; }
}

@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; row-gap: 40px; }
}
