/* ================================================
   JORDANWORX — Bold / Authoritative / HVAC Industry
   Custom palette: Deep Navy + Amber + Off-White
   Fonts: Clash Display (headings) + Satoshi (body)
   ================================================ */

/* === DESIGN TOKENS === */
:root,
[data-theme="light"] {
  /* Surfaces */
  --color-bg: #f5f4f0;
  --color-surface: #fafaf7;
  --color-surface-2: #ffffff;
  --color-surface-offset: #edeae4;
  --color-surface-dynamic: #e4e1db;
  --color-divider: #d8d5ce;
  --color-border: #ccc9c1;

  /* Text */
  --color-text: #1a1914;
  --color-text-muted: #6b6960;
  --color-text-faint: #b0ae a7;
  --color-text-inverse: #f5f4f0;

  /* Accent — Red */
  --color-accent: #c8221a;
  --color-accent-hover: #a81810;
  --color-accent-active: #8a110a;
  --color-accent-highlight: #fde8e7;

  /* Navy — secondary brand */
  --color-navy: #0e1e3d;
  --color-navy-muted: #1c3160;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 25, 20, 0.06);
  --shadow-md: 0 4px 14px rgba(26, 25, 20, 0.09);
  --shadow-lg: 0 12px 32px rgba(26, 25, 20, 0.13);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

[data-theme="dark"] {
  --color-bg: #0e0e0c;
  --color-surface: #141412;
  --color-surface-2: #1a1916;
  --color-surface-offset: #181714;
  --color-surface-dynamic: #232118;
  --color-divider: #2a2825;
  --color-border: #3a3834;
  --color-text: #e8e7e2;
  --color-text-muted: #7a7974;
  --color-text-faint: #4a4945;
  --color-text-inverse: #0e0e0c;
  --color-accent: #e8312a;
  --color-accent-hover: #cc1f18;
  --color-accent-active: #aa1510;
  --color-accent-highlight: #3a1210;
  --color-navy: #c8d8f8;
  --color-navy-muted: #8aaae0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0e0e0c;
    --color-surface: #141412;
    --color-surface-2: #1a1916;
    --color-surface-offset: #181714;
    --color-surface-dynamic: #232118;
    --color-divider: #2a2825;
    --color-border: #3a3834;
    --color-text: #e8e7e2;
    --color-text-muted: #7a7974;
    --color-text-faint: #4a4945;
    --color-text-inverse: #0e0e0c;
    --color-accent: #e8312a;
    --color-accent-hover: #cc1f18;
    --color-accent-active: #aa1510;
    --color-accent-highlight: #3a1210;
    --color-navy: #c8d8f8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

/* === BASE RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
img { height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.1;
  font-family: var(--font-display);
}
p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}
::selection {
  background: color-mix(in srgb, var(--color-accent) 25%, transparent);
  color: var(--color-text);
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
button { cursor: pointer; background: none; border: none; }
a, button, [role="button"] {
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
}
a { text-decoration: none; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7em 1.6em;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
.btn-lg {
  padding: 0.85em 2em;
  font-size: var(--text-base);
}
.btn-full { width: 100%; }

/* === EYEBROW === */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* ==============================
   HEADER / NAV
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.site-header.hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
  /* The logo has a white background — invert in dark mode for clean look */
}
.footer-logo-img {
  height: 44px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}
.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--color-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--color-accent);
  background: var(--color-surface-offset);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  z-index: 99;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: none;
}
.mobile-nav-link {
  display: block;
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-md);
}
.mobile-nav-link:hover {
  background: var(--color-surface-offset);
  color: var(--color-accent);
}
.mobile-cta {
  margin-top: var(--space-4);
  width: 100%;
}

@media (max-width: 900px) {
  .main-nav, .header-actions .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav { display: block; }
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14, 14, 12, 0.25) 0%,
    rgba(14, 14, 12, 0.65) 45%,
    rgba(14, 14, 12, 0.90) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
  padding-block: var(--space-24);
  display: flex;
  justify-content: flex-end;
  color: #fff;
}
.hero-text {
  max-width: 620px;
  width: 100%;
}
.hero-content .eyebrow {
  color: var(--color-accent);
}
.hero-headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: var(--space-6);
  color: #fff;
}
.accent-text { color: var(--color-accent); }
.hero-sub {
  font-size: var(--text-lg);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  max-width: 58ch;
  line-height: 1.6;
  margin-bottom: var(--space-10);
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ==============================
   AUTHORITY BAR
   ============================== */
.authority-bar {
  background: var(--color-navy);
  color: #fff;
  padding-block: var(--space-10);
}
[data-theme="light"] .authority-bar { background: #0e1e3d; }
[data-theme="dark"] .authority-bar { background: #1c2c50; }
.authority-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.authority-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
  min-width: 160px;
}
.authority-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.authority-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.authority-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .authority-divider { display: none; }
  .authority-item { min-width: 140px; }
}

/* ==============================
   ABOUT
   ============================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.about-text .section-title { margin-bottom: var(--space-6); }
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}
.about-text p:last-of-type { margin-bottom: var(--space-8); }
.about-callout {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-6);
  margin-top: var(--space-8);
}
.about-callout blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.45;
  margin-bottom: var(--space-3);
  max-width: 52ch;
}
.about-callout cite {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.about-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.about-stat-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-icon { flex-shrink: 0; width: 40px; height: 40px; }
.about-stat-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.about-stat-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 40ch;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ==============================
   SERVICES IMAGE BREAK
   ============================== */
.services-image-break {
  position: relative;
  height: clamp(300px, 40vw, 500px);
  overflow: hidden;
}
.services-image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.services-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,14,12,0.7) 0%, rgba(14,14,12,0.2) 100%);
  display: flex;
  align-items: center;
  padding-inline: clamp(var(--space-8), 8vw, var(--space-24));
}
.services-image-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
  max-width: 20ch;
  line-height: 1.25;
}

/* ==============================
   SERVICES GRID
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--space-4);
}
.service-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.service-card > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.service-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==============================
   PACKAGES
   ============================== */
.packages { background: var(--color-surface-offset); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.package-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.package-featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
  transform: scale(1.02);
}
.package-featured:hover { transform: scale(1.02) translateY(-4px); }
.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.package-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}
.package-price { margin-block: var(--space-2); }
.price-amt {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.package-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}
.package-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.package-features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-6);
  position: relative;
}
.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--text-sm);
}
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .package-featured { transform: none; }
  .package-featured:hover { transform: translateY(-4px); }
}

/* ==============================
   TRUST / TESTIMONIAL
   ============================== */
.trust {
  background: var(--color-navy);
  color: #fff;
}
[data-theme="light"] .trust { background: #0e1e3d; }
[data-theme="dark"] .trust { background: #1c2c50; }
.trust-inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.trust-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.5;
  margin-bottom: calc(-1 * var(--space-6));
}
.trust-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #fff;
  line-height: 1.45;
  margin-bottom: var(--space-4);
  max-width: 60ch;
  margin-inline: auto;
}
.trust-cite {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin-inline: auto;
  margin-block: var(--space-8);
}
.trust-cta-text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-6);
  max-width: 100%;
}

/* ==============================
   CONTACT
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.contact-info .section-title { margin-bottom: var(--space-4); }
.contact-info > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }
.contact-item a { color: var(--color-text); }
.contact-item a:hover { color: var(--color-accent); }

/* Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.65em 1em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 100%;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 26ch;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-links a:hover { color: var(--color-accent); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-contact a,
.footer-contact span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-contact a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 100%;
}

/* ==============================
   SCROLL REVEAL ANIMATIONS
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
