/* GawwaK AI — site-wide styles (warm travelsawaa theme) */
:root {
  --bg: #F5EFE6;
  --surface: #ECE4D6;
  --line: #E0D6C8;
  --ink: #20201E;
  --muted: #6F6A61;
  --accent: #A9805C;
  --accent-dark: #8F6947;
  --ok: #5E7355;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Mobile: double-tap to zoom off interactive elements (pinch zoom still
   available for accessibility) — a quick double-tap on a link/button used to
   zoom the whole page ~200% on phones. */
a, button, summary, input, textarea, select { touch-action: manipulation; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 239, 230, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); display: block; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu > a { padding: 8px 12px; font-size: 14.5px; font-weight: 500; border-radius: 8px; color: var(--ink); }
.nav-menu > a:hover, .nav-menu > a[aria-current="page"] { color: var(--accent-dark); background: var(--surface); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin-inline: 6px; }
.lang-switch { font-size: 13.5px; font-weight: 600; color: var(--accent-dark); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-switch:hover { border-color: var(--accent); }
.nav-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 38px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); }

/* dropdowns via <details> */
.nav-drop { position: relative; }
.nav-drop summary {
  list-style: none; cursor: pointer; padding: 8px 12px; font-size: 14.5px; font-weight: 500;
  border-radius: 8px; display: flex; align-items: center; gap: 6px;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: "▾"; font-size: 10px; color: var(--muted); }
.nav-drop[open] summary { background: var(--surface); color: var(--accent-dark); }
.nav-drop summary:hover { background: var(--surface); }
.nav-panel {
  position: absolute; inset-inline-start: 0; top: calc(100% + 8px);
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(32, 32, 30, 0.12);
  padding: 8px; min-width: 300px; z-index: 50;
}
.nav-panel a { display: block; padding: 10px 12px; border-radius: 10px; }
.nav-panel a:hover { background: var(--surface); }
.nav-panel strong { display: block; font-size: 14.5px; font-weight: 600; }
.nav-panel span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border-radius: 999px;
  font-weight: 500; font-size: 14.5px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent; text-align: center;
}
.btn-ghost { padding: 9px 18px; color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-solid { padding: 10px 22px; background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-lg { padding: 13px 30px; font-size: 15.5px; }

/* ---------- Hero / sections ---------- */
.hero { padding: 84px 0 64px; text-align: center; }
.hero-compact { padding: 56px 0 44px; text-align: start; }
.hero-logo { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto 30px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
}
/* Brand wordmark — always bold "GawwaK" in Lucida Handwriting */
.wm { font-family: var(--brand-font); font-weight: 700; font-size: 1.16em; letter-spacing: 0.01em; }
.eyebrow .wm { text-transform: none; font-size: 1.2em; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; max-width: 860px; margin: 0 auto 18px; }
.hero-compact h1 { margin-inline: 0; max-width: 760px; font-size: clamp(30px, 4.4vw, 46px); }
.hero h1 .accent { color: var(--accent-dark); }
.hero .lede, .hero-compact .lede { font-size: clamp(16px, 2vw, 18.5px); color: var(--muted); max-width: 660px; margin: 0 auto 32px; }
.hero-compact .lede { margin-inline: 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-compact .hero-actions { justify-content: flex-start; }
section { padding-block: 26px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.section-head.start { text-align: start; margin-inline: 0; }
.section-head h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 10px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); padding-block: 56px; margin-block: 40px; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; padding-top: 22px; }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs span { color: var(--line); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 24px;
}
.card .ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.card .ill { margin-bottom: 16px; }
.card .ill img {
  width: 112px; height: 90px; display: block;
  margin-inline: auto; /* center the illustration in the card (LTR + RTL) */
  filter: drop-shadow(0 6px 20px rgba(32, 32, 30, 0.28)); /* same soft shadow profile as the chat orb */
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card-link { display: block; transition: transform 0.15s ease, border-color 0.15s ease; }
.card-link:hover { border-color: var(--accent); transform: translateY(-3px); }
.card-link .arrow { display: inline-block; margin-top: 14px; color: var(--accent-dark); font-weight: 600; font-size: 14px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pill {
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--accent-dark);
}

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(30px, 4vw, 40px); font-weight: 700; color: var(--accent-dark); line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); }
.note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 16px; }

/* ---------- Split / list ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.rev > :first-child { order: 2; }
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.check-list li { padding-inline-start: 30px; position: relative; font-size: 15.5px; }
.check-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.lead { font-size: 16.5px; color: var(--muted); max-width: 720px; }
h2.h-sub { font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-dark); font-size: 20px; font-weight: 500; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 18px; color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink); color: var(--bg);
  border-radius: 20px; padding: 56px 32px; text-align: center;
  margin-block: 56px;
}
.cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 10px; }
.cta p { color: #BDB6AA; margin-bottom: 28px; }
.cta .btn-ghost { color: var(--bg); border-color: #4A4844; }
.cta .btn-ghost:hover { border-color: var(--bg); color: #fff; }

/* ---------- Forms ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  /* 16px (not 15): anything under 16px makes iOS Safari auto-zoom the page
     into the field on focus, which on a phone leaves the viewport stuck zoomed. */
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hp { position: absolute; inset-inline-start: -9999px; }
.form-status { font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #A0523F; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.contact-card h3 { font-size: 16px; font-weight: 600; }
.contact-card a.big { font-size: 17px; font-weight: 600; color: var(--accent-dark); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-top: 44px; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-bottom: 34px; }
.foot-col { display: grid; gap: 9px; align-content: start; font-size: 14px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.foot-col a { color: var(--muted); }
.foot-col a:hover { color: var(--accent-dark); }
.foot-brand p { color: var(--muted); font-size: 13.5px; max-width: 260px; }
.foot-brand .lang-switch { justify-self: start; margin-top: 6px; }
.foot-bottom {
  border-top: 1px solid var(--line); padding-block: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-burger { display: flex; }
  .nav-menu {
    display: none; position: absolute; inset-inline: 0; top: 68px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 14px 24px 20px; gap: 4px;
    max-height: calc(100vh - 68px); overflow-y: auto;
    box-shadow: 0 18px 30px rgba(32, 32, 30, 0.12);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a { padding: 12px 10px; }
  .nav-sep { display: none; }
  .nav-panel { position: static; box-shadow: none; border: 0; background: var(--surface); min-width: 0; margin: 4px 0 8px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .cta { padding: 42px 22px; }
}
