/*
   TriDot Studio · styles
   Mobile-first. Uses logical properties (inline-start/end) so the
   Arabic (RTL) layout mirrors automatically.
   */

/* Arabic font: Noto Kufi Arabic, the successor of Droid Arabic Kufi (Google Fonts, OFL). Loaded only
   when the page switches to Arabic (see loadArabicFont() in i18n.js). */

:root {
  --navy: #0F1B3D;
  --navy-2: #16244D;        /* cards on navy */
  --navy-3: #0A1430;        /* footer */
  --white: #FFFFFF;
  --offwhite: #F6F4EF;
  --coral: #FF6B3D;
  --coral-hover: #FF8560;
  --soft: #C9CFE0;          /* soft text on navy */
  --muted: #8B93AD;         /* muted text on navy only */
  --ink-muted: #4A5270;     /* muted text on light backgrounds (AA) */
  --line-dark: rgba(201, 207, 224, .16);
  --line-light: rgba(15, 27, 61, .12);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Noto Kufi Arabic", "Droid Arabic Kufi", "Poppins", system-ui, "Segoe UI", Tahoma, Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(15, 27, 61, .10);
  --container: 1160px;
  --gutter: 20px;
  --header-h: 68px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--coral); color: var(--navy); font-weight: 500;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--coral); color: var(--navy); }        /* navy on coral = 6:1 */
.btn-primary:hover { background: var(--coral-hover); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1c2c5c; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 27, 61, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mark { width: 44px; height: auto; flex: none; }
.brand-name { font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; white-space: nowrap; font-family: var(--font); }
.brand-name span { font-weight: 400; color: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.header-cta { display: none; }

.lang-toggle {
  min-height: 40px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--white);
  font-weight: 500; font-size: .9375rem;
}
.lang-toggle:hover { border-color: var(--white); }
.lang-toggle:lang(ar) { font-family: var(--font-ar); }
.lang-toggle[lang="ar"] { display: none; }  /* Arabic switch hidden for now; delete this line to bring it back */

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 12px;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav panel */
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--navy); border-bottom: 1px solid var(--line-dark);
  padding: 8px var(--gutter) 24px;
  display: none;
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; }
.main-nav a:not(.btn) {
  display: block; padding: 14px 4px; color: var(--white); text-decoration: none;
  font-weight: 500; font-size: 1.125rem; border-bottom: 1px solid var(--line-dark);
}
.main-nav a:not(.btn):hover { color: var(--coral); }
.nav-cta-mobile { margin-top: 20px; width: 100%; }

@media (min-width: 960px) {
  .menu-toggle, .nav-cta-mobile { display: none; }
  .header-cta { display: inline-flex; }
  .main-nav {
    display: block; position: static; background: none; border: 0; padding: 0;
    margin-inline-start: 32px;
  }
  .main-nav ul { display: flex; gap: 28px; }
  .main-nav a:not(.btn) { padding: 8px 0; border: 0; font-size: .9688rem; color: var(--soft); }
  .main-nav a:not(.btn):hover { color: var(--white); }
}

/* Sections */
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section-navy { background: var(--navy); color: var(--white); }
.section-light { background: var(--offwhite); color: var(--navy); }
.section-white { background: var(--white); color: var(--navy); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:last-child { font-size: 1.0625rem; }
.section-navy .section-head p:not(.eyebrow) { color: var(--soft); }
.section-light .section-head p:not(.eyebrow), .section-white .section-head p:not(.eyebrow) { color: var(--ink-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}
.eyebrow-dark { color: var(--navy); }  /* coral text fails contrast on light bg, so keep it navy */
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9375rem; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding-block: 40px 72px; overflow: hidden; }
.hero-inner { display: grid; gap: 36px; align-items: center; }
.hero-art { justify-self: center; width: min(46vw, 200px); }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 5.2vw, 4.75rem); letter-spacing: -.035em; margin-bottom: .35em; }
html[lang="ar"] .hero h1 { letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); color: var(--soft); max-width: 34em; margin-bottom: 30px; }
.hero .eyebrow { color: var(--soft); }
.pillars { margin: 28px 0 0; color: var(--muted); font-weight: 500; letter-spacing: .08em; font-size: .9375rem; }
html[lang="ar"] .pillars { letter-spacing: 0; }

@media (min-width: 900px) {
  .hero { padding-block: 72px 112px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-art { order: 0; width: 100%; max-width: 440px; justify-self: end; }
  html[dir="rtl"] .hero-art { justify-self: start; }
}

/* Signature typing animation (hero only) */
.hero-bubble { filter: drop-shadow(0 24px 50px rgba(0,0,0,.35)); }
.hero-bubble .dot {
  transform-box: fill-box; transform-origin: center;
  animation: typing 1.4s ease-in-out infinite;
}
.hero-bubble .dot:nth-of-type(2) { animation-delay: .18s; }
.hero-bubble .dot:nth-of-type(3) { animation-delay: .36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-22%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bubble .dot { animation: none; }
  .btn, .work-card img { transition: none; }
  .btn:hover { transform: none; }
}

/* Real projects (sliding client strip) */
.clients[hidden] { display: none; }
.clients .section-head { margin-bottom: 36px; }
.marquee {
  overflow: hidden; padding-block: 8px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  list-style: none; display: flex; gap: 24px; width: max-content;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* the loop needs the gap after the last card too */
.marquee-track { padding-right: 24px; }
.marquee-track > li { flex: none; }

.client-card { width: 300px; }
@media (min-width: 768px) { .client-card { width: 360px; } }
.client-card a {
  display: block; height: 100%; text-decoration: none; color: var(--navy);
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.client-card a:hover, .client-card a:focus-visible { border-color: var(--coral); box-shadow: var(--shadow); transform: translateY(-3px); }
.client-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--offwhite); border-bottom: 1px solid var(--line-light); }
.client-shot img { width: 100%; height: 100%; object-fit: cover; }
.client-meta { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.client-logo { width: 52px; height: 40px; object-fit: contain; flex: none; }
.client-text { display: grid; min-width: 0; line-height: 1.35; }
.client-text strong { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-text span { font-size: .875rem; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .client-meta { direction: rtl; }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; padding-inline: var(--gutter); }
  .marquee-track > li[aria-hidden="true"] { display: none; }
}

/* Problem */
.problem-inner { display: grid; gap: 32px; align-items: center; }
.problem-bubble { width: 160px; }
.problem-title { font-size: clamp(1.625rem, 1.1rem + 2.6vw, 2.875rem); max-width: 22em; font-weight: 500; }
.problem-title strong { display: block; font-weight: 700; margin-top: .25em; }
.problem-text { color: var(--ink-muted); font-size: 1.0625rem; max-width: 40em; margin: 0; }
@media (min-width: 768px) {
  .problem-inner { grid-template-columns: 220px 1fr; gap: 56px; }
  .problem-bubble { width: 100%; }
}

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; }

.plan { display: flex; flex-direction: column; border: 1px solid var(--line-light); position: relative; }
.plan h3 { margin-bottom: 10px; }
.plan-price { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.plan-price .price { font-size: 1.875rem; font-weight: 700; letter-spacing: -.02em; }
.plan-from { color: var(--ink-muted); font-size: .9375rem; }
.plan-desc { color: var(--ink-muted); }
.plan .checklist { margin-bottom: 28px; flex: 1; }
.plan .btn { width: 100%; }
.plan-featured { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow); }
.plan-featured .plan-from, .plan-featured .plan-desc { color: var(--soft); }
.plan-featured .checklist li::before { background: var(--coral); }
.badge {
  position: absolute; top: -13px; inset-inline-start: 28px; margin: 0;
  background: var(--coral); color: var(--navy); font-size: .8125rem; font-weight: 500;
  padding: 4px 12px; border-radius: 999px;
}

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-inline-start: 26px; }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .6em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--navy);
  box-shadow: 14px 0 0 -2px transparent;
}
.checklist-light li { color: var(--soft); }
.checklist-light li::before { background: var(--coral); }

/* Work */
.work-grid { list-style: none; display: grid; gap: 24px; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  height: 100%; display: flex; flex-direction: column;
  background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}
.work-card:hover, .work-card:focus-within { border-color: rgba(255,107,61,.6); }
.work-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #1c2a55; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.work-card:hover .work-thumb img { transform: scale(1.03); }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.work-tag {
  align-self: flex-start; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--soft); border: 1px solid var(--line-dark); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px;
}
html[lang="ar"] .work-tag { letter-spacing: 0; font-size: .8125rem; }
.work-tag.is-client { color: var(--navy); background: var(--coral); border-color: var(--coral); }
.work-card h3 { margin: 0; font-size: 1.1875rem; }
.work-industry { color: var(--muted); margin: 0 0 14px; font-size: .9375rem; }
.work-link {
  margin-top: auto; align-self: flex-start; color: var(--coral); font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; padding-block: 4px;
}
.work-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow { display: inline-block; transition: transform .2s; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }

/* Process */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line-light); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 700; font-size: .9375rem; margin-bottom: 18px;
}
.step:nth-child(2) .step-num { background: rgba(15,27,61,.72); }
.step:nth-child(3) .step-num { background: var(--coral); color: var(--navy); }
.step p { color: var(--ink-muted); margin: 0; }
.launch-note {
  margin: 36px 0 0; display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--white); font-weight: 500;
  padding: 12px 22px; border-radius: 999px;
}
.launch-dots { display: inline-flex; gap: 4px; }
.launch-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--white); }
.launch-dots i:nth-child(2) { opacity: .7; }
.launch-dots i:nth-child(3) { opacity: .4; }

/* Forms */
.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; } .form-intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.form-intro p:not(.eyebrow) { font-size: 1.0625rem; }
.section-navy .form-intro p:not(.eyebrow) { color: var(--soft); }
.section-light .form-intro p:not(.eyebrow) { color: var(--ink-muted); }
.form-intro .checklist { margin-top: 24px; }

.form { color: var(--navy); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form { padding: 36px; } }
.section-light .form { border: 1px solid var(--line-light); box-shadow: none; }
.field-grid { display: grid; gap: 18px; margin-bottom: 24px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-weight: 500; font-size: .9375rem; }
.field legend { margin-bottom: 8px; padding: 0; }
.req { color: #C2410C; }  /* darker coral for AA on white */

.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--white); color: var(--navy);
  border: 1.5px solid #B9BED0; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230F1B3D' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 40px;
}
html[dir="rtl"] .field select { background-position: left 14px center; }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }
html[dir="rtl"] input[dir="ltr"]::placeholder { text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: #6B7390; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255,107,61,.45);
}
.field input:user-invalid, .field select:user-invalid { border-color: #C2410C; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1.5px solid #B9BED0; border-radius: 999px; padding: 8px 16px; min-height: 44px;
}
.radio:has(input:checked) { border-color: var(--navy); background: rgba(15,27,61,.05); }
.radio input, .checkbox input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; flex: none; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-muted); cursor: pointer; }
.checkbox input { margin-top: 4px; }
.checkbox a { color: var(--navy); font-weight: 500; }
.form-note { margin: 14px 0 0; font-size: .875rem; color: var(--ink-muted); text-align: center; }

.hp { display: none; }  /* spam honeypot: hidden from people, bots still fill it */

.calendly-slot { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); }
.calendly-slot iframe { display: block; width: 100%; height: 700px; border: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 0; padding-inline-end: 44px; font-weight: 500; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--offwhite)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230F1B3D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--coral); }
.faq summary:hover { color: #2A3A6E; }
.faq details p { color: var(--ink-muted); padding-inline-end: 44px; margin: -6px 0 22px; }
.faq .price { color: var(--navy); }

/* Contact */
.contact-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-item {
  background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.contact-label { color: var(--muted); font-size: .875rem; font-weight: 500; }
.contact-item a { color: var(--white); font-weight: 500; font-size: 1.0625rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--coral); }
.contact-item a[dir="ltr"] { align-self: flex-start; }
.contact-muted { color: var(--soft); }

/* Footer */
.site-footer { background: var(--navy-3); color: var(--soft); padding-top: 56px; }
.footer-inner { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer-tagline { margin: 16px 0 0; color: var(--white); font-weight: 500; }
.site-footer .pillars { margin-top: 6px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; display: inline-block; padding-block: 6px; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { padding-block: 22px 28px; font-size: .875rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #1FAF55;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .2s;
}
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Simple content pages (privacy, thank-you, 404) */
.page-simple { background: var(--offwhite); min-height: 100vh; display: flex; flex-direction: column; }
.page-simple.section-navy { background: var(--navy); }
.page-simple main { flex: 1; }
.page-simple .site-footer { padding-top: 0; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.prose p, .prose li { color: #2E3656; }
.prose ul { padding-inline-start: 1.25em; margin-bottom: 1em; }
.prose a { color: var(--navy); font-weight: 500; }
.center-page { text-align: center; display: grid; place-items: center; padding-block: 80px; }
.page-bubble { width: 200px; margin: 0 auto 36px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.center-page p { color: var(--soft); max-width: 32em; margin-inline: auto; font-size: 1.0625rem; }
.center-page .btn-row { justify-content: center; margin-top: 28px; }

/* Optional form details */
.more-fields { margin: 0 0 24px; border: 1.5px dashed #B9BED0; border-radius: var(--radius-sm); }
.more-fields summary {
  cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 500; font-size: .9375rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--navy); }
.more-fields[open] summary::after { content: "−"; }
.more-fields[open] { border-style: solid; }
.more-fields .field-grid { padding: 4px 16px 18px; margin: 0; }

/* Footer contact */
.footer-contact { margin-top: 24px; display: grid; gap: 12px; justify-items: start; }
.footer-contact-title { margin: 0; color: var(--white); font-weight: 700; font-size: 1.125rem; }
.footer-email {
  display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none;
  font-weight: 500; padding-block: 4px;
}
.footer-email svg { width: 22px; height: 22px; color: var(--coral); flex: none; }
.footer-email:hover span { text-decoration: underline; text-underline-offset: 4px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); border: 1px solid rgba(255,255,255,.3); transition: background-color .2s, color .2s, border-color .2s;
}
.social-btn[hidden] { display: none; }
.social-btn svg { width: 22px; height: 22px; }
.social-btn:hover { background: var(--coral); border-color: var(--coral); color: var(--navy); }

/* Hero headline: full stop everywhere; on phones a small typing bubble opens the headline */
.type-dots { display: none; }
.hero h1 em::after { content: "."; }
@media (max-width: 899px) {
  .hero-art { display: none; }
  .hero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: 32px 40px; }
  .hero > .container { width: 100%; }
  .type-dots { display: inline-block; width: 1.25em; vertical-align: -.12em; margin-inline-end: .28em; }
  .type-dots svg { display: block; width: 100%; height: auto; }
  .type-dots .dot { transform-box: fill-box; transform-origin: center; animation: typing 1.4s ease-in-out infinite; }
  .type-dots .dot:nth-of-type(2) { animation-delay: .18s; }
  .type-dots .dot:nth-of-type(3) { animation-delay: .36s; }
}
@media (prefers-reduced-motion: reduce) { .type-dots .dot { animation: none; } }
