/* ============================================================
   Alpinetoyboxes - Shared Stylesheet (BEM methodology)
   ============================================================ */

/* ----- Design tokens ----- */
:root {
  --color-navy: #18222e;
  --color-navy-light: #243140;
  --color-grey-dark: #2b3440;
  --color-grey: #5b6571;
  --color-grey-light: #8a949f;
  --color-bg: #f4f6f8;
  --color-bg-alt: #e9edf1;
  --color-white: #ffffff;
  --color-accent: #f5a623;       /* safety orange/yellow */
  --color-accent-dark: #d98a0c;
  --color-accent-hover: #ffb733;
  --color-text: #1d2733;
  --color-text-muted: #5b6571;
  --color-border: #d7dde3;

  --font-head: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 6px rgba(24, 34, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(24, 34, 46, 0.12);
  --shadow-lg: 0 16px 40px rgba(24, 34, 46, 0.18);

  --radius: 6px;
  --max-width: 1200px;
  --header-h: 84px;
  --header-h-shrink: 64px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-navy);
  color: var(--color-bg);
}

.section--dark .section__title,
.section--dark .section__lead {
  color: var(--color-white);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
}

.section--dark .section__eyebrow {
  color: var(--color-accent);
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-navy);
}

.section__lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-navy);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn--block {
  display: block;
  width: 100%;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: var(--color-navy);
  transition: height var(--transition), box-shadow var(--transition),
    background-color var(--transition);
}

.header--shrink {
  height: var(--header-h-shrink);
  box-shadow: var(--shadow-md);
  background-color: rgba(24, 34, 46, 0.97);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--color-white);
}

.header__logo:hover {
  color: var(--color-white);
}

.header__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: var(--color-accent);
  color: var(--color-navy);
  border-radius: var(--radius);
  font-size: 1.1rem;
}

.header__logo-text strong {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  color: var(--color-bg);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 4px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    linear-gradient(rgba(15, 22, 30, 0.72), rgba(15, 22, 30, 0.82)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&q=80")
      center / cover no-repeat;
}

.hero--page {
  min-height: 52vh;
}

.hero__inner {
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 18px;
  border-left: 4px solid var(--color-accent);
  padding-left: 12px;
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--color-white);
  margin-bottom: 18px;
}

.hero__title-accent {
  color: var(--color-accent);
}

.hero__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
}

.hero__breadcrumb a {
  color: var(--color-accent);
}

/* ============================================================
   Stats / counters
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  background-color: var(--color-navy-light);
  border-radius: var(--radius);
  border-bottom: 4px solid var(--color-accent);
}

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-accent);
  line-height: 1;
}

.stat__suffix {
  color: var(--color-accent);
}

.stat__label {
  margin-top: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__media {
  height: 200px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.08);
}

.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

svg.lucide {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
}

.service-card__icon {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-alt);
  color: var(--color-accent-dark);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.service-card__title {
  font-size: 1.25rem;
  color: var(--color-navy);
}

.service-card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-card__list {
  margin-top: 8px;
}

.service-card__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d98a0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.service-card__link {
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 0.9rem;
}

/* ============================================================
   Projects / portfolio
   ============================================================ */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter__btn {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border: 2px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-navy);
  border-radius: 40px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter__btn:hover {
  border-color: var(--color-accent);
}

.filter__btn--active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-navy);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-navy);
  min-height: 280px;
  transition: opacity var(--transition), transform var(--transition);
}

.project-card.is-hidden {
  display: none;
}

.project-card__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__img {
  transform: scale(1.1);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(15, 22, 30, 0.92) 0%,
    rgba(15, 22, 30, 0.2) 60%,
    rgba(15, 22, 30, 0) 100%
  );
  color: var(--color-white);
}

.project-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--color-accent);
  color: var(--color-navy);
  padding: 4px 10px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.project-card__title {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.project-card__meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--transition), opacity var(--transition);
}

.project-card:hover .project-card__meta {
  max-height: 80px;
  opacity: 1;
}

/* ============================================================
   Why choose us / features
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-navy);
  border-radius: var(--radius);
  font-size: 1.3rem;
  font-family: var(--font-head);
}

.feature__title {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.feature__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background:
    linear-gradient(rgba(24, 34, 46, 0.9), rgba(24, 34, 46, 0.9)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=80")
      center / cover fixed no-repeat;
  color: var(--color-white);
  text-align: center;
}

.cta-band__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-white);
}

.cta-band__text {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.cta-band__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   About / team / values
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background-color: var(--color-white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-accent);
}

.value-card__icon {
  font-size: 1.6rem;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}

.value-card__title {
  font-size: 1.15rem;
  color: var(--color-navy);
}

.value-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.team-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card__media {
  height: 280px;
  overflow: hidden;
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__body {
  padding: 20px;
}

.team-card__name {
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.team-card__role {
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.cert {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.cert__badge {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--color-accent-dark);
  margin-bottom: 6px;
}

.cert__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background-color: var(--color-border);
}

.timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline__year {
  font-family: var(--font-head);
  color: var(--color-accent-dark);
  font-size: 1.1rem;
}

.timeline__text {
  margin: 4px 0 0;
  color: var(--color-text-muted);
}

/* ============================================================
   Forms
   ============================================================ */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__group {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.form__required {
  color: var(--color-accent-dark);
}

.form__control {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

textarea.form__control {
  min-height: 140px;
  resize: vertical;
}

.form__note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.form__feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}

.form__feedback--success {
  display: block;
  background-color: #e3f6e8;
  color: #1d6b35;
  border: 1px solid #b6e3c2;
}

.form__feedback--error {
  display: block;
  background-color: #fbe6e6;
  color: #9b2226;
  border: 1px solid #f1bcbc;
}

.field-error {
  color: #9b2226;
  font-size: 0.82rem;
  margin-top: 4px;
  display: block;
}

.form__control--invalid {
  border-color: #9b2226;
}

/* Info column next to forms */
.info-panel {
  display: grid;
  gap: 22px;
}

.info-card {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 28px;
  border-radius: var(--radius);
}

.info-card__title {
  color: var(--color-white);
  font-size: 1.2rem;
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.info-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-list__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-navy);
  border-radius: var(--radius);
  font-size: 1.1rem;
}

.info-list__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin: 0;
}

.info-list__value {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.info-list__value a {
  color: rgba(255, 255, 255, 0.92);
}

.info-list__value a:hover {
  color: var(--color-accent);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.hours-table th {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hours-table td {
  color: var(--color-accent);
  text-align: right;
}

/* Map placeholder */
.map {
  margin-top: 0;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 34, 46, 0.55), rgba(24, 34, 46, 0.2)),
    url("https://images.unsplash.com/photo-1524813686514-a57563d77965?w=1200&q=80")
      center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map__pin {
  background-color: var(--color-white);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 280px;
}

.map__pin-icon {
  font-size: 1.6rem;
  color: var(--color-accent-dark);
}

.map__pin-title {
  font-family: var(--font-head);
  color: var(--color-navy);
  margin: 6px 0 2px;
}

.map__pin-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================================
   Legal / prose pages
   ============================================================ */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-top: 1.8em;
}

.prose h3 {
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-top: 1.4em;
}

.prose p,
.prose li {
  color: var(--color-text);
}

.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 1em;
}

.prose li {
  margin-bottom: 8px;
}

.prose__updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-left: 4px solid var(--color-accent);
  padding-left: 14px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 56px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-accent);
  color: var(--color-navy);
  border-radius: var(--radius);
}

.footer__about {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer__title {
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer__contact-icon {
  color: var(--color-accent);
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.78);
}

.footer__contact-item a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}

.footer__legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__legal a:hover {
  color: var(--color-accent);
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie--visible {
  display: flex;
  animation: cookie-up 0.4s ease;
}

@keyframes cookie-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie__text {
  margin: 0;
  font-size: 0.95rem;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.cookie__text a {
  color: var(--color-accent);
}

.cookie__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie__btn {
  font-family: var(--font-head);
  font-size: 0.88rem;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie__btn--accept {
  background-color: var(--color-accent);
  color: var(--color-navy);
}

.cookie__btn--accept:hover {
  background-color: var(--color-accent-hover);
}

.cookie__btn--decline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie__btn--decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   Scroll reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Utility
   ============================================================ */
.text-center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .feature-split {
    grid-template-columns: 1fr;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(80vw, 320px);
    height: calc(100vh - var(--header-h));
    background-color: var(--color-navy-light);
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav--open {
    transform: translateX(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav__cta {
    margin: 8px 0 0;
  }
  .header--shrink + * .nav,
  .header--shrink ~ .nav {
    top: var(--header-h-shrink);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 48px 0;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .cookie {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie__actions {
    width: 100%;
  }
  .cookie__btn {
    flex: 1;
  }
  .footer__bottom {
    flex-direction: column;
  }
}
