/* ============================================
   Servis Klima M - Main Stylesheet
   Version: 3.0
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --ink: #0a2f37;
  --ink-soft: #24525b;
  --text: #46676e;
  --muted: #5b7a81;
  --primary: #0e7c86;
  --primary-600: #0b6b74;
  --primary-700: #08545c;
  --accent: #2bb3cc;
  --ice-50: #f4fafc;
  --ice-100: #e7f5f9;
  --ice-200: #d2ecf3;
  --ice-300: #b5dfea;
  --line: #dcecf1;
  --surface: #ffffff;
  --navy: #062a31;
  --navy-2: #0a3d46;
  --star: #f5b301;

  --grad-primary: linear-gradient(135deg, #0e7f8a 0%, #09606a 100%);
  --grad-deep: linear-gradient(135deg, #073a43 0%, #0b5f6a 55%, #138b9a 100%);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(6, 42, 49, 0.05), 0 2px 6px rgba(6, 42, 49, 0.04);
  --shadow: 0 2px 4px rgba(6, 42, 49, 0.04), 0 14px 34px -14px rgba(6, 42, 49, 0.18);
  --shadow-lg: 0 4px 10px rgba(6, 42, 49, 0.05), 0 34px 64px -26px rgba(6, 42, 49, 0.34);
  --shadow-btn: 0 1px 2px rgba(6, 42, 49, 0.12), 0 10px 22px -8px rgba(14, 124, 134, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-offset: 104px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(900px 620px at 92% -120px, rgba(43, 179, 204, 0.20), transparent 65%),
    radial-gradient(760px 560px at -8% 520px, rgba(14, 124, 134, 0.09), transparent 65%),
    var(--ice-50);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid rgba(43, 179, 204, 0.55);
  outline-offset: 3px;
  border-radius: 8px;
}

section[id],
div[id="kontakt-forma"],
div[id="contact"],
div[id="brendovi"] {
  scroll-margin-top: var(--header-offset);
}

/* ---------- ICONS ---------- */
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.icon-star {
  color: var(--star);
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  letter-spacing: -0.01em;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn .icon {
  font-size: 1.15em;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 1px 2px rgba(6, 42, 49, 0.12), 0 16px 28px -10px rgba(14, 124, 134, 0.6);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-700);
  box-shadow: inset 0 0 0 1.5px var(--ice-300), var(--shadow-sm);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-700);
  filter: none;
  box-shadow: inset 0 0 0 1.5px var(--primary), var(--shadow);
}

.btn-light {
  background: #fff;
  color: var(--primary-700);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
}

.btn-light:hover {
  filter: none;
  background: var(--ice-100);
  box-shadow: 0 18px 34px -12px rgba(0, 0, 0, 0.5);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

/* ---------- HEADER / NAVBAR ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding-top: 14px;
}

.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 10px 10px 10px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled .navbar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.logo,
a.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.logo-text span {
  color: var(--primary);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 14px -6px rgba(14, 124, 134, 0.7);
}

.logo-mark .icon {
  stroke-width: 1.7;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-700);
  background: var(--ice-100);
}

.nav-links a.btn {
  color: #fff;
  white-space: nowrap;
  margin-left: 8px;
  padding: 11px 22px;
}

.nav-links a.btn:hover {
  color: #fff;
  background: var(--grad-primary);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-call,
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
}

.nav-call {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.nav-toggle {
  background: var(--ice-100);
  color: var(--ink);
}

.nav-toggle .icon-close {
  display: none;
}

.navbar.nav-open .nav-toggle .icon-menu {
  display: none;
}

.navbar.nav-open .nav-toggle .icon-close {
  display: block;
}

@media (max-width: 1080px) {
  .navbar {
    border-radius: 22px;
    padding: 8px 8px 8px 16px;
  }

  .nav-actions {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }

  .navbar.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-links a.btn {
    margin: 8px 0 2px;
    padding: 14px 20px;
  }
}

@media (max-width: 380px) {
  .logo,
  a.logo {
    font-size: 1.08rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 56px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--primary-700);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18b47a;
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(24, 180, 122, 0.35);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-content h1 {
  font-size: clamp(2.1rem, 1rem + 2.7vw, 3.5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--ink);
}

.h1-accent {
  background: linear-gradient(110deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-badge .icon {
  font-size: 1.05rem;
  color: var(--primary);
}

.hero-badge .icon-star {
  color: var(--star);
}

.hero-visual {
  position: relative;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 480 / 400;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-image svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  animation: float 6s ease-in-out infinite;
}

.hero-float strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero-float small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-float-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ice-100);
  color: var(--primary);
  font-size: 21px;
}

.hero-float-a {
  left: -28px;
  bottom: 36px;
}

.hero-float-b {
  right: -20px;
  top: 30%;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1100px) {
  .hero-float-a { left: -12px; }
  .hero-float-b { right: -8px; }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 40px 0 64px;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 28px 0 56px;
    gap: 40px;
  }

  .hero-content p {
    font-size: 1.02rem;
  }

  .hero-buttons .btn {
    flex: 1 1 100%;
  }

  .hero-image {
    border-radius: var(--radius-lg);
  }

  .hero-float {
    padding: 9px 14px 9px 9px;
    gap: 10px;
    border-radius: 14px;
  }

  .hero-float-icon {
    width: 32px;
    height: 32px;
    font-size: 17px;
    border-radius: 10px;
  }

  .hero-float strong { font-size: 0.85rem; }
  .hero-float small { font-size: 0.72rem; }
  .hero-float-a { left: 10px; bottom: -22px; }
  .hero-float-b { right: 10px; top: -20px; }
}

/* ---------- HERO ILLUSTRATION ANIMATION ---------- */
.breeze-base {
  stroke-opacity: 0.14;
  stroke-width: 1.6;
}

.breeze path,
.breeze-glow path {
  stroke-dasharray: 24 126;
  stroke-dashoffset: 150;
  opacity: 0;
  animation: breeze var(--t, 6s) linear infinite;
  animation-delay: var(--d, 0s);
}

.breeze path {
  stroke-width: 2.2;
}

.breeze-glow path {
  stroke-width: 7;
  stroke-opacity: 0.16;
}

@keyframes breeze {
  0% { stroke-dashoffset: 150; opacity: 0; }
  8% { opacity: 1; }
  50% { opacity: 1; }
  64% { opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hero-flake {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: snowDrift var(--t, 10s) linear infinite;
  animation-delay: var(--d, 0s);
}

@keyframes snowDrift {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  12% { opacity: var(--o, 1); }
  80% { opacity: var(--o, 1); }
  100% { transform: translate(var(--dx, 160px), var(--dy, 120px)) rotate(200deg); opacity: 0; }
}

.hero-led {
  animation: ledBlink 2.4s ease-in-out infinite;
}

@keyframes ledBlink {
  50% { opacity: 0.35; }
}

.hero-mist {
  animation: mistBreath 5s ease-in-out infinite;
}

@keyframes mistBreath {
  50% { opacity: 0.6; }
}

.hero-bigflake {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 90s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- BRAND STRIP (MARQUEE) ---------- */
.brand-strip {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0 26px;
  width: 100%;
  overflow: hidden;
}

.brand-strip-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding: 0 16px;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: scrollBrands 40s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  margin: 0 30px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #8aa7ad;
  transition: color 0.2s;
}

.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 60px;
  border-radius: 50%;
  background: var(--ice-300);
}

.marquee-track span:hover {
  color: var(--primary);
}

.brand-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .brand-strip {
    padding: 18px 0 20px;
  }

  .marquee-track span {
    margin: 0 18px;
    font-size: 0.98rem;
  }

  .marquee-track span::after {
    margin-left: 36px;
  }
}

/* ---------- SECTION HEADINGS ---------- */
.services,
.cenovnik-section,
.faq-section {
  padding: 96px 0;
}

.cenovnik-section {
  padding-top: 24px;
}

.section-eyebrow {
  display: block;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ice-100);
  color: var(--primary-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-sub {
  text-align: center;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 52px;
  font-size: 1.08rem;
}

@media (max-width: 768px) {
  .services,
  .cenovnik-section,
  .faq-section {
    padding: 68px 0;
  }

  .cenovnik-section {
    padding-top: 12px;
  }

  .section-sub {
    font-size: 1rem;
    margin-bottom: 36px;
  }
}

/* ---------- SERVICES SECTION ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--ice-300);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ice-100), var(--ice-200));
  color: var(--primary);
  font-size: 27px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.card:hover .card-icon {
  background: var(--grad-primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.04);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

@media (max-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 26px 22px 28px;
  }
}

/* ---------- CENOVNIK / PRICE SECTION ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 28px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.price-card-featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #f2fbfd, #ffffff 55%) padding-box,
    linear-gradient(135deg, var(--accent), var(--primary-700)) border-box;
  box-shadow: var(--shadow);
}

.price-card-featured::before {
  content: "Najpopularnije";
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-btn);
}

.price-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ice-100);
  color: var(--primary);
  font-size: 23px;
}

.price-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--ice-300);
}

.price-amount small,
.price-amount span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.price-amount span {
  color: var(--primary);
}

.price-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.price-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.price-note a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
}

@media (max-width: 600px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- LEAD FORM ---------- */
.lead-form-section {
  margin: 24px auto 96px;
}

.form-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 44px 40px;
  border-radius: 28px;
  background: var(--grad-deep);
  color: #d6f1f6;
}

.form-aside-deco {
  position: absolute;
  right: -70px;
  bottom: -70px;
  font-size: 280px;
  color: #fff;
  opacity: 0.07;
  stroke-width: 1.2;
}

.form-title {
  color: #fff;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.form-subtitle {
  color: #bfe6ee;
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.form-perks {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.form-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eafaff;
  font-weight: 500;
}

.form-perks .icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #7ee3f3;
  stroke-width: 2.6;
}

.form-aside-call {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.form-aside-call span {
  display: block;
  font-size: 0.86rem;
  color: #a9d6df;
  margin-bottom: 4px;
}

.form-aside-call a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.form-aside-call a:hover {
  color: #9ff0fb;
}

#leadForm {
  padding: 36px 34px 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-label span {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--ice-50);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-control::placeholder {
  color: #93abb0;
}

.form-control:hover {
  border-color: var(--ice-300);
}

.form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 124, 134, 0.14);
}

textarea.form-control {
  resize: vertical;
  min-height: 104px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

#submitBtn {
  margin-top: 4px;
}

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

/* Spam trap — visually hidden, still in the form */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success-message {
  display: none;
  align-items: center;
  gap: 12px;
  background: #e7f8f1;
  color: #0b6b4c;
  border: 1px solid #b9ebd6;
  padding: 14px 18px;
  border-radius: 14px;
  margin-top: 16px;
  font-weight: 500;
}

.success-message .icon {
  font-size: 1.3rem;
  stroke-width: 2.4;
}

.success-message.show {
  display: flex;
}

.form-error {
  display: none;
  background: #fef0f0;
  color: #9b1c1c;
  border: 1px solid #f8d0d0;
  padding: 12px 16px;
  border-radius: 14px;
  text-align: center;
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 500;
}

@media (max-width: 960px) {
  .form-card {
    grid-template-columns: 1fr;
  }

  .form-aside {
    padding: 36px 30px;
  }
}

@media (max-width: 560px) {
  .lead-form-section {
    margin-bottom: 68px;
  }

  .form-card {
    padding: 8px;
    border-radius: var(--radius-lg);
  }

  .form-aside {
    padding: 30px 22px;
    border-radius: 22px;
  }

  #leadForm {
    padding: 26px 16px 20px;
  }

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

/* ---------- CTA SECTION + STATS ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(126, 227, 243, 0.25), transparent 70%),
    var(--grad-deep);
  border-radius: var(--radius-xl);
  margin: 0 auto 96px;
  padding: 72px 56px 56px;
  text-align: center;
  color: #cdebf1;
  box-shadow: var(--shadow-lg);
}

.cta-deco {
  position: absolute;
  top: -90px;
  left: -90px;
  font-size: 340px;
  color: #fff;
  opacity: 0.06;
  stroke-width: 1.1;
}

.cta-section h2 {
  position: relative;
  color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto 16px;
}

.cta-section > p {
  position: relative;
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.04rem;
  color: #c4e6ed;
}

.stats-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.stat-card {
  padding: 24px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.stat-number .icon {
  font-size: 0.8em;
}

.stat-label {
  margin-top: 6px;
  color: #a9d6df;
  font-weight: 500;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 52px 24px 28px;
    margin-bottom: 68px;
    border-radius: var(--radius-lg);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 40px;
  }
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
  padding-top: 0;
}

.faq-grid {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--ice-300);
}

.faq-item[open] {
  border-color: var(--ice-300);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 20px 22px 20px 26px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ice-100) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c86' stroke-width='2.4' stroke-linecap='round'%3e%3cpath d='M12 6v12M6 12h12'/%3e%3c/svg%3e") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--ice-200);
}

.faq-item summary h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.faq-item > p {
  padding: 0 26px 22px;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

/* ---------- FROST CARD / CONTACT ---------- */
.frost-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 44px 48px;
  margin-bottom: 96px;
  background:
    radial-gradient(500px 220px at 100% 100%, rgba(43, 179, 204, 0.14), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.frost-card-h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.frost-card p {
  color: var(--text);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-list .icon {
  font-size: 1.1rem;
  color: var(--primary);
}

@media (max-width: 768px) {
  .frost-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    margin-bottom: 68px;
    border-radius: var(--radius-lg);
  }

  .contact-list {
    justify-content: center;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(43, 179, 204, 0.16), transparent 70%),
    var(--navy);
  color: #a9cdd4;
  padding: 72px 0 32px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col p {
  line-height: 1.65;
  font-size: 0.93rem;
  max-width: 320px;
}

.footer-col > a {
  display: block;
  width: fit-content;
  color: #a9cdd4;
  text-decoration: none;
  margin-bottom: 11px;
  font-size: 0.93rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-col > a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-style: normal;
  font-size: 0.93rem;
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact .icon {
  font-size: 1.05rem;
  color: var(--accent);
}

.footer-contact a {
  color: #d3edf2;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 28px;
  margin-top: 48px;
  font-size: 0.82rem;
  color: #85adb5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright a {
  color: #bfe0e6;
  text-decoration: none;
}

.copyright a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 560px) {
  footer {
    padding: 56px 0 28px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }

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

/* ---------- SCROLL TO TOP BUTTON ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  box-shadow: var(--shadow-btn);
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, box-shadow 0.3s var(--ease);
}

.scroll-top .icon {
  stroke-width: 2.2;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(6, 42, 49, 0.12), 0 18px 30px -10px rgba(14, 124, 134, 0.65);
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 460px;
  background: var(--navy);
  color: #d6eef3;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(calc(100% + 40px));
  transition: transform 0.45s var(--ease);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: #9fe6f2;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-outline-sm {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.btn-outline-sm:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 560px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .cookie-buttons .btn,
  .cookie-buttons .btn-outline-sm {
    flex: 1 1 auto;
  }
}

/* ---------- PRIVACY POLICY MODAL ---------- */
.privacy-modal {
  display: none !important;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 28, 33, 0.55);
}

.privacy-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.privacy-modal-content {
  background: #fff;
  margin: 20px;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.45);
}

.privacy-modal.show .privacy-modal-content {
  animation: slideUp 0.35s var(--ease);
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.privacy-modal-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  background: var(--grad-deep);
  color: #fff;
}

.privacy-modal-header h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.privacy-modal-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s, transform 0.2s;
}

.privacy-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

.privacy-modal-body {
  padding: 26px;
}

.privacy-modal-body h4 {
  color: var(--ink);
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.privacy-modal-body h4:first-of-type {
  margin-top: 4px;
}

.privacy-modal-body p {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.privacy-modal-body ul {
  margin: 10px 0 15px 20px;
  color: var(--text);
  line-height: 1.6;
}

.privacy-modal-body li {
  margin-bottom: 6px;
}

.privacy-modal-body li::marker {
  color: var(--primary);
}

.privacy-updated {
  margin-top: 20px;
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}

.privacy-modal-footer {
  padding: 16px 26px 26px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.privacy-modal-content::-webkit-scrollbar {
  width: 6px;
}

.privacy-modal-content::-webkit-scrollbar-track {
  background: var(--ice-100);
  border-radius: 10px;
}

.privacy-modal-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* ---------- SCROLL REVEAL ---------- */
/* Only active when JS adds .reveal-on to <html>, so content is never hidden without JS. */
.reveal-on .reveal {
  opacity: 0;
}

.reveal-on .reveal.is-visible {
  animation: revealUp 0.75s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

@keyframes revealUp {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Freeze the hero illustration in a calm, visible state */
  .breeze path,
  .breeze-glow path {
    opacity: 0 !important;
  }

  .hero-flake {
    animation: none !important;
    opacity: var(--o, 1);
  }

  .marquee-track {
    animation: none !important;
  }
}
