/* ==========================================================================
   Elite Towing & Transport Services — main stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,0..100,0..1&family=Instrument+Sans:wght@400;500;600&display=swap');

/* ----------------------------------------------------------------- TOKENS */
:root {
  /* foundation — graphite / gunmetal, slightly cooler than warm black */
  --bg:            #0A0A0C;
  --bg-elev:       #111114;
  --surface:       #18181D;
  --surface-2:     #1F1F25;
  --text:          #F4F4F6;
  --text-muted:    #9C9CA6;
  --text-dim:      #62626D;
  --border:        rgba(244, 244, 246, 0.07);
  --border-strong: rgba(244, 244, 246, 0.16);

  /* accent — supercar red (Porsche Guards / F1 inspired) */
  --accent:        #D5001C;   /* primary */
  --accent-bright: #FF1A2E;   /* hover */
  --accent-deep:   #7A000F;   /* depth */
  --accent-soft:   rgba(213, 0, 28, 0.12); /* subtle gold-replacement glows */

  /* type */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-body:    'Instrument Sans', 'Helvetica Neue', system-ui, sans-serif;

  /* layout */
  --container:    1240px;
  --container-sm: 880px;
  --gutter:       clamp(1.25rem, 4vw, 2.5rem);

  /* radius / shadow */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 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: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; flex-shrink: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* ----------------------------------------------------------------- TYPE */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.display {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 350;
}

.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-bright);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 56ch;
}

a.inline-link {
  color: var(--accent-bright);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s var(--ease);
}
a.inline-link:hover { color: var(--text); }

/* ----------------------------------------------------------------- LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}

.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

/* ----------------------------------------------------------------- HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(14, 13, 11, 0.72);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.brand .brand-mark {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
}
.brand small {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-left: 0.5rem;
  align-self: center;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 1px;
  background: var(--accent);
}

.nav-links a.nav-cta,
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-links a.nav-cta:hover,
.nav-cta:hover { background: var(--accent-bright); color: var(--bg); }
.nav-cta:active { transform: translateY(1px); }
.nav-cta svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--text);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 880px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex;
    position: fixed;
    inset: 76px 0 0 0;
    flex-direction: column;
    background: var(--bg);
    padding: 2.5rem var(--gutter);
    gap: 1.5rem;
    align-items: flex-start;
    border-top: 1px solid var(--border);
  }
  .nav-links.is-open a { font-size: 1.5rem; font-family: var(--font-display); color: var(--text); }
  .nav-links.is-open .nav-cta { display: inline-flex; margin-top: 1rem; }
}

/* ----------------------------------------------------------------- HERO */
.hero {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(213, 0, 28, 0.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(213, 0, 28, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
}

.hero h1 {
  margin-block: 1.5rem 1.75rem;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 350;
  color: var(--accent-bright);
  font-variation-settings: "opsz" 144;
  line-height: 1;
}
.hero-meta-item .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.hero-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(180deg, rgba(213, 0, 28, 0.4), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.hero-card .phone-block {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 350;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144;
  transition: color 0.2s var(--ease);
}
.hero-card .phone-block:hover { color: var(--accent-bright); }
.hero-card .toll-free {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-card .toll-free strong { color: var(--text); font-weight: 500; }
.hero-card hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin-block: 1.5rem;
}
.hero-card .hours {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-card .hours strong { color: var(--text); font-weight: 500; }
.hero-card .availability-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.hero-card .availability-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* ----------------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--accent-bright); }
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

/* legacy btn-emergency: kept as alias to btn-primary in case referenced elsewhere */
.btn-emergency {
  background: var(--accent);
  color: #FFFFFF;
}
.btn-emergency:hover { background: var(--accent-bright); }

/* ----------------------------------------------------------------- SECTION HEADERS */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
}
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.section-head h2 em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* ----------------------------------------------------------------- SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.services-grid.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .services-grid.services-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .services-grid,
  .services-grid.services-grid-3 { grid-template-columns: 1fr; }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  min-height: 320px;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(213, 0, 28, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }
.service-card .num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 14;
}
.service-card h3 {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.service-card h3 em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 300;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: auto;
  position: relative;
  z-index: 1;
}
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 2rem;
  letter-spacing: 0.04em;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
  z-index: 1;
}
.service-card .arrow svg { width: 18px; height: 12px; }
.service-card:hover .arrow { gap: 0.9rem; color: var(--accent-bright); }

/* ----------------------------------------------------------------- BRANDS / MARQUEE */
.brands-strip {
  border-block: 1px solid var(--border);
  padding-block: 2.5rem;
  overflow: hidden;
}
.brands-strip-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
}
.brands-strip span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 300;
  flex-shrink: 0;
}
.brands-strip span em {
  font-style: italic;
  color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------- TWO-COL FEATURES */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row h3 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 1rem 0 1.5rem;
}
.feature-row h3 em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 300;
}
.feature-row p { color: var(--text-muted); margin-bottom: 1rem; }
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.98rem;
}
.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-top: 0.55rem;
  flex-shrink: 0;
  transform: rotate(45deg);
}

.feature-visual {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(213, 0, 28, 0.18), transparent 55%),
    linear-gradient(135deg, var(--surface) 0%, var(--bg-elev) 100%);
}
.feature-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-visual .placeholder {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

/* ----------------------------------------------------------------- TESTIMONIALS */
.testimonials {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.testimonial .stars {
  /* legacy — no longer rendered, but kept harmless if referenced */
  display: none;
}
.testimonials-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 780px;
  margin-inline: auto;
  line-height: 1.6;
}
.testimonial p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 350;
  line-height: 1.45;
  color: var(--text);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.testimonial .who {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.testimonial .who .name { color: var(--text); font-weight: 500; margin-bottom: 0.15rem; }

/* ----------------------------------------------------------------- PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 720px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.process-step:last-child { border-right: 0; }
@media (max-width: 720px) {
  .process-step { border-right: 0; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: 0; }
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  line-height: 1;
}
.process-step h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-block: 0.5rem 0;
}
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ----------------------------------------------------------------- CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 50%, rgba(213, 0, 28, 0.15), transparent 60%);
}
.cta-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 720px) {
  .cta-banner-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.cta-banner h2 em { font-style: italic; color: var(--accent-bright); font-weight: 300; }
.cta-banner p { color: var(--text-muted); margin-bottom: 0; }
.cta-banner .actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cta-banner .actions .btn { justify-content: center; }
.cta-banner .actions .secondary-call {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.25rem;
}
.cta-banner .actions .secondary-call a {
  color: var(--accent-bright);
  border-bottom: 1px solid currentColor;
}

/* ----------------------------------------------------------------- FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 4rem 2rem;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.footer-grid h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-grid a { color: var(--text-muted); font-size: 0.94rem; transition: color 0.2s var(--ease); }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 0.5rem; }
.footer-grid .footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.footer-grid .footer-brand em { font-style: italic; color: var(--text-muted); font-weight: 300; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer-socials svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------- PAGE HEADER (for inner pages) */
.page-header {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(213, 0, 28, 0.10), transparent 55%);
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 350;
  margin-block: 1rem 1.25rem;
  max-width: 18ch;
}
.page-header h1 em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.page-header p { max-width: 60ch; color: var(--text-muted); font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-dim); }

/* ----------------------------------------------------------------- PROSE (service detail pages) */
.prose {
  max-width: 720px;
  margin-inline: auto;
}
.prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-block: 3rem 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; color: var(--accent-bright); font-weight: 300; }
.prose p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.prose strong { color: var(--text); font-weight: 500; }
.prose ul {
  list-style: none;
  margin-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ----------------------------------------------------------------- FORM */
.form {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }
.form .full { grid-column: 1 / -1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.field label .req { color: var(--accent); margin-left: 0.25rem; }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  font-family: var(--font-body);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%239C9CA6' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.field-hint { font-size: 0.85rem; color: var(--text-dim); }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 0.25rem;
}
@media (max-width: 720px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  font-size: 0.92rem;
}
.checkbox:hover { border-color: var(--border-strong); }
.checkbox input { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.checkbox.is-checked { border-color: var(--accent); background: var(--surface-2); }

.form-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.form-banner strong { color: var(--text); }
.form-banner .icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(213, 0, 28, 0.14);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-banner .icon svg { width: 18px; height: 18px; }

.form-status {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  display: none;
}
.form-status.is-success {
  display: block;
  background: rgba(213, 0, 28, 0.1);
  border: 1px solid var(--accent);
  color: var(--text);
}
.form-status.is-error {
  display: block;
  background: rgba(213, 0, 28, 0.1);
  border: 1px solid var(--accent);
  color: var(--text);
}

/* ----------------------------------------------------------------- CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}
.info-block { display: flex; flex-direction: column; gap: 0.4rem; }
.info-block label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.info-block .value { font-size: 1.15rem; color: var(--text); }
.info-block .value a:hover { color: var(--accent-bright); }
.info-block .sub { color: var(--text-muted); font-size: 0.9rem; }

/* ----------------------------------------------------------------- ANIMATIONS */
/* Reveals are progressive enhancement — content is visible by default.
   Only when JS adds .js-reveal to <html> do elements start hidden and fade in. */
.reveal {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------------- UTIL */
.center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-bright); }
