/* ==========================================================================
   Connect Telecom — style.css
   Premium, Apple/Stripe-geïnspireerde stylesheet met CSS custom properties.
   ========================================================================== */

/* ---------- Root variables ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-bg-alt-2: #fafafa;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-border: #e5e5ea;
  --color-card-bg: #ffffff;

  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-accent-light: #3b82f6;
  --color-danger: #dc2626;
  --color-success: #16a34a;

  --shadow-sm: 0 2px 10px rgba(29, 29, 31, 0.06);
  --shadow-md: 0 10px 30px rgba(29, 29, 31, 0.08);
  --shadow-lg: 0 20px 50px rgba(29, 29, 31, 0.14);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  animation: pulse 1.2s ease-in-out infinite;
}

.preloader-mark::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.7; }
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: 112px 0;
}

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

.eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.text-accent {
  color: var(--color-accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.logo-img-full {
  height: 24px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  display: inline-flex;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

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

.hero-trust {
  display: flex;
  gap: 40px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item strong {
  font-size: 1.3rem;
  font-weight: 800;
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Hero visual / phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
  will-change: transform;
}

.scroll-video-stage {
  position: relative;
  width: min(560px, 94vw);
  aspect-ratio: 3 / 4;
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-alt);
}

.scroll-video-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Dekt het watermerk rechtsonder in de bronvideo subtiel af. */
.scroll-video-stage::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36%;
  height: 18%;
  background: radial-gradient(circle at 100% 100%, #ffffff 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 2;
}


/* ---------- Cards grid ---------- */
.cards-grid {
  display: grid;
  gap: 28px;
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.repair-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Feature cards (Waarom wij) ---------- */
.feature-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-accent) 12%, transparent), color-mix(in srgb, var(--color-accent-light) 12%, transparent));
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ---------- Repair cards ---------- */
.repair-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.repair-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.repair-card .icon-badge {
  margin: 0 0 20px;
}

.repair-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.repair-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.repair-cta {
  align-self: flex-start;
}

/* ---------- Pricing wizard ---------- */
.price-selector {
  display: flex;
  flex-direction: column;
  gap: 36px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.selector-step[hidden] {
  display: none;
}

.selector-step h3 {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-right: 12px;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.model-select {
  width: 100%;
  padding: 15px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-alt-2);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.model-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 12%, transparent);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg-alt-2);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition), transform var(--transition);
}

.pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pill.active {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.price-result {
  text-align: center;
  padding: 36px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  animation: fadeScale 0.4s ease;
}

.price-result-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.price-result-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.price-result-desc {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.price-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---------- Appointment form ---------- */
.form-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-alt-2);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 12%, transparent);
  background-color: var(--color-bg);
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: var(--color-danger);
}

.field-error {
  font-size: 0.8rem;
  color: var(--color-danger);
  min-height: 1em;
}

.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-danger) 8%, transparent);
  color: var(--color-danger);
  font-size: 0.88rem;
  text-align: center;
}

.form-error a {
  color: inherit;
  text-decoration: underline;
}

.form-submit {
  margin-top: 8px;
}

.form-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  text-align: center;
  padding: 32px 0;
  animation: fadeScale 0.5s ease;
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-success) 12%, transparent);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--color-text-muted);
  max-width: 420px;
  margin: 0 auto 24px;
}

/* ---------- Reviews ---------- */
.review-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #f5b400;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.98rem;
  margin-bottom: 24px;
  color: var(--color-text);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.92rem;
}

.review-date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ---------- FAQ Accordion ---------- */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
}

.accordion-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-accent);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}

.accordion-panel p {
  padding-bottom: 22px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 640px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-list p,
.contact-list a {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.contact-list a:hover {
  color: var(--color-accent);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  min-height: 340px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.social-icon:hover {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ---------- Floating action buttons ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 90;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
}

/* ---------- Fade-in scroll animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal pages (algemene voorwaarden, privacy) ---------- */
.legal-hero {
  padding: 64px 0 24px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 60%);
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.legal-content {
  padding-top: 48px;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-body li {
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .four-col,
  .repair-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-map {
    min-height: 300px;
  }

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

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .scroll-video-stage {
    width: min(360px, 82vw);
  }

  .form-card {
    padding: 32px 24px;
  }

  .price-selector {
    padding: 28px 24px;
    gap: 28px;
  }

  .price-result-value {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .three-col,
  .four-col,
  .repair-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 72px 0;
  }

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

  .footer-brand p {
    margin-inline: auto;
  }

  .social-links {
    justify-content: center;
  }

  .contact-info {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-trust {
    gap: 24px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}
