/*
Theme Name: Est Coast Customs
Theme URI: https://github.com/pilvepank/estcoastcustoms
Author: Est Coast Customs / Pilvepank
Author URI: https://estcoastcustoms.ee
Description: Eksklusiivne ja kaasaegne töökoda/garaaž veebilehe teema. Loodud WordPressile, integreeritud ACF Pro valmiduse, tumeda motorsport/offroad esteetika, mobiili- ja tahvlivaadete optimeerimisega. Inspireeritud mudakoll.ee ja ghostperformance.com disainikeelest.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estcoastcustoms
Tags: automotive, workshop, custom-theme, acf-pro, dark-mode, responsive, performance-tuning
*/

/* -------------------------------------------------------------
   01. RESET & CSS CUSTOM PROPERTIES
------------------------------------------------------------- */
:root {
  /* Foundational Voids (Obsidian / Dark Chassis) */
  --bg-void: #090a0c;
  --bg-dark: #0b0c0d;
  --surface-base: #111215;
  --surface-elevated: #17181d;
  --surface-high: #1f2128;
  --surface-highest: #282a32;
  
  /* Borders & Mechanical Seams */
  --border-rim: rgba(255, 255, 255, 0.07);
  --border-edge: #272930;
  --border-highlight: #3e424c;
  
  /* Performance Chromatics */
  --accent-ignition: #ff5500;
  --accent-ignition-hover: #ff6b1a;
  --accent-ignition-glow: rgba(255, 85, 0, 0.25);
  --accent-cryo: #00e5ff;
  --accent-cryo-glow: rgba(0, 229, 255, 0.2);
  
  /* Typography & Readout Neutrals */
  --text-pure: #ffffff;
  --text-machined: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dimmed: #64748b;
  --text-dark: #090a0c;
  
  /* Typography Scale */
  --font-headline: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  
  /* Layout Spacing */
  --container-max: 1440px;
  --header-height: 80px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-machined);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

::selection {
  background-color: var(--accent-ignition);
  color: var(--text-pure);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* -------------------------------------------------------------
   02. TYPOGRAPHY UTILITIES
------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--text-pure);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mono-tag.accent {
  color: var(--accent-ignition);
}

.mono-tag.cryo {
  color: var(--accent-cryo);
}

/* -------------------------------------------------------------
   03. LAYOUT & CONTAINERS
------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header .section-eyebrow {
  margin-bottom: 0.75rem;
  display: block;
}

.section-header .section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

/* -------------------------------------------------------------
   04. BUTTONS & INTERACTIVE ELEMENTS
------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-ignition);
  color: var(--text-pure);
  box-shadow: 0 4px 20px var(--accent-ignition-glow);
}

.btn-primary:hover {
  background-color: var(--accent-ignition-hover);
  box-shadow: 0 6px 28px rgba(255, 85, 0, 0.45);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--border-rim);
  color: var(--text-pure);
}

.btn-secondary:hover {
  background-color: var(--text-pure);
  color: var(--text-dark);
  border-color: var(--text-pure);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-edge);
  color: var(--text-machined);
}

.btn-outline:hover {
  border-color: var(--accent-cryo);
  color: var(--text-pure);
  box-shadow: 0 0 15px var(--accent-cryo-glow);
}

.btn-link {
  padding: 0;
  background: none;
  border: none;
  color: var(--text-pure);
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-link svg, .btn-link .icon {
  transition: transform var(--transition-fast);
}

.btn-link:hover svg, .btn-link:hover .icon {
  transform: translateX(4px);
}

/* -------------------------------------------------------------
   05. HEADER & NAVIGATION
------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(11, 12, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-rim);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), height var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(9, 10, 12, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  height: 72px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.header-logo-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-elevated), var(--surface-base));
  border: 1px solid var(--border-edge);
  color: var(--accent-ignition);
}

.header-logo-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-title {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-pure);
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-desktop a:hover,
.nav-desktop .current-menu-item > a,
.nav-desktop a.active {
  color: var(--text-pure);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-ignition);
  transition: width var(--transition-fast);
}

.nav-desktop a:hover::after,
.nav-desktop .current-menu-item > a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 1200px) {
  .header-phone-link {
    display: inline-flex;
  }
}

.header-phone-link:hover {
  color: var(--accent-cryo);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-pure);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle span:not(:last-child) {
  margin-bottom: 5px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: var(--bg-void);
  border-left: 1px solid var(--border-edge);
  z-index: 105;
  display: flex;
  flex-direction: column;
  padding: 6rem 2.5rem 3rem;
  transition: right var(--transition-smooth);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 3rem;
}

.mobile-nav-list a {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-pure);
  display: block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-list a:hover {
  color: var(--accent-ignition);
  transform: translateX(6px);
}

.drawer-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-rim);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.drawer-meta-item a:hover {
  color: var(--accent-ignition);
}

/* -------------------------------------------------------------
   06. HERO SECTION
------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-color: var(--bg-dark);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding-bottom: 7rem;
  }
}

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

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(35%) brightness(0.65) contrast(110%);
  transform: scale(1.03);
  transition: transform 3s ease-out;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 12, 0.4) 0%, rgba(9, 10, 12, 0.7) 60%, var(--bg-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero-badge .status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-ignition);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-ignition);
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 1.5rem;
  color: var(--text-pure);
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin-bottom: 2.25rem;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* -------------------------------------------------------------
   07. PHILOSOPHY / ABOUT TEASER
------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
}

.philosophy-headline {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
}

.philosophy-headline .dimmed {
  color: rgba(255, 255, 255, 0.3);
}

.philosophy-text {
  font-size: 1.125rem;
  color: var(--text-machined);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.philosophy-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
}

.philosophy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) grayscale(20%);
  transition: transform 0.8s ease-out;
}

.philosophy-media:hover img {
  transform: scale(1.04);
}

/* -------------------------------------------------------------
   08. SERVICES GRID
------------------------------------------------------------- */
.services-section {
  background-color: var(--surface-base);
  border-top: 1px solid var(--border-rim);
  border-bottom: 1px solid var(--border-rim);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--surface-elevated);
  border: 1px solid var(--border-edge);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.service-card:hover {
  border-color: var(--accent-ignition);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.service-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

.service-icon-box {
  color: var(--accent-ignition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-rim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* -------------------------------------------------------------
   09. PROJECTS / PORTFOLIO GRID
------------------------------------------------------------- */
.projects-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text-pure);
  color: var(--text-dark);
  border-color: var(--text-pure);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  transition: border-color var(--transition-fast);
  text-decoration: none;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--accent-ignition);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-void);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: brightness(0.92);
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
  filter: brightness(1);
}

.project-thumb-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(9, 10, 12, 0.8);
  border: 1px solid var(--border-rim);
  padding: 0.25rem 0.625rem;
  backdrop-filter: blur(4px);
}

.project-info {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.project-name {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  transition: color var(--transition-fast);
}

.project-card:hover .project-name {
  color: var(--accent-ignition);
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.project-arrow {
  color: var(--text-dimmed);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.project-card:hover .project-arrow {
  transform: translateX(4px);
  color: var(--text-pure);
}

/* -------------------------------------------------------------
   10. WORKFLOW / PROCESS SECTION
------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-top: 1px solid var(--border-rim);
  padding-top: 3rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.step-num {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   11. TECH MATRIX & DYNO TELEMETRY
------------------------------------------------------------- */
.blueprint-matrix {
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  padding: 2rem;
}

@media (min-width: 768px) {
  .blueprint-matrix {
    padding: 3rem;
  }
}

.matrix-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-rim);
}

.matrix-row:last-child {
  border-bottom: none;
}

.matrix-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.matrix-value {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--text-pure);
  font-size: 1.0625rem;
}

/* -------------------------------------------------------------
   12. CONTACT & CONSULTATION
------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.contact-meta-card {
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.meta-block {
  display: flex;
  gap: 1rem;
}

.meta-block .icon {
  color: var(--accent-ignition);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.meta-value {
  color: var(--text-pure);
  font-weight: 500;
}

.contact-form-card {
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  padding: 2.25rem;
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 3rem;
  }
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-void);
  border: 1px solid var(--border-edge);
  color: var(--text-pure);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cryo);
  box-shadow: 0 0 10px var(--accent-cryo-glow);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: var(--surface-base);
  color: var(--text-pure);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  display: none;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--accent-cryo);
  font-size: 0.875rem;
  color: var(--accent-cryo);
}

.form-feedback.success {
  display: block;
}

/* -------------------------------------------------------------
   13. FAQ ACCORDION
------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-ignition);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-pure);
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 600;
}

.faq-trigger svg, .faq-trigger .icon {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-trigger svg,
.faq-item.active .faq-trigger .icon {
  transform: rotate(180deg);
  color: var(--accent-ignition);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-content p {
  color: var(--text-machined);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* -------------------------------------------------------------
   14. CTA CALLOUT BANNER
------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface-base) 100%);
  border: 1px solid var(--border-edge);
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    padding: 4.5rem 3.5rem;
  }
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-ignition);
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 600px;
  font-weight: 300;
}

/* -------------------------------------------------------------
   15. FOOTER
------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-void);
  border-top: 1px solid var(--border-rim);
  padding-top: 5rem;
  padding-bottom: 3rem;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 4fr 2fr 3fr 3fr;
    gap: 3.5rem;
  }
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-ignition);
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--text-pure);
}

.footer-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-meta-list a:hover {
  color: var(--accent-ignition);
}

.footer-bottom {
  border-top: 1px solid var(--border-rim);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dimmed);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* -------------------------------------------------------------
   16. SINGLE PROJECT / SINGLE SERVICE PAGES
------------------------------------------------------------- */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background-color: var(--bg-void);
  border-bottom: 1px solid var(--border-rim);
}

.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}

.spec-box {
  background: var(--surface-base);
  border: 1px solid var(--border-edge);
  padding: 1.5rem;
}

.spec-box .spec-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.spec-box .spec-val {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-pure);
}

.content-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-machined);
}

.content-body p {
  margin-bottom: 1.5rem;
}

.content-body h2, .content-body h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------
   17. UTILITY & HELPER CLASSES
------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
