/* ============================================================
   Ana Interior — Full Solution For Blinds
   Professional rebuild · performance-first · mobile-native
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #F6F3EE;
  --surface: #FFFFFF;
  --surface-2: #FBF9F5;
  --ink: #1B222C;
  --ink-soft: #2A3440;
  --muted: #64707E;
  --line: #E8E2D7;
  --brand: #A87B3F;
  --brand-strong: #8E6530;
  --brand-soft: #F4ECDD;
  --brand-ink: #6E4E24;
  --wa: #1FA35C;
  --wa-strong: #18854B;
  --deep: #131A23;
  --deep-2: #1B2431;
  --shadow-sm: 0 1px 2px rgba(19,26,35,.05), 0 2px 8px rgba(19,26,35,.05);
  --shadow-md: 0 4px 12px rgba(19,26,35,.08), 0 12px 32px rgba(19,26,35,.08);
  --shadow-lg: 0 16px 48px rgba(19,26,35,.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
svg { display: block; }

h1, h2, h3, h4 {
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

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

:focus-visible {
  outline: 3px solid rgba(168,123,63,.55);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.section { padding-block: clamp(4.5rem, 8vw, 7rem); }

.section-head { max-width: 640px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: .9rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.section-head.center .kicker::after {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  color: var(--ink);
}
.section-desc {
  margin-top: .9rem;
  font-size: 1.03rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  min-height: 48px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(168,123,63,.35);
}
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(168,123,63,.4); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31,163,92,.32);
}
.btn-wa:hover { background: var(--wa-strong); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,163,92,.38); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-2px); }

.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(232,226,215,.8);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(19,26,35,.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}
.brand { display: flex; align-items: center; flex: none; }
.brand svg { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative;
  padding: .55rem .85rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .2s ease;
}
.nav a:hover { color: var(--brand-strong); }
.nav a::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--brand-strong); }

.header-cta { display: flex; align-items: center; gap: .75rem; flex: none; }
.header-cta .btn { padding: .68rem 1.3rem; min-height: 44px; font-size: .9rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 11px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--deep);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(19,26,35,.88) 0%, rgba(19,26,35,.66) 42%, rgba(19,26,35,.18) 78%, rgba(19,26,35,.38) 100%),
    linear-gradient(to top, rgba(19,26,35,.55), transparent 40%);
}

.hero-content { padding-block: clamp(5.5rem, 12vw, 8.5rem) clamp(5rem, 10vw, 7rem); max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #F3E4C9;
  margin-bottom: 1.4rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(168,123,63,.35);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(168,123,63,.4); } 50% { box-shadow: 0 0 0 7px rgba(168,123,63,0); } }

.hero h1 {
  font-size: clamp(2.35rem, 6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #D9B877, #A87B3F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 1.3rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.86);
  max-width: 560px;
}
.hero-lead strong { color: #F3E4C9; font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.1rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-proof-item { display: flex; align-items: center; gap: .8rem; }
.hero-proof-item .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(168,123,63,.22);
  border: 1px solid rgba(217,184,119,.35);
  color: #F3E4C9;
  flex: none;
}
.hero-proof-item .ic svg { width: 20px; height: 20px; }
.hero-proof-item b { display: block; font-size: .95rem; font-weight: 700; }
.hero-proof-item span { font-size: .8rem; color: rgba(255,255,255,.72); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-hint::before {
  content: "";
  width: 4px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.75);
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Stats band ---------- */
.stats {
  position: relative;
  background: var(--deep);
  color: #fff;
  padding-block: 2.4rem;
  margin-top: -1px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat { text-align: center; padding: .75rem .5rem; }
.stat b {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #E8CD9C, #B98D4F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat b .plus { font-size: .72em; }
.stat span { display: block; margin-top: .3rem; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* ---------- Section backgrounds ---------- */
.section-alt { background: var(--surface); }
.section-tint { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168,123,63,.4);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: linear-gradient(160deg, #F3EEE4, #E9E2D3);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.35rem; }
.product-body h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.product-body p {
  font-size: .86rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--brand-strong);
  transition: gap .2s var(--ease);
}
.product-link:hover { gap: .7rem; }
.product-link svg { width: 15px; height: 15px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--deep);
  min-height: 340px;
  display: flex;
  align-items: center;
}
.cta-banner .bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cta-banner .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(19,26,35,.92) 0%, rgba(19,26,35,.72) 55%, rgba(19,26,35,.45) 100%);
}
.cta-inner { padding: clamp(2.4rem, 5vw, 4rem); max-width: 640px; }
.cta-inner .kicker { color: #E8CD9C; }
.cta-inner .kicker::before { background: #E8CD9C; }
.cta-title { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
.cta-desc { margin-top: .9rem; color: rgba(255,255,255,.85); }
.cta-desc strong { color: #F3E4C9; }
.cta-inner .btn { margin-top: 1.7rem; }

/* ---------- Other products ---------- */
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.other-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.other-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.other-media { aspect-ratio: 16 / 10; overflow: hidden; background: #EFEAE0; }
.other-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.other-card:hover .other-media img { transform: scale(1.06); }
.other-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.other-body h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.other-body p { font-size: .9rem; color: var(--muted); flex: 1; margin-bottom: 1.1rem; }

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
  background: var(--deep);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease), filter .4s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,26,35,.85), rgba(19,26,35,.05) 55%);
  opacity: .85;
  transition: opacity .3s ease;
}
.project-card:hover::after { opacity: 1; }
.project-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1rem 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 700;
}
.project-cap::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-top { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #EFEAE0; }
.blog-card-top img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.blog-card:hover .blog-card-top img { transform: scale(1.06); }
.blog-cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(19,26,35,.78);
  backdrop-filter: blur(6px);
  color: #F3E4C9;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.blog-card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: .78rem; font-weight: 600; color: var(--muted); display: flex; gap: .9rem; margin-bottom: .55rem; }
.blog-card-body h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.blog-card-body h3 a:hover { color: var(--brand-strong); }
.blog-card-body p { font-size: .88rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.8rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(168,123,63,.35); }
.contact-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: #fff;
}
.contact-ic svg { width: 24px; height: 24px; }
.contact-card.wa .contact-ic { background: var(--wa); }
.contact-card.mail .contact-ic { background: var(--brand); }
.contact-card.pin .contact-ic { background: var(--ink); }
.contact-card h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.contact-card .contact-val { font-size: .95rem; color: var(--muted); margin-bottom: .6rem; word-break: break-word; }
.contact-card .contact-more {
  font-weight: 700;
  font-size: .88rem;
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  transition: gap .2s var(--ease);
}
.contact-card:hover .contact-more { gap: .65rem; }
.contact-card .contact-more svg { width: 14px; height: 14px; }

/* Branches */
.branches {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}
.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .2s ease, transform .2s var(--ease);
}
.branch-chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.branch-chip svg { width: 15px; height: 15px; color: var(--brand); }

/* ---------- Footer ---------- */
.footer {
  background: var(--deep);
  color: #C9D1DB;
  padding-top: clamp(3.2rem, 6vw, 4.5rem);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
}
.footer-brand svg { height: 44px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: rgba(201,209,219,.75); max-width: 300px; }
.footer h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #E8CD9C;
  margin-bottom: 1.15rem;
}
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: rgba(201,209,219,.82); transition: color .2s ease, padding-left .2s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  color: rgba(201,209,219,.6);
  font-size: .84rem;
}
.footer-bottom .tagline { color: rgba(232,205,156,.8); font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31,163,92,.45);
  transition: transform .25s var(--ease), box-shadow .25s ease;
  animation: waPulse 3s ease infinite;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 36px rgba(31,163,92,.5); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(31,163,92,.45); }
  50% { box-shadow: 0 10px 34px rgba(31,163,92,.62), 0 0 0 0 rgba(31,163,92,.35); }
}

/* Mobile bottom bar (native app feel) */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 45;
  padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  gap: .7rem;
}
.mobile-bar .btn { flex: 1; min-height: 52px; font-size: .95rem; }

/* ---------- Reveal animation ---------- */
/* Only hide when JS is active (html gets .js class from main.js) */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.in-view { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Article pages ---------- */
.article-hero {
  position: relative;
  background: var(--deep);
  color: #fff;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
  overflow: hidden;
}
.article-hero .bg {
  position: absolute;
  inset: 0;
  opacity: .32;
}
.article-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.article-hero .crumb {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
  display: flex;
  gap: .5rem;
  align-items: center;
}
.article-hero .crumb a:hover { color: #E8CD9C; }
.article-hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); max-width: 780px; }
.article-hero .meta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: .86rem;
  color: rgba(255,255,255,.75);
}
.article-hero .meta span { display: inline-flex; align-items: center; gap: .45rem; }
.article-hero .meta svg { width: 16px; height: 16px; color: #E8CD9C; }

.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(2.2rem, 5vw, 3.5rem);
}
.article-body > * { margin-bottom: 1.25rem; }
.article-body h2 {
  font-size: 1.45rem;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}
.article-body h3 { font-size: 1.15rem; margin-top: 1.9rem; margin-bottom: .8rem; }
.article-body p { color: #3E4854; }
.article-body ul { padding-left: 0; display: grid; gap: .7rem; margin: 1.2rem 0; }
.article-body ul li {
  position: relative;
  padding-left: 1.6rem;
  color: #3E4854;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 8px; height: 8px;
  border-radius: 2.5px;
  background: var(--brand);
}
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.3rem;
  font-style: italic;
  color: var(--brand-ink);
}

.article-cta {
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(120deg, var(--deep), var(--deep-2));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
}
.article-cta h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: .6rem; }
.article-cta p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }

/* Related articles */
.related { background: var(--surface-2); }

/* ---------- Blog page ---------- */
.blog-hero {
  background: linear-gradient(120deg, var(--deep), var(--deep-2));
  color: #fff;
  padding: clamp(3.2rem, 7vw, 5rem) 0;
}
.blog-hero .kicker::before { background: #E8CD9C; }
.blog-hero .kicker { color: #E8CD9C; }
.blog-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.blog-hero p { margin-top: .8rem; color: rgba(255,255,255,.78); max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .wa-float { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, transform .28s var(--ease), visibility .28s;
  }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav a { padding: .95rem 1rem; font-size: 1rem; border-radius: 12px; }
  .nav a:hover { background: var(--brand-soft); }
  .nav a::after { display: none; }

  .nav-toggle { display: flex; }
  .header-cta .btn.only-desktop { display: none; }

  .other-grid { grid-template-columns: 1fr; max-width: 520px; }
  .other-grid { margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .blog-grid { grid-template-columns: 1fr; max-width: 540px; }
  .blog-grid { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .mobile-bar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 2rem); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem .8rem; }
  .stat { padding: .4rem 0; }
  .hero-actions .btn { flex: 1; min-width: 160px; }
  .hero-proof { gap: 1.2rem 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
}
