/* ---------------------------------
   Theme variables
--------------------------------- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-text: #101828;
  --color-text-muted: #5b6472;
  --color-border: #e6e9ee;
  --color-primary: #0b2545;
  --color-accent: #c98a00;
  --color-accent-hover: #a87200;
  --color-accent-text: #ffffff;
  --header-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);

  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Hero: fixed navy/white branded palette, constant across light/dark mode */
  --hero-bg: #000000;
  --hero-bg-deep: #0e2b20;
  --hero-overlay-start: rgba(0, 0, 0, 0.82);
  --hero-overlay-end: rgba(14, 43, 32, 0.88);
  --hero-border: rgba(255, 255, 255, 0.16);
  --hero-text: #ffffff;
  --hero-text-muted: rgba(255, 255, 255, 0.74);
  --hero-card-bg: #ffffff;
  --hero-card-text: #101828;
  --hero-card-muted: #5b6472;
  --hero-card-border: #e6e9ee;
  --hero-card-field-bg: #f4f6f9;
  --hero-accent: #f5b400;
  --hero-accent-hover: #ffc933;
  --hero-accent-text: #101828;

  --color-accent-tint: rgba(201, 138, 0, 0.1);

  --footer-bg: var(--hero-bg-deep);
}

[data-theme="dark"] {
  --color-bg: #0b1220;
  --color-bg-alt: #111a2c;
  --color-text: #f1f4f8;
  --color-text-muted: #97a2b4;
  --color-border: #1f2a3d;
  --color-primary: #f1f4f8;
  --color-accent: #f5b400;
  --color-accent-hover: #ffc933;
  --color-accent-text: #101828;
  --header-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);

  --color-accent-tint: rgba(245, 180, 0, 0.14);

  --footer-bg: #000000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
}

a {
  text-decoration: none;
  color: inherit;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-accent-text);
}

::-moz-selection {
  background-color: var(--color-accent);
  color: var(--color-accent-text);
}

button {
  font-family: inherit;
}

/* ---------------------------------
   Skip link
--------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------------------------------
   Scroll reveal animations
--------------------------------- */
.reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 0.8, 0.24, 1), transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal--up {
  transform: translateY(32px);
}

.reveal--left {
  transform: translateX(-36px);
}

.reveal--right {
  transform: translateX(36px);
}

.reveal--scale {
  transform: scale(0.94);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

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

/* ---------------------------------
   Header / Navbar
--------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--header-shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  flex-shrink: 1;
}

.brand-name,
.brand-tagline {
  min-width: 0;
}

.brand-acronym {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--color-primary);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.brand-name-mobile {
  display: none;
  flex-direction: column;
  min-width: 0;
}

.brand-name-mobile-primary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--color-primary);
}

.brand-name-mobile-secondary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media (max-width: 640px) {
  .brand-acronym,
  .brand-name {
    display: none;
  }

  .brand-name-mobile {
    display: flex;
  }
}

/* Desktop nav */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.15s ease;
}

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

.btn-cta {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-accent-text);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.btn-cta:hover {
  background-color: var(--color-accent-hover);
}

/* Header actions: theme toggle + hamburger */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.theme-icon {
  position: absolute;
  width: 34px;
  height: 34px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.theme-icon--light {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon--dark {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-icon--light {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-icon--dark {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------------------------------
   Responsive: mobile nav
--------------------------------- */
@media (max-width: 1075px) {
  .brand-name,
  .brand-name-mobile-secondary {
    max-width: 44vw;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--header-shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav.is-open {
    max-height: 420px;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem;
  }

  .nav-links li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
  }

  .btn-cta {
    margin: 0.75rem 1.25rem 1.25rem;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 1076px) {
  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

/* ---------------------------------
   Hero
--------------------------------- */
.hero {
  position: relative;
  background-image: linear-gradient(160deg, var(--hero-overlay-start) 0%, var(--hero-overlay-end) 100%), url("../images/company-truck.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 3.5rem 1.5rem 4.5rem;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content,
.hero-form-wrapper {
  min-width: 0;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-social-proof--top,
.hero-title,
.hero-description,
.hero-cta-row,
.hero-form-wrapper {
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 0.8, 0.24, 1) both;
}

.hero-social-proof--top {
  animation-delay: 0.05s;
}

.hero-title {
  animation-delay: 0.15s;
}

.hero-description {
  animation-delay: 0.28s;
}

.hero-cta-row {
  animation-delay: 0.4s;
}

.hero-form-wrapper {
  animation-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-social-proof--top,
  .hero-title,
  .hero-description,
  .hero-cta-row,
  .hero-form-wrapper {
    animation: none;
  }
}

/* Content column */
.hero-social-proof--top {
  margin-bottom: 1.5rem;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  color: var(--hero-text);
}

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

.hero-description {
  margin: 0 0 2rem;
  max-width: 42rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--hero-text-muted);
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-license {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hero-text-muted);
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--hero-accent);
  color: var(--hero-accent-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 1.9rem;
  border-radius: 8px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-hero-cta:hover {
  background-color: var(--hero-accent-hover);
  transform: translateY(-1px);
}

.btn-hero-cta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hero-border);
  border-radius: 999px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rating-chip:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.rating-chip img {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.rating-chip-stars {
  color: var(--hero-accent);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.rating-chip-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hero-text);
}

/* Form column */
.hero-form-wrapper {
  position: relative;
}

.hero-badge {
  position: absolute;
  top: -33px;
  right: -32px;
  z-index: 2;
  width: 130px;
  height: 130px;
  transform: rotate(8deg);
  filter: drop-shadow(0 10px 18px rgba(4, 12, 26, 0.45));
}

.hero-form {
  position: relative;
  background-color: var(--hero-card-bg);
  border-top: 4px solid var(--hero-accent);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: 0 24px 48px -12px rgba(4, 12, 26, 0.45);
}

.hero-form-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--hero-card-text);
}

.hero-form-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--hero-card-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--hero-card-muted);
}

.form-group label span {
  color: var(--hero-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--hero-card-text);
  background-color: var(--hero-card-field-bg);
  border: 1px solid var(--hero-card-border);
  border-radius: 7px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #97a2b4;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hero-accent);
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.18);
}

.form-group select.field-flash {
  animation: field-flash 1s ease;
}

@keyframes field-flash {
  0%, 100% { box-shadow: none; border-color: var(--hero-card-border); }
  25% { box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.35); border-color: var(--hero-accent); }
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235b6472' stroke-width='2'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}

.btn-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.95rem 1.5rem;
  background-color: var(--hero-accent);
  color: var(--hero-accent-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-form-submit:hover {
  background-color: var(--hero-accent-hover);
  transform: translateY(-1px);
}

.btn-form-submit-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-group label .form-optional {
  color: var(--hero-card-muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.form-group input:invalid.field-touched,
.form-group select:invalid.field-touched,
.form-group textarea:invalid.field-touched {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14);
}

.hero-form.is-shaking {
  animation: form-shake 0.4s ease;
}

@keyframes form-shake {
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.form-error-message {
  margin: -0.3rem 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d64545;
}

/* Success state */
.hero-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.5rem;
  animation: form-success-fade 0.5s ease;
}

.hero-form-success[hidden] {
  display: none;
}

@keyframes form-success-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success-check {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.form-success-check-circle {
  stroke: var(--hero-accent);
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: form-success-circle 0.5s ease forwards;
}

.form-success-check-mark {
  stroke: var(--hero-accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: form-success-mark 0.35s 0.45s ease forwards;
}

@keyframes form-success-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes form-success-mark {
  to { stroke-dashoffset: 0; }
}

.hero-form-success-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--hero-card-text);
}

.hero-form-success-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--hero-card-muted);
}

/* ---------------------------------
   Responsive: hero
--------------------------------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-form-wrapper {
    max-width: 480px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 3rem 1rem;
    background-image: linear-gradient(160deg, var(--hero-bg) 0%, var(--hero-bg-deep) 100%);
  }

  .hero-badge {
    top: -44px;
    right: -12px;
    width: 104px;
    height: 104px;
  }

  .hero-form {
    padding: 1.75rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-social-proof {
    gap: 0.6rem;
  }

  .rating-chip-label {
    width: 100%;
    margin-top: 0.25rem;
  }
}

/* ---------------------------------
   About / Owner
--------------------------------- */
.about {
  position: relative;
  background-color: var(--color-bg-alt);
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  max-width: 30rem;
}

.about-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.about-logo {
  display: block;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(16, 24, 40, 0.18));
}

.about-award-badge {
  display: block;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(16, 24, 40, 0.18));
}

.about-description {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.about-license {
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-accent);
}

.about-cta-row {
  display: flex;
}

.btn-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--color-accent);
  color: var(--color-accent-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.9rem;
  border-radius: 8px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-section-cta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.about-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 52%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.about-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------------------------------
   Responsive: about
--------------------------------- */
@media (max-width: 980px) {
  .about {
    padding: 4rem 1.5rem 0;
  }

  .about-inner {
    max-width: 640px;
  }

  .about-content {
    max-width: none;
  }

  .about-photo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: 380px;
    margin: 3rem -1.5rem 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
  }

  .about-photo-img {
    object-position: center;
  }
}

@media (max-width: 560px) {
  .about {
    padding: 3rem 1rem 0;
  }

  .about-photo {
    height: 300px;
    margin: 2.5rem -1rem 0;
  }

  .about-badges {
    gap: 1rem;
  }

  .about-award-badge {
    width: 100px;
    height: 100px;
  }
}

/* ---------------------------------
   Services
--------------------------------- */
.services {
  background-color: var(--color-bg);
  padding: 6rem 1.5rem;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header,
.testimonials-header,
.contact-header {
  max-width: 40rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.services-eyebrow,
.about-eyebrow,
.work-eyebrow,
.testimonials-eyebrow,
.contact-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.services-title,
.about-title,
.work-title,
.testimonials-title,
.contact-title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  color: var(--color-text);
}

.services-subtitle,
.testimonials-subtitle,
.contact-subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.1);
}

.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  background-color: var(--color-accent-tint);
  border-radius: 10px;
}

.service-icon,
.contact-icon {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
}

.service-card-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--color-text);
}

.service-card-desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.service-card-example {
  margin: 0 0 1.25rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  border-top: 1px dashed var(--color-border);
}

.service-card-example span {
  font-weight: 700;
  color: var(--color-accent);
}

.btn-service-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.7rem 1rem;
  background-color: transparent;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--color-accent);
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-service-cta:hover {
  background-color: var(--color-accent);
  color: var(--color-accent-text);
}

.services-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
}

.services-banner-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05) brightness(0.94);
}

.services-banner-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 2.5rem;
  background-image: linear-gradient(90deg, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.65) 55%, rgba(11, 18, 32, 0.2) 100%);
}

.services-banner-text {
  margin: 0;
  max-width: 26rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.35;
  color: #ffffff;
}

/* ---------------------------------
   Responsive: services
--------------------------------- */
@media (max-width: 980px) {
  .services {
    padding: 4.5rem 1.5rem;
  }

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

@media (max-width: 640px) {
  .services {
    padding: 3.5rem 1rem;
  }

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

  .services-banner {
    min-height: 280px;
  }

  .services-banner-overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    background-image: linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.92) 75%);
  }

  .services-banner-text {
    max-width: none;
  }
}

/* ---------------------------------
   Our Work
--------------------------------- */
.work {
  background-color: var(--color-bg);
  padding: 1.5rem 1.5rem 6rem;
}

.work-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.work-photo {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  background-color: var(--color-bg-alt);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

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

.work-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.work-photo:hover img,
.work-photo:focus-visible img {
  transform: scale(1.05);
}

.work-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.work-photo--featured {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}

.work-description {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.work-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.work-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--color-text);
}

.work-highlights svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-accent);
}

/* ---------------------------------
   Responsive: our work
--------------------------------- */
@media (max-width: 980px) {
  .work {
    padding: 4.5rem 1.5rem;
  }

  .work-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .work {
    padding: 1.5rem 1rem;
  }

  .work-gallery {
    gap: 0.6rem;
  }

  .work-featured {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* ---------------------------------
   Lightbox
--------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(4, 12, 26, 0.86);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
}

.lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(560px, 78vw);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}

.lightbox-control {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lightbox-control svg {
  display: block;
  width: 18px;
  height: 18px;
}

.lightbox-control:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

/* ---------------------------------
   Responsive: lightbox
--------------------------------- */
@media (max-width: 560px) {
  .lightbox {
    padding: 1rem;
  }

  .lightbox-backdrop {
    background-color: transparent;
  }

  .lightbox-control {
    background-color: #101828;
    border-color: #101828;
  }

  .lightbox-control:hover {
    background-color: #1f2a3d;
  }

  .lightbox-content {
    gap: 0.5rem;
  }

  .lightbox-img {
    max-width: min(420px, 66vw);
  }

  .lightbox-control {
    width: 36px;
    height: 36px;
  }

  .lightbox-control svg {
    width: 15px;
    height: 15px;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-close svg {
    width: 17px;
    height: 17px;
  }
}

/* ---------------------------------
   Testimonials
--------------------------------- */
.testimonials {
  background-color: var(--color-bg-alt);
  padding: 6rem 0;
  overflow: hidden;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.marquee-row {
  position: relative;
  overflow: hidden;
  padding: 0.6rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 64px, black calc(100% - 64px), transparent 100%);
}

.marquee-row + .marquee-row {
  margin-top: 1.25rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marquee-scroll 50s linear infinite;
}

.marquee-row--reverse .marquee-track {
  animation-name: marquee-scroll-reverse;
  animation-duration: 44s;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-reverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 340px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
}

.testimonial-quote-mark {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  margin-bottom: 0.75rem;
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  flex-grow: 1;
  margin: 0 0 1.25rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--color-text);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: var(--color-accent-tint);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.testimonial-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.testimonial-source img {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
  padding: 0 1.5rem;
}

/* ---------------------------------
   Responsive: testimonials
--------------------------------- */
@media (max-width: 640px) {
  .testimonials {
    padding: 4.5rem 0;
  }

  .marquee-row {
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
  }

  .testimonial-card {
    width: 280px;
    padding: 1.5rem;
  }

  .testimonials-cta {
    margin-top: 2.5rem;
  }
}

/* ---------------------------------
   Contact
--------------------------------- */
.contact {
  background-color: var(--color-bg-alt);
  padding: 6rem 1.5rem;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 3.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.contact-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-tint);
  border-radius: 50%;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding-top: 0.35rem;
}

.contact-item-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  overflow-wrap: break-word;
  transition: color 0.15s ease;
}

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

.contact-item-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.contact-social-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-social-links {
  display: flex;
  gap: 0.6rem;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.contact-social-link:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.contact-social-link img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.contact-cta {
  margin-top: 0.5rem;
}

.contact-map-wrapper {
  position: relative;
  min-width: 0;
  min-height: 360px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}

.contact-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* ---------------------------------
   Responsive: contact
--------------------------------- */
@media (max-width: 980px) {
  .contact {
    padding: 4.5rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .contact-map-wrapper {
    min-height: 300px;
  }

  .contact-map {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .contact {
    padding: 3.5rem 1rem;
  }

}

/* ---------------------------------
   Footer
--------------------------------- */
.site-footer {
  background-color: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 1.5rem 0;
  transition: background-color 0.2s ease;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 22rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-logo img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-brand-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-about {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-license {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hero-accent);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.footer-social-link:hover {
  border-color: var(--hero-accent);
  transform: translateY(-2px);
}

.footer-social-link img {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.footer-col-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--hero-accent);
}

.footer-hours {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: var(--hero-accent);
}

.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit-link {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s ease;
}

.footer-credit-link:hover {
  color: var(--hero-accent);
}

/* ---------------------------------
   Responsive: footer
--------------------------------- */
@media (max-width: 980px) {
  .site-footer {
    padding: 3.5rem 1.5rem 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 3rem 1rem 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 0 2rem;
  }
}

/* ---------------------------------
   Legal pages (Privacy Policy, Accessibility Statement)
--------------------------------- */
.legal-hero {
  background-color: var(--color-bg-alt);
  padding: 3.5rem 1.5rem 3rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.legal-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--color-text);
}

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

.legal-content {
  padding: 3.5rem 1.5rem 5rem;
}

.legal-content-inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content-inner h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--color-text);
}

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

.legal-content-inner p {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.legal-content-inner ul {
  margin: 0 0 1.1rem;
  padding-left: 1.3rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-content-inner li {
  margin-bottom: 0.5rem;
}

.legal-content-inner a {
  color: var(--color-accent);
  font-weight: 600;
}

.legal-content-inner a:hover {
  color: var(--color-accent-hover);
}

.legal-content-inner strong {
  color: var(--color-text);
}

@media (max-width: 640px) {
  .legal-hero {
    padding: 2.75rem 1rem 2.25rem;
  }

  .legal-content {
    padding: 2.75rem 1rem 3.5rem;
  }
}

/* ---------------------------------
   404 / Error page
--------------------------------- */
.error-hero {
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

.error-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.error-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.error-code {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--color-primary);
}

.error-title {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--color-text);
}

.error-message {
  margin: 0 0 2.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.error-popular {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.error-popular-label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.error-popular-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-popular-links a {
  font-weight: 600;
  color: var(--color-accent);
}

.error-popular-links a:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 640px) {
  .error-hero {
    padding: 3.5rem 1rem 4rem;
  }

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

  .error-actions .btn-section-cta,
  .error-actions .btn-outline {
    justify-content: center;
    text-align: center;
  }
}
