/* ============================================================
   IVANOSKI — Attorneys and Counselors at Law • Since 1988
   Premium black + gold, elegant serif, minimal & timeless
   ============================================================ */

:root {
    --bg-dark: #111111;
    --bg-panel: #1A1A1A;
    --gold: #C8A66A;
    --gold-light: #D8C39A;
    --white: #F7F7F7;
    --muted: #A9A29A;
    --line: rgba(200, 166, 106, 0.35);
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Jost', 'Segoe UI', Arial, sans-serif;
    --radius: 2px;
    --transition: 0.35s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 116px; }

body {
    background: var(--bg-dark);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 0.015em;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.02em; }
h3 { font-size: 1.35rem; }

/* ---------- Layout helpers ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(860px, 92%); }

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-alt { background: var(--bg-panel); }

.section-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }

.section-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 560px;
    margin: 1.5rem auto 0;
    color: var(--muted);
}

/* Thin gold dividers */
.gold-divider {
    width: 72px;
    height: 1px;
    background: var(--gold);
    margin: 1.75rem auto;
    position: relative;
}
.gold-divider::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px; height: 6px;
    border: 1px solid var(--gold);
    background: var(--bg-dark);
}
.gold-divider.left { margin-left: 0; }
.gold-divider.left::after { background: var(--bg-dark); }

.section-separator {
    width: min(1180px, 92%);
    margin: 0 auto;
    height: 1px;
    background: var(--line);
    opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-align: center;
    background: transparent;
}

.btn-gold { background: var(--gold); color: #161310; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #161310; }

.btn-outline { color: var(--gold-light); }
.btn-outline:hover { background: rgba(200, 166, 106, 0.12); color: var(--white); }

.btn-full { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(17, 17, 17, 0.55);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}
#site-header.scrolled {
    background: rgba(17, 17, 17, 0.96);
    border-bottom-color: var(--line);
}

.header-inner {
    width: min(1280px, 94%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.1rem 0;
}

.brand { display: flex; align-items: center; gap: 0.85rem; }

.brand-logo {
    height: 72px;
    width: auto;
    display: block;
    border-radius: 4px;
}

#main-nav { display: flex; gap: 2rem; margin-left: auto; }

.nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    padding: 0.4rem 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-cta { padding: 0.75rem 1.6rem; font-size: 0.72rem; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* ---------- Language switcher (Google Translate) ---------- */
.gt-hidden { display: none !important; }
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd { display: none !important; }
body { top: 0 !important; position: static !important; }

.lang-switch-new { position: relative; flex-shrink: 0; }

.lang-current-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 0.5rem 0.7rem; cursor: pointer;
    transition: border-color var(--transition);
}
.lang-current-btn:hover { border-color: var(--gold); }
.lang-current-btn img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; display: block; }
.lang-chevron { color: var(--gold); transition: transform 0.2s; }
.lang-current-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    min-width: 160px;
    background: var(--bg-panel); border: 1px solid var(--gold); border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    padding: 6px; display: flex; flex-direction: column; gap: 2px;
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 200;
}
.lang-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.lang-opt {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: var(--radius);
    background: transparent; border: none; cursor: pointer; text-align: left;
    font-family: var(--sans); font-size: 0.8rem; color: var(--muted);
    transition: background var(--transition), color var(--transition);
}
.lang-opt:hover { background: rgba(200, 166, 106, 0.1); color: var(--gold-light); }
.lang-opt img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Hamburger */
#menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
#menu-toggle span {
    width: 26px; height: 1px;
    background: var(--gold);
    transition: transform var(--transition), opacity var(--transition);
}
#menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2rem 6%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line);
}
#mobile-menu.open { display: flex; }
#mobile-menu .btn { align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
#hero-section {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8rem 6% 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero.jpg') center/cover no-repeat;
    z-index: -2;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 13, 10, 0.78);
}

.hero-content { max-width: 880px; position: relative; }

.hero-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto 1.8rem;
    display: block;
    border-radius: 6px;
}

#hero-section h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 500;
}

.hero-sub {
    max-width: 620px;
    margin: 1.75rem auto 0;
    color: #D9D4CC;
    font-size: 1.05rem;
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.9rem;
    animation: hint-bob 2.6s ease-in-out infinite;
}
@keyframes hint-bob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.9; }
    50% { transform: translate(-50%, 8px); opacity: 0.5; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 5.5rem);
    align-items: center;
}

.about-image { position: relative; }
.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    filter: saturate(0.85);
}
.about-image::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    z-index: -1;
}

.about-badge {
    position: absolute;
    left: -1px; bottom: 2rem;
    background: var(--bg-dark);
    border: 1px solid var(--gold);
    padding: 1rem 1.6rem;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
    animation: badge-pulse 2.6s ease-in-out infinite;
}
.about-badge:hover { background: rgba(200, 166, 106, 0.12); }

.badge-info {
    position: absolute;
    top: -9px; right: -9px;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 0.7rem;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 166, 106, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(200, 166, 106, 0); }
}
.badge-year {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
}
.badge-label {
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.about-text .lead-text {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-style: italic;
    color: #E6E1D8;
    line-height: 1.65;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--line);
}
.about-stats li { text-align: center; }
.stat-value {
    display: block;
    font-family: var(--serif);
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1.1;
}
.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.founder-portrait {
    width: 130px; height: 130px;
    margin: 0 auto 1.2rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    overflow: hidden;
}
.founder-portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.founder-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
}
.founder-body {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-top: 0.9rem;
}
.founder-doc-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-top: 1.4rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-dark);
    border: 1px solid rgba(200, 166, 106, 0.18);
    border-radius: var(--radius);
    padding: 2.6rem 2rem;
    transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

.service-card h3 { margin-bottom: 0.8rem; font-size: 1.3rem; }
.service-card p { font-size: 0.92rem; color: var(--muted); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { position: relative; overflow: hidden; }
.why-bg {
    position: absolute;
    inset: 0;
    background: url('../images/office.jpg') center/cover no-repeat fixed;
    z-index: -2;
}
.why-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 13, 10, 0.9);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.why-card {
    position: relative;
    border: 1px solid rgba(200, 166, 106, 0.25);
    border-radius: var(--radius);
    padding: 2.8rem 2rem 2.4rem;
    background: rgba(17, 17, 17, 0.72);
    transition: border-color var(--transition), transform var(--transition);
}
.why-card:hover { border-color: var(--gold); transform: translateY(-5px); }

.why-num {
    position: absolute;
    top: 1.2rem; right: 1.5rem;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: rgba(200, 166, 106, 0.5);
    letter-spacing: 0.1em;
}

.why-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: 1.3rem; }
.why-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.why-card p { font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    counter-reset: step;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 32px; left: 12%; right: 12%;
    height: 1px;
    background: var(--line);
}

.process-step { text-align: center; position: relative; }

.step-number {
    display: grid;
    place-items: center;
    width: 64px; height: 64px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--bg-panel);
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
    position: relative;
    z-index: 1;
    transition: background var(--transition), color var(--transition);
}
.process-step:hover .step-number { background: var(--gold); color: #161310; }

.process-step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.9rem; color: var(--muted); max-width: 240px; margin-inline: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 0.4rem;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--white);
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-light); }

.faq-item summary i {
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--gold-light); }

.faq-answer { padding: 0 0.4rem 1.8rem; max-width: 700px; }
.faq-answer p { color: var(--muted); font-size: 0.97rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.9rem; }

.contact-item { display: flex; gap: 1.3rem; align-items: flex-start; }
.contact-item > i {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: var(--radius);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-item h3 {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
}
.contact-item p { color: var(--muted); font-size: 0.95rem; }
.contact-item a { color: var(--white); }
.contact-item a:hover { color: var(--gold); }

.contact-map {
    margin-top: 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
    filter: grayscale(1) invert(0.88) contrast(0.9);
}

/* Form */
#contact-form {
    background: var(--bg-dark);
    border: 1px solid rgba(200, 166, 106, 0.22);
    border-radius: var(--radius);
    padding: clamp(2rem, 4vw, 3rem);
}

.form-title { margin-bottom: 1.8rem; font-size: 1.5rem; }

.form-field { margin-bottom: 1.4rem; }

.form-field label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--bg-panel);
    border: 1px solid rgba(200, 166, 106, 0.2);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 300;
    transition: border-color var(--transition);
    resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #6E675F; }
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
}

#form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gold-light);
    text-align: center;
    min-height: 1.4em;
}
#form-status.error { color: #C97B6A; }

.form-note {
    margin-top: 1.1rem;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}
.form-note i { color: var(--gold); margin-right: 0.35rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    border-top: 1px solid var(--line);
    padding: 4.5rem 0 3rem;
    text-align: center;
}

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.footer-logo { height: 64px; width: auto; border-radius: 4px; }

.footer-tagline {
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
    font-size: 1.05rem;
}

.footer-attorney {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.5rem;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.8rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--muted);
}
.footer-contacts i { color: var(--gold); margin-right: 0.5rem; }
.footer-contacts a { color: var(--muted); }
.footer-contacts a:hover { color: var(--gold-light); }

.footer-copy { font-size: 0.78rem; letter-spacing: 0.08em; color: #6E675F; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
#bottom-nav {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    background: rgba(17, 17, 17, 0.97);
    border-top: 1px solid var(--gold);
    padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color var(--transition);
}
.bottom-nav-item i { font-size: 1.25rem; color: var(--gold); }
.bottom-nav-item:hover, .bottom-nav-item:active { color: var(--gold-light); }

/* ============================================================
   SOCIAL MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.modal[hidden] { display: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 7, 0.82);
}

.modal-content {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 3rem 2.6rem 2.6rem;
    width: min(400px, 88%);
    text-align: center;
    animation: modal-in 0.35s ease;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content h3 {
    font-size: 1.6rem;
    letter-spacing: 0.06em;
}
.modal-content .gold-divider::after { background: var(--bg-panel); }

.modal-close {
    position: absolute;
    top: 0.9rem; right: 0.9rem;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}
.modal-close:hover { border-color: var(--gold); color: var(--gold-light); }

.social-links { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.5rem; }

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 1px solid rgba(200, 166, 106, 0.3);
    border-radius: var(--radius);
    padding: 0.95rem;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.social-link i { color: var(--gold); font-size: 1.05rem; }
.social-link:hover { border-color: var(--gold); background: rgba(200, 166, 106, 0.08); color: var(--gold-light); }

.confirm-modal-content #confirm-modal-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.4rem;
}

.confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}
.confirm-actions .btn {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 0.85rem 1rem;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    text-align: center;
}

.founder-modal-content {
    width: min(480px, 90%);
    max-height: 88vh;
    overflow-y: auto;
}

/* ============================================================
   ANIMATIONS — soft fade-up on scroll
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-up { opacity: 1; transform: none; transition: none; }
    .scroll-hint { animation: none; }
    .about-badge { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    #main-nav, .header-cta { display: none; }
    #menu-toggle { display: flex; }
    .header-actions { margin-left: auto; }

    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
    .process-timeline::before { display: none; }
}

@media (max-width: 820px) {
    body { padding-bottom: 72px; } /* room for bottom nav */
    #bottom-nav { display: flex; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 480px; margin-inline: auto; }
    .about-image::before { display: none; }
    .gold-divider.left { margin-inline: auto; }
    .about-text { text-align: center; }

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

    .scroll-hint { display: none; }
}

@media (max-width: 520px) {
    .process-timeline { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .about-stats { gap: 0.8rem; }
    .stat-value { font-size: 1.7rem; }
}
