/* ═══════════════════════════════════════════════════════════════
   HOPE CENTER — stylesheet
   Helping Organizations Perform Efficiently

   Contents
     1.  Design tokens (colours, type, spacing)  ← edit brand colours here
     2.  Reset & base
     3.  Layout helpers
     4.  Buttons
     5.  Header & navigation
     6.  Hero
     7.  Sections & cards
     8.  Pricing
     9.  Digital products
     10. Contact & form
     11. Footer
     12. Responsive breakpoints
   ═══════════════════════════════════════════════════════════════ */


/* ───────────────────────────────────────────────
   1. DESIGN TOKENS
   ▼ EDIT ME: change the whole site's colour scheme
     by editing these few values.
   ─────────────────────────────────────────────── */
:root {
  /* ── Brand palette (from the HOPE Center visual identity) ──
     Teal  #0d9488  primary
     Navy  #1e3a5f  secondary
     Charcoal #334155 text · Light #f1f5f9 backgrounds            */
  --teal:          #0D9488;   /* PRIMARY — icons, fills, decorative marks */
  --teal-text:     #0B7A70;   /* teal TEXT only. #0D9488 scores 3.74:1 on white,
                                 below the 4.5:1 accessibility minimum for body
                                 text; this scores 5.21:1. Use it for any teal
                                 wording, and keep --teal for shapes and icons. */
  --teal-bright:   #2DD4BF;   /* accent on dark backgrounds */
  --teal-soft:     #E6F7F4;   /* tinted panels */

  --navy:          #1E3A5F;   /* SECONDARY — headers, buttons, footer */
  --navy-dark:     #16293F;
  --navy-light:    #2D5583;

  /* Neutrals */
  --bg:            #FFFFFF;   /* page background */
  --bg-alt:        #F1F5F9;   /* alternating section background */
  --surface:       #FFFFFF;   /* cards */
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;

  /* Text */
  --ink:           #1E293B;   /* headings */
  --body:          #334155;   /* paragraphs — brand charcoal */
  --muted:         #475569;   /* captions, hints. Slate-500 (#64748B) scored only
                                 4.34:1 on the grey section background, just under
                                 the 4.5:1 minimum; this scores 6.9:1. */
  --on-dark:       #E2E8F0;

  /* Feedback */
  --error:         #B91C1C;
  --success:       #0D9488;

  /* Type — clean sans-serif per the brand identity, system fonts only.
     Nothing is downloaded from Google or any other third party, so no visitor
     data ever leaves your own site. See README.md → "Privacy & security". */
  --font-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shape & depth */
  --radius:    12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(30, 58, 95, .06), 0 1px 3px rgba(30, 58, 95, .05);
  --shadow-md: 0 4px 12px rgba(30, 58, 95, .07), 0 2px 4px rgba(30, 58, 95, .04);
  --shadow-lg: 0 12px 32px rgba(30, 58, 95, .10), 0 4px 8px rgba(30, 58, 95, .05);

  /* Rhythm */
  --section-y: 5.5rem;
  --header-h:  4.75rem;
}


/* ───────────────────────────────────────────────
   2. RESET & BASE
   ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.012em;
}

p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

a {
  color: var(--teal-text);
  text-decoration-color: rgba(11, 122, 112, .35);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--navy-light);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ───────────────────────────────────────────────
   3. LAYOUT HELPERS
   ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container.narrow { max-width: 780px; }

.section { padding-block: var(--section-y); }
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

/* Pricing heading sits alongside the currency switcher */
.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  max-width: none;
}
.pricing-head > div { max-width: 640px; }

.section-eyebrow,
.eyebrow {
  margin-bottom: .7rem;
  color: var(--teal-text);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-title  { font-size: clamp(1.75rem, 3.6vw, 2.4rem); }
.section-sub    { margin-top: .9rem; color: var(--muted); font-size: 1.06rem; }

.prose {
  margin-bottom: 1.15rem;
  font-size: 1.06rem;
  line-height: 1.75;
}
.prose:last-of-type { margin-bottom: 0; }


/* ───────────────────────────────────────────────
   4. BUTTONS
   ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease,
              color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(18, 58, 92, .3);
  text-underline-offset: 4px;
}
.btn-ghost:hover { background: rgba(18, 58, 92, .06); text-decoration-color: currentColor; }

.btn-block { width: 100%; }
.btn-sm    { padding: .5rem .95rem; font-size: .87rem; }
.btn-lg    { padding: .95rem 1.6rem; font-size: 1.02rem; }

.btn:disabled,
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn:disabled:hover {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy);
  transform: none;
}


/* ───────────────────────────────────────────────
   5. HEADER & NAVIGATION
   ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 251, 249, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }

/* Brand name set to match the logo lockup: medium weight, widely tracked */
.brand-name {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-tag {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.35;
}

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.primary-nav a {
  color: var(--body);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.primary-nav a:hover { color: var(--navy); }

/* Language switch */
.lang-switch {
  display: flex;
  padding: 3px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-btn {
  padding: .3rem .7rem;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--muted);
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.lang-btn:hover  { color: var(--navy); }
.lang-btn.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Currency switch — same control, used in the pricing section */
.currency-switch {
  display: flex;
  flex-shrink: 0;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.cur-btn {
  padding: .48rem .95rem;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--muted);
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.cur-btn:hover { color: var(--navy); }
.cur-btn.is-active {
  background: var(--navy);
  color: #fff;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ───────────────────────────────────────────────
   6. HERO
   ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: 4.5rem 5rem;
  background:
    radial-gradient(58rem 26rem at 88% -8%, rgba(62, 156, 137, .12), transparent 62%),
    radial-gradient(48rem 28rem at 4% 4%,   rgba(18, 58, 92, .07),  transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.55fr .85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title { margin-bottom: 1.25rem; }

/* Matches the logo lockup: uppercase, medium weight, generous tracking */
.hero-title-name {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-title-tag {
  display: block;
  margin-top: .7rem;
  color: var(--teal-text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.45;
}

.hero-lede {
  max-width: 34rem;
  font-size: 1.11rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.hero-badges li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: .89rem;
  font-weight: 500;
}
.hero-badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* Languages card */
.hero-card {
  padding: 1.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-card-title {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .1em;
}
.lang-list { display: flex; flex-direction: column; gap: .1rem; }
.lang-list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-block: .7rem;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.lang-list li:last-child { border-bottom: none; }

.lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 1.7rem;
  background: var(--teal-soft);
  border-radius: 5px;
  color: var(--teal-text);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.hero-card-note {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.55;
}


/* ───────────────────────────────────────────────
   7. SECTIONS & CARDS
   ─────────────────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}
.value-grid h3 { margin-bottom: .4rem; font-size: 1.04rem; }
.value-grid p  { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* Services: 3 across for the three visible cards.
   If Finance is un-hidden this becomes four cards — change to repeat(2, 1fr)
   so they form a tidy 2×2 block instead of 3 + 1. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── How we work: numbered steps ──
   This is an <ol>, which keeps the order meaningful for screen readers while the
   visible numbers are drawn as navy circles (.step-num, aria-hidden).
   The browser's own markers must be switched off, or every step shows its number
   twice — once as "2." in the margin and once inside the circle. The reset near
   the top of this file only clears list-style on ul, not ol. */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 3.4rem;
}
.step h3 { margin-bottom: .45rem; font-size: 1.05rem; }
.step p  { color: var(--muted); font-size: .93rem; line-height: 1.6; }

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--navy);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Connecting line between steps on wide screens */
@media (min-width: 761px) {
  .step::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 2.9rem;
    right: -1.5rem;
    height: 1px;
    background: var(--border-strong);
  }
  .step:last-child::before { display: none; }
}

/* ── Certified translation panel (inside the Translation card) ── */
.cert-badge {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  background: var(--teal-soft);
  border: 1px solid rgba(22, 119, 106, .22);
  border-radius: var(--radius-sm);
}
.cert-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  background: #fff;
  border-radius: 7px;
  color: var(--teal);
}
.cert-badge-icon svg { width: 1.2rem; height: 1.2rem; }

.cert-badge strong {
  display: block;
  margin-bottom: .15rem;
  color: #14524A;
  font-size: .89rem;
  font-weight: 700;
}
.cert-badge em {
  display: block;
  color: #185C53;
  font-size: .85rem;
  font-style: normal;
  line-height: 1.55;
}

/* ── Legal page ── */
.primary-nav.is-static { position: static; display: flex; }

.legal-updated {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .88rem;
}

.legal-head {
  margin-top: 3.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--navy);
  font-size: 1.5rem;
}

.legal-item { margin-bottom: 1.9rem; }
.legal-item h3 {
  margin-bottom: .45rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
}
.legal-item p {
  color: var(--body);
  font-size: .97rem;
  line-height: 1.72;
}

.legal-cta { margin-top: 3rem; }
.legal-cta .btn { margin-top: 1.1rem; }

/* ── Confidentiality panel ── */
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--teal-soft);
  border: 1px solid rgba(22, 119, 106, .22);
  border-radius: var(--radius);
}
.guarantee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  color: var(--teal);
}
.guarantee-icon svg { width: 1.6rem; height: 1.6rem; }
.guarantee h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.guarantee p  { color: #185C53; font-size: .95rem; line-height: 1.65; }

/* Concrete data-handling commitments — specifics read as competence
   where a general promise of confidentiality reads as boilerplate. */
.guarantee-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem 1.5rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(22, 119, 106, .22);
}
.guarantee-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #14524A;
  font-size: .89rem;
  line-height: 1.5;
}
.guarantee-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
@media (max-width: 760px) {
  .guarantee-list { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.25rem;
  background: var(--teal-soft);
  border-radius: 10px;
  color: var(--teal);
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }

.card-title { font-size: 1.24rem; }

.card-langs {
  margin-top: .3rem;
  color: var(--teal-text);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.card-body {
  margin-top: .85rem;
  font-size: .96rem;
  line-height: 1.65;
}

.card-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.card-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--body);
  font-size: .91rem;
  line-height: 1.5;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}


/* ───────────────────────────────────────────────
   8. PRICING
   ─────────────────────────────────────────────── */
/* Pricing: 3 across for the three visible cards.
   Change back to repeat(4, 1fr) if Finance is un-hidden. */
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card {
  position: relative;
  padding: 1.6rem 1.5rem;
}

.price-card.is-featured {
  border-color: var(--navy);
  border-width: 1.5px;
  box-shadow: var(--shadow-lg);
}

.price-flag {
  position: absolute;
  top: -.72rem;
  left: 1.5rem;
  padding: .22rem .7rem;
  background: var(--navy);
  border-radius: 999px;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.price-title { font-size: 1.3rem; }

.price-note {
  margin-top: .3rem;
  color: var(--muted);
  font-size: .87rem;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.price-from {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
}
/* Sized so long ariary amounts (e.g. "Ar 170 000") still fit a narrow card */
.price-amount {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.price-unit {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}

.price-card .card-list {
  margin-top: 1.25rem;
  padding-top: 0;
  border-top: none;
  flex-grow: 1;
}
.price-card .btn { margin-top: 1.75rem; }

.pricing-footnote {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.65;
  text-align: center;
}


/* ───────────────────────────────────────────────
   9. DIGITAL PRODUCTS
   ─────────────────────────────────────────────── */
.notice {
  display: block;
  margin-bottom: 2rem;
  padding: .9rem 1.15rem;
  background: var(--teal-soft);
  border: 1px solid rgba(22, 119, 106, .2);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  color: #0F5F55;
  font-size: .92rem;
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
}

.product-card { padding: 1.6rem; }

.product-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: .8rem;
  padding: .2rem .6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-title { font-size: 1.1rem; line-height: 1.3; }

.product-body {
  margin-top: .6rem;
  flex-grow: 1;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.product-price {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
}


/* ───────────────────────────────────────────────
   10. CONTACT & FORM
   ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 1.35rem; }

.field label {
  display: block;
  margin-bottom: .42rem;
  color: var(--ink);
  font-size: .89rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .9rem;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: inherit;
  font-size: .97rem;
  line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field textarea { resize: vertical; min-height: 7.5rem; }

.field select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7580' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 1.1rem;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(29, 83, 132, .14);
}

.field-hint {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.field-error {
  display: none;
  margin-top: .4rem;
  color: var(--error);
  font-size: .83rem;
  font-weight: 500;
}
.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .13); }

/* Honeypot — visually hidden but still reachable by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .81rem;
  line-height: 1.5;
  text-align: center;
}

/* Thank-you state */
.form-success {
  padding: 1.5rem .5rem 1rem;
  text-align: center;
}
.form-success[hidden] { display: none; }

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.25rem;
  background: var(--teal-soft);
  border-radius: 50%;
  color: var(--success);
}
.form-success-icon svg { width: 1.7rem; height: 1.7rem; }

.form-success h3 { font-size: 1.3rem; }
.form-success p {
  max-width: 30rem;
  margin: .7rem auto 1.6rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}

/* Direct-contact panel */
.contact-aside { padding-top: .5rem; }

.contact-aside-title {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .75rem;
  padding: .95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
/* display:flex above beats the browser default for [hidden], so a contact row
   that script.js hides would otherwise still be drawn. This is what switches
   off an unset email address or the WhatsApp row. */
.contact-link[hidden] { display: none; }

.contact-link:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

.contact-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  background: var(--teal-soft);
  border-radius: 8px;
  color: var(--teal);
}
.contact-link-icon svg { width: 1.25rem; height: 1.25rem; }

.contact-link strong {
  display: block;
  color: var(--ink);
  font-size: .87rem;
  font-weight: 600;
}
.contact-link em {
  display: block;
  color: var(--muted);
  font-size: .87rem;
  font-style: normal;
  word-break: break-word;
}

.contact-meta {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
}
.contact-meta h4 {
  margin-bottom: .3rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-meta p { color: var(--body); font-size: .93rem; }


/* ───────────────────────────────────────────────
   11. FOOTER
   ─────────────────────────────────────────────── */
.site-footer {
  padding-block: 3rem 2.25rem;
  background: var(--navy-dark);
  color: var(--on-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: .85rem; }
.footer-brand .brand-mark { width: 40px; height: 40px; }

.footer-name {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-tag {
  color: rgba(237, 241, 244, .68);
  font-size: .82rem;
  line-height: 1.4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: flex-end;
}
.footer-nav a {
  color: rgba(237, 241, 244, .82);
  font-size: .9rem;
  text-decoration: none;
  transition: color .15s ease;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(237, 241, 244, .58);
  font-size: .83rem;
}


/* ───────────────────────────────────────────────
   12. RESPONSIVE
   ─────────────────────────────────────────────── */

/* ── Small desktop: pricing drops from 4 across to 2 ── */
@media (max-width: 1040px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet ── */
@media (max-width: 960px) {
  :root { --section-y: 4.25rem; }

  .hero-inner       { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card        { max-width: 26rem; }
  .value-grid       { grid-template-columns: 1fr; gap: 1.4rem; }
  .contact-layout   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner     { grid-template-columns: 1fr; }
  .footer-nav       { justify-content: flex-start; }

  .pricing-head     { flex-direction: column; align-items: flex-start; }
}

/* ── Everything stacks to a single column ── */
@media (max-width: 760px) {
  .card-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 34rem;
    margin-inline: auto;
  }

  .step-grid { grid-template-columns: 1fr; gap: 1.75rem; max-width: 34rem; margin-inline: auto; }
  .step      { padding-top: 0; padding-left: 3.5rem; }
  .step-num  { width: 2.3rem; height: 2.3rem; font-size: 1rem; }

  .guarantee { flex-direction: column; gap: 1rem; padding: 1.4rem; }
}

/* Two-by-two steps on tablets */
@media (min-width: 761px) and (max-width: 1000px) {
  .step-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .step:nth-child(2)::before { display: none; }
}

/* ── Mobile navigation ── */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem 1.25rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .primary-nav.is-open { display: flex; }

  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--border); }
  .primary-nav a  { display: block; padding: .9rem .25rem; font-size: 1rem; }

  .lang-switch { align-self: flex-start; margin-top: 1.1rem; }
}

/* ── Phone ── */
@media (max-width: 560px) {
  :root { --section-y: 3.5rem; }

  .container       { padding-inline: 1.1rem; }
  .brand-tag       { display: none; }
  .brand-name      { font-size: 1.12rem; }
  .brand-mark      { width: 34px; height: 34px; }

  .hero            { padding-block: 3rem 3.5rem; }
  .hero-actions    { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-badges     { flex-direction: column; gap: .55rem; }
  .hero-card       { padding: 1.5rem; }

  .card,
  .contact-form-wrap { padding: 1.45rem; }

  .product-grid    { grid-template-columns: 1fr; }
  .section-head    { margin-bottom: 2.25rem; }
  .footer-nav      { gap: .5rem 1.2rem; }
  .currency-switch { align-self: stretch; justify-content: center; }
  .cur-btn         { flex: 1; padding-block: .55rem; }
}

/* ── Print ── */
@media print {
  .site-header, .hero-actions, .nav-toggle, .contact-form-wrap, .skip-link { display: none; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
}
