/* Telligent Solutions South Africa — site styles
   Brand: Telligent Red #E8112E · Midnight #0A1F3D · Steel #2E4A62 · Cloud #EBEEF4 · White */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
  --red: #E8112E;
  --red-dark: #C20D25;
  --midnight: #0A1F3D;
  --steel: #2E4A62;
  --cloud: #EBEEF4;
  --white: #FFFFFF;
  --ink: #0A1F3D;
  --body: #2E4A62;
  --muted: #5B6F82;
  --line: #D6DCE6;
  --blue: #2F7DD1;           /* accent sampled from the T artwork, used sparingly */

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.9vw, 4rem);

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius-lg: 20px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-red: 0 10px 24px -10px rgba(232, 17, 46, .55);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
h4 { font-size: var(--step--1); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
small { font-size: var(--step--1); color: var(--muted); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--midnight); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8rem 1.6rem;
  font: 600 1rem/1.2 var(--font);
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn .icon { transition: transform .15s ease; }
.btn:hover .icon[viewBox] { transform: translateX(3px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cloud); color: var(--ink); }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }

.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link.on-dark { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(10, 31, 61, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand img { width: 181px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.site-nav a:not(.btn) {
  position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5rem 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.nav-cta { margin-left: .5rem; min-height: 48px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 150px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm);
    background: var(--cloud); color: var(--ink); cursor: pointer;
  }
  .nav-toggle .icon { width: 26px; height: 26px; }
  .nav-toggle-close, .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem; background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(10, 31, 61, .35);
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--cloud); font-size: 1.0625rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--red); }
  .nav-cta { margin: 1.25rem 0 0; }
  .no-js .site-nav { position: static; display: flex; box-shadow: none; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(47, 125, 209, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, #F6F8FB 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr);
  align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4.5rem);
}
.hero-tagline {
  display: flex; flex-wrap: wrap; gap: .9em; align-items: center;
  margin-bottom: 1.4rem; color: var(--steel);
  font-size: .9rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
}
.hero-tagline span { color: var(--red); font-weight: 700; letter-spacing: 0; }
.hero h1 { max-width: 13ch; margin-bottom: 1.25rem; }
.hero h1 .dot { color: var(--red); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--steel); max-width: 38em; }
.hero .lead { max-width: 31em; }

.hero-art { margin: 0; position: relative; }
.hero-art img {
  width: 100%; border-radius: var(--radius-lg);
  -webkit-mask-image: radial-gradient(120% 115% at 55% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(120% 115% at 55% 50%, #000 62%, transparent 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-art { animation: settle 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-inline: calc(var(--gutter) * -1); }
  .hero-art img { border-radius: 0; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
  .hero-tagline { letter-spacing: .22em; font-size: .78rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { font-size: 1.125rem; color: var(--steel); }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-head.split h2 { margin: 0; }

/* Three lenses */
.lens-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.lens { position: relative; padding-top: 1.75rem; border-top: 3px solid var(--line); }
.lens-people { border-top-color: var(--red); }
.lens-process { border-top-color: var(--midnight); }
.lens-technology { border-top-color: var(--blue); }
.lens-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff; margin-bottom: 1rem;
  box-shadow: 0 10px 22px -10px rgba(232, 17, 46, .6);
}
.lens-process .lens-icon, .pillar-process .lens-icon { background: var(--midnight); box-shadow: 0 10px 22px -10px rgba(10, 31, 61, .5); }
.lens-technology .lens-icon, .pillar-technology .lens-icon { background: var(--blue); box-shadow: 0 10px 22px -10px rgba(47, 125, 209, .6); }
.lens-icon .icon { width: 28px; height: 28px; }
.lens h3 { font-size: var(--step-2); font-weight: 700; margin-bottom: .2em; }
.lens-sub { font-weight: 600; color: var(--ink); margin-bottom: .6em; }
.lens-motto {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: var(--step-1); font-weight: 600; color: var(--ink); max-width: 40em;
}
@media (max-width: 820px) { .lens-row { grid-template-columns: 1fr; } }

/* Services overview list */
.services-overview { background: #F6F8FB; }
.service-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.service-list li { border-top: 1px solid var(--line); }
.service-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.service-list a {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem .25rem;
  color: var(--body); text-decoration: none;
}
.service-list a:hover strong { color: var(--red); }
.service-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: var(--radius-sm); background: #fff; color: var(--red);
  border: 1px solid var(--line);
}
.service-icon .icon { width: 24px; height: 24px; }
.service-text { display: grid; gap: .25rem; }
.service-text strong { color: var(--ink); font-size: 1.125rem; font-weight: 700; transition: color .15s ease; }
.service-pillar { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
@media (max-width: 820px) {
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-last-child(2) { border-bottom: 0; }
}

/* Steps band */
.steps-band { background: var(--cloud); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.steps li { counter-increment: step; position: relative; padding: 4.25rem 1.5rem 1.5rem; background: #fff; border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; top: 1.4rem; left: 1.5rem;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--midnight); color: #fff; font-weight: 700; font-size: .95rem;
}
.steps li:first-child::before { background: var(--red); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 2.5rem; left: calc(1.5rem + 44px); right: -1.25rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.steps h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .4em; }
.steps p { margin: 0; font-size: .98rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Local section */
.local-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.local-art { margin: 0; }
.local-art img { border-radius: var(--radius-lg); width: 100%; }
.check-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; }
.check-list .icon { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: rgba(232, 17, 46, .1); color: var(--red); margin-top: .15em; stroke-width: 2.4; }
.check-list strong { color: var(--ink); }
.check-list.compact { gap: .7rem; margin-top: .5rem; }
@media (max-width: 860px) { .local-grid { grid-template-columns: 1fr; } .local-art { max-width: 520px; } }

/* LMS band */
.lms { background: var(--midnight); color: #C9D3E0; position: relative; overflow: hidden; }
.lms::before {
  content: ""; position: absolute; right: -6%; top: 50%; width: 360px; height: 390px; transform: translateY(-50%);
  background: url("../img/t-icon.webp") center / contain no-repeat; opacity: .14;
}
.lms-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.lms h2 { color: #fff; }
.lms p { max-width: 40em; margin: 0; }
.lms-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
@media (max-width: 820px) { .lms-inner { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { padding-block: clamp(3rem, 7vw, 5rem); background: #fff; border-top: 1px solid var(--line); }
.cta-inner {
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, #F3F6FA 100%);
  border: 1px solid var(--line); border-left: 6px solid var(--red);
}
.cta-inner h2 { margin-bottom: .4em; }
.cta-inner p { margin: 0; max-width: 36em; }
.cta-inner .actions { margin-top: 0; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(47, 125, 209, .10), transparent 70%),
    linear-gradient(180deg, #fff, #F6F8FB);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }

.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump a {
  display: inline-flex; align-items: center; gap: .5em; padding: .55rem .95rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none;
}
.jump a .icon { color: var(--red); width: 18px; height: 18px; }
.jump a:hover { border-color: var(--red); }

.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar:nth-of-type(even) { background: #F6F8FB; }
.pillar-head { display: flex; gap: 1.25rem; align-items: flex-start; max-width: 50rem; margin-bottom: 2.5rem; }
.pillar-head .lens-icon { margin: 0; flex: none; }
.pillar-head h2 { margin-bottom: .3em; }
.pillar-head p { margin: 0; font-size: 1.0625rem; }

.service-detail {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem); margin-top: 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.service-detail h3 { display: flex; align-items: center; gap: .8rem; font-size: var(--step-2); font-weight: 700; }
.service-summary { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.service-detail-main p { max-width: 40em; }
.service-detail-points { padding-left: clamp(0rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.service-detail-points h4 { color: var(--muted); margin-bottom: .75rem; }
.service-detail-points .btn { margin-top: 1.75rem; }
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail-points { padding-left: 0; border-left: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
}

/* Approach timeline */
.timeline { list-style: none; counter-reset: tl; max-width: 52rem; }
.timeline li { counter-increment: tl; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.5rem; position: relative; padding-bottom: 3rem; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line); }
.timeline-marker {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--midnight); color: #fff; font-weight: 800; font-size: 1.375rem;
}
.timeline-marker::before { content: counter(tl); }
.timeline li:first-child .timeline-marker { background: var(--red); box-shadow: var(--shadow-red); }
.timeline-body h2 { font-size: var(--step-2); margin: .5rem 0 .25rem; }
.timeline-meta { font-size: var(--step--1); font-weight: 600; color: var(--red); margin-bottom: .9rem; }
.timeline-body > p:not(.timeline-meta) { max-width: 40em; }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; }
  .timeline-marker { width: 44px; height: 44px; font-size: 1.1rem; }
  .timeline li:not(:last-child)::before { left: 21px; top: 44px; }
}

.principles { background: var(--cloud); }
.principle-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2rem; }
.principle-row > div { padding-left: 1.25rem; border-left: 3px solid var(--red); }
.principle-row p { margin: 0; }
@media (max-width: 820px) { .principle-row { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose { max-width: 42rem; }
.prose.narrow { max-width: 46rem; }
.prose h2 { margin-top: 2rem; font-size: var(--step-2); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .5em; }
.group-card { padding: 2rem; border-radius: var(--radius-lg); background: var(--midnight); color: #C9D3E0; }
.group-card img { width: 56px; margin-bottom: 1.25rem; }
.group-card h2 { color: #fff; font-size: var(--step-2); }
.group-card ul { list-style: none; display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.group-card li { padding-left: 1.1rem; position: relative; }
.group-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.group-card strong { color: #fff; }
.group-card .text-link { color: #fff; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.leader { background: #F6F8FB; border-block: 1px solid var(--line); }
.leader-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.leader-photo {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from 210deg, var(--red), var(--midnight) 45%, var(--blue) 80%, var(--red));
  padding: 6px;
}
.leader-photo span {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--midnight); font-size: 3.5rem; font-weight: 800; letter-spacing: -.04em;
}
.leader-role { font-weight: 600; color: var(--red); }
.leader-grid p:not(.leader-role) { max-width: 40em; }
@media (max-width: 680px) { .leader-grid { grid-template-columns: 1fr; } .leader-photo { width: 140px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form-wrap h2 { font-size: var(--step-2); }
.contact-form { display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); margin-left: .35em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--font); color: var(--ink);
  padding: .8rem 1rem; min-height: 50px;
  background: #fff; border: 1.5px solid #C3CCD8; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--midnight); box-shadow: 0 0 0 4px rgba(10, 31, 61, .12); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 0; color: var(--red-dark); font-size: .9rem; font-weight: 500; }
.field-check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: .75rem; }
.field-check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--red); }
.field-check label { font-weight: 400; color: var(--body); }
.field-check .field-error { grid-column: 2; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.notice p:last-child { margin: 0; }
.notice-error { background: #FDECEE; color: var(--red-dark); font-weight: 500; }
.notice-success { background: #E9F6EF; color: #145A35; padding: 1.75rem; }
.notice-success .icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: #1E7A48; color: #fff; stroke-width: 2.6; }
.notice-success h2 { color: #145A35; font-size: var(--step-1); margin-bottom: .3em; }
.contact-card { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--midnight); color: #C9D3E0; }
.contact-card h2 { color: #fff; font-size: var(--step-2); }
.contact-card .btn { margin-top: .5rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .icon { color: var(--red); margin-top: .2em; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--red); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: #AAB8C9; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 2.5rem; }
.footer-brand img { width: 203px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 30em; }
.footer-group a { color: #fff; }
.footer-col { display: grid; align-content: start; gap: .7rem; }
.footer-col h2 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.footer-col a, .footer-col span { display: inline-flex; align-items: flex-start; gap: .6rem; color: #D9E1EB; text-decoration: none; word-break: break-word; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .icon { color: var(--red); margin-top: .15em; width: 1.1em; height: 1.1em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.footer-legal p { margin: 0; }
.footer-legal a { color: #D9E1EB; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

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