/* ==========================================================
   Tajmol Cyber – Site styles (navigation + homepage)
   Teal background, white text, mobile-first responsive
   ========================================================== */

:root {
  --teal:        #00797a;   /* main bar (white text = 5.2:1 contrast) */
  --teal-deep:   #005c5d;   /* top strip, dropdown, mobile panel */
  --teal-hover:  rgba(255, 255, 255, 0.14);
  --white:       #ffffff;
  --radius:      10px;
  --bar-height:  68px;
  --ease:        cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  line-height: 1.5;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
ul  { list-style: none; margin: 0; padding: 0; }
a   { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--teal-deep);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

/* ---------- Top contact strip ---------- */
.topbar {
  display: none;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 0.8125rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}
.topbar a { font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Header / bar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 40, 40, 0.25);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--bar-height);
  gap: 1rem;
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand__text small {
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ---------- Hamburger ---------- */
.nav-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: transparent;
  color: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--teal-hover); }

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top:  6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Menu (mobile = slide-down panel) ---------- */
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - var(--bar-height));
  max-height: calc(100dvh - var(--bar-height));
  overflow-y: auto;
  padding: 1rem 1rem 1.5rem;
  background: var(--teal-deep);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
}
.nav-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.nav-list { display: flex; flex-direction: column; gap: 0.25rem; }

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}
.nav-link:hover { background: var(--teal-hover); }

.nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Services dropdown ---------- */
.chevron { transition: transform 0.25s var(--ease); }
.has-dropdown.is-open .chevron { transform: rotate(180deg); }

.dropdown {
  display: none;
  margin: 0.25rem 0 0.5rem 0.9rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(255, 255, 255, 0.35);
}
.has-dropdown.is-open .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.9375rem;
  border-radius: 8px;
}
.dropdown a:hover { background: var(--teal-hover); }

/* ---------- CTA button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--teal-deep);
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: transparent;
  color: var(--white);
}

/* ---------- Keyboard focus ---------- */
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.dropdown a:focus-visible,
.btn:focus-visible,
.brand:focus-visible,
.topbar a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* ==========================================================
   Desktop (960px and up)
   ========================================================== */
@media (min-width: 960px) {
  .topbar { display: block; }

  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-link {
    width: auto;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.9375rem;
  }

  /* underline marks the current page instead of a filled block */
  .nav-link[aria-current="page"] {
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--white);
    border-radius: 0;
  }

  .has-dropdown { position: relative; }

  .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    margin: 0;
    padding: 0.5rem;
    background: var(--teal-deep);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 30, 30, 0.35);
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s 0.18s;
  }

  /* invisible bridge so the menu doesn't close while the mouse crosses the gap */
  .dropdown::before {
    content: "";
    position: absolute;
    inset: -12px 0 auto 0;
    height: 12px;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.is-open .dropdown {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .has-dropdown:hover .chevron,
  .has-dropdown:focus-within .chevron { transform: rotate(180deg); }
}

/* Tighter spacing on small laptops */
@media (min-width: 960px) and (max-width: 1100px) {
  .brand__text small { display: none; }
  .nav-link { padding-inline: 0.65rem; }
}

/* Very small phones: drop the strapline */
@media (max-width: 380px) {
  .brand__text small { display: none; }
}

/* ---------- Respect reduced-motion settings ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================
   Tajmol Cyber – Homepage (loads after navbar.css)
   ========================================================== */

:root {
  --ink:      #123231;
  --muted:    #4d6665;
  --paper:    #ffffff;
  --mist:     #eef6f5;
  --line:     #d5e4e2;
  --wa:       #0f7a3d;   /* WhatsApp-style green, white text = 5.3:1 */
  --wa-dark:  #0b5e2f;
  --shadow:   0 6px 20px rgba(0, 60, 60, 0.08);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { color: var(--ink); background: var(--paper); }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- Icons ---------- */
.ico {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 30px; height: 30px; }

/* ---------- Buttons (extends .btn from navbar.css) ---------- */
.btn { gap: 0.55rem; text-align: center; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--paper); }
.btn--wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); color: var(--paper); }
.btn--ghost { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--paper); }
.btn:focus-visible { outline-offset: 3px; }
.hero .btn:focus-visible { outline-color: var(--teal-deep); }

/* ---------- Hero ---------- */
.hero { background: var(--mist); padding: 2.5rem 0 3.5rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }

.hero__kicker { font-weight: 700; color: var(--teal); margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
.hero__lead { margin-top: 1.1rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.65; color: var(--muted); }

.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; }

.hero__phone {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-top: 1.5rem; padding: 0.6rem 1rem 0.6rem 0.7rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero__phone .ico { width: 40px; height: 40px; padding: 9px; color: var(--paper); background: var(--teal); border-radius: 10px; }
.hero__phone span { display: flex; flex-direction: column; font-size: 0.8rem; color: var(--muted); line-height: 1.25; }
.hero__phone strong { font-size: 1.25rem; color: var(--ink); }
.hero__phone:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; }

.hero__trust { margin-top: 1.25rem; font-size: 0.9375rem; font-weight: 600; color: var(--teal-deep); }

/* Visual: photo with logo card; falls back to a clean teal panel until the photo is added */
.hero__visual {
  position: relative; margin: 0; min-height: 280px;
  background: var(--teal); border-radius: 24px;
  box-shadow: var(--shadow); overflow: hidden;
}
.hero__visual > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--tint { background: var(--mist); }
.section__head { max-width: 40rem; margin-bottom: 2.25rem; }
.section__head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.section__head p { margin-top: 0.75rem; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }

.cards { display: grid; gap: 1.25rem; }
.card {
  padding: 1.6rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.1rem;
  color: var(--teal); background: var(--mist); border-radius: 14px;
}
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { margin-top: 0.5rem; line-height: 1.6; color: var(--muted); }

.pillars { display: grid; gap: 1.25rem; }
.pillar { padding: 1.6rem; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.pillar .ico { color: var(--teal); }
.pillar h3 { margin-top: 0.9rem; font-size: 1.4rem; font-weight: 800; }
.pillar p { margin-top: 0.5rem; line-height: 1.6; color: var(--muted); }

/* ---------- Contact band ---------- */
.cta { padding: 3.5rem 0; background: var(--teal); color: var(--white); }
.cta__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
.cta p { margin-top: 0.5rem; font-size: 1.0625rem; }
.cta__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.cta .btn--wa:focus-visible, .cta .btn:focus-visible { outline-color: var(--white); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-deep); color: var(--white); padding-top: 3rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.footer__brand, .footer__contact { grid-column: 1 / -1; }

.footer__name { display: inline-block; font-size: 1.5rem; font-weight: 800; letter-spacing: 0.01em; }
.footer__tag { margin-top: 0.9rem; font-weight: 700; }
.footer__about { margin-top: 0.4rem; max-width: 22rem; font-size: 0.9375rem; line-height: 1.6; opacity: 0.9; }

.footer h3 { margin-bottom: 1rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.footer li + li { margin-top: 0.6rem; }
.footer__col a, .footer__place { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; }
.footer__col a:hover, .footer__policies a:hover { text-decoration: underline; }
.footer a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.footer .ico { width: 18px; height: 18px; }
.footer__place { align-items: flex-start; line-height: 1.5; }
.footer__place .ico { margin-top: 3px; }

.footer__bar { margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.footer__legal { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 0; font-size: 0.875rem; }
.footer__policies { display: flex; gap: 1.25rem; }
.footer__policies li + li { margin-top: 0; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cta__actions { flex-direction: row; }
  .footer__legal { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
  .hero__visual, .hero__visual > img { min-height: 460px; }
    .section { padding: 5.5rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cta__inner { grid-template-columns: 1fr auto; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 2.5rem; }
  .footer__brand, .footer__contact { grid-column: auto; }
}

/* ==========================================================
   Services, About, Why, How, Contact
   ========================================================== */
.btn--teal { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.btn--teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--paper); }
.btn--block { width: 100%; }
.section .btn:focus-visible, .form-card .btn:focus-visible { outline-color: var(--teal-deep); }
.note { margin-top: 1.75rem; max-width: 46rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }

/* Services */
.svc-grid { display: grid; gap: 1.25rem; }
.svc { display: flex; flex-direction: column; padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.svc h3 { font-size: 1.3rem; font-weight: 800; }
.svc__desc { margin-top: 0.4rem; line-height: 1.55; color: var(--muted); }
.svc ul { margin: 1.1rem 0 1.5rem; }
.svc li a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 46px; padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; }
.svc li:last-child a { border-bottom: 0; }
.svc li a .ico { width: 18px; height: 18px; color: var(--teal); }
.svc li a:hover { color: var(--teal); }
.svc li a:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: 6px; }
.svc .btn { margin-top: auto; }

/* About */
.about { display: grid; gap: 2rem; align-items: center; }
.about h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.about__copy { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.hl-list { display: grid; gap: 1rem; }
.hl { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); }
.hl .card__icon { margin: 0; flex-shrink: 0; }
.hl h3 { font-size: 1.1rem; font-weight: 700; }
.hl p { margin-top: 0.25rem; line-height: 1.55; color: var(--muted); }

/* Why choose */
.cards--4 { grid-template-columns: 1fr; }

/* How it works */
.steps { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.step { padding: 1.6rem; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; font-weight: 800; color: var(--paper); background: var(--teal); border-radius: 50%; }
.step h3 { font-size: 1.25rem; font-weight: 700; }
.step p { margin-top: 0.4rem; line-height: 1.6; color: var(--muted); }

/* Contact */
.contact { padding: 4rem 0; color: var(--white); background: var(--teal); }
.contact__grid { display: grid; gap: 2.5rem; align-items: start; }
.contact h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.contact__lead { margin-top: 0.75rem; font-size: 1.0625rem; line-height: 1.6; }
.info { display: grid; gap: 1.1rem; margin: 1.75rem 0; }
.info li { display: flex; gap: 0.85rem; align-items: flex-start; line-height: 1.5; }
.info .ico { margin-top: 2px; }
.info span > strong { display: block; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.info a { font-size: 1.25rem; font-weight: 800; }
.info a:hover { text-decoration: underline; }
.contact .btn--wa { border-color: var(--white); }
.contact a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.form-card { padding: 1.6rem; color: var(--ink); background: var(--paper); border-radius: 20px; box-shadow: 0 12px 32px rgba(0, 40, 40, 0.25); }
.form-card h3 { margin-bottom: 1.25rem; font-size: 1.4rem; font-weight: 800; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: 0.35rem; font-size: 0.9375rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 0.8rem 0.9rem; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid #5f807e; border-radius: 10px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.err { margin-top: 0.3rem; font-size: 0.875rem; font-weight: 600; color: #b3261e; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.status { margin-top: 1rem; padding: 0.85rem 1rem; font-weight: 600; line-height: 1.5; border-radius: 10px; }
.status:empty { display: none; }
.status--ok { color: #0b5e2f; background: #e3f4e8; }
.status--err { color: #8c1d18; background: #fdeceb; }
button.btn { font-family: inherit; cursor: pointer; }
button.btn:disabled { opacity: 0.6; cursor: wait; }

@media (min-width: 640px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .about { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .contact { padding: 5.5rem 0; }
  .contact__grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
}

/* ==========================================================
   Keyboard focus helpers, policy dialogs, cookie banner
   ========================================================== */
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
body:has(dialog[open]) { overflow: hidden; }
.linkbtn { padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.footer .linkbtn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.footer__policies { flex-wrap: wrap; }
.form-note a, .legal a, .cookie a { color: var(--teal-deep); text-decoration: underline; }

.legal { width: min(100% - 1.5rem, 760px); max-height: min(88vh, 900px); padding: 0; color: var(--ink); background: var(--paper); border: 0; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 30, 30, 0.4); overflow: hidden; }
.legal[open] { display: flex; flex-direction: column; }
.legal::backdrop { background: rgba(0, 30, 30, 0.6); }
.legal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.legal__head h2 { font-size: 1.35rem; font-weight: 800; }
.legal .btn { padding: 0.55rem 1.1rem; }
.legal .btn:focus-visible, .cookie .btn:focus-visible { outline-color: var(--teal-deep); }
.legal__body { padding: 1.25rem 1.4rem 1.5rem; overflow-y: auto; line-height: 1.7; }
.legal__body h3 { margin: 1.5rem 0 0.4rem; font-size: 1.05rem; font-weight: 700; }
.legal__body ul { margin: 0.5rem 0; padding-left: 1.25rem; list-style: disc; }
.legal__body li + li { margin-top: 0.4rem; }
.legal__meta { font-size: 0.875rem; color: var(--muted); }
.legal__foot { padding: 0.9rem 1.4rem; text-align: right; border-top: 1px solid var(--line); }

.cookie { position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 150; display: flex; flex-direction: column; gap: 1rem; max-width: 760px; margin-inline: auto; padding: 1.1rem 1.25rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 40px rgba(0, 40, 40, 0.3); }
.cookie h2 { font-size: 1.05rem; font-weight: 800; }
.cookie p { margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie .btn { flex: 1 1 auto; padding: 0.65rem 1.1rem; }
@media (min-width: 640px) {
  .cookie { flex-direction: row; align-items: center; }
  .cookie__actions { flex-wrap: nowrap; flex-shrink: 0; }
  .cookie .btn { flex: none; }
}

/* ---------- Standalone policy pages (privacy.html, terms.html) ---------- */
.doc { max-width: 46rem; line-height: 1.75; }
.doc h1 { margin-top: 1rem; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.doc h2 { margin: 2rem 0 0.5rem; font-size: 1.25rem; font-weight: 700; }
.doc ul { margin: 0.5rem 0; padding-left: 1.25rem; list-style: disc; }
.doc li + li { margin-top: 0.4rem; }
.doc a { color: var(--teal-deep); text-decoration: underline; }
.doc a:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px; }
.doc__back { font-weight: 700; }

/* ---------- FAQ page ---------- */
.faq { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 0.9rem 1.2rem; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.5rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "\2013"; }
.faq summary:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: 12px; }
.faq__a { padding: 0 1.2rem 1.1rem; color: var(--muted); }
.faq__more { margin-top: 2rem; font-weight: 700; }
.faq__more .btn { margin-top: 0.75rem; color: var(--paper); text-decoration: none; }
.doc .btn--wa:hover { color: var(--paper); }
