/*
Theme Name: ReadyPackets
Theme URI: https://www.readypackets.com
Author: ReadyPackets Consulting LLC
Author URI: https://www.readypackets.com
Description: Professional WordPress theme for ReadyPackets Consulting — human-built business packets with AI-assisted accuracy. Features Stripe payment integration, ADA compliance, and dark/light theme support.
Version: 3.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: readypackets
Tags: business, consulting, e-commerce, accessibility-ready, custom-colors
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
  /* ── Layout & Neutral (shared across all schemes) ── */
  --bg: #FAFAF8;
  --bg-warm: #F4F1EC;
  --bg-card: #FFFFFF;
  --bg-dark: #0F0F0F;
  --bg-dark-card: #1A1A1A;
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #696969;
  --text-on-dark: #E8E6E1;
  --border: #E5E2DC;
  --border-dark: #2A2A2A;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
  --nav-bg: rgba(250, 250, 248, 0.92);
  --nav-border: var(--border);
  --input-bg: var(--bg);
  --section-dark-bg: #0F0F0F;
  --section-dark-card: #1A1A1A;
  --section-dark-text: #E8E6E1;
  --section-dark-muted: #A8A8A8;
  --section-dark-border: #2A2A2A;
  --discount-bg: #fef9e7;
  /* ── Default: Premium Gold ── */
  --accent: #C8A951;
  --accent-light: #D4B85C;
  --accent-pale: #F5F0E0;
  --accent-glow: rgba(200, 169, 81, 0.10);
  --accent-on-accent: #0F0F0F;
  --gold: #C8A951;
  --gold-light: #E0C972;
  --section-dark-gold: #E0C972;
}

/* ═══ COLOR SCHEME: DEEP NAVY ═══ */
html[data-scheme="navy"], :root[data-scheme="navy"] {
  --accent: #1B2A4A;
  --accent-light: #2A3F6A;
  --accent-pale: #E8EDF5;
  --accent-glow: rgba(27, 42, 74, 0.08);
  --accent-on-accent: #FFFFFF;
  --gold: #C8A951;
  --gold-light: #E0C972;
  --section-dark-gold: #7EA3D4;
}
/* ═══ COLOR SCHEME: EMERALD GREEN ═══ */
html[data-scheme="emerald"], :root[data-scheme="emerald"] {
  --accent: #1A6B4A;
  --accent-light: #228B5B;
  --accent-pale: #E6F4ED;
  --accent-glow: rgba(26, 107, 74, 0.08);
  --accent-on-accent: #FFFFFF;
  --gold: #C8A951;
  --gold-light: #E0C972;
  --section-dark-gold: #5ECE98;
}
/* ═══ COLOR SCHEME: RICH BURGUNDY ═══ */
html[data-scheme="burgundy"], :root[data-scheme="burgundy"] {
  --accent: #7A1B3D;
  --accent-light: #9A2850;
  --accent-pale: #F5E8ED;
  --accent-glow: rgba(122, 27, 61, 0.08);
  --accent-on-accent: #FFFFFF;
  --gold: #C8A951;
  --gold-light: #E0C972;
  --section-dark-gold: #D4749A;
}
/* ═══ COLOR SCHEME: ELECTRIC TEAL ═══ */
html[data-scheme="teal"], :root[data-scheme="teal"] {
  --accent: #0D9488;
  --accent-light: #14B8A6;
  --accent-pale: #E6F7F5;
  --accent-glow: rgba(13, 148, 136, 0.08);
  --accent-on-accent: #FFFFFF;
  --gold: #C8A951;
  --gold-light: #E0C972;
  --section-dark-gold: #5EEAD4;
}

/* ── Dark Theme ── */
[data-theme="dark"] {
  --bg: #0F0F0F;
  --bg-warm: #141414;
  --bg-card: #1A1A1A;
  --text: #E8E6E1;
  --text-secondary: #B0B0B0;
  --text-muted: #8A8A8A;
  --text-on-dark: #E8E6E1;
  --border: #2A2A2A;
  --border-dark: #3A3A3A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.15);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
  --nav-bg: rgba(15, 15, 15, 0.92);
  --nav-border: #2A2A2A;
  --input-bg: #1A1A1A;
  --section-dark-bg: #090909;
  --section-dark-card: #121212;
  --section-dark-text: #E8E6E1;
  --section-dark-muted: #A8A8A8;
  --section-dark-border: #222222;
  --discount-bg: rgba(200, 169, 81, 0.1);
}
/* Dark + Navy */
[data-theme="dark"][data-scheme="navy"] {
  --accent: #5B8AC4;
  --accent-light: #7EA3D4;
  --accent-pale: rgba(91, 138, 196, 0.12);
  --accent-glow: rgba(91, 138, 196, 0.08);
  --accent-on-accent: #0F0F0F;
  --section-dark-gold: #7EA3D4;
}
/* Dark + Emerald */
[data-theme="dark"][data-scheme="emerald"] {
  --accent: #34D399;
  --accent-light: #5EEAD4;
  --accent-pale: rgba(52, 211, 153, 0.12);
  --accent-glow: rgba(52, 211, 153, 0.08);
  --accent-on-accent: #0F0F0F;
  --section-dark-gold: #5ECE98;
}
/* Dark + Burgundy */
[data-theme="dark"][data-scheme="burgundy"] {
  --accent: #E07A9E;
  --accent-light: #EDA0BA;
  --accent-pale: rgba(224, 122, 158, 0.12);
  --accent-glow: rgba(224, 122, 158, 0.08);
  --accent-on-accent: #0F0F0F;
  --section-dark-gold: #D4749A;
}
/* Dark + Teal */
[data-theme="dark"][data-scheme="teal"] {
  --accent: #2DD4BF;
  --accent-light: #5EEAD4;
  --accent-pale: rgba(45, 212, 191, 0.12);
  --accent-glow: rgba(45, 212, 191, 0.08);
  --accent-on-accent: #0F0F0F;
  --section-dark-gold: #5EEAD4;
}

[data-theme="dark"] .nav { background: var(--nav-bg); border-bottom-color: var(--nav-border); }
[data-theme="dark"] .section-dark { background: var(--section-dark-bg); }
[data-theme="dark"] .section-dark .phase-card { background: var(--section-dark-card); border-color: var(--section-dark-border); }
[data-theme="dark"] .section-dark .phase-card .phase-label { color: var(--section-dark-gold); }
[data-theme="dark"] .section-dark .how-step p,
[data-theme="dark"] .section-dark .phase-card p { color: var(--section-dark-muted); }
[data-theme="dark"] .section-dark .how-step-num { background: var(--gold); color: var(--section-dark-bg); }
[data-theme="dark"] .section-dark .section-label { color: var(--section-dark-gold); }
[data-theme="dark"] .section-dark .checklist-banner { background: var(--section-dark-card); border-color: var(--section-dark-border); }
[data-theme="dark"] .section-dark .checklist-banner ul li { color: #C0C0C0; }
[data-theme="dark"] .price-row.total { background: var(--accent-pale); color: var(--accent); }
[data-theme="dark"] .price-row.discount { background: var(--discount-bg); color: var(--gold); }
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea { background: var(--input-bg); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .form-select option { background: var(--bg-card); }
[data-theme="dark"] .btn-primary { background: var(--accent); color: var(--accent-on-accent); }
[data-theme="dark"] .btn-primary:hover { background: var(--accent-light); }
[data-theme="dark"] .btn-outline { color: var(--accent); border-color: var(--accent); }
[data-theme="dark"] .btn-outline:hover { background: var(--accent-pale); }
[data-theme="dark"] .btn-ghost { background: var(--accent-glow); color: var(--accent); }
[data-theme="dark"] .btn-white { background: var(--bg-card); color: var(--accent); }
[data-theme="dark"] .nav-cta { background: var(--accent); color: var(--accent-on-accent); }
[data-theme="dark"] .about-img-placeholder { background: linear-gradient(135deg, var(--accent-pale), var(--bg-warm)); }
[data-theme="dark"] .nav-dropdown-menu { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .nav-dropdown-item:hover { background: var(--accent-pale); color: var(--accent); }
[data-theme="dark"] .nav-links.open { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .nav-burger span { background: var(--text); }
[data-theme="dark"] footer { background: #0A0B0C; }
[data-theme="dark"] .bundle-banner { background: linear-gradient(135deg, #1a3d28 0%, #0f261a 100%); }

/* ── Theme Toggle ── */
.theme-toggle { display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 99px; padding: 3px; gap: 0; margin-left: 6px; flex-shrink: 0; transition: background-color 0.3s ease, border-color 0.3s ease; }
.theme-toggle-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent; cursor: pointer; transition: var(--transition); color: var(--text-muted); font-size: 0.9rem; padding: 0; position: relative; -webkit-tap-highlight-color: transparent; }
.theme-toggle-btn:hover { color: var(--text); background: var(--accent-glow); }
.theme-toggle-btn.active { background: var(--accent); color: white; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
[data-theme="dark"] .theme-toggle-btn.active { color: var(--accent-on-accent); }
.theme-toggle-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.theme-toggle-btn::after { content: attr(data-tooltip); position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%) scale(0.9); background: var(--bg-dark); color: var(--text-on-dark); font-size: 0.68rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 10; }
[data-theme="dark"] .theme-toggle-btn::after { background: var(--bg-card); color: var(--text); }
.theme-toggle-btn:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

@media (max-width: 900px) {
  .theme-toggle { margin-left: auto; margin-right: 10px; }
  .theme-toggle-btn { width: 30px; height: 30px; }
  .theme-toggle-btn svg { width: 14px; height: 14px; }
  .theme-toggle-btn::after { display: none; }
}
@media (max-width: 600px) {
  .theme-toggle { padding: 2px; margin-right: 8px; }
  .theme-toggle-btn { width: 28px; height: 28px; }
  .theme-toggle-btn svg { width: 13px; height: 13px; }
}
@media (max-width: 380px) {
  .theme-toggle { padding: 2px; margin-right: 6px; }
  .theme-toggle-btn { width: 26px; height: 26px; }
  .theme-toggle-btn svg { width: 12px; height: 12px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Skip Link ── */
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 24px; background: var(--accent); color: var(--accent-on-accent); border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; z-index: 9999; text-decoration: none; transition: top 0.2s ease; }
.skip-link:focus { top: 16px; outline: 3px solid var(--gold); outline-offset: 2px; }

/* ── Focus Styles ── */
*:focus-visible { outline: 3px solid var(--focus-ring, var(--accent)); outline-offset: 3px; border-radius: 2px; }
*:focus:not(:focus-visible) { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus-ring, var(--accent)); outline-offset: 3px; }
[data-theme="dark"] *:focus-visible { --focus-ring: var(--gold-light); }

/* ── Touch Targets ── */
.nav-link, .nav-cta, .nav-dropdown-item, .btn, .theme-toggle-btn { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }

body { word-spacing: normal; letter-spacing: normal; }
::selection { background: var(--accent); color: var(--accent-on-accent); }
[data-theme="dark"] ::selection { background: var(--gold); color: var(--accent-on-accent); }

.contact-info a, .form-disclaimer a, .footer-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Form Errors ── */
.form-input[aria-invalid="true"], .form-select[aria-invalid="true"], .form-textarea[aria-invalid="true"] { border-color: #d32f2f; box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15); }
.form-error { color: #d32f2f; font-size: 0.78rem; margin-top: 4px; display: none; }
.form-input[aria-invalid="true"] ~ .form-error, .form-select[aria-invalid="true"] ~ .form-error, .form-textarea[aria-invalid="true"] ~ .form-error { display: block; }
[data-theme="dark"] .form-error { color: #ff6b6b; }
[data-theme="dark"] .form-input[aria-invalid="true"], [data-theme="dark"] .form-select[aria-invalid="true"], [data-theme="dark"] .form-textarea[aria-invalid="true"] { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 5px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }
}

/* ── Forced Colors ── */
@media (forced-colors: active) {
  .btn-primary, .nav-cta, .theme-toggle-btn.active { border: 2px solid ButtonText; }
  .progress-fill, .progress-mini-fill { background: Highlight; }
  .feature-card, .service-card, .pricing-card, .packet-item, .form-card { border: 2px solid CanvasText; }
  *:focus-visible { outline: 3px solid Highlight; }
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; transition: background-color 0.4s ease, color 0.4s ease; padding-top: 72px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ═══ NAVIGATION ═══ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--nav-bg); backdrop-filter: blur(24px) saturate(1.4); border-bottom: 1px solid var(--nav-border); transition: var(--transition); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; height: 72px; gap: 8px; }
.nav-logo { font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; color: var(--accent); letter-spacing: -0.02em; cursor: pointer; margin-right: auto; background: none; border: none; padding: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav-logo-icon { color: var(--accent); font-size: 1.2rem; }
.nav-logo-text { color: var(--text); font-family: var(--font-display); }
[data-theme="dark"] .nav-logo-text { color: var(--text); }
.nav-logo-img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-link { padding: 8px 16px; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); position: relative; border: none; background: none; font-family: var(--font-body); text-decoration: none; }
.nav-link:hover { color: var(--text); background: var(--accent-glow); }
.nav-link.active, .nav-link.current-menu-item > a { color: var(--accent); font-weight: 600; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; min-width: 260px; box-shadow: var(--shadow-lg); z-index: 10; list-style: none; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-item { display: block; width: 100%; padding: 10px 14px; font-size: 0.84rem; color: var(--text-secondary); border-radius: var(--radius-sm); transition: var(--transition); cursor: pointer; background: none; border: none; text-align: left; font-family: var(--font-body); text-decoration: none; }
.nav-dropdown-item:hover { background: var(--accent-pale); color: var(--accent); }
.nav-cta { padding: 9px 22px; background: var(--accent); color: var(--accent-on-accent); border: none; border-radius: 99px; font-family: var(--font-body); font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: var(--transition); margin-left: 8px; text-decoration: none; }
.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Mobile */
.nav-burger { display: none; width: 36px; height: 36px; border: none; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 16px 24px; box-shadow: var(--shadow-lg); gap: 4px; max-height: 80vh; overflow-y: auto; }
  .nav-links.open .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 12px; display: block; }
  .nav-cta { margin-left: 0; margin-top: 8px; width: 100%; text-align: center; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-links.open .nav-dropdown .nav-dropdown-menu { display: block; }
}

/* ═══ HERO ═══ */
.hero { padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); pointer-events: none; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.03em; max-width: 820px; margin: 0 auto 24px; position: relative; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 99px; font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-on-accent); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-pale); }
.btn-ghost { background: var(--accent-glow); color: var(--accent); }
.btn-ghost:hover { background: var(--accent-pale); }
.btn-white { background: white; color: var(--accent); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 22px; font-size: 0.84rem; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: var(--accent-pale); color: var(--accent); border-radius: 99px; font-size: 0.8rem; font-weight: 600; margin-bottom: 28px; letter-spacing: 0.03em; }

/* ═══ SECTIONS ═══ */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-warm { background: var(--bg-warm); }
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; }
.section-dark .section-label { color: var(--gold-light); }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 620px; line-height: 1.7; }
.section-dark .section-subtitle { color: #B0B0B0; }

/* ═══ FEATURES ═══ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.feature-icon { width: 48px; height: 48px; background: var(--accent-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 18px; }
.feature-card h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ═══ HOW IT WORKS ═══ */
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 48px; }
.how-step { text-align: center; padding: 32px 20px; }
.how-step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 18px; }
.section-dark .how-step-num { background: var(--gold); color: var(--bg-dark); }
.how-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.section-dark .how-step p { color: #A8A8A8; }

/* ═══ SERVICES ═══ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .emoji { font-size: 2rem; margin-bottom: 16px; display: block; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ═══ PACKETS ═══ */
.packet-hero { padding: 100px 0 60px; text-align: center; }
.packet-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 16px; }
.packets-list { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.packet-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 36px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; transition: var(--transition); }
.packet-item:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.packet-num { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-pale); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.packet-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.packet-item > div > p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }
.packet-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.packet-check { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--accent); background: var(--accent-pale); padding: 5px 12px; border-radius: 99px; font-weight: 500; }
.packet-tagline { font-size: 0.85rem; font-style: italic; color: var(--text-muted); }
@media (max-width: 600px) { .packet-item { grid-template-columns: 1fr; } }

/* ═══ PRICING ═══ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; transition: var(--transition); position: relative; }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.pricing-card.featured::after { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; padding: 4px 16px; border-radius: 99px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-tier { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px; }
.pricing-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; margin-bottom: 4px; }
.pricing-price small { font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-body); }
.pricing-desc { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; font-style: italic; }
.pricing-features { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-features li { padding: 6px 0; font-size: 0.86rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-delivery { font-size: 0.8rem; color: var(--text-muted); padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }

/* ═══ BUNDLE ═══ */
.bundle-banner { background: linear-gradient(135deg, var(--accent) 0%, #1e4a30 100%); color: white; border-radius: var(--radius-lg); padding: 48px 44px; margin-top: 60px; position: relative; overflow: hidden; }
.bundle-banner::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(196,154,60,0.2) 0%, transparent 70%); }
.bundle-banner h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; margin-bottom: 8px; position: relative; }
.bundle-price { font-family: var(--font-display); font-size: 3rem; color: var(--gold-light); margin: 16px 0 8px; }
.bundle-price small { font-size: 1rem; color: rgba(255,255,255,0.6); font-family: var(--font-body); }
.bundle-savings { background: rgba(255,255,255,0.15); display: inline-block; padding: 4px 14px; border-radius: 99px; font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; }
.bundle-list { list-style: none; columns: 2; column-gap: 32px; margin: 20px 0; }
.bundle-list li { padding: 5px 0; font-size: 0.88rem; break-inside: avoid; opacity: 0.9; }
@media (max-width: 600px) { .bundle-banner { padding: 32px 24px; } .bundle-list { columns: 1; } }

/* ═══ ABOUT ═══ */
.about-hero { padding: 100px 0 60px; text-align: center; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.about-hero p { font-size: 1.05rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 60px 0; }
@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; } }
.about-split h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px; }
.about-split p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; }
.about-img-placeholder { width: 100%; height: 320px; background: linear-gradient(135deg, var(--accent-pale), var(--bg-warm)); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--accent); border: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px; }
.team-card { text-align: center; padding: 32px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-pale), #d4e7da); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.team-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.team-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ═══ CONTACT ═══ */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 0.9rem; color: var(--text-secondary); }
.contact-detail-icon { width: 40px; height: 40px; background: var(--accent-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-group label .req { color: var(--accent); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 11px 16px; background: var(--input-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem; color: var(--text); transition: var(--transition); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-disclaimer { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; font-style: italic; }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--bg-dark); color: var(--text-on-dark); padding: 60px 0 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand {}
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent-pale); margin-bottom: 12px; }
.footer-logo a { color: var(--accent); text-decoration: none; }
.footer-logo a:hover { color: var(--accent-light); }
.footer-logo-img { height: 36px; width: auto; max-width: 180px; object-fit: contain; }
.footer-tagline { font-size: 0.85rem; color: #999; line-height: 1.6; margin-bottom: 16px; }
.footer-contact-info { font-size: 0.84rem; color: #B0B0B0; line-height: 1.7; }
.footer-contact-info a { color: #B0B0B0; text-decoration: none; }
.footer-contact-info a:hover { color: white; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: white; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.82rem; color: #999; transition: var(--transition); text-decoration: none; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 24px; }
.footer-copy { font-size: 0.78rem; color: #999; }
.footer-disclaimer { font-size: 0.72rem; color: #666; margin-top: 8px; }

/* ═══ UTILITIES ═══ */
.text-center { text-align: center; }
.mt-60 { margin-top: 60px; }
.mb-24 { margin-bottom: 24px; }

.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.phase-card { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--border-dark); background: var(--bg-dark-card); }
.phase-card .phase-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; font-weight: 700; }
.phase-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.phase-card p { font-size: 0.84rem; color: #A8A8A8; line-height: 1.6; }

.checklist-banner { margin-top: 48px; padding: 32px; background: var(--bg-dark-card); border: 1px solid var(--border-dark); border-radius: var(--radius); }
.checklist-banner h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 16px; }
.checklist-banner ul { list-style: none; columns: 2; column-gap: 24px; }
.checklist-banner ul li { padding: 4px 0; font-size: 0.86rem; color: #C0C0C0; }
@media (max-width: 600px) { .checklist-banner ul { columns: 1; } }

.price-breakdown { margin-top: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; padding: 14px 24px; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row.total { background: var(--accent-pale); font-weight: 700; color: var(--accent); }
.price-row.discount { background: #fef9e7; font-weight: 600; color: var(--gold); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ CHECKOUT PAGE ═══ */
.checkout-page { max-width: 960px; margin: 0 auto; padding: 60px 32px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .checkout-grid { grid-template-columns: 1fr; } }

.order-summary { background: var(--bg-warm); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; }
.order-summary h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 20px; }
.order-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.order-item:last-child { border-bottom: none; }
.order-item.order-total { font-weight: 700; font-size: 1.1rem; color: var(--accent); border-top: 2px solid var(--accent); padding-top: 16px; margin-top: 8px; }
.order-item-name { color: var(--text); }
.order-item-price { font-weight: 600; }
.order-item-tier { font-size: 0.78rem; color: var(--text-muted); }

.checkout-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); }
.checkout-form h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 24px; }

#stripe-card-element { padding: 14px 16px; background: var(--input-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); min-height: 44px; }
#stripe-card-element.StripeElement--focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
#stripe-card-element.StripeElement--invalid { border-color: #d32f2f; }
#card-errors { color: #d32f2f; font-size: 0.82rem; margin-top: 8px; min-height: 20px; }
[data-theme="dark"] #card-errors { color: #ff6b6b; }

.checkout-btn { width: 100%; padding: 16px; background: var(--accent); color: white; border: none; border-radius: 99px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition); margin-top: 24px; }
.checkout-btn:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.checkout-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.checkout-btn .spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.6s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

.checkout-secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); margin-top: 16px; }

.checkout-success { text-align: center; padding: 80px 32px; }
.checkout-success .success-icon { font-size: 4rem; margin-bottom: 24px; }
.checkout-success h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; color: var(--accent); }
.checkout-success p { color: var(--text-secondary); font-size: 1rem; max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }

/* ═══ RESPONSIVE ═══ */
@media (min-width: 1400px) { :root { --max-w: 1320px; } .hero h1 { font-size: 4.2rem; } .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .container { padding: 0 24px; } .nav-inner { padding: 0 24px; } .hero { padding: 80px 0 60px; } .section { padding: 60px 0; } .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; } .how-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 768px) { .container { padding: 0 20px; } .nav-inner { padding: 0 20px; height: 64px; } body { padding-top: 64px; } .hero { padding: 72px 0 48px; } .hero h1 { font-size: 2rem; } .section { padding: 48px 0; } .features-grid { grid-template-columns: 1fr; gap: 14px; } .services-grid { grid-template-columns: 1fr; gap: 14px; } .pricing-grid { grid-template-columns: 1fr; gap: 16px; } .footer-inner { flex-direction: column; text-align: center; gap: 16px; } .footer-top { grid-template-columns: 1fr; text-align: center; gap: 32px; } .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; } .checkout-page { padding: 40px 20px; } }
@media (max-width: 600px) { .container { padding: 0 16px; } .nav-inner { padding: 0 16px; height: 60px; } .nav-logo { font-size: 1.3rem; } body { padding-top: 60px; } .hero { padding: 56px 0 40px; } .hero h1 { font-size: 1.7rem; } .btn { padding: 12px 24px; font-size: 0.86rem; } .section { padding: 40px 0; } .checkout-form { padding: 24px 18px; } .order-summary { padding: 24px 20px; } }
@media (max-width: 380px) { .container { padding: 0 12px; } .nav-inner { padding: 0 12px; } .nav-logo { font-size: 1.15rem; } .hero h1 { font-size: 1.45rem; } .how-steps { grid-template-columns: 1fr; } }
@media (hover: none) { .feature-card:hover, .service-card:hover, .pricing-card:hover, .packet-item:hover, .team-card:hover { transform: none; box-shadow: var(--shadow-sm); } .service-card::before { transform: scaleX(1); } .btn:hover { transform: none; } }
@media print { .nav, .site-footer, .btn, .form-card, .hero-badge { display: none; } .section-dark { background: white; color: black; } body { background: white; padding-top: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
@media (prefers-contrast: high) { :root { --border: #999; --text-muted: #555; --text-secondary: #333; --accent-glow: rgba(45, 90, 61, 0.15); } .feature-card, .service-card, .pricing-card, .packet-item { border-width: 2px; } }

/* ═══ CUSTOMER PORTAL ═══ */
.form-select { display:block;width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font-size:0.9rem;font-family:var(--font-body);appearance:auto;transition:var(--transition); }
.form-select:focus { border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-glow); }
.form-textarea { display:block;width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);font-size:0.9rem;font-family:var(--font-body);min-height:100px;resize:vertical;transition:var(--transition); }
.form-textarea:focus { border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-glow); }
.form-card { background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:28px; }
.btn-sm { padding:8px 16px;font-size:0.82rem; }
.btn-outline { background:transparent;border:1px solid var(--border);color:var(--text);border-radius:var(--radius-sm);padding:8px 16px;cursor:pointer;font-family:var(--font-body);font-size:0.82rem;transition:var(--transition); }
.btn-outline:hover { border-color:var(--accent);color:var(--accent); }
.portal-wrapper { display: flex; min-height: calc(100vh - 72px); }
.portal-sidebar { width: 260px; background: var(--bg-card); border-right: 1px solid var(--border); padding: 24px 16px; flex-shrink: 0; position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; }
.portal-content { flex: 1; padding: 32px; min-width: 0; }
.portal-user { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.portal-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.portal-user-name { font-weight: 600; font-size: 0.9rem; }
.portal-user-role { font-size: 0.75rem; color: var(--text-muted); }
.portal-nav { display: flex; flex-direction: column; gap: 2px; }
.portal-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: var(--transition); background: none; border: none; font-family: var(--font-body); text-align: left; width: 100%; text-decoration: none; }
.portal-nav-item:hover { background: var(--accent-glow); color: var(--text); }
.portal-nav-item.active { background: var(--accent-pale); color: var(--accent); font-weight: 600; }
.portal-badge { background: var(--accent); color: white; font-size: 0.68rem; padding: 2px 7px; border-radius: 99px; margin-left: auto; font-weight: 700; }
.portal-mobile-toggle { display: none; position: fixed; bottom: 20px; left: 20px; z-index: 100; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: white; border: none; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-lg); }

/* Portal cards */
.portal-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.portal-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 16px; }
.portal-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.portal-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; text-align: center; }
.portal-stat-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); }
.portal-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* Messages */
.msg-thread { max-height: 500px; overflow-y: auto; padding: 16px; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 16px; }
.msg-bubble { max-width: 75%; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 12px; font-size: 0.88rem; line-height: 1.55; position: relative; }
.msg-bubble.sent { margin-left: auto; background: var(--accent); color: white; border-bottom-right-radius: 4px; }
.msg-bubble.received { background: var(--bg-card); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg-meta { font-size: 0.72rem; opacity: 0.7; margin-top: 6px; }
.msg-compose { display: flex; gap: 8px; }
.msg-compose textarea { flex: 1; }

/* Order status badge */
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 99px; font-size: 0.76rem; font-weight: 600; color: white; }

/* File list */
.file-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; background: var(--bg-card); }
.file-item:hover { border-color: var(--accent); }
.file-info { display: flex; align-items: center; gap: 12px; }
.file-icon { width: 36px; height: 36px; background: var(--accent-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.file-name { font-weight: 600; font-size: 0.88rem; }
.file-meta { font-size: 0.75rem; color: var(--text-muted); }

/* Audio recorder */
.audio-recorder { padding: 20px; background: var(--bg-warm); border-radius: var(--radius); border: 1px solid var(--border); text-align: center; }
.audio-recorder .rec-btn { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--accent); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: var(--transition); }
.audio-recorder .rec-btn.recording { border-color: #ef4444; background: #fef2f2; animation: pulse 1.5s ease infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.audio-timer { font-family: monospace; font-size: 1.4rem; margin: 12px 0; color: var(--text); }

/* Order timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-dot { position: absolute; left: -24px; top: 2px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid white; }
.timeline-date { font-size: 0.72rem; color: var(--text-muted); }
.timeline-text { font-size: 0.85rem; margin-top: 2px; }

/* Portal responsive */
@media (max-width: 900px) {
  .portal-sidebar { position: fixed; left: -280px; top: 72px; z-index: 500; transition: left 0.3s ease; box-shadow: var(--shadow-lg); }
  .portal-sidebar.open { left: 0; }
  .portal-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .portal-content { padding: 20px 16px; }
}
@media (max-width: 600px) {
  .portal-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .portal-card { padding: 18px 14px; }
  .msg-bubble { max-width: 90%; }
}

/* WordPress-specific */
.wp-block-image img { height: auto; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
