/* ============================================================
   GLASS EXPERT USA — REDESIGN V2
   Clean & Modern Design System (Apple / Linear / Stripe style)
   ============================================================ */

/* ----------------------------------------
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ---------------------------------------- */
:root {
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Core palette */
  --color-bg:         #FFFFFF;
  --color-bg-soft:    #F8F9FA;
  --color-bg-dark:    #0A0A0A;
  --color-text:       #0A0A0A;
  --color-text-muted: #6B7280;
  --color-border:     rgba(0, 0, 0, 0.08);
  --color-white:      #FFFFFF;

  /* Segment accents */
  --accent-commercial:  #0066FF;
  --accent-hospitality: #FF4F00;
  --accent-healthcare:  #00B87A;
  --accent-education:   #7C3AED;
  --accent-default:     #0066FF;
  --accent-current:     var(--accent-default);

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-nav:   0 1px 0 rgba(0, 0, 0, 0.08);

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* Radii */
  --radius-card: 16px;
  --radius-btn:  100px;
  --radius-input: 10px;
  --radius-sm:   8px;

  /* Transitions */
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ----------------------------------------
   4. TYPOGRAPHY SCALE
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem);  font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
  line-height: 1.7;
  color: var(--color-text-muted);
}

.label-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-current);
  margin-bottom: 1rem;
}

/* ----------------------------------------
   5. NAVBAR-V2
   ---------------------------------------- */
.navbar-v2 {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  height: 70px;
  display: flex;
  align-items: center;
}

.navbar-v2 .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.navbar-v2 .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.navbar-v2 .logo img {
  height: 40px;
  width: auto;
}

.navbar-v2 .logo .tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: none;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .navbar-v2 .logo .tagline {
    display: block;
    max-width: 160px;
  }
}

.navbar-v2 .nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-v2 .nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.navbar-v2 .nav-menu a:hover {
  color: var(--color-text);
  background: var(--color-bg-soft);
}

.navbar-v2 .nav-menu a.btn-cta,
.navbar-v2 .btn-cta {
  background: var(--accent-current);
  color: var(--color-white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity var(--transition), transform var(--transition);
}

.navbar-v2 .nav-menu a.btn-cta:hover {
  opacity: 0.88;
  transform: scale(1.02);
  color: var(--color-white);
  background: var(--accent-current);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 767px) {
  .navbar-v2 .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem var(--container-pad);
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .navbar-v2 .nav-menu.open {
    display: flex;
  }

  .navbar-v2 .nav-menu a {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }
}

/* ----------------------------------------
   6. HERO-V2
   ---------------------------------------- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 6rem var(--container-pad);
}

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

.hero-v2 .hero-bg picture,
.hero-v2 .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-v2 .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(0, 10, 50, 0.62) 0%,
    rgba(0, 20, 80, 0.28) 50%,
    rgba(0, 10, 50, 0.18) 100%
  );
}

.hero-v2 .hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin-inline: auto;
}

.hero-v2 h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 32px rgba(0,0,0,0.65), 0 1px 8px rgba(0,0,0,0.50);
}

.hero-v2 .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-v2 .hero-body {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
}

.hero-v2 .hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-v2 .hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 4rem;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .hero-v2 .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4rem;
  }
}

.hero-v2 .stat {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  padding: 1.5rem 1rem;
  text-align: center;
}

.hero-v2 .stat h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-v2 .stat p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* ----------------------------------------
   7. BUTTONS
   ---------------------------------------- */
.btn-v2-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-current);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-v2-primary:hover {
  opacity: 0.88;
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-v2-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 2px solid rgba(255,255,255,0.5);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-v2-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: scale(1.02);
}

.btn-v2-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent-current);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--accent-current);
  transition: transform var(--transition), background var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-v2-outline:hover {
  background: var(--accent-current);
  color: var(--color-white);
  transform: scale(1.02);
}

/* Legacy btn compatibility */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-current);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  transition: transform var(--transition), opacity var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent-current);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--accent-current);
  transition: transform var(--transition), background var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--accent-current);
  color: var(--color-white);
  transform: scale(1.02);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ----------------------------------------
   8. CARD-V2
   ---------------------------------------- */
.card-v2 {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-v2 .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: rgba(0, 102, 204, 0.10);
  margin-left: auto;
  margin-right: auto;
}
.card-v2 .card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: #0066CC;
  stroke-width: 1.75;
  fill: none;
}
.feature h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature h4 svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: #0066CC;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}
.prop-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.prop-card h3 svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: #0066CC;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.card-v2 h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.card-v2 p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Product card (segment pages) */
.product-card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card .product-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-current, #0066CC) 10%, transparent);
  margin-left: auto;
  margin-right: auto;
}
.product-card .product-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: var(--accent-current, #0066CC);
  stroke-width: 1.75;
  fill: none;
}
.selector-option .icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
}

.product-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent-current);
}

/* ----------------------------------------
   9. SECTION STYLES
   ---------------------------------------- */
.section-v2 {
  padding-block: var(--section-pad);
}

.section-v2-soft {
  padding-block: var(--section-pad);
  background: var(--color-bg-soft);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* ----------------------------------------
   10. GRID LAYOUTS
   ---------------------------------------- */
.grid-v2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

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

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

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

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

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

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

/* ----------------------------------------
   11. BRANDING / VALUE PROPS SECTION
   ---------------------------------------- */
.value-props {
  padding-block: var(--section-pad);
  background: var(--color-bg);
}

.props-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.prop-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: box-shadow var(--transition);
}

.prop-card:hover {
  box-shadow: var(--shadow-card);
}

.prop-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.prop-card p {
  font-size: 0.9rem;
}

/* ----------------------------------------
   12. GLASS SELECTOR
   ---------------------------------------- */
.glass-selector {
  padding-block: var(--section-pad);
  background: var(--color-bg-soft);
}

.glass-selector h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.glass-selector .section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.selector-container {
  max-width: 760px;
  margin-inline: auto;
}

.selector-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.selector-step.active {
  display: block;
}

.selector-step h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.375rem;
}

.selector-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.selector-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
}

.selector-option:hover {
  border-color: var(--accent-current);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

.selector-option.selected {
  border-color: var(--accent-current);
  background: rgba(0, 102, 255, 0.04);
}

.selector-option .icon { font-size: 2rem; }
.selector-option .label { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.selector-option .desc { font-size: 0.75rem; color: var(--color-text-muted); }

.selector-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-next, .btn-back {
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition);
}

.btn-next {
  background: var(--accent-current);
  color: white;
  border: none;
  margin-left: auto;
}

.btn-next:hover { opacity: 0.88; transform: scale(1.02); }

.btn-back {
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.btn-back:hover { background: var(--color-border); }

/* Result card */
.result-card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  padding: 2rem;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.result-header h4 { font-size: 1.25rem; }

.badge {
  display: inline-block;
  background: var(--accent-current);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.result-specs { margin-bottom: 1.5rem; }

.result-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-box {
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.info-box h5 { font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); margin-bottom: 0.25rem; }
.info-box p { font-size: 0.9375rem; font-weight: 700; color: var(--color-text); }

/* ----------------------------------------
   13. SEGMENT SECTIONS (homepage)
   ---------------------------------------- */
.segment {
  padding-block: var(--section-pad);
}

.segment.alternate {
  background: var(--color-bg-soft);
}

.segment h2 {
  margin-bottom: 2.5rem;
}

.segment-content {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .segment-content { grid-template-columns: 1fr 1fr; }
}

.segment-text h3 {
  margin-bottom: 1rem;
}

.segment-text p {
  margin-bottom: 1rem;
}

.segment-text ul {
  margin-bottom: 1.5rem;
}

.segment-text ul li {
  padding: 0.375rem 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.segment-text .quote {
  font-style: italic;
  color: var(--color-text-muted);
  border-left: 3px solid var(--accent-current);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.segment-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.image-placeholder {
  border-radius: var(--radius-card);
  height: 420px;
  overflow: hidden;
  position: relative;
}
.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.segment:hover .image-placeholder img {
  transform: scale(1.08);
}
.image-placeholder span { display: none; }

/* ----------------------------------------
   14. WHY US SECTION
   ---------------------------------------- */
.why-us {
  padding-block: var(--section-pad);
  background: var(--color-bg-dark);
  color: white;
}

.why-us h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 3.5rem;
}

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

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

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

.feature {
  padding: 1.75rem;
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.feature:hover {
  background: rgba(255,255,255,0.07);
}

.feature h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

/* ----------------------------------------
   15. CONTACT SECTION
   ---------------------------------------- */
.contact {
  padding-block: var(--section-pad);
  background: var(--color-bg-soft);
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 680px;
  margin-inline: auto;
  background: var(--color-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  padding: 2.5rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-current);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.08);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236B7280' d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

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

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

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

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-group.checkbox input {
  width: auto;
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.875rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

/* ----------------------------------------
   16. FOOTER-V2
   ---------------------------------------- */
.footer-v2 {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding-block: 4rem 2rem;
}

.footer-v2 .footer-content {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-v2 .footer-content { grid-template-columns: repeat(3, 1fr); }
}

.footer-v2 .footer-section h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-v2 .footer-section p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-v2 .footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-v2 .footer-section ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-v2 .footer-section ul a:hover {
  color: var(--color-white);
}

.footer-v2 .footer-contact {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 2;
}

.footer-v2 .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-v2 .footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-v2 .footer-bottom a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-v2 .footer-bottom a:hover {
  color: var(--color-white);
}

/* Legacy footer class support */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding-block: 4rem 2rem;
}

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

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

.footer .footer-section h4 {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer .footer-section p,
.footer .footer-contact {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.footer .footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer .footer-section ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer .footer-section ul li a:hover {
  color: var(--color-white);
}

.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
}

.footer .footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer .footer-bottom a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

/* ----------------------------------------
   17. SEGMENT HERO (sub-pages)
   ---------------------------------------- */
.segment-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 5rem var(--container-pad);
}

.segment-hero picture,
.segment-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.segment-hero > div:first-of-type {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.segment-hero .container {
  position: relative;
  z-index: 2;
  color: white;
}

.segment-hero h1 {
  color: white;
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.segment-hero p {
  color: rgba(255,255,255,0.80);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 700px;
  margin-inline: auto;
}

/* ----------------------------------------
   18. CASE STUDY & SPECS TABLE
   ---------------------------------------- */
.case-study-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.case-study-card img {
  border-radius: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

table th {
  padding: 0.875rem 1rem;
  text-align: left;
  background: var(--accent-current);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

table tr:nth-child(even) td {
  background: var(--color-bg-soft);
}

/* ----------------------------------------
   19. COMPLIANCE / SUSTAINABILITY BADGES
   ---------------------------------------- */
.compliance-grid,
.sustainability-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

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

.compliance-badge,
.sustainability-badge {
  background: var(--color-bg-soft);
  border-left: 4px solid var(--accent-current);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}

.compliance-badge h4,
.sustainability-badge h4 {
  color: var(--accent-current);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.compliance-badge p,
.sustainability-badge p {
  font-size: 0.875rem;
}

/* ----------------------------------------
   20. SCROLL ANIMATION CLASSES
   ---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------
   21. SEGMENT COLOR OVERRIDES
   ---------------------------------------- */
/* These classes set --accent-current per page context */
.theme-commercial  { --accent-current: #0066FF; }
.theme-hospitality { --accent-current: #FF4F00; }
.theme-healthcare  { --accent-current: #00B87A; }
.theme-education   { --accent-current: #7C3AED; }

/* segment-specific inline-style overrides for old HTML */
.segment-commercial h2 { color: var(--accent-commercial); }
.segment-hospitality h2 { color: var(--accent-hospitality); }
.segment-healthcare h2  { color: var(--accent-healthcare); }
.segment-education h2   { color: var(--accent-education); }

/* ----------------------------------------
   22. MISCELLANEOUS UTILITIES
   ---------------------------------------- */
.text-center { text-align: center; }
.text-muted   { color: var(--color-text-muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animation keyframe */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------
   23. RESPONSIVE PRINT
   ---------------------------------------- */
@media print {
  .navbar-v2, .hamburger { display: none; }
  .hero-v2 { min-height: auto; }
}

/* ----------------------------------------
   24. CTA SECTION (segment pages)
   ---------------------------------------- */
.cta-section {
  padding-block: var(--section-pad);
  background: var(--accent-current);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.80);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ----------------------------------------
   25. PRODUCTS GRID (segment pages)
   ---------------------------------------- */
.products-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 3rem 0;
}

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

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

.spec-list {
  list-style: none;
  margin-top: 1rem;
}

.spec-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.spec-list li:last-child { border-bottom: none; }
.spec-list li strong { color: var(--color-text); }

/* ----------------------------------------
   26. HOVER UTILITIES (kept for legacy classes)
   ---------------------------------------- */
.hover-lift {
  transition: transform var(--transition), box-shadow var(--transition);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.glow-on-hover {
  transition: box-shadow var(--transition);
}
