/* ============================================================
   She Codes Reemo — female developers
   Editorial-professional tech consultancy
   ============================================================ */

:root {
  --indigo: #e0518f;
  --indigo-600: #c93f7b;
  --indigo-300: #ef9dbf;
  --ink: #2a1223;
  --navy: #4a2236;
  --slate: #6d5563;
  --slate-300: #a98d9c;
  --line: #f3e3ec;
  --paper: #ffffff;
  --soft: #fdf4f8;
  --soft-2: #f8e8f1;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 24px 60px -28px rgba(42, 18, 35, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--indigo);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-intro {
  color: var(--slate);
  font-size: 1.06rem;
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-sm { padding: 0.6em 1.15em; font-size: 0.85rem; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-600); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; color: var(--indigo);
  font-size: 0.95rem;
}
.link-arrow::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Brand logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-flag { display: inline-flex; line-height: 0; }
.brand-flag svg {
  height: 15px; width: auto; display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(42, 18, 35, 0.10);
}
.brand-logo { height: 28px; width: auto; display: block; }
.footer-logo { height: 30px; width: auto; display: block; }
.brand-word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--indigo);
}
.brand-o { color: var(--indigo-300); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.nav { display: flex; gap: 1.7rem; margin-left: auto; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--slate);
  position: relative; padding: 0.2em 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--indigo); transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.82rem; color: var(--slate-300); }
.lang-switch button {
  background: none; border: none; cursor: pointer; font: inherit; color: var(--slate-300);
  font-weight: 600; padding: 0.1em 0.1em;
}
.lang-switch button.is-active { color: var(--indigo); }

.region-switch {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.85rem; font-weight: 600; color: var(--slate);
  border: 1px solid var(--line); padding: 0.45em 0.85em; border-radius: 100px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.region-switch:hover { border-color: var(--indigo); color: var(--indigo); transform: translateY(-1px); }
.region-switch svg { height: 14px; width: auto; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(42, 18, 35, 0.12); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: 0.3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 1.2rem;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--indigo); }
.hero-lead { font-size: 1.15rem; color: var(--slate); max-width: 50ch; }
.hero-cta { display: flex; gap: 0.8rem; margin: 1.8rem 0 1.6rem; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.hero-points li { position: relative; padding-left: 1.4em; color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--indigo);
}

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow); background: var(--soft-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--ink); color: #fff; padding: 1rem 1.3rem; border-radius: var(--r);
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: #fff; }
.stat-label { font-size: 0.78rem; color: #e5c8d6; margin-top: 0.3em; max-width: 14ch; }

/* photo fallback (if image fails) */
.photo-fallback img { display: none; }
.photo-fallback {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--navy) 70%);
  position: relative;
}
.photo-fallback::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 40%);
}

/* ---------- Full-width photo hero (NL / US market sites) ---------- */
.hero--photo {
  position: relative; overflow: hidden; padding: 0;
  min-height: min(78vh, 680px);
  display: flex; align-items: center;
  background: var(--ink);
}
.hero--photo .hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo.hero-fallback { background: linear-gradient(135deg, var(--indigo) 0%, var(--navy) 72%); }
.hero--photo.hero-fallback .hero-bg { display: none; }
.hero--photo .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(28, 11, 22, 0.90) 0%, rgba(28, 11, 22, 0.64) 46%, rgba(28, 11, 22, 0.34) 100%),
    linear-gradient(0deg, rgba(28, 11, 22, 0.55) 0%, rgba(28, 11, 22, 0) 45%);
}
.hero--photo .hero-inner {
  position: relative; z-index: 2;
  padding-top: clamp(4rem, 9vw, 6.5rem);
  padding-bottom: clamp(4rem, 9vw, 6.5rem);
}
.hero--photo .hero-copy { max-width: 680px; }
.hero--photo .eyebrow { color: #f3c9dd; }
.hero--photo .hero-title { color: #fff; }
.hero--photo .hero-title .accent { color: #ffc4dd; }
.hero--photo .hero-lead { color: #f0dbe6; max-width: 54ch; }
.hero--photo .hero-points li { color: #fbeaf2; }
.hero--photo .hero-points li::before { background: #ffc4dd; }
.hero--photo .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.hero--photo .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.10); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; flex-wrap: wrap; }
.trust-label { font-size: 0.86rem; color: var(--slate); font-weight: 500; }
.trust-list { list-style: none; display: flex; gap: 1.6rem; flex-wrap: wrap; padding: 0; }
.trust-list li { font-family: var(--f-display); font-weight: 500; color: var(--navy); font-size: 0.98rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .eyebrow { margin-bottom: 0.8rem; }
.section-head .section-intro { margin-top: 1rem; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Clients logo marquee ---------- */
.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logo-track {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; width: max-content;
  animation: logo-scroll 60s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track li {
  flex: 0 0 auto;
  margin-right: clamp(2.6rem, 5vw, 5rem);
  display: flex; align-items: center; justify-content: center;
}
.logo-track img {
  height: 34px; max-height: 34px; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: 0.5;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
.logo-track li:hover img { filter: grayscale(0%); opacity: 1; }
@keyframes logo-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 2rem; } }

.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-intro { color: #e5c8d6; }
.section-dark .eyebrow { color: var(--indigo-300); }

/* ---------- Services cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.9rem; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-no { font-family: var(--f-display); font-weight: 700; color: var(--indigo-300); font-size: 0.95rem; }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin: 0.7rem 0 0.5rem; color: var(--ink); }
.card p { color: var(--slate); font-size: 0.98rem; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.why-item { background: var(--ink); padding: 2rem 1.9rem; }
.why-item h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.why-item p { color: #e0c2d2; font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step { border-top: 2px solid var(--line); padding-top: 1.3rem; }
.step-no {
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  width: 38px; height: 38px; border-radius: 50%; background: var(--soft-2); color: var(--indigo);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.9rem;
}
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--slate); font-size: 0.96rem; }

/* ---------- Offices ---------- */
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.office { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.office:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.office-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.office-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.office:hover .office-photo img { transform: scale(1.05); }
.office-body { padding: 1.7rem 1.8rem 2rem; }
.office-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
.office-region { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--indigo); margin: 0.2rem 0 0.7rem; }
.office-body p { color: var(--slate); font-size: 0.98rem; margin-bottom: 1rem; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 1.6rem; align-items: start; }
.calc-roles { display: grid; gap: 0.7rem; }
.role {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.9rem 1.2rem; transition: border-color 0.25s, background 0.25s;
}
.role.is-on { border-color: var(--indigo); background: var(--soft); }
.role-info { min-width: 0; }
.role-name { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.role-rate { font-size: 0.82rem; color: var(--slate-300); }
.stepper { display: inline-flex; align-items: center; gap: 0.2rem; flex-shrink: 0; }
.stepper button {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--paper); color: var(--indigo); font-size: 1.2rem; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: 0.2s;
  line-height: 1;
}
.stepper button:hover { border-color: var(--indigo); background: var(--soft); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 30px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }

.calc-summary { position: sticky; top: 90px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow); }
.calc-seniority { display: flex; gap: 0.4rem; background: rgba(255,255,255,0.08); padding: 4px; border-radius: 100px; margin-bottom: 1.5rem; }
.calc-seniority button {
  flex: 1; border: none; background: none; color: #e5c8d6; font: inherit; font-weight: 600;
  padding: 0.55em; border-radius: 100px; cursor: pointer; transition: 0.25s;
}
.calc-seniority button.is-active { background: var(--indigo); color: #fff; }

.calc-result { border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 1.2rem; margin-bottom: 1.2rem; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.calc-line span { color: #e5c8d6; font-size: 0.95rem; }
.calc-line strong { font-family: var(--f-display); font-size: 1.7rem; font-weight: 700; color: #fff; }
.calc-line-muted span:last-child { color: #c9a6b8; text-decoration: line-through; font-family: var(--f-display); }
.calc-save { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.9rem; }
.calc-save span:first-child { color: #e5c8d6; font-size: 0.95rem; }
.calc-save strong { font-family: var(--f-display); font-size: 1.5rem; color: #7ee0a0; }
.calc-pct { background: rgba(126,224,160,0.16); color: #7ee0a0; padding: 0.1em 0.6em; border-radius: 100px; font-size: 0.82rem; font-weight: 600; }
.calc-people { color: #e5c8d6; font-size: 0.92rem; margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.calc-people span:first-child { color: #fff; font-weight: 700; font-family: var(--f-display); }
.calc-note { color: #c9a6b8; font-size: 0.78rem; margin-top: 1rem; line-height: 1.5; }

/* Quote form (inside the dark calc summary panel) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.calc-form-label { display: block; color: #e5c8d6; font-size: 0.85rem; margin-bottom: 0.5rem; }
.calc-form input[type="email"] {
  width: 100%; padding: 0.85em 1em; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06);
  color: #fff; font: inherit; margin-bottom: 0.85rem; transition: border-color 0.2s, background 0.2s;
}
.calc-form input[type="email"]::placeholder { color: #c9a6b8; }
.calc-form input[type="email"]:focus { outline: none; border-color: var(--indigo-300); background: rgba(255,255,255,0.10); }
.calc-success { text-align: center; padding: 0.8rem 0 0.4rem; }
.calc-success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(126,224,160,0.16); color: #7ee0a0; font-size: 1.35rem; margin-bottom: 0.8rem;
}
.calc-success p { color: #d4d8ea; font-size: 0.95rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-details { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-details li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-details span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--indigo-300); }
.contact-details a { font-family: var(--f-display); font-size: 1.15rem; color: #fff; font-weight: 500; }
.contact-details a:hover { color: var(--indigo-300); }

.contact-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 1.9rem; box-shadow: var(--shadow); }
.contact-card-label { font-weight: 600; margin-bottom: 0.9rem; }
.region-tabs { display: grid; gap: 0.6rem; margin-bottom: 1.3rem; }
.region-tabs button {
  display: flex; flex-direction: row; align-items: center; gap: 0.7rem;
  border: 1.5px solid var(--line); background: var(--paper); border-radius: var(--r);
  padding: 0.9rem 1.1rem; cursor: pointer; text-align: left; transition: 0.2s; font: inherit;
}
.region-info { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.region-flag { display: inline-flex; line-height: 0; flex-shrink: 0; }
.region-flag svg { height: 18px; width: auto; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(42, 18, 35, 0.12); }
.region-tabs button strong { font-family: var(--f-display); font-size: 1.05rem; }
.region-tabs button span { font-size: 0.85rem; color: var(--slate-300); }
.region-tabs button.is-active { border-color: var(--indigo); background: var(--soft); }
.contact-card-note { font-size: 0.82rem; color: var(--slate-300); margin-top: 0.9rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #e5c8d6; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-o { color: var(--indigo-300); }
.footer-brand p { margin-top: 0.6rem; font-size: 0.95rem; color: #c9a6b8; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-h { font-family: var(--f-display); color: #fff; font-weight: 600; margin-bottom: 0.6rem; font-size: 0.95rem; }
.footer-cols p { font-size: 0.92rem; margin-bottom: 0.25rem; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: 0.82rem; color: #c9a6b8; flex-wrap: wrap; gap: 0.5rem; }

/* ============================================================
   SPLASH / REGION CHOOSER
   ============================================================ */
.splash { height: 100vh; height: 100dvh; overflow: hidden; background: var(--ink); }
.splash-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: center;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  pointer-events: none;
}
.splash-logo { height: clamp(26px, 3vw, 34px); width: auto; }
.splash-grid { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.splash-panel {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff; text-decoration: none;
}
.splash-panel + .splash-panel { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.splash-photo { position: absolute; inset: 0; margin: 0; background: var(--navy); }
.splash-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.splash-panel:hover .splash-img { transform: scale(1.06); }
.splash-photo.photo-fallback { background: linear-gradient(150deg, var(--indigo) 0%, var(--navy) 75%); }
.splash-photo.photo-fallback .splash-img { display: none; }
.splash-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(28, 11, 22, 0.10) 0%, rgba(28, 11, 22, 0.35) 55%, rgba(28, 11, 22, 0.80) 100%);
  transition: background 0.45s var(--ease);
}
.splash-panel:hover .splash-scrim {
  background: linear-gradient(180deg, rgba(59, 67, 178, 0.35) 0%, rgba(28, 11, 22, 0.55) 55%, rgba(28, 11, 22, 0.88) 100%);
}
.splash-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.splash-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #f3cfe0; }
.splash-name { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.splash-enter {
  margin-top: 0.7rem; font-weight: 600; font-size: 0.98rem;
  display: inline-flex; align-items: center; gap: 0.45em; color: #fbeaf2;
}
.splash-enter::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.splash-panel:hover .splash-enter::after { transform: translateX(6px); }
@media (max-width: 760px) {
  .splash-grid { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .splash-panel + .splash-panel { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .splash-panel { align-items: flex-end; }
}

/* ============================================================
   CALCULATOR: per-role seniority toggle
   ============================================================ */
.role-seniority {
  display: inline-flex; margin-top: 0.5rem;
  background: var(--soft-2); border-radius: 100px; padding: 2px;
}
.role-seniority button {
  border: none; background: none; font: inherit; font-size: 0.72rem; font-weight: 600;
  color: var(--slate-300); padding: 0.28em 0.78em; border-radius: 100px; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.role-seniority button.is-active { background: #fff; color: var(--indigo); box-shadow: 0 1px 3px rgba(42, 18, 35, 0.12); }
.role { align-items: center; }

/* ============================================================
   SITE-WIDE HOVER INTERACTIONS
   ============================================================ */
.why-item { transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.why-item:hover { transform: translateY(-4px); background: #3a1a2e; }

.step { transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.step:hover { transform: translateY(-4px); border-top-color: var(--indigo); }
.step:hover .step-no { background: var(--indigo); color: #fff; }

.trust-list li { transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease); cursor: default; }
.trust-list li:hover { color: var(--indigo); transform: translateY(-2px); }

.role { transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease); }
.role:hover { border-color: var(--indigo); transform: translateY(-2px); }

.region-tabs button { transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease); }
.region-tabs button:hover { transform: translateY(-2px); border-color: var(--indigo-300); }

.contact-details li { transition: transform 0.25s var(--ease); }
.contact-details li:hover { transform: translateX(5px); }

.hero-points li { transition: transform 0.25s var(--ease); }
.hero-points li:hover { transform: translateX(5px); }

.footer-cols a, .footer-brand a { transition: color 0.2s var(--ease); }

.lang-switch button { transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.lang-switch button:hover { transform: translateY(-1px); color: var(--indigo); }

.brand-logo, .footer-logo { transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.04); }

@media (hover: none) {
  .why-item:hover, .step:hover, .trust-list li:hover, .role:hover,
  .region-tabs button:hover, .contact-details li:hover, .hero-points li:hover { transform: none; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1.2rem var(--gut); gap: 1.1rem;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 440px; }
  .card-grid, .why-grid, .office-grid, .contact-grid, .calc { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .calc-summary { position: static; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .hero-stat { left: 12px; }
  .footer-bottom { flex-direction: column; }
}

/* Trust strip: tidy, centered pills on smaller screens */
@media (max-width: 680px) {
  .trust-inner {
    flex-direction: column; align-items: center; text-align: center;
    gap: 1rem; padding: 1.5rem 0;
  }
  .trust-label {
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--slate-300);
  }
  .trust-list { justify-content: center; gap: 0.55rem; }
  .trust-list li {
    font-family: var(--f-body); font-weight: 500; font-size: 0.82rem;
    color: var(--navy); background: #fff;
    border: 1px solid var(--line); border-radius: 100px;
    padding: 0.42em 0.95em;
  }
}

/* ============================================================
   NAV: keep items on one line
   ============================================================ */
.nav { flex-wrap: nowrap; }
.nav a { white-space: nowrap; }

/* ============================================================
   SERVICES: expand-on-hover / click cards
   ============================================================ */
.card-hint { text-align: right; font-size: 0.8rem; color: var(--slate-300); margin: -0.4rem 0 1rem; }
.card { position: relative; cursor: pointer; }
.card-more {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin-top 0.35s var(--ease);
}
.card-more p { color: var(--slate); font-size: 0.95rem; margin: 0; }
.card:hover .card-more, .card:focus-within .card-more, .card.open .card-more {
  max-height: 340px; opacity: 1; margin-top: 0.85rem;
}
.card-grid:hover .card:not(:hover) { opacity: 0.5; }
.card-grid:has(.card.open) .card:not(.open) { opacity: 0.5; }

/* ============================================================
   SHE CODES teaser (on Reemo sites)
   ============================================================ */
.shecodes-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.42em 0.75em; border: 1px solid var(--line); border-radius: 100px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.shecodes-btn img { height: 14px; width: auto; display: block; }
.shecodes-btn:hover { border-color: #e0518f; background: #fdf1f5; transform: translateY(-1px); }

.section-shecodes { background: #fdf1f5; border-top: 1px solid #f6d9e4; }
.shecodes-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.section-shecodes .eyebrow { color: #d6407e; }
.section-shecodes .section-title { color: #7a1f47; }
.section-shecodes .section-intro { color: #8a5a6f; }
.btn-shecodes { background: #e0518f; color: #fff; margin-top: 1.4rem; }
.btn-shecodes:hover { background: #c93f7b; color: #fff; transform: translateY(-2px); }
.shecodes-logo-wrap { display: flex; justify-content: center; }
.shecodes-logo-wrap img { max-width: 340px; width: 100%; height: auto; }
@media (max-width: 800px) {
  .shecodes-inner { grid-template-columns: 1fr; text-align: center; }
  .shecodes-logo-wrap { order: -1; }
  .shecodes-logo-wrap img { max-width: 240px; }
}

/* ============================================================
   HEADER FIT: give the nav room, collapse earlier, tidy items
   ============================================================ */
.site-header .container { max-width: 1280px; }
.nav { gap: 1.35rem; }
.nav a { font-size: 0.9rem; }
.header-actions { gap: 0.75rem; }
.region-switch { padding: 0.4em 0.7em; font-size: 0.8rem; }
.shecodes-btn { padding: 0.4em 0.62em; background: #fdf1f5; border-color: #f3d7e2; }
.shecodes-btn img { height: 13px; }
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1.2rem var(--gut); gap: 1.1rem;
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
}

/* ============================================================
   DIVERSITY section (She Codes)
   ============================================================ */
.section-diversity { background: #fdf1f7; border-top: 1px solid #f6dbe8; border-bottom: 1px solid #f6dbe8; }
.div-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.div-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.9rem 1.8rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.div-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.div-item h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--ink); }
.div-item p { color: var(--slate); font-size: 0.98rem; }
@media (max-width: 800px) { .div-grid { grid-template-columns: 1fr; } }

/* ============================================================
   She Codes header: wide wordmark needs more breathing room
   ============================================================ */
.brand-logo { height: 21px; }
.brand { gap: 0.7rem; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1.2rem var(--gut); gap: 1.1rem;
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
}

/* ============================================================
   OFFICE cross-market switch (click the other office photo)
   ============================================================ */
.office-switch { display: block; position: relative; height: 100%; }
.office-switch img { width: 100%; height: 100%; object-fit: cover; }
.office-switch-label {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: rgba(18, 18, 30, 0.82); color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 0.42em 0.8em; border-radius: 100px; display: inline-flex; align-items: center; gap: 0.4em;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px);
}
.office-switch-label::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.office:hover .office-switch-label::after { transform: translateX(3px); }
