/* ══════════════════════════════════════════
   MOG Consulting — Shared Styles
   Wine palette · Paperlogy · Desktop-first responsive
   ══════════════════════════════════════════ */
@import url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css');


:root {
  --wine: #5C1D3D;
  --mid-wine: #7A2B52;
  --light-wine: #9B3D6B;
  --pink-accent: #C97690;
  --light-pink: #E8B4C4;
  --pale-pink: #F5DDE6;
  --sub-bg: #F8F6F7;
  --divider: #E2DDE0;
  --gray-text: #8A7E84;
  --text-dark: #4A2838;
  --text-mid: #6B5560;
  --white: #FFFFFF;
  --max-w: 1140px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; }
body { font-family:'Paperlogy',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; color:var(--text-dark); background:var(--white); line-height:1.7; font-weight:500; }
a { color:inherit; text-decoration:none; }

/* ─── Layout ─── */
.container { max-width:var(--max-w); margin:0 auto; padding:0 32px; }
section { padding:100px 0; }

/* ─── Typography ─── */
.display { font-weight:800; }
h1 { font-size:2.6rem; font-weight:800; line-height:1.3; color:var(--text-dark); }
h2 { font-size:2rem; font-weight:800; line-height:1.35; color:var(--text-dark); }
h3 { font-size:1.35rem; font-weight:800; line-height:1.4; color:var(--text-dark); }
h4 { font-size:1.1rem; font-weight:800; color:var(--text-dark); }
p { font-size:1rem; line-height:1.8; color:var(--text-mid); font-weight:500; }
.section-tag { display:inline-flex; align-items:center; gap:6px; font-size:.75rem; font-weight:700; color:var(--pink-accent); letter-spacing:2px; text-transform:uppercase; margin-bottom:12px; }
.section-title { font-size:2rem; font-weight:800; color:var(--wine); margin-bottom:10px; }
.section-desc { font-size:1.05rem; color:var(--gray-text); max-width:640px; }

/* ─── Navigation ─── */
.nav { position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(255,255,255,.92); backdrop-filter:blur(12px); border-bottom:1px solid transparent; transition:all .3s; }
.nav.scrolled { border-bottom-color:var(--divider); box-shadow:0 2px 20px rgba(92,29,61,.06); }
.nav-inner { max-width:var(--max-w); margin:0 auto; padding:0 32px; height:64px; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { display:flex; align-items:center; gap:8px; text-decoration:none; }
.nav-logo-text { font-size:1.15rem; font-weight:800; color:var(--wine); letter-spacing:-0.5px; }
.nav-logo-sub { font-size:.65rem; color:var(--gray-text); font-weight:500; }
.nav-menu { display:flex; gap:28px; align-items:center; list-style:none; }
.nav-menu a { text-decoration:none; font-size:.88rem; font-weight:500; color:var(--text-mid); !important; transition:color .2s; }
.nav-menu a:hover { color:var(--wine); }
.nav-cta { background:var(--wine); color:#fff !important; padding:8px 20px; border-radius:8px; font-weight:600; transition:background .2s; }
.nav-cta:hover { background:var(--mid-wine); }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:4px; }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--text-dark); margin:5px 0; transition:all .3s; }

/* ─── Hero ─── */
.hero { padding:140px 0 100px; background:linear-gradient(135deg, #4A1731 0%, var(--wine) 50%, var(--light-wine) 100%); position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; top:-50%; right:-20%; width:600px; height:600px; border-radius:50%; background:radial-gradient(circle, rgba(232,180,196,.15) 0%, transparent 70%); }
.hero .container { position:relative; z-index:2; }
.hero-tag { color:var(--light-pink); font-size:.8rem; font-weight:600; letter-spacing:3px; text-transform:uppercase; margin-bottom:20px; }
.hero h1 { color:#fff; font-size:3rem; max-width:700px; }
.hero h1 em { font-style:normal; font-weight:800; color:var(--pale-pink); }
.hero-desc { color:rgba(255,255,255,.7); font-size:1.1rem; max-width:560px; margin-top:20px; line-height:1.8; }
.hero-actions { display:flex; gap:14px; margin-top:36px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:10px; font-size:.95rem; font-weight:600; text-decoration:none; transition:all .25s; cursor:pointer; border:none; }
.btn-white { background:#fff; color:var(--wine); }
.btn-white:hover { background:var(--pale-pink); }
.btn-outline { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.35); }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,.1); }
.btn-wine { background:var(--wine); color:#fff; }
.btn-wine:hover { background:var(--mid-wine); }

/* ─── Cards ─── */
.card-grid { display:grid; gap:24px; margin-top:40px; }
.card-grid.cols-2 { grid-template-columns:repeat(2,1fr); }
.card-grid.cols-3 { grid-template-columns:repeat(3,1fr); }
.card-grid.cols-4 { grid-template-columns:repeat(4,1fr); }

.card { background:#fff; border:1px solid var(--divider); border-radius:14px; padding:32px; transition:all .3s; }
.card:hover { border-color:var(--light-pink); box-shadow:0 8px 32px rgba(92,29,61,.05); transform:translateY(-2px); }
.card-icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:16px; background:#FDF2F6; }
.card h4 { margin-bottom:8px; }
.card p { font-size:.92rem; color:var(--gray-text); }

/* ─── Footer ─── */
.footer { background:var(--text-dark); color:rgba(255,255,255,.6); padding:56px 0 32px; }
.footer-inner { max-width:var(--max-w); margin:0 auto; padding:0 32px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px; }
.footer-logo { font-size:1.2rem; font-weight:800; color:#fff; margin-bottom:12px; }
.footer-info { font-size:.82rem; line-height:1.8; }
.footer-links { display:flex; gap:40px; }
.footer-links a { color:rgba(255,255,255,.5); font-size:.85rem; transition:color .2s; }
.footer-links a:hover { color:#fff; }
.footer-copy { max-width:var(--max-w); margin:0 auto; padding:24px 32px 0; border-top:1px solid rgba(255,255,255,.08); margin-top:32px; font-size:.75rem; color:rgba(255,255,255,.3); }

/* ─── Modal ─── */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(58,24,40,.6); backdrop-filter:blur(4px); z-index:200; align-items:center; justify-content:center; }
.modal-overlay.active { display:flex; }
.modal { background:#fff; border-radius:16px; max-width:720px; width:92%; max-height:85vh; overflow-y:auto; padding:40px; position:relative; animation:modalIn .3s ease; }
@keyframes modalIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.modal-close { position:absolute; top:16px; right:16px; background:var(--sub-bg); border:none; width:36px; height:36px; border-radius:50%; cursor:pointer; font-size:1.2rem; display:flex; align-items:center; justify-content:center; color:var(--text-mid); transition:all .2s; }
.modal-close:hover { background:var(--pale-pink); color:var(--wine); }
.modal h3 { color:var(--wine); margin-bottom:6px; }
.modal-subtitle { color:var(--gray-text); font-size:.9rem; margin-bottom:24px; }
.modal-section { margin-bottom:24px; }
.modal-section h4 { color:var(--text-dark); font-size:.95rem; margin-bottom:8px; display:flex; align-items:center; gap:8px; }
.modal-section h4::before { content:''; width:4px; height:18px; background:var(--wine); border-radius:2px; flex-shrink:0; }
.modal-section p, .modal-section li { font-size:.9rem; color:var(--text-mid); line-height:1.7; }
.modal-section ul { padding-left:20px; }
.modal-section li { margin-bottom:4px; }
.modal-sample { margin-top:20px; padding:20px; background:var(--sub-bg); border-radius:12px; text-align:center; }
.modal-sample-label { font-size:.78rem; color:var(--gray-text); margin-bottom:10px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
.modal-sample-img { width:100%; max-width:500px; border-radius:8px; border:1px solid var(--divider); }

/* ─── Animation Video ─── */
.anim-video { background:var(--text-dark); border-radius:14px; overflow:hidden; position:relative; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.anim-video canvas { width:100%; height:100%; }

/* ─── Scroll Reveal ─── */
.reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ─── Responsive ─── */
@media (max-width:900px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.6rem; }
  section { padding:64px 0; }
  .container { padding:0 20px; }
  .hero { padding:110px 0 64px; }
  .hero h1 { font-size:2.2rem; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns:1fr; }
  .nav-menu { display:none; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:#fff; padding:20px 24px; box-shadow:0 8px 24px rgba(0,0,0,.08); gap:16px; }
  .nav-menu.open { display:flex; }
  .nav-toggle { display:block; }
  .footer-inner { flex-direction:column; }
  .footer-links { flex-direction:column; gap:12px; }
}
@media (min-width:901px) and (max-width:1200px) {
  .card-grid.cols-4 { grid-template-columns:repeat(2,1fr); }
}

/* Explicit wine heading colors for linked cards */
a.card h4, a.card:visited h4 { color:var(--wine); font-weight:800; }
a.card:hover h4 { color:var(--mid-wine); }
.insight-card h4 { color:var(--wine); font-weight:800; }
