/* ─────────────────────────────────────────────────────────────────────────
   fatsa.pet landing — shared design system
   Font import + :root tokens + shared component classes recurring on every
   page (.nav .logo .nav-links .nav-cta .footer .btn .btn-w .section-label
   .grad-text). Page-specific section CSS lives in each page's <style> block.
   Tokens lifted verbatim from designs/*-redesign-demo.html.
   ───────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --grad: linear-gradient(135deg, #7B2FF7 0%, #C035B8 50%, #F0509E 100%);
  --grad-soft: linear-gradient(135deg, #F3EEFF 0%, #FDE8F4 100%);
  --ink-900: #12042E;
  --ink-700: #3B2065;
  --ink-500: #6B5A8A;
  --ink-300: #B0A0CC;
  --ink-100: #F0EBF9;
  --surface: #FAFAFA;
  --white: #fff;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 100px;
  --shadow-sm: 0 1px 4px rgba(28, 10, 60, .07);
  --shadow-md: 0 6px 24px rgba(74, 25, 156, .10);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #F4F2F9;
  color: var(--ink-900);
}

/* ── NAV ─────────────────────────────────────────────────────────────────
   Wrapped <header><nav class="nav">…</nav></header>. i18n.js injects the
   EN/ΕΛ toggle into `header nav` (a flex div appended at the end with
   margin-left:12px), so the nav is a flex row that keeps the toggle inline. */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 58px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.logo {
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
  opacity: .85;
  transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Hamburger is JS-injected into `header nav`; hidden until the mobile query. */
.nav-toggle { display: none; }
/* Language-toggle container layout, moved out of i18n.js inline styles so the
 * mobile media query can restyle/hide it. */
[data-i18n-toggle] {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────
   One-line footer with a Privacy · Terms link pair. */
.footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .4);
  text-align: center;
  padding: 22px 40px;
  font-size: 12px;
  line-height: 1.8;
}
.footer strong { color: rgba(255, 255, 255, .7); }
.footer a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-weight: 600;
}
.footer a:hover { color: rgba(255, 255, 255, .85); text-decoration: underline; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(123, 47, 247, .32);
}
.btn-w {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  background: #fff;
  color: #7B2FF7;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

/* ── SECTION LABEL + GRADIENT TEXT ───────────────────────────────────────*/
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--grad-soft);
  color: #7B2FF7;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 680px) {
  /* The actual bug fix: height:auto lets the header grow in normal flow
     instead of staying pinned to 58px while wrapped rows spill out. */
  .nav { flex-wrap: wrap; height: auto; min-height: 56px; padding: 0 16px; }
  .logo { order: 1; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    order: 2;
    margin-left: auto;
  }
  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-700);
  }

  /* Closed (scoped to .nav-js so no-JS visitors keep the wrapped nav). */
  .nav-js .nav-links,
  .nav-js .nav-cta,
  .nav-js [data-i18n-toggle] {
    display: none;
    width: 100%;
    order: 3;
  }

  /* Open: full-width stacked column. */
  .nav-js.open .nav-links { display: flex; flex-direction: column; }
  .nav-js.open .nav-links li { width: 100%; }
  .nav-js.open .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    font-size: 15px;
    white-space: normal;
    opacity: 1;
  }
  .nav-js.open .nav-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }
  .nav-js.open [data-i18n-toggle] { display: flex; margin: 0 0 10px; }

  .footer { padding: 20px 24px; }
}
