/* =============================================================
   Hauga Limited — Stylesheet
   Plain CSS. Brand: navy (#051835) + electric blue (#025ffc).
   Type: Fraunces (display serif) + DM Sans (body).
   ============================================================= */

/* ----------------------------- Design tokens ----------------------------- */
:root {
  /* Brand */
  --navy-950: #050f22;
  --navy-900: #071a38;
  --navy-800: #0d2350;
  --navy-700: #143169;

  --blue-800: #0837a3;
  --blue-700: #0a46c8;
  --blue-600: #025ffc;   /* brand electric blue */
  --blue-500: #2e7bff;
  --blue-400: #5b97ff;
  --blue-300: #9cc0ff;
  --blue-100: #e7f0ff;

  /* Neutrals (warm-tinted for a less synthetic feel) */
  --ink: #0b1530;
  --slate-900: #101a30;
  --slate-700: #38445e;
  --slate-600: #4f5c75;
  --slate-500: #6b768d;
  --slate-400: #9aa3b5;
  --slate-200: #e3e7ef;
  --slate-100: #eef1f6;
  --paper: #f6f7fb;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--paper);
  --bg-alt: var(--white);
  --bg-dark: var(--navy-900);
  --text: var(--slate-900);
  --text-muted: var(--slate-600);
  --primary: var(--blue-600);
  --primary-strong: var(--blue-700);
  --accent: var(--blue-500);
  --border: var(--slate-200);

  /* Effects */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 48, .06), 0 2px 6px rgba(16, 26, 48, .06);
  --shadow: 0 14px 34px -12px rgba(8, 35, 80, .22);
  --shadow-lg: 0 30px 60px -18px rgba(8, 35, 80, .35);
  --gradient: linear-gradient(130deg, #0a46c8 0%, #025ffc 52%, #2e7bff 110%);
  --gradient-soft: linear-gradient(135deg, rgba(2, 95, 252, .09), rgba(46, 123, 255, .08));

  /* Type */
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --maxw: 1180px;

  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ----------------------------- Base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--slate-900);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1rem; color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-strong); }

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

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

::selection { background: rgba(2, 95, 252, .18); }

/* ----------------------------- Layout helpers ----------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(58px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #c3d2ec; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #97a9c9; }

.section-head { max-width: 730px; margin: 0 auto clamp(36px, 5vw, 62px); text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
  background: var(--gradient-soft); padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--blue-300); background: rgba(91, 151, 255, .14); }
.section-head p { font-size: 1.08rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1; border: 0;
  padding: 15px 27px; border-radius: 12px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 12px 26px -10px rgba(2, 95, 252, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 32px -10px rgba(2, 95, 252, .8); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn--outline:hover { color: var(--primary-strong); border-color: var(--primary); background: var(--gradient-soft); }
.btn--lg { padding: 17px 32px; font-size: 1.04rem; }

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: rgba(246, 247, 251, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 78px; }

.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--slate-700); font-weight: 500; font-size: .97rem; padding: 9px 14px; border-radius: 9px;
}
.nav-links a:hover { color: var(--primary); background: var(--gradient-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border); background: #fff;
  border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--slate-900); border-radius: 2px;
  position: relative; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; overflow: hidden; background: var(--bg-dark); color: #fff; padding: clamp(64px, 8vw, 104px) 0 clamp(58px, 8vw, 100px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 50% at 85% 6%, rgba(46, 123, 255, .30), transparent 62%),
    radial-gradient(46% 46% at 6% 96%, rgba(2, 95, 252, .30), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 70px); align-items: center; }

.hero .pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 500;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  color: #d6e2f8; padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(91, 151, 255, .22); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--blue-300); font-weight: 500; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #a9bbda; max-width: 540px; margin: 20px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: #8093b5; display: flex; align-items: center; gap: 10px; }
.hero-note svg { width: 18px; height: 18px; color: var(--blue-400); }

/* Hero image */
.hero-figure { position: relative; }
.hero-figure .shot {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .1); aspect-ratio: 3 / 2.05;
}
.hero-figure .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .float-card {
  position: absolute; left: -22px; bottom: -26px; background: #fff; color: var(--slate-900);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center;
  max-width: 270px;
}
.hero-figure .float-card .ring {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: #fff;
}
.hero-figure .float-card .ring svg { width: 22px; height: 22px; }
.hero-figure .float-card strong { display: block; font-family: var(--font-head); font-size: 1.4rem; line-height: 1; }
.hero-figure .float-card span { font-size: .82rem; color: var(--slate-500); }

/* Stat band under hero */
.statband { background: var(--navy-950); }
.statband .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 34px; }
.statband .stat .num { font-family: var(--font-head); font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 600; color: #fff; line-height: 1; }
.statband .stat .num .plus { color: var(--blue-400); }
.statband .stat .label { font-size: .84rem; color: #8ea0c2; margin-top: 8px; }

/* ----------------------------- Trust strip ----------------------------- */
.trust { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.trust .container { padding-block: 30px; }
.trust p { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); margin: 0 0 18px; font-weight: 600; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 32px; }
.trust-row .badge { display: inline-flex; align-items: center; gap: 9px; color: var(--slate-700); font-weight: 600; font-size: 1rem; }
.trust-row .badge svg { width: 20px; height: 20px; color: var(--primary); }

/* ----------------------------- Cards grid (services) ----------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  position: relative; overflow: hidden; height: 100%;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: var(--gradient-soft); color: var(--primary); margin-bottom: 20px; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: .97rem; }
.card .card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card .card-tags span { font-size: .76rem; font-weight: 600; color: var(--primary-strong); background: var(--gradient-soft); padding: 5px 11px; border-radius: 999px; }

/* ----------------------------- Process ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 32px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.step .step-num { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--gradient); color: #fff; margin-bottom: 18px; }
.step h3 { font-size: 1.18rem; }
.step p { font-size: .94rem; }

/* ----------------------------- Why-us / features ----------------------------- */
.feature-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.feature-list { display: grid; gap: 20px; margin-top: 28px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .tick { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gradient); color: #fff; margin-top: 2px; }
.feature-item .tick svg { width: 18px; height: 18px; }
.feature-item h4 { font-family: var(--font-body); margin: 0 0 4px; font-size: 1.06rem; font-weight: 700; color: var(--slate-900); }
.feature-item p { margin: 0; font-size: .95rem; }

/* Photo with floating stat overlay */
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2.1; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 24, 53, .55)); }
.photo-stat { position: absolute; right: 18px; bottom: 18px; z-index: 2; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 22px; }
.photo-stat div span { display: block; }
.photo-stat .n { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--slate-900); line-height: 1; }
.photo-stat .l { font-size: .76rem; color: var(--slate-500); margin-top: 5px; }

/* ----------------------------- Engagement models ----------------------------- */
.model { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.model.is-featured { border-color: var(--blue-300); box-shadow: var(--shadow); position: relative; }
.model .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--gradient); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.model h3 { margin-bottom: 6px; }
.model .lead { font-size: .95rem; margin-bottom: 18px; }
.model ul { display: grid; gap: 11px; margin-bottom: 4px; }
.model li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--slate-700); }
.model li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--primary); margin-top: 3px; }
.model .best-for { margin-top: auto; padding-top: 18px; font-size: .85rem; color: var(--slate-500); border-top: 1px solid var(--border); }

/* ----------------------------- Tech stack ----------------------------- */
.tech-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tech-col h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.tech-col ul { display: grid; gap: 10px; }
.tech-col li { color: var(--text-muted); font-weight: 500; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.tech-col li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

/* ----------------------------- Showcase band ----------------------------- */
.showcase { position: relative; overflow: hidden; color: #fff; }
.showcase .bg { position: absolute; inset: 0; }
.showcase .bg img { width: 100%; height: 100%; object-fit: cover; }
.showcase .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5,15,34,.92), rgba(7,26,56,.78)); }
.showcase .container { position: relative; z-index: 1; }
.showcase-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.showcase h2 { color: #fff; }
.showcase p { color: #b7c6e2; }
.showcase .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.showcase .mini .n { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: #fff; }
.showcase .mini .l { font-size: .86rem; color: #9fb1d2; }

/* ----------------------------- Technologies (logo wall) ----------------------------- */
.tech-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tech-logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 30px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.tech-logo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tech-logo svg { width: 46px; height: 46px; color: var(--bc, var(--primary)); transition: transform .25s ease; }
.tech-logo:hover svg { transform: scale(1.08); }
.tech-logo span { font-weight: 600; font-size: .92rem; color: var(--slate-700); }

/* ----------------------------- Team (placeholder, currently commented out in HTML) ----------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow-sm); }
.member .avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--gradient); color: #fff; font-size: 1.7rem; font-weight: 700; }
.member h4 { margin: 0 0 3px; font-size: 1.08rem; }
.member .role { color: var(--primary); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.member p { font-size: .9rem; margin: 0; }

/* ----------------------------- FAQ ----------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--blue-300); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: 1.06rem; font-weight: 600; color: var(--slate-900); padding: 21px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .chev { flex: 0 0 auto; width: 24px; height: 24px; transition: transform .25s ease; color: var(--primary); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 21px; margin: 0; font-size: .98rem; }

/* ----------------------------- CTA banner ----------------------------- */
.cta-banner { position: relative; overflow: hidden; background: var(--gradient); color: #fff; border-radius: var(--radius-lg); padding: clamp(42px, 6vw, 74px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% 0%, rgba(255,255,255,.2), transparent 70%); }
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { color: rgba(255,255,255,.94); max-width: 620px; margin: 0 auto 28px; position: relative; font-size: 1.1rem; }
.cta-banner .hero-actions { justify-content: center; position: relative; }

/* ----------------------------- Contact ----------------------------- */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .info-item .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; background: var(--gradient-soft); color: var(--primary); display: grid; place-items: center; }
.contact-info .info-item .ic svg { width: 22px; height: 22px; }
.contact-info .info-item h4 { font-family: var(--font-body); margin: 0 0 4px; font-size: 1rem; font-weight: 700; }
.contact-info .info-item p, .contact-info .info-item a { margin: 0; font-size: .96rem; color: var(--text-muted); }
.contact-info .info-item a:hover { color: var(--primary); }

.contact-form { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: .98rem; color: var(--slate-900); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(2, 95, 252, .14); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.captcha { display: flex; align-items: center; gap: 12px; background: var(--gradient-soft); border: 1px dashed var(--blue-300); border-radius: var(--radius-sm); padding: 12px 14px; }
.captcha label { margin: 0; white-space: nowrap; font-size: .95rem; color: var(--slate-700); font-weight: 600; }
.captcha .q { font-family: var(--font-head); font-weight: 600; color: var(--primary-strong); }
.captcha input { max-width: 110px; }
.form-note { font-size: .82rem; color: var(--slate-500); margin: 12px 0 0; }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 600; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--navy-950); color: #98abca; padding: clamp(52px, 7vw, 82px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-about img { height: 40px; margin-bottom: 18px; }
.footer-about p { font-size: .94rem; color: #8da0c1; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #98abca; font-size: .95rem; }
.footer-col a:hover { color: var(--blue-300); }
.footer-col address { font-style: normal; font-size: .94rem; color: #8da0c1; line-height: 1.85; }
.footer-legal-ids { margin-top: 12px; font-size: .85rem; color: var(--slate-400); }
.footer-legal-ids span { display: block; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cdd9f0; transition: background .2s ease, transform .2s ease; }
.social-row a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 19px; height: 19px; }

.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 26px; font-size: .87rem; color: var(--slate-400); }
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--blue-300); }
.made-in { display: inline-flex; align-items: center; gap: 9px; }
.made-in svg.flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.made-in .heart { color: #ff5d6c; }

/* ----------------------------- Back to top ----------------------------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; background: var(--gradient); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

/* ----------------------------- Legal page ----------------------------- */
.legal-hero { background: var(--bg-dark); color: #fff; padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 70px); }
.legal-hero h1 { color: #fff; }
.legal-hero p { color: #a9bbda; max-width: 640px; }
.legal-body { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal-body .container { max-width: 860px; }
.legal-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.2em; scroll-margin-top: 100px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal-body p, .legal-body li { color: var(--slate-700); }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1rem; }
.legal-body li { margin-bottom: .5em; }
.legal-toc { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 36px; }
.legal-toc h2 { margin: 0 0 14px; font-size: 1.1rem; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; gap: 24px; }
.legal-toc li { margin-bottom: 8px; color: var(--primary); }
.legal-updated { font-size: .9rem; color: var(--slate-500); }

/* ----------------------------- Reveal animation ----------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 540px; }
  .grid-3, .tech-cols, .steps, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-logos { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .contact-grid, .showcase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 18px 22px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .nav .nav-cta .btn { display: none; }
  .nav-links .btn { display: inline-flex; justify-content: center; margin-top: 8px; }
  .statband .container { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .legal-toc ol { columns: 1; }
}

@media (max-width: 560px) {
  .grid-3, .tech-cols, .steps, .team-grid, .grid-2 { grid-template-columns: 1fr; }
  .tech-logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-figure .float-card { left: 0; }
}
