/* ============================================================
   doktia · landing · Resend-style (white, minimal, spacious)
   Crisp hairlines, generous whitespace, soft teal hero glow.
   Brand: teal = accent/links/data only. Titles stay ink. Primary CTA = ink.
   ============================================================ */
:root {
  /* Ink scale (light) */
  --ink: #0A0A0A;
  --ink-soft: #171717;
  --gray: #525252;
  --gray-soft: #737373;
  --faint: #A3A3A3;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --line: #EAEAEA;
  --line-2: #E0E0E0;

  /* Accent (teal médico) */
  --accent: #0D9488;
  --accent-hover: #0F766E;
  --accent-soft: #F0FDFA;
  --accent-ink: #134E4A;
  --accent-line: #99F6E4;

  /* Type */
  --sans: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radii (crisp, not pill-soft) */
  --r-sm: 10px; --r: 14px; --r-lg: 18px; --r-xl: 24px; --r-pill: 999px;

  /* Shadows (subtle, Resend-soft) */
  --shadow-xs: 0 1px 2px rgba(10,10,10,.04);
  --shadow: 0 1px 2px rgba(10,10,10,.04), 0 4px 12px rgba(10,10,10,.05);
  --shadow-lg: 0 2px 4px rgba(10,10,10,.04), 0 12px 32px rgba(10,10,10,.08);

  --ring: 0 0 0 3px rgba(13,148,136,.32);
  --t: 200ms cubic-bezier(.2,.6,.3,1);
  --t-slow: 480ms cubic-bezier(.2,.6,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; transition: top var(--t); }
.skip-link:focus { top: 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ============================================================
   AMBIENT · soft teal hero glow + faint grid (Resend signature)
   ============================================================ */
.bg-aura { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: var(--bg); }
.bg-aura span { position: absolute; border-radius: 50%; }
.bg-aura .b1 {
  width: 60vw; height: 42vw; min-width: 640px; top: -20vw; left: 50%; transform: translateX(-50%); filter: blur(80px);
  background: radial-gradient(circle at 50% 50%, rgba(45,212,191,.22), rgba(13,148,136,.08) 45%, transparent 70%);
}
.bg-aura .b2, .bg-aura .b3, .bg-aura .b4, .bg-aura .b5 { display: none; }
.bg-grid { display: none; }
.bg-grain { display: none; }

/* ---------- shared bits ---------- */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--gray); display: inline-flex; align-items: center; gap: 8px; }
.kicker .n { color: var(--accent); }
.kicker.chip { background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); padding: 7px 14px; border-radius: var(--r-pill); color: var(--ink-soft); font-weight: 500; }
.kicker.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,.16); animation: pulse 2s infinite; }

.wm { font-size: 22px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; display: inline-flex; align-items: flex-start; }
.wm sup { font-size: .42em; font-weight: 600; margin-left: 1px; top: -.1em; }

.em { font-style: normal; color: var(--ink); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(13,148,136,.16); } 50% { box-shadow: 0 0 0 6px rgba(13,148,136,0); } }

/* ---------- buttons ---------- */
.btn { height: 46px; padding: 0 22px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background var(--t), color var(--t), box-shadow var(--t), border-color var(--t), transform var(--t); white-space: nowrap; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { flex: 0 0 auto; transition: transform var(--t); }
.btn-pri:hover svg { transform: translateX(2px); }
.btn-pri { background: var(--ink); color: #fff; box-shadow: var(--shadow-xs); }
.btn-pri:hover { background: #000; box-shadow: var(--shadow); }
.btn-pri:active { transform: translateY(1px); }
.btn-gho { background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-xs); }
.btn-gho:hover { border-color: var(--ink); }

/* ============================================================
   NAVBAR · clean bar with hairline, blurs on scroll
   ============================================================ */
.navwrap { position: sticky; top: 0; z-index: 100; transition: all var(--t); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 6px 0 4px; transition: all var(--t); }
.navwrap.scrolled { background: rgba(255,255,255,.8); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a { font-size: 14.5px; font-weight: 500; color: var(--gray); transition: color var(--t); }
.nav-links > a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--gray-soft); display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: var(--r-sm); transition: color var(--t), background var(--t); }
.lang-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.lang-toggle .lang-on { color: var(--ink); font-weight: 600; }
.lang-toggle .lang-off, .lang-toggle .lang-sep { color: var(--faint); }
.nav-toggle { display: none; color: var(--ink); padding: 8px; border-radius: var(--r-sm); transition: background var(--t); }
.nav-toggle:hover { background: var(--bg-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 92px 0 40px; text-align: center; }
.hero .kicker { margin-bottom: 26px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); font-weight: 600; letter-spacing: -.045em; line-height: 1.0; max-width: 15ch; margin: 0 auto; color: var(--ink); }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: var(--gray); max-width: 54ch; margin: 26px auto 0; line-height: 1.55; }
.actions { display: flex; gap: 12px; margin-top: 34px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trustrow { display: flex; gap: 26px; margin-top: 34px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trustrow li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--gray); }
.trustrow svg { color: var(--accent); }

/* ---- product mockup (functional, light & crisp) ---- */
.showcase { position: relative; margin: 64px auto 0; max-width: 1000px; padding: 0 28px; }
.showcase .glow { position: absolute; inset: -10% 8% auto 8%; height: 60%; z-index: 0; border-radius: 50%; background: radial-gradient(60% 100% at 50% 0%, rgba(45,212,191,.16), transparent 70%); filter: blur(40px); pointer-events: none; }
.app { position: relative; z-index: 1; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.app-dots { display: flex; gap: 7px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: var(--line-2); }
.app-url { font-family: var(--mono); font-size: 12px; color: var(--gray-soft); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 5px 14px; display: inline-flex; align-items: center; gap: 7px; margin: 0 auto; }
.app-url svg { color: var(--accent); }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 420px; }
.app-side { padding: 20px 14px; border-right: 1px solid var(--line); background: var(--bg-soft); }
.app-side .brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.03em; font-size: 16px; margin-bottom: 20px; color: var(--ink); }
.app-side .brand .mk { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; color: #fff; }
.app-nav { display: grid; gap: 2px; }
.app-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--gray); }
.app-nav a svg { width: 16px; height: 16px; }
.app-nav a.on { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-xs); border: 1px solid var(--line); }
.app-nav a.on svg { color: var(--accent); }
.app-side .mini-card { margin-top: 20px; padding: 13px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); }
.app-side .mini-card .t { font-size: 12px; color: var(--gray-soft); }
.app-side .mini-card .v { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin-top: 3px; color: var(--ink); font-variant-numeric: tabular-nums; }
.app-side .mini-card .v b { color: var(--accent); }
.app-side .mini-card .track { height: 5px; border-radius: 999px; background: var(--line); margin-top: 9px; overflow: hidden; }
.app-side .mini-card .track i { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width 1.1s cubic-bezier(.2,.6,.3,1); }
.app-main { padding: 20px 22px; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app-head .h { font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.app-head .sub { font-size: 12px; color: var(--gray-soft); margin-top: 2px; }
.app-head .pill { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 11px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 7px; }
.app-head .pill .live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
.agenda { display: grid; gap: 9px; }
.appt { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; transition: background var(--t), border-color var(--t); }
.appt::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--accent); opacity:.55; }
.appt.flash { background: var(--accent-soft); border-color: var(--accent-line); }
.appt .time { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.appt .who { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.appt .svc { font-size: 12px; color: var(--gray-soft); margin-top: 2px; }
.appt .tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; transition: all var(--t); }
.tag-ok { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-line); }
.tag-wait { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.tag-new { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.appt .av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color:#fff; display:grid; place-items:center; font-size:12px; font-weight:700; }
.appt .who-wrap { min-width: 0; }
.toast { position: absolute; right: 20px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-radius: 13px; background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .45s, transform .45s; }
.toast.show { opacity: 1; transform: none; }
.toast .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display:grid; place-items:center; border: 1px solid var(--accent-line); }
.toast .tt { font-size: 13px; font-weight: 600; color: var(--ink); }
.toast .td { font-size: 11px; color: var(--gray-soft); margin-top: 1px; }
.phone { display: none; }

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.logos { padding: 64px 0 8px; text-align: center; }
.logos .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--gray-soft); margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--faint); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   STAT BAND
   ============================================================ */
.stats-wrap { padding: 56px 0 24px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); overflow: hidden; }
.stats .cell { padding: 36px 24px; text-align: center; border-right: 1px solid var(--line); }
.stats .cell:last-child { border-right: 0; }
.stats .num { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stats .num small { color: var(--accent); font-size: .55em; font-weight: 600; }
.stats .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--gray-soft); margin-top: 8px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: 104px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .kicker { margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; max-width: 20ch; margin: 0 auto; color: var(--ink); }
.sec-lead { font-size: 17px; color: var(--gray); margin: 16px auto 0; max-width: 52ch; line-height: 1.55; }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-rows: 1fr; }
.feat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); padding: 28px; position: relative; overflow: hidden; transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.feat:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.feat .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom: 18px; border: 1px solid var(--accent-line); }
.feat .fn { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.feat h3 { font-size: 19px; font-weight: 600; margin: 9px 0 7px; letter-spacing: -.02em; color: var(--ink); }
.feat p { font-size: 14.5px; color: var(--gray); line-height: 1.6; max-width: 46ch; }
.feat.wide { grid-column: span 3; }
.feat.std  { grid-column: span 2; }
.feat .preview { margin-top: 20px; display: grid; gap: 8px; }
.feat .pv-row { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:9px; background: var(--bg-soft); border:1px solid var(--line); }
.feat .pv-row .d { width: 7px; height: 7px; border-radius:50%; background: var(--accent); flex:0 0 auto; }
.feat .pv-row .t { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.feat .pv-row .n { font-size: 12px; color: var(--gray-soft); margin-left:auto; }
.feat .bars { display:flex; align-items:flex-end; gap:8px; height:76px; margin-top:20px; }
.feat .bars span { flex:1; border-radius:5px 5px 0 0; background: var(--accent); opacity:.85; height: 8%; transition: height .9s cubic-bezier(.2,.6,.3,1); }
.feat.in .bars span { height: var(--h); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 30px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--t), transform var(--t); }
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step-n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); display:flex; align-items:center; justify-content:center; margin-bottom: 18px; border: 1px solid var(--accent-line); }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 7px; letter-spacing: -.02em; color: var(--ink); }
.step p { font-size: 14.5px; color: var(--gray); line-height: 1.6; }

/* ============================================================
   SECURITY BAND (soft off-white card)
   ============================================================ */
.band-wrap { padding: 24px 0 104px; }
.band { background: var(--bg-soft); color: var(--ink); padding: 60px 52px; border-radius: var(--r-xl); border: 1px solid var(--line); position: relative; overflow: hidden; }
.band::before { content:""; position:absolute; inset:auto -8% -50% 40%; width:480px; height:480px; background: radial-gradient(circle, rgba(45,212,191,.1), transparent 64%); filter: blur(20px); pointer-events:none; }
.band > * { position: relative; }
.band .kicker { color: var(--gray); }
.band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; max-width: 20ch; margin: 18px 0 10px; color: var(--ink); }
.band-lead { color: var(--gray); font-size: 17px; max-width: 50ch; line-height: 1.55; }
.band-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.bc { padding: 22px 20px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: border-color var(--t), transform var(--t); }
.bc:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.bc-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom: 14px; border: 1px solid var(--accent-line); }
.bc-t { font-size: 15px; font-weight: 600; color: var(--ink); }
.bc-d { font-size: 13px; color: var(--gray); margin-top: 7px; line-height: 1.5; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.plan:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.plan-hot { border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color:#fff; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 6px 13px; border-radius: var(--r-pill); white-space: nowrap; }
.plan-name { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; flex-wrap: wrap; }
.plan-price .from { font-size: 13px; color: var(--gray-soft); }
.plan-price .amount { font-size: 46px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; color: var(--ink); }
.plan-price .amount small { font-size: .5em; color: var(--accent); font-weight: 600; }
.plan-price .per { font-size: 14px; color: var(--gray-soft); }
.plan-note { font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 22px; }
.plan-list { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-sec { padding: 0 0 104px; }
.cta-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 84px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content:""; position:absolute; inset:-50% 0 auto 0; height:340px; background: radial-gradient(50% 100% at 50% 0%, rgba(45,212,191,.14), transparent 70%); pointer-events:none; }
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; margin-top: 16px; color: var(--ink); }
.cta-card p { color: var(--gray); font-size: 17px; margin: 16px auto 32px; max-width: 50ch; line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 60px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand { max-width: 300px; }
.footer-tag { font-size: 14px; color: var(--gray); margin-top: 12px; line-height: 1.5; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-h { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--gray-soft); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--gray); transition: color var(--t); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.powered img { height: 22px; width: auto; opacity: .8; }
.ep-credit { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: var(--gray-soft); }
.ep-credit img { height: 15px; width: auto; opacity: .7; transition: opacity var(--t); }
.ep-credit:hover img { opacity: 1; }
.footer-legal { font-size: 13px; color: var(--gray-soft); }
.footer-legal sup { font-size: .6em; vertical-align: super; }

/* ============================================================
   AUTHENTIC AGENDA MOCKUP (faked data, real product look)
   ============================================================ */
/* richer top bar to match the real backoffice */
.app-bar .bchips { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.app-bar .bchip { font-size: 11px; color: var(--gray); display: inline-flex; align-items: center; gap: 6px; }
.app-bar .bchip b { color: var(--ink); font-weight: 600; }
.app-bar .bchip.warn b { color: #B45309; }
.app-bar .fichar { font-size: 11px; font-weight: 600; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 5px 11px; }
.app-bar .uav { width: 24px; height: 24px; border-radius: 50%; background: #134E4A; color:#fff; display:grid; place-items:center; font-size:10px; font-weight:700; }

/* sidebar groups */
.app-side .grp { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; margin: 16px 11px 7px; }
.app-side .grp:first-child { margin-top: 0; }
.app-nav a .badge { margin-left: auto; font-size: 10px; font-weight: 700; background: var(--accent-soft); color: var(--accent-ink); border:1px solid var(--accent-line); border-radius: 999px; padding: 1px 6px; }
.app-nav a.add { color: var(--accent); font-weight: 600; }

/* professional filter row */
.agenda-pros { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.agenda-pros i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; box-shadow: var(--shadow-xs); }
.agenda-pros .more { background: var(--bg); color: var(--gray); border: 1px solid var(--line); font-size: 11px; }

/* colored appointment blocks */
.appt[style*="--c"]::before { background: var(--c); opacity: 1; }
.appt.tint { background: color-mix(in srgb, var(--c) 7%, #fff); border-color: color-mix(in srgb, var(--c) 22%, var(--line)); }
.appt .av.cav { background: var(--c); }

/* ============================================================
   RESEND-STYLE ALTERNATING FEATURE ROWS
   ============================================================ */
.feature-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 110px; }
.feature-row.rev .fr-copy { order: 2; }
.feature-row.rev .fr-visual { order: 1; }
.fr-copy .kicker { margin-bottom: 16px; }
.fr-copy h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); }
.fr-copy p { font-size: 16px; color: var(--gray); line-height: 1.6; margin-top: 16px; max-width: 42ch; }
.fr-list { display: grid; gap: 12px; margin-top: 24px; }
.fr-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.fr-list li svg { position: absolute; left: 0; top: 2px; width: 17px; height: 17px; color: var(--accent); }
.fr-visual { position: relative; }
.fr-visual .frame { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.fr-visual .glow { position: absolute; inset: 10% -6% -10% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(50% 60% at 50% 50%, rgba(45,212,191,.16), transparent 70%); filter: blur(50px); }

/* invoice mockup */
.invoice { padding: 26px 26px 22px; }
.invoice .top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.invoice .top .wm { font-size: 18px; }
.invoice .top .meta { text-align: right; font-size: 12px; color: var(--gray-soft); line-height: 1.5; }
.invoice .top .meta b { color: var(--ink); font-weight: 600; display: block; font-size: 13px; }
.invoice .to { padding: 16px 0; font-size: 13px; color: var(--gray); }
.invoice .to b { color: var(--ink); display: block; font-weight: 600; margin-bottom: 2px; }
.invoice .lines { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.invoice .il { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 12px 16px; font-size: 13px; align-items: center; }
.invoice .il + .il { border-top: 1px solid var(--line); }
.invoice .il .d { color: var(--ink-soft); font-weight: 500; }
.invoice .il .q { color: var(--gray-soft); font-variant-numeric: tabular-nums; }
.invoice .il .a { color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.invoice .il.head { background: var(--bg-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-soft); }
.invoice .sum { margin-top: 16px; margin-left: auto; width: 56%; display: grid; gap: 8px; }
.invoice .sum .r { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray); }
.invoice .sum .r.total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--ink); }
.invoice .sum .r.total .amt { font-variant-numeric: tabular-nums; }
.invoice .vf { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 11px; border-radius: var(--r-pill); }

/* ============================================================
   PATIENT APP (phone) SECTION
   ============================================================ */
.patient-sec { padding: 0 0 104px; }
.device { width: 300px; margin: 0 auto; position: relative; }
.device .frame { background: #0A0A0A; border-radius: 44px; padding: 11px; box-shadow: 0 40px 90px rgba(10,10,10,.22), 0 4px 12px rgba(10,10,10,.1); position: relative; }
.device .frame::before { content:""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #0A0A0A; border-radius: 999px; z-index: 3; }
.device .screen { background: var(--bg-soft); border-radius: 34px; overflow: hidden; height: 600px; display: flex; flex-direction: column; }
.device .stat { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.pa-head { padding: 8px 18px 14px; }
.pa-hi { font-size: 12px; color: var(--gray-soft); }
.pa-name { font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.pa-body { flex: 1; overflow: hidden; padding: 0 16px; display: grid; gap: 12px; align-content: start; }
.pa-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-xs); }
.pa-card .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.pa-card .lbl svg { width: 13px; height: 13px; color: var(--accent); }
.pa-next .when { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.pa-next .svc { font-size: 13px; color: var(--gray); margin-top: 2px; }
.pa-next .actions { display: flex; gap: 8px; margin-top: 12px; }
.pa-next .b { flex: 1; height: 34px; border-radius: 9px; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.pa-next .b.pri { background: var(--accent); color: #fff; }
.pa-next .b.gho { border: 1px solid var(--line-2); color: var(--ink); }
.rx { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.rx + .rx { border-top: 1px solid var(--line); }
.rx .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; border: 1px solid var(--accent-line); flex: 0 0 auto; }
.rx .t { min-width: 0; }
.rx .t .n { display: block; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx .t .d { display: block; font-size: 11px; color: var(--gray-soft); margin-top: 1px; }
.rx .dl { margin-left: auto; color: var(--gray); }
.pa-nav { display: flex; justify-content: space-around; padding: 12px 0 18px; border-top: 1px solid var(--line); background: var(--bg); }
.pa-nav a { display: grid; place-items: center; gap: 3px; font-size: 10px; color: var(--gray-soft); }
.pa-nav a svg { width: 19px; height: 19px; }
.pa-nav a.on { color: var(--accent); }
/* floating wa reminder over the phone */
.device .wa-pop { position: absolute; right: -52px; top: 44px; width: 226px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 13px; }
.device .wa-pop .h { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--gray); margin-bottom: 9px; }
.device .wa-pop .h .wd { width: 20px; height: 20px; border-radius: 6px; background: #25D366; display: grid; place-items: center; color: #fff; }
.device .wa-pop .b1 { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.device .wa-pop .b2 { font-size: 11px; color: var(--accent); font-weight: 600; margin-top: 6px; }

/* ============================================================
   AI NOTE MOCKUP
   ============================================================ */
.ai-note { padding: 22px; }
.ai-note .nh { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ai-note .nh .who { display: flex; align-items: center; gap: 10px; }
.ai-note .nh .av { width: 32px; height: 32px; border-radius: 50%; background: #7C3AED; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ai-note .nh .nm { font-size: 14px; font-weight: 600; color: var(--ink); }
.ai-note .nh .nm small { display: block; font-size: 11px; color: var(--gray-soft); font-weight: 400; }
.ai-note .badge-ai { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 10px; border-radius: var(--r-pill); }
.ai-note .rec { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ai-note .rec .wave { display: flex; align-items: center; gap: 3px; height: 20px; }
.ai-note .rec .wave i { width: 3px; border-radius: 3px; background: var(--accent); animation: wave 1.1s ease-in-out infinite; }
.ai-note .rec .wave i:nth-child(2){ animation-delay:.1s } .ai-note .rec .wave i:nth-child(3){ animation-delay:.2s } .ai-note .rec .wave i:nth-child(4){ animation-delay:.3s } .ai-note .rec .wave i:nth-child(5){ animation-delay:.4s } .ai-note .rec .wave i:nth-child(6){ animation-delay:.5s } .ai-note .rec .wave i:nth-child(7){ animation-delay:.15s } .ai-note .rec .wave i:nth-child(8){ animation-delay:.35s }
.ai-note .rec .txt { font-size: 12.5px; color: var(--gray); font-style: italic; }
@keyframes wave { 0%,100% { height: 5px; } 50% { height: 18px; } }
.ai-soap { display: grid; gap: 10px; margin-top: 14px; }
.ai-soap .row { display: grid; grid-template-columns: 26px 1fr; gap: 11px; align-items: start; }
.ai-soap .k { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent); width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; }
.ai-soap .v { font-size: 13px; color: var(--ink-soft); line-height: 1.5; padding-top: 3px; }
.ai-soap .v b { color: var(--ink); font-weight: 600; }

/* AI capability cards (everything the AI does) */
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.ai-intro { text-align: center; margin-top: 64px; }
.ai-intro h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.ai-intro p { font-size: 15px; color: var(--gray); margin-top: 8px; max-width: 50ch; margin-left: auto; margin-right: auto; }
.ai-card { padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--t), transform var(--t); }
.ai-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ai-card .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.ai-card h3 { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.ai-card p { font-size: 13px; color: var(--gray); line-height: 1.55; margin-top: 6px; }
.ai-note-foot { display: flex; align-items: center; gap: 9px; margin-top: 36px; justify-content: center; font-size: 13px; color: var(--gray-soft); flex-wrap: wrap; }
.ai-note-foot b { color: var(--ink-soft); font-weight: 600; }
.ai-note-foot .key { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 4px 10px; border-radius: var(--r-pill); }

/* ============================================================
   INTEGRATIONS GRID
   ============================================================ */
.integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.intg { display: flex; align-items: center; gap: 13px; padding: 18px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-xs); transition: border-color var(--t), transform var(--t); }
.intg:hover { border-color: var(--line-2); transform: translateY(-2px); }
.intg .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft); display: grid; place-items: center; flex: 0 0 auto; }
.intg .ic.teal { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.intg .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.intg .t small { display: block; font-size: 12px; color: var(--gray-soft); font-weight: 400; margin-top: 1px; }

/* ============================================================
   CAPABILITIES "TODO INCLUIDO" GRID
   ============================================================ */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 28px; }
.caps .cap { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.caps .cap svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-sec { padding: 96px 0; }
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote .mark { font-size: 17px; color: var(--accent); font-family: var(--mono); letter-spacing: .04em; margin-bottom: 22px; }
.quote blockquote { font-size: clamp(24px, 3.2vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
.quote blockquote b { color: var(--ink); background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.quote .by { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; }
.quote .by .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #134E4A); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.quote .by .who { text-align: left; }
.quote .by .who .n { font-size: 15px; font-weight: 600; color: var(--ink); }
.quote .by .who .r { font-size: 13px; color: var(--gray-soft); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: 0 0 auto; position: relative; transition: transform var(--t); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--gray); border-radius: 2px; }
.faq summary .pm::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq summary .pm::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: transform var(--t), opacity var(--t); }
.faq details[open] summary .pm::after { transform: scaleY(0); opacity: 0; }
.faq details[open] summary .pm { color: var(--accent); }
.faq details[open] summary { color: var(--accent-hover); }
.faq .ans { padding: 0 4px 24px; font-size: 15px; color: var(--gray); line-height: 1.6; max-width: 64ch; }

/* gradient hairline divider */
.hr-grad { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--accent-line) 50%, var(--line-2) 80%, transparent); margin: 0; }

/* reveal scale for visuals */
.reveal-zoom { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .6s cubic-bezier(.2,.6,.3,1), transform .6s cubic-bezier(.2,.6,.3,1); will-change: opacity, transform; }
.reveal-zoom.in { opacity: 1; transform: none; }

/* ============================================================
   MULTI-PAGE: inner page shell, pricing table, contact, legal
   ============================================================ */
/* active nav item */
.nav-links > a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* inner page hero */
.page-hero { position: relative; text-align: center; padding: 84px 0 56px; }
.page-hero .kicker { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; max-width: 18ch; margin: 0 auto; color: var(--ink); }
.page-hero p { font-size: clamp(16px, 1.6vw, 19px); color: var(--gray); max-width: 56ch; margin: 22px auto 0; line-height: 1.55; }
.page-hero .actions { margin-top: 30px; }

/* alt section background */
.sec.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* pricing comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--bg); }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.compare thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-soft); font-weight: 500; vertical-align: bottom; }
.compare thead th.plan-col { color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: -.01em; }
.compare thead th.hot { color: var(--accent-ink); }
.compare tbody td:first-child, .compare tbody th:first-child { color: var(--ink-soft); font-weight: 500; }
.compare td.c { text-align: center; }
.compare td .yes { color: var(--accent); }
.compare td .no { color: var(--faint); }
.compare tbody tr:hover { background: var(--bg-soft); }
.compare .grp td { background: var(--bg-soft); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-soft); }
.compare col.hot, .compare .colhot { background: rgba(13,148,136,.04); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.field .hint { font-size: 12px; color: var(--gray-soft); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray); line-height: 1.5; }
.form .consent input { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--accent); }
.form .form-ok { display: none; padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.form.sent .form-ok { display: block; }
.contact-aside { display: grid; gap: 14px; }
.contact-aside .card { padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.contact-aside .card .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 10px; }
.contact-aside .card a { color: var(--ink); font-weight: 600; font-size: 16px; }
.contact-aside .card p { font-size: 14px; color: var(--gray); line-height: 1.55; }
.contact-aside .card .row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.contact-aside .card .row + .row { margin-top: 10px; }
.contact-aside .card .row svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; }

/* legal prose */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--gray); line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 4px; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
.legal .upd { font-size: 13px; color: var(--gray-soft); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14px; }
.legal table th, .legal table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); color: var(--gray); }
.legal table th { background: var(--bg-soft); color: var(--ink-soft); font-weight: 600; font-size: 13px; }

/* ============================================================
   VERTICALS · "Hecho para tu especialidad"
   ============================================================ */
.verticals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vert { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--t), transform var(--t); }
.vert:hover { border-color: var(--line-2); transform: translateY(-2px); }
.vert .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); display: grid; place-items: center; flex: 0 0 auto; }
.vert .t { font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.vert .t small { display: block; font-size: 12.5px; font-weight: 400; color: var(--gray-soft); margin-top: 2px; }

/* ============================================================
   TESTIMONIALS GRID (3 cards + metric)
   ============================================================ */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tcard { display: flex; flex-direction: column; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.tcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.tcard .metric { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.tcard .metric small { font-size: .42em; font-weight: 600; color: var(--accent); letter-spacing: 0; }
.tcard .ml { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--gray-soft); margin-top: 8px; }
.tcard blockquote { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin: 18px 0 0; flex: 1; }
.tcard blockquote b { font-weight: 600; }
.tcard .by { display: flex; align-items: center; gap: 11px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.tcard .by .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #134E4A); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.tcard .by .n { font-size: 14px; font-weight: 600; color: var(--ink); }
.tcard .by .r { font-size: 12.5px; color: var(--gray-soft); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow), transform var(--t-slow); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 70ms; }
.reveal[data-d="2"] { transition-delay: 140ms; }
.reveal[data-d="3"] { transition-delay: 210ms; }
.reveal[data-d="4"] { transition-delay: 280ms; }
.reveal[data-d="5"] { transition-delay: 350ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.rev .fr-copy { order: 1; }
  .feature-row.rev .fr-visual { order: 2; }
  .feature-row + .feature-row { margin-top: 72px; }
  .device .wa-pop { right: -10px; }
  .feat.wide, .feat.std { grid-column: span 3; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .pricing .plan-hot { order: -1; grid-column: 1 / -1; }
  .band-row { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 50px 36px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links > a { padding: 12px 14px; border-radius: var(--r-sm); }
  .nav-links > a:hover { background: var(--bg-soft); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
  .lang-toggle { justify-content: center; padding: 12px; background: var(--bg-soft); }
  .nav-actions .btn { width: 100%; }
  .feat.wide, .feat.std { grid-column: auto; }
  .bento { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: repeat(2, 1fr); }
  .ai-cards { grid-template-columns: repeat(2, 1fr); }
  .caps { grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form .row2 { grid-template-columns: 1fr; }
  .verticals { grid-template-columns: 1fr; }
  .tcards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats .cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .stats .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .sec { padding: 76px 0; }
  .band-wrap { padding: 16px 0 76px; }
  .band { padding: 40px 24px; }
  .cta-card { padding: 60px 24px; }
  .btn { width: 100%; }
  .actions { flex-direction: column; align-items: stretch; }
  .trustrow { gap: 14px 20px; }
  .toast { right: 14px; bottom: 14px; padding: 10px 13px; }
}
@media (max-width: 560px) {
  .pricing, .band-row { grid-template-columns: 1fr; }
  .pricing .plan-hot { grid-column: auto; }
  .stats { grid-template-columns: 1fr; }
  .stats .cell { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stats .cell:last-child { border-bottom: 0; }
  .footer-cols { gap: 36px; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-zoom { opacity: 1; transform: none; }
  .feat:hover, .plan:hover, .bc:hover, .step:hover, .detail:hover, .seccard:hover, .crow:hover { transform: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   DETAIL PAGES (producto / precios / seguridad / contacto)
   Shared components, reuse the same tokens and visual language.
   ============================================================ */

/* page hero (compact, top of each detail page) */
.page-hero { position: relative; padding: 100px 0 24px; text-align: center; }
.page-hero .kicker { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; max-width: 18ch; margin: 0 auto; color: var(--ink); }
.page-hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--gray); max-width: 56ch; margin: 22px auto 0; line-height: 1.55; }
.page-hero .actions { margin-top: 30px; }

/* breadcrumb */
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; color: var(--gray-soft); display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--gray); transition: color var(--t); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--faint); }
.crumbs .cur { color: var(--ink-soft); }

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

/* ---- producto: deep feature sections ---- */
.detail-list { display: grid; gap: 18px; }
.detail { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px 30px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.detail:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.detail .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; border: 1px solid var(--accent-line); }
.detail .fn { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.detail h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.025em; margin: 8px 0 8px; color: var(--ink); }
.detail p { font-size: 15px; color: var(--gray); line-height: 1.6; max-width: 60ch; }
.detail .points { display: grid; gap: 11px; margin-top: 18px; }
.detail .points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.detail .points li svg { position: absolute; left: 0; top: 2px; width: 17px; height: 17px; color: var(--accent); }

/* ---- precios: comparison table ---- */
.cmp { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); overflow: hidden; background: var(--bg); }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp caption { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--gray-soft); text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.cmp th, .cmp td { padding: 15px 18px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { background: var(--bg-soft); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.cmp thead th .pn { display: block; font-size: 15px; }
.cmp thead th .pp { display: block; font-family: var(--mono); font-size: 11px; color: var(--accent-ink); margin-top: 3px; font-weight: 500; }
.cmp th[scope="row"], .cmp td.lbl { text-align: left; font-weight: 500; color: var(--ink-soft); }
.cmp tbody tr:hover td, .cmp tbody tr:hover th[scope="row"] { background: var(--bg-soft); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .col-hot { background: var(--accent-soft); }
.cmp thead th.col-hot { border-bottom: 1px solid var(--accent-line); }
.cmp .yes { color: var(--accent); display: inline-flex; }
.cmp .no { color: var(--faint); display: inline-flex; }
.cmp .no svg { width: 16px; height: 16px; }
.cmp .val { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-weight: 500; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* competitor comparison extras */
.cmp .paid { font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; color: #B45309; background: #FFFBEB; border: 1px solid #FDE68A; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.cmp .x { color: var(--faint); display: inline-flex; }
.cmp .x svg { width: 16px; height: 16px; }
.cmp thead th.col-you { background: var(--accent); border-bottom: 1px solid var(--accent); }
.cmp thead th.col-you .pn { color: #fff; }
.cmp thead th.col-you .pp { color: rgba(255,255,255,.85); }
.cmp .col-you { background: var(--accent-soft); }
.cmp td.col-you .yes { color: var(--accent-hover); }
/* "included" banner above pricing */
.incl-banner { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 30px; max-width: 640px; padding: 12px 18px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-pill); color: var(--accent-ink); font-size: 14px; font-weight: 500; text-align: center; }
.incl-banner svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; }
.incl-banner b { font-weight: 700; }
/* Enterprise band (4th tier, custom pricing) · light to match the site */
.ent { display: grid; grid-template-columns: 1.5fr .8fr; gap: 44px; align-items: center; background: var(--bg); border: 1px solid var(--accent-line); border-radius: var(--r-xl); padding: 40px 44px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ent::before { content: ""; position: absolute; inset: -50% -15% auto 45%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(45,212,191,.13), transparent 70%); filter: blur(30px); pointer-events: none; }
.ent > * { position: relative; }
.ent .kicker { color: var(--gray); }
.ent .kicker .n { color: var(--accent); }
.ent h3 { font-size: clamp(23px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); margin-top: 14px; }
.ent p { color: var(--gray); font-size: 15px; line-height: 1.6; margin-top: 12px; max-width: 48ch; }
.ent-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ent-feats li { font-size: 12.5px; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }
.ent-r { text-align: center; padding-left: 44px; border-left: 1px solid var(--line); }
.ent-r .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-soft); }
.ent-r .price { font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin: 5px 0 18px; }
@media (max-width: 768px) { .ent { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; } .ent-r { text-align: left; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; } }

/* ---- seguridad: security feature cards ---- */
.seccards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.seccard { padding: 28px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.seccard:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.seccard .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; border: 1px solid var(--accent-line); margin-bottom: 16px; }
.seccard h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.seccard p { font-size: 14.5px; color: var(--gray); line-height: 1.6; }
.seccard .points { display: grid; gap: 9px; margin-top: 16px; }
.seccard .points li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.seccard .points li svg { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; color: var(--accent); }

/* ---- contacto: form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-aside .kicker { margin-bottom: 16px; }
.contact-aside h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.contact-aside p { font-size: 16px; color: var(--gray); line-height: 1.6; margin-top: 16px; max-width: 42ch; }
.contact-aside .clist { display: grid; gap: 14px; margin-top: 26px; }
.contact-aside .clist li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.contact-aside .clist .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; border: 1px solid var(--accent-line); flex: 0 0 auto; }
.contact-aside .clist a { color: var(--accent); font-weight: 500; }
.contact-aside .clist a:hover { color: var(--accent-hover); text-decoration: underline; }
.cform { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 32px 30px; }
.cfield { display: grid; gap: 7px; margin-bottom: 18px; }
.cfield label { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: -.01em; }
.cfield label .req { color: var(--accent); }
.cfield input, .cfield textarea { font-family: var(--sans); font-size: 14.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; width: 100%; transition: border-color var(--t), box-shadow var(--t); }
.cfield input::placeholder, .cfield textarea::placeholder { color: var(--faint); }
.cfield input:hover, .cfield textarea:hover { border-color: var(--gray-soft); }
.cfield input:focus, .cfield textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.cfield textarea { resize: vertical; min-height: 120px; }
.cform .consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.cform .consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.cform .consent label { font-size: 12.5px; color: var(--gray); line-height: 1.5; }
.cform .consent a { color: var(--accent); }
.cform .form-note { font-size: 12px; color: var(--gray-soft); margin-top: 14px; text-align: center; }

@media (max-width: 1024px) {
  .seccards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .detail { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .page-hero { padding: 80px 0 16px; }
}
