/* ================================================================
   Heights Remedy Technician — Main Stylesheet v2
   Brand: Cyan #25BDEF | Red #E63027 | Charcoal #0F1115
   ================================================================ */

/* ── 1. Design Tokens ────────────────────────────────────────── */
:root {
  --primary:   #25BDEF;
  --secondary: #E63027;
  --charcoal:  #0F1115;
  --white:     #ffffff;
  --gray-50:   #f8f9fa;
  --gray-100:  #f1f3f5;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --font:      'Inter', 'Helvetica Neue', sans-serif;
  --max-w:     1280px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── 2. Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font); color: var(--charcoal); background: #fff; line-height: 1.6; overflow-x: hidden; cursor: none; }
@media (pointer: coarse) { body { cursor: auto; } }
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── 3. Custom Cursor ────────────────────────────────────────── */
#cursor {
  display: none;
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  box-shadow: 0 0 0 2px rgba(37,189,239,.3);
  transition: width .15s ease, height .15s ease, opacity .15s ease, box-shadow .15s ease;
}
#cursor.hovering {
  width: 30px; height: 30px; opacity: .75;
  box-shadow: 0 0 0 4px rgba(37,189,239,.2);
}
@media (pointer: fine) { #cursor { display: block; } }

/* ── 4. Swipe Overlay ────────────────────────────────────────── */
#swipe-overlay {
  position: fixed; inset: 0; z-index: 500;
  pointer-events: none;
  background: var(--primary);
  width: 140%; left: -20%;
  transform: translateX(-115%) skewX(-12deg);
}
#swipe-overlay.animate {
  animation: swipeAcross .82s cubic-bezier(.76,0,.24,1) forwards;
}
@keyframes swipeAcross {
  from { transform: translateX(-115%) skewX(-12deg); }
  to   { transform: translateX(115%)  skewX(-12deg); }
}

/* ── 5. Page Entry ───────────────────────────────────────────── */
.page-enter {
  animation: pageEnter .55s cubic-bezier(.22,1,.36,1) both;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── 6. Layout helpers ───────────────────────────────────────── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 6rem 0; }
.section--dark  { background: var(--charcoal); color: var(--white); }
.section--gray  { background: var(--gray-50); }
.section--white { background: var(--white); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-4 { grid-template-columns: repeat(4,1fr); }
}

/* ── 7. Typography ───────────────────────────────────────────── */
.kicker      { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: .75rem; }
.kicker-red  { color: var(--secondary); }
.kicker-line { width: 3rem; height: 2px; background: var(--primary); margin: .5rem 0 1.5rem; }
.section-title    { font-size: clamp(2rem,5vw,3.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 1.25rem; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 42rem; line-height: 1.7; margin-bottom: 3rem; }
.section--dark .section-subtitle { color: var(--gray-400); }
.accent { color: var(--primary); }

/* ── 8. Buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 2rem; height: 3.5rem; font-weight: 700; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; transition: all .3s var(--ease); border: 2px solid transparent; border-radius: 0; }
.btn-primary          { background: var(--primary); color: var(--white); }
.btn-primary:hover    { background: #1ca8d8; }
.btn-outline-dark     { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline-dark:hover  { background: var(--charcoal); color: var(--white); }
.btn-outline-white    { border-color: var(--white); color: var(--charcoal); background: var(--white); }
.btn-outline-white:hover { background: transparent; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── 9. Top Bar ──────────────────────────────────────────────── */
.top-bar { background: var(--primary); color: rgba(255,255,255,.9); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: none; padding: .55rem 0; }
@media (min-width: 768px) { .top-bar { display: block; } }
.top-bar .container { display: flex; justify-content: flex-end; gap: 2rem; }
.top-bar a { transition: color .2s; }
.top-bar a:hover { color: var(--white); }

/* ── 10. Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed; left: 0; right: 0; z-index: 100;
  background: var(--white);
  padding: .6rem 0;
  transition: all .3s ease;
  top: 0;
}
@media (min-width: 768px) { .site-header { top: 2rem; } }
.site-header.scrolled {
  top: 0 !important;
  padding: .4rem 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo img { height: 4.5rem; transition: height .3s; display: block; }
.site-header.scrolled .site-logo img { height: 3.5rem; }
@media (min-width: 768px) { .site-logo img { height: 6.5rem; } }
@media (min-width: 768px) { .site-header.scrolled .site-logo img { height: 5rem; } }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { margin-left: .5rem; }

.hamburger { display: flex; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; z-index: 110; position: relative; }
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span { display: block; height: 2px; background: var(--charcoal); transition: all .3s; }
.hamburger.open span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — slides down from top, dark bg */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--charcoal);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-nav.open { display: flex; animation: mobileNavIn .3s ease both; }
@keyframes mobileNavIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
.mobile-nav a { font-size: 2rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: var(--white); transition: color .2s; }
.mobile-nav a:hover { color: var(--primary); }

/* ── 11. Preloader ───────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--charcoal);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  color: var(--white);
  transition: transform .5s cubic-bezier(.76,0,.24,1);
}
#preloader.done { transform: translateY(-100%); }
#preloader .pre-logo    { height: 64px; filter: brightness(0) invert(1); }
#preloader .pre-kicker  { font-size: .7rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--primary); }
#preloader .pre-counter { font-size: clamp(3rem,10vw,5rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.tw-cursor { animation: tw-blink .9s steps(1) infinite; color: var(--primary); }
@keyframes tw-blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

/* ── 12. Scroll Reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── 13. Hero ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width:100%; height:100%; object-fit:cover; animation: heroZoom 1.5s ease-out forwards; }
@keyframes heroZoom { from{transform:scale(1.1)} to{transform:scale(1)} }
.hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(to right,rgba(15,17,21,.9) 40%,rgba(15,17,21,.3) 70%,transparent); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 8rem; }
@media (min-width:768px) { .hero-content { padding-top: 10rem; } }
.hero-content .container { padding-top: 1rem; padding-bottom: 4rem; }
.hero h1 { font-size: clamp(2.25rem,6vw,5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; color: var(--white); margin-bottom: 1.5rem; min-height: 5.5em; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 40rem; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--white); animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── 14. Page Banner ─────────────────────────────────────────── */
.page-banner { position: relative; padding: 9rem 0 5rem; background: var(--charcoal); color: var(--white); overflow: hidden; }
.page-banner-bg { position: absolute; inset: 0; }
.page-banner-bg img { width:100%; height:100%; object-fit:cover; opacity:.2; filter:grayscale(1); }
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(2.5rem,7vw,5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; min-height: 1.6em; }
.banner-bar   { width: 5rem; height: 4px; background: var(--primary); margin: 1.5rem 0; }
.banner-sub   { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 40rem; line-height: 1.7; }

/* ── 15. Stats ───────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; text-align: center; }
@media (min-width: 768px)  { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; }
@media (min-width: 1024px) { .stat-item { border-top:none; border-left:1px solid rgba(255,255,255,.1); padding: 0 2rem; } .stat-item:first-child { border-left:none; } }
.stat-number { font-size: clamp(3rem,6vw,4rem); font-weight: 900; color: var(--primary); line-height: 1; display: block; }
.stat-number.red { color: var(--secondary); }
.stat-number.white { color: var(--white); }
.stat-label  { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-top: .75rem; line-height: 1.4; }

/* ── 16. Highlight / WHY cards ───────────────────────────────── */
.highlight-card { background: var(--white); padding: 2.5rem; border-top: 4px solid var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.highlight-card svg { width: 3rem; height: 3rem; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.25rem; }
.highlight-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.highlight-card p  { font-size: .9rem; color: var(--gray-500); margin-top: .75rem; line-height: 1.6; }

/* ── 17. Flip Cards ──────────────────────────────────────────── */
.flip-card { height: 18rem; perspective: 1200px; cursor: pointer; }
.flip-card-inner { position: relative; width:100%; height:100%; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transition: transform .7s cubic-bezier(.76,0,.24,1); }
.flip-card:hover .flip-card-inner, .flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.75rem; text-align: center; }
.flip-front { background: var(--white); border: 1px solid var(--gray-200); gap: 1rem; transition: border-color .3s; }
.flip-card:hover .flip-front { border-color: var(--primary); }
.flip-icon { width: 4rem; height: 4rem; border: 2px solid rgba(37,189,239,.3); background: rgba(37,189,239,.08); display: flex; align-items: center; justify-content: center; }
.flip-icon svg { width: 2rem; height: 2rem; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.flip-front h3 { font-size: .875rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; line-height: 1.3; }
.flip-hint { font-size: .65rem; text-transform: uppercase; letter-spacing: .18em; color: var(--primary); font-weight: 700; }
.flip-back { background: var(--charcoal); border: 1px solid var(--primary); transform: rotateY(180deg); align-items: flex-start; text-align: left; gap: .6rem; color: var(--white); padding: 1.5rem; }
.flip-bar  { width: 2rem; height: 2px; background: var(--primary); }
.flip-back h3 { font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.flip-back p  { font-size: .73rem; color: rgba(255,255,255,.7); line-height: 1.55; }
.flip-back ul { width:100%; }
.flip-back li { font-size: .7rem; color: rgba(255,255,255,.85); display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .3rem; }
.flip-back li::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--primary); flex-shrink:0; margin-top:.3rem; }

/* ── 18. 3D Rotating Gallery ─────────────────────────────────── */
.gallery-3d { display: flex; align-items: center; justify-content: center; height: 36rem; perspective: 1600px; -webkit-perspective: 1600px; position: relative; overflow: hidden; }
.gallery-stage { position: relative; width: 280px; height: 400px; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; animation: gRotate 36s linear infinite; }
.gallery-3d:hover .gallery-stage, .gallery-3d.paused .gallery-stage { animation-play-state: paused; }
@keyframes gRotate { from{transform:rotateY(0deg)} to{transform:rotateY(360deg)} }
.g-card { position: absolute; inset: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.g-card img { width:100%; height:100%; object-fit:cover; opacity:.85; }
.g-label { position: absolute; inset-x:0; bottom:0; padding:1.25rem; background: linear-gradient(to top,rgba(15,17,21,1),transparent); color: var(--white); }
.g-label-bar { width:2rem; height:2px; background:var(--primary); margin-bottom:.6rem; }
.g-label h3 { font-size:.9rem; font-weight:900; text-transform:uppercase; }
.g-label p  { font-size:.75rem; color:rgba(255,255,255,.65); margin-top:.25rem; }
.gallery-fade { position:absolute; inset-y:0; width:8rem; pointer-events:none; z-index:2; }
.gallery-fade.l { left:0; background: linear-gradient(to right,var(--charcoal),transparent); }
.gallery-fade.r { right:0; background: linear-gradient(to left,var(--charcoal),transparent); }
.gallery-tip { text-align:center; font-size:.65rem; text-transform:uppercase; letter-spacing:.15em; color:rgba(255,255,255,.35); padding:.75rem 0 3rem; }
@media (max-width:767px) { .gallery-3d { height:28rem; } .gallery-stage,.g-card { width:180px; height:280px; } }

/* ── 19. Process Marquee ─────────────────────────────────────── */
.marquee-wrap { overflow:hidden; position:relative; }
.marquee-track { display:flex; width:max-content; animation:mScroll 32s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state:paused; }
.m-card { flex-shrink:0; width:240px; border:1px solid rgba(255,255,255,.1); padding:2rem; margin:0 .75rem; color:var(--white); }
.m-num   { font-size:2.5rem; font-weight:900; color:rgba(255,255,255,.06); line-height:1; margin-bottom:.35rem; }
.m-title { font-size:.8rem; font-weight:900; text-transform:uppercase; letter-spacing:.08em; color:var(--primary); margin-bottom:.4rem; }
.m-desc  { font-size:.78rem; color:rgba(255,255,255,.55); line-height:1.6; }
@keyframes mScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── 20. Certifications Marquee ──────────────────────────────── */
.cert-wrap  { overflow:hidden; position:relative; }
.cert-track { display:flex; width:max-content; animation:certScroll 28s linear infinite; }
.cert-item  { flex-shrink:0; width:11rem; height:11rem; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.6rem; padding:1.5rem; text-align:center; margin:0 1.25rem; }
.cert-code  { font-size:1.4rem; font-weight:900; color:var(--primary); }
.cert-label { font-size:.6rem; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.45); line-height:1.4; }
@keyframes certScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.cert-fade  { position:absolute; inset-y:0; width:5rem; pointer-events:none; z-index:2; }
.cert-fade.l { left:0; background:linear-gradient(to right,var(--charcoal),transparent); }
.cert-fade.r { right:0; background:linear-gradient(to left,var(--charcoal),transparent); }

/* ── 21. Photo Grid + Lightbox ───────────────────────────────── */
.photo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:.75rem; }
@media (min-width:768px) { .photo-grid { grid-template-columns:repeat(4,1fr); } }
.photo-item { position:relative; aspect-ratio:3/4; overflow:hidden; cursor:pointer; }
.photo-item img { width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.photo-item:hover img { transform:scale(1.05); }
.photo-overlay { position:absolute; inset:0; background:rgba(15,17,21,.5); opacity:0; transition:opacity .3s; display:flex; align-items:flex-end; padding:1rem; }
.photo-item:hover .photo-overlay { opacity:1; }
.photo-overlay p { font-size:.75rem; color:var(--white); line-height:1.4; font-weight:500; }
.photo-bar { position:absolute; top:0; left:0; height:3px; width:0; background:var(--primary); transition:width .5s var(--ease); z-index:2; }
.photo-item:hover .photo-bar { width:100%; }
#lightbox { display:none; position:fixed; inset:0; z-index:400; background:rgba(0,0,0,.9); align-items:center; justify-content:center; padding:1rem; }
#lightbox.open { display:flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
#lightbox .lb-img { max-height:90vh; max-width:100%; object-fit:contain; transform:scale(1); animation: lbZoom .3s ease; }
@keyframes lbZoom { from{transform:scale(.92);opacity:0} to{transform:scale(1);opacity:1} }
#lb-close { position:absolute; top:1.25rem; right:1.5rem; color:var(--white); font-size:2.5rem; line-height:1; cursor:pointer; transition:color .2s; }
#lb-close:hover { color:var(--primary); }
#lb-caption { position:absolute; bottom:1.5rem; left:0; right:0; text-align:center; font-size:.875rem; color:rgba(255,255,255,.6); }

/* ── 22. Testimonials ────────────────────────────────────────── */
.t-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); padding:2.5rem; color:var(--white); transition:background .3s; }
.t-card:hover { background:rgba(255,255,255,.1); }
.t-card img { width:4rem; height:4rem; border-radius:50%; object-fit:cover; border:2px solid var(--primary); margin-bottom:1.5rem; }
.t-card blockquote { font-size:.9rem; color:rgba(255,255,255,.8); line-height:1.7; font-style:italic; margin-bottom:1.5rem; }
.t-name { font-weight:700; text-transform:uppercase; letter-spacing:.08em; font-size:.875rem; }
.t-role { font-size:.8rem; color:var(--secondary); margin-top:.25rem; }
.grid-4-t { display:grid; grid-template-columns:1fr; gap:1.5rem; }
@media (min-width:640px) { .grid-4-t { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px) { .grid-4-t { grid-template-columns:repeat(4,1fr); } }

/* ── 23. FAQ Accordion ───────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-trigger { width:100%; display:flex; justify-content:space-between; align-items:center; padding:1.25rem 0; text-align:left; font-size:1rem; font-weight:700; color:var(--charcoal); cursor:pointer; gap:1rem; transition:color .2s; }
.faq-trigger:hover { color:var(--primary); }
.faq-trigger svg { width:1.25rem; height:1.25rem; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; flex-shrink:0; transition:transform .3s; }
.faq-item.open .faq-trigger svg { transform:rotate(180deg); }
.faq-body { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-body-inner { padding:0 0 1.25rem; font-size:.95rem; color:var(--gray-500); line-height:1.7; }

/* ── 24. Emergency block ─────────────────────────────────────── */
.emergency-block { background:rgba(37,189,239,.1); border-left:4px solid var(--primary); padding:1.5rem; }
.emergency-block .emg-head { display:flex; align-items:center; gap:.75rem; margin-bottom:.75rem; }
.emergency-block svg { width:1.25rem; height:1.25rem; stroke:var(--primary); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.emergency-block h4 { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--primary); }
.emergency-block p { font-size:.9rem; color:var(--gray-500); line-height:1.6; }
.emergency-block a { font-weight:700; transition:color .2s; }
.emergency-block a:hover { color:var(--primary); }

/* ── 25. Project cards ───────────────────────────────────────── */
.projects-grid { display:grid; grid-template-columns:1fr; gap:1rem; }
@media (min-width:640px) { .projects-grid { grid-template-columns:repeat(2,1fr); } }
.project-card { position:relative; overflow:hidden; aspect-ratio:4/3; cursor:pointer; background:var(--charcoal); }
.project-card img { width:100%; height:100%; object-fit:cover; opacity:.82; transition:all .7s var(--ease); }
.project-card:hover img { transform:scale(1.1); opacity:.4; }
.project-info { position:absolute; inset:0; padding:2rem; display:flex; flex-direction:column; justify-content:flex-end; transform:translateY(8px); transition:transform .5s var(--ease); }
.project-card:hover .project-info { transform:none; }
.p-bar { width:3rem; height:4px; background:var(--primary); margin-bottom:.75rem; opacity:0; transition:opacity .4s .1s; }
.project-card:hover .p-bar { opacity:1; }
.project-info h3 { font-size:1.2rem; font-weight:700; color:var(--white); text-transform:uppercase; letter-spacing:.04em; }
.project-info p  { color:var(--secondary); font-size:.875rem; font-weight:600; margin-top:.25rem; letter-spacing:.04em; }
.filter-bar { display:flex; flex-wrap:wrap; gap:.75rem; margin-bottom:3rem; }
.filter-btn { padding:.5rem 1.5rem; font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; border:2px solid var(--gray-200); color:var(--charcoal); background:var(--white); transition:all .2s; cursor:pointer; }
.filter-btn:hover, .filter-btn.active { border-color:var(--primary); background:var(--primary); color:var(--white); }
.project-item.hidden { display:none; }

/* ── 26. Contact ─────────────────────────────────────────────── */
.contact-detail { display:flex; align-items:flex-start; gap:1rem; }
.contact-icon { width:3rem; height:3rem; background:var(--gray-50); border:1px solid var(--gray-100); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-icon svg { width:1.25rem; height:1.25rem; stroke:var(--primary); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.contact-lbl { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:var(--gray-500); margin-bottom:.25rem; }
.contact-val { font-weight:700; color:var(--charcoal); font-size:.95rem; line-height:1.5; }
.contact-val a { color:var(--charcoal); transition:color .2s; }
.contact-val a:hover { color:var(--primary); }
.form-group  { margin-bottom:1.5rem; }
.form-group label { display:block; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--gray-500); margin-bottom:.5rem; }
.form-control { width:100%; padding:.85rem 1rem; border:1px solid var(--gray-200); font:inherit; font-size:.9rem; outline:none; background:var(--white); transition:border-color .2s, box-shadow .2s; border-radius:0; }
.form-control:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(37,189,239,.15); }
textarea.form-control { resize:vertical; min-height:150px; }
.form-error { font-size:.78rem; color:var(--secondary); margin-top:.35rem; display:none; }
.form-control.invalid { border-color:var(--secondary); }
.form-control.invalid + .form-error { display:block; }
.form-notice { display:none; background:rgba(37,189,239,.1); border:1px solid var(--primary); color:var(--charcoal); padding:1.25rem; font-weight:600; margin-top:1.5rem; border-radius:0; }
.form-notice.show { display:block; }
.map-block { height:480px; background:rgba(15,17,21,.1); position:relative; overflow:hidden; }
.map-embed-wrap { position:absolute; inset:0; }
.map-embed-iframe { width:100%; height:100%; border:0; filter:grayscale(.15) contrast(1.05); }
.map-card {
  background:var(--white); padding:1.5rem 2rem; border-top:4px solid var(--primary);
  text-align:center; box-shadow:0 8px 30px rgba(0,0,0,.2);
}
.map-card-overlay {
  position:absolute; left:1.25rem; bottom:1.25rem; z-index:2; max-width:320px; text-align:left;
}
@media (min-width: 768px) { .map-card-overlay { left:2.5rem; bottom:2.5rem; } }
.map-card svg { width:2rem; height:2rem; stroke:var(--primary); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; margin:0 0 .75rem; }
.map-card h3 { font-size:1rem; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
.map-card p { font-size:.875rem; color:var(--gray-500); margin-top:.5rem; line-height:1.5; }
@media (max-width: 640px) {
  .map-block { height:auto; }
  .map-embed-wrap { position:relative; height:300px; }
  .map-card-overlay { position:relative; left:auto; bottom:auto; max-width:none; margin:0; }
}

/* ── 27. About prose ─────────────────────────────────────────── */
.prose p { margin-bottom:1rem; color:var(--gray-500); line-height:1.7; font-size:1.05rem; }
.prose h3 { font-size:1.05rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--charcoal); margin:2rem 0 1rem; }
.prose ul { padding-left:1.25rem; list-style:disc; }
.prose ul li { margin-bottom:.5rem; line-height:1.6; color:var(--gray-500); }
.prose strong { color:var(--charcoal); }

/* ── 28. Footer ──────────────────────────────────────────────── */
.site-footer { background:#080a0c; color:rgba(255,255,255,.45); padding:5rem 0 2rem; }
.footer-grid { display:grid; grid-template-columns:1fr; gap:3rem; margin-bottom:4rem; }
@media (min-width:768px) { .footer-grid { grid-template-columns:2fr 1fr 1fr 1.5fr; } }
.footer-logo { height:6rem; filter:brightness(0) invert(1); margin-bottom:1.5rem; }
.footer-tagline { font-size:.875rem; line-height:1.7; max-width:22rem; color:rgba(255,255,255,.45); }
.footer-heading { font-size:.875rem; font-weight:700; color:var(--white); text-transform:uppercase; letter-spacing:.1em; margin-bottom:1.5rem; }
.footer-links { display:flex; flex-direction:column; gap:.75rem; }
.footer-links a { font-size:.875rem; transition:color .2s; }
.footer-links a:hover { color:var(--primary); }
.footer-contact-list { display:flex; flex-direction:column; gap:1rem; }
.footer-contact-list li { font-size:.875rem; line-height:1.5; }
.footer-contact-list a { transition:color .2s; word-break:break-all; }
.footer-contact-list a:hover { color:var(--primary); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.07); padding-top:2rem; display:flex; flex-direction:column; align-items:center; gap:1rem; text-align:center; font-size:.8rem; }
@media (min-width:768px) { .footer-bottom { flex-direction:row; justify-content:space-between; text-align:left; } }
.footer-bottom .primary { color:var(--primary); }
.footer-legal { display:flex; gap:1.5rem; }
.footer-legal a { transition:color .2s; }
.footer-legal a:hover { color:var(--white); }

/* ── 29. Chat Widget (New Design) ────────────────────────────── */
.chat-fab-btn {
  position:fixed; bottom:1.25rem; right:1.25rem; z-index:80;
  width:3.5rem; height:3.5rem; border-radius:50%;
  background:var(--primary); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px rgba(37,189,239,.4);
  border:none; cursor:pointer;
  transition:transform .3s var(--ease);
}
@media (min-width:768px) { .chat-fab-btn { width:4rem; height:4rem; bottom:1.5rem; right:1.5rem; } }
.chat-fab-btn:hover { transform:scale(1.06); }
.chat-fab-btn .fab-pulse {
  position:absolute; inset:0; border-radius:50%; background:var(--primary);
  animation:fabPulse 1.6s ease-out infinite;
}
@keyframes fabPulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.6);opacity:0} }
.chat-fab-btn svg { width:1.5rem; height:1.5rem; stroke:var(--white); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; position:relative; z-index:1; transition:opacity .2s, transform .2s; }
.chat-fab-btn .icon-chat { display:block; }
.chat-fab-btn .icon-close { display:none; }
.chat-fab-btn.open .icon-chat { display:none; }
.chat-fab-btn.open .icon-close { display:block; }
.chat-fab-btn.open .fab-pulse { display:none; }

.chat-panel-new {
  position:fixed; bottom:5.5rem; right:1rem; z-index:80;
  width:calc(100vw - 2rem); max-width:22rem;
  border-radius:1rem; overflow:hidden;
  background:var(--white); border:1px solid var(--gray-200);
  box-shadow:0 20px 60px rgba(0,0,0,.2);
  max-height:min(560px,80vh);
  display:none; flex-direction:column;
  transform-origin:bottom right;
}
@media (min-width:768px) { .chat-panel-new { right:1.5rem; bottom:6rem; } }
.chat-panel-new.open { display:flex; animation:chatOpen .25s cubic-bezier(.76,0,.24,1); }
@keyframes chatOpen { from{opacity:0;transform:scale(.96) translateY(16px)} to{opacity:1;transform:none} }

.chat-hdr { background:var(--charcoal); padding:1rem 1.25rem; display:flex; align-items:center; gap:.75rem; color:var(--white); flex-shrink:0; }
.chat-avatar-new { width:2.5rem; height:2.5rem; border-radius:50%; background:var(--primary); display:flex; align-items:center; justify-content:center; flex-shrink:0; position:relative; }
.chat-avatar-new svg { width:1.25rem; height:1.25rem; stroke:var(--white); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.chat-avatar-new .online-dot { position:absolute; bottom:-1px; right:-1px; width:10px; height:10px; border-radius:50%; background:#34d399; border:2px solid var(--charcoal); }
.chat-hdr-text h4 { font-size:.875rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.chat-hdr-text p  { font-size:.72rem; color:var(--gray-400); }

.chat-messages { flex:1; overflow-y:auto; background:var(--gray-50); padding:1rem; display:flex; flex-direction:column; gap:.75rem; scroll-behavior:smooth; }
.chat-bubble-bot { max-width:85%; background:var(--white); border-radius:1rem 1rem 1rem .25rem; padding:.75rem 1rem; font-size:.83rem; color:var(--charcoal); line-height:1.5; box-shadow:0 1px 4px rgba(0,0,0,.08); animation:msgIn .3s ease; }
.chat-bubble-user { max-width:85%; background:var(--primary); border-radius:1rem 1rem .25rem 1rem; padding:.75rem 1rem; font-size:.83rem; color:var(--white); line-height:1.5; align-self:flex-end; box-shadow:0 1px 4px rgba(0,0,0,.1); animation:msgIn .3s ease; }
@keyframes msgIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.chat-chips { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.25rem; }
.chat-chip { background:var(--white); border:1px solid rgba(37,189,239,.3); border-radius:2rem; padding:.375rem .875rem; font-size:.75rem; font-weight:600; color:var(--primary); cursor:pointer; transition:background .2s, color .2s; }
.chat-chip:hover { background:var(--primary); color:var(--white); }

.chat-input-row { display:flex; align-items:center; gap:.5rem; border-top:1px solid var(--gray-200); background:var(--white); padding:.75rem; flex-shrink:0; }
.chat-input-row input { flex:1; border:1px solid var(--gray-200); border-radius:2rem; background:var(--gray-50); padding:.5rem 1rem; font-size:.875rem; outline:none; transition:border-color .2s, box-shadow .2s; }
.chat-input-row input:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(37,189,239,.15); }
.chat-send-btn { width:2.5rem; height:2.5rem; border-radius:50%; background:var(--primary); color:var(--white); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .2s; }
.chat-send-btn:hover { transform:scale(1.08); }
.chat-send-btn svg { width:1rem; height:1rem; stroke:var(--white); fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }

.chat-wa-link { border-top:1px solid var(--gray-100); background:#f0fdf4; padding:.625rem 1rem; text-align:center; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#065f46; cursor:pointer; border:none; width:100%; flex-shrink:0; transition:background .2s; }
.chat-wa-link:hover { background:#dcfce7; }

/* ── 30. Mini form (home page) ───────────────────────────────── */
.mini-form-wrap { background:var(--white); padding:2.5rem; border-top:4px solid var(--primary); box-shadow:0 4px 24px rgba(0,0,0,.08); }

/* ── 31. Responsive ──────────────────────────────────────────── */
@media (max-width:767px) {
  .section { padding:4rem 0; }
  .hero h1 { min-height:7.5em; }
  .flip-card { height:16rem; }
  .btn-row { flex-direction:column; }
  .btn-row .btn { justify-content:center; }
}
