/* ============================================
   Struxen — Construction Company Website
   Palette: slate/blue-grey + amber accent
   ============================================ */

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.16);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 78px;
}

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

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

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--slate-600);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--slate-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Inter", sans-serif;
  color: var(--slate-900);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

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

.btn--accent {
  background: var(--accent);
  color: var(--slate-900);
  box-shadow: var(--shadow-md);
}

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

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

.btn--outline:hover {
  background: var(--white);
  color: var(--slate-900);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--slate-900);
  border-color: var(--slate-300);
}

.btn--outline-dark:hover {
  background: var(--slate-900);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--slate-900);
}

.header__logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--slate-900);
  color: var(--accent);
  font-size: 20px;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__link {
  font-weight: 500;
  font-size: 15px;
  color: var(--slate-700);
}

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

.header__link[aria-current="page"] {
  color: var(--accent-dark);
  font-weight: 600;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__phone {
  font-weight: 600;
  color: var(--slate-900);
  white-space: nowrap;
}

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

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

.header__toggle-bar {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--slate-900);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
}

.hero__badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  font-weight: 600;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero__trust li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--slate-900);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--slate-900);
  color: var(--white);
  padding: 44px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats__number {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
}

.stats__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--slate-50);
}

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

.section__eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.section__lead {
  font-size: 17px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__content p {
  margin-bottom: 16px;
}

.about__list {
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}

.about__list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--slate-700);
}

.about__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--slate-900);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service {
  padding: 30px 26px;
}

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

.service__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent-dark);
  margin-bottom: 20px;
}

.service__icon svg {
  width: 28px;
  height: 28px;
}

.service__title {
  font-size: 18px;
  margin-bottom: 10px;
}

.service__text {
  font-size: 15px;
}

/* ---------- Projects ---------- */
.projects__filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.projects__filter {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.projects__filter.is-active {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: var(--white);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project {
  overflow: hidden;
}

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

.project__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project__body {
  padding: 22px;
}

.project__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-dark);
  background: rgba(245, 158, 11, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.project__title {
  font-size: 18px;
  margin-bottom: 8px;
}

.project__text {
  font-size: 14.5px;
}

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

/* ---------- Process ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: process;
}

.process__step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.process__number {
  position: absolute;
  top: -20px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--slate-900);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-md);
}

.process__title {
  font-size: 17px;
  margin-bottom: 10px;
}

.process__text {
  font-size: 14.5px;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial {
  padding: 32px 30px;
}

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

.testimonial__stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial__quote {
  font-size: 15.5px;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial__author {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 15px;
}

.testimonial__author span {
  display: block;
  font-weight: 500;
  color: var(--slate-500);
  font-size: 13.5px;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
#faq {
  padding: 64px 0;
}

.faq__container {
  max-width: 820px;
}

.faq__list {
  display: grid;
  gap: 8px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq__question::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq__item.is-open .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 15px;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact__details {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  font-size: 15.5px;
}

.contact__details a {
  color: var(--accent-dark);
  font-weight: 600;
}

.contact__details a:hover {
  text-decoration: underline;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.contact__form-wrap {
  padding: 40px;
}

.contact__form {
  display: grid;
  gap: 18px;
}

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

.form__group {
  display: grid;
  gap: 6px;
}

.form__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--slate-800);
}

.form__input {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--slate-900);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.form__input.is-invalid {
  border-color: #dc2626;
}

.form__error {
  font-size: 13px;
  color: #dc2626;
  min-height: 0;
}

.form__checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--slate-600);
  cursor: pointer;
}

.form__checkbox input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  font-size: 16px;
}

.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__status {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  min-height: 22px;
}

.form__status.is-success {
  color: #15803d;
}

.form__status.is-error {
  color: #dc2626;
}

/* ---------- Checkbox grid ---------- */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  padding: 14px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
}

/* ---------- Trade chips ---------- */
.trade-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.trade-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--slate-800);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.trade-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.trade-chip__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--accent-dark);
}

.trade-chip__icon svg {
  width: 24px;
  height: 24px;
}

/* ---------- Supply chain extras ---------- */
.requirements__list {
  max-width: 680px;
  margin: 0 auto;
}

.supply__form-wrap {
  max-width: 860px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 32px;
}

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

.footer__brand p {
  margin-top: 16px;
  font-size: 14.5px;
  max-width: 320px;
}

.footer__heading {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 13.5px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
}

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

/* ---------- Scroll reveal (safe: content visible by default, animation only when JS is active) ---------- */
.reveal {
  opacity: 1;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header__nav {
    gap: 18px;
  }

  .header__phone {
    display: none;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 6px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .header__nav .header__link {
    padding: 13px 12px;
    font-size: 17px;
    border-radius: 10px;
  }

  .header__nav .header__link:hover {
    background: var(--slate-100);
  }

  .header__nav.is-open {
    transform: translateY(0);
  }

  .header__toggle {
    display: flex;
  }

  .header__phone {
    display: none;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  #faq {
    padding: 48px 0;
  }

  .services__grid,
  .projects__grid,
  .testimonials__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .contact__form-wrap {
    padding: 28px 22px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__trust {
    gap: 14px;
  }

  .header__cta {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Page banner (inner pages) ---------- */
.banner {
  position: relative;
  background: linear-gradient(120deg, var(--slate-900) 0%, var(--slate-800) 60%, var(--slate-700) 100%);
  color: var(--white);
  padding: calc(var(--header-h) + 56px) 0 64px;
  overflow: hidden;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(245, 158, 11, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.banner__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.banner__eyebrow {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.banner__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.banner__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: #fcd34d;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-band__title {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 14px;
}

.cta-band__text {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 16.5px;
}

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

/* ---------- Section previews ---------- */
.preview__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.preview__head .section__head {
  margin: 0;
  text-align: left;
  max-width: 640px;
}

.preview__link {
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
}

.preview__link:hover {
  text-decoration: underline;
}

/* ---------- About page extras ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-item {
  text-align: center;
  padding: 34px 26px;
}

.why-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent-dark);
}

.why-item__icon svg {
  width: 28px;
  height: 28px;
}

.why-item h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 15px;
}

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--slate-100);
}

.service-row:first-child {
  padding-top: 0;
}

.service-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-row__side {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.service-row__icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent-dark);
}

.service-row__icon svg {
  width: 27px;
  height: 27px;
}

.service-row h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-row__lead {
  font-size: 16px;
  margin-bottom: 14px;
}

.service-row p {
  font-size: 15px;
  margin-bottom: 12px;
}

.service-row__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 18px 0 22px;
}

.service-row__features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-700);
}

.service-row__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--slate-900);
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
}

.legal h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  font-size: 15px;
  margin-bottom: 12px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
}

/* ---------- Responsive additions ---------- */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-row__features {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}
