/*
Theme Name: Shakes Mobile Detailing
Theme URI: https://shakesdetailing.com
Author: Ali Shaikh
Author URI: https://shakesdetailing.com
Description: Custom WordPress theme for Shake's Mobile Detailing - Irving, TX. Dark premium mobile auto detailing theme with AOS animations, before/after sliders, Calendly integration, and full SEO markup.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
License: All Rights Reserved
License URI: https://shakesdetailing.com
Text Domain: shakes-detailing
Tags: auto-detailing, mobile, dark, custom-theme
*/

:root {
  --black: #0a0a0a;
  --navy: #1a1a2e;
  --panel: #11121a;
  --panel-soft: #171925;
  --blue: #1e90ff;
  --blue-dark: #0868ca;
  --white: #ffffff;
  --muted: #c6c9d4;
  --line: rgba(255, 255, 255, 0.12);
  --red: #ff4c4c;
  --gold: #ffd166;
  --green: #15803d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: 3rem;
  max-width: 980px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 82px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-logo img,
.footer-logo img {
  display: block;
  object-fit: contain;
}

.brand-logo img {
  width: auto;
  height: 64px;
  max-width: 96px;
}

.footer-logo {
  margin-bottom: 0.8rem;
}

.footer-logo img {
  width: 145px;
  height: auto;
}

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

.nav-menu a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"],
.text-link,
.site-footer a:hover,
.booking-note a {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

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

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

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: #e6b800;
  border-color: #e6b800;
  color: var(--black);
}

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

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 820px) {
  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a:not(.btn) {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-menu .btn {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .nav-book-mobile {
    display: inline-flex;
  }
}

@media (min-width: 821px) {
  .nav-book-mobile {
    display: none !important;
  }
}

.section {
  padding: 5rem 0;
}

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

.section-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 720px;
}

.section-inner.wide {
  max-width: 1400px;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading p {
  max-width: 640px;
  margin: 0 auto;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero {
  background: var(--panel);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-foam {
  background-image: url("assets/hero-lamborghini-wide.jpg");
  background-size: cover;
  background-position: center;
}

.hero-foam::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.55) 60%,
    transparent 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-bar span {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-hero {
  background: var(--panel);
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.compact-hero {
  padding: 3rem 0 2.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.service-card.highlighted {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.07), var(--panel-soft));
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card .price {
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Montserrat", Arial, sans-serif;
  margin-bottom: 0.75rem;
}

.service-card p:not(.price) {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.badge.red {
  background: rgba(255, 76, 76, 0.18);
  color: var(--red);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.comparison-grid.gallery-comparisons {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.comparison-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.ba-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  --position: 50%;
}

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

.ba-before {
  z-index: 1;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  width: var(--position);
  overflow: hidden;
  z-index: 2;
}

.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
}

.ba-label {
  position: absolute;
  bottom: 0.75rem;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
}

.ba-label-after {
  left: 0.75rem;
}

.ba-label-before {
  right: 0.75rem;
}

.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  transform: translateX(-50%);
  width: 3px;
  background: var(--white);
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle {
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  cursor: ew-resize;
  width: 100%;
  height: 100%;
}

.caption {
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--panel-soft);
  border-top: 1px solid var(--line);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem 1.5rem;
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-card .reviewer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.review-section {
  background: var(--panel-soft);
}

.review-cta {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.04), transparent);
}

.review-cta .gold-icon {
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.review-cta h2 {
  margin-bottom: 0.75rem;
}

.review-cta p {
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

.review-cta small {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.area-pills span {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-section {
  background: var(--panel);
}

.calendly-shell {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  max-width: 900px;
  margin: 0 auto;
}

.booking-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-grid > div:first-child p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-grid h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer address a {
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-links a {
  font-size: 0.9rem;
  color: var(--muted);
}

.center-cta {
  text-align: center;
}

.center-cta .btn + .btn,
.center-cta .btn + p,
.center-cta p + .btn {
  margin-top: 1rem;
}

.center-cta p {
  margin-bottom: 0.75rem;
}

.final-cta {
  background: var(--navy);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card.featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.06), var(--panel-soft));
}

.pricing-card h3 {
  margin: 0;
}

.pricing-card .starting {
  margin: 0;
}

.pricing-card .starting strong {
  color: var(--blue);
  font-size: 1.5rem;
  font-family: "Montserrat", Arial, sans-serif;
}

.pricing-card p:not(.starting) {
  font-size: 0.95rem;
  margin: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check-list li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 1.4rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.check-list.compact li {
  font-size: 0.9rem;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list strong {
  color: var(--white);
  font-weight: 700;
}

.add-ons {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--line);
}

.add-ons h4 {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.add-ons p {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.add-ons small {
  color: var(--muted);
  font-size: 0.8rem;
}

.add-ons small a {
  color: var(--blue);
}

.intro-copy {
  font-size: 1rem;
  text-align: center;
}

.intro-copy a {
  color: var(--blue);
}

.maintenance-jump {
  padding: 0.75rem 1.25rem;
  background: var(--panel-soft);
  border-radius: 8px;
  border: 1px solid var(--line);
  display: inline-block;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-grid.four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.vehicle-grid .feature-card {
  text-align: center;
}

.feature-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}

.feature-card .card-icon {
  display: block;
  font-size: 1.8rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.vehicle-icon {
  display: block;
  width: 80px;
  height: 40px;
  background: var(--blue);
  border-radius: 8px;
  margin: 0 auto 1rem;
  clip-path: polygon(8% 60%, 25% 30%, 75% 30%, 92% 60%, 100% 60%, 100% 80%, 85% 80%, 80% 100%, 60% 100%, 55% 80%, 45% 80%, 40% 100%, 20% 100%, 15% 80%, 0 80%, 0 60%);
}

.vehicle-icon.suv {
  clip-path: polygon(5% 45%, 20% 20%, 80% 20%, 95% 45%, 100% 45%, 100% 80%, 85% 80%, 80% 100%, 60% 100%, 55% 80%, 45% 80%, 40% 100%, 20% 100%, 15% 80%, 0 80%, 0 45%);
  height: 48px;
}

.vehicle-icon.truck {
  clip-path: polygon(0 30%, 0 80%, 15% 80%, 20% 100%, 40% 100%, 45% 80%, 80% 80%, 80% 10%, 100% 10%, 100% 80%, 85% 80%, 90% 100%, 70% 100%, 65% 80%, 0 80%);
  height: 48px;
}

.maintenance-section .gold-icon {
  display: block;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.perk-callout {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(255, 209, 102, 0.02));
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.perk-callout strong {
  color: var(--gold);
  font-size: 0.95rem;
}

.perk-callout span {
  font-size: 0.9rem;
  color: var(--muted);
}

.perk-callout a {
  color: var(--blue);
}

.plan-tabs {
  margin-bottom: 3rem;
}

.tab-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.tab-button {
  padding: 0.65rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.tab-button.active,
.tab-button:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.plan-panel {
  display: none;
}

.plan-panel.active {
  display: block;
}

.plan-panel-header {
  margin-bottom: 1.5rem;
}

.plan-panel-header h3 {
  margin-bottom: 0.5rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

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

th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--panel-soft);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 0.75rem 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  background: var(--panel-soft);
}

.comparison-table h3 {
  margin-bottom: 1.25rem;
}

.comparison-note {
  font-size: 0.85rem;
  font-style: italic;
  margin: 0.75rem 0 1.25rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-soft);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--blue);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.stat-card span {
  font-size: 0.875rem;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.photo-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.photo-grid figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.photo-grid figcaption {
  padding: 0.6rem 0.875rem;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero {
    min-height: 75vh;
    padding: 4rem 0;
  }

  .section {
    padding: 3.5rem 0;
  }

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

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

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

  .hero-actions {
    flex-direction: column;
  }

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