:root {
  --paper: #f6f3ec;
  --card: #fffdf8;
  --ink: #14202e;
  --muted: #4d5967;
  --line: #ddd6c8;
  --missed: #c8402b;
  --missed-bg: #fbe9e4;
  --answered: #0c6b43;
  --answered-bg: #e2f3ea;
  --call: #0f7a4d;
  --call-dark: #0a5c39;
  --display: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 6.2vw, 3.7rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--call);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
}

.top-nav a:hover {
  color: var(--ink);
}

.top-nav .top-cta {
  color: var(--ink);
  font-weight: 600;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
}

/* Sections */
section {
  padding: 64px 0;
}

.band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sub {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 14px;
  max-width: 34em;
}

.fine {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 12px;
}

/* Hero */
.hero {
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--answered);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin-top: 20px;
  max-width: 31em;
}

.cta-block {
  margin-top: 28px;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--call);
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  padding: 14px 24px 14px 18px;
  box-shadow: 0 2px 0 var(--call-dark), 0 12px 28px -12px rgba(12, 107, 67, 0.7);
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn-call:hover {
  background: var(--call-dark);
}

.btn-call:active {
  transform: translateY(1px);
}

.btn-call svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  flex: none;
}

.btn-call span {
  display: grid;
  line-height: 1.2;
}

.btn-call small {
  font-size: 0.86rem;
  opacity: 0.92;
}

.btn-call strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

.btn-call.small strong {
  font-size: 1.25rem;
}

.cta-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 14px;
  max-width: 28em;
}

/* Call log card */
.log {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 50px -30px rgba(20, 32, 46, 0.45);
}

.log-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.log-row {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
}

.log-row + .log-row {
  margin-top: 10px;
}

.log-missed {
  background: var(--missed-bg);
}

.log-answered {
  background: var(--answered-bg);
}

.log-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 8px;
}

.log-missed .log-dot {
  background: var(--missed);
}

.log-answered .log-dot {
  background: var(--answered);
}

.log-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}

.log-missed .log-num {
  color: var(--missed);
}

.log-meta {
  font-size: 0.9rem;
  font-weight: 600;
}

.log-detail {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 2px;
}

.log-foot {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 16px;
  padding: 0 4px;
}

/* Hear / inbox */
.two {
  display: grid;
  gap: 56px;
}

.chat {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.bubble.ai {
  background: var(--ink);
  color: #fff;
  border-bottom-left-radius: 6px;
  justify-self: start;
}

.bubble.caller {
  background: #e9e4d8;
  border-bottom-right-radius: 6px;
  justify-self: end;
}

.chip {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}

.mail {
  margin-top: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.mail-from {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.mail-from span {
  font-weight: 400;
}

.mail-subject {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 6px 0 14px;
}

.mail dl > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
}

.mail dt {
  color: var(--muted);
}

.mail dd {
  font-weight: 600;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  margin-bottom: 14px;
}

.steps p {
  color: var(--muted);
  margin-top: 8px;
}

/* Pricing */
.price-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.price {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 30px 28px;
}

.price-main {
  font-size: 1.2rem;
}

.price-main strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-setup {
  color: #b9c3cf;
  margin-top: 4px;
}

.price ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.price li {
  padding-left: 28px;
  position: relative;
}

.price li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid #5fd39b;
  border-bottom: 2.5px solid #5fd39b;
  transform: rotate(-45deg);
}

.guarantee {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #dfe6ee;
}

.guarantee strong {
  color: #fff;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 28px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-weight: 600;
  font-size: 1.08rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  color: var(--muted);
  padding: 0 2px 20px;
  max-width: 40em;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 32px;
}

.or {
  margin: 26px 0 12px;
  font-weight: 600;
}

form {
  display: grid;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.opt {
  font-weight: 400;
  color: var(--muted);
}

input {
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #bdb5a4;
  border-radius: 12px;
  padding: 13px 14px;
  width: 100%;
}

input:focus {
  outline: 3px solid rgba(15, 122, 77, 0.35);
  border-color: var(--call);
}

input.bad {
  border-color: var(--missed);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  font: inherit;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
}

.btn-submit:hover {
  background: #22344a;
}

.btn-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form-msg {
  font-weight: 600;
  min-height: 1.4em;
}

.form-msg.ok {
  color: var(--answered);
}

.form-msg.err {
  color: var(--missed);
}

/* Footer */
.foot {
  padding: 32px 0 96px;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-row {
  display: grid;
  gap: 8px;
}

.foot strong {
  color: var(--ink);
}

/* Sticky call bar on phones */
.sticky-call {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--call);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 14px 30px -10px rgba(20, 32, 46, 0.55);
  transform: translateY(140%);
  transition: transform 0.2s ease;
}

.sticky-call.show {
  transform: none;
}

.sticky-call svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .top-nav a:not(.top-cta) {
    display: none;
  }

  .btn-call {
    display: flex;
  }
}

@media (min-width: 860px) {
  section {
    padding: 88px 0;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .two {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .faq-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 56px;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
  }

  .foot {
    padding-bottom: 40px;
  }

  .sticky-call {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
