/* Velocity Taxes · blanco y un solo color fuerte (verde). Plantilla heredada de peakcontractorhq-site. */
:root {
  --paper: oklch(0.99 0.004 160);
  --paper-2: oklch(0.965 0.008 160);
  --ink: oklch(0.21 0.02 200);
  --ink-2: oklch(0.42 0.02 200);
  --ink-3: oklch(0.55 0.015 200);
  --rule: oklch(0.89 0.01 160);
  --accent: oklch(0.46 0.13 158);
  --accent-deep: oklch(0.37 0.11 158);
  --accent-tint: oklch(0.95 0.03 158);
  --on-accent: oklch(0.985 0.01 158);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* header */
header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 10; }
header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 20px; }
.brand { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 500; font-stretch: 100%; color: var(--ink-3); letter-spacing: 0; }
nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
nav .lang-switch .short { display: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* buttons */
.cta, nav .nav-cta { display: inline-block; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; border-radius: 6px; transition: background-color .2s cubic-bezier(.22, 1, .36, 1); }
.cta { padding: 18px 30px; font-size: 18px; }
nav .nav-cta { padding: 10px 18px; color: var(--on-accent); }
nav .lang-switch { color: var(--ink); font-weight: 600; border: 1px solid var(--rule); border-radius: 6px; padding: 9px 12px; }
nav .lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.cta:hover, nav .nav-cta:hover { background: var(--accent-deep); }
.cta-note { display: block; color: var(--ink-3); font-size: 15px; margin-top: 14px; }
.link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* type */
h1, h2, h3 { font-family: var(--display); color: var(--ink); }
h1 { font-weight: 800; font-stretch: 112%; font-size: clamp(42px, 7vw, 84px); line-height: .98; letter-spacing: -.035em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-weight: 700; font-stretch: 108%; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 36px; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.lede { color: var(--ink-2); font-size: clamp(19px, 2vw, 22px); line-height: 1.5; max-width: 34em; margin: 28px 0 40px; }
.prose p { color: var(--ink-2); margin-bottom: 18px; max-width: 36em; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: none; max-width: 40em; }
.prose li { padding: 20px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.prose li:last-child { border-bottom: 1px solid var(--rule); }
.prose li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero-photo figcaption { font-size: 14px; color: var(--ink-3); margin-top: 12px; line-height: 1.4; }
.hero-photo img { filter: grayscale(1) contrast(1.05); border-radius: 4px; }
.hero.small { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
.hero.small h1 { font-size: clamp(38px, 6vw, 68px); max-width: 14em; }

/* sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
section + section, .hero + section { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }

/* numbered list (what we build / steps) */
.list { list-style: none; counter-reset: n; }
.list li { counter-increment: n; display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); }
.list li:last-child { border-bottom: 1px solid var(--rule); }
.list li::before { content: counter(n, decimal-leading-zero); font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--accent); line-height: 1.1; }
.list p { color: var(--ink-2); max-width: 34em; }

/* guarantee: the one drenched moment */
.guarantee-band { background: var(--accent); color: var(--on-accent); padding: clamp(64px, 9vw, 112px) 0; }
.guarantee-band .kicker { color: oklch(0.87 0.08 158); }
.guarantee-band p.big { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.025em; max-width: 18em; }
.guarantee-band p.small { margin-top: 24px; font-size: 17px; color: oklch(0.92 0.04 158); }
.guarantee-band a { color: var(--on-accent); font-weight: 600; text-underline-offset: 4px; }

/* proof */
.proof { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.proof img { border-radius: 4px; }
blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.18; letter-spacing: -.015em; margin-bottom: 22px; }
blockquote::before { content: "“"; color: var(--accent); }
blockquote::after { content: "”"; color: var(--accent); }
.result { font-size: 19px; color: var(--ink); margin-bottom: 18px; }
.result b { color: var(--accent); }
.caption { color: var(--ink-3); font-size: 14px; margin-top: 12px; }

/* about */
.about { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about img { filter: grayscale(1) contrast(1.05); border-radius: 4px; }
.sig { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--ink); }

/* faq */
details { border-top: 1px solid var(--rule); max-width: 46em; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; font-size: 19px; padding: 22px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-2); padding: 0 0 22px; max-width: 40em; }

/* closing cta */
.closing { background: var(--paper-2); }
.closing p { color: var(--ink-2); max-width: 32em; margin: -12px 0 32px; }

/* booking */
.booking { border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; max-width: 900px; background: var(--paper); }
.booking iframe { width: 100%; min-height: 760px; border: 0; display: block; }

footer { border-top: 1px solid var(--rule); padding: 36px 0 56px; color: var(--ink-3); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
footer a { color: var(--ink-2); }

@media (max-width: 900px) {
  nav a:not(.nav-cta):not(.lang-switch) { display: none; }
  nav { gap: 10px; }
  nav .lang-switch .long { display: none; }
  nav .lang-switch .short { display: inline; }
  .hero-grid, .section-head, .proof, .about { grid-template-columns: 1fr; }
  .hero-photo { max-width: 260px; }
  .about img { max-width: 300px; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .brand { font-size: 16px; font-stretch: 100%; }
  header .wrap { gap: 10px; }
  nav { gap: 8px; }
  nav .nav-cta { padding: 9px 12px; font-size: 15px; }
  nav .lang-switch { padding: 8px 10px; font-size: 15px; }
  .list li { grid-template-columns: 48px 1fr; gap: 14px; }
  .list li::before { font-size: 22px; }
  .cta { display: block; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* anclas bajo el header fijo */
[id] { scroll-margin-top: 84px; }

/* vista de ejemplo de la herramienta (portada) */
.hero-grid { align-items: center; }
.mock { position: relative; max-width: 380px; justify-self: end; width: 100%; }
.phone { background: oklch(0.97 0.012 150); border: 1px solid var(--rule); border-radius: 28px; padding: 14px 12px 18px; box-shadow: 0 24px 60px -28px oklch(0.3 0.05 160 / .35); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.chat-head b { display: block; font-size: 16px; line-height: 1.2; }
.chat-head small { color: var(--ink-3); font-size: 13px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: 15px; line-height: 1.45; animation: aparece .5s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--d) * .9s + .3s); }
.msg.in { background: var(--paper); border: 1px solid var(--rule); border-top-left-radius: 4px; align-self: flex-start; }
.msg.out { background: oklch(0.9 0.07 150); border-top-right-radius: 4px; align-self: flex-end; }
.msg ul { list-style: none; margin: 6px 0; }
.msg li { padding-left: 22px; position: relative; }
.msg li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 11px; height: 11px; border: 2px solid var(--accent); border-radius: 3px; }
.msg.photo { font-weight: 600; }
.dash { margin: 14px 0 0 -40px; position: relative; width: 82%; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px -24px oklch(0.3 0.05 160 / .4); animation: aparece .5s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--d) * .9s + .3s); }
.dash-title { font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; margin-bottom: 10px; }
.bar span:nth-child(1) { background: var(--accent); }
.bar span:nth-child(2) { background: oklch(0.8 0.12 85); }
.bar span:nth-child(3) { background: var(--rule); }
.dash-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); }
.mock figcaption { font-size: 13px; color: var(--ink-3); margin-top: 12px; text-align: right; }
@keyframes aparece { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .msg, .dash { animation: none; } }
@media (max-width: 900px) {
  .mock { justify-self: center; max-width: 340px; }
  .dash { margin-left: 0; width: 100%; margin-top: 12px; }
}
