/* ==========================================================================
   AC's Towing and Recovery
   ========================================================================== */

:root {
  /* Brand */
  --maroon: #3c110d;
  --maroon-900: #240906;
  --maroon-700: #4f1812;
  --maroon-500: #7a2a1f;
  --amber: #f4a62a;

  /* Neutrals */
  --ink: #1c1514;
  --text: #3f3634;
  --muted: #6f6461;
  --line: #e8e0dc;
  --bg: #fbf8f6;
  --tint: #f3ece8;
  --white: #fff;

  /* Type */
  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(28 21 20 / 0.06), 0 2px 8px rgb(28 21 20 / 0.06);
  --shadow: 0 1px 2px rgb(28 21 20 / 0.05), 0 12px 32px rgb(28 21 20 / 0.10);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

/* Reset ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1em;
}

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--maroon);
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* Layout ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section--tint {
  background: var(--tint);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

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

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--maroon-500);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

/* Icons ------------------------------------------------------------------- */

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--maroon);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--maroon-500);
}

.btn--light {
  background: var(--white);
  color: var(--maroon);
}
.btn--light:hover {
  background: var(--tint);
}

.btn--outline-light {
  border-color: rgb(255 255 255 / 0.55);
  color: var(--white);
}
.btn--outline-light:hover {
  border-color: var(--white);
  background: rgb(255 255 255 / 0.1);
}

.btn--sm {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 0.9375rem;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--maroon);
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.text-link .icon {
  transition: transform 0.2s;
}
.text-link:hover .icon {
  transform: translateX(4px);
}

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

.topbar {
  background: var(--maroon-900);
  color: rgb(255 255 255 / 0.85);
  font-size: 0.875rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.topbar__item .icon {
  color: var(--amber);
  width: 1rem;
  height: 1rem;
}

.topbar__group {
  display: flex;
  gap: 24px;
}

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

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgb(74 222 128 / 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgb(74 222 128 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(74 222 128 / 0); }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  flex: none;
  margin-right: auto;
}

.brand img {
  width: clamp(240px, 25vw, 330px);
}

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

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav__link:hover {
  color: var(--maroon-500);
}
.site-nav__link[aria-current="page"],
.site-nav__item.is-active > .site-nav__link {
  color: var(--maroon);
}
.site-nav__link[aria-current="page"]::after,
.site-nav__item.is-active > .site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--maroon);
}

.site-nav__link .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

/* Dropdown */
.site-nav__item--menu {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.submenu::before {
  /* bridge the gap so hover doesn't drop */
  content: "";
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
}

.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.submenu a:hover,
.submenu a[aria-current="page"] {
  background: var(--tint);
  color: var(--maroon);
}

@media (hover: hover) and (min-width: 961px) {
  .site-nav__item--menu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__item--menu:hover > .site-nav__link .icon {
    transform: rotate(180deg);
  }
}
.site-nav__item--menu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-nav__item--menu.is-open > .site-nav__link .icon {
  transform: rotate(180deg);
}

.header-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--maroon);
}
.nav-toggle .icon {
  width: 28px;
  height: 28px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-open .nav-toggle .icon-open {
  display: none;
}
.nav-open .nav-toggle .icon-close {
  display: block;
}

@media (max-width: 1100px) {
  .header-cta .btn__label {
    display: none;
  }
  .header-cta .btn {
    width: 48px;
    padding: 0;
  }
}

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

  .site-nav {
    position: fixed;
    inset: var(--nav-top, var(--header-h)) 0 0 0;
    z-index: 99;
    overflow-y: auto;
    padding: 16px var(--gutter) 120px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item {
    border-bottom: 1px solid var(--line);
  }

  .site-nav__link {
    width: 100%;
    padding: 18px 4px;
    font-size: 1.25rem;
    justify-content: space-between;
  }
  .site-nav__link[aria-current="page"]::after,
  .site-nav__item.is-active > .site-nav__link::after {
    display: none;
  }

  .site-nav__item--menu > .site-nav__link .icon {
    display: none;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 12px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .submenu::before {
    display: none;
  }
  .submenu a {
    padding: 12px 14px;
    font-size: 1.0625rem;
  }

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

/* Hero (home) ------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(86vh, 760px);
  padding-block: clamp(72px, 10vw, 120px);
  overflow: hidden;
  background: var(--maroon-900);
  color: var(--white);
}

.hero__media,
.page-hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img,
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after,
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(36 9 6 / 0.94) 0%, rgb(36 9 6 / 0.78) 42%, rgb(36 9 6 / 0.25) 100%),
    linear-gradient(0deg, rgb(36 9 6 / 0.5), transparent 40%);
}

.hero .container,
.page-hero .container {
  position: relative;
}

.hero__content {
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.hero h1 span {
  display: block;
  color: var(--amber);
}

.hero__lead {
  max-width: 560px;
  margin-top: 24px;
  color: rgb(255 255 255 / 0.88);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.hero .btn-row {
  margin-top: 36px;
}

.hero__phone {
  font-size: 1.1875rem;
}

/* Trust strip ------------------------------------------------------------- */

.trust {
  position: relative;
  z-index: 1;
  margin-top: -56px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
}
.trust__item + .trust__item {
  border-left: 1px solid var(--line);
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--tint);
  color: var(--maroon);
}

.trust__item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust__item div > span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust__item:nth-child(3) {
    border-left: 0;
  }
  .trust__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .trust {
    margin-top: -40px;
  }
  .trust__grid {
    grid-template-columns: 1fr;
  }
  .trust__item + .trust__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .trust__item {
    padding: 18px 20px;
  }
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.split--reverse .split__media {
  order: -1;
}

.split__body h2 {
  font-size: clamp(2rem, 4vw, 2.875rem);
  margin-bottom: 22px;
}

.split__body .btn-row,
.split__body .checklist {
  margin-top: 30px;
}

.split__media {
  position: relative;
}

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

.split__media--tall img {
  aspect-ratio: 4 / 5;
}

.split__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 24px -18px -18px 24px;
  border-radius: var(--radius);
  background: var(--maroon);
  opacity: 0.12;
}
.split--reverse .split__media::before {
  inset: 24px 24px -18px -18px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .split__media {
    max-width: 560px;
  }
}

/* Checklist --------------------------------------------------------------- */

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

.checklist .check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
}
.checklist .check .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

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

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

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__media {
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

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

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

.service-card h3 a {
  text-decoration: none;
}
.service-card h3 a::after {
  /* make the whole card clickable */
  content: "";
  position: absolute;
  inset: 0;
}

.service-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.975rem;
}

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

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

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

.steps-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.steps-layout__intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.steps-layout__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.steps-layout__intro p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.125rem;
}

.steps-layout__intro .btn-row {
  margin-top: 30px;
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 1.375rem;
}

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

@media (max-width: 860px) {
  .steps-layout {
    grid-template-columns: 1fr;
  }
  .steps-layout__intro {
    position: static;
  }
}

@media (max-width: 480px) {
  .step {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Features ---------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.feature {
  grid-column: span 2;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.feature:nth-child(4) {
  grid-column: 2 / span 2;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--maroon);
  color: var(--amber);
}
.feature__icon .icon {
  width: 26px;
  height: 26px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.375rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature,
  .feature:nth-child(4) {
    grid-column: auto;
  }
  .feature:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    padding: 24px;
  }
}

/* Panels (two large feature cards side by side) */
.panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.panels .feature--panel {
  grid-column: auto;
  padding: clamp(28px, 4vw, 44px);
}

.feature--panel h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.feature--panel p {
  font-size: 1rem;
}

.feature__list {
  margin-top: 28px;
}

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

/* Certifications ---------------------------------------------------------- */

.certs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cert {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.cert__logo {
  display: grid;
  place-items: center;
  height: 150px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cert__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 102px;
  object-fit: contain;
}

.cert__body {
  padding: 26px;
}

.cert h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.cert p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (max-width: 960px) {
  .certs {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }
}

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

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--maroon);
  color: var(--white);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.035) 0 18px, transparent 18px 36px);
}

.cta-band .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(48px, 7vw, 72px);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
}

.cta-band p {
  margin-top: 10px;
  color: rgb(255 255 255 / 0.82);
  font-size: 1.125rem;
}

.cta-band .btn--light {
  font-size: 1.25rem;
  min-height: 60px;
  padding-inline: 32px;
}

/* Location / map ---------------------------------------------------------- */

.location {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.location__map {
  min-height: 420px;
  width: 100%;
  height: 100%;
  border: 0;
}

.location__info {
  padding: clamp(28px, 4vw, 48px);
}

.location__info h2 {
  margin-bottom: 24px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.info-list {
  display: grid;
  gap: 20px;
}

.info-list li {
  display: flex;
  gap: 16px;
}

.info-list__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--tint);
  color: var(--maroon);
}

.info-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-list a {
  color: var(--text);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.info-list a:hover {
  color: var(--maroon);
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .location {
    grid-template-columns: 1fr;
  }
  .location__map {
    min-height: 320px;
  }
}

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

.page-hero {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
  overflow: hidden;
  background: var(--maroon-900);
  color: var(--white);
}

.page-hero__content {
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.9375rem;
}
.breadcrumb a {
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.6;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
}

.page-hero__lead {
  margin-top: 20px;
  color: rgb(255 255 255 / 0.88);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
}

.page-hero .btn-row {
  margin-top: 32px;
}

/* Gallery ----------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tint);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(36 9 6 / 0.45), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item:hover::after {
  opacity: 1;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(18 6 4 / 0.94);
  color: var(--white);
}
.lightbox::backdrop {
  background: transparent;
}
.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox__img {
  max-width: min(92vw, 1400px);
  max-height: 84vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
  transition: background-color 0.2s;
}
.lightbox__btn:hover {
  background: rgb(255 255 255 / 0.24);
}
.lightbox__btn .icon {
  width: 26px;
  height: 26px;
}

.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }

.lightbox__count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  translate: -50% 0;
  font-size: 0.9375rem;
  opacity: 0.75;
}

@media (max-width: 600px) {
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 16px;
    translate: none;
  }
}

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

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-card .feature__icon {
  margin-bottom: 14px;
}

.contact-card h2 {
  font-size: 1.375rem;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-card a {
  color: var(--maroon);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.contact-card__value {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.follow-title {
  margin-top: 36px;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.btn--facebook {
  background: #1877f2;
  color: var(--white);
}
.btn--facebook:hover {
  background: #0f63d6;
}

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

.site-footer {
  background: var(--maroon-900);
  color: rgb(255 255 255 / 0.75);
  font-size: 0.975rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-block: clamp(56px, 8vw, 80px);
}

.site-footer__logo {
  width: 320px;
  max-width: 100%;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 12px;
}
.footer-contact .icon {
  margin-top: 3px;
  color: var(--amber);
  width: 1.1rem;
  height: 1.1rem;
}

.footer-social {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 22px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
}
.footer-social:hover {
  background: var(--maroon-500);
}

.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-block: 22px;
  font-size: 0.875rem;
}

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

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Phones ------------------------------------------------------------------ */

@media (max-width: 480px) {
  .site-header .container {
    gap: 8px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand img {
    width: 100%;
    max-width: 240px;
  }

  .btn-row .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 10.4vw, 2.75rem);
  }
  .nav-toggle {
    width: 44px;
  }
}

@media (max-width: 700px) {
  /* Keep the first screen simple on phones */
  .topbar,
  .badge,
  .hero .btn--outline-light,
  .page-hero .btn--outline-light {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-block: 48px 88px;
  }

  .page-hero {
    padding-block: 48px 56px;
  }

  .hero .btn-row,
  .page-hero .btn-row {
    margin-top: 28px;
  }

  :root {
    --header-h: 68px;
  }
}

/* Motion ------------------------------------------------------------------ */

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