/* ==========================================================================
   Ryan EV Solutions — main stylesheet
   ========================================================================== */

:root {
  --red: #d7182a;
  --red-dark: #a50f1e;
  --red-soft: #fdecee;
  --white: #ffffff;
  --off-white: #f7f7f8;
  --charcoal: #1a1a1a;
  --grey: #5c5f66;
  --grey-light: #e6e7ea;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 20px 50px rgba(17, 17, 17, 0.14);
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }

p {
  margin: 0 0 1em;
}

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

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

@media (min-width: 768px) {
  .container { padding: 0 28px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  color: var(--white);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
  color: var(--white);
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  transition: box-shadow 0.25s;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--charcoal);
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--red);
}

.logo-text small {
  display: block;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--grey);
  margin-top: 4px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a:not(.btn) {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  border-radius: 8px;
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav a[aria-current="page"] {
  color: var(--red);
}

.main-nav .btn {
  margin-left: 10px;
  padding: 0.7em 1.3em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--charcoal);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--white);
    border-top: 1px solid var(--grey-light);
    visibility: hidden;
    padding: 24px 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    overflow-y: auto;
  }

  .main-nav.open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a:not(.btn) {
    padding: 16px 8px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--grey-light);
    border-radius: 0;
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .main-nav .btn {
    margin: 24px 0 0;
    width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- Top bar ---------- */

.top-bar {
  background: var(--charcoal);
  color: #d0d0d4;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--white);
}

.top-bar a:hover {
  color: #ff8a95;
}

.top-bar-items {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-bar-items span,
.top-bar-items a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}

@media (max-width: 640px) {
  .top-bar .hide-sm {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--charcoal) center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.72) 45%, rgba(165, 15, 30, 0.35) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--red);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 90px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}

.hero .eyebrow {
  color: #ff6b78;
}

.hero h1 {
  color: var(--white);
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero h1 em {
  color: var(--red);
  font-style: italic;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #e8e8ea;
  margin-bottom: 30px;
}

.hero-lead strong {
  color: var(--white);
  border-bottom: 3px solid var(--red);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  font-size: 0.92rem;
  color: #dcdce0;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

/* ---------- Page banner (inner pages) ---------- */

.page-banner {
  position: relative;
  color: var(--white);
  background: var(--charcoal) center / cover no-repeat;
  padding: 90px 0 80px;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 55%, rgba(165, 15, 30, 0.45) 100%);
}

.page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--red);
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  font-style: italic;
  margin-bottom: 0.3em;
}

.page-banner p {
  max-width: 640px;
  color: #e3e3e6;
  font-size: 1.1rem;
  margin: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: #c9c9ce;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover {
  color: #ff8a95;
}

/* ---------- Sections ---------- */

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p {
  color: var(--grey);
  font-size: 1.08rem;
}

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

  .section-head {
    margin-bottom: 36px;
  }
}

/* ---------- Brand strip ---------- */

.brand-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  padding: 28px 0;
}

.brand-strip p {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.brand-list li {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9ca3;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.brand-list li:hover {
  color: var(--red);
  background: var(--red-soft);
}

/* ---------- Split (image + text) ---------- */

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
  }

  .split.reverse .split-media {
    order: 2;
  }
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.split-media::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 55%;
  left: -16px;
  bottom: -16px;
  background: var(--red);
  border-radius: var(--radius);
  z-index: -1;
}

.split-media {
  isolation: isolate;
  margin: 0 0 16px 16px;
}

.stat-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.2;
}

.stat-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--red);
}

.stat-badge span {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 600;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.check-list.two-col {
  gap: 12px 28px;
}

@media (min-width: 600px) {
  .check-list.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Service cards ---------- */

.service-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.service-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(215, 24, 42, 0.35);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card .service-icon {
  margin: -32px 0 0 28px;
  position: relative;
  z-index: 1;
}

.service-card-body {
  padding: 22px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body p {
  color: var(--grey);
}

.service-card-body ul {
  margin: 0 0 1.4em;
  padding-left: 1.1em;
  color: var(--charcoal);
}

.service-card-body li::marker {
  color: var(--red);
}

.link-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Feature tiles ---------- */

.feature-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.feature .service-icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  font-size: 1.12rem;
}

.feature p {
  color: var(--grey);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  font-style: italic;
  line-height: 1;
  color: var(--red);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  color: var(--grey);
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-band::after {
  content: "";
  position: absolute;
  left: 30%;
  bottom: -160px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.25em;
  font-style: italic;
}

.cta-band p {
  margin: 0;
  color: #ffe3e6;
  font-size: 1.08rem;
}

/* ---------- Info cards / content ---------- */

.content-block h2 {
  margin-top: 0;
}

.content-block p {
  color: var(--grey);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--red);
}

.info-card h3 {
  margin-bottom: 0.5em;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.compare-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7182a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s, background-color 0.25s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.faq-item[open] summary {
  color: var(--red);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--grey);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
  }
}

.contact-info {
  background: var(--charcoal);
  color: #d6d6da;
  border-radius: var(--radius);
  padding: 36px 30px;
  border-top: 5px solid var(--red);
}

.contact-info h2 {
  color: var(--white);
  font-size: 1.6rem;
}

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-list .ci-icon svg {
  width: 22px;
  height: 22px;
}

.contact-list strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-list a {
  color: #d6d6da;
}

.contact-list a:hover {
  color: var(--white);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: #b9b9bf;
  padding-top: 70px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 50px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.site-footer .logo {
  color: var(--white);
  margin-bottom: 18px;
}

.site-footer .logo-text small {
  color: #9a9aa1;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: #b9b9bf;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ---------- Utilities ---------- */

.text-red { color: var(--red); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

/* Keep anchored sections clear of the sticky header */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
