/* =====================================================================
   SAN3D TECHNOLOGIES — Global Stylesheet
   Palette derived from the company logo (red #D81B1B / blue #0072F0)
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --red:        #D81B1B;
  --red-dark:   #A80F0F;
  --red-light:  #F03030;
  --blue:       #0072F0;
  --blue-dark:  #0047B3;
  --blue-light: #00A8F0;

  /* Neutrals */
  --navy:       #0A1830;
  --navy-2:     #112742;
  --slate:      #47566B;
  --slate-light:#7A8899;
  --line:       #E2E8F0;
  --bg:         #FFFFFF;
  --bg-alt:     #F5F7FA;
  --bg-tint:    #EFF4FB;
  --white:      #FFFFFF;

  /* Type */
  --font-head: 'Barlow Condensed', 'Oswald', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 6px;
  --radius-lg: 12px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(10, 24, 48, .08);
  --shadow:    0 6px 24px rgba(10, 24, 48, .10);
  --shadow-lg: 0 18px 48px rgba(10, 24, 48, .16);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .3s var(--ease);

  --header-h: 78px;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; transition: var(--t); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

strong { color: var(--navy); font-weight: 600; }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 860px; }

.section { padding: 92px 0; }
.section--alt  { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--tight { padding: 64px 0; }

.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Section heading block */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.text-center { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.text-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--red); }
.section--dark .eyebrow { color: var(--blue-light); }
.section--dark .eyebrow::before, .section--dark .eyebrow::after { background: var(--blue-light); }

.section-head p { font-size: 1.05rem; margin-top: 16px; }

/* Accent rule under headings */
.rule { width: 64px; height: 4px; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 2px; margin-top: 18px; }
.text-center .rule { margin-inline: auto; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: .92rem; font-weight: 600; letter-spacing: .04em;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: var(--t); white-space: nowrap;
}
.btn i { font-size: .85em; }

.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(216,27,27,.30); }

.btn-secondary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,114,240,.30); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: .84rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
.text-center .btn-group { justify-content: center; }

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info span, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); }
.topbar a:hover { color: var(--white); }
.topbar i { color: var(--blue-light); }
.topbar-tag { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; color: rgba(255,255,255,.55); }

.header {
  /* Must sit above .nav-backdrop (940). backdrop-filter below creates a
     stacking context, so the nav panel's own z-index is scoped inside this
     element — if the header sits under the backdrop, so does the open menu. */
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: var(--t);
}
.header.scrolled { box-shadow: var(--shadow); }
.header > .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo img { height: 52px; width: auto; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: .92rem; font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--red); }

.header-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--navy); color: var(--white);
  border: none; border-radius: var(--radius);
  font-size: 1.1rem; cursor: pointer;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,24,48,.94) 0%, rgba(10,24,48,.80) 45%, rgba(10,24,48,.45) 100%);
}
.hero-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(216,27,27,.20), transparent 40%, rgba(0,114,240,.20));
}
.hero .container { position: relative; z-index: 2; padding-block: 100px; }
.hero-content { max-width: 720px; }
.hero-content .eyebrow { color: var(--blue-light); }
.hero-content .eyebrow::before { background: var(--blue-light); }
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 .accent {
  background: linear-gradient(90deg, var(--red-light), var(--blue-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-content p { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 600px; margin-bottom: 32px; }
.hero .btn-group { margin-bottom: 44px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-stats .num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stats .lbl { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 8px; }

/* Page banner (inner pages) */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: 96px 0 84px;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 640px; font-size: 1.05rem; }

.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .84rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- 7. Grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

.card-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--bg-tint); color: var(--blue);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--t);
}
.card:hover .card-icon { background: var(--red); color: var(--white); }

/* Media card (image on top) */
.media-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  display: flex; flex-direction: column;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.media-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-card:hover .thumb img { transform: scale(1.06); }
.media-card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.media-card .body h3 { margin-bottom: 10px; }
.media-card .body p { font-size: .95rem; flex: 1; }
.media-card .body .btn { margin-top: 18px; align-self: flex-start; }

/* Split section (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-img::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}
.split.reverse .split-text { order: 2; }

/* Product / brochure imagery — show the whole frame rather than cropping to 4:3 */
.split-img--natural { box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.split-img--natural img { aspect-ratio: auto; object-fit: contain; background: #EAF2F8; }

/* Checklist */
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--slate);
}
.checklist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; background: var(--blue); color: var(--white);
}
.checklist.red li::before { background: var(--red); }
.section--dark .checklist li { color: rgba(255,255,255,.78); }

/* Bold text sits on a navy background in dark sections — keep it legible */
.section--dark strong { color: var(--white); }

/* Two-line variant: bold label on its own line, description beneath */
.checklist--detail li { margin-bottom: 20px; }
.checklist--detail li:last-child { margin-bottom: 0; }
.checklist--detail li strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 3px;
}
.checklist--detail li span { display: block; font-size: .95rem; }

/* Stats band */
.stats-band { background: var(--navy); position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(216,27,27,.16), transparent 50%, rgba(0,114,240,.16));
}
.stats-band .container { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat .num span { color: var(--red-light); }
.stat .lbl { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 10px; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -39px; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--blue);
}
.timeline-item:nth-child(odd)::before { border-color: var(--red); }
.timeline-year {
  display: inline-block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  color: var(--red); letter-spacing: .04em; margin-bottom: 4px;
}
.timeline-item:nth-child(even) .timeline-year { color: var(--blue); }
.timeline-item h3 { margin-bottom: 8px; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
thead th {
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-size: .95rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  text-align: left; padding: 16px 20px; white-space: nowrap;
}
tbody td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .94rem; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--bg-alt); }
tbody tr:hover { background: var(--bg-tint); }
td.num-col { width: 60px; color: var(--slate-light); font-variant-numeric: tabular-nums; }
td.strong-col { color: var(--navy); font-weight: 600; }

/* Client logos / names */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.client-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
  font-weight: 600; color: var(--navy); font-size: .95rem;
  transition: var(--t);
}
.client-chip i { color: var(--blue); font-size: .85rem; }
.client-chip:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); }

/* Profile card */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.profile-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-initials { font-family: var(--font-head); font-size: 5rem; color: rgba(255,255,255,.9); }
.profile-name { margin-bottom: 4px; }
.profile-role { color: var(--red); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin-bottom: 20px; }

.credential-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.credential-list li:last-child { border-bottom: none; }
.credential-list i { color: var(--blue); margin-top: 5px; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  transition: var(--t);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  color: var(--bg-tint); line-height: 1; display: block; margin-bottom: 8px;
  transition: var(--t);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step:hover::before { color: var(--red); }
.step h4 { margin-bottom: 8px; }
.step p { font-size: .92rem; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.info-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: none; }
.info-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint); color: var(--blue); font-size: 1.05rem;
}
.info-list h4 { margin-bottom: 4px; }
.info-list p, .info-list a { font-size: .95rem; margin: 0; display: block; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  font-family: inherit; font-size: .95rem; color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: var(--t);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,114,240,.12);
}
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(216,27,27,.10); }
.field .error { display: none; font-size: .8rem; color: var(--red); margin-top: 6px; }
.field .error.show { display: block; }

.form-status { display: none; padding: 14px 18px; border-radius: var(--radius); font-size: .92rem; margin-bottom: 20px; }
.form-status.show { display: block; }
.form-status.ok { background: #E8F6EC; color: #1B7A38; border: 1px solid #B7E3C4; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-dark) 100%);
  padding: 72px 0;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; top: -60%; right: -10%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,27,27,.35), transparent 70%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease), opacity .4s; }
.gallery figure:hover img { transform: scale(1.07); opacity: .55; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 20px 18px;
  color: var(--white); font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .04em;
  background: linear-gradient(transparent, rgba(10,24,48,.9));
}

/* Badge */
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.badge-red  { background: rgba(216,27,27,.10); color: var(--red); }
.badge-blue { background: rgba(0,114,240,.10); color: var(--blue); }

/* Accordion */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 14px; background: var(--white); overflow: hidden; }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy);
  text-align: left; transition: var(--t);
}
.accordion-btn:hover { color: var(--red); }
.accordion-btn i { transition: transform .3s var(--ease); color: var(--blue); font-size: .9rem; }
.accordion-item.open .accordion-btn i { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-panel-inner { padding: 0 26px 24px; font-size: .95rem; }

/* ---------- 8. Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.66); padding-top: 72px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 52px; }
.footer h4 {
  color: var(--white); font-size: 1.05rem; margin-bottom: 22px;
  letter-spacing: .1em; text-transform: uppercase; position: relative; padding-bottom: 12px;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--red); }
.footer-logo { height: 62px; width: auto; background: var(--white); padding: 8px 12px; border-radius: var(--radius); margin-bottom: 20px; }
.footer p { color: rgba(255,255,255,.62); }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: rgba(255,255,255,.66); }
.footer ul a:hover { color: var(--white); padding-left: 6px; }
.footer .contact-info li { display: flex; gap: 12px; align-items: flex-start; }
.footer .contact-info i { color: var(--blue-light); margin-top: 6px; width: 16px; }
.footer .contact-info a { color: rgba(255,255,255,.66); text-decoration: none; }
.footer .contact-info a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 22px 0 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: rgba(255,255,255,.5);
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* Back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 800;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: var(--red); color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--t); box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

/* ---------- 9. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 10. Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .profile { grid-template-columns: 1fr; gap: 34px; }
  .profile-photo { max-width: 300px; }
  .split { gap: 40px; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--white);
    padding: 96px 24px 32px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    z-index: 950;
  }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,24,48,.5); z-index: 940;
    opacity: 0; visibility: hidden; transition: var(--t);
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .menu-toggle { position: relative; z-index: 960; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .section { padding: 68px 0; }
  .hero { min-height: 560px; }
  .topbar-info { gap: 16px; }
}

@media (max-width: 620px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .hero-stats { gap: 28px; }
  .hero-stats .num { font-size: 2rem; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-tag { display: none; }
  .btn { width: 100%; }
  .btn-group { flex-direction: column; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .logo img { height: 44px; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- 11. Print ---------- */
@media print {
  .header, .topbar, .footer, .to-top, .cta-band, .menu-toggle { display: none !important; }
  body { color: #000; }
  .section { padding: 20px 0; }
}
