/* ============================================
   TALLADEGA TOWING & ROADSIDE ASSISTANCE
   Premium Dark-Luxury Design System
   Mobile-First Responsive
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0c0e14;
  --bg-secondary: #11141c;
  --bg-card: #171b27;
  --bg-card-hover: #1d2233;
  --bg-input: #141822;

  --text-primary: #f0ece6;
  --text-secondary: #918b84;
  --text-muted: #5e5953;

  --accent: #c4933f;
  --accent-hover: #d4a34f;
  --accent-muted: rgba(196, 147, 63, 0.12);
  --accent-subtle: rgba(196, 147, 63, 0.06);

  --overlay-dark: rgba(12, 14, 20, 0.65);
  --overlay-gradient: linear-gradient(
    to bottom,
    rgba(12, 14, 20, 0.4) 0%,
    rgba(12, 14, 20, 0.7) 60%,
    rgba(12, 14, 20, 0.92) 100%
  );

  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(196, 147, 63, 0.25);

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.45);

  --max-width: 1200px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration: 200ms;
  --duration-slow: 300ms;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Accent Bar --- */
.accent-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent));
  z-index: 1001;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.375rem); }

p {
  color: var(--text-secondary);
  max-width: 640px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background-color: var(--accent);
  color: #0c0e14;
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 147, 63, 0.3);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.04);
}

.btn--hero-emphasis {
  border-color: var(--border-accent);
  background-color: rgba(196, 147, 63, 0.12);
  color: var(--text-primary);
}

.btn--hero-emphasis:hover {
  border-color: rgba(196, 147, 63, 0.45);
  background-color: rgba(196, 147, 63, 0.2);
  box-shadow: 0 4px 16px rgba(196, 147, 63, 0.2);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
  min-height: 52px;
}

.btn--full {
  width: 100%;
}

.btn__icon {
  flex-shrink: 0;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--duration) var(--ease);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.header__logo-img {
  height: 48px;
  width: auto;
}

.header__brand-text {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: 150px;
}

.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: rgba(12, 14, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-slow) var(--ease),
              visibility var(--duration-slow) var(--ease);
  z-index: 5;
}

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

.header__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.header__link {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  letter-spacing: 0.02em;
}

.header__link:hover {
  color: var(--text-primary);
}

.header__cta {
  font-size: 1rem;
}

.header__menu-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: all var(--duration) var(--ease);
}

.header__menu-icon {
  position: relative;
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.header__menu-icon::before {
  top: -7px;
}

.header__menu-icon::after {
  top: 7px;
}

.header__menu-btn.is-active .header__menu-icon {
  background-color: transparent;
}

.header__menu-btn.is-active .header__menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.header__menu-btn.is-active .header__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 14, 20, 0.55) 0%,
    rgba(12, 14, 20, 0.75) 50%,
    rgba(12, 14, 20, 0.93) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 20px 80px;
}

.hero__content {
  max-width: 680px;
}

.hero__side-card {
  display: none;
}

.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero__title {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 7vw, 3.75rem);
  line-height: 1.15;
}

.hero__subtitle {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

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

.hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  text-align: center;
}

.hero__trust-item svg {
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

.hero__trust-divider {
  display: none;
}

.hero__scroll {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: heroFloat 2.5s ease-in-out infinite;
  z-index: 1;
}

@media (min-width: 480px) {
  .hero__title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
  }

  .hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    width: auto;
  }

  .hero__trust {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .hero__trust-divider {
    display: block;
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .hero__scroll {
    display: block;
  }
}

.hero__card-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero__card-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.hero__card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero__card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__card-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.hero__card-key {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero__card-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  text-align: right;
  max-width: 210px;
}

.hero__card-link {
  color: var(--accent);
}

.hero__card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@keyframes heroFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

/* --- Sections --- */
.section {
  padding: clamp(64px, 10vw, 112px) 20px;
}

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

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  margin-bottom: 16px;
}

.section__desc {
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(0.9375rem, 2vw, 1rem);
}

/* --- Cards --- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 32px);
  transition: border-color var(--duration) var(--ease),
              background-color var(--duration) var(--ease);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: var(--bg-card-hover);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--accent-muted);
  color: var(--accent);
  margin-bottom: 20px;
}

.card__title {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --- Service Cards --- */
.card--service {
  display: flex;
  flex-direction: column;
}

/* --- Testimonial Cards --- */
.card--testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card__stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.card__quote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-primary);
  flex: 1;
}

.card__author {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* --- Carousel (Mobile) --- */
.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 20px;
  padding: 0 20px 8px;
  margin: 0 -20px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__track {
  scrollbar-width: none;
}

.carousel__item {
  flex: 0 0 88vw;
  max-width: 88vw;
  scroll-snap-align: start;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 24px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.12);
  transition: all var(--duration) var(--ease);
  padding: 0;
  min-height: auto;
}

.carousel__dot.active {
  background-color: var(--accent);
  width: 24px;
}

/* --- About --- */
.about__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 6vw, 64px);
}

.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.about__content .section__label,
.about__content .section__title {
  text-align: left;
}

.about__text {
  margin-bottom: 20px;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  line-height: 1.75;
}

.about__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.about__stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border);
}

/* --- Works --- */
.works__item {
  position: relative;
}

.works__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.works__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.works__item:hover .works__image {
  transform: scale(1.03);
}

.works__caption {
  padding-top: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* --- Contact --- */
.contact__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 6vw, 48px);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.card--contact {
  padding: 20px;
}

.contact__detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--accent-muted);
  color: var(--accent);
  flex-shrink: 0;
}

.contact__detail-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact__detail-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact__detail-link {
  font-size: 0.9375rem;
  color: var(--accent);
  transition: color var(--duration) var(--ease);
}

.contact__detail-link:hover {
  color: var(--accent-hover);
}

.contact__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact__map-embed {
  display: block;
  border: 0;
  border-radius: var(--radius-md);
}

/* --- Form --- */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  min-height: 52px;
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23918b84' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 8vw, 80px) 20px clamp(32px, 5vw, 48px);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--border);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
}

a.footer__link:hover {
  color: var(--text-primary);
}

.footer__link--static {
  cursor: default;
}

.footer__bottom {
  padding-top: clamp(24px, 4vw, 32px);
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 auto;
}

/* --- Scroll Reveal Animation --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TABLET — min-width: 768px
   ============================================ */
@media (min-width: 768px) {
  .header__inner {
    padding: 14px 32px;
  }

  .header__logo-img {
    height: 52px;
  }

  .header__brand-text {
    font-size: 1.02rem;
    max-width: none;
  }

  .hero__inner {
    padding: 140px 32px 80px;
  }

  .hero__overlay {
    background: var(--overlay-gradient);
  }

  .section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .carousel__track {
    scroll-padding-left: 32px;
    padding-left: 32px;
    padding-right: 32px;
    margin: 0 -32px;
  }

  .carousel__item {
    flex: 0 0 46vw;
    max-width: 46vw;
  }

  .about__grid {
    flex-direction: row;
    align-items: center;
  }

  .about__image-wrap {
    flex: 1;
    min-width: 0;
  }

  .about__content {
    flex: 1;
    min-width: 0;
  }

  .contact__grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .contact__info {
    flex: 1;
    min-width: 0;
  }

  .contact__form {
    flex: 1;
    min-width: 0;
  }

  .footer__top {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: left;
    gap: 48px;
  }

  .footer__brand {
    flex: 1 0 280px;
  }

  .footer__logo {
    margin-left: 0;
    margin-right: 0;
  }

  .footer__links-group {
    flex: 0 0 auto;
    min-width: 140px;
  }

  .footer__links {
    align-items: flex-start;
  }
}

/* ============================================
   DESKTOP — min-width: 1024px
   ============================================ */
@media (min-width: 1024px) {
  .header__inner {
    padding: 16px 40px;
  }

  .header__nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
  }

  .header__links {
    flex-direction: row;
    gap: 32px;
  }

  .header__link {
    font-size: 0.9375rem;
  }

  .header__brand-text {
    font-size: 1.08rem;
  }

  .header__cta {
    font-size: 0.9375rem;
  }

  .header__menu-btn {
    display: none;
  }

  .hero {
    min-height: 100vh;
    align-items: center;
  }

  .hero__inner {
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: end;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__side-card {
    display: block;
    background-color: rgba(17, 20, 28, 0.86);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
  }

  .section {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Services grid */
  .services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }

  .services__grid .carousel__item {
    flex: auto;
    max-width: none;
    scroll-snap-align: none;
  }

  .services .carousel__dots {
    display: none;
  }

  /* Works grid */
  .works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }

  .works__grid .carousel__item {
    flex: auto;
    max-width: none;
    scroll-snap-align: none;
  }

  .works .carousel__dots {
    display: none;
  }

  /* Testimonials grid */
  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }

  .testimonials__grid .carousel__item {
    flex: auto;
    max-width: none;
    scroll-snap-align: none;
  }

  .testimonials .carousel__dots {
    display: none;
  }

  /* About */
  .about__grid {
    gap: 72px;
  }

  .about__image {
    aspect-ratio: 4 / 3;
  }

  /* Contact */
  .contact__grid {
    gap: 64px;
  }

  /* Footer */
  .footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer__top {
    flex-wrap: nowrap;
    gap: 64px;
  }

  .footer__brand {
    flex: 0 0 300px;
  }

  .footer__links-group {
    flex: 1;
  }
}

/* ============================================
   LARGE DESKTOP — min-width: 1280px
   ============================================ */
@media (min-width: 1280px) {
  .hero__content {
    max-width: 720px;
  }

  .hero__title {
    font-size: 3.75rem;
  }
}
