/* ==========================================================================
   MEETING SIGNAL CONTROL DESIGN SYSTEM
   Brand: curiosityquibly.com | Corporate Meeting Equipment Rental
   Voice: Terse Operator | Style: Soft Modern + Glass Content Overlay
   ========================================================================== */

:root {
  /* Primary Structural Palette */
  --signal-graphite: #171C20;
  --carbon-black:    #101417;
  --deep-petrol:     #20363A;
  --technical-slate: #3C5054;
  --graphite-grey:   #637174;
  --brushed-silver:  #AAB5B4;
  --mineral-mist:    #DCE4E2;
  --cool-fog:        #EAF0EE;
  --meeting-white:   #F6F8F6;
  --paper-white:     #FCFDFC;

  /* Accent Colors */
  --signal-teal:     #27A7A0;
  --electric-mint:   #75D1BD;
  --digital-cyan:    #55B8C2;
  --soft-lime:       #AFCB72;
  --warm-brass:      #B7965D;
  --muted-copper:    #A8755D;
  --status-amber:    #D19A48;

  /* Glass Surface Tokens */
  --glass-bg:        rgba(252, 253, 252, 0.94);
  --glass-border:    rgba(39, 167, 160, 0.28);
  --glass-shadow:    0 12px 32px rgba(16, 20, 23, 0.08);

  /* Spacing System (4, 8, 16, 24, 40, 64px) */
  --space-4:  4px;
  --space-8:  8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-40: 40px;
  --space-64: 64px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Container */
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--meeting-white);
  color: var(--signal-graphite);
}

body {
  font-family: var(--font-sans);
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

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

/* ACCESSIBILITY FOCUS */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--signal-teal);
  outline-offset: 3px;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
}

/* HEADER (NON-STICKY) */
.site-header {
  height: 64px;
  background-color: var(--carbon-black);
  border-bottom: 1px solid var(--deep-petrol);
  position: static;
  width: 100%;
  z-index: 100;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--paper-white);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-icon {
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-mono);
  color: var(--mineral-mist);
}

.brand-link:hover .brand-text {
  color: var(--electric-mint);
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brushed-silver);
  padding: var(--space-8) 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--paper-white);
  border-bottom-color: var(--signal-teal);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--paper-white);
  border-bottom-color: var(--signal-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-teal {
  background-color: var(--signal-teal);
  color: var(--carbon-black);
}

.btn-teal:hover {
  background-color: var(--electric-mint);
}

.btn-secondary {
  background-color: var(--deep-petrol);
  color: var(--paper-white);
  border-color: var(--technical-slate);
}

.btn-secondary:hover {
  background-color: var(--technical-slate);
}

.btn-teal-outline {
  background-color: transparent;
  color: var(--electric-mint);
  border-color: var(--signal-teal);
}

.btn-teal-outline:hover {
  background-color: rgba(39, 167, 160, 0.15);
  color: var(--paper-white);
}

.btn-compact {
  padding: 6px 14px;
  font-size: 0.8125rem;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

/* MOBILE TOGGLE & OVERLAY */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--technical-slate);
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.mobile-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--paper-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(16, 20, 23, 0.96);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-overlay-inner {
  padding: var(--space-24);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--deep-petrol);
  padding-bottom: var(--space-16);
  margin-bottom: var(--space-24);
}

.mobile-nav-title {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--signal-teal);
  text-transform: uppercase;
}

.mobile-close {
  background: transparent;
  border: none;
  color: var(--paper-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 var(--space-8);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.mobile-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--mineral-mist);
  padding: var(--space-8) 0;
  border-bottom: 1px solid rgba(60, 80, 84, 0.4);
}

.mobile-link:hover,
.mobile-link[aria-current="page"] {
  color: var(--electric-mint);
  padding-left: 6px;
}

.mobile-link-accent {
  color: var(--signal-teal);
  font-weight: 600;
  margin-top: var(--space-16);
  border-bottom-color: var(--signal-teal);
}

/* HERO SECTION (EDITORIAL SPLIT) */
.hero-section {
  background-color: var(--signal-graphite);
  color: var(--paper-white);
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  border-bottom: 1px solid var(--deep-petrol);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-40);
  align-items: center;
}

.signal-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--electric-mint);
  background-color: var(--deep-petrol);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-16);
  border-left: 3px solid var(--signal-teal);
}

.hero-headline {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-16);
  text-transform: uppercase;
}

.hero-subtext {
  font-size: 1.0625rem;
  color: var(--mineral-mist);
  line-height: 1.6;
  margin-bottom: var(--space-24);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-16);
  margin-bottom: var(--space-40);
}

.hero-spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  border-top: 1px solid var(--technical-slate);
  padding-top: var(--space-16);
}

.spec-unit {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--brushed-silver);
}

.spec-val {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--electric-mint);
}

/* HERO VISUAL SCHEMATIC */
.visual-panel {
  background-color: var(--carbon-black);
  border: 1px solid var(--technical-slate);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background-color: #0b0e10;
  border-bottom: 1px solid var(--deep-petrol);
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--technical-slate);
}

.panel-dot.active {
  background-color: var(--signal-teal);
  box-shadow: 0 0 6px var(--signal-teal);
}

.panel-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--brushed-silver);
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.panel-canvas {
  padding: var(--space-16);
  background-color: var(--carbon-black);
}

.schematic-svg {
  width: 100%;
  height: auto;
}

/* SECTION COMMONS */
.section {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}

.section-head {
  margin-bottom: var(--space-40);
  max-width: 760px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--technical-slate);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--signal-graphite);
  margin-bottom: var(--space-8);
}

.section-desc {
  font-size: 1rem;
  color: var(--graphite-grey);
  line-height: 1.6;
}

/* WORKFLOW SECTION */
.workflow-section {
  background-color: var(--cool-fog);
  border-bottom: 1px solid var(--mineral-mist);
}

.sequence-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-16);
}

.sequence-card {
  background-color: var(--paper-white);
  border: 1px solid var(--mineral-mist);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
  display: flex;
  flex-direction: column;
}

.seq-step-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--signal-teal);
  background-color: rgba(39, 167, 160, 0.12);
  width: fit-content;
  padding: 2px 6px;
  border-radius: 2px;
  margin-bottom: var(--space-8);
}

.seq-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--signal-graphite);
  margin-bottom: var(--space-8);
}

.seq-text {
  font-size: 0.8125rem;
  color: var(--graphite-grey);
  line-height: 1.5;
  margin-bottom: var(--space-16);
  flex-grow: 1;
}

.seq-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--technical-slate);
  border-top: 1px dashed var(--mineral-mist);
  padding-top: var(--space-8);
}

/* ==========================================================================
   CARD SYSTEM: GLASS OVERLAY (STRICT PHYSICAL SEPARATION)
   IMAGE -> 24-40px GAP -> GLASS CONTENT PANEL
   NO TEXT OVER IMAGES. NO ABSOLUTE TEXT ON TOP OF PHOTOS.
   ========================================================================== */

.services-section {
  background-color: var(--meeting-white);
}

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
}

.service-card-item {
  display: grid;
  grid-template-columns: 1fr var(--space-40) 1.25fr;
  align-items: stretch;
  background-color: transparent;
}

/* CARD MEDIA WRAPPER */
.card-media-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 20, 23, 0.1);
  background-color: var(--carbon-black);
  display: flex;
}

.card-photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* EXPLICIT PHYSICAL GAP ELEMENT */
.card-gap-spacer {
  width: var(--space-40);
}

/* SEPARATE GLASS CONTENT PANEL */
.glass-content-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--signal-teal);
  border-radius: var(--radius-md);
  padding: var(--space-40);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}

.panel-cat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--signal-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--graphite-grey);
}

.panel-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--signal-graphite);
  margin-bottom: var(--space-16);
  letter-spacing: -0.01em;
}

.panel-body {
  font-size: 0.9375rem;
  color: var(--graphite-grey);
  line-height: 1.6;
  margin-bottom: var(--space-24);
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  background-color: var(--cool-fog);
  color: var(--deep-petrol);
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--mineral-mist);
}

.panel-action {
  margin-top: auto;
}

/* ALTERNATE CARD DIRECTION (DESKTOP) */
.service-card-item:nth-child(even) {
  grid-template-columns: 1.25fr var(--space-40) 1fr;
}

.service-card-item:nth-child(even) .card-media-wrap {
  order: 3;
}

.service-card-item:nth-child(even) .card-gap-spacer {
  order: 2;
}

.service-card-item:nth-child(even) .glass-content-panel {
  order: 1;
  border-left: 1px solid var(--glass-border);
  border-right: 4px solid var(--signal-teal);
}

/* SPECS STRIP & TECHNICAL BLOCKS */
.specs-section {
  background-color: var(--cool-fog);
  border-top: 1px solid var(--mineral-mist);
  border-bottom: 1px solid var(--mineral-mist);
}

.specs-box {
  background-color: var(--paper-white);
  border: 1px solid var(--mineral-mist);
  border-radius: var(--radius-md);
  padding: var(--space-40);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-40);
}

.spec-col-title {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: var(--space-8);
  color: var(--signal-graphite);
}

.spec-col-text {
  font-size: 0.875rem;
  color: var(--graphite-grey);
  line-height: 1.6;
  margin-bottom: var(--space-16);
}

.spec-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.spec-checklist li {
  font-size: 0.8125rem;
  color: var(--technical-slate);
  padding-left: var(--space-16);
  position: relative;
}

.spec-checklist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--signal-teal);
  font-weight: 700;
}

/* CTA BLOCK */
.cta-section {
  background-color: var(--signal-graphite);
  color: var(--paper-white);
}

.cta-card {
  background-color: var(--deep-petrol);
  border: 1px solid var(--technical-slate);
  border-radius: var(--radius-md);
  padding: var(--space-40);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-8);
}

.cta-text {
  font-size: 0.9375rem;
  color: var(--mineral-mist);
  max-width: 620px;
}

.cta-button-wrap {
  flex-shrink: 0;
}

/* ==========================================================================
   PAGE HERO (SUB-PAGES)
   PHYSICAL SEPARATION: TEXT + CTA | GAP | VISUAL
   ========================================================================== */

.page-hero {
  background-color: var(--signal-graphite);
  color: var(--paper-white);
  padding-top: var(--space-40);
  padding-bottom: var(--space-40);
  border-bottom: 1px solid var(--deep-petrol);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr var(--space-40) 1fr;
  align-items: center;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
}

.page-hero-gap {
  width: var(--space-40);
}

.page-title {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-16);
  text-transform: uppercase;
}

.page-intro {
  font-size: 1rem;
  color: var(--mineral-mist);
  line-height: 1.6;
  max-width: 580px;
}

.page-hero-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--technical-slate);
}

.hero-img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

/* SUBPAGE ARTICLE LAYOUT */
.article-layout {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: var(--space-40);
}

.content-body {
  min-width: 0;
}

.content-block {
  margin-bottom: var(--space-40);
}

.content-block h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--signal-graphite);
  margin-bottom: var(--space-16);
  border-bottom: 2px solid var(--mineral-mist);
  padding-bottom: var(--space-8);
}

.content-block h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--signal-graphite);
  margin-top: var(--space-24);
  margin-bottom: var(--space-8);
}

.content-block p {
  font-size: 0.9375rem;
  color: var(--graphite-grey);
  line-height: 1.7;
  margin-bottom: var(--space-16);
}

.content-list {
  margin-left: var(--space-24);
  margin-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.content-list li {
  font-size: 0.9375rem;
  color: var(--graphite-grey);
  line-height: 1.6;
  list-style-type: disc;
}

.content-list li strong {
  color: var(--signal-graphite);
}

/* SPEC TABLE */
.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: var(--space-16);
  margin-bottom: var(--space-24);
  border: 1px solid var(--mineral-mist);
  border-radius: var(--radius-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.spec-table th {
  background-color: var(--deep-petrol);
  color: var(--paper-white);
  padding: 10px 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--technical-slate);
}

.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--mineral-mist);
  color: var(--technical-slate);
  background-color: var(--paper-white);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td {
  background-color: var(--cool-fog);
}

/* SIDEBAR SYSTEM */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  padding: var(--space-24);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--signal-graphite);
  margin-bottom: var(--space-16);
  border-bottom: 1px solid var(--mineral-mist);
  padding-bottom: var(--space-8);
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
}

.sidebar-list li {
  font-size: 0.8125rem;
  color: var(--graphite-grey);
}

.sidebar-list li strong {
  color: var(--deep-petrol);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: inline-block;
  min-width: 80px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.sidebar-links a {
  font-size: 0.8125rem;
  color: var(--technical-slate);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sidebar-links a:hover {
  color: var(--signal-teal);
}

/* LEGAL PAGES SPECIFICS */
.legal-hero {
  padding-top: var(--space-40);
  padding-bottom: var(--space-40);
}

.legal-hero-copy {
  max-width: 800px;
}

.legal-container {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
}

.legal-body {
  max-width: 840px;
  margin: 0 auto;
}

/* CONTACT PAGE SPECIFICS */
.contact-layout {
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.form-card {
  padding: var(--space-40);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-8);
  color: var(--signal-graphite);
}

.form-desc {
  font-size: 0.875rem;
  color: var(--graphite-grey);
  margin-bottom: var(--space-24);
}

.equipment-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--deep-petrol);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  background-color: var(--paper-white);
  border: 1px solid var(--technical-slate);
  border-radius: var(--radius-sm);
  color: var(--signal-graphite);
  font-size: 0.875rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--signal-teal);
  outline: none;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #dc3545;
  background-color: #fff9f9;
}

.error-text {
  font-size: 0.6875rem;
  color: #dc3545;
  display: none;
  font-weight: 600;
}

.is-invalid + .error-text {
  display: block;
}

.form-feedback {
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-16);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-feedback.success {
  background-color: #e8f7f0;
  border: 1px solid #75D1BD;
  color: #155724;
}

.form-feedback.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.submit-note {
  font-size: 0.6875rem;
  color: var(--graphite-grey);
  font-family: var(--font-mono);
}

.contact-details-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.info-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-16);
  color: var(--signal-graphite);
  border-bottom: 1px solid var(--mineral-mist);
  padding-bottom: var(--space-8);
}

.info-unit {
  margin-bottom: var(--space-16);
}

.info-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--technical-slate);
  margin-bottom: 2px;
}

.info-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--signal-teal);
  text-decoration: underline;
}

.info-val {
  font-size: 0.875rem;
  color: var(--signal-graphite);
  line-height: 1.5;
}

.location-map-card {
  padding: var(--space-24);
}

.static-map-graphic {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--technical-slate);
  margin-bottom: var(--space-12);
}

.map-caption {
  font-size: 0.75rem;
  color: var(--graphite-grey);
  line-height: 1.4;
}

/* ==========================================================================
   UNIFIED FOOTER SYSTEM (HIGH-LEGIBILITY REFINED PALETTE)
   ========================================================================== */

.site-footer {
  background-color: #0E1418;
  color: #D6DFDE;
  margin-top: auto;
  border-top: 3px solid var(--signal-teal);
}

.footer-grid {
  padding-top: var(--space-64);
  padding-bottom: var(--space-40);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-40);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-link {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-12);
  display: inline-block;
  letter-spacing: -0.01em;
}

.footer-brand-link:hover,
.footer-brand-link:focus-visible {
  color: var(--electric-mint);
  text-decoration: underline;
}

.footer-desc {
  font-size: 0.875rem;
  color: #CDD7D6;
  line-height: 1.65;
  margin-bottom: var(--space-20);
  max-width: 440px;
}

.legal-entity-block {
  font-size: 0.8125rem;
  color: #C0CCCB;
  line-height: 1.65;
  border-left: 3px solid var(--signal-teal);
  background-color: rgba(32, 54, 58, 0.4);
  padding: var(--space-12) var(--space-16);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entity-name {
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.entity-detail {
  color: #B9C6C5;
}

.entity-detail a {
  color: var(--electric-mint);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entity-detail a:hover,
.entity-detail a:focus-visible {
  color: #FFFFFF;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--electric-mint);
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(117, 209, 189, 0.25);
  display: inline-block;
  width: fit-content;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: #E6ECEB;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--electric-mint);
  transform: translateX(4px);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compliance-note {
  margin-top: var(--space-24);
  font-size: 0.75rem;
  color: #B8C5C4;
  border-top: 1px solid rgba(60, 80, 84, 0.55);
  padding-top: var(--space-12);
  line-height: 1.5;
}

.footer-bottom-bar {
  background-color: #070B0D;
  border-top: 1px solid #1A262B;
  padding: var(--space-16) 0;
}

.bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #B5C3C1;
}

.copyright-text a,
.domain-tag a {
  color: #E2ECEB;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.copyright-text a:hover,
.domain-tag a:hover,
.copyright-text a:focus-visible,
.domain-tag a:focus-visible {
  color: var(--electric-mint);
}

/* ==========================================================================
   COOKIE BANNER (FIXED BOTTOM)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(16, 20, 23, 0.98);
  border-top: 2px solid var(--signal-teal);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  padding: var(--space-16) 0;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

.cookie-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--paper-white);
  margin-bottom: 2px;
}

.cookie-desc {
  font-size: 0.75rem;
  color: var(--brushed-silver);
  max-width: 680px;
}

.cookie-actions {
  display: flex;
  gap: var(--space-8);
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (320px, 375px, 768px, 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

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

  .service-card-item,
  .service-card-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-card-item:nth-child(even) .card-media-wrap {
    order: 1;
  }
  .service-card-item:nth-child(even) .card-gap-spacer {
    order: 2;
  }
  .service-card-item:nth-child(even) .glass-content-panel {
    order: 3;
    border-right: 1px solid var(--glass-border);
    border-left: 4px solid var(--signal-teal);
  }

  .card-gap-spacer {
    width: 100%;
    height: var(--space-24);
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .page-hero-gap {
    display: none;
  }

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

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

  .brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-headline {
    font-size: 1.875rem;
  }

  .hero-spec-strip {
    grid-template-columns: 1fr;
  }

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

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

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .bottom-inner {
    flex-direction: column;
    gap: var(--space-8);
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* Breakpoint below 400px */
@media (max-width: 399px) {
  .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .glass-content-panel {
    padding: var(--space-20);
  }

  .form-card {
    padding: var(--space-20);
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}