/* -------------------------------------------------------------------------- */
/* Ultramodern Glassmorphism Design System - AB-IZOL s.r.o. (vlhkydom.sk)     */
/* -------------------------------------------------------------------------- */

/* Self-hosted variable fonts (latin + latin-ext for Slovak diacritics) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 22, 36, 0.65);
  --bg-card-hover: rgba(23, 34, 54, 0.85);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-glow: rgba(14, 165, 233, 0.4);
  
  --primary-cyan: #0ea5e9;
  --primary-cyan-glow: rgba(14, 165, 233, 0.35);
  --emerald-green: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --warm-gold: #f59e0b;
  --alert-crimson: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #a0b2cc;
  --text-dim: #8b9db5;

  --font-heading: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-glow: 0 0 25px var(--primary-cyan-glow);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 300;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--text-main);
  color: var(--bg-dark);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Ambient Floating Blur Orbs */
.ambient-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: orbPulse 12s infinite alternate ease-in-out;
}

.orb-1 {
  top: -10%;
  left: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--primary-cyan) 0%, rgba(14,165,233,0) 70%);
}

.orb-2 {
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--emerald-green) 0%, rgba(16,185,129,0) 70%);
  animation-delay: -4s;
}

.orb-3 {
  top: 45%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #3b82f6 0%, rgba(59,130,246,0) 70%);
  animation-delay: -8s;
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.55; }
  100% { transform: scale(0.9) translate(-20px, 30px); opacity: 0.35; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 50%, var(--emerald-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.glass-card:hover {
  border-color: var(--border-glass-glow);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

/* Sticky Glass Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--primary-cyan-glow);
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.5);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-green) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(14, 165, 233, 0.1);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Drawer Menu Mobile */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(15, 22, 36, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-glass);
  z-index: 150;
  padding: 2rem 1.5rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 9rem 0 5rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 420;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Calculator Widget */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-glow);
  box-shadow: 0 0 35px rgba(14, 165, 233, 0.15);
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.calc-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px var(--primary-cyan-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-results {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px dashed var(--primary-cyan);
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-price-display {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--emerald-green);
  margin: 0.25rem 0;
}

.method-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-green);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Features Section */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--emerald-green));
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-list {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-list li svg {
  color: var(--emerald-green);
  flex-shrink: 0;
}

.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Technologies */
.tech-group-title {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

.services-grid + .tech-group-title {
  margin-top: 3rem;
}

.tech-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--emerald-green);
}

.tech-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Moisture Visualizer Scale */
.moisture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.scale-card {
  --level-color: var(--emerald-green);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  border-top: 4px solid var(--level-color);
  color: var(--text-main);
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem;
}

.scale-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--level-color);
}

.scale-card.level-normal   { --level-color: var(--emerald-green); }
.scale-card.level-low      { --level-color: #84cc16; }
.scale-card.level-warn     { --level-color: var(--warm-gold); }
.scale-card.level-high     { --level-color: #f97316; }
.scale-card.level-critical { --level-color: var(--alert-crimson); }

.scale-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--level-color);
}

.scale-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--level-color);
}

.scale-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pricing Table */
.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.pricing-table th,
.pricing-table td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

.pricing-table th {
  background: rgba(14, 165, 233, 0.1);
  font-family: var(--font-heading);
  color: var(--primary-cyan);
  font-size: 0.95rem;
}

.pricing-table td {
  font-size: 0.95rem;
  color: var(--text-main);
}

.pricing-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.price-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--emerald-green);
  font-size: 1.1rem;
}

/* COMER Equipment */
.comer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.comer-media {
  padding: 0;
  overflow: hidden;
}

.comer-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.comer-spec {
  color: var(--emerald-green);
  font-family: var(--font-heading);
  font-weight: 700;
  margin: -0.25rem 0 1.25rem;
}

/* Filterable Gallery */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-cyan);
  color: #fff;
  border-color: var(--primary-cyan);
  box-shadow: 0 4px 15px var(--primary-cyan-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(7,9,14,0.9) 0%, rgba(7,9,14,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

/* Touch devices have no hover – show captions permanently */
@media (hover: none) {
  .gallery-overlay { opacity: 1; }
}

.gallery-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.gallery-tag {
  font-size: 0.75rem;
  color: var(--primary-cyan);
  text-transform: uppercase;
}

/* Lightbox Modal (native <dialog>) */
.lightbox-modal {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  border: none;
  padding: 1rem;
  background: rgba(7, 9, 14, 0.92);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
}

.lightbox-modal[open] {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-modal::backdrop {
  background: rgba(7, 9, 14, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3.5rem;
}

.lightbox-content img {
  /* Source photos are only ~350 px wide, so limit upscaling to keep them reasonably sharp */
  width: min(700px, 100%);
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-glass);
}

.lightbox-caption {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-main);
  font-family: var(--font-heading);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 3.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 40%;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(15, 22, 36, 0.8);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
}

.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(15, 22, 36, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-glow);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.toast.active {
  transform: translateX(0);
}

.toast-icon {
  color: var(--emerald-green);
  font-size: 1.25rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map-frame {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  margin-top: 1.5rem;
}

.contact-heading,
.form-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}

.contact-heading {
  margin-bottom: 0.15rem;
}

.contact-info-item address {
  font-style: normal;
}

.contact-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.contact-link {
  color: var(--primary-cyan);
  font-weight: 600;
  text-decoration-color: rgba(14, 165, 233, 0.45);
  text-underline-offset: 0.2em;
}

.contact-link:hover {
  color: var(--text-main);
}

.contact-link-lg {
  font-size: 1.1rem;
}

.map-placeholder {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: rgba(15, 22, 36, 0.45);
}

.map-placeholder p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-row-center {
  justify-content: flex-start;
  margin-top: 1rem;
}

.form-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.25rem 0 1.25rem;
}

.form-consent input {
  accent-color: var(--primary-cyan);
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.form-consent a {
  color: var(--primary-cyan);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-block {
  width: 100%;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-status[data-type='error'] {
  color: #fca5a5;
}

.form-status[data-type='success'] {
  color: #6ee7b7;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(5, 7, 11, 0.9);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive Queries */
@media (max-width: 992px) {
  .hero-grid,
  .contact-grid,
  .comer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .moisture-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .services-grid,
  .moisture-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

/* -------------------------------------------------------------------------- */
/* Cookie consent banner                                                      */
/* -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cookie-text { flex: 1 1 380px; }

.cookie-title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-main);
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cookie-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
}

.cookie-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 600px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 100%; }
}

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}
