/* ─────────────────────────────────────────────────────────────────────────────
   SHARED STYLES — analytics-sites
   Brand colors are injected as CSS variables by theme.js at runtime.
   ──────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Defaults ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Fallback values — overwritten by theme.js */
  --color-primary:       #0057A8;
  --color-primary-dark:  #003d78;
  --color-accent:        #00AEEF;
  --color-accent-dark:   #0090c8;
  --color-text:          #1a1a2e;
  --color-light:         #e8f4fd;

  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h: 72px;
  --max-w: 1160px;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.07), 0 8px 32px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Utility ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--color-text);
  transition: all .18s;
}
.nav-link:hover,
.nav-link.active {
  background: var(--color-light);
  color: var(--color-primary);
}
.nav-link.btn-nav {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 20px;
}
.nav-link.btn-nav:hover {
  background: var(--color-primary-dark);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   HERO — cinematic dark + radial glow + dot grid texture
   + oversized cycling headline + animated marquee ticker
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  /* Dark base; brand primary radiates from left where the text lives */
  background-color: var(--color-primary-dark);
  background-image:
    radial-gradient(ellipse 110% 130% at 5% 55%, var(--color-primary) 0%, transparent 58%);
  color: #fff;
  padding: 110px 0 88px;
}

/* Dot-grid texture — masked so dots appear only on the right (empty) side */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 65% 90% at 85% 50%, black 20%, transparent 75%);
  mask-image:         radial-gradient(ellipse 65% 90% at 85% 50%, black 20%, transparent 75%);
}

/* Subtle top-right accent glow */
.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
}

/* Hero image — blended into right side of dark hero */
.hero-img-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  pointer-events: none;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  opacity: 0.85;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%);
  mask-image:         linear-gradient(to right, transparent 0%, black 12%);
}
/* Hide when text needs the full width */
@media (max-width: 900px) {
  .hero-img-wrap { display: none; }
}

/* ── Hero headline ── */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 2.0rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 32px;
  color: #fff;
  white-space: nowrap;
}
.hero-headline em {
  display: inline-block;
  font-style: italic;
  color: #fff;
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}
/* Exit: blur up and out (fast) */
.hero-item--out {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-10px);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}
/* Entry start: blurred from below (no transition — instant snap) */
.hero-item--in {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition: none !important;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 44px;
  max-width: 560px;
  line-height: 1.8;
  margin-top: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
}
.btn-hero:hover {
  background: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.btn-outline-hero {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .2s ease;
  background: transparent;
  color: rgba(255,255,255,.88);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
}

/* ══════════════════════════════════════════════════════ */

/* ── VALUE PROPS ── */
.value-section {
  padding: 100px 0;
  background: #f8f9fb;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.section-header h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 16px auto 0;
}
.no-risk .section-header h2::after {
  background: rgba(255,255,255,.35);
}
.section-header h2 em {
  color: var(--color-primary);
  font-style: italic;
}
/* "your" underline treatment */
.section-header h2 u {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: none;
  font-style: normal;
  color: var(--color-primary);
}
.section-header p {
  color: #666;
  font-size: 1.05rem;
  margin-top: 8px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 44px 32px 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.value-card .icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.value-card .icon svg { width: 30px; height: 30px; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}
.value-card p { font-size: .95rem; color: #666; line-height: 1.7; }

/* ── NO RISK SECTION ── */
.no-risk {
  padding: 90px 0;
  position: relative;
  color: #fff;
  background-color: var(--color-primary-dark);
  background-image:
    linear-gradient(to bottom, rgba(0,12,40,.80) 0%, rgba(0,8,28,.75) 100%),
    url('../images/team.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.no-risk .section-header h2 { color: #fff; }
.no-risk .section-header h2 em { color: rgba(255,255,255,.85); }
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s;
}
.guarantee-item:hover { background: rgba(255,255,255,.18); }
.guarantee-item .check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.guarantee-item .check svg { width: 16px; height: 16px; }
.guarantee-item p {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* ── PRICING ── */
.pricing-section {
  padding: 100px 0;
  background: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pricing-card {
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: all .25s;
  background: #fff;
}
.pricing-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
}
.pricing-card .icon svg { width: 26px; height: 26px; }
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.pricing-card p { font-size: .93rem; color: #666; line-height: 1.65; }

.pricing-cta {
  text-align: center;
  margin-top: 52px;
  padding: 52px 40px;
  background: var(--color-text);
  border-radius: 16px;
  color: #fff;
}
.pricing-cta h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,.7);
  padding: 36px 0;
  font-size: .82rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner a { color: rgba(255,255,255,.55); transition: color .15s; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background-color: var(--color-primary-dark);
  background-image: radial-gradient(ellipse 110% 130% at 5% 55%, var(--color-primary) 0%, transparent 58%);
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 65% 90% at 85% 50%, black 20%, transparent 75%);
  mask-image:         radial-gradient(ellipse 65% 90% at 85% 50%, black 20%, transparent 75%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  position: relative;
  letter-spacing: -.02em;
}

/* Photo-backed variant (privacy, terms) */
.page-hero--imgbg {
  background-color: transparent;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.72) 30%, rgba(0,0,0,.35) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
}
.page-hero--imgbg::before { display: none; }

/* ── LEGAL PAGES ── */
.legal-content {
  padding: 80px 0 100px;
}
.legal-body {
  max-width: 780px;
}
.legal-intro {
  font-size: 1.08rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--color-light);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 40px 0 12px;
}
.legal-body p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-body ul li {
  color: #555;
  line-height: 1.75;
  margin-bottom: 8px;
}
.legal-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover {
  color: var(--color-primary-dark);
}

/* ── SERVICES PAGE ── */

/* Shared section base */
.svc-section {
  padding: 88px 0;
}
.svc-section--white { background: #fff; }
.svc-section--light { background: #f8f9fb; }

/* Section heading */
.svc-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  letter-spacing: -.02em;
  border-bottom: 2px solid var(--color-light);
}
.svc-blurb p,
.svc-blurb { color: #555; line-height: 1.8; }
.svc-blurb br + br { display: block; content: ""; margin-top: 16px; }

/* ── Background-image section ── */
.svc-section--image {
  padding: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
}
/* Dark gradient on the left so text card has a base even without the card */
.svc-section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.35) 0%, transparent 70%);
  pointer-events: none;
}
.svc-section--image .container {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}
.svc-image-card {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 52px 48px;
  max-width: 680px;
  box-shadow: 0 8px 48px rgba(0,0,0,.25);
}
.svc-image-card .svc-heading {
  color: var(--color-primary);
}
.svc-intro {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.65;
}
#services-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}
#services-items li {
  background: var(--color-light);
  border-left: 3px solid var(--color-primary);
  padding: 9px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background .15s, color .15s;
}
#services-items li:hover { background: var(--color-primary); color: #fff; }

/* ── Advisory full-bleed background section ── */
.svc-section--advisory {
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
/* Overlay: solid brand-dark on the left for text legibility, fades to semi-dark on the right so the photo shows */
.svc-section--advisory::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-primary-dark) 0%,
    rgba(0,30,60,.82) 45%,
    rgba(0,20,50,.45) 100%
  );
  pointer-events: none;
}
.svc-section--advisory .container {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
}
.svc-advisory-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.svc-heading--light {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.2);
}
.svc-advisory-content p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: .98rem;
}

/* ── CTA section ── */
.svc-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
}
.svc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.svc-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.svc-cta-text p {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
}


/* ── CONTACT PAGE ── */
.contact-content {
  padding: 72px 0 96px;
  background: #f0f4f8;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: stretch;
}

/* Left panel — dark brand card */
.contact-info {
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: 16px;
  padding: 48px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.contact-info > p {
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 36px;
  font-size: 1rem;
  position: relative;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
}
.contact-detail .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.contact-detail .icon-wrap svg { width: 18px; height: 18px; }
.contact-detail a { color: rgba(255,255,255,.9); font-weight: 500; }
.contact-detail a:hover { color: #fff; text-decoration: underline; }

.contact-reasons {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
  position: relative;
}
.contact-reasons h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.contact-reasons ul { display: flex; flex-direction: column; gap: 14px; }
.contact-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  line-height: 1.5;
  font-weight: 500;
}
.contact-check { color: #fff; font-weight: 800; flex-shrink: 0; width: 18px; }

/* Right panel — elevated white card */
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #444;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: var(--color-light);
  border-radius: var(--radius);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

/* ── RESPONSIVE ── */

/* ≤900px — tablet */
@media (max-width: 900px) {
  .hero-inner { max-width: 100%; }
  /* 3-col → 2-col for cards */
  .value-grid   { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .guarantee-grid { grid-template-columns: 1fr; }
  /* Contact */
  .contact-grid { grid-template-columns: 1fr; align-items: start; }
  .contact-info { padding: 36px 28px; }
  .contact-form { padding: 36px 28px; }
  /* Services */
  #services-items { grid-template-columns: 1fr; }
  .svc-image-card { padding: 36px 28px; }
  .svc-advisory-content { max-width: 100%; }
  .svc-cta-inner { flex-direction: column; text-align: center; }
  .svc-cta-text p { max-width: 100%; }
  /* Disable parallax on tablet/mobile — broken on iOS Safari */
  .no-risk { background-attachment: scroll; }
}

/* ≤640px — large phones */
@media (max-width: 640px) {
  /* 2-col → 1-col */
  .value-grid   { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  /* Hero */
  .hero { padding: 64px 0 60px; }
  .hero-headline { font-size: clamp(.9rem, 4.8vw, 1.6rem); white-space: normal; }
  /* Cards */
  .value-card { padding: 32px 24px; }
  .value-card .icon { width: 60px; height: 60px; }
  /* Nav */
  .nav-logo img { height: 44px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow); border-top: 1px solid #eee; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  /* Sections */
  .page-hero { padding: 60px 0 52px; }
  .pricing-cta { padding: 36px 24px; }
  .svc-section--advisory .container,
  .svc-section--image .container { padding-top: 56px; padding-bottom: 56px; }
  .svc-cta-section { padding: 56px 0; }
}

/* ≤480px — small phones */
@media (max-width: 480px) {
  .value-card { padding: 28px 16px; }
  .value-card .icon { width: 52px; height: 52px; }
  .nav-logo img { height: 38px; }
  .contact-info { padding: 24px 18px; }
  .contact-form { padding: 24px 18px; }
  .svc-image-card { padding: 24px 16px; }
  .contact-reasons h3 { font-size: 1.3rem; }
  .contact-reasons li { font-size: .95rem; }
  .pricing-cta h3 { font-size: 1.3rem; }
  .svc-cta-text h2 { font-size: 1.3rem; }
}

/* ≥1600px — widescreen */
@media (min-width: 1600px) {
  .hero::after { width: 680px; height: 680px; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .6s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .22s; }
.fade-up-3 { animation-delay: .34s; }
.fade-up-4 { animation-delay: .46s; }
