/* =====================================================
   INVIQA SOFTWARES — Editorial Premium Design System
   Distinctive: Fraunces serif display + Figtree body
   Ink / Flame / Cream palette
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500;1,9..144,600&family=Figtree:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    --ink: #0A0A0B;
    --ink-80: #1C1917;
    --ink-60: #44403C;
    --stone: #78716C;
    --stone-light: #A8A29E;
    --border: #E7E5E4;
    --border-strong: #D6D3D1;
    --canvas: #FAFAF9;
    --paper: #FFFFFF;
    --cream: #FEF3C7;
    --cream-light: #FFFBEB;
    --flame: #EA580C;
    --flame-dark: #C2410C;
    --flame-light: #FED7AA;
    --forest: #166534;
    --forest-light: #DCFCE7;
    --ruby: #991B1B;
    --ruby-light: #FEE2E2;
    --shadow-soft: 0 1px 2px rgba(10, 10, 11, 0.04), 0 4px 16px rgba(10, 10, 11, 0.04);
    --shadow-med: 0 2px 8px rgba(10, 10, 11, 0.06), 0 12px 32px rgba(10, 10, 11, 0.08);
    --shadow-strong: 0 4px 24px rgba(10, 10, 11, 0.10), 0 24px 48px rgba(10, 10, 11, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-80);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* iOS Safari overflow fix: wrap body content */
.page-wrap { overflow-x: hidden; width: 100%; }

/* ---------- Typography ---------- */
.display, h1, h2, h3, .h-display {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.08;
    font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-family: 'Figtree', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
p { color: var(--ink-60); }
.lead { font-size: 1.15rem; color: var(--ink-60); line-height: 1.55; max-width: 58ch; }
.italic { font-style: italic; }
.eyebrow {
    font-family: 'Figtree', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--flame);
    display: inline-block;
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--flame);
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 3px;
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--ink);
    color: var(--paper);
}
.btn-primary:hover { background: var(--ink-80); transform: translateY(-1px); box-shadow: var(--shadow-med); }
.btn-flame {
    background: var(--flame);
    color: var(--paper);
}
.btn-flame:hover { background: var(--flame-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 249, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.logo {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Figtree', sans-serif;
    position: relative;
}
.logo-mark::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--flame);
    border-radius: 50%;
    bottom: -2px;
    right: -2px;
    border: 2px solid var(--canvas);
}
.logo .logo-text i { font-style: italic; font-weight: 500; color: var(--flame); }

.nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--ink-80);
    position: relative;
    padding: 6px 0;
}
.nav-links a:hover { color: var(--flame); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--flame);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--paper);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
}
.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
}
.mobile-toggle span::before, .mobile-toggle span::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--ink);
    left: 0;
}
.mobile-toggle span::before { top: -6px; }
.mobile-toggle span::after { top: 6px; }

@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-cta .btn-lg { display: none; }
    .mobile-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--paper);
        flex-direction: column;
        gap: 0;
        padding: 18px 24px 28px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-med);
    }
    .nav-links.open li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
    .nav-links.open li:last-child { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 84px 0 96px;
    overflow: hidden;
    background: var(--canvas);
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 90% 20%, rgba(234, 88, 12, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(254, 243, 199, 0.6) 0%, transparent 55%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--flame); font-weight: 500; }
.hero .lead { margin-bottom: 2rem; font-size: 1.18rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.hero-badge { display: flex; flex-direction: column; gap: 2px; }
.hero-badge .num { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.hero-badge .label { font-size: 0.82rem; color: var(--stone); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1.02;
}

/* ---------- Section headers ---------- */
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin: 0 auto 56px; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--flame);
    vertical-align: middle;
    margin-left: 12px;
    margin-bottom: 3px;
}
.section-head.center .eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--flame);
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 3px;
}
.section-head h2 em { font-style: italic; color: var(--flame); }
.section-head p { margin-top: 1rem; }

/* ---------- Service cards ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
    background: var(--border);
}
.service-card {
    background: var(--paper);
    padding: 42px 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card:hover { background: var(--ink); color: var(--paper); }
.service-card:hover .service-icon { background: var(--flame); color: var(--paper); border-color: var(--flame); }
.service-card:hover h3 { color: var(--paper); }
.service-card:hover p { color: var(--stone-light); }
.service-card:hover .service-link { color: var(--flame); }
.service-card:hover .service-num { color: var(--flame); opacity: 0.4; }
.service-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--stone);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--cream);
    border: 1px solid var(--border);
    color: var(--flame);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s var(--ease);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 24px; flex: 1; }
.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: all 0.25s var(--ease);
}
.service-card:hover .service-link { gap: 10px; }

/* ---------- Feature strip / stats ---------- */
.strip {
    background: var(--ink);
    color: var(--paper);
    padding: 72px 0;
}
.strip .eyebrow { color: var(--flame); }
.strip h2 { color: var(--paper); }
.strip h2 em { color: var(--flame); font-style: italic; }
.strip p { color: var(--stone-light); }

/* ---------- Process steps ---------- */
.process {
    background: var(--canvas);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; }
.process-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 3.4rem;
    font-weight: 500;
    color: var(--flame);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.85;
}
.process-step h4 { margin-bottom: 8px; }

/* ---------- Pricing cards ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-med); transform: translateY(-2px); }
.price-card.featured {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.price-card.featured h3, .price-card.featured .price { color: var(--paper); }
.price-card.featured .price-feat li { color: var(--stone-light); border-bottom-color: rgba(255,255,255,0.08); }
.price-card.featured .price-feat li svg { color: var(--flame); }

.price-tag {
    position: absolute;
    top: 18px;
    right: 22px;
    background: var(--flame);
    color: var(--paper);
    padding: 5px 11px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 20px;
}
.price-head { border-bottom: 1px solid var(--border); padding-bottom: 22px; margin-bottom: 24px; }
.price-card.featured .price-head { border-color: rgba(255,255,255,0.1); }
.price-name { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flame); margin-bottom: 12px; }
.price {
    font-family: 'Fraunces', serif;
    font-size: 2.7rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}
.price .price-sub { font-size: 0.9rem; font-weight: 400; color: var(--stone); font-style: italic; margin-left: 4px; }
.price-card.featured .price .price-sub { color: var(--stone-light); }
.price-desc { font-size: 0.95rem; margin-top: 10px; }
.price-feat { list-style: none; margin-bottom: 28px; flex: 1; }
.price-feat li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.93rem;
}
.price-feat li:last-child { border-bottom: none; }
.price-feat li svg { flex-shrink: 0; color: var(--flame); margin-top: 3px; }

/* ---------- Micro services ---------- */
.micro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.micro-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s var(--ease);
    position: relative;
}
.micro-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.micro-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--flame);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.micro-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.micro-card p { font-size: 0.88rem; margin-bottom: 16px; flex: 1; }
.micro-foot { display: flex; justify-content: space-between; align-items: center; }
.micro-price {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.micro-price small { font-size: 0.8rem; color: var(--stone); font-style: italic; font-weight: 400; margin-right: 2px; }
.micro-buy {
    background: var(--ink);
    color: var(--paper);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s var(--ease);
}
.micro-buy:hover { background: var(--flame); }

/* ---------- About/Value ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.value-list { list-style: none; margin-top: 24px; }
.value-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
}
.value-list li:last-child { border-bottom: none; }
.value-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--flame);
    font-size: 1.3rem;
}
.value-list h4 { margin-bottom: 4px; }

/* ---------- Testimonial / quote ---------- */
.quote-block {
    background: var(--cream-light);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    border: 1px solid var(--cream);
}
.quote-block::before {
    content: "\201C";
    font-family: 'Fraunces', serif;
    font-size: 7rem;
    color: var(--flame);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 24px;
    opacity: 0.3;
}
.quote-block p {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--ink);
    position: relative;
    z-index: 2;
}
.quote-author {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Figtree', sans-serif;
    font-style: normal;
}
.quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.quote-author strong { color: var(--ink); display: block; }
.quote-author span { font-size: 0.85rem; color: var(--stone); }

/* ---------- CTA banner ---------- */
.cta-banner {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.18), transparent 70%);
    top: -180px;
    right: -100px;
    border-radius: 50%;
}
.cta-banner h2 { color: var(--paper); position: relative; z-index: 2; }
.cta-banner h2 em { color: var(--flame); font-style: italic; }
.cta-banner p { color: var(--stone-light); max-width: 520px; margin: 1rem auto 2rem; position: relative; z-index: 2; }
.cta-banner .btn { position: relative; z-index: 2; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--paper);
    font-size: 0.95rem;
    transition: all 0.2s var(--ease);
    font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(10, 10, 11, 0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--stone); margin-top: 6px; font-style: italic; }

/* ---------- Page hero (secondary) ---------- */
.page-hero {
    padding: 56px 0 40px;
    background: var(--canvas);
    position: relative;
    border-bottom: 1px solid var(--border);
}
.page-hero .crumbs {
    font-size: 0.85rem;
    color: var(--stone);
    margin-bottom: 16px;
}
.page-hero .crumbs a { color: var(--stone); }
.page-hero .crumbs a:hover { color: var(--flame); }
.page-hero h1 { margin-bottom: 1rem; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.page-hero h1 em { color: var(--flame); font-style: italic; }

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: var(--stone-light);
    padding: 72px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .logo { color: var(--paper); margin-bottom: 14px; }
.footer-about p { color: var(--stone-light); font-size: 0.92rem; max-width: 280px; }
.footer h5 {
    font-family: 'Figtree', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--paper);
    margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--stone-light); font-size: 0.92rem; }
.footer ul a:hover { color: var(--flame); }
.footer-contact p { color: var(--stone-light); font-size: 0.9rem; line-height: 1.7; }
.footer-contact strong { color: var(--paper); display: block; margin-top: 8px; font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--stone);
}

/* ---------- Utilities ---------- */
.text-flame { color: var(--flame); }
.italic-display { font-family: 'Fraunces', serif; font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Table (admin) ---------- */
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-md); }
table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
table.data thead th {
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone);
}
table.data tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--canvas); }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 20px;
}
.status-paid, .status-confirmed, .status-completed, .status-success { background: var(--forest-light); color: var(--forest); }
.status-pending, .status-awaiting_payment, .status-processing { background: var(--cream); color: var(--flame-dark); }
.status-failed, .status-cancelled, .status-refunded { background: var(--ruby-light); color: var(--ruby); }

/* ---------- Alerts ---------- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.93rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.alert-error { background: var(--ruby-light); color: var(--ruby); border: 1px solid #FCA5A5; }
.alert-success { background: var(--forest-light); color: var(--forest); border: 1px solid #86EFAC; }
.alert-info { background: var(--cream); color: var(--flame-dark); border: 1px solid var(--cream); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s var(--ease) both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.25s; }
.fade-up-4 { animation-delay: 0.35s; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.pulse { animation: pulse 1.5s ease-in-out infinite; }
