/* ==========================================================================
   Cricketbets999 — Vintage Cricket Pavilion
   Design system: leather, wood, heritage. Deep teal + rich brown/amber.
   ========================================================================== */

:root {
  --primary: #116257;
  --primary-dark: #0d4d44;
  --secondary: #8a4e00;
  --secondary-light: #b36800;
  --bg-body: #faf8f5;
  --bg-section: #f3ede5;
  --bg-dark: #1a1008;
  --bg-card: #ffffff;
  --border: #e0d5c5;
  --text-primary: #1a1008;
  --text-secondary: #6b5d4d;
  --accent: #bbb;

  --font-head: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1180px;
  --readw: 760px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(26, 16, 8, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 16, 8, 0.10);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.75;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin-bottom: 1.15rem; }
strong { font-weight: 600; color: var(--text-primary); }

/* Teal inline highlight for stats within serif paragraphs */
.hl {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-head);
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.read { max-width: var(--readw); margin: 0 auto; padding: 0 22px; }
section { padding: 68px 0; }
.section-alt { background: var(--bg-section); }
.section-dark {
  background: var(--bg-dark);
  color: #e9e0d3;
  background-image:
    linear-gradient(rgba(26,16,8,0.86), rgba(26,16,8,0.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 26px);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #f6efe3; }
.section-dark p { color: #cbbda9; }
.section-dark strong { color: #f0e7d8; }
.text-center { text-align: center; }

/* ---------- Vintage ornament header ---------- */
.ornament {
  text-align: center;
  margin-bottom: 42px;
}
.ornament .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.ornament h2 { margin: 0 auto; max-width: 820px; }
.ornament .rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  color: var(--secondary);
}
.ornament .rule::before,
.ornament .rule::after {
  content: "";
  height: 1px;
  width: 70px;
  background: linear-gradient(90deg, transparent, var(--secondary));
}
.ornament .rule::after { background: linear-gradient(90deg, var(--secondary), transparent); }
.ornament .rule .dot { width: 7px; height: 7px; border: 1px solid var(--secondary); transform: rotate(45deg); }
.section-dark .ornament .eyebrow { color: #d9a24e; }
.section-dark .ornament .rule { color: #6b4a1f; }
.section-dark .ornament .rule::before { background: linear-gradient(90deg, transparent, #8a6a3a); }
.section-dark .ornament .rule::after { background: linear-gradient(90deg, #8a6a3a, transparent); }
.section-dark .ornament .rule .dot { border-color: #8a6a3a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover { background: var(--secondary-light); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #f6efe3;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-lg { padding: 17px 40px; font-size: 1.08rem; }
.btn-wa .wa-ico { width: 19px; height: 19px; fill: currentColor; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #5a5248;
  background: #ececec;
  border: 1px solid #d6d2cc;
  padding: 5px 12px;
  border-radius: 4px;
}
.badge-teal { background: rgba(17,98,87,0.10); color: var(--primary); border-color: rgba(17,98,87,0.25); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--bg-dark);
  color: #ece3d6;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(20,12,6,0.90), rgba(20,12,6,0.94)),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 22px);
  padding: 84px 0 78px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 30%, rgba(17,98,87,0.22), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d9a24e;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero .eyebrow::before { content: ""; width: 30px; height: 1px; background: #8a6a3a; }
.hero h1 { color: #fdf8ef; margin-bottom: 22px; }
.hero h1 .accent { color: var(--primary); }
.hero-sub {
  font-size: 1.12rem;
  color: #c9bba7;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-figure {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
}
.hero-figure img { width: 100%; }
.hero-figure .frame-label {
  position: absolute;
  left: 0; bottom: 0;
  background: rgba(17,98,87,0.94);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  font-weight: 600;
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: #fdf8ef;
  display: block;
  line-height: 1;
}
.hero-stats .stat .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a3937c;
  margin-top: 8px;
  display: block;
}

/* ==========================================================================
   Editorial content
   ========================================================================== */
.editorial p { color: #3d3327; }
.editorial h2 { margin: 44px 0 18px; }
.editorial h3 { margin: 34px 0 14px; color: var(--secondary); }
.editorial .lead {
  font-size: 1.28rem;
  line-height: 1.7;
  color: #2c241a;
  font-family: var(--font-head);
  font-weight: 300;
  margin-bottom: 26px;
}
.pullquote {
  border-left: 3px solid var(--primary);
  padding: 6px 0 6px 26px;
  margin: 30px 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  font-style: italic;
}
.editorial ul.ticks { margin: 6px 0 24px; }
.editorial ul.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #3d3327;
}
.editorial ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--secondary);
  transform: rotate(45deg);
}

/* ==========================================================================
   Games — cricket scorecard score-strip
   ========================================================================== */
.scorecard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}
.scorecard-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 13px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.scorecard-head .tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.85; font-family: var(--font-body); }
.score-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  transition: background .2s ease;
}
.score-row:hover { background: var(--bg-section); }
.score-row .thumb {
  width: 52px; height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.score-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.score-row .match .name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
}
.score-row .match .meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.score-row .odds {
  text-align: right;
  white-space: nowrap;
}
.score-row .odds .val {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--primary);
  font-size: 1.15rem;
  display: block;
}
.score-row .odds .live {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b0472f;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.score-row .odds .live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #b0472f;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ==========================================================================
   Features — numbered vertical list
   ========================================================================== */
.feature-list { max-width: 860px; margin: 0 auto; }
.feature-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.feature-item:last-child { border-bottom: 1px solid var(--border); }
.feature-item .fnum {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  opacity: 0.55;
}
.feature-item h3 { margin-bottom: 8px; }
.feature-item p { margin-bottom: 0; color: var(--text-secondary); }

/* ==========================================================================
   Cards grid (generic)
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-secondary); margin-bottom: 0; }
.card .card-ico {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: rgba(17,98,87,0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

/* ==========================================================================
   Tools
   ========================================================================== */
.tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tool-head {
  background: var(--bg-dark);
  color: #f4ecdf;
  padding: 22px 26px;
  background-image: linear-gradient(rgba(26,16,8,0.9), rgba(26,16,8,0.94));
}
.tool-head h3 { color: #fdf8ef; margin-bottom: 4px; }
.tool-head p { color: #b7a892; margin: 0; font-size: 0.92rem; }
.tool-body { padding: 26px; }
.tool-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.tool-tab {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 18px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: .2s ease;
}
.tool-tab:hover { color: var(--primary); }
.tool-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tool-panel { display: none; }
.tool-panel.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.field input[type="number"],
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--text-primary);
  transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,98,87,0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.result-box {
  margin-top: 22px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 20px 22px;
}
.result-box .big {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.result-box .big small {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  font-family: var(--font-body);
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.result-grid .r {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
  text-align: center;
}
.result-grid .r .v {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  display: block;
}
.result-grid .r .k {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}
.result-note { font-size: 0.92rem; color: var(--text-secondary); margin-top: 14px; margin-bottom: 0; }
.bench-bar {
  height: 8px;
  background: #e4dccf;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}
.bench-bar span { display: block; height: 100%; background: var(--primary); border-radius: 4px; transition: width .5s ease; }

/* Word search */
.ws-wrap { display: grid; grid-template-columns: 1fr 240px; gap: 26px; align-items: start; }
.ws-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  user-select: none;
  touch-action: none;
  max-width: 440px;
}
.ws-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.8rem, 2.4vw, 1.05rem);
  color: var(--text-primary);
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.ws-cell.sel { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.ws-cell.found { background: var(--primary); color: #fff; border-color: var(--primary-dark); cursor: default; }
.ws-side .ws-meta {
  display: flex;
  justify-content: space-between;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 700;
}
.ws-side .ws-meta .v { color: var(--primary); }
.ws-words { display: flex; flex-direction: column; gap: 8px; }
.ws-words li {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  letter-spacing: 0.04em;
}
.ws-words li.done {
  background: rgba(17,98,87,0.10);
  color: var(--primary);
  border-color: rgba(17,98,87,0.3);
  text-decoration: line-through;
}
.ws-win {
  margin-top: 14px;
  background: rgba(17,98,87,0.10);
  border: 1px solid rgba(17,98,87,0.3);
  color: var(--primary);
  border-radius: 6px;
  padding: 12px 14px;
  font-weight: 600;
  display: none;
}
.ws-win.show { display: block; }

/* ==========================================================================
   Auth (login/signup) two-column
   ========================================================================== */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 34px;
}
.auth-card h2 { margin-bottom: 6px; }
.auth-card .sub { color: var(--text-secondary); margin-bottom: 26px; }
.auth-note {
  font-size: 0.86rem;
  color: var(--text-secondary);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 18px;
}

/* ==========================================================================
   Steps (APK install)
   ========================================================================== */
.steps { counter-reset: step; max-width: 760px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step .n {
  counter-increment: step;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h4 { margin-bottom: 5px; }
.step p { margin: 0; color: var(--text-secondary); }

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
}
.spec-table th {
  background: var(--bg-section);
  font-family: var(--font-head);
  font-weight: 700;
  width: 40%;
  color: var(--text-primary);
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .ic { color: var(--primary); font-size: 1.4rem; transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .faq-a-inner { padding: 0 22px 20px; color: var(--text-secondary); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--primary); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-secondary { background: var(--secondary); }
.cta-band .btn-secondary:hover { background: #6f3f00; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #b7a892;
  padding: 60px 0 26px;
  background-image: linear-gradient(rgba(26,16,8,0.94), rgba(20,12,6,0.98));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; color: #a3937c; max-width: 320px; }
.footer-col h4 {
  color: #f0e7d8;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #b7a892; font-size: 0.94rem; }
.footer-col ul li a:hover { color: #f0e7d8; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  margin-bottom: 22px;
}
.footer-disclaimer p { font-size: 0.82rem; color: #8a7c68; margin: 0; line-height: 1.7; }
.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(176,71,47,0.14);
  border: 1px solid rgba(176,71,47,0.4);
  color: #d98a72;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 5px;
  margin-bottom: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8a7c68;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ==========================================================================
   Breadcrumb / page hero for interior pages
   ========================================================================== */
.page-hero {
  background: var(--bg-dark);
  color: #ece3d6;
  padding: 64px 0 56px;
  background-image:
    linear-gradient(rgba(20,12,6,0.90), rgba(20,12,6,0.95)),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 22px);
  text-align: center;
}
.page-hero h1 { color: #fdf8ef; margin-bottom: 14px; }
.page-hero p { color: #c9bba7; max-width: 640px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.82rem;
  color: #a3937c;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: #d9a24e; }
.breadcrumb span { opacity: 0.6; margin: 0 8px; }

/* legal doc styling */
.legal { max-width: var(--readw); margin: 0 auto; }
.legal h2 { margin: 38px 0 14px; font-size: 1.5rem; }
.legal h3 { margin: 26px 0 10px; font-size: 1.2rem; color: var(--secondary); }
.legal p, .legal li { color: #3d3327; }
.legal ul { margin: 0 0 20px; }
.legal ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--secondary); transform: rotate(45deg); }
.legal .updated { font-size: 0.88rem; color: var(--text-secondary); font-style: italic; margin-bottom: 30px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info .ci-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci-ico {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: rgba(17,98,87,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-info .ci-item h4 { margin-bottom: 2px; }
.contact-info .ci-item p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

/* Author / E-E-A-T box */
.author-box {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius);
  padding: 22px;
  margin: 36px auto;
  max-width: var(--readw);
  align-items: center;
}
.author-box .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
}
.author-box .who { font-family: var(--font-head); font-weight: 700; }
.author-box .role { font-size: 0.85rem; color: var(--secondary); font-weight: 600; }
.author-box p { font-size: 0.9rem; color: var(--text-secondary); margin: 6px 0 0; }

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.trust-strip .badge { font-size: 0.75rem; padding: 8px 14px; }

/* Disclaimer inline banner */
.notice {
  background: rgba(176,71,47,0.08);
  border: 1px solid rgba(176,71,47,0.3);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 auto 30px;
  max-width: var(--readw);
}
.notice p { margin: 0; font-size: 0.92rem; color: #7a4030; }
.notice strong { color: #6a2f1f; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { max-width: 480px; }
  .auth-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ws-wrap { grid-template-columns: 1fr; }
  .ws-grid { margin: 0 auto; }
}
@media (max-width: 760px) {
  section { padding: 52px 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border);
    padding: 18px 22px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .feature-item { grid-template-columns: 60px 1fr; gap: 16px; }
  .feature-item .fnum { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .score-row { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 14px 16px; }
  .tool-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tool-tab { white-space: nowrap; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .ws-grid { gap: 3px; }
  .btn { padding: 13px 22px; }
  .btn-row .btn { width: 100%; }
}
