/* =========================================================
   Builder Source — Floor Heating Solutions
   RESPONSIVE STYLESHEET (mobile-first, consolidated)

   Tested target widths (CSS px):
   ---------------------------------------------------------
   Foldable cover (Z Fold 6)   344
   iPhone SE                   375
   iPhone 16                   393
   Pixel 9 / Pro / 10, A55     ~412
   Pixel 9 Pro Fold (folded)   ~408
   iPhone 16 Pro Max           440
   iPad Mini / Pixel Fold open 768 – 841
   Z Fold 6 (open)             ~882
   Surface Pro 10              912
   iPad Pro 13                 1024 (portrait) / 1366 (land.)
   Nest Hub Max                1280

   Breakpoints used
   ---------------------------------------------------------
   base        0 – 479     small phones + fold cover screens
   ≥ 480       large phones
   ≥ 640       big phones landscape / small tablets
   ≥ 768       tablets (iPad Mini, unfolded foldables)
   ≥ 900       desktop header replaces hamburger menu
   ≥ 1024      iPad Pro, small laptops
   ≥ 1200      Nest Hub Max, desktops
   ========================================================= */

/* ---------- Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Barlow:wght@400;500;600;700&display=swap");

/* ---------- Design tokens ---------- */
:root {
  --radius: 0.625rem;

  --background: oklch(1 0 0);
  --foreground: oklch(0.129 0.042 264.695);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.129 0.042 264.695);
  --muted: oklch(0.968 0.007 247.896);
  --muted-foreground: oklch(0.554 0.046 257.417);
  --border: oklch(0.929 0.013 255.508);
  --input: oklch(0.929 0.013 255.508);
  --primary-foreground: oklch(0.984 0.003 247.858);

  --brand: oklch(0.42 0.11 254);
  --brand-deep: oklch(0.31 0.09 256);
  --brand-soft: oklch(0.95 0.02 250);
  --gold: oklch(0.79 0.13 78);
  --gold-deep: oklch(0.7 0.14 66);

  --gradient-hero: linear-gradient(135deg, oklch(0.33 0.09 256), oklch(0.44 0.11 254));
  --gradient-gold: linear-gradient(90deg, var(--gold), var(--gold-deep));
  --gradient-section: linear-gradient(135deg,
      oklch(0.95 0.02 250 / 0.72),
      oklch(1 0 0 / 0.94) 46%,
      oklch(0.79 0.13 78 / 0.08));

  --shadow-card: 0 12px 34px -18px oklch(0.31 0.09 256 / 0.45);
  --shadow-lift: 0 26px 50px -22px oklch(0.31 0.09 256 / 0.55);

  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;

  /* Fluid spacing */
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --section-y: clamp(3rem, 7vw, 6rem);

  /* Safe areas (notches, foldable hinges, rounded corners) */
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  /* sticky header offset for #anchors */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  /* "clip" (not "hidden") so position: sticky on the header keeps working */
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0;
  overflow-wrap: break-word;
}

p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Colour / surface utilities ---------- */
.text-brand {
  color: var(--brand);
}

.text-brand-deep {
  color: var(--brand-deep);
}

.text-gold {
  color: var(--gold);
}

.text-gold-deep {
  color: var(--gold-deep);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

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

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

.bg-card {
  background-color: var(--card);
}

.bg-brand {
  background-color: var(--brand);
}

.bg-brand-deep {
  background-color: var(--brand-deep);
}

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

.border-border {
  border-color: var(--border);
}

.border-input {
  border-color: var(--input);
}

.hero-surface {
  background-image: var(--gradient-hero);
}

.gold-surface {
  background-image: var(--gradient-gold);
  color: var(--brand-deep);
}

.themed-section {
  background-image:
    linear-gradient(oklch(0.42 0.11 254 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.42 0.11 254 / 0.045) 1px, transparent 1px),
    var(--gradient-section);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}

/* ---------- Layout helpers ---------- */
/* Gutter comes from .section, so containers add no extra side padding */
.container-xl {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 0;
}

.container-lg {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 0;
}

.section {
  padding-block: var(--section-y);
  padding-inline: max(var(--gutter), var(--safe-l)) max(var(--gutter), var(--safe-r));
}

/* ---------- Icons ---------- */
svg.icon-sm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

svg.icon-md {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

svg.icon-lg {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

/* ---------- Cards / hover ---------- */
.card-lift {
  box-shadow: var(--shadow-card);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease,
    border-color 0.3s ease, background-color 0.3s ease, filter 0.3s ease;
  border-radius: 1.5rem;
  border: 1px solid transparent;
  transform-origin: center bottom;
}

.step-card,
.plan-card,
.partner-card,
.team-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
}

.zoom-media {
  overflow: hidden;
}

.zoom-media img {
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Hover effects only on devices that really hover (no "stuck" hover on touch) */
@media (hover: hover) and (pointer: fine) {

  .card-lift:hover,
  .step-card:hover,
  .plan-card:hover,
  .partner-card:hover,
  .team-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 28px 60px -28px oklch(0.31 0.09 256 / 0.65);
    border-color: oklch(0.79 0.13 78 / 0.45);
    filter: saturate(1.04);
  }

  .zoom-media:hover img {
    transform: scale(1.09);
  }

  .step-card:hover .step-title {
    color: var(--gold-deep);
  }

  .partner-card:hover .partner-logo img {
    transform: scale(1.1);
  }

  .partner-card:hover .partner-name {
    color: var(--gold-deep);
  }

  .app-card:hover .app-title {
    transform: translateY(-4px);
  }

  .about-feature-row:hover {
    transform: translateX(4px);
    background: var(--brand-soft);
  }

  .type-points li:hover,
  .film-feature:hover {
    transform: translateX(4px);
  }

  .smart-feature:hover {
    transform: translateX(8px);
    background: var(--brand);
    color: var(--primary-foreground);
  }

  .smart-feature:hover svg {
    transform: rotate(90deg);
  }

  .contact-info-row:hover {
    transform: translateX(8px);
  }

  .contact-info-row:hover .contact-info-icon {
    background: var(--gold);
    color: var(--brand-deep);
  }

  .hero-badge:hover .hero-badge-icon {
    transform: scale(1.1);
    background: var(--gold);
    color: var(--brand-deep);
  }

  .logo-link:hover .logo-img {
    transform: scale(1.05);
  }

  .footer-logo:hover {
    transform: scale(1.05);
  }

  .role-option:hover {
    transform: translateX(4px);
    background: var(--brand-soft);
  }

  .deal-btn:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    color: var(--brand);
  }
}

/* ---------- Animations ---------- */
@keyframes marquee-x {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes float-y {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.12);
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-x 28s linear infinite;
}

.float-slow {
  animation: float-y 6s ease-in-out infinite;
}

.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
  max-width: 70vw;
  /* inline sizes are 20–24rem; keep orbs inside small screens */
  max-height: 70vw;
  animation: glow-pulse 7s ease-in-out infinite;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  margin-right: 0.28em;
  transform: translateY(0.6em) rotate(3deg);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.reveal-word.is-in {
  opacity: 1;
  transform: none;
}

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

  .reveal,
  .reveal-word {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track,
  .float-slow,
  .glow-orb {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  padding: 0.7rem 1.25rem;
  min-height: 2.75rem;
  /* comfortable touch target */
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  background-image: var(--gradient-gold);
  color: var(--brand-deep);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s;
}

.btn-gold-pill {
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid oklch(0.984 0.003 247.858 / 0.4);
  color: var(--primary-foreground);
  background: transparent;
  transition: all 0.3s;
}

@media (hover: hover) {
  .btn-gold:hover {
    transform: translateY(-2px) scale(1.05);
  }

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

/* Mobile button sizing */
@media (max-width: 767px) {

  .btn-gold,
  .btn-outline {
    width: 65% !important;
    min-height: 2.35rem;
    padding: 0.55rem 0.15rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }

  .btn-gold-pill {
    padding: 0.6rem 1.3rem;
  }

}

@media (max-width: 399px) {

  .btn-gold,
  .btn-outline {
    width: 65% !important;
    min-height: 2rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.7rem;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-gold-pill {
    padding: 0.5rem 1rem;
  }

}

/* Header Get Started button - Mobile */
@media (max-width: 767px) {

  .headerbutton {
    width: 100% !important;
    min-height: 2.35rem;
    padding: 0.55rem 0.15rem;
    font-size: 0.8rem;
    gap: 0.35rem;
    margin-left: auto;
    margin-right: auto;
  }

}

/* Header Get Started button - Screens below 400px */
@media screen and (max-width: 399px) {

  .headerbutton {
    width: 100% !important;
    min-height: 2rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.7rem;
    gap: 0.3rem;
    margin-left: auto;
    margin-right: auto;
  }

}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding-top: var(--safe-t);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  position: relative;
  max-width: 80rem;
  margin-inline: auto;
  padding: 0.7rem max(var(--gutter), var(--safe-r)) 0.7rem max(var(--gutter), var(--safe-l));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.logo-img {
  display: block;
  height: 1.9rem;
  /* fold cover / small phones */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

/* Hamburger (visible until 900px) */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu = dropdown panel on phones / tablets */
.header-links {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.75rem max(var(--gutter), var(--safe-r)) 1rem max(var(--gutter), var(--safe-l));
  background: var(--brand-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  max-height: calc(100dvh - 4.5rem);
  overflow-y: auto;
}

.header-links.mobile-menu-open {
  display: flex;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.8rem 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  color: oklch(0.984 0.003 247.858 / 0.9);
  transition: color 0.3s;
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  color: var(--gold);
}

/* ---------- Product dropdown ---------- */
.product-nav {
  position: relative;
  flex-shrink: 0;
}

.product-nav-toggle {
  width: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
}

.product-chevron {
  display: inline-block;
  font-size: 0.7rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.product-nav.product-open .product-chevron {
  transform: rotate(180deg);
}

.product-dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  min-width: 14.8rem;
  padding: 0.55rem 0;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.product-dropdown a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-dropdown a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

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

@media (max-width: 899px) {
  .product-nav {
    width: 100%;
  }

  .product-nav-toggle {
    width: 100%;
    padding: 0.8rem 0.25rem;
    justify-content: space-between;
  }

  .product-dropdown {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.15rem;
    padding: 0.25rem 0;
    border-radius: 0.6rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.98);
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .product-nav.product-open .product-dropdown {
    display: block;
    transform: none;
  }

  .product-nav-toggle::after {
    display: none !important;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding: 0.3rem;
  border: 1px solid oklch(0.984 0.003 247.858 / 0.25);
  border-radius: 0.5rem;
}

.lang-btn {
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  padding: 0.3rem 0.85rem;
  min-height: 2rem;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  color: oklch(0.984 0.003 247.858 / 0.7);
  transition: all 0.3s;
}

.lang-btn:hover {
  color: var(--gold);
}

.lang-btn.active {
  background-image: var(--gradient-gold);
  color: var(--brand-deep);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-links .btn-gold {
  width: 100%;
  margin-top: 0.4rem;
}

@media (min-width: 480px) {
  .logo-img {
    height: 2.2rem;
  }
}

/* Desktop header: inline links, no hamburger */
@media (min-width: 900px) {
  .logo-img {
    height: 2.5rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .header-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .nav-link {
    padding: 0;
    font-size: 0.95rem;
  }

  .product-nav-toggle {
    position: relative;
    padding: 0;
    font-size: 0.95rem;
  }

  .product-nav-toggle::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
  }

  .product-nav-toggle:hover::after,
  .product-nav.product-open .product-nav-toggle::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .nav-link::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
  }

  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .lang-switch {
    padding: 0.25rem;
  }

  .lang-btn {
    padding: 0.25rem 0.7rem;
    min-height: 0;
  }

  .header-links .btn-gold {
    width: auto;
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .logo-img {
    height: 3rem;
  }

  .header-links {
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  .lang-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      oklch(0.25 0.09 256 / 0.65),
      oklch(0.28 0.09 256 / 0.5),
      oklch(0.25 0.09 256 / 0.7));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(3rem, 9vw, 5rem) max(var(--gutter), var(--safe-r)) 2rem max(var(--gutter), var(--safe-l));
  text-align: center;
}

.eyebrow {
  font-size: clamp(0.66rem, 1.9vw, 1rem);
  font-weight: 700;
  letter-spacing: clamp(0.2em, 1.2vw, 0.5em);
  line-height: 1.5;
  color: var(--gold);
  text-transform: uppercase;
}

/* Fluid headline: never overflows 344px cover screens, never needs nowrap */
.hero-h1 {
  margin-top: 1.1rem;
  font-size: clamp(1.7rem, 7.6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--primary-foreground);
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
}

.hero-h1+.hero-h1 {
  margin-top: 0.1rem;
}

.hero-sub {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  font-size: clamp(0.9rem, 2.4vw, 1.125rem);
  line-height: 1.65;
  color: oklch(0.984 0.003 247.858 / 0.88);
}

.hero-cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-cta-row .btn-gold,
.hero-cta-row .btn-outline {
  width: min(100%, 17rem);
}

.hero-badges {
  margin-top: 2.5rem;
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 0.75rem;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.79 0.13 78 / 0.4);
  background: oklch(0.984 0.003 247.858 / 0.05);
  color: var(--gold);
  transition: all 0.5s;
}

.hero-badge-label {
  font-size: clamp(0.72rem, 2.2vw, 1rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  color: oklch(0.984 0.003 247.858 / 0.9);
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  border-top: 1px solid oklch(0.984 0.003 247.858 / 0.1);
  border-bottom: 1px solid oklch(0.984 0.003 247.858 / 0.1);
}

.marquee-item {
  height: 6rem;
  width: 9rem;
  flex-shrink: 0;
  border-right: 1px solid oklch(0.984 0.003 247.858 / 0.1);
}

.marquee-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 480px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-cta-row .btn-gold,
  .hero-cta-row .btn-outline {
    width: auto;
    min-width: 12rem;
  }
}

@media (min-width: 768px) {
  .hero-inner {
    padding-bottom: 2.5rem;
  }

  .hero-h1 {
    margin-top: 1.5rem;
  }

  .hero-sub {
    margin-top: 1.75rem;
  }

  .hero-cta-row {
    margin-top: 2.25rem;
  }

  .hero-badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-badge-icon {
    height: 3.5rem;
    width: 3.5rem;
  }

  .marquee-item {
    height: 8rem;
    width: 14rem;
  }
}

/* Landscape phones / short screens: don't waste height */
@media (max-height: 520px) and (orientation: landscape) {
  .site-header {
    position: static;
  }

  .hero-inner {
    padding-top: 2rem;
  }

  .hero-badges {
    margin-top: 1.5rem;
  }
}

/* =========================================================
   GENERIC SECTION TYPE
   ========================================================= */
.section-title {
  text-align: center;
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--brand);
}

.section-lead {
  max-width: 48rem;
  margin: 1rem auto 0;
  text-align: center;
  font-size: clamp(0.92rem, 2.4vw, 1.125rem);
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.about-heading {
  margin-top: 0.75rem;
  font-size: clamp(1.85rem, 6.4vw, 3rem);
  line-height: 1.12;
  font-weight: 900;
  color: var(--brand);
}

.about-copy {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: clamp(0.92rem, 2.4vw, 1.125rem);
  line-height: 1.7;
  color: var(--muted-foreground);
}

.about-media {
  position: relative;
}

.image-swap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(15rem, 58vw, 26rem);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lift);
}

.image-swap img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s, transform 1s;
}

.image-swap img.active {
  opacity: 1;
  transform: scale(1.04);
}

.about-feature-card {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.about-feature-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.about-feature-row svg {
  color: var(--gold);
}

.about-feature-row span {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand);
}

@media (min-width: 480px) {
  .about-feature-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .image-swap {
    height: 26rem;
    border-radius: 1.5rem;
  }

  /* floating card only where there is room */
  .about-feature-card {
    position: absolute;
    right: -1rem;
    bottom: 2rem;
    margin-top: 0;
    width: 17rem;
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    border-radius: 1.5rem;
  }

  .about-feature-row span {
    font-size: 1rem;
  }
}

/* =========================================================
   STEPS
   ========================================================= */
.steps-grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.step-card {
  height: 100%;
}

.step-media {
  position: relative;
  height: clamp(11rem, 48vw, 13.5rem);
  overflow: hidden;
}

.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.step-number {
  position: absolute;
  top: 0.55rem;
  left: 0.9rem;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
  color: oklch(0.984 0.003 247.858 / 0.85);
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.3));
}

.step-body {
  padding: 1.1rem;
}

.step-title {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 900;
  color: var(--brand);
  transition: color 0.3s;
}

.step-points {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.step-points li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.step-points svg {
  margin-top: 0.2rem;
  color: var(--gold);
}

@media (min-width: 768px) {
  .steps-grid {
    margin-top: 3rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .step-number {
    font-size: 3rem;
    top: 0.75rem;
    left: 1rem;
  }

  .step-body {
    padding: 1.5rem;
  }

  .step-title {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
  }
}

/* =========================================================
   TYPES OF SYSTEMS
   ========================================================= */
.types-grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.type-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--card);
}

.type-media {
  position: relative;
  min-height: clamp(11rem, 50vw, 14rem);
  overflow: hidden;
}

.type-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.type-body {
  padding: 1.25rem;
}

.type-title {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 900;
  color: var(--brand);
}

.type-points {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.type-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--muted-foreground);
  transition: transform 0.3s;
}

.type-points svg {
  margin-top: 0.12rem;
  color: var(--gold);
}

.type-body .btn-gold {
  margin-top: 1.25rem;
  border-radius: 9999px;
}

/* Wide single card: image left / text right */
@media (min-width: 640px) {
  .type-card {
    grid-template-columns: 1fr 1fr;
    min-height: 20rem;
  }

  .type-media {
    min-height: 100%;
  }

  .type-body {
    padding: 1.75rem;
  }

  .type-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .types-grid {
    margin-top: 3rem;
  }
}

/* Two cards side by side: stack image over text inside each */
@media (min-width: 1024px) {
  .types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
  }

  .type-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .type-media {
    min-height: 14rem;
  }
}

/* Very wide: back to image-left / text-right inside each card */
@media (min-width: 1280px) {
  .type-card {
    grid-template-columns: 1fr 1fr;
    min-height: 22rem;
  }

  .type-media {
    min-height: 100%;
  }
}

/* =========================================================
   HEATING FILM (video)
   ========================================================= */
.film-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.film-media {
  width: 100%;
}

.film-media .zoom-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.15rem;
  overflow: hidden;
}

.film-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.film-heading {
  margin-top: 0.75rem;
  font-size: clamp(1.85rem, 6.4vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--primary-foreground);
}

.film-copy {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: clamp(0.92rem, 2.4vw, 1.125rem);
  line-height: 1.65;
  color: oklch(0.984 0.003 247.858 / 0.85);
}

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

.film-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: oklch(0.984 0.003 247.858 / 0.92);
  transition: transform 0.3s;
}

.film-feature svg {
  margin-top: 0.05rem;
  color: var(--gold);
}

.film-grid .btn-gold {
  margin-top: 1.75rem !important;
}

@media (min-width: 400px) {
  .film-features {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }
}

@media (min-width: 768px) {
  .film-media .zoom-media {
    border-radius: 1.5rem;
  }

  .film-features {
    margin-top: 2rem;
    gap: 1rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .film-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 479px) {
  .film-grid .btn-gold {
    width: 100%;
  }
}

/* =========================================================
   APPLICATIONS
   ========================================================= */
.apps-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.app-card {
  position: relative;
  height: clamp(12rem, 52vw, 16rem);
  border-radius: 1.25rem;
}

.app-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.app-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.31 0.09 256 / 0.9), oklch(0.31 0.09 256 / 0.3), transparent);
}

.app-copy {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
}

.app-title {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 900;
  color: var(--primary-foreground);
  transition: transform 0.5s;
}

.app-text {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: oklch(0.984 0.003 247.858 / 0.85);
}

@media (min-width: 768px) {
  .apps-grid {
    margin-top: 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .app-card {
    height: 18rem;
    border-radius: 1.5rem;
  }

  .app-copy {
    padding: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .apps-grid {
    gap: 2rem;
  }

  .app-copy {
    padding: 1.5rem;
  }

  .app-title {
    font-size: 1.5rem;
  }

  .app-text {
    font-size: 1rem;
  }
}

/* =========================================================
   SMART CONTROL
   ========================================================= */
.smart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.smart-heading {
  margin-top: 0.75rem;
  font-size: clamp(1.85rem, 6.4vw, 2.5rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--brand);
}

.smart-copy {
  margin-top: 1rem;
  font-size: clamp(0.92rem, 2.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted-foreground);
}

.smart-grid .btn-gold {
  margin-top: 1.5rem !important;
}

.smart-media {
  height: clamp(13rem, 55vw, 18rem);
  border-radius: 1.25rem;
}

.smart-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.smart-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.smart-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  transition: all 0.3s;
}

.smart-feature svg {
  color: var(--gold);
  transition: transform 0.5s;
}

@media (min-width: 768px) {
  .smart-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .smart-media {
    height: 18rem;
    border-radius: 1.5rem;
  }

  .smart-feature-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .smart-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .smart-feature-list {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .smart-grid {
    gap: 3rem;
  }

  .smart-heading {
    font-size: 2.25rem;
  }
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing-toggle-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.pricing-toggle {
  display: inline-flex;
  width: 100%;
  max-width: 22rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  background: var(--brand-soft);
}

.pricing-toggle button {
  flex: 1;
  min-width: 0;
  min-height: 2.5rem;
  border: none;
  border-radius: 0.5rem;
  padding: 0.55rem 0.5rem;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  color: oklch(0.42 0.11 254 / 0.7);
  transition: all 0.3s;
}

.pricing-toggle button.active {
  background: var(--brand-deep);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-card);
}

.pricing-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
}

.plan-card.popular {
  outline: 2px solid var(--gold);
}

.plan-name {
  padding: 0.9rem 0;
  background: var(--brand-soft);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--brand);
}

.plan-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem;
}

.plan-icon {
  color: var(--gold);
  stroke: var(--gold);
}

/* Wraps gracefully instead of overflowing in narrow 4-col layouts */
.plan-price {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.25rem;
  font-weight: 900;
  color: var(--brand);
}

.plan-price .amount {
  font-size: clamp(1.9rem, 8vw, 2.4rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--brand);
}

.plan-price .unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.plan-meta {
  margin-top: 1.25rem;
  width: 100%;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.plan-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.plan-meta-row strong {
  color: var(--brand);
  font-weight: 900;
}

.plan-cta {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.75rem 0;
  border-radius: 0.5rem;
  font-weight: 900;
}

.plan-features {
  margin-top: 1.5rem;
  width: 100%;
  display: grid;
  gap: 0.65rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.plan-features svg {
  color: var(--gold);
}

.plan-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  z-index: 5;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .pricing-grid {
    margin-top: 2.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .pricing-toggle-wrap {
    margin-top: 2rem;
  }

  .pricing-toggle button {
    font-size: 0.875rem;
    padding: 0.65rem 1.5rem;
  }

  .plan-body {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .plan-body {
    padding: 2rem 1.25rem;
  }

  .plan-price .amount {
    font-size: 2.25rem;
  }
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: 9rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  text-align: center;
}

.partner-logo {
  width: 100%;
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 85%;
  max-height: 3.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s;
}

.partner-name {
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 900;
  color: var(--brand);
  transition: color 0.3s;
}

@media (min-width: 420px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .partner-name {
    font-size: 1.05rem;
  }
}

@media (min-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .partner-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .partner-logo {
    height: 5rem;
  }

  .partner-logo img {
    max-height: 4rem;
  }

  .partner-name {
    font-size: 1.125rem;
  }
}

/* =========================================================
   TEAM
   ========================================================= */

.team-grid {
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 195px);
  justify-content: center;
  gap: 50px;
}

/* Phones */
.team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1.1rem;
  border-radius: 1.25rem;
}

.team-photo {
  height: 5.5rem;
  width: 5.5rem;
  flex-shrink: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.team-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.team-card>div:last-child {
  min-width: 0;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand);
}

.team-role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.team-text {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .team-grid {
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 195px);
    justify-content: center;
    gap: 50px;
  }

  .team-card {
    width: 195px;
    height: 240px;
    /* padding: 30px; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    border-radius: 1.25rem;
  }

  .team-photo {
    width: 157px;
    height: 161px;
    flex-shrink: 0;
  }

  .team-name {
    font-size: 1.05rem;
  }

  .team-role {
    font-size: 0.85rem;
  }

  .team-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}


/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.75;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(55, 103, 151, 0.88),
      rgba(69, 116, 164, 0.82),
      rgba(17, 35, 55, 0.88));
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin-inline: auto;
}

.contact-heading {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 9vw, 3.25rem);
  line-height: 1.05;
  font-weight: 900;
  color: var(--primary-foreground);
}

.contact-copy {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: clamp(0.9rem, 2.4vw, 1.125rem);
  line-height: 1.6;
  color: oklch(0.984 0.003 247.858 / 0.88);
}

.contact-info {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.9rem;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  font-size: 0.95rem;
  color: oklch(0.984 0.003 247.858 / 0.92);
  transition: transform 0.3s;
}

.contact-info-row>span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.79 0.13 78 / 0.5);
  color: var(--gold);
  transition: all 0.3s;
}

.contact-form {
  width: 100%;
  padding: 1.1rem;
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: var(--shadow-lift);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background: var(--background);
  padding: 0.75rem 0.9rem;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  /* 16px stops iOS zooming into inputs */
  transition: all 0.3s;
}

.form-textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px oklch(0.79 0.13 78 / 0.3);
}

.form-role-group {
  position: relative;
}

.form-label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--brand);
}

.role-dropdown-btn {
  display: flex;
  width: 100%;
  min-height: 2.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background: var(--background);
  text-align: left;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.role-dropdown-btn:hover {
  border-color: var(--gold);
}

.role-dropdown-btn .placeholder {
  color: var(--muted-foreground);
}

.role-dropdown-btn .chosen {
  font-weight: 600;
  color: var(--brand);
}

.role-dropdown-btn svg {
  color: var(--gold);
  transition: transform 0.3s;
}

.role-dropdown-btn.open svg {
  transform: rotate(180deg);
}

.role-dropdown-menu {
  position: absolute;
  z-index: 20;
  display: none;
  margin-top: 0.5rem;
  width: 100%;
  max-height: 15rem;
  overflow-y: auto;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-lift);
}

.role-dropdown-menu.open {
  display: block;
}

.role-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  text-align: left;
  transition: all 0.2s;
}

.role-check {
  display: flex;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  border: 1px solid var(--input);
  background: transparent;
  transition: all 0.2s;
}

.role-check svg {
  display: none;
  width: 0.75rem;
  height: 0.75rem;
}

.role-check.checked {
  background: var(--gold);
  border-color: var(--gold);
}

.role-check.checked svg {
  display: block;
  color: var(--brand-deep);
}

.role-option span.label {
  font-weight: 600;
  color: var(--brand);
}

.deal-toggle {
  display: flex;
  gap: 0.5rem;
}

.deal-btn {
  flex: 1;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--input);
  background: var(--background);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted-foreground);
  transition: all 0.3s;
}

.deal-btn.active {
  background-image: var(--gradient-gold);
  border-color: transparent;
  color: var(--brand-deep);
  box-shadow: var(--shadow-card);
}

.form-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
}

.form-checkbox-row label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.form-checkbox-row input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--gold);
}

.submit-btn {
  border: none;
}

.form-success {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-deep);
}

@media (max-width: 479px) {
  .submit-btn {
    width: 100%;
  }
}

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

  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .contact-form {
    padding: 1.75rem;
    border-radius: 1.5rem;
  }

  .contact-info {
    margin-top: 2.25rem;
    gap: 1rem;
  }

  .contact-info-icon {
    flex-basis: 2.75rem;
    height: 2.75rem;
    width: 2.75rem;
  }

  .contact-info-row {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
  }

  .contact-overlay {
    background: linear-gradient(to right,
        color-mix(in srgb, #4a78a8 100%, transparent),
        color-mix(in srgb, #5f8bb8 80%, transparent),
        color-mix(in srgb, #0c0d0e 35%, transparent));
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 2.75rem max(var(--gutter), var(--safe-r)) calc(1.5rem + var(--safe-b)) max(var(--gutter), var(--safe-l));
  background: var(--brand-deep);
  color: var(--primary-foreground);
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  z-index: 0;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8, 55, 100, 0.25), rgba(8, 55, 100, 0.35));
}

.footer-grid,
.footer-copy {
  position: relative;
  z-index: 2;
}

.footer-grid {
  max-width: 80rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.5s;
}

.footer-about {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: oklch(0.984 0.003 247.858 / 0.8);
}

.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0;
}

.foot-social a {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  transition: all 0.3s ease;
}

.foot-social a i {
  display: block;
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  transition: all 0.3s ease;
}

.foot-social a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.foot-social a:hover i {
  color: var(--brand-deep);
}

/* Locations: phones = one row each (flag left, address right) */
.foot-locs {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.foot-loc {
  display: grid;
  grid-template-columns: 4rem 1fr;
  column-gap: 1rem;
  row-gap: 0.15rem;
  align-items: center;
  min-width: 0;
  text-align: left;
}

.foot-loc .flag-ico {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 4rem;
  height: 4rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.12);
}

.foot-loc strong {
  grid-column: 2;
  align-self: center;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.foot-loc span {
  grid-column: 2;
  align-self: center;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: anywhere;
}

.footer-copy {
  max-width: 80rem;
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

/* Tablet: three centred columns */
@media (min-width: 640px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .foot-locs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .foot-loc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
  }

  .foot-loc .flag-ico {
    width: 5rem;
    height: 5rem;
    padding: 0.5rem;
  }

  .foot-loc span {
    font-size: 0.85rem;
  }

  .footer-copy {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 0.8fr 2.2fr;
    align-items: start;
    gap: 4rem;
  }

  .footer-logo {
    height: 3rem;
  }

  .foot-locs {
    padding: 1rem 0;
    gap: 2rem;
  }

  .foot-loc .flag-ico {
    width: 5.125rem;
    height: 5.125rem;
  }

  .foot-loc span {
    font-size: 0.9rem;
  }
}

/* =========================================================
   DEMO / GET STARTED MODAL
   ========================================================= */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, var(--safe-t)) max(0.75rem, var(--safe-r)) max(0.75rem, var(--safe-b)) max(0.75rem, var(--safe-l));
}

.demo-modal.active {
  display: flex;
}

.demo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 42, 78, 0.75);
  backdrop-filter: blur(5px);
}

.demo-form-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 35rem;
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  animation: demoFormIn 0.3s ease;
}

@keyframes demoFormIn {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.7rem;
  line-height: 1;
  transition: all 0.25s ease;
}

.demo-close:hover {
  background: var(--gold);
  color: var(--brand-deep);
  transform: rotate(90deg);
}

.demo-form-header {
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.demo-form-header h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 900;
  color: var(--brand);
}

.demo-form-header p:last-child {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.demo-form-group {
  margin-top: 0.9rem;
}

.demo-form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
}

.demo-form-group input,
.demo-form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: #fff;
  font-size: 1rem;
  color: var(--brand);
  outline: none;
  transition: all 0.25s ease;
}

.demo-form-group textarea {
  width: 100%;
  height: 55px !important;
  min-height: 55px !important;
  max-height: 55px !important;
  resize: vertical;
  box-sizing: border-box;
}

/* .demo-form-group textarea { min-height: 2.5rem !important; resize: vertical; } */
.demo-form-group input:focus,
.demo-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent);
}

.demo-form-group input::placeholder,
.demo-form-group textarea::placeholder {
  color: #8a98aa;
}

.demo-submit {
  width: 100%;
  margin-top: 1.25rem;
  gap: 0.6rem;
  cursor: pointer;
}

.demo-success {
  display: none;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  color: #16803c;
}

@media (min-width: 600px) {
  .demo-modal {
    padding: 1.25rem;
  }

  .demo-form-card {
    padding: 2.5rem;
    border-radius: 1.25rem;
    max-height: 90dvh;
  }

  .demo-close {
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .demo-form-card {
    padding: 1.25rem 1.5rem;
  }

  .demo-form-group {
    margin-top: 0.6rem;
  }
}

/* =========================================================
   VERY SMALL SCREENS — Galaxy Z Fold cover (344px) & similar
   ========================================================= */
@media (max-width: 359px) {
  :root {
    --gutter: 0.85rem;
  }

  .logo-img {
    height: 1.6rem;
  }

  .mobile-menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .hero-badge-label {
    font-size: 0.68rem;
  }

  .step-points li,
  .type-points li,
  .plan-features li,
  .film-feature {
    font-size: 0.84rem;
  }

  .team-photo {
    width: 4.5rem;
    height: 4.5rem;
  }

  .team-card {
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .pricing-toggle button {
    font-size: 0.72rem;
    padding-inline: 0.25rem;
  }

  .plan-price .amount {
    font-size: 1.8rem;
  }

  .foot-loc {
    grid-template-columns: 3.25rem 1fr;
    column-gap: 0.75rem;
  }

  .foot-loc .flag-ico {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0.4rem;
  }

  .foot-loc strong {
    letter-spacing: 0.14em;
  }

  .contact-form {
    padding: 0.9rem;
  }

  .deal-btn {
    font-size: 0.78rem;
    padding-inline: 0.4rem;
  }
}

@media (min-width: 900px) {
  .product-nav {
    display: flex;
    align-items: center;
  }

  .product-dropdown {
    pointer-events: none;
  }

  .product-nav.product-open .product-dropdown {
    pointer-events: auto;
  }
}