/* Rod's Auto Body — site styles
   Colors/fonts sourced from rodautobody.brand/rodautobody.colors.md and rodautobody.typography.md */

:root {
  --navy: #203454;
  --navy-dark: #16233A;
  --red: #E8291B;
  --white: #FFFFFF;
  --body-text: #333333;
  --section-bg: #F5F6F8;
  --border: #E1E3E8;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 6px 16px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.06);
  --shadow-lg: 0 18px 40px rgba(15,23,42,0.18), 0 4px 10px rgba(15,23,42,0.08);

  --cut: 20px;
}

/* Cut-corner panel — signature shape echoing the logo's angled cut lettering */
.cut-corner {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.cut-corner-rev {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}

/* Speed-stripe mark — echoes the bent red stripe under the logo wordmark */
.stripe-mark {
  display: inline-flex;
  align-items: center;
  height: 12px;
  margin-bottom: 14px;
}

.stripe-mark .bar {
  width: 46px;
  height: 5px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.stripe-mark .point {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--red);
  margin-left: -1px;
}

.stripe-mark.on-dark .bar,
.stripe-mark.on-dark .point {
  filter: brightness(1.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--body-text);
  background: var(--white);
}

h1, h2, h3, h4,
.heading {
  font-family: 'Oswald', sans-serif;
  color: var(--navy);
  margin: 0;
}

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

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(232,41,27,0.28);
}

.btn-primary:hover {
  background: #C71F12;
  box-shadow: 0 10px 22px rgba(232,41,27,0.34);
}

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

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

/* Top info bar */
.topbar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}

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

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Header / nav */
.site-header {
  border-bottom: 3px solid var(--navy);
  position: relative;
  z-index: 100;
  background: var(--white);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 64px;
  width: auto;
}

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

.main-nav a {
  position: relative;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transition: right 0.18s ease;
}

.main-nav a:hover {
  color: var(--red);
  text-decoration: none;
}

.main-nav a:hover::after {
  right: 0;
}

.main-nav a.active {
  color: var(--red);
}

.main-nav a.active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* Decorative texture — fine diagonal pinstripe for navy blocks */
.texture-panel {
  position: relative;
  overflow: hidden;
}

.texture-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0px, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 15px);
  pointer-events: none;
}

.texture-panel > .container {
  position: relative;
  z-index: 1;
}

/* Skewed edge transition at the bottom of a dark panel */
.skew-edge {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -1px;
  height: 46px;
  transform: skewY(-2.4deg);
  transform-origin: bottom left;
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 76px;
  padding-bottom: 108px;
}

.hero-content {
  flex: 1.1;
  max-width: 600px;
}

.hero .eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF7D6E;
  margin-bottom: 14px;
  display: block;
}

.hero h1 {
  color: var(--white);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #E9EDF3;
  max-width: 480px;
}

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

/* Hero photo stack */
.hero-photos {
  position: relative;
  flex: 1;
  min-height: 340px;
  display: none;
}

.hero-photo {
  position: absolute;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-photo-back {
  width: 250px;
  height: 300px;
  top: -10px;
  right: 10px;
  transform: rotate(6deg);
  z-index: 1;
}

.hero-photo-front {
  width: 230px;
  height: 190px;
  bottom: -10px;
  left: 10px;
  transform: rotate(-6deg);
  z-index: 2;
}

@media (min-width: 900px) {
  .hero-photos {
    display: block;
  }
}

/* Trust bar */
.trust-bar {
  position: relative;
  margin-top: -1px;
  background: var(--section-bg);
  border-bottom: 3px solid var(--red);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 22px 28px 22px 0;
  margin-right: 28px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.trust-item .dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* Section generic */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.section-head {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head .eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 36px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

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

.service-card {
  background: var(--white);
  border-radius: 0;
  border-top: 3px solid var(--navy);
  padding: 30px 24px;
  text-align: left;
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--red);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(32,52,84,0.28);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

/* Gallery grid (home preview) — clean mosaic tiles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

/* Red speed stripe slides in along the bottom on hover */
.gallery-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

.gallery-item:hover::after {
  transform: scaleX(1);
}

/* Home preview — bento layout: one large photo, one wide, two small */
.gallery-grid.gallery-bento {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}

.gallery-bento .gallery-item img {
  height: 100%;
}

.gallery-bento .bento-main {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-bento .bento-wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .gallery-grid.gallery-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-bento .bento-main {
    grid-row: span 1;
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .gallery-grid.gallery-bento {
    grid-template-columns: 1fr;
  }
  .gallery-bento .bento-main,
  .gallery-bento .bento-wide {
    grid-column: auto;
  }
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

/* Reviews (home) */
.stars {
  color: #F5A623;
  letter-spacing: 0.08em;
}

.section-head .rating-summary {
  font-size: 17px;
  color: var(--navy);
}

.section-head .rating-summary .stars {
  font-size: 20px;
  margin-right: 4px;
}

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

.review-card {
  margin: 0;
  background: var(--white);
  border-top: 3px solid var(--navy);
  padding: 30px 26px;
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
}

.review-card .stars {
  font-size: 18px;
  margin-bottom: 14px;
}

.review-card blockquote {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body-text);
  flex: 1;
}

.review-card figcaption {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}

.review-card figcaption span {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 16px;
  color: #C9D2E0;
  margin-bottom: 28px;
}

.cta-band .phone {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 32px;
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: var(--shadow-md);
}

.cta-band .phone:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.14);
}

/* Interior page header */
.page-header {
  position: relative;
  background: var(--navy);
  color: var(--white);
}

.page-header .container {
  position: relative;
  z-index: 1;
  padding-top: 52px;
  padding-bottom: 68px;
}

.page-header .eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF7D6E;
  display: block;
  margin-bottom: 10px;
}

.page-header h1 {
  color: var(--white);
  font-size: 40px;
}

.page-header p {
  font-size: 16px;
  color: #C9D2E0;
  margin-top: 12px;
  max-width: 560px;
}

.breadcrumb {
  font-size: 13px;
  color: #C9D2E0;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #C9D2E0;
}

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

/* Service detail blocks */
.service-detail {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail .icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(32,52,84,0.3);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

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

.service-detail h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.service-detail p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Fleet grid (rentals) */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.fleet-card {
  background: var(--white);
  border-radius: 0;
  padding: 24px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--red);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.fleet-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.fleet-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

/* About page */
.about-stats-band {
  padding-top: 56px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-stat {
  background: var(--white);
  border-radius: 0;
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--red);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-stat .num {
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--red);
  display: block;
  margin-bottom: 4px;
}

.about-stat .label {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

.about-story-section {
  padding-top: 64px;
}

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

.about-photo {
  position: relative;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--navy);
  z-index: 0;
}

.about-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.about-text .eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 36px;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}

.placeholder-note {
  background: var(--section-bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 14px;
  color: #666;
  margin-top: 24px;
}

/* Full gallery — mosaic with a large featured photo */
.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}

.gallery-grid-full .gallery-item {
  cursor: zoom-in;
}

.gallery-grid-full .gallery-item img {
  height: 100%;
}

.gallery-grid-full .gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid-full .gallery-item.wide {
  grid-column: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22,35,58,0.94);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  box-shadow: var(--shadow-lg);
  border-bottom: 5px solid var(--red);
}

.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 16px;
}

.lightbox button:hover {
  color: var(--red);
}

.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev  { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next  { right: 8px; top: 50%; transform: translateY(-50%); }

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

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.contact-info-list .info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--section-bg);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-list .info-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-list .label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 2px;
}

.map-embed {
  border-radius: 0;
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form {
  background: var(--white);
  border-radius: 0;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--red);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  color: var(--body-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 13px;
  color: #777;
  margin-top: 14px;
}

.form-status {
  font-size: 14px;
  margin-top: 14px;
  display: none;
}

.form-status.show {
  display: block;
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--navy-dark);
  color: #C9D2E0;
  padding-top: 48px;
  padding-bottom: 28px;
  font-size: 14px;
}

.footer-stripe {
  position: relative;
  top: -38px; /* nudged ~1cm up without moving the footer content below it */
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--red) 0, var(--red) 14px, transparent 14px, transparent 28px);
  opacity: 0.9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid a {
  color: #C9D2E0;
}

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

.footer-logo img {
  height: 48px;
  margin-bottom: 14px;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8794A8;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid,
  .gallery-grid-full,
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    flex-direction: column;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-story {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero .container {
    padding-bottom: 76px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .main-nav a::after {
    display: none;
  }

  .site-header .container {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero .container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

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

  .gallery-grid,
  .gallery-grid-full,
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid-full {
    grid-auto-rows: 220px;
  }

  .gallery-grid-full .gallery-item.featured,
  .gallery-grid-full .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

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

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    margin-right: 0;
    width: 100%;
    justify-content: center;
    padding: 14px 0;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .page-header h1 {
    font-size: 30px;
  }

  .service-detail {
    flex-direction: column;
    gap: 14px;
  }

  .about-stats {
    gap: 12px;
  }

  .about-stat {
    padding: 18px 16px;
  }

  .about-stat .num {
    font-size: 28px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-photo::before {
    inset: 12px -12px -12px 12px;
  }

  .contact-form {
    padding: 22px;
  }
}
