/* ═══════════════════════════════════════════
   MALAZ INK STUDIO — Global Stylesheet
   ═══════════════════════════════════════════ */

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

/* ── DESIGN TOKENS ── */
:root {
  --ink:    #1a0a00;
  --ink2:   #2e1500;
  --rust:   #7c2d12;
  --rust2:  #9a3412;
  --amber:  #b45309;
  --amber2: #d97706;
  --sand:   #fdf4e7;
  --sand2:  #fce8c4;
  --cream:  #fffbf4;
  --warm:   #f9f0e1;
  --mid:    #6b4423;
  --light:  #a07850;
  --pale:   #e8d5b0;
  --white:  #fffdf9;
  --gold:   #e8c97a;
  --gold2:  #f0d88a;
  --r:      8px;
  --rlg:    14px;
  --sh:     0 2px 18px rgba(26,10,0,0.09);
  --sh2:    0 6px 32px rgba(26,10,0,0.14);
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}
a { color: inherit; }
button { font-family: 'DM Sans', sans-serif; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 999;
  background: var(--ink);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(232,201,122,0.18);
}
.logo { display: flex; align-items: baseline; gap: 6px; cursor: pointer; text-decoration: none; }
.logo-word { font-family: 'DM Serif Display', serif; font-size: 1.45rem; color: var(--gold); letter-spacing: 0.02em; }
.logo-sep  { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.4; margin-bottom: 3px; align-self: flex-end; }
.logo-sub  { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,201,122,0.4); font-weight: 300; }
.nav-links { display: flex; gap: 1.9rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.58);
  text-decoration: none; font-size: 0.79rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; transition: color 0.18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-book {
  background: var(--gold); color: var(--ink);
  padding: 9px 22px; border-radius: var(--r);
  font-size: 0.79rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; border: none; transition: background 0.18s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.nav-book:hover { background: var(--gold2); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span { width: 22px; height: 2px; background: rgba(255,255,255,0.7); border-radius: 2px; display: block; }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--ink2); z-index: 998;
  padding: 1.5rem 2rem; flex-direction: column; gap: 1rem;
  border-bottom: 1px solid rgba(232,201,122,0.12);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.95rem; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .m-book {
  background: var(--gold); color: var(--ink);
  padding: 12px; border-radius: var(--r);
  text-align: center; font-weight: 700; border-bottom: none; margin-top: 0.5rem;
}

/* ── ALERT BANNER ── */
.alert-banner {
  background: #7c1d1d; padding: 0.85rem 2.5rem;
  display: flex; align-items: flex-start; justify-content: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.alert-banner svg { flex-shrink: 0; margin-top: 1px; }
.alert-banner p { color: rgba(255,255,255,0.88); font-size: 0.83rem; line-height: 1.6; max-width: 760px; text-align: center; }
.alert-banner strong { color: #fca5a5; }

/* ── COMMON SECTION ── */
.sec { padding: 5rem 3rem; }
.sec-inner { max-width: 980px; margin: 0 auto; }
.sec-tag { font-size: 0.71rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust2); font-weight: 700; margin-bottom: 0.55rem; }
.sec-h { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--ink); line-height: 1.18; margin-bottom: 0.85rem; }
.sec-h em { font-style: italic; color: var(--rust); }
.sec-sub { color: var(--mid); font-size: 0.97rem; line-height: 1.8; max-width: 520px; }
.rule { width: 44px; height: 3px; background: var(--amber2); border-radius: 2px; margin: 1.1rem 0; }

/* ── BUTTONS ── */
.btn-gold {
  background: var(--gold); color: var(--ink);
  padding: 13px 28px; border-radius: var(--r);
  font-size: 0.88rem; font-weight: 700; border: none;
  cursor: pointer; transition: background 0.18s; display: inline-block; text-decoration: none;
}
.btn-gold:hover { background: var(--gold2); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.72);
  padding: 13px 28px; border-radius: var(--r);
  font-size: 0.88rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; transition: all 0.18s; display: inline-block; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink {
  background: var(--ink); color: var(--white);
  padding: 13px 28px; border-radius: var(--r);
  font-size: 0.88rem; font-weight: 700; border: none;
  cursor: pointer; transition: background 0.18s; display: inline-block; text-decoration: none;
}
.btn-ink:hover { background: var(--rust); }

/* ── STRIP ── */
.strip {
  background: var(--rust);
  padding: 1.2rem 3rem;
  display: flex; gap: 2.5rem; justify-content: center; align-items: center; flex-wrap: wrap;
}
.strip-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.82); font-size: 0.83rem; }
.strip-ico { width: 28px; height: 28px; background: rgba(255,255,255,0.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.strip-ico svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.85); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── FORM ELEMENTS ── */
.fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 0.85rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0.85rem; }
label.fl { font-size: 0.75rem; font-weight: 700; color: var(--mid); letter-spacing: 0.06em; text-transform: uppercase; }
input.fi, select.fi, textarea.fi {
  padding: 10px 13px; border: 1.5px solid var(--pale); border-radius: var(--r);
  font-size: 0.91rem; font-family: 'DM Sans', sans-serif;
  color: var(--ink); background: var(--sand); outline: none; width: 100%;
  transition: border-color 0.18s, background 0.18s;
}
input.fi:focus, select.fi:focus, textarea.fi:focus { border-color: var(--amber2); background: var(--white); }
textarea.fi { resize: vertical; min-height: 78px; }
.fsec-title {
  font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: var(--ink);
  margin-bottom: 1.1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--sand);
  display: flex; align-items: center; gap: 9px;
}
.fsec-title svg { width: 16px; height: 16px; stroke: var(--rust); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── POLICY CARDS ── */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.pcard { background: var(--white); border-radius: var(--rlg); padding: 1.5rem; box-shadow: var(--sh); border: 1px solid var(--pale); border-top: 3px solid var(--amber2); }
.pcard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.pcard-head svg { width: 17px; height: 17px; stroke: var(--rust); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.pcard h4 { font-family: 'DM Serif Display', serif; color: var(--ink); font-size: 1rem; }
.pcard p { font-size: 0.85rem; color: var(--mid); line-height: 1.78; }

/* ── SAFETY BOX ── */
.safety-box { background: #fff7f7; border: 1.5px solid #fecaca; border-radius: var(--rlg); padding: 1.6rem 1.75rem; margin-top: 2rem; }
.safety-box-head { display: flex; align-items: center; gap: 10px; margin-bottom: 0.85rem; }
.safety-box-head svg { width: 21px; height: 21px; stroke: #991b1b; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.safety-box-head h4 { font-family: 'DM Serif Display', serif; color: #991b1b; font-size: 1.05rem; }
.safety-box p { font-size: 0.87rem; color: #7f1d1d; line-height: 1.78; }
.safety-box p + p { margin-top: 0.65rem; }

/* ── PRICING TABLE ── */
.ptable { background: var(--white); border-radius: var(--rlg); box-shadow: var(--sh); overflow: hidden; max-width: 640px; border: 1px solid var(--pale); }
.pthead { background: var(--ink); padding: 13px 22px; }
.pthead span { color: var(--gold); font-family: 'DM Serif Display', serif; font-size: 1rem; }
.prow { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; border-bottom: 1px solid var(--sand); transition: background 0.12s; gap: 1rem; }
.prow:hover { background: var(--sand); }
.prow-label { font-size: 0.9rem; color: var(--ink); }
.prow-val { font-weight: 700; color: var(--rust); font-size: 0.9rem; white-space: nowrap; }
.pnote { background: var(--sand2); padding: 13px 22px; font-size: 0.83rem; color: var(--mid); font-style: italic; line-height: 1.65; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.38);
  text-align: center; padding: 3rem 2rem; font-size: 0.8rem;
}
.footer-logo { font-family: 'DM Serif Display', serif; color: var(--gold); font-size: 1.3rem; margin-bottom: 0.4rem; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; color: rgba(255,255,255,0.3); font-size: 0.92rem; margin-bottom: 1.25rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.8rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { font-size: 0.72rem; opacity: 0.4; margin-top: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links, .nav-book { display: none; }
  .hamburger { display: flex; }
  .sec { padding: 3.5rem 1.5rem; }
  .strip { padding: 1.1rem 1.5rem; gap: 1.25rem; }
  .fgrid { grid-template-columns: 1fr; }
  .alert-banner { padding: 0.85rem 1.5rem; }
}
@media (max-width: 480px) {
  .pgrid { grid-template-columns: 1fr; }
}
