/* ================================================
   EUTAXIS — Global Stylesheet  v3.0
   Visual-first. Colour, graphics, short copy.
   ================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --clr-bg:         #F5F9FC;
  --clr-bg-alt:     #EDF4F9;
  --clr-surface:    #FFFFFF;
  --clr-primary:    #1A3A5C;
  --clr-primary-dk: #12314F;
  --clr-accent:     #2E9CCA;
  --clr-accent-2:   #5EC4B0;
  --clr-warm:       #F0A04B;
  --clr-warm-dk:    #C97B28;
  --clr-text:       #1C2B3A;
  --clr-muted:      #6B7E93;
  --clr-border:     #DCE7F0;
  --clr-cta:        #2E9CCA;
  --clr-cta-hover:  #1A7BA8;

  --font-head: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 4px 24px rgba(26, 58, 92, 0.08);
  --shadow-lift: 0 12px 40px rgba(26, 58, 92, 0.14);
  --shadow-btn:  0 2px 12px rgba(46, 156, 202, 0.3);

  --grad-brand: linear-gradient(135deg, #2E9CCA 0%, #3FA5C8 35%, #5EC4B0 100%);
  --grad-navy:  linear-gradient(160deg, #1A3A5C 0%, #1e4a74 55%, #1a5c5c 100%);

  --max-w: 1100px;
  --nav-h: 68px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-primary);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { color: var(--clr-text); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.18rem; color: var(--clr-muted); line-height: 1.65; }
.muted { color: var(--clr-muted); }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 12px;
}
.section-header { max-width: 620px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { color: var(--clr-muted); font-size: 1.08rem; margin-top: 10px; }
.band-alt { background: var(--clr-bg-alt); }
.band-white { background: var(--clr-surface); }
.band-navy { background: var(--grad-navy); color: #fff; }
.band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }
.band-navy p { color: rgba(255,255,255,0.78); }
.band-navy .section-label { color: var(--clr-accent-2); }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.35rem; color: var(--clr-primary); letter-spacing: -0.03em;
}
.nav-logo .logo-mark {
  width: 34px; height: 34px; background: var(--grad-brand); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1.4rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.94rem; font-weight: 500; color: var(--clr-muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--clr-primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--clr-primary); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: none; text-decoration: none;
}
.btn-primary { background: var(--clr-cta); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--clr-cta-hover); transform: translateY(-2px); }
.btn-warm { background: var(--clr-warm); color: #22303F; box-shadow: 0 2px 12px rgba(240,160,75,0.35); }
.btn-warm:hover { background: #E88F35; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--clr-primary); border: 2px solid var(--clr-border); }
.btn-outline:hover { border-color: var(--clr-accent); color: var(--clr-accent); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-white { background: #fff; color: var(--clr-primary); }
.btn-white:hover { background: #EAF6FC; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.03rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-navy);
  padding: 90px 0 76px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,0.78); }
.page-hero .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero .blob-1 { top: -120px; right: -80px; width: 400px; height: 400px; background: rgba(46,156,202,0.15); }
.page-hero .container { position: relative; }

/* ---------- Soft detail panel ---------- */
.panel-soft {
  background: linear-gradient(160deg, #F4F7FA, #E9F0F6);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.panel-soft .panel-title { font-weight: 700; color: var(--clr-primary); font-size: 1.08rem; margin-bottom: 20px; }
.panel-soft .step { padding: 18px 0; }
.panel-soft .step-num { width: 36px; height: 36px; font-size: 0.9rem; }
.panel-soft .step-content h4 { margin-bottom: 4px; }
.panel-soft .step-content p { font-size: 0.88rem; }

/* ---------- Tick list ---------- */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .tick { color: var(--clr-accent); font-weight: 800; flex-shrink: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; gap: 10px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card p { color: var(--clr-muted); font-size: 0.96rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 4px;
}
.card-icon.blue { background: rgba(46,156,202,0.13); }
.card-icon.mint { background: rgba(94,196,176,0.15); }
.card-icon.navy { background: rgba(26,58,92,0.09); }
.card-icon.warm { background: rgba(240,160,75,0.18); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px;
  font-weight: 600; color: var(--clr-accent); font-size: 0.9rem;
}

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-navy);
  padding: 84px 0 88px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero .blob-1 { top: -110px; right: -90px; width: 420px; height: 420px; background: rgba(46,156,202,0.16); }
.hero .blob-2 { bottom: -90px; left: -60px; width: 300px; height: 300px; background: rgba(94,196,176,0.12); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,0.78); margin-bottom: 32px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-lg { padding: 15px 24px; font-size: 0.98rem; }

/* Phone mock ---------------------------------- */
.phone-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.phone-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 10px;
}
.phone-row:last-child { margin-bottom: 0; }
.phone-row .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.phone-row .dot.miss { background: var(--clr-warm); }
.phone-row .dot.ans  { background: var(--clr-accent-2); }
.phone-row .who { font-size: 0.9rem; font-weight: 600; color: #fff; }
.phone-row .when { font-size: 0.76rem; color: rgba(255,255,255,0.55); }
.phone-row .status {
  margin-left: auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 100px; white-space: nowrap;
}
.phone-row .status.miss { background: rgba(240,160,75,0.2); color: #F6BE7E; }
.phone-row .status.ans  { background: rgba(94,196,176,0.2); color: #8FDCC9; }

/* Stat strip ---------------------------------- */
.stat-strip { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; position: relative; }
.stat-strip .stat-num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat-strip .stat-lbl { font-size: 0.87rem; color: rgba(255,255,255,0.55); max-width: 20ch; }
.stat-strip .rule { width: 1px; background: rgba(255,255,255,0.16); }

/* ---------- Stat tiles (light) ---------- */
.tile {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-card);
}
.tile .big { font-size: 2.2rem; font-weight: 800; line-height: 1.05; color: var(--clr-primary); }
.tile .big.warm { color: var(--clr-warm-dk); }
.tile .big.accent { color: var(--clr-accent); }
.tile p { color: var(--clr-muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Flow diagram ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.flow-step { position: relative; padding: 0 18px; }
.flow-step:first-child { padding-left: 0; }
.flow-step:last-child { padding-right: 0; }
.flow-step .fs-mark {
  width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 14px;
}
.flow-step h4 { margin-bottom: 4px; }
.flow-step p { color: var(--clr-muted); font-size: 0.9rem; }
.flow-step::after {
  content: ""; position: absolute; top: 22px; right: -10px; width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--clr-accent), rgba(46,156,202,0.15));
}
.flow-step:last-child::after { display: none; }

/* ---------- Placeholder marker ---------- */
.ph {
  display: inline-block;
  border: 2px dashed var(--clr-warm);
  background: rgba(240,160,75,0.1);
  color: var(--clr-warm-dk);
  border-radius: 6px;
  padding: 0 8px;
  font-weight: 700;
}
.ph-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(240,160,75,0.12); border: 1px dashed var(--clr-warm);
  border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 16px;
  font-size: 0.86rem; color: var(--clr-warm-dk); font-weight: 500;
}

/* ---------- Price panel ---------- */
.price-panel {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-top: 5px solid var(--clr-accent);
  border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-card);
}
.price-panel .amount { font-size: 2.3rem; font-weight: 800; color: var(--clr-primary); line-height: 1.1; }
.price-panel .per { font-size: 0.95rem; color: var(--clr-muted); font-weight: 500; }
.price-list { list-style: none; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--clr-text); }
.price-list .tick { color: var(--clr-accent-2); font-weight: 800; flex-shrink: 0; }

/* ---------- Divider / tags / tools ---------- */
.divider { width: 44px; height: 4px; background: var(--grad-brand); border-radius: 2px; margin: 14px 0 16px; }
.tag {
  display: inline-block; font-size: 0.76rem; font-weight: 700; padding: 4px 12px;
  border-radius: 100px; background: rgba(46,156,202,0.13); color: var(--clr-accent);
}
.tag.warm { background: rgba(240,160,75,0.18); color: var(--clr-warm-dk); }
.tools-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool-badge {
  font-size: 0.8rem; font-weight: 600; color: var(--clr-muted);
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: 6px; padding: 5px 12px;
}

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--clr-border); }
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { margin-bottom: 4px; }
.step-content p { color: var(--clr-muted); margin: 0; }

/* ---------- Case study cards ---------- */
.case {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.case-top { padding: 22px 26px; background: var(--grad-navy); color: #fff; }
.case-top .tag { background: rgba(255,255,255,0.15); color: #fff; }
.case-top h3 { color: #fff; margin-top: 10px; font-size: 1.15rem; }
.case-body { padding: 22px 26px 26px; }
.case-metrics { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.case-metrics .m-num { font-size: 1.6rem; font-weight: 800; color: var(--clr-accent); line-height: 1.1; }
.case-metrics .m-lbl { font-size: 0.8rem; color: var(--clr-muted); }
.case-body p { color: var(--clr-muted); font-size: 0.94rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--grad-navy); border-radius: var(--radius-lg);
  padding: 56px 48px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--clr-primary-dk); color: rgba(255,255,255,0.6); padding: 46px 0 30px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; max-width: 250px; }
.footer-links h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.52); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w); margin: 30px auto 0; padding: 18px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.8rem;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--clr-primary); margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--clr-text);
  background: var(--clr-surface); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-accent); box-shadow: 0 0 0 3px rgba(46,156,202,0.15);
}
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { padding: 0; }
  .flow-step::after { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--clr-border); padding: 20px 24px 26px; gap: 16px;
  }
  .cta-banner { padding: 40px 22px; }
  section { padding: 48px 0; }
  .stat-strip .rule { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
