/* =========================================================
   SBS Automotive
   Dark, high-contrast theme with a red accent.
   ========================================================= */

:root {
  --red: #dd3333;
  --red-hover: #c42828;
  --red-deep: #a51f1f;

  --bg: #1b1b1b;
  --surface: #232322;
  --surface-2: #2b2b2a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f4;
  --muted: #b4b4b0;

  --light-bg: #e4e4e4;
  --ink: #1b1b1b;
  --ink-muted: #555552;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, sans-serif;

  --container: 1200px;
  --header-h: 84px;
  --header-h-scrolled: 64px;

  /* Torn paper edge used between sections */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V30l36 4 34-12 40 8 40-12 46 10 44-8 42 12 48-16 42 10 48-6 48 14 44-12 48 6 44-14 46 12 50-6 44 12 46-14 50 10 44-6 48 12 48-18 44 10 46-6 46 10 44-12 46 10 44-6 46 10 44-12 50 8 50-6v26Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-scrolled);
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

p {
  margin: 0 0 1em;
}

address {
  font-style: normal;
}

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

.icon,
.service-icon,
.about-art {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, var(--container));
  }
}

.section {
  position: relative;
  padding: 120px 0;
}

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

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

/* ---------- Section headings ---------- */

.eyebrow {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  margin-bottom: 0.35em;
}

.bar {
  width: 60px;
  height: 6px;
  margin: 0 0 28px;
  border: 0;
  background: var(--red);
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.center {
  text-align: center;
}

.center .bar,
.center .lead {
  margin-inline: auto;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 17px 30px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Fill sweeps in from the left on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-red::before {
  background: var(--red-deep);
}

.btn-red:hover {
  border-color: var(--red-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-ghost::before {
  background: #fff;
}

.btn-ghost:hover {
  color: var(--ink);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-head);
}

.logo-mark {
  font-size: 1.9rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #fff;
}

.logo-text {
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--red);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: height 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  height: var(--header-h-scrolled);
  background: rgba(27, 27, 27, 0.97);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-inner > .logo {
  margin-right: auto;
}

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

.nav ul {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul a {
  position: relative;
  padding: 8px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav ul a:hover::after,
.nav ul a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-phone {
  padding: 13px 20px;
}

.header-call,
.nav-toggle {
  display: none;
}

@media (max-width: 960px) {
  .header-call {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--red);
    color: #fff;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 44px;
    background: #212121;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

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

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  .nav ul a {
    font-size: 1.15rem;
  }
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 140px;
  overflow: hidden;
  background: #141414;
}

.hero-bg,
.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Fallback artwork when there's no photo: diagonal pinstripes + red glow */
.hero-bg {
  background:
    radial-gradient(circle at 12% 88%, rgba(221, 51, 51, 0.28), transparent 42%),
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 22px),
    radial-gradient(ellipse at 78% 35%, #353533 0%, #1b1b1b 62%);
}

.hero-photo {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.95) 0%, rgba(20, 20, 20, 0.78) 45%, rgba(20, 20, 20, 0.35) 100%);
}

.hero-watermark {
  position: absolute;
  right: -2vw;
  bottom: 2vh;
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(10rem, 34vw, 32rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d8d8d4;
}

.hero-eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  margin: 0 0 28px;
  line-height: 0.95;
}

.hero-small {
  display: block;
  font-size: clamp(1.9rem, 4.4vw, 3.8rem);
  font-weight: 700;
  color: #fff;
}

.hero-big {
  display: block;
  margin-left: -0.04em;
  font-size: clamp(5rem, 19vw, 11.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--red);
}

.hero-sub {
  max-width: 540px;
  margin-bottom: 38px;
  font-size: 1.1rem;
  color: #d6d6d2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-status {
  margin-top: 40px;
  color: #d8d8d4;
}

.hero-side {
  position: absolute;
  right: 34px;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero-side::before {
  content: "";
  width: 2px;
  height: 70px;
  background: var(--red);
}

@media (max-width: 960px) {
  .hero-side {
    display: none;
  }
}

/* Entrance animation for hero text */
.hero-eyebrow,
.hero-small,
.hero-big,
.hero-sub,
.hero-actions,
.hero-status {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-small { animation-delay: 0.1s; }
.hero-big { animation-name: slide-in; animation-delay: 0.3s; animation-duration: 1.1s; }
.hero-sub { animation-delay: 0.55s; }
.hero-actions { animation-delay: 0.7s; }
.hero-status { animation-delay: 0.85s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(120px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Open / closed status ---------- */

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #777;
  flex: none;
}

.is-open .status-dot {
  background: #3ecf6e;
  animation: pulse 2s infinite;
}

.is-closed .status-dot {
  background: var(--red);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 207, 110, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(62, 207, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 207, 110, 0); }
}

/* ---------- Torn paper edges ---------- */

.torn-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 44px;
  background: var(--edge, var(--surface));
  -webkit-mask: var(--torn) center bottom / 100% 100% no-repeat;
  mask: var(--torn) center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* ---------- Services ---------- */

.services {
  background:
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  position: relative;
  padding: 48px 34px 42px;
  background: var(--surface-2);
  text-align: center;
  transition: transform 0.35s ease, background-color 0.35s ease;
}

/* Red bar grows across the top on hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: #323231;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  color: var(--red);
  stroke-width: 1.3;
}

.service-card h3 {
  font-size: 1.3rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-media {
  position: relative;
  padding: 0 24px 24px 0;
}

/* Offset red outline behind the image */
.about-media::before {
  content: "";
  position: absolute;
  inset: 24px 0 0 24px;
  border: 2px solid var(--red);
}

.about-media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 18px),
    linear-gradient(160deg, #343432, #1f1f1e);
}

.about-media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-art {
  width: 46%;
  color: rgba(255, 255, 255, 0.12);
  stroke-width: 0.6;
}

.about-badge {
  position: absolute;
  left: -20px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  padding: 20px 26px;
  background: var(--red);
  font-family: var(--font-head);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.about-badge strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.about-badge span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-copy p {
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 28px 0 38px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about-media {
    max-width: 520px;
  }

  .about-media-frame {
    aspect-ratio: 16 / 11;
  }

  .about-badge {
    left: 16px;
    bottom: 40px;
  }
}

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

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--red);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee li::after {
  content: "";
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.35);
  transform: rotate(45deg);
}

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

/* ---------- Process ---------- */

.process {
  background: var(--surface);
  padding-bottom: 160px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

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

.step p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

.contact {
  background: var(--light-bg);
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-title {
  margin-bottom: 40px;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.3;
}

.contact-title a {
  transition: opacity 0.2s;
}

.contact-title a:hover {
  opacity: 0.8;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  gap: 18px;
}

.field-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.optional {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #c9c9c6;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dd3333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat,
    #fff;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #9a9a96;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(221, 51, 51, 0.15);
}

.field input:user-invalid {
  border-color: var(--red-deep);
}

.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  min-height: 1.7em;
  margin: 0;
  font-weight: 600;
}

.form-status.is-error {
  color: var(--red-deep);
}

.form-status.is-success {
  color: #1e7a3f;
}

.hours-card {
  padding: 40px 36px;
  background: var(--bg);
  color: var(--text);
}

.hours-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
}

.hours-card h3 .icon {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.hours-card .hours-status {
  margin-bottom: 18px;
  color: var(--muted);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.hours-table th {
  font-weight: 500;
  text-align: left;
}

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

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: #fff;
  font-weight: 700;
}

.hours-table tr.is-today th {
  position: relative;
  padding-left: 14px;
}

.hours-table tr.is-today th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 16px;
  background: var(--red);
  transform: translateY(-50%);
}

.hours-note {
  margin: 14px 0 26px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hours-address {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hours-address .icon {
  margin-top: 3px;
  color: var(--red);
}

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

@media (max-width: 700px) {
  .field-row-3,
  .field-row-2 {
    grid-template-columns: 1fr;
  }

  .hours-card {
    padding: 32px 24px;
  }
}

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

.site-footer {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 14px),
    #151515;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 48px;
  padding: 80px 0 60px;
}

.footer-brand p {
  margin: 20px 0 26px;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.85);
}

.footer-info h4 {
  margin-bottom: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-info address {
  margin-bottom: 20px;
}

.footer-info a {
  color: #fff;
  transition: color 0.2s;
}

.footer-info a:hover {
  color: var(--red);
}

.footer-hours {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: #858581;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 0;
}

.footer-bottom a:hover {
  color: #fff;
}

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

  .footer-map {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 64px 0 48px;
  }
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--surface-2);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--red);
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}

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

/* ---------- Reduced motion ---------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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