/* ==========================================================================
   NEXO TEKKO LTD - nexotekko.co.uk
   Shared stylesheet for index.html and terms.html
   ========================================================================== */

:root {
  --navy: #002642;
  --maroon: #840032;
  --amber: #E59500;
  --rose: #E5DADA;
  --ink: #02040F;

  --navy-soft: #063a61;
  --paper: #FFFFFF;
  --paper-alt: #F7F3F3;
  --line: #d9cccc;
  --body-text: #24303a;
  --muted: #55636e;

  --font-head: "Inter Tight", "Segoe UI Semibold", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(2, 4, 15, 0.10);
  --shadow-lg: 0 18px 50px rgba(2, 4, 15, 0.18);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--body-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--maroon); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 { font-size: clamp(2.05rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.32rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--amber); color: var(--ink); padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 6px 18px rgba(229, 149, 0, .32); }
.btn-primary:hover { background: #f2a516; }
.btn-secondary { background: transparent; color: var(--paper); border-color: rgba(229, 218, 218, .65); }
.btn-secondary:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .93rem; }
.btn-block { width: 100%; }

/* ---------- Icons ---------- */
.icon { width: 26px; height: 26px; flex: none; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 34px; height: 34px; }
.icon-sm { width: 20px; height: 20px; }

.icon-box {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 38, 66, .07); color: var(--navy); margin-bottom: 16px;
}
.icon-box.amber { background: rgba(229, 149, 0, .16); color: #8a5b00; }
.icon-box.maroon { background: rgba(132, 0, 50, .10); color: var(--maroon); }
.icon-box.light { background: rgba(229, 218, 218, .18); color: var(--amber); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(229, 218, 218, .16);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-text { font-family: var(--font-head); font-weight: 800; letter-spacing: .12em;
  font-size: 1.06rem; color: #fff; text-transform: uppercase; }
.logo-text span { color: var(--amber); }

.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--rose); font-size: .95rem; font-weight: 600; text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.nav-list a:hover, .nav-list a.active { color: #fff; background: rgba(255, 255, 255, .10); text-decoration: none; }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 44px; border-radius: 10px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(229, 218, 218, .25);
  color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--navy); color: var(--rose); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(229, 218, 218, .92); }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-head p { color: rgba(229, 218, 218, .88); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--amber); }

/* ---------- Hero (full-bleed background image, centred content) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 760px);
  padding: 92px 0 100px;
  color: var(--rose);
  background: var(--ink);
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 4, 15, .74) 0%, rgba(0, 38, 66, .80) 55%, rgba(2, 4, 15, .92) 100%),
    radial-gradient(ellipse at 50% 45%, rgba(2, 4, 15, .18) 0%, rgba(2, 4, 15, .70) 100%);
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  max-width: 920px;
}
.hero h1 {
  color: #fff; margin-bottom: .4em;
  max-width: 20ch; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(2, 4, 15, .45);
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub {
  font-size: 1.16rem; color: rgba(229, 218, 218, .95);
  max-width: 60ch; margin-bottom: 28px;
}
.hero-value {
  list-style: none; padding: 0; margin: 0 0 34px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
}
.hero-value li {
  display: flex; align-items: center; gap: 9px;
  color: rgba(229, 218, 218, .96); font-size: .99rem;
  margin-bottom: 0;
}
.hero-value .icon { width: 20px; height: 20px; color: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 34px 0 0; padding: 11px 22px;
  border: 1px solid rgba(229, 218, 218, .32); border-radius: 999px;
  background: rgba(2, 4, 15, .42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: .92rem; color: rgba(229, 218, 218, .95);
}
.hero-badge .icon { width: 20px; height: 20px; color: var(--amber); }
.hero-badge strong { font-family: var(--font-head); color: #fff; font-weight: 700; }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 26px; }
.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: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 2px 10px rgba(2, 4, 15, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9b7b7; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 26px 24px; flex: 1; display: flex; flex-direction: column; }

/* ---------- About ---------- */
.about-section { position: relative; overflow: hidden; }

/* Oversized outlined monogram sitting behind the content */
.about-watermark {
  position: absolute; top: -.16em; right: -.05em; z-index: 0;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(9rem, 25vw, 24rem); line-height: .78; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px rgba(0, 38, 66, .07);
  pointer-events: none; user-select: none;
}

.about-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 66px; align-items: center;
}

/* --- Layered image collage --- */
.about-media { position: relative; padding-bottom: 58px; }
.about-shape {
  position: absolute; left: -24px; top: -24px; width: 58%; aspect-ratio: 1;
  border: 2px solid var(--amber); border-radius: 22px; opacity: .6;
}
.about-photo { margin: 0; border-radius: 20px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-main {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg);
}
.about-photo-sub {
  position: absolute; right: -20px; bottom: 16px; z-index: 2;
  width: 45%; aspect-ratio: 1;
  border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.about-float {
  position: absolute; left: -20px; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 13px;
  max-width: 268px; margin: 0; padding: 15px 19px;
  background: var(--navy); color: #fff;
  border-radius: 16px; box-shadow: var(--shadow-lg);
}
.about-float .icon { color: var(--amber); }
.about-float strong {
  display: block; font-family: var(--font-head);
  font-size: 1rem; color: #fff; margin-bottom: 2px;
}
.about-float span { font-size: .84rem; color: rgba(229, 218, 218, .86); line-height: 1.42; }

/* --- Copy --- */
.about-copy h2 { margin-bottom: .5em; }
.about-copy h2 em {
  font-style: normal; color: var(--maroon); padding: 0 .1em;
  background: linear-gradient(to top, rgba(229, 149, 0, .34) 0 .3em, transparent .3em);
}
.about-lead { font-size: 1.13rem; color: var(--body-text); }

.about-points {
  list-style: none; counter-reset: apt;
  padding: 0; margin: 30px 0 32px; display: grid; gap: 14px;
}
.about-points li {
  counter-increment: apt; position: relative; margin: 0;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 46px 18px 18px;
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.about-points li:hover {
  transform: translateX(5px); border-color: var(--amber); box-shadow: var(--shadow);
}
.about-points li::before {
  content: "0" counter(apt);
  position: absolute; top: 12px; right: 16px;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem;
  letter-spacing: .06em; color: var(--maroon); opacity: .45;
}
.about-points .icon-box {
  width: 46px; height: 46px; border-radius: 12px; margin: 0; flex: none;
  background: rgba(132, 0, 50, .09); color: var(--maroon);
}
.about-points .icon-box .icon { width: 22px; height: 22px; }
.about-point-text strong {
  display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 3px;
}
.about-point-text span { color: var(--muted); font-size: .95rem; }

.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.about-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
}
.about-link:hover { color: var(--maroon); text-decoration: none; }
.about-link:hover .icon { transform: translateX(3px); }
.about-link .icon { width: 18px; height: 18px; transition: transform .18s ease; }

/* ---------- Sectors ---------- */
.sector {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9b7b7; }

.sector-media { position: relative; overflow: hidden; }
.sector-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .45s ease;
}
.sector:hover .sector-media img { transform: scale(1.06); }
.sector-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 15, 0) 42%, rgba(0, 38, 66, .78) 100%);
}

.sector-icon {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2, 4, 15, .55);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  border: 1px solid rgba(229, 218, 218, .35);
  color: var(--amber);
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.sector:hover .sector-icon {
  background: var(--amber); color: var(--ink); border-color: var(--amber);
}
.sector-icon .icon { width: 24px; height: 24px; }

/* Sector number sits opposite the icon, over the scrim */
.sector-num {
  position: absolute; right: 18px; bottom: 20px; z-index: 2;
  font-family: var(--font-head); font-weight: 800; font-size: .76rem;
  letter-spacing: .16em; color: rgba(229, 218, 218, .78);
}

.sector-body { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.sector-body h3 { margin-bottom: .4em; }
.sector-body p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }

.sector-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.sector-tags span {
  font-family: var(--font-head); font-size: .71rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--maroon); background: rgba(132, 0, 50, .08);
  padding: 5px 11px; border-radius: 999px;
}

/* ---------- Shop ---------- */
.product { display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img { position: relative; background: var(--paper-alt); }
.product-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tag {
  position: absolute; top: 12px; left: 12px; background: var(--maroon); color: #fff;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}
.tag.amber { background: var(--amber); color: var(--ink); }
.product-body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.1rem; margin-bottom: .25em; }
.product-meta { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.price small { font-size: .8rem; font-weight: 600; color: var(--muted); display: block; letter-spacing: .02em; }
.product .btn { margin-top: auto; }
.shop-note { text-align: center; margin-top: 34px; color: var(--muted); font-size: .95rem; }

/* ---------- Process ---------- */
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .14em;
  color: var(--amber); display: block; margin-bottom: 10px;
}
.section-dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(229, 218, 218, .18); }
.section-dark .card:hover { border-color: rgba(229, 149, 0, .5); }
.section-dark .card p { color: rgba(229, 218, 218, .85); }

/* ---------- Results (case studies) ---------- */
.result {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.result:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9b7b7; }

.result-media { position: relative; overflow: hidden; }
.result-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .45s ease;
}
.result:hover .result-media img { transform: scale(1.06); }
.result-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 15, 0) 32%, rgba(0, 38, 66, .84) 100%);
}

.result-sector {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  font-family: var(--font-head); font-size: .71rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(2, 4, 15, .5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(229, 218, 218, .35);
  padding: 6px 12px; border-radius: 999px;
}

.result-stat { position: absolute; left: 18px; bottom: 15px; z-index: 2; }
.result-stat strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 1.95rem; line-height: 1; color: #fff;
  text-shadow: 0 2px 14px rgba(2, 4, 15, .4);
}
.result-stat span {
  display: block; margin-top: 3px; font-size: .78rem;
  color: rgba(229, 218, 218, .92); letter-spacing: .02em;
}

.result-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.result-body h3 { margin-bottom: 16px; }

.result-row { display: flex; gap: 13px; margin-bottom: 14px; }
.result-row:last-child { margin-bottom: 0; }
.result-row .icon-box { width: 36px; height: 36px; border-radius: 10px; margin: 0; flex: none; }
.result-row .icon-box .icon { width: 18px; height: 18px; }
.result-row strong {
  display: block; font-family: var(--font-head); font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px;
}
.result-row p { margin: 0; font-size: .93rem; color: var(--muted); }
.result-row.challenge .icon-box { background: rgba(132, 0, 50, .1); color: var(--maroon); }
.result-row.solution .icon-box { background: rgba(229, 149, 0, .16); color: #8a5b00; }

/* ---------- Services ---------- */
.service {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: visible;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9b7b7; }

.service-media { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.service-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .45s ease;
}
.service:hover .service-media img { transform: scale(1.06); }
.service-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 15, .12) 0%, rgba(2, 4, 15, 0) 45%);
}

.service-tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  font-family: var(--font-head); font-size: .71rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: #fff;
  background: var(--maroon); padding: 6px 12px; border-radius: 999px;
}
.service-tag.amber { background: var(--amber); color: var(--ink); }

.service-icon {
  position: absolute; right: 20px; bottom: -24px; z-index: 3;
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--ink);
  border: 4px solid #fff; box-shadow: var(--shadow);
}
.service-icon .icon { width: 24px; height: 24px; }

.service-body { padding: 36px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { margin-bottom: .4em; }
.service-body p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; height: 100%; }
.quote .icon { color: var(--amber); margin-bottom: 14px; }
.quote blockquote { margin: 0 0 20px; font-size: 1.04rem; color: var(--body-text); }
.quote footer { border-top: 1px solid var(--line); padding-top: 16px; }
.quote cite { font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--navy); display: block; }
.quote .role { color: var(--muted); font-size: .9rem; }

/* ---------- Achievements ---------- */
.stat { text-align: center; padding: 30px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(229, 218, 218, .18); }
.stat .icon-box { margin: 0 auto 14px; background: rgba(229, 149, 0, .16); color: var(--amber); }
.stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat-label { color: rgba(229, 218, 218, .9); font-size: .96rem; margin: 6px 0 0; }

/* ---------- Blog ---------- */
.post-date { font-size: .84rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 8px;
  display: flex; align-items: center; gap: 7px; }
.post-date .icon { color: var(--maroon); }
.post h3 { font-size: 1.14rem; }
.post h3 a { color: var(--navy); }
.post h3 a:hover { color: var(--maroon); }
.read-more { margin-top: auto; padding-top: 14px; font-family: var(--font-head);
  font-weight: 700; font-size: .93rem; display: inline-flex; align-items: center; gap: 7px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item summary:hover { background: var(--paper-alt); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-box { margin-bottom: 0; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(229, 149, 0, .16); color: var(--amber); }
.contact-list .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; color: #fff; font-family: var(--font-head); font-size: .95rem; }
.contact-list a { color: rgba(229, 218, 218, .95); }
.contact-list a:hover { color: var(--amber); }
.contact-list address { font-style: normal; color: rgba(229, 218, 218, .92); font-size: .97rem; }

.form-card { background: #fff; border-radius: 18px; padding: 34px 30px; box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700;
  font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 1rem;
  color: var(--body-text); background: var(--paper-alt);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 149, 0, .22);
}
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--maroon); }
.form-status { margin-top: 14px; font-size: .93rem; font-weight: 600; color: var(--maroon); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(229, 218, 218, .8); padding: 62px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer h3 { color: #fff; font-size: .84rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(229, 218, 218, .8); }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.footer-about p { max-width: 34ch; margin: 16px 0 0; }
.footer-about .logo { margin-bottom: 2px; }
.site-footer address { font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgba(229, 218, 218, .15); padding: 22px 0 28px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px 24px;
  display: none; gap: 22px; align-items: center; max-width: 940px; margin-inline: auto;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .93rem; color: var(--muted); }
.cookie-banner strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.02rem; margin-bottom: 4px; }
.cookie-actions { display: flex; gap: 10px; flex: none; }

/* ---------- Legal page ---------- */
.page-hero { background: var(--navy); color: var(--rose); padding: 62px 0; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(229, 218, 218, .9); max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .88rem; color: rgba(229, 218, 218, .75); margin-bottom: 14px; }
.breadcrumb a { color: var(--amber); }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: 52px; align-items: start; }
.legal-toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--paper-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.legal-toc h2 { font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 14px; }
.legal-toc ol { margin: 0; padding-left: 1.15em; font-size: .93rem; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { color: var(--navy); }

.legal-body h2 { font-size: 1.42rem; margin-top: 40px; padding-top: 10px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.08rem; margin-top: 26px; }
.legal-body p, .legal-body li { color: var(--body-text); }
.legal-updated {
  background: var(--paper-alt); border-left: 4px solid var(--amber);
  padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 34px; font-size: .95rem;
}
.legal-updated p { margin: 0; }
.legal-contact {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; background: var(--paper-alt); margin-top: 18px;
}
.legal-contact ul { list-style: none; padding: 0; margin: 0; }
.legal-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.legal-contact .icon { color: var(--maroon); margin-top: 3px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Large tablet / small desktop --- */
@media (max-width: 1024px) {
  .section { padding: 70px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero { min-height: min(84vh, 700px); }
}

/* --- Tablet (iPad portrait & landscape) --- */
@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .header-inner { min-height: 68px; }
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-top: 1px solid rgba(229, 218, 218, .16);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .site-nav.is-open { max-height: 560px; overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; }
  .nav-list a { padding: 13px 8px; border-bottom: 1px solid rgba(229, 218, 218, .12); border-radius: 0; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }

  .hero { min-height: min(80vh, 640px); padding: 72px 0 80px; }
  .hero-sub { font-size: 1.08rem; }

  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-media { order: -1; max-width: 620px; margin-inline: auto; width: 100%; }
  .about-photo-main { aspect-ratio: 16 / 11; }
  .about-photo-sub { width: 38%; right: -12px; bottom: 10px; }
  .about-shape { left: -16px; top: -16px; width: 46%; }

  /* Tablet keeps 2-column grids rather than collapsing to phone layout */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; }
  .legal-toc ol { columns: 2; column-gap: 28px; }
}

/* --- Small tablet --- */
@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; text-align: left; }
  .grid { gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Shop stays 2-up on phones so cards don't become oversized */
  .grid-shop { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .footer-about p { max-width: none; }

  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cookie-actions .btn { flex: 1; }
}

/* --- Mobile (375-428px) --- */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 17px; }
  .section { padding: 48px 0; }
  .hero { min-height: auto; padding: 56px 0 64px; }
  .hero h1 { max-width: none; }
  .hero-value { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; align-self: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { margin-top: 26px; padding: 10px 16px; font-size: .87rem; }
  /* Collage simplifies to a single photo + stacked stat card on phones */
  .about-media { padding-bottom: 0; }
  .about-photo-main { aspect-ratio: 16 / 12; }
  .about-photo-sub, .about-shape { display: none; }
  .about-float {
    position: static; max-width: none; margin-top: 14px;
    border-radius: 14px; padding: 14px 16px;
  }
  .about-grid { gap: 38px; }
  .about-points li { padding: 16px 42px 16px 16px; gap: 13px; }
  .about-points li:hover { transform: none; }
  .about-actions { align-items: stretch; }
  .about-actions .btn { width: 100%; }

  .sector:hover { transform: none; }
  .sector:hover .sector-media img { transform: none; }
  .sector-body { padding: 22px 18px 24px; }

  .result:hover { transform: none; }
  .result:hover .result-media img { transform: none; }
  .result-body { padding: 22px 18px 24px; }
  .result-stat strong { font-size: 1.7rem; }

  .service:hover { transform: none; }
  .service:hover .service-media img { transform: none; }
  .service-body { padding: 32px 18px 24px; }

  .card { padding: 24px 20px; }
  .card-body { padding: 22px 20px; }
  .form-card { padding: 26px 20px; }
  .grid-shop { grid-template-columns: 1fr; gap: 18px; }
  .legal-toc ol { columns: 1; }
  .footer-bottom { flex-direction: column; }
}

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