/* ═══════════════════════════════════════════════
   GONIVIA DESIGN SYSTEM — v5 Crimson Edition
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Hind:wght@300;400;500;600;700&display=swap');

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

:root {
  --deep:        #6B0F1A;
  --brand:       #8B0000;
  --crimson:     #A61C2E;
  --red:         #C0392B;
  --rose:        #D94040;
  --gold:        #C5991A;
  --gold-bright: #E0B830;
  --bg:          #FDF8F5;
  --bg-alt:      #F8EDE9;
  --white:       #FFFFFF;
  --border:      #EDD8D0;
  --text:        #1C0808;
  --text-2:      #4A1818;
  --text-3:      #7A3535;
  --shadow-sm:   0 2px 10px rgba(139,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(139,0,0,0.12);
  --shadow-lg:   0 18px 54px rgba(107,15,26,0.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Hind', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }

/* ── NAV ─────────────────────────────────────── */
.g-nav {
  font-family: 'Cormorant Garamond', serif;
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 68px;
  background: rgba(253,248,245,0.96); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; padding: 0 6%;
}
.g-logo {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  border-left: 3px solid var(--gold); padding-left: 12px;
}
.g-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem; font-weight: 700; color: var(--brand);
  line-height: 1; letter-spacing: 0.05em;
}
.g-logo-sub {
  font-size: 0.52rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-3); line-height: 1;
}
.g-nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.g-nav-links a { text-decoration: none; color: var(--text-2); font-size: 0.84rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; transition: color .18s, background .18s; }
.g-nav-links a:hover { color: var(--brand); background: rgba(139,0,0,0.06); }
.g-nav-links a.active { color: var(--brand); background: rgba(139,0,0,0.06); }
.g-nav-links .g-nav-cta { background: linear-gradient(135deg, var(--brand) 0%, var(--crimson) 100%); color: var(--white) !important; padding: 7px 18px; border-radius: 7px; transition: opacity .2s !important; }
.g-nav-links .g-nav-cta:hover { opacity: 0.88 !important; }
.g-nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────── */
.g-footer { background: var(--deep); color: var(--white); padding: 56px 6% 0; }
.g-footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.g-footer-logo {
  display: flex; flex-direction: column; gap: 3px; margin-bottom: 18px;
  border-left: 2px solid var(--gold-bright); padding-left: 11px;
}
.g-footer-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; line-height: 1; }
.g-footer-logo-sub { font-size: 0.50rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.50); line-height: 1; }
.g-footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.78; max-width: 275px; }
.g-footer-col h5 { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; }
.g-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.g-footer-col a { color: rgba(255,255,255,0.62); text-decoration: none; font-size: 0.85rem; transition: color .18s; }
.g-footer-col a:hover { color: var(--white); }
.g-footer-bottom { padding: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.g-footer-bottom-row1 { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.g-footer-bottom-row1 p { color: rgba(255,255,255,0.42); font-size: 0.78rem; }
.g-footer-bottom-row1 strong { color: rgba(255,255,255,0.65); }
.g-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.g-footer-legal a { color: rgba(255,255,255,0.42); text-decoration: none; font-size: 0.76rem; transition: color .18s; }
.g-footer-legal a:hover { color: rgba(255,255,255,0.80); }
.g-footer-legal span { color: rgba(255,255,255,0.20); }

/* ── SECTIONS ────────────────────────────────── */
.g-section { padding: 86px 6%; }
.g-section-alt { background: var(--bg-alt); }
.g-section-white { background: var(--white); }
.g-section-dark { background: var(--brand); }

.g-label { font-size: 0.69rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.g-label::before { content: ''; width: 22px; height: 2px; background: var(--gold); display: inline-block; }
.g-label-light { color: var(--gold-bright); }
.g-label-light::before { background: var(--gold-bright); }

.g-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.85rem, 3vw, 2.6rem); font-weight: 600; color: var(--brand); line-height: 1.22; margin-bottom: 16px; }
.g-h2 em { font-style: italic; color: var(--rose); }
.g-h2-light { color: var(--white); }
.g-h2-light em { color: var(--gold-bright); }
.g-intro { font-size: 1rem; color: var(--text-2); max-width: 600px; line-height: 1.82; }
.g-intro-light { color: rgba(255,255,255,0.82); }

/* ── BUTTONS ─────────────────────────────────── */
.g-btn-p { display: inline-block; background: linear-gradient(135deg, var(--brand) 0%, var(--crimson) 100%); color: var(--white); padding: 13px 30px; border-radius: 8px; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.04em; text-decoration: none; border: none; transition: all .22s; box-shadow: 0 4px 16px rgba(139,0,0,0.28); }
.g-btn-p:hover { opacity: 0.90; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(139,0,0,0.38); }
.g-btn-o { display: inline-block; background: transparent; color: var(--brand); padding: 13px 30px; border-radius: 8px; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.04em; text-decoration: none; border: 2px solid var(--brand); transition: all .22s; }
.g-btn-o:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); }
.g-btn-gold { display: inline-block; background: var(--gold); color: #2A1800; padding: 13px 30px; border-radius: 8px; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.04em; text-decoration: none; border: 2px solid var(--gold); transition: all .22s; box-shadow: 0 4px 14px rgba(197,153,26,0.30); }
.g-btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); }
.g-btn-ghost { display: inline-block; background: rgba(255,255,255,0.14); color: var(--white); padding: 13px 30px; border-radius: 8px; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.04em; text-decoration: none; border: 2px solid rgba(255,255,255,0.40); transition: all .22s; }
.g-btn-ghost:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

/* ── STATS ───────────────────────────────────── */
.g-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.g-stat { display: flex; flex-direction: column; gap: 2px; }
.g-stat-n { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 700; color: var(--brand); line-height: 1; }
.g-stat-l { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.g-stat-n-lt { color: var(--gold-bright); }
.g-stat-l-lt { color: rgba(255,255,255,0.65); }

/* ── CARDS ───────────────────────────────────── */
.g-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.g-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.g-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.g-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.g-card p { font-size: 0.86rem; color: var(--text-2); line-height: 1.7; }

/* ── FEAT LIST ───────────────────────────────── */
.g-feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.g-feat-list li { display: flex; gap: 11px; font-size: 0.88rem; color: var(--text-2); line-height: 1.58; align-items: flex-start; }
.g-feat-list li::before { content: '✦'; color: var(--gold); font-size: 0.65rem; flex-shrink: 0; margin-top: 4px; }

/* ── POLICY PAGES ────────────────────────────── */
.policy-hero { padding: 110px 6% 56px; background: linear-gradient(140deg, var(--deep) 0%, var(--brand) 45%, var(--crimson) 100%); position: relative; overflow: hidden; }
.policy-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 80% 50%, rgba(224,184,48,0.12) 0%, transparent 60%); }
.policy-hero-inner { position: relative; z-index: 1; max-width: 700px; animation: g-up .8s ease both; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.60); }
.breadcrumb a { color: rgba(255,255,255,0.60); text-decoration: none; transition: color .18s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.92); }
.breadcrumb span { color: rgba(255,255,255,0.30); }
.breadcrumb strong { color: rgba(255,255,255,0.95); }
.policy-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; color: var(--white); margin-bottom: 14px; line-height: 1.2; }
.policy-hero p { font-size: 0.97rem; color: rgba(255,255,255,0.82); max-width: 540px; line-height: 1.85; }
.policy-hero .last-updated { display: inline-block; margin-top: 18px; font-size: 0.76rem; font-weight: 600; color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); padding: 4px 14px; border-radius: 20px; }
.policy-body { padding: 72px 6%; background: var(--white); }
.policy-content { max-width: 820px; }
.policy-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--brand); margin: 40px 0 14px; padding-top: 40px; border-top: 1px solid var(--border); line-height: 1.3; }
.policy-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.policy-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--brand); margin: 22px 0 8px; }
.policy-content p { font-size: 0.96rem; color: var(--text-2); line-height: 1.88; margin-bottom: 14px; }
.policy-content ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 12px 0 16px 0; }
.policy-content ul li { display: flex; gap: 11px; font-size: 0.94rem; color: var(--text-2); line-height: 1.62; align-items: flex-start; }
.policy-content ul li::before { content: '✦'; color: var(--gold); font-size: 0.65rem; flex-shrink: 0; margin-top: 5px; }
.policy-content a { color: var(--brand); text-decoration: underline; }
.policy-content a:hover { color: var(--rose); }
.policy-note { background: var(--bg-alt); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 20px 0; }
.policy-note p { margin: 0; font-size: 0.93rem; color: var(--text-2); }
.policy-note strong { color: var(--brand); }

/* ── FADE ────────────────────────────────────── */
.g-fade { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.g-fade.g-in { opacity: 1; transform: none; }
@keyframes g-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ── HAMBURGER ───────────────────────────────── */
.g-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--border); cursor: pointer; padding: 9px 10px; border-radius: 7px; align-items: center; justify-content: center; flex-shrink: 0; }
.g-hamburger span { display: block; width: 20px; height: 2px; background: var(--brand); border-radius: 2px; transition: transform .25s, opacity .25s; }
.g-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.g-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.g-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.g-nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 199; background: rgba(253,248,245,0.98); backdrop-filter: blur(16px); border-bottom: 2px solid var(--border); padding: 16px 6% 24px; flex-direction: column; gap: 2px; box-shadow: 0 8px 32px rgba(139,0,0,0.14); }
.g-nav-mobile.open { display: flex; }
.g-nav-mobile a { display: block; text-decoration: none; color: var(--text-2); font-size: 0.95rem; font-weight: 600; padding: 11px 14px; border-radius: 8px; transition: background .18s, color .18s; }
.g-nav-mobile a:hover, .g-nav-mobile a.active { color: var(--brand); background: rgba(139,0,0,0.07); }
.g-nav-mobile .g-mob-cta { background: linear-gradient(135deg, var(--brand) 0%, var(--crimson) 100%); color: var(--white) !important; margin-top: 8px; text-align: center; border-radius: 8px; }
.g-nav-mobile hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) { .g-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .g-nav-links { display: none !important; }
  .g-hamburger { display: flex; }
  .g-section { padding: 56px 5%; }
  .g-stats { gap: 20px; }
  .g-stat-n { font-size: 1.6rem; }
  .g-btn-p, .g-btn-o, .g-btn-gold, .g-btn-ghost { font-size: 0.85rem; padding: 11px 22px; }
  .g-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .g-footer-bottom-row1 { flex-direction: column; align-items: flex-start; }
  .g-footer-legal { gap: 12px; }
  .policy-hero { padding: 90px 5% 44px; }
  .policy-body { padding: 44px 5%; }
  .policy-content h2 { font-size: 1.3rem; }
  .g-h2 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .g-section { padding: 48px 4%; }
  .g-stats { gap: 16px; }
  .g-stat-n { font-size: 1.45rem; }
  .g-footer-legal { flex-direction: column; gap: 8px; }
}
