/* ==========================================================================
   HOMEFLOW — Design System (self-contained artifact)
   Palette: navy profondo + accento azzurro · tono sobrio, orientato ai numeri
   Nessun linguaggio "AI/agenti" nel copy commerciale (contract-rules R1).
   ========================================================================== */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Navy */
  --navy-950: #05090F;
  --navy-900: #070C16;
  --navy-850: #0A101D;
  --navy-800: #0C1526;
  --navy-700: #0F1D3A;
  --navy-600: #14264D;
  --navy-blue: #162C6D; /* top of the deep card gradient */

  /* Azure accent */
  --azure-700: #1657C8;
  --azure-600: #1F6FE5;
  --azure-500: #2F7DF6;
  --azure-400: #4FB0FF;
  --azure-300: #8FCBFF;
  --azure-glow: rgba(47, 125, 246, .45);

  /* Light surfaces */
  --paper: #F5F8FD;
  --paper-2: #FFFFFF;
  --paper-3: #EAF1FB;
  --ink: #0B1220;
  --ink-2: #33415C;
  --slate: #5C6B84;
  --line: #E3EAF4;

  /* On dark */
  --on-dark: #EAF1FF;
  --on-dark-muted: #9DB0D0;
  --line-dark: rgba(255, 255, 255, .08);

  /* Semantic (used by adapted skeuomorphic classes) */
  --color-background: var(--paper);
  --color-foreground: var(--ink);
  --color-muted-foreground: var(--slate);

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;

  /* Rhythm */
  --container: 1200px;
  --container-wide: 1320px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --shadow-sm: 0 1px 2px rgba(13, 20, 40, .06), 0 2px 8px rgba(13, 20, 40, .05);
  --shadow-md: 0 8px 24px -8px rgba(13, 20, 40, .14), 0 2px 8px rgba(13, 20, 40, .06);
  --shadow-lg: 0 30px 60px -24px rgba(13, 20, 40, .28), 0 8px 24px -12px rgba(13, 20, 40, .14);
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
::selection { background: var(--azure-400); color: #fff; }

/* --------------------------------------------------------------- Layout */
.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 44px, var(--container-wide)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 84px) 0; position: relative; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.row { display: flex; gap: 16px; }
.wrap { flex-wrap: wrap; }
.center { align-items: center; }
.between { justify-content: space-between; }
.jc { justify-content: center; }
.col { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--stack, 16px); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.hidden { display: none !important; }

/* --------------------------------------------------------------- Type scale */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  color: var(--ink);
}
.h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -.028em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-2); line-height: 1.6; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--azure-600);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--azure-500); opacity: .7; }
.eyebrow.on-dark { color: var(--azure-300); }
.muted { color: var(--slate); }
.mono { font-family: var(--font-mono); }
.grad-text {
  background: linear-gradient(100deg, var(--azure-600) 0%, var(--azure-400) 60%, var(--azure-300) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  letter-spacing: -.01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap; cursor: pointer; will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, var(--azure-500), var(--azure-600));
  color: #fff;
  box-shadow: 0 1px 1px rgba(255, 255, 255, .3) inset, 0 10px 24px -8px var(--azure-glow), 0 2px 6px rgba(13, 20, 40, .18);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 1px 1px rgba(255,255,255,.35) inset, 0 18px 34px -10px var(--azure-glow), 0 4px 10px rgba(13,20,40,.2); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--azure-300), var(--shadow-md); }
.btn-dark { background: linear-gradient(180deg, #1b2a4d, #101a30); color: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,.14), 0 12px 26px -10px rgba(0,0,0,.5); }
.btn-dark:hover { transform: translateY(-3px); }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { transform: translateY(-3px); background: rgba(255,255,255,.08); }
.btn-lg { padding: 17px 32px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 7px; color: var(--azure-600); font-weight: 600; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- Chips / badges */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 500;
  background: var(--paper-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.chip.on-dark { background: rgba(255,255,255,.05); color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--azure-500); box-shadow: 0 0 8px var(--azure-glow); }
.chip .dot.live { background: #34d399; box-shadow: 0 0 10px rgba(52,211,153,.7); animation: pulse 2s infinite; }
.pill { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 7px; background: rgba(47,125,246,.1); color: var(--azure-600); font-weight: 500; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* --------------------------------------------------------------- Cards */
.card {
  background: var(--paper-2); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  padding: 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--azure-300), var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(47,125,246,.14), rgba(79,176,255,.05));
  box-shadow: inset 0 0 0 1px rgba(47,125,246,.18);
  color: var(--azure-600); margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .97rem; }

/* Service card (the 3 Homeflow services) */
.svc {
  position: relative; border-radius: var(--radius-lg); padding: 32px 30px; overflow: hidden;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--azure-300), var(--shadow-lg); }
.svc .num { font-family: var(--font-mono); font-size: .78rem; color: var(--azure-600); letter-spacing: .1em; }
.svc h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.svc.flagship {
  background: linear-gradient(160deg, var(--navy-blue) 0%, var(--navy-850) 100%);
  box-shadow: 0 30px 70px -30px rgba(13,20,40,.7), inset 0 1px 1px rgba(255,255,255,.08);
}
.svc.flagship h3, .svc.flagship .svc-feat { color: #fff; }
.svc.flagship p, .svc.flagship .svc-feat li { color: var(--on-dark-muted); }
.svc-feat { margin-top: 18px; }
.svc-feat li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: .92rem; color: var(--ink-2); }
.svc-feat li svg { width: 17px; height: 17px; color: var(--azure-500); flex: none; margin-top: 3px; }

/* Stat block */
.stat { }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat.on-dark .num { color: #fff; }
.stat .num .unit { font-size: .5em; color: var(--azure-500); margin-left: 2px; }
.stat .lbl { font-size: .9rem; color: var(--slate); margin-top: 8px; }
.stat.on-dark .lbl { color: var(--on-dark-muted); }

/* --------------------------------------------------------------- Header / Nav */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -20px rgba(13,20,40,.3);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.03em; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; }
.brand b { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-size: .94rem; font-weight: 500; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(47,125,246,.08); color: var(--azure-700); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; color: var(--ink); }
/* header on dark hero */
.site-header.on-dark:not(.scrolled) .brand,
.site-header.on-dark:not(.scrolled) .nav-links a { color: #eaf1ff; }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-header.on-dark:not(.scrolled) .nav-toggle { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.site-header.on-dark:not(.scrolled) .nav-toggle svg { color: #fff; }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px); padding: 90px 24px 40px; transform: translateY(-100%);
  transition: transform .5s var(--ease); display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: 16px 8px; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; }

/* --------------------------------------------------------------- Sections bg */
.bg-paper { background: var(--paper); }
.bg-white { background: var(--paper-2); }
.bg-tint { background: linear-gradient(180deg, var(--paper-3), var(--paper)); }
.bg-dark { background: var(--navy-900); color: var(--on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lead, .bg-dark p { color: var(--on-dark-muted); }
.bg-deep {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(47,125,246,.22), transparent 55%),
    radial-gradient(900px 500px at 10% 110%, rgba(22,44,109,.5), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--on-dark);
}
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep p, .bg-deep .lead { color: var(--on-dark-muted); }

/* Decorative grid + grain (framework-agnostic, adapted from source) */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-size: 62px 62px;
  background-image:
    linear-gradient(to right, rgba(47,125,246,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47,125,246,.06) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
}
.bg-grid.dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
}
.film-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: .04; mix-blend-mode: overlay;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .55; }

/* --------------------------------------------------------------- Home hero */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero .display { margin: 22px 0 24px; }
.hero-cta { margin-top: 34px; }
.hero-proof { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-proof .stat .num { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* --------------------------------------------------------------- Guesty-style tabs (dashboard showcase) */
.showcase { position: relative; }
.tabs {
  display: inline-flex; gap: 4px; padding: 6px; border-radius: 16px; margin: 0 auto 40px;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); flex-wrap: wrap; justify-content: center;
}
.tabs.on-dark { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-dark); }
.tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 11px;
  font-size: .92rem; font-weight: 500; color: var(--slate); transition: all .3s var(--ease); position: relative;
}
.tab svg { width: 17px; height: 17px; }
.tab:hover { color: var(--ink); }
.tab.active { color: #fff; background: linear-gradient(180deg, var(--azure-500), var(--azure-600)); box-shadow: 0 8px 20px -8px var(--azure-glow); }
.tabs.on-dark .tab { color: var(--on-dark-muted); }
.tabs.on-dark .tab:hover { color: #fff; }
.tabs.on-dark .tab.active { color: #fff; }
.tab-panels { position: relative; }
.tab-panel { display: none; animation: fadeUp .5s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Dashboard mock frame */
.dash {
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  background: linear-gradient(180deg, #0c1730, #070d1c);
  box-shadow: 0 50px 100px -30px rgba(6,12,28,.6), inset 0 1px 1px rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
.dash-bar .dots { display: flex; gap: 7px; }
.dash-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.dash-bar .addr { font-family: var(--font-mono); font-size: .74rem; color: var(--on-dark-muted); margin-left: 10px; padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,.04); }
.dash-body { padding: clamp(18px, 3vw, 30px); display: grid; gap: 18px; }
.dash-tile { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 20px; }
.dash-tile .k { font-size: .78rem; color: var(--on-dark-muted); font-family: var(--font-mono); letter-spacing: .04em; }
.dash-tile .v { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; margin-top: 6px; }
.dash-tile .v .up { font-size: .5em; color: #34d399; font-family: var(--font-mono); margin-left: 6px; }
.spark { height: 46px; margin-top: 12px; display: block; width: 100%; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--azure-400), var(--azure-600)); opacity: .85; }

/* Before → after comparison rows (case study) */
.cmp-row { display: flex; align-items: center; padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-k { flex: 1; color: var(--on-dark-muted); font-size: .92rem; }
.cmp-before { font-family: var(--font-mono); color: #7686a0; font-size: .95rem; width: 54px; text-align: right; }
.cmp-arrow { color: var(--azure-300); margin: 0 14px; }
.cmp-after { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.2rem; width: 62px; text-align: right; }

/* FAQ (shared) — accordion a menu a tendina */
.faq-list { display: flex; flex-direction: column; }
.faq { border-bottom: 1px solid var(--line); }
.faq > summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 0; padding-right: 40px;
  font-family: var(--font-display); font-size: 1.08rem; color: var(--ink);
  letter-spacing: -.01em; font-weight: 600;
  transition: color .18s ease;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary:hover { color: var(--azure-300, #2F7DF6); }
.faq > summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .22s ease; opacity: .55;
}
.faq[open] > summary::after { transform: rotate(-135deg); }
.faq[open] > summary { color: var(--azure-300, #2F7DF6); }
.faq .faq-a { padding: 0 40px 22px 0; }
.faq .faq-a p { font-size: .94rem; color: var(--ink-2); line-height: 1.6; margin: 0; }
.faq h3, .faq h4 { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); margin-bottom: 7px; letter-spacing: -.01em; }
.faq p { font-size: .94rem; color: var(--ink-2); line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
  .faq[open] .faq-a { animation: faqReveal .28s ease both; }
}
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- Phase timeline */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.phase {
  position: relative; background: var(--paper-2); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.phase .step { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--font-mono); font-weight: 600; color: #fff; background: linear-gradient(160deg, var(--azure-500), var(--azure-700)); box-shadow: 0 8px 18px -8px var(--azure-glow); }
.phase .when { font-family: var(--font-mono); font-size: .74rem; color: var(--slate); letter-spacing: .06em; text-transform: uppercase; margin-top: 18px; }
.phase h3 { margin: 6px 0 10px; }
.phase .result { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .92rem; }
.phase .result b { color: var(--azure-700); font-family: var(--font-display); }

/* --------------------------------------------------------------- "Powers" list (Cloudbeds-style) */
.powers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.power { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.power .pi { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(47,125,246,.12), rgba(79,176,255,.04)); box-shadow: inset 0 0 0 1px rgba(47,125,246,.16); color: var(--azure-600); }
.power .pi svg { width: 22px; height: 22px; }
.power h4 { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.power p { font-size: .92rem; color: var(--ink-2); }

/* --------------------------------------------------------------- Composability diagram */
.compose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compose .node { text-align: center; padding: 26px 20px; border-radius: var(--radius-lg); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); position: relative; }
.compose .node .ni { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; }
.compose .node.wa .ni { background: linear-gradient(160deg, #1f6fe5, #14264d); }
.compose .node.web .ni { background: linear-gradient(160deg, #2f7df6, #1657c8); }
.compose .node.os .ni { background: linear-gradient(160deg, var(--navy-blue), var(--navy-850)); }

/* --------------------------------------------------------------- Quote / case */
.quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.32; letter-spacing: -.02em; color: var(--ink); }
.bg-deep .quote, .bg-dark .quote { color: #fff; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); }
.rating .score { font-size: 1.5rem; font-weight: 700; color: var(--azure-600); }
.bg-deep .rating .score { color: var(--azure-300); }

/* --------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(44px, 6vw, 80px);
  background: linear-gradient(150deg, var(--navy-blue) 0%, var(--navy-850) 55%, var(--navy-950) 100%);
  box-shadow: 0 40px 90px -40px rgba(6,12,28,.7);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 70px 0 34px; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid h5 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 16px; font-weight: 500; }
.footer-grid a { display: block; padding: 6px 0; color: #c4d2ea; font-size: .94rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .84rem; flex-wrap: wrap; gap: 12px; }
.footnote { font-size: .78rem; color: #6c7d9c; }

/* ==========================================================================
   iPHONE + WHATSAPP (brand-recolored) — cinematic hero
   Adapted skeuomorphic materials from the provided component.
   ========================================================================== */
.wa-hero { position: relative; overflow: hidden; }
.text-silver {
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transform: translateZ(0);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}
.iphone-stage { position: relative; display: flex; align-items: center; justify-content: center; perspective: 1400px; }
.iphone {
  position: relative; width: 300px; height: 610px; border-radius: 3.2rem;
  background-color: #0a0f1c;
  box-shadow:
    inset 0 0 0 2px #39435c, inset 0 0 0 7px #05070d,
    0 50px 90px -18px rgba(0,0,0,.75), 0 18px 30px -8px rgba(0,0,0,.6);
  transform-style: preserve-3d; will-change: transform;
}
.iphone .hw { position: absolute; background: linear-gradient(90deg, #404a63 0%, #131a2b 100%); box-shadow: -2px 0 5px rgba(0,0,0,.8), inset -1px 0 1px rgba(255,255,255,.15), inset 1px 0 2px rgba(0,0,0,.8); }
.iphone .hw.l1 { top: 128px; left: -3px; width: 3px; height: 26px; border-radius: 3px 0 0 3px; }
.iphone .hw.l2 { top: 170px; left: -3px; width: 3px; height: 48px; border-radius: 3px 0 0 3px; }
.iphone .hw.l3 { top: 232px; left: -3px; width: 3px; height: 48px; border-radius: 3px 0 0 3px; }
.iphone .hw.r1 { top: 180px; right: -3px; width: 3px; height: 74px; border-radius: 0 3px 3px 0; }
.iphone-screen {
  position: absolute; inset: 7px; border-radius: 2.7rem; overflow: hidden;
  background: linear-gradient(180deg, #071022, #050914);
  box-shadow: inset 0 0 15px rgba(0,0,0,1);
}
.screen-glare { position: absolute; inset: 0; z-index: 40; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 42%); }
.dyn-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; background: #000; border-radius: 999px; z-index: 50; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; box-shadow: inset 0 -1px 2px rgba(255,255,255,.1); }
.dyn-island .cam { width: 7px; height: 7px; border-radius: 50%; background: #16233d; box-shadow: inset 0 0 3px rgba(120,170,255,.5); }

/* WhatsApp chat UI (Homeflow brand colours, not green) */
.wa-app { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: 44px; }
.wa-top {
  display: flex; align-items: center; gap: 11px; padding: 8px 16px 12px;
  background: linear-gradient(180deg, var(--navy-blue), var(--navy-700));
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.6);
}
.wa-top .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(160deg, var(--azure-400), var(--azure-700)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .9rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.wa-top .who { flex: 1; }
.wa-top .who b { color: #fff; font-size: .9rem; font-weight: 600; display: block; }
.wa-top .who span { color: #7fe3b0; font-size: .68rem; display: flex; align-items: center; gap: 5px; }
.wa-top .who span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.wa-top .ic { color: rgba(255,255,255,.75); }
.wa-top .ic svg { width: 18px; height: 18px; }
.wa-body {
  flex: 1; overflow: hidden; padding: 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px;
  background:
    radial-gradient(120px 120px at 85% 12%, rgba(47,125,246,.10), transparent 60%),
    linear-gradient(180deg, #071022 0%, #060c18 100%);
  position: relative;
}
.wa-day { align-self: center; font-size: .62rem; color: var(--on-dark-muted); background: rgba(255,255,255,.05); padding: 3px 11px; border-radius: 8px; margin-bottom: 4px; }
.bubble { max-width: 78%; padding: 9px 12px; border-radius: 15px; font-size: .8rem; line-height: 1.4; position: relative; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.bubble .t { display: block; font-size: .56rem; margin-top: 4px; text-align: right; opacity: .7; font-family: var(--font-mono); }
.bubble.in { align-self: flex-start; background: #16233d; color: #e7eefb; border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: linear-gradient(160deg, var(--azure-500), var(--azure-600)); color: #fff; border-bottom-right-radius: 5px; }
.bubble.out .t { color: rgba(255,255,255,.8); }
.bubble.card-msg { padding: 0; overflow: hidden; background: #16233d; width: 78%; }
.bubble.card-msg .ph { height: 78px; background: linear-gradient(140deg, var(--navy-blue), var(--azure-700)); position: relative; }
.bubble.card-msg .ph::after { content: "🌊"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; opacity: .5; }
.bubble.card-msg .cc { padding: 10px 12px; }
.bubble.card-msg .cc b { color: #fff; font-size: .8rem; display: block; }
.bubble.card-msg .cc .price { color: var(--azure-300); font-family: var(--font-mono); font-size: .74rem; margin-top: 3px; }
.bubble.card-msg .cc .go { margin-top: 9px; text-align: center; padding: 8px; border-radius: 9px; background: rgba(47,125,246,.18); color: var(--azure-300); font-size: .72rem; font-weight: 600; }
.typing { align-self: flex-start; background: #16233d; padding: 11px 14px; border-radius: 15px; border-bottom-left-radius: 5px; display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--azure-300); animation: typing 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-input { display: flex; align-items: center; gap: 9px; padding: 10px 12px 16px; background: #0a1120; }
.wa-input .box { flex: 1; height: 34px; border-radius: 999px; background: #16233d; display: flex; align-items: center; padding: 0 14px; color: var(--on-dark-muted); font-size: .74rem; }
.wa-input .send { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(160deg, var(--azure-400), var(--azure-600)); display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 6px 14px -6px var(--azure-glow); }
.wa-input .send svg { width: 16px; height: 16px; }

/* Floating glass badges around the phone */
.float-badge {
  position: absolute; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 100%);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 25px 50px -12px rgba(0,0,0,.7), inset 0 1px 1px rgba(255,255,255,.2);
  will-change: transform;
}
.float-badge .fi { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; background: radial-gradient(circle at 30% 30%, rgba(79,176,255,.3), rgba(22,44,109,.1)); box-shadow: inset 0 0 0 1px rgba(79,176,255,.3); }
.float-badge b { color: #fff; font-size: .86rem; font-weight: 600; display: block; letter-spacing: -.01em; }
.float-badge span { color: var(--azure-300); font-size: .72rem; }
.float-badge.tl { top: 26px; left: -46px; }
.float-badge.br { bottom: 90px; right: -52px; }
.float-badge.ml { bottom: 210px; left: -70px; }

/* Light variant — readable on light sections (e.g. Home hero) */
.float-badge.light {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(13, 20, 40, .28), inset 0 1px 1px rgba(255, 255, 255, .9);
}
.float-badge.light b { color: var(--ink); }
.float-badge.light span { color: var(--azure-600); }
.float-badge.light .fi {
  background: linear-gradient(160deg, rgba(47, 125, 246, .16), rgba(79, 176, 255, .04));
  box-shadow: inset 0 0 0 1px rgba(47, 125, 246, .2);
}

/* --------------------------------------------------------------- Reveal (GSAP-driven, CSS fallback) */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ==========================================================================
   WOW TEXT EFFECTS
   ========================================================================== */
/* Word-split reveal (blur + rise, staggered) */
.fx-words { }
.fx-words .w { display: inline-block; white-space: pre; will-change: transform, filter, opacity; }
.no-js .fx-words .w { opacity: 1 !important; filter: none !important; transform: none !important; }

/* Rotating word ("comparsa / scomparsa") */
.word-rot { display: inline-block; position: relative; }
.word-rot .rot-item { display: inline-block; }
.word-rot .rot-cursor { display: inline-block; width: 3px; height: 1em; margin-left: 2px; vertical-align: -.12em;
  background: currentColor; opacity: .55; animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Char shimmer on hover (for links/eyebrows, subtle) */
.shine { position: relative; background: linear-gradient(100deg, currentColor 40%, #fff 50%, currentColor 60%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; }

/* ==========================================================================
   BRAIN VIEW — animated capability graph (client-safe framing)
   ========================================================================== */
.brainview-wrap { position: relative; width: 100%; }
.brainview { width: 100%; height: auto; overflow: visible; display: block; }
.brainview g.bv-node { transform-box: fill-box; transform-origin: center; }
.bv-edge { fill: none; stroke: rgba(120, 170, 255, .16); stroke-width: 1.4; }
.bv-flow { fill: none; stroke: #4FB0FF; stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 3 217; opacity: .95; filter: drop-shadow(0 0 5px rgba(79, 176, 255, .8));
  animation: bvflow 3.6s linear infinite; }
@keyframes bvflow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -220; } }
.bv-c { stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.bv-c-cap { fill: url(#bvCap); }
.bv-c-out { fill: url(#bvOut); }
.bv-c-center { fill: url(#bvCenter); filter: drop-shadow(0 8px 24px rgba(47, 125, 246, .55)); }
.bv-ring { fill: none; stroke: rgba(79, 176, 255, .55); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center; animation: bvpulse 3s ease-out infinite; }
.bv-ring.r2 { animation-delay: 1.5s; }
@keyframes bvpulse { 0% { transform: scale(.55); opacity: .7; } 100% { transform: scale(2); opacity: 0; } }
.bv-emoji { font-size: 26px; text-anchor: middle; dominant-baseline: central; }
.bv-emoji.sm { font-size: 20px; }
.bv-label { fill: #EAF1FF; font-family: var(--font-sans); font-weight: 600; font-size: 19px; text-anchor: middle; }
.bv-label.sm { fill: #B9C8E6; font-size: 15px; font-weight: 500; }
.bv-center-name { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 30px; text-anchor: middle; letter-spacing: 1px; }
.bv-center-sub { fill: #BCD3F5; font-family: var(--font-mono); font-size: 12px; text-anchor: middle; letter-spacing: 1.5px; text-transform: uppercase; }
.bv-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.bv-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--on-dark-muted); }
.bv-legend i { width: 11px; height: 11px; border-radius: 3px; }

/* ==========================================================================
   SIMULATOR
   ========================================================================== */
.sim-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: start; }
.sim-panel { background: var(--paper-2); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); padding: 30px 32px; }
.sim-field { margin-bottom: 24px; }
.sim-field:last-child { margin-bottom: 0; }
.sim-field .sim-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sim-field label { font-weight: 600; color: var(--ink); font-size: .96rem; }
.sim-field .sim-val { font-family: var(--font-mono); font-weight: 500; color: var(--azure-700); font-size: 1.05rem; background: rgba(47,125,246,.08); padding: 3px 11px; border-radius: 8px; }
.sim-field .sim-help { font-size: .8rem; color: var(--slate); margin-top: 8px; }
input[type="range"].sim-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--azure-500) 0%, var(--azure-500) var(--fill, 50%), var(--paper-3) var(--fill, 50%), var(--paper-3) 100%);
  box-shadow: inset 0 0 0 1px var(--line); outline: none; cursor: pointer; }
input[type="range"].sim-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px -2px rgba(13,20,40,.35), inset 0 0 0 5px var(--azure-500); cursor: grab; transition: transform .15s; }
input[type="range"].sim-range::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
input[type="range"].sim-range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), inset 0 0 0 5px var(--azure-500); cursor: grab; }
.sim-toggle { display: inline-flex; gap: 6px; padding: 5px; border-radius: 12px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); }
.sim-toggle button { padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--slate); }
.sim-toggle button.on { background: #fff; color: var(--azure-700); box-shadow: var(--shadow-sm); }
.sim-out { background: linear-gradient(160deg, var(--navy-blue), var(--navy-850)); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 30px 70px -30px rgba(6,12,28,.7); position: relative; overflow: hidden; }
.sim-out .bg-grid { opacity: .5; }
.sim-out .big { font-family: var(--font-display); font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1; }
.sim-out .big .cur { font-size: .5em; color: var(--azure-300); }
.sim-delta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 500; color: #34d399; background: rgba(52,211,153,.12); padding: 6px 12px; border-radius: 9px; font-size: .9rem; }
.sim-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.sim-row:last-child { border-bottom: 0; }
.sim-row .k { color: var(--on-dark-muted); font-size: .92rem; }
.sim-row .v { font-family: var(--font-mono); color: #fff; font-weight: 500; }
.sim-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 6px; }
.sim-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--azure-400), var(--azure-600)); transition: width .6s var(--ease); }

/* --------------------------------------------------------------- Misc */
.divider { height: 1px; background: var(--line); border: 0; }
.kicker-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; opacity: .6; }
.logo-row span { font-family: var(--font-display); font-weight: 600; color: var(--slate); font-size: 1.05rem; letter-spacing: -.01em; }
.note-inline { font-size: .8rem; color: var(--slate); font-style: italic; }
.tag-secondary { display:inline-block; font-family:var(--font-mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--slate); }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .powers { grid-template-columns: 1fr; }
  .float-badge.tl { left: -20px; } .float-badge.br { right: -20px; } .float-badge.ml { left: -24px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .g-3, .g-4, .phases, .compose { grid-template-columns: 1fr; }
  .g-2 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .iphone { transform: scale(.9); }
  .float-badge.ml { display: none; }
}
/* ==========================================================================
   MOBILE — phones (≤ 767px). Tablet/desktop untouched.
   ========================================================================== */
@media (max-width: 767px) {
  /* KILL horizontal overflow: decorative orbs are wider than the phone
     and were inflating the layout viewport (content cut off). */
  html, body { overflow-x: hidden; max-width: 100%; }
  .glow-orb { display: none !important; }
  .section, .section-sm, .hero, .wa-hero { overflow: hidden; }

  /* decorative floating badges overflow narrow screens → hide */
  .float-badge { display: none !important; }

  /* collapse every layout grid to a single, ordered column */
  .grid, .hero-grid, .sim-wrap, .dash-body,
  .powers, .phases, .compose { grid-template-columns: 1fr !important; }

  /* …but keep the compact tile grids INSIDE the dashboard mockups (2×2) */
  .dash .grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* proof stats stay a tidy 2×2 */
  #caso .grid.g-2 { grid-template-columns: repeat(2, 1fr) !important; }
  /* footer links: two tidy columns */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 26px 18px; }

  /* full-width, centered cards/dashboards (drop desktop offsets) */
  .dash { max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }

  /* iPhone centered + scaled to fit */
  .iphone-stage { min-height: 540px !important; }
  .iphone { transform: scale(.86); }

  /* hero CTAs stacked full-width */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  /* Guesty tabs: horizontal scroll instead of messy wrapping */
  .tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }

  /* type + rhythm */
  .display { font-size: clamp(2rem, 8.6vw, 2.55rem) !important; letter-spacing: -.03em; }
  .h1 { font-size: clamp(1.75rem, 7vw, 2.15rem) !important; }
  .h2 { font-size: clamp(1.5rem, 6.2vw, 1.95rem) !important; }
  .lead { font-size: 1.02rem !important; }
  .section { padding: 54px 0 !important; }
  .section-sm { padding: 38px 0 !important; }
  .hero { padding: 100px 0 32px !important; }
  .cta-band { padding: 30px 22px !important; }
  .container, .container-wide { width: min(100% - 34px, 100%); }
  .card { padding: 24px; }
  .svc { padding: 26px 22px; }
  .hero-proof { gap: 20px 24px; }
  .bv-legend { gap: 14px; }

  /* ---- SLIM: less text, easier to scan on mobile ---- */
  .hide-sm { display: none !important; }
  .note-inline { display: none !important; }        /* fine print / disclaimers */
  .hero .logo-row { display: none !important; }      /* decorative brand strip */
  .power p { display: none; }                         /* powers → icon + title only */
  .lead { font-size: .98rem !important; line-height: 1.5 !important; }
  .svc p, .card p, .phase p { line-height: 1.45; }
  .svc p { font-size: .92rem; }
  .eyebrow { font-size: .68rem; }
}

@media (max-width: 400px) {
  .iphone { transform: scale(.76); }
  .hero-proof .stat .num { font-size: 1.5rem; }
  #caso .grid.g-2 { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
