/* =========================================================
   Autowerks Automotive — Premium European redesign
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-elev: #141414;
  --bg-elev-2: #1c1c1c;
  --bg-light: #f7f5f2;
  --bg-white: #ffffff;

  --text-primary: #0a0a0a;
  --text-secondary: #5a5a5a;
  --text-light: #ffffff;
  --text-muted: #a8a8a8;
  --text-dim: #6f6f6f;

  --accent: #c8102e;
  --accent-hover: #a80d26;
  --accent-soft: rgba(200, 16, 46, 0.1);

  --border: #e5e3df;
  --border-dark: #232323;

  --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --container: 1280px;
  --container-narrow: 1080px;
  --radius: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 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: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; letter-spacing: -0.015em; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 60ch;
}
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-light { background: var(--bg-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease-smooth), padding 0.3s var(--ease-smooth);
  padding: 1.25rem 0;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.solid {
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: saturate(180%) blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  background: #fff;
  padding: 5px 10px;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.footer-brand .brand-logo { height: 44px; padding: 6px 12px; }
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.brand-text { line-height: 1; }

.main-nav {
  display: flex;
  gap: 2.25rem;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}
.header-cta {
  display: flex; align-items: center; gap: 1rem;
}
.phone-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.phone-link::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(200, 16, 46, 0.05); }
}

.menu-toggle {
  display: none;
  width: 28px; height: 22px;
  position: relative;
  z-index: 110;
}
.menu-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease-smooth), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(200, 16, 46, 0.5);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  background: #fff;
  color: var(--text-primary);
  border-color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.btn-ghost:hover {
  background: var(--text-primary);
  color: #fff;
}
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.3s var(--ease-smooth);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
  padding-top: 7rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 50%, rgba(10,10,10,0.95) 100%),
    url('img/dynotune.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 1.25rem 0 1.75rem;
}
.hero h1 .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 56ch;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-meta {
  position: absolute;
  bottom: 3rem;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.hero-meta-inner {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-meta-item small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.hero-meta-item strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.scroll-cue {
  position: absolute;
  right: 2rem;
  bottom: 3rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 50px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 11rem 0 5rem;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 100%),
    url('img/header-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); margin: 0.75rem 0 1rem; }
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.6rem; opacity: 0.4; }

/* ---------- Section header ---------- */
.section-head { margin-bottom: 4rem; }
.section-head h2 { margin-top: 0.75rem; max-width: 22ch; }
.section-head p { margin-top: 1.25rem; }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.section-dark .services-grid { background: var(--border-dark); border-color: var(--border-dark); }

.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
  cursor: pointer;
  overflow: hidden;
}
.section-dark .service-card { background: var(--bg-dark); }

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  z-index: 0;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover, .service-card:hover * { color: #fff !important; }
.service-card:hover .service-num { color: rgba(255,255,255,0.4) !important; }

.service-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.service-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.section-dark .service-card p { color: var(--text-muted); }

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s;
}
.service-card:hover .service-arrow { gap: 0.9rem; }

/* ---------- About strip ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.about-image:hover img { transform: scale(1.04); }
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.about-text h2 { margin: 1rem 0 1.5rem; }
.about-text .lead { margin-bottom: 1.75rem; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.section-dark .about-stats { border-color: var(--border-dark); }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--accent);
}
.stat span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.section-dark .stat span { color: var(--text-muted); }

/* ---------- Marquee brands ---------- */
.brands {
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 2.5rem 0;
  background: var(--bg-elev);
  color: #fff;
  overflow: hidden;
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  flex-shrink: 0;
}
.brand-name + .brand-name::before {
  content: '·';
  margin-right: 4rem;
  color: var(--accent);
  font-size: 1.4em;
  vertical-align: middle;
}

/* ---------- Performance section ---------- */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.perf-card {
  background: var(--bg-elev);
  border: 1px solid var(--border-dark);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.perf-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.perf-icon {
  width: 52px; height: 52px;
  background: rgba(200, 16, 46, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
}
.perf-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.75rem; }
.perf-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.why-cell {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.why-cell:last-child { border-right: none; }
.why-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  font-weight: 400;
}
.why-cell h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.why-cell p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ---------- Testimonials ---------- */
.testimonial {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
  font-weight: 400;
}
.testimonial blockquote::before {
  content: '“';
  font-size: 5rem;
  color: var(--accent);
  display: block;
  line-height: 0.4;
  margin-bottom: 1rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ---------- CTA ---------- */
.cta-strip {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 100%),
    url('img/coldair.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}
.cta-strip > * { position: relative; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1rem;
}
.cta-inner h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--accent);
}
.cta-inner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
  max-width: 50ch;
}
.cta-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.contact-info h2 { margin-bottom: 2rem; }
.info-block { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.info-block:last-child { border-bottom: none; }
.info-block .eyebrow { margin-bottom: 0.6rem; }
.info-block strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 0.25rem;
}
.info-block a { color: var(--text-primary); transition: color 0.2s; }
.info-block a:hover { color: var(--accent); }
.info-block p { color: var(--text-secondary); font-size: 0.95rem; }

.contact-form {
  background: var(--bg-light);
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: var(--radius);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* ---------- Map ---------- */
.map-block {
  height: 420px;
  background: #ddd;
  position: relative;
  overflow: hidden;
}
.map-block iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-grid h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-grid ul li { margin-bottom: 0.7rem; }
.footer-grid a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { font-size: 0.9rem; line-height: 1.65; color: rgba(255,255,255,0.55); }
.social-links {
  display: flex; gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-links a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .accred {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.accred span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---------- Service detail (services page) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.service-detail-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.service-detail:hover .service-detail-image img { transform: scale(1.04); }
.service-detail-num {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: rgba(10,10,10,0.85);
  color: #fff;
  padding: 0.5rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-family: var(--font-display);
}
.service-detail h2 { margin: 0.75rem 0 1.25rem; }
.feature-list { margin-top: 1.5rem; }
.feature-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.feature-list li::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .about-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .why-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80%, 320px);
    background: var(--bg-darker);
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-smooth);
    border-left: 1px solid rgba(255,255,255,0.06);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.25rem; }
  .header-cta .phone-link { display: none; }
  .hero-meta-inner { gap: 1.5rem; }
  .scroll-cue { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-grid > * { border-right: none !important; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
