:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1a1f2b;
  --muted: #5c667a;
  --line: #e6e8ee;
  --green: #14804a;
  --green-2: #0f6b3c;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 12px auto 0;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand .mark { color: var(--green); letter-spacing: -0.06em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-google {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.btn-google:disabled { cursor: not-allowed; }
.btn-google:disabled svg,
.btn-google:disabled .label { opacity: 0.85; }
.tag-pronto {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #6b7280);
  background: #f1f3f5;
  border-radius: 999px;
  padding: 2px 8px;
}
.hero-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted, #6b7280);
}
.hero-note a { color: var(--green-2); font-weight: 650; }
.menu-btn {
  display: none;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 8px;
  padding: 28px 0 12px;
}
.hero-copy { max-width: 520px; }
.kicker {
  margin: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.15rem, 3.3vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
  font-weight: 650;
}
.checks li::before { content: "✓ "; color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.frame,
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(26, 31, 43, 0.08);
}

.phone-scene {
  position: relative;
  width: 100%;
  min-height: 760px;
  margin: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 310px;
  height: 720px;
  margin: 16px auto;
  padding: 10px;
  background: #0b0b0d;
  border-radius: 42px;
  box-shadow:
    0 30px 70px rgba(17, 19, 24, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.wa {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #efeae2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ios-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px 6px;
  background: #f6f6f6;
  color: #111;
}
.ios-island {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 84px;
  height: 28px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}
.ios-time { font-size: 15px; font-weight: 700; letter-spacing: -0.03em; }
.ios-right { display: flex; align-items: center; gap: 3px; }
.ios-sig { width: 17px; height: 11px; fill: #111; }
.ios-lte { font-size: 12px; font-weight: 700; letter-spacing: -0.02em; }
.ios-pct { color: #111; font-size: 12px; font-weight: 650; }
.ios-bat {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1.4px solid #111;
  border-radius: 3px;
  padding: 1px;
}
.ios-bat::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: #111;
}
.ios-bat i {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: 1px;
  background: #111;
}
.wa-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 8px;
  background: #f6f6f6;
  color: #111;
  border-bottom: 1px solid #e6e6e6;
}
.wa-back {
  display: flex;
  align-items: center;
  gap: 1px;
  color: #007aff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.wa-back svg { width: 10px; height: 18px; }
.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 32px;
  background: #6b1578;
}
.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa-num {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.wa-phone { width: 22px; height: 22px; color: #007aff; flex: 0 0 22px; }
.wa-chat {
  flex: 1;
  padding: 8px 8px 6px;
  overflow: hidden;
  background-color: #efeae2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' fill='none' stroke='%23d9d0c4' stroke-width='1.15'>%3Ccircle cx='18' cy='22' r='7'/%3E%3Cpath d='M46 16h18v12H46zM48 28v4M62 28v4'/%3E%3Cpath d='M96 24c8 0 10 10 0 10s-10-10 0-10z'/%3E%3Cpath d='M22 78l6-10 6 10'/%3E%3Crect x='78' y='70' width='16' height='12' rx='2'/%3E%3Cpath d='M112 78c6-8 14-8 14 0'/%3E%3C/svg>");
  background-size: 140px 140px;
}
.wa-msg {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 6px 8px 4px;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
  font-size: 12.5px;
  line-height: 1.28;
  color: #111b21;
}
.wa-msg p { margin: 0 0 5px; }
.wa-hi { font-weight: 650; }
.wa-wave { margin-bottom: 6px; }
.wa-line { margin-bottom: 2px; }
.wa-end { font-weight: 650; }
.wa-auto {
  margin: 6px 0 0;
  color: #667781;
  font-size: 11px;
  line-height: 1.3;
}
.wa-auto time {
  display: block;
  margin-top: 2px;
  text-align: right;
  color: #667781;
  font-size: 11px;
  white-space: nowrap;
}
.qr-box {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 36px auto 8px;
}
.qr {
  display: block;
  width: 100%;
  height: 100%;
}
.qr-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  padding: 3px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 3px #fff;
}
.qr-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.logo-hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: #fff;
  color: #111b21;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid #e6e8ee;
  box-shadow: 0 10px 22px rgba(17, 19, 24, 0.16);
  animation: hint-bob 1.6s ease-in-out infinite;
}
.logo-hint::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: hint-ping 1.6s ease-out infinite;
}
.logo-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-right: 1px solid #e6e8ee;
  border-bottom: 1px solid #e6e8ee;
  transform: translateX(-50%) rotate(45deg);
}
@keyframes hint-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}
@keyframes hint-ping {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  80% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 12px;
  background: #f3f1ee;
}
.wa-plus {
  color: #1c1c1e;
  font-size: 30px;
  font-weight: 300;
  line-height: 0.8;
  width: 16px;
  text-align: center;
}
.wa-input {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 34px;
  padding: 0 8px 0 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7e5e2;
}
.wa-sticker { width: 22px; height: 22px; color: #1c1c1e; }
.wa-cam { width: 24px; height: 24px; color: #1c1c1e; flex: 0 0 24px; }
.wa-mic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25d366 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 14a3 3 0 003-3V7a3 3 0 10-6 0v4a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 006 6.92V21h2v-3.08A7 7 0 0019 11h-2z'/></svg>") center / 16px no-repeat;
}
.bubble {
  position: absolute;
  z-index: 2;
  width: 168px;
  background: #fff;
  color: #111b21;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13), 0 14px 32px rgba(20, 32, 28, 0.14);
  font-size: 0.72rem;
  line-height: 1.35;
}
.wa-body { padding: 8px 8px 4px; }
.bubble p { margin: 0 0 6px; }
.wa-time {
  display: block;
  margin: 0 0 2px;
  text-align: right;
  color: #667781;
  font-size: 0.62rem;
}
.wa-time::before {
  content: "✓✓ ";
  color: #53bdeb;
  letter-spacing: -0.12em;
}
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 8px 6px;
  border-top: 1px solid #e9edef;
  border-radius: 0;
  background: #fff;
  color: #027eb5;
  font-weight: 650;
  font-size: 0.72rem;
  text-align: center;
}
.wa-btn::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/></svg>") center / contain no-repeat;
}
.amount {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.bubble-link { top: 28px; left: 0; }
.bubble-pay { top: 86px; right: 0; }
.bubble-due { top: 348px; left: 0; }
.bubble-ok { top: 420px; right: 0; }

.band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 36px 0 8px;
}
.band article {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 16px;
}
.band strong { display: block; margin-bottom: 4px; }
.band span { color: var(--muted); font-size: 0.92rem; }

section { padding: 68px 0; }
.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.section-head p { margin: 0; color: var(--muted); }

.grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.05fr 0.95fr; align-items: center; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.card h3 { margin: 10px 0 6px; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e8f6ee;
  color: var(--green-2);
  font-weight: 800;
  font-size: 0.85rem;
}

.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button {
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.tabs button.is-on {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.shots { display: none; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shots.is-on { display: grid; }
.shots.web { grid-template-columns: repeat(3, 1fr); }
.shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.shot img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.shot div { padding: 14px 14px 16px; }
.shot h3 { margin: 0 0 4px; font-size: 1rem; }
.shot p { margin: 0; color: var(--muted); font-size: 0.9rem; }

#acceso { background: var(--bg-soft); }
.bio img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 8px;
  border: 0;
  box-shadow: none;
}

.steps { counter-reset: step; display: grid; gap: 12px; }
.steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.steps article::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e8f6ee;
  color: var(--green-2);
  font-weight: 800;
}
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); }

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px;
  border-radius: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.cta h2 { margin: 0 0 6px; letter-spacing: -0.04em; }
.cta p { margin: 0; color: var(--muted); }

footer {
  padding: 8px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
footer a:hover { color: var(--text); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
  }
  .phone-scene {
    order: 1;
    align-self: center;
    width: 540px;
    max-width: 100%;
    min-height: 760px;
    margin: 0 0 28px;
  }
  .hero-copy { order: 2; width: 100%; max-width: 680px; }
  .phone { width: 310px; height: 720px; }
  .bubble { width: 168px; position: absolute; }
  .bubble-link { top: 28px; left: 0; right: auto; }
  .bubble-pay { top: 86px; right: 0; left: auto; }
  .bubble-due { top: 348px; left: 0; right: auto; }
  .bubble-ok { top: 420px; right: 0; left: auto; }
}
@media (max-width: 580px) {
  .hero { container-type: inline-size; overflow-x: clip; }
  .phone-scene {
    width: 540px;
    max-width: none;
    transform: scale(calc(100cqi / 540px));
    transform-origin: top center;
    margin-bottom: calc(28px + 760px * (100cqi / 540px - 1));
  }
  .hero h1 { font-size: clamp(1.85rem, 8cqi, 2.35rem); }
}
@media (max-width: 980px) {
  .grid-3, .band, .shots, .shots.web { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .nav { position: sticky; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .nav-links.is-open { display: flex; }
  .grid-3, .band, .shots, .shots.web { grid-template-columns: 1fr; }
}
