:root {
  --bg: #050505;
  --bg-elev: #0e0e0e;
  --bg-card: #141414;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --red: #e50914;
  --red-2: #ff2d37;
  --silver: #d6d6d6;
  --line: #2b2b2b;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 12% 8%, #1b1b1b 0, #080808 40%, #050505 100%);
  color: var(--text);
  font-family: "Barlow", "Segoe UI", sans-serif;
}

body.sample-page {
  min-height: 100vh;
  position: relative;
}

body.sample-page::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(46vw, 520px);
  aspect-ratio: 1 / 1;
  background: url("./logo.jpg") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

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

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.wrap,
.top-strip,
.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.top-strip {
  background: linear-gradient(100deg, var(--red), var(--red-2));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.top-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

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

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  background: #111;
  box-shadow: var(--shadow);
}

.brand strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand span {
  display: block;
  color: var(--silver);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-link {
  font-weight: 700;
  color: #e7eceb;
  font-size: 0.95rem;
  padding-bottom: 0.18rem;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--red-2);
}

.nav-link[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--red-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(100deg, var(--red), var(--red-2));
  color: #fff;
  box-shadow: 0 8px 26px rgba(229, 9, 20, 0.32);
}

.btn-primary[aria-current="page"] {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75), 0 8px 26px rgba(229, 9, 20, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f5f5f5;
}

.hero {
  padding: 2.1rem 0 1.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.video-card,
.content-card,
.why-card,
.faq-shell,
.carousel-shell,
.page-shell {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 1.5rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #191919 0%, #0e0e0e 100%);
  border: 1px solid #3a3a3a;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--red-2);
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  margin: 0 0 0.85rem;
  line-height: 1.02;
}

h1, h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  font-size: 1.18rem;
}

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

.hero-copy p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.hero-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.video-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  min-height: 380px;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 20, 0.24), rgba(8, 18, 20, 0.72)),
    url("./assets/optimized/audi.jpg") center / cover no-repeat;
}

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

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.7));
  pointer-events: none;
}

.video-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.5rem;
}

.video-badge {
  align-self: flex-start;
  margin-bottom: auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: #fff;
  font-weight: 700;
}

.video-play {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.video-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 62ch;
  margin-bottom: 1.3rem;
}

.quote-section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  align-items: start;
}

.quote-card {
  background: linear-gradient(180deg, #191919 0%, #0e0e0e 100%);
  border: 1px solid #3a3a3a;
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.quote-card h3 {
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.62rem;
  margin-top: 0.8rem;
}

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

label {
  font-size: 0.83rem;
  color: #f4f4f4;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #454545;
  background: #090909;
  color: #fff;
  border-radius: 10px;
  min-height: 46px;
  padding: 0.68rem 0.75rem;
  font: inherit;
}

textarea {
  min-height: 94px;
  resize: vertical;
}

.micro {
  font-size: 0.8rem;
  color: #c9c9c9;
  margin-top: 0.42rem;
}

.form-success-bubble {
  display: none;
  margin-top: 0.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(87, 209, 125, 0.38);
  background: rgba(36, 112, 58, 0.28);
  color: #c9f7d8;
  font-weight: 700;
}

.form-success-bubble.is-visible {
  display: block;
}

.form-submit-frame {
  width: 0;
  height: 0;
  border: 0;
  visibility: hidden;
}

.service-grid,
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.content-card,
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.content-card {
  display: flex;
  flex-direction: column;
}

.content-card-popular {
  border-color: var(--red-2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(229, 9, 20, 0.18);
}

.card-media {
  min-height: 170px;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #080808;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.core-detail-media {
  background-size: cover;
  background-position: center;
}

.card-list,
.why-list {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  color: #d0d0d0;
}

.card-list li,
.why-list li {
  margin-bottom: 0.45rem;
}

.content-card h3,
.why-card h3 {
  color: #fff;
}

.content-card p,
.why-card p {
  color: var(--muted);
}

.content-card .card-list,
.why-card .why-list {
  color: #d0d0d0;
}

.content-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.carousel-shell {
  background: #101010;
  border: 1px solid #2c2c2c;
  overflow: hidden;
  padding: 1.2rem;
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.carousel-window {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.55s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem 0.9rem;
}

.review-card:first-child {
  border-left: none;
  padding-left: 0;
}

.review-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
}

.review-stars {
  color: var(--red-2);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.review-card p {
  color: #dbe4e2;
}

.google-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d9d0ca;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 1rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-2);
}

.photo-rotator {
  display: grid;
  justify-items: center;
  gap: 1rem;
  background: #101010;
  border: 1px solid #2c2c2c;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.photo-rotator-frame {
  position: relative;
  width: min(100%, 920px);
  min-height: 620px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080808;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-rotator-pair {
  display: flex;
  gap: 0.9rem;
  align-items: stretch;
  height: 100%;
  padding: 0.9rem;
  will-change: transform;
  transition: transform 0.65s ease;
}

.photo-rotator-slide {
  flex: 0 0 calc((100% - 0.9rem) / 2);
  min-width: 0;
  display: flex;
}

.photo-rotator-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #080808;
  border-radius: 14px;
}

.photo-rotator-button {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 5, 0.46);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.photo-rotator-button-left {
  left: 0.9rem;
}

.photo-rotator-button-right {
  right: 0.9rem;
}

.faq-shell {
  background: #111;
  border: 1px solid var(--line);
  padding: 1.1rem;
  color: var(--text);
}

details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

details:first-of-type {
  border-top: none;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #f4f4f4;
}

summary::-webkit-details-marker { display: none; }

details p {
  margin-top: 0.65rem;
  color: #cdcdcd;
}

.cta-box {
  text-align: center;
  padding: 1.8rem;
  background: linear-gradient(105deg, #1a0b0d, #0b0b0b);
  border: 1px solid #3a1d1f;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
}

.cta-box h2,
.cta-box p {
  color: var(--text);
}

.why-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.why-media-frame {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  min-height: 260px;
}

.why-media {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
}

.why-copy {
  padding-top: 1rem;
}

.page-shell {
  padding: 3rem 0 4rem;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.page-hero-stacked {
  grid-template-columns: 1fr;
}

.page-hero-stacked .page-hero-copy {
  min-height: 0;
}

.page-hero-stacked .page-hero-media {
  min-height: 420px;
  width: 100%;
}


.page-hero-copy,
.page-hero-media,
.page-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero-copy {
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.9)),
    url("./assets/optimized/audi-foam.jpg") center / contain no-repeat;
  border: 1px solid #3a3a3a;
}

.page-hero-title-wide {
  max-width: none;
  font-size: clamp(1.8rem, 4vw, 3.15rem);
}

.hero-copy .page-hero-title-wide,
.page-hero-copy .page-hero-title-wide {
  max-width: none;
  font-size: clamp(1.85rem, 4.3vw, 3.35rem);
}

.page-hero-media {
  min-height: 360px;
  background-color: #080808;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.about-page-hero .page-hero-copy,
.about-page-hero .page-hero-media {
  background-size: cover;
  background-position: center;
}

.about-page-hero-media {
  background-position: center 22%;
}

.contact-page-hero .page-hero-copy {
  background: linear-gradient(180deg, #191919 0%, #0e0e0e 100%);
}

.page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vertical-services {
  display: grid;
  gap: 1.2rem;
}

.maintenance-stack {
  display: grid;
  gap: 1.2rem;
}

.maintenance-panel {
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(105deg, rgba(26, 11, 13, 0.78), rgba(11, 11, 11, 0.94)),
    var(--bg-card);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
}

.maintenance-panel-popular {
  border-color: var(--red-2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(229, 9, 20, 0.2);
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--red), var(--red-2));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
}

.maintenance-panel h3 {
  margin-top: 1rem;
}

.maintenance-panel .list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #d0d0d0;
}

.maintenance-panel .list li {
  margin-bottom: 0.5rem;
}

.service-panel {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-panel-reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.service-panel-reverse .service-panel-media {
  grid-column: 2;
  grid-row: 1;
}

.service-panel-reverse .service-panel-copy {
  grid-column: 1;
  grid-row: 1;
}

.service-panel-media {
  min-height: 100%;
  background-color: #080808;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.service-panel-copy {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-panel-copy .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.service-panel-copy .list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #d0d0d0;
}

.service-panel-copy .list li {
  margin-bottom: 0.5rem;
}

.service-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.2rem 0 1rem;
}

.service-starting-price {
  align-self: flex-start;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(229, 9, 20, 0.18), rgba(255, 45, 55, 0.24));
  border: 1px solid rgba(255, 45, 55, 0.42);
  color: var(--red-2);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 18px rgba(255, 45, 55, 0.18);
}

.service-price-cap {
  background: linear-gradient(100deg, rgba(229, 9, 20, 0.18), rgba(255, 45, 55, 0.24));
  border-color: rgba(255, 45, 55, 0.42);
  color: var(--red-2);
}

.service-note {
  border-left: 3px solid var(--red-2);
  padding-left: 0.8rem;
  color: var(--silver);
  font-weight: 600;
}

.page-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.25rem;
  color: var(--text);
}

.page-card h2,
.page-card h3 {
  color: #fff;
}

.page-card p,
.page-card li {
  color: #d0d0d0;
}

.contact-action-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.2rem;
}

.contact-info-block + .contact-info-block {
  margin-top: 1.1rem;
}

.contact-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #d0d0d0;
}

.contact-list li {
  margin-bottom: 0.45rem;
}

.anchor-target {
  scroll-margin-top: 110px;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 2.4rem 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 45, 55, 0.04), rgba(5, 5, 5, 0) 120px),
    #060606;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  margin: 0 0 1.15rem;
  color: #fff;
  font-family: "Bebas Neue", "Segoe UI", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.footer-links {
  display: grid;
  gap: 0.9rem;
}

.footer-links a,
.footer-stack a,
.footer-social {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a {
  width: fit-content;
  padding-bottom: 0.22rem;
  border-bottom: 2px solid transparent;
  font-size: 1.08rem;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-stack a:hover,
.footer-stack a:focus-visible,
.footer-social:hover,
.footer-social:focus-visible {
  color: var(--red-2);
  border-color: var(--red-2);
}

.footer-stack {
  display: grid;
  gap: 1rem;
}

.footer-stack p,
.footer-hours p {
  margin: 0;
  color: #d4d4d4;
  line-height: 1.55;
}

.footer-hours {
  display: grid;
  gap: 0.45rem;
}

.footer-hours p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.3rem;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-payments span {
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding: 1rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  margin: 0;
  color: #9d9d9d;
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ai-chat {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 0.7rem;
  font-family: "Barlow", "Segoe UI", sans-serif;
}

.ai-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.85rem 1.05rem;
  color: #fff;
  background: linear-gradient(100deg, var(--red), var(--red-2));
  box-shadow: 0 14px 32px rgba(229, 9, 20, 0.36), 0 14px 42px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ai-chat-toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.ai-chat-panel {
  width: min(390px, calc(100vw - 2rem));
  max-height: min(680px, calc(100vh - 6.5rem));
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto auto;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 12, 0.98);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.ai-chat-panel[hidden] {
  display: none;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(100deg, #191919, #101010);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.ai-chat-header strong,
.ai-chat-header span {
  display: block;
}

.ai-chat-header strong {
  color: #fff;
  font-size: 1rem;
}

.ai-chat-header span {
  color: #cfcfcf;
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.ai-chat-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
}

.ai-chat-log {
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.ai-chat-message {
  max-width: 88%;
  padding: 0.72rem 0.82rem;
  border-radius: 14px;
  line-height: 1.35;
  font-size: 0.95rem;
}

.ai-chat-message-bot {
  align-self: flex-start;
  color: #ececec;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-chat-message-user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(100deg, var(--red), var(--red-2));
}

.ai-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 0.8rem;
}

.ai-chat-chip {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 0.7rem;
}

.ai-chat-chip:hover,
.ai-chat-chip:focus-visible {
  border-color: rgba(255, 45, 55, 0.65);
  background: rgba(229, 9, 20, 0.16);
}

.ai-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #0b0b0b;
}

.ai-chat-form input {
  min-width: 0;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: #171717;
  font: inherit;
  padding: 0.8rem 0.95rem;
}

.ai-chat-form input::placeholder {
  color: #8f8f8f;
}

.ai-chat-form button {
  min-height: 44px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, var(--red), var(--red-2));
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.75rem 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .service-grid,
  .quote-section-grid,
  .page-hero,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .service-panel {
    grid-template-columns: 1fr;
  }

  .service-panel-reverse .service-panel-media,
  .service-panel-reverse .service-panel-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .service-panel-media {
    min-height: 260px;
  }

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

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

  .review-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .photo-rotator-frame {
    width: min(100%, 820px);
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
  }

  .service-grid,
  .why-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .service-panel {
    min-height: auto;
  }

  .review-card {
    flex-basis: 100%;
  }

  .footer-heading {
    font-size: 1.7rem;
  }

  .photo-rotator {
    padding: 1rem;
  }

  .photo-rotator-frame {
    width: 100%;
    max-width: 540px;
    min-height: 760px;
  }

  .photo-rotator-pair {
    gap: 0.75rem;
  }

  .photo-rotator-slide {
    flex-basis: 100%;
  }

  .photo-rotator-button-left {
    left: 0.65rem;
  }

  .photo-rotator-button-right {
    right: 0.65rem;
  }

  .ai-chat {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .ai-chat-panel {
    width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 5.6rem);
  }

  .ai-chat-message {
    max-width: 94%;
  }
}
