/* ═══════════════════════════════════════════════════
   TECNOFIL — friendly · modern · brand-accurate
   ═══════════════════════════════════════════════════ */

:root {
  /* Real Tecnofil palette (leaf logo: teal + green) */
  --teal:      #3fa9b8;   /* primary from logo */
  --teal-dk:   #2d8e9c;
  --green:     #7db93d;   /* accent from logo */
  --green-dk:  #65a02c;
  --ink:       #2f3a40;   /* wordmark grey */
  --ink-2:     #455059;
  --text:      #3a4550;
  --muted:     #6b7a85;

  --paper:     #f5faf9;   /* very subtle mint-cream */
  --paper-2:   #eaf4f3;
  --white:     #ffffff;
  --line:      #dfe7e7;
  --line-2:    #c6d3d4;

  --grad:      linear-gradient(135deg, #3fa9b8 0%, #7db93d 100%);
  --grad-soft: linear-gradient(135deg, rgba(63,169,184,.10), rgba(125,185,61,.10));

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --shadow-xs: 0 2px 8px rgba(47,58,64,.05);
  --shadow-sm: 0 8px 24px rgba(47,58,64,.07);
  --shadow:    0 20px 50px rgba(47,58,64,.10);
  --shadow-lg: 0 40px 90px rgba(47,58,64,.14);

  --sans:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --display:  'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* ═══════════ BEAUTIFUL BACKGROUND ═══════════ */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 15% 5%,  rgba(63,169,184,.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 95%, rgba(125,185,61,.13), transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255,255,255,.6), transparent 70%),
    linear-gradient(180deg, #f0f9f8 0%, #f5faf9 45%, #eaf4f3 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--teal); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 10px; }

/* ═══════════ TYPOGRAPHY ═══════════ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center; gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dk);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 18px;
  color: var(--ink-2);
  font-weight: 400;
}

.section-head { margin-bottom: 56px; max-width: 720px; }
section { padding: 100px 0; position: relative; }

/* ═══════════ LOADER — light, brand-colored, elegant ═══════════ */
.loader {
  position: fixed; inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  color: var(--ink);
  overflow: hidden;
  background: #ffffff;
  transition: opacity .65s var(--ease), visibility .65s var(--ease);
}
.loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader.show {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Soft brand-tinted wash (very subtle) */
.loader::before,
.loader::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
  pointer-events: none;
}
.loader::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(63,169,184,.55), transparent 70%);
  top: -15%; left: -12%;
  animation: loaderOrb1 9s ease-in-out infinite alternate;
}
.loader::after {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(125,185,61,.50), transparent 70%);
  bottom: -18%; right: -14%;
  animation: loaderOrb2 11s ease-in-out infinite alternate-reverse;
}
@keyframes loaderOrb1 {
  0%   { transform: translate(0,0); }
  100% { transform: translate(60px, 40px); }
}
@keyframes loaderOrb2 {
  0%   { transform: translate(0,0); }
  100% { transform: translate(-50px, -30px); }
}

/* Stacked content */
.loader-stack {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
  padding: 0 24px;
  text-align: center;
}

/* Logo image — breathes gently */
.loader-logo {
  height: 62px;
  width: auto;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  animation:
    logoIn .8s var(--ease-out) forwards,
    logoBreath 3s ease-in-out .8s infinite;
}
@keyframes logoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logoBreath {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.035); }
}

/* Wordmark — subtle tracked wordmark below logo */
.loader-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .42em;
  padding-left: .42em;
  color: var(--muted);
  display: flex;
  line-height: 1;
  opacity: 0;
  animation: fadeIn .7s var(--ease-out) .45s forwards;
}
.loader-text span { display: inline-block; }

/* Progress bar — clean, brand-gradient sweep */
.loader-line {
  width: 180px; height: 2px;
  background: rgba(63,169,184,.12);
  border-radius: 2px;
  position: relative; overflow: hidden;
  opacity: 0;
  animation: fadeIn .6s ease .7s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.loader-line::before {
  content: '';
  position: absolute; left: -45%; top: 0; height: 100%; width: 45%;
  background: linear-gradient(90deg, transparent, var(--teal) 35%, var(--green) 75%, transparent);
  border-radius: 2px;
  animation: loaderBar 1.4s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes loaderBar {
  0%   { left: -45%; }
  100% { left: 100%; }
}

/* Elegant exit: subtle curtains + fade */
.loader-curtain {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  background: #ffffff;
  z-index: 1;
  pointer-events: none;
  transition: transform .75s cubic-bezier(.76,0,.24,1);
}
.loader-curtain.top    { top: 0;    transform: translateY(0); }
.loader-curtain.bottom { bottom: 0; transform: translateY(0); }
.loader.hide .loader-curtain.top    { transform: translateY(-100%); }
.loader.hide .loader-curtain.bottom { transform: translateY(100%); }
.loader.hide .loader-stack {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}

/* Mobile: tighter stack */
@media (max-width: 600px) {
  .loader-logo { height: 52px; }
  .loader-text { font-size: 11px; letter-spacing: .34em; padding-left: .34em; }
  .loader-line { width: 150px; }
  .loader-stack { gap: 18px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .loader::before,
  .loader::after,
  .loader-logo,
  .loader-text,
  .loader-line,
  .loader-line::before { animation: none !important; }
  .loader-logo, .loader-text, .loader-line { opacity: 1; transform: none; }
  .loader-curtain { transition: none; }
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,250,249,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}
.navbar.scrolled {
  padding: 10px 40px;
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 46px;
  width: auto;
  transition: transform .3s var(--ease);
}
.logo:hover img { transform: scale(1.03); }

.nav-wrap {
  display: flex; align-items: center; gap: 24px;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}
.nav-links > li { position: relative; }
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all .25s var(--ease);
  border-radius: 8px;
}
.nav-links a:hover { color: var(--teal-dk); background: rgba(63,169,184,.08); }
.nav-links a.active { color: var(--teal-dk); background: rgba(63,169,184,.10); }

.has-dropdown > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .6;
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px;
  min-width: 280px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: all .25s var(--ease);
  list-style: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text);
}
.dropdown li a:hover {
  background: var(--paper-2);
  color: var(--teal-dk);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 100px;
  font-size: 13.5px; font-weight: 600;
  transition: all .3s var(--ease);
}
.nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(63,169,184,.35);
}

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.on span:nth-child(2) { opacity: 0; }
.nav-burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-wrap.mobile-open .nav-links {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--white);
    padding: 16px 30px;
    border-bottom: 1px solid var(--line);
    gap: 0;
    max-height: 75vh;
    overflow-y: auto;
  }
  .nav-wrap.mobile-open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-wrap.mobile-open .dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    background: transparent; box-shadow: none; border: 0;
    padding: 0 0 8px 16px;
    min-width: 0;
  }
  .nav-cta { display: none; }
}
@media (max-width: 540px) {
  .navbar { padding: 12px 20px; }
  .logo img { height: 38px; }
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(63,169,184,.35);
}
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-accent {
  background: var(--green);
  color: #fff;
}
.btn-accent:hover {
  background: var(--green-dk);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(125,185,61,.35);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-full { width: 100%; justify-content: center; }

/* ═══════════ PAGE HEADER (reusable hero) ═══════════ */
.page-hero {
  padding: 170px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-dk);
  font-weight: 600;
  margin-bottom: 20px;
  background: rgba(63,169,184,.10);
  padding: 8px 14px;
  border-radius: 100px;
}
.page-hero-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--ink);
  max-width: 1000px;
}
.page-hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-sub {
  max-width: 640px;
  margin-top: 24px;
  font-size: 17.5px;
  color: var(--muted);
}
.page-hero-deco {
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  opacity: .5;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(125,185,61,.25), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(63,169,184,.22), transparent 55%);
  filter: blur(60px);
  animation: floatBg 12s ease-in-out infinite;
}
@keyframes floatBg {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-40px, 20px); }
}

/* ═══════════ BREADCRUMBS ═══════════ */
.crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.crumbs a:hover { color: var(--teal-dk); }
.crumbs .sep { opacity: .4; }

/* ═══════════ HOME HERO ═══════════ */
.hero {
  min-height: 100vh;
  padding: 160px 28px 80px;
  display: flex; align-items: center;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-sig {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dk);
  margin-bottom: 28px;
  background: rgba(63,169,184,.10);
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600;
}
.hero-sig::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(125,185,61,.25);
  animation: pulseSig 2s ease-in-out infinite;
}
@keyframes pulseSig {
  50% { box-shadow: 0 0 0 8px rgba(125,185,61,.15); }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero h1 .italic {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin: 28px 0 36px;
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero-visual:hover img { transform: scale(1.03); }
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(47,58,64,.35));
}
.hero-visual-card {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  padding: 18px 22px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-radius: var(--r-md);
  z-index: 2;
  display: flex; align-items: center; gap: 16px;
}
.hero-visual-card-ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
}
.hero-visual-card strong {
  font-size: 15px;
  color: var(--ink);
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}
.hero-visual-card span {
  font-size: 12.5px;
  color: var(--muted);
}

.hero-meta {
  display: flex; gap: 36px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-item { flex: 1; max-width: 180px; }
.hero-meta-item strong {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.hero-meta-item strong em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-meta-item span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { aspect-ratio: 3/2; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
  .hero-meta-item { min-width: 45%; }
}

/* ═══════════ REVEAL ═══════════ */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.on, .reveal-up.on { opacity: 1; transform: translateY(0); }

/* ═══════════ CONTENT LAYOUTS ═══════════ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-visual img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.split-text p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.split-text p:first-of-type {
  font-size: 19px;
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pillar {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all .3s var(--ease);
}
.pillar:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.pillar-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 12px;
  margin-bottom: 16px;
  color: #fff;
}
.pillar-ico svg { width: 22px; height: 22px; stroke-width: 1.8; }
.pillar h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.pillar p { font-size: 14.5px; color: var(--muted); }

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

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .4s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body {
  padding: 24px 26px;
  flex: 1;
  display: flex; flex-direction: column;
}
.card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(63,169,184,.10);
  color: var(--teal-dk);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  align-self: flex-start;
}
.card h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.card-link {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-dk);
  display: inline-flex;
  align-items: center; gap: 6px;
}
.card-link::after {
  content: '→';
  transition: transform .3s var(--ease);
}
.card:hover .card-link::after { transform: translateX(4px); }

/* Numbered card */
.num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.num-card {
  padding: 36px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background .3s var(--ease);
  position: relative;
}
.num-card:hover { background: var(--paper); }
.num-card .num {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dk);
  letter-spacing: .1em;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(125,185,61,.12);
  padding: 5px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.num-card h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.num-card p { font-size: 14.5px; color: var(--muted); }

/* Feature list */
.feat-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 20px;
}
.feat-list li {
  padding-left: 26px;
  position: relative;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}
.feat-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--grad);
  border-radius: 50%;
  opacity: .2;
}
.feat-list li::after {
  content: '';
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--teal-dk);
  border-bottom: 2px solid var(--teal-dk);
  transform: rotate(-45deg);
}
@media (max-width: 640px) { .feat-list { grid-template-columns: 1fr; } }

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag-cloud span {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  transition: .2s;
}
.tag-cloud span:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

/* ═══════════ BRAND STRIP ═══════════ */
.brand-strip {
  padding: 50px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-strip-head {
  text-align: center;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 30px;
}
.brand-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}
.brand-strip-item {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -.01em;
  transition: color .3s;
  text-align: center;
}
.brand-strip-item:hover { color: var(--teal-dk); }

/* ═══════════ ACCORDION ═══════════ */
.accordion {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 8px 28px;
  box-shadow: var(--shadow-xs);
}
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 0; }
.acc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  transition: color .3s;
  letter-spacing: -.01em;
}
.acc-head:hover { color: var(--teal-dk); }
.acc-num {
  font-size: 13px;
  color: var(--green-dk);
  font-weight: 700;
  margin-right: 20px;
  letter-spacing: .05em;
}
.acc-plus {
  width: 34px; height: 34px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: .3s;
  position: relative;
  flex-shrink: 0;
}
.acc-plus::before,
.acc-plus::after {
  content: '';
  position: absolute;
  width: 12px; height: 2px;
  background: var(--ink);
  transition: transform .3s;
  border-radius: 2px;
}
.acc-plus::after { transform: rotate(90deg); }
.acc-item.on .acc-plus {
  background: var(--teal);
  border-color: var(--teal);
}
.acc-item.on .acc-plus::before,
.acc-item.on .acc-plus::after { background: #fff; }
.acc-item.on .acc-plus::after { transform: rotate(0); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.acc-item.on .acc-body { max-height: 700px; }
.acc-body-inner {
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}
.acc-body-inner img {
  border-radius: var(--r-sm);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper-2);
}
.acc-body-inner p {
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 760px) {
  .acc-body-inner { grid-template-columns: 1fr; }
  .acc-head { font-size: 17px; gap: 12px; }
}

/* ═══════════ STATS ═══════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.stats-strip .stat {
  padding: 36px 26px;
  border-right: 1px solid var(--line);
}
.stats-strip .stat:last-child { border-right: 0; }
.stats-strip .stat-num {
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.stats-strip .stat-num span { font-size: .55em; }
.stats-strip .stat-lbl {
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
@media (max-width: 860px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat:nth-child(2) { border-right: 0; }
  .stats-strip .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ═══════════ CTA BLOCK ═══════════ */
.cta-block {
  padding: 70px 60px;
  background:
    radial-gradient(circle at 80% 20%, rgba(125,185,61,.20), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(63,169,184,.25), transparent 55%),
    linear-gradient(135deg, #2f3a40 0%, #455059 100%);
  color: #fff;
  border-radius: var(--r-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: -.02em;
}
.cta-block h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #7dd7e3, #a6e470);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-block p {
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 16.5px;
}
.cta-block .btn-primary {
  background: var(--green);
  color: #fff;
}
.cta-block .btn-primary:hover { background: var(--green-dk); }
@media (max-width: 640px) {
  .cta-block { padding: 54px 28px; }
}

/* ═══════════ CONTACT ═══════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info-list { list-style: none; margin-top: 32px; }
.contact-info-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 14px;
  color: #fff;
}
.contact-info-list .ico svg { width: 20px; height: 20px; stroke-width: 1.8; }
.contact-info-list small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-info-list strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  box-shadow: var(--shadow-xs);
}
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label > span {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: .25s var(--ease);
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(63,169,184,.12);
}
.form-done {
  position: absolute; inset: 36px;
  display: grid; place-items: center;
  background: var(--white);
  border-radius: var(--r-lg);
  font-size: 20px;
  color: var(--teal-dk);
  text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
  font-weight: 700;
}
.form-done.on { opacity: 1; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px; }
  .form-done { inset: 24px; }
}

/* ═══════════ MAP ═══════════ */
.map-card {
  margin-top: 30px;
  aspect-ratio: 21/9;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.map-card iframe { width: 100%; height: 100%; border: 0; }

/* ═══════════ PRODUCT DETAIL PAGE ═══════════ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.detail-media {
  position: sticky;
  top: 100px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-body h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 18px;
  line-height: 1.15;
}
.detail-body h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.detail-body h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 10px;
  letter-spacing: -.01em;
}
.detail-body p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }
.detail-body p.lead-text {
  font-size: 18px;
  color: var(--ink-2);
  font-weight: 500;
}

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .detail-media { position: static; aspect-ratio: 4/3; }
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 70px 0 28px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .logo img {
  height: 50px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 14.5px;
  color: rgba(255,255,255,.55);
  max-width: 320px;
  line-height: 1.7;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h5 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #7dd7e3;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-cols a, .footer-cols span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  transition: color .25s;
}
.footer-cols a:hover { color: #fff; }

.footer-bottom {
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  transition: .25s;
  color: rgba(255,255,255,.7);
}
.social a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(63,169,184,.1);
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ═══════════ UTILITIES ═══════════ */
.divider { height: 1px; background: var(--line); margin: 50px 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — built for every screen
   A single place for mobile-first polish.
   Desktop design above is left untouched.
   ═══════════════════════════════════════════════════ */

/* ─── Global typography polish for headings ─── */
html {
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.hero h1,
.page-hero h1,
.section-title,
.cta-block h2,
.detail-body h2 { text-wrap: balance; }
.hero-desc,
.page-hero-sub,
.lead,
.detail-body p.lead-text { text-wrap: pretty; }

/* ─── Accessibility: reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .page-hero-deco { animation: none; }
}

/* ─── Touch devices: no janky hover transforms ─── */
@media (hover: none) {
  .card:hover,
  .pillar:hover,
  .btn-primary:hover,
  .btn-accent:hover,
  .btn-ghost:hover,
  .nav-cta:hover,
  .hero-visual:hover img { transform: none; box-shadow: none; }
  .card:hover .card-img img,
  .card:hover .card-link::after,
  .btn-primary:hover svg { transform: none; }
}

/* ─── iOS safe-area insets (notch / home indicator) ─── */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(40px, env(safe-area-inset-left));
    padding-right: max(40px, env(safe-area-inset-right));
  }
  .footer-bottom { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
}

/* ═══ LARGE DESKTOP (≥ 1400px) — generous canvas ═══ */
@media (min-width: 1400px) {
  .container { max-width: 1320px; padding: 0 40px; }
  section { padding: 120px 0; }
  .navbar { padding: 18px 56px; }
  .navbar.scrolled { padding: 12px 56px; }
  .hero-grid { gap: 100px; }
  .cta-block { padding: 84px 72px; }
  .footer { padding: 90px 0 32px; }
}
@media (min-width: 1700px) {
  .container { max-width: 1440px; padding: 0 56px; }
  .hero { padding: 180px 40px 120px; }
  .section-head { margin-bottom: 70px; }
}

/* ═══ SMALL DESKTOP / LAPTOP (≤ 1200px) ═══ */
@media (max-width: 1200px) {
  section { padding: 90px 0; }
  .container { padding: 0 24px; }
  .navbar { padding: 14px 28px; }
  .navbar.scrolled { padding: 10px 28px; }
  .hero-grid { gap: 60px; }
}

/* ═══ TABLET LANDSCAPE (≤ 1024px) ═══ */
@media (max-width: 1024px) {
  html { scroll-padding-top: 80px; }
  section { padding: 80px 0; }
  .page-hero { padding: 150px 0 50px; }
  .section-head { margin-bottom: 44px; }
  .detail-layout { gap: 48px; }
  .cta-block { padding: 60px 40px; }
  .navbar { padding: 14px 24px; }
  .navbar.scrolled { padding: 10px 24px; }
}

/* ═══ TABLET (≤ 820px) ═══ */
@media (max-width: 820px) {
  section { padding: 70px 0; }
  .container { padding: 0 22px; }
  .page-hero { padding: 130px 0 40px; }
  .page-hero-sub { font-size: 16.5px; margin-top: 20px; }
  .page-hero-deco { width: 520px; height: 520px; top: -15%; right: -20%; }
  .hero { padding: 130px 22px 64px; min-height: auto; }
  .hero-desc { margin: 22px 0 28px; font-size: 17px; }
  .hero-meta { margin-top: 44px; padding-top: 24px; gap: 24px; }
  .hero-meta-item strong { font-size: 26px; }
  .section-head { margin-bottom: 36px; }
  .accordion { padding: 6px 22px; }
  .acc-head { padding: 22px 0; font-size: 18px; }
  .stats-strip .stat { padding: 28px 18px; }
  .detail-body h3 { margin-top: 22px; }
  .card-grid { gap: 18px; }
  .pillars { gap: 16px; }
  .contact-form { padding: 28px; }
  .footer { padding: 60px 0 24px; margin-top: 60px; }
}

/* ═══ PHONE (≤ 600px) — the experience that feels native ═══ */
@media (max-width: 600px) {
  html { scroll-padding-top: 72px; }
  section { padding: 58px 0; }
  .container { padding: 0 18px; }

  /* Typography scales down smoothly */
  .eyebrow { font-size: 11.5px; margin-bottom: 14px; letter-spacing: .12em; }
  .eyebrow::before { width: 18px; }
  .section-head { margin-bottom: 30px; }
  .section-title { font-size: clamp(28px, 8.5vw, 40px); line-height: 1.12; }
  .lead { font-size: 16.5px; }

  /* Navbar: clean, clearly tappable, animated drawer */
  .navbar { padding: 11px 18px; }
  .navbar.scrolled { padding: 8px 18px; box-shadow: 0 6px 18px rgba(47,58,64,.08); }
  .logo img { height: 40px; }
  .nav-burger { padding: 10px; margin: -10px -8px -10px 0; }
  .nav-burger span { width: 22px; }
  .nav-wrap.mobile-open .nav-links {
    padding: 6px 22px 22px;
    box-shadow: 0 12px 28px rgba(47,58,64,.10);
    border-bottom: 1px solid var(--line);
    animation: drawerSlide .32s var(--ease-out);
  }
  .nav-wrap.mobile-open .nav-links a {
    padding: 14px 0;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-wrap.mobile-open .nav-links a.active {
    background: transparent;
    color: var(--teal-dk);
  }
  .nav-wrap.mobile-open .dropdown { padding: 2px 0 10px 14px; }
  .nav-wrap.mobile-open .dropdown li a {
    padding: 10px 0;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 0;
    font-weight: 500;
  }

  /* Buttons — generous tap surface */
  .btn { padding: 14px 24px; font-size: 14.5px; }
  .hero-actions { gap: 10px; }

  /* Page hero — punchy */
  .page-hero { padding: 108px 0 22px; }
  .page-hero h1 { font-size: clamp(34px, 10vw, 48px); letter-spacing: -.03em; }
  .page-hero-sub { font-size: 15.5px; margin-top: 18px; }
  .page-hero-label {
    font-size: 10.5px;
    padding: 6px 12px;
    margin-bottom: 16px;
    letter-spacing: .12em;
  }
  .page-hero-deco {
    width: 420px; height: 420px;
    top: -8%; right: -30%;
    opacity: .55;
  }
  .crumbs { font-size: 12.5px; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

  /* Home hero — app-like composition */
  .hero { padding: 108px 18px 52px; min-height: auto; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); line-height: 1.02; letter-spacing: -.035em; }
  .hero-sig {
    font-size: 11.5px; padding: 7px 14px; margin-bottom: 22px;
    letter-spacing: .12em;
  }
  .hero-desc { font-size: 15.5px; margin: 22px 0 26px; }
  .hero-grid { gap: 40px; }
  .hero-visual {
    aspect-ratio: 5/6;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .hero-visual-card {
    bottom: 14px; left: 14px; right: 14px;
    padding: 13px 16px; gap: 12px;
    border-radius: 12px;
  }
  .hero-visual-card-ico { width: 36px; height: 36px; border-radius: 8px; }
  .hero-visual-card strong { font-size: 13.5px; margin-bottom: 1px; }
  .hero-visual-card span { font-size: 11.5px; }
  .hero-meta {
    margin-top: 36px; padding-top: 22px;
    gap: 20px 16px;
  }
  .hero-meta-item { flex: 1 1 calc(50% - 8px); min-width: 0; max-width: none; }
  .hero-meta-item strong { font-size: 22px; }
  .hero-meta-item span { font-size: 11.5px; line-height: 1.4; }

  /* Cards — tight, thumb-friendly */
  .card-grid { gap: 14px; grid-template-columns: 1fr; }
  .card { border-radius: 14px; }
  .card-img { aspect-ratio: 16/10; }
  .card-body { padding: 20px 20px 22px; }
  .card h3 { font-size: 18px; line-height: 1.22; }
  .card p { font-size: 14px; }
  .card-tag { font-size: 11px; padding: 4px 10px; margin-bottom: 10px; }
  .card-link { font-size: 13px; margin-top: 14px; }

  /* Pillars */
  .pillars { gap: 12px; margin-top: 28px; }
  .pillar { padding: 22px 20px; border-radius: 14px; }
  .pillar h4 { font-size: 18px; }

  /* Numbered grid */
  .num-grid { grid-template-columns: 1fr; border-radius: 14px; }
  .num-card { padding: 26px 22px; border-right: 0; }
  .num-card:last-child { border-bottom: 0; }
  .num-card h3 { font-size: 18.5px; }
  .num-card .num { margin-bottom: 12px; }

  /* Feature list */
  .feat-list { gap: 10px; margin-top: 16px; }
  .feat-list li { font-size: 14.25px; padding-left: 24px; }
  .feat-list li::before { top: 5px; }
  .feat-list li::after { top: 9px; }

  /* Stats strip */
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 14px;
  }
  .stats-strip .stat { padding: 22px 16px; }
  .stats-strip .stat-num { font-size: clamp(26px, 8vw, 36px); }
  .stats-strip .stat-lbl { font-size: 10.5px; letter-spacing: .06em; }

  /* Accordion */
  .accordion { padding: 2px 18px; border-radius: 14px; }
  .acc-head { padding: 20px 0; font-size: 15.5px; gap: 10px; }
  .acc-num { font-size: 11.5px; margin-right: 10px; }
  .acc-plus { width: 28px; height: 28px; }
  .acc-plus::before, .acc-plus::after { width: 10px; }

  /* Tag cloud */
  .tag-cloud { gap: 6px; margin-top: 16px; }
  .tag-cloud span { padding: 7px 14px; font-size: 12.5px; }

  /* Brand strip */
  .brand-strip { padding: 36px 0; }
  .brand-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .brand-strip-item { font-size: 14.5px; }
  .brand-strip-head { margin-bottom: 22px; letter-spacing: .16em; font-size: 11px; }

  /* Split section */
  .split { gap: 32px; }
  .split-text p { font-size: 15.5px; }
  .split-text p:first-of-type { font-size: 17px; }
  .split-visual img { border-radius: var(--r-md); }

  /* Detail layout (product / project pages) */
  .detail-layout { gap: 28px; }
  .detail-media { aspect-ratio: 4/3; border-radius: 14px; }
  .detail-body h2 { font-size: clamp(26px, 7.5vw, 34px); line-height: 1.18; margin-bottom: 14px; }
  .detail-body h3 { font-size: 17.5px; margin-top: 22px; margin-bottom: 8px; }
  .detail-body p { font-size: 15.5px; }
  .detail-body p.lead-text { font-size: 16.5px; }
  .detail-body .btn.mt-40 { margin-top: 28px; }

  /* CTA block — impactful + compact */
  .cta-block {
    padding: 46px 24px;
    border-radius: 20px;
  }
  .cta-block h2 { font-size: clamp(24px, 7vw, 32px); line-height: 1.18; margin-bottom: 14px; }
  .cta-block p { font-size: 15px; margin-bottom: 22px; }

  /* Contact form */
  .contact-layout { gap: 28px; }
  .contact-form { padding: 22px; border-radius: 18px; }
  .form-done { inset: 22px; font-size: 17px; }
  .contact-info-list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; }
  .contact-info-list .ico { width: 40px; height: 40px; border-radius: 10px; }
  .contact-info-list strong { font-size: 15.5px; }
  .contact-info-list small { font-size: 10.5px; letter-spacing: .1em; }

  /* Map */
  .map-card { aspect-ratio: 4/3; border-radius: 14px; margin-top: 22px; }

  /* Footer */
  .footer { padding: 52px 0 22px; margin-top: 56px; }
  .footer-inner { gap: 32px; padding-bottom: 32px; }
  .footer .logo img { height: 44px; }
  .footer-brand p { max-width: 100%; font-size: 14px; margin-top: 14px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-cols h5 { margin-bottom: 14px; font-size: 11px; }
  .footer-cols a, .footer-cols span { font-size: 13.5px; margin-bottom: 9px; }
  .footer-bottom { font-size: 12.5px; gap: 14px; padding-top: 22px; }
  .social { gap: 8px; }
  .social a { width: 36px; height: 36px; }

  /* Loader */
  .loader-logo { width: 110px; }
  .loader-line { width: 110px; }

  /* Divider */
  .divider { margin: 34px 0; }
}

/* ═══ SMALL PHONE (≤ 480px) — stack actions full-width ═══ */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .cta-block .btn { width: 100%; justify-content: center; }
}

/* ═══ TINY PHONES (≤ 360px) — iPhone SE class ═══ */
@media (max-width: 360px) {
  html { font-size: 15px; }
  .container { padding: 0 15px; }
  .navbar { padding: 10px 15px; }
  .logo img { height: 36px; }
  .hero { padding: 104px 15px 44px; }
  .hero h1 { font-size: clamp(36px, 13vw, 50px); }
  .page-hero { padding: 100px 0 22px; }
  .page-hero h1 { font-size: clamp(30px, 11vw, 42px); }
  .page-hero-sub { font-size: 15px; }
  .card-body { padding: 18px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { text-align: center; }
  .hero-meta-item strong { font-size: 20px; }
  .stats-strip .stat { padding: 18px 12px; }
  .cta-block { padding: 38px 20px; }
  .detail-body h2 { font-size: clamp(24px, 8vw, 30px); }
  .contact-form { padding: 18px; }
  .brand-strip-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
}

/* ═══ LANDSCAPE PHONES — short viewport ═══ */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 104px 20px 40px; }
  .page-hero { padding: 98px 0 28px; }
  .page-hero-deco { display: none; }
  .loader { gap: 16px; }
  .loader-logo { width: 90px; }
  .loader-line { width: 90px; }
}

/* ═══ Mobile menu drawer animation ═══ */
@keyframes drawerSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
