/* =========================================================
   FilmEclipse — style.css
   ========================================================= */

/* ---- Design tokens ---- */
:root {
  --bg:          #F8F7F4;
  --surface:     #FFFFFF;
  --surface-2:   #F0EDE8;
  --accent:      #ff751f;
  --accent-hover: #e05f00;
  --accent-dim:  rgba(255, 117, 31, 0.08);
  --accent-glow: rgba(255, 117, 31, 0.06);
  --text:        #1A1A1A;
  --text-muted:  #6B7280;
  --text-subtle: rgba(107, 114, 128, 0.55);
  --border:      rgba(0, 0, 0, 0.08);
  --border-accent: rgba(255, 117, 31, 0.22);

  --font-sans: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius:    20px;
  --radius-sm: 12px;
  --section-pad: 8.5rem;
  --shadow:    0 8px 28px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.10);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; font-size: 17px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Grain overlay ---- */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.016;
}

/* ---- Accent word (used in hero heading) ---- */
.accent-word { color: var(--accent); }

/* ---- Layout ---- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

section { padding: var(--section-pad) 0; }

/* ---- Typography ---- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.75px;
  color: var(--text);
  max-width: 26ch;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-header .section-heading { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 50px;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border: 1.5px solid var(--accent);
  box-shadow: 0 4px 16px rgba(255, 117, 31, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 117, 31, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0, 0, 0, 0.18);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.975rem;
  min-height: 54px;
}

/* ========================================================
   NAVIGATION
   ======================================================== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#nav.scrolled {
  background: rgba(248, 247, 244, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/*
  Logo canvas: 2000×2000 px
  Content (FILM ECLIPSE + subtitle): x 167→1826, y 680→991 = 1659×311 px

  Nav scale: image rendered at 334px wide (scale 334/2000 = 0.167)
    → content displays as 277×52 px
    → element: 289px × 64px (6px padding each side)
    → bg-position: -(167×0.167 - 6) = -22px  -(680×0.167 - 6) = -108px
*/
.logo {
  display: block;
  flex-shrink: 0;
  width: 289px;
  height: 64px;
  background: url('../images/FILM ECLIPSE-logo2.png') no-repeat;
  background-size: 334px;
  background-position: -22px -108px;
}

/* Footer scale: image rendered at 502px wide (scale 0.251)
   → content displays as 416×78 px
   → element: 432px × 94px (8px padding each side)
   → bg-position: -(167×0.251 - 8) = -34px  -(680×0.251 - 8) = -163px
*/
.footer-logo {
  width: 432px;
  height: 94px;
  background-size: 502px;
  background-position: -34px -163px;
}

/* No img tags inside logos any more */
.logo-img { display: none; }

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.lang-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.2rem 0.3rem;
  border-radius: 3px;
  transition: color var(--transition);
  min-height: 44px;
  min-width: 44px;
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] { color: var(--accent); }
.lang-btn:hover { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  width: 28px;
  height: 18px;
  padding: 0;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
}

/* ---- Mobile menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0,0,0,0.10);
  padding: 5rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-link {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  padding: 0.4rem 0;
  display: block;
  transition: color var(--transition);
}

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

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========================================================
   HERO
   ======================================================== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 74px;
  overflow: hidden;
  background:
    linear-gradient(
      to right,
      rgba(248, 247, 244, 0.92) 0%,
      rgba(248, 247, 244, 0.80) 35%,
      rgba(248, 247, 244, 0.38) 62%,
      rgba(248, 247, 244, 0.15) 100%
    ),
    url('../images/hero-bg.jpg') center / cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 65vw;
  height: 75vh;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 117, 31, 0.10) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black 0%, transparent 70%);
  opacity: 0.5;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

.hero-heading {
  font-family: var(--font-sans);
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--text);
}

.hero-sub {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 50ch;
  line-height: 1.8;
}

/* Hero-specific eyebrow override — frosted pill for legibility over image */
#hero .eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ---- Hero benefit chips ---- */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.hero-chip svg { color: var(--accent); flex-shrink: 0; }

.hero-support {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1.5px solid rgba(0, 0, 0, 0.12);
}

.trust-item {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* Star rating item in orange */
.trust-item:first-child { color: var(--accent); }

/* Small accent dot separator */
.trust-separator {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  font-size: 0;
}


/* ========================================================
   PAIN POINTS
   ======================================================== */
#pain-points { background: var(--surface-2); }

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

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.pain-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pain-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.pain-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.25px;
  line-height: 1.25;
  color: var(--text);
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================================
   HOW IT WORKS
   ======================================================== */
#how-it-works { background: var(--surface); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.step-card:hover::before { opacity: 1; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.step-num {
  font-family: var(--font-sans);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.65;
  line-height: 1;
  letter-spacing: -2px;
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.25px;
  color: var(--text);
}

.step-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), transparent);
  margin-top: 5.5rem;
  align-self: start;
}

/* ========================================================
   SERVICES
   ======================================================== */
#services { background: var(--surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-img-solar {
  background:
    linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.14)),
    url('../images/Solar films.jpg') center / cover no-repeat;
}

.service-img-security {
  background:
    linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.16)),
    url('../images/Security films.jpg') center / cover no-repeat;
}

.service-img-privacy {
  background:
    linear-gradient(rgba(0,0,0,0.06), rgba(0,0,0,0.12)),
    url('../images/Privacy films.jpg') center / cover no-repeat;
}

.service-img-graffiti { background: linear-gradient(135deg, #F0F0F0 0%, #E4E4E2 50%, #EAEAE8 100%); }

.service-img-thermal {
  background:
    linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.14)),
    url('../images/Decorative films.jpg') center / cover no-repeat;
}

/* SVG placeholders hidden now that real photos are in place */
.service-icon-bg { display: none; }

.service-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.service-content h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.25px;
  color: var(--text);
}

.service-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Service bullet points */
.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-bullets li::before {
  content: '•';
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.35;
}

/* ========================================================
   APPLICATIONS
   ======================================================== */
#applications { background: var(--surface-2); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.app-card {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: flex-end;
  cursor: default;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.app-card-residential { background: linear-gradient(160deg, #FFF8EC 0%, #FDEFD4 50%, #FAE6BC 100%); border: 1px solid rgba(255,117,31,0.15); }
.app-card-commercial  { background: linear-gradient(160deg, #EFF6FF 0%, #DCEAFA 50%, #CCE2F8 100%); border: 1px solid rgba(100,150,220,0.12); }

.app-card-inner {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, transparent 100%);
}

.app-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.app-card h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text);
}

.app-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.app-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
  display: inline-block;
  transition: opacity var(--transition);
}

.app-link:hover { opacity: 0.7; }

/* ========================================================
   STATS
   ======================================================== */
#stats {
  padding: 5rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,117,31,0.04) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========================================================
   SERVICE AREA — simple centered layout
   ======================================================== */
#service-area { background: var(--surface-2); }

.area-simple {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.area-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 48ch;
}

.area-cities-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  list-style: none;
  width: 100%;
}

.area-cities-simple li {
  padding: 0.55rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.area-cities-simple li:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

/* ========================================================
   WHY US
   ======================================================== */
#why-us {
  background:
    linear-gradient(rgba(248, 247, 244, 0.52), rgba(248, 247, 244, 0.52)),
    url('../images/2nd hero pictrure.jpg') center / cover no-repeat;
}

.why-layout {
  display: flex;
  justify-content: center;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  max-width: 620px;
  width: 100%;
}

.why-content .section-heading {
  text-align: center;
  margin-inline: auto;
}

.why-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.875rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.why-list li::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.why-list li:hover {
  border-color: var(--border-accent);
  color: var(--text);
  transform: translateX(4px);
}


/* ========================================================
   TESTIMONIALS — simple text blocks
   ======================================================== */
#testimonials { background: var(--surface); }

.testimonials-simple {
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-block {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-block:first-child {
  border-top: 1px solid var(--border);
}

.tblock-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.tblock-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
}

.tblock-cite {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  font-style: normal;
}

/* ========================================================
   BEFORE / AFTER GALLERY
   ======================================================== */
#gallery { background: var(--surface-2); }

.gallery-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ba-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ba-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: col-resize;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  user-select: none;
}

.ba-before-img,
.ba-after-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ba-after-img {
  clip-path: polygon(0 0, var(--split, 50%) 0, var(--split, 50%) 100%, 0 100%);
}

.ba-home-before { background: linear-gradient(120deg, #c8b888 0%, #d8c898 40%, #e0d0a0 60%, #c8b888 100%); }
.ba-home-after  { background: linear-gradient(120deg, #c8d8e8 0%, #b8cce0 40%, #c0d4e8 100%); }

.ba-office-before { background: linear-gradient(120deg, #b8c8d8 0%, #c8d8e8 40%, #d0e0f0 100%); }
.ba-office-after  { background: linear-gradient(120deg, #2a3848 0%, #304050 40%, #283848 100%); }

.ba-frost-before { background: linear-gradient(135deg, #c0d0e0 0%, #d0e0f0 50%, #c8d8e8 100%); }
.ba-frost-after  {
  background:
    repeating-linear-gradient(0deg, transparent 0px, transparent 9px, rgba(180,200,220,0.25) 9px, rgba(180,200,220,0.25) 10px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 9px, rgba(180,200,220,0.25) 9px, rgba(180,200,220,0.25) 10px),
    linear-gradient(135deg, #e8eef4 0%, #eef2f8 50%, #e4eaf0 100%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.ba-line {
  flex: 1;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,117,31,0.4);
}

.ba-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,117,31,0.4);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.ba-range {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: col-resize;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 3;
}

.ba-labels {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
  z-index: 2;
}

.ba-before-label,
.ba-after-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.9);
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.ba-after-label {
  color: var(--accent);
  border-color: var(--border-accent);
}

/* ========================================================
   FAQ
   ======================================================== */
#faq { background: var(--surface); }

.faq-layout { max-width: 820px; }

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  min-height: 60px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
}

.faq-trigger:hover { color: var(--accent); }
.faq-trigger[aria-expanded="true"] { color: var(--accent); }

.faq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  font-weight: 300;
  width: 20px;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer p {
  padding-bottom: 1.75rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 68ch;
}

/* ========================================================
   QUOTE FORM
   ======================================================== */
#quote {
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}

#quote::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(ellipse, rgba(255,117,31,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.quote-left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: 100px;
}

.form-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-trust-list span:first-child {
  color: var(--accent);
  font-weight: 700;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.contact-link svg {
  flex-shrink: 0;
  transition: color 0.3s ease;
}

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

.quote-right {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 400;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 50px;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(107,114,128,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

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

.quote-form .btn-primary { width: 100%; margin-top: 0.5rem; font-size: 0.95rem; }

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  font-size: 1.4rem;
  color: var(--accent);
}

.form-success p {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer logo size handled by .footer-logo class */

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 32ch;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

.footer-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a,
.footer-links p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-subtle);
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-subtle);
  transition: color 0.3s ease;
}

.footer-legal a:hover { color: var(--text-muted); }

/* ========================================================
   NAV CTA on smaller desktop
   ======================================================== */
@media (max-width: 1180px) { .nav-cta { display: none; } }

/* ========================================================
   RESPONSIVE — Tablet (< 1024px)
   ======================================================== */
@media (max-width: 1023px) {
  :root { --section-pad: 6rem; }

  /* Nav: hide links and desktop lang toggle, show hamburger */
  .nav-links   { display: none; }
  .nav-actions { display: none; }   /* lang toggle lives in mobile menu */
  .hamburger   { display: flex; }
  .nav-cta     { display: none; }

  /* Nav container: logo far-left, hamburger far-right */
  .nav-container {
    justify-content: space-between;
    gap: 1rem;
  }

  /* Logo — tablet size */
  .logo {
    width: 220px;
    height: 50px;
    background-size: 256px;
    background-position: -17px -83px;
  }

  .hero-layout { max-width: 100%; align-items: flex-start; text-align: left; padding-top: 2rem; }
  .hero-sub { margin-inline: 0; }
  .trust-row { justify-content: flex-start; }
  .hero-actions { justify-content: flex-start; }

  .pain-grid        { grid-template-columns: repeat(2, 1fr); }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .apps-grid        { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .gallery-scroll   { grid-template-columns: 1fr; }

  .steps-grid       { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-connector   { display: none; }

  .why-layout       { grid-template-columns: 1fr; gap: 3rem; }

  .quote-layout     { grid-template-columns: 1fr; gap: 3rem; }
  .quote-left       { position: static; }

  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand     { grid-column: 1 / -1; }
}

/* ========================================================
   RESPONSIVE — Mobile (< 640px)
   ======================================================== */
@media (max-width: 639px) {
  :root { --section-pad: 4.5rem; }

  /* ---- Nav mobile: grid so CTA is perfectly centered ---- */
  .nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 64px;
    align-items: center;
    gap: 0.5rem;
    padding-inline: 0;
  }
  .logo          { grid-column: 1; grid-row: 1; }
  .nav-links     { display: none; }
  .nav-actions   { grid-column: 2; grid-row: 1; display: flex; justify-content: center; }
  .hamburger     { grid-column: 3; grid-row: 1; display: flex; margin-left: 0; }

  /* Logo — mobile: 158×34 px visible area, nudged left (no left padding)
     Canvas 2000×2000, content (167,680)→(1826,991) = 1659×311
     Scale 0.0952: bg-size 190px, x-start -16px (flush left), y -65px  */
  .logo {
    width: 158px;
    height: 34px;
    background-size: 190px;
    background-position: -16px -65px;
  }

  /* ---- Hero mobile — full viewport, button anchored to bottom ---- */
  .hero-layout {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    min-height: calc(100svh - 74px);
    display: flex;
    flex-direction: column;
  }

  .hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .hero-heading {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    letter-spacing: -1.5px;
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-support {
    font-size: 0.95rem;
    font-weight: 800;
  }

  /* Reorder hero elements: headline → support → chips → CTAs → trust */
  .eyebrow      { order: 1; }
  .hero-heading { order: 2; }
  .hero-support { order: 3; }
  .hero-chips   {
    order: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    width: 100%;
  }
  .hero-actions {
    order: 5;
    margin-top: auto; /* push CTA to the bottom, gap fills between chips and button */
    padding-top: 1rem;
  }
  .trust-row { order: 6; }

  .hero-chip {
    height: 68px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    padding: 0.5rem 0.6rem;
    gap: 0.3rem;
    white-space: normal;
    line-height: 1.3;
  }
  .hero-chip svg { width: 18px; height: 18px; flex-shrink: 0; }

  /* Eyebrow pill — tighter on mobile */
  #hero .eyebrow {
    font-size: 0.65rem;
    padding: 0.3rem 0.75rem;
  }

  /* Hide everything below the primary CTA on mobile */
  #hero .btn-ghost { display: none; }
  #hero .trust-row { display: none; }

  /* Breathing room between hero elements on mobile */
  .hero-text { gap: 1.4rem; }

  /* CTA buttons full-width */
  .hero-actions     { flex-direction: column; width: 100%; }
  .hero-actions .btn{ width: 100%; text-align: center; }

  /* ---- Sections ---- */
  .pain-grid     { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-scroll{ grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item     { padding: 1.75rem 0.75rem; }

  /* ---- Form ---- */
  .quote-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .quote-left  { width: 100%; text-align: center; align-items: center; }
  .quote-right { width: 100%; padding: 1.75rem 1.25rem; box-sizing: border-box; }

  /* ---- Mobile nav: show CTA button, hide lang toggle from top bar ---- */
  .nav-actions {
    display: flex;
  }
  .nav-actions .lang-toggle {
    display: none;        /* lang toggle is inside the hamburger menu */
  }
  .nav-cta {
    display: flex !important;
    font-size: 0.72rem;
    padding: 9px 14px;
    min-height: 38px;
    white-space: nowrap;
  }

  /* ---- Footer logo mobile ---- */
  .footer-logo {
    width: 158px;
    height: 34px;
    background-size: 190px;
    background-position: -16px -65px;
  }

  /* ---- Footer horizontal layout on mobile ---- */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  /* Brand spans full width at top */
  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* Shrink tagline on mobile so footer stays compact */
  .footer-tagline {
    font-size: 0.78rem;
    max-width: 100%;
    line-height: 1.55;
  }

  /* Tighter column content */
  .footer-col-heading {
    font-size: 0.65rem;
    margin-bottom: 0.75rem;
  }

  .footer-links { gap: 0.4rem; }
  .footer-links a,
  .footer-links p { font-size: 0.78rem; }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .ba-container { aspect-ratio: 4 / 3; }
}

/* ========================================================
   REDUCED MOTION
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-visual-inner { animation: none; }
  .hero-glow { animation: none; }
  .badge-dot::after { animation: none; }
  .btn-primary:hover { animation: none; }
}
