/* Alquiler Radar UY landing (ARU-47). Tokens from the approved ARU-46 mockup (SYMADIX identity). Light only. */

@font-face {
  font-family: "Inter";
  src: url("/assets/inter-var.f052ee44.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-var.7d707172.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f6f9;
  --ink: #0b0d12;
  --muted: #545c6f;
  --line: #e4e8ee;
  --card: #ffffff;
  --dark: #0f1420;
  --teal: #2c7a7b;
  --teal-dark: #1f5e5f;
  --teal-soft: #e6f2f2;
  --accent-text: #1f5e5f;
  --mint: #1fb5a6;
  --on-dark: #ffffff;
  --on-dark-muted: #b9c3d3;
  /* Height of the sticky header, so anchors do not hide a heading under it (app.js keeps it exact). */
  --header-h: 76px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand, .price, .step-num {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; }
h2 { font-size: 30px; line-height: 1.2; }
h3 { font-size: 18px; }
p { margin: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }

.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }
.section--card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.narrow.center { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.6; }
.note { color: var(--muted); font-size: 13px; margin-top: 24px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--teal-soft);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow--dark { background: rgba(31, 181, 166, 0.15); color: #7ed6c9; align-self: flex-start; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 12px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
}
.cta-btn:hover { background: var(--teal-dark); color: #ffffff; }
.cta-btn--ghost {
  background: transparent;
  border: 1.5px solid #ffffff;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}
.cta-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cta-btn--small { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.cta-btn--block { width: 100%; }
.cta-btn--mint { background: var(--mint); color: #0b0d12; }
.cta-btn--mint:hover { background: #7ed6c9; color: #0b0d12; }

/* Header: stays at the top while scrolling, on phones and desktop. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.brand-link { display: flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; }
.brand-link:hover { color: var(--on-dark); }
.brand { font-weight: 700; font-size: 18px; }
.logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.logo--small { width: 22px; height: 22px; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 8px 20px; font-size: 14px; flex-wrap: wrap; }
.nav-link { color: #d6dbe5; text-decoration: none; padding: 12px 0; }
.nav-link:hover { color: #ffffff; }
.controls { display: flex; align-items: center; gap: 8px; }
.lang-group { display: flex; align-items: center; gap: 4px; }
.switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #e3e7ee;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.switch-btn[aria-pressed="true"] { background: rgba(31, 181, 166, 0.2); border-color: var(--mint); color: #ffffff; }

/* Hero */
.hero { background: var(--dark); color: var(--on-dark); }
.hero-row {
  padding-top: 48px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: 34px; line-height: 1.15; }
@media (min-width: 900px) { .hero h1 { font-size: 44px; } }
.hero-desc { font-size: 17px; line-height: 1.6; color: var(--on-dark-muted); max-width: 540px; }
.hero-shot { flex: 0 1 320px; margin: 0 auto; }
.phone-shot {
  width: min(72vw, 320px);
  border-radius: 28px;
  border: 6px solid #232a3a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Steps */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.steps { list-style: none; margin: 0; padding: 0; }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.step-num { font-size: 28px; font-weight: 700; color: var(--accent-text); }

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  align-items: start;
}
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
/* Same box for every capture (bot and web, whatever their source size): a phone-screen ratio, the
   image fitted at the top on the page background. */
.shot img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 360 / 761;
  object-fit: contain;
  object-position: top center;
  background: var(--bg);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 20, 32, 0.12);
}
.shot figcaption { font-weight: 600; font-size: 15px; text-align: center; }
/* Demo clips: the same box as the captures; the poster fills it until the clip starts. */
.shot video {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 360 / 760;
  object-fit: cover;
  background: var(--bg);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 20, 32, 0.12);
}
#demo .shot figcaption { max-width: 260px; font-weight: 500; line-height: 1.45; }

/* Pricing */
.plans { max-width: 980px; margin: 0 auto; gap: 24px; }
.plan {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan--trial { border-style: dashed; }
.plan--featured { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.plan-name {
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--accent-text);
}
.plan--featured .plan-name { color: #7ed6c9; }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-height: 52px; }
.price { font-size: 40px; font-weight: 700; line-height: 1.2; }
.price--small { font-size: 22px; }
.price--unavailable { font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0; }
.price-suffix { color: var(--muted); font-size: 14px; }
.plan--featured .price-suffix, .plan--featured .plan-desc { color: var(--on-dark-muted); }
.plan-desc { color: var(--muted); font-size: 15px; line-height: 1.6; }
.plan-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.plan--featured .plan-note { color: #a9b2c5; }
.plan .cta-btn { margin-top: auto; }
.badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--mint);
  color: #0b0d12;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.addons-label {
  font-family: Inter, system-ui, sans-serif;
  text-align: center;
  margin: 56px 0 24px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.addons { max-width: 980px; margin: 0 auto; }
.addon {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.addon-name { font-family: Inter, system-ui, sans-serif; font-size: 15px; letter-spacing: 0; color: var(--accent-text); }
.addon p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.addon .cta-btn { margin-top: auto; }

/* Coupons */
.coupons-banner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--teal-soft);
  border: 1px solid var(--mint);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--accent-text);
}
.coupons-icon { font-size: 24px; }
.coupons-title { font-size: 17px; margin-bottom: 4px; }
.coupons-banner p { font-size: 15px; }

/* FAQ */
details.faq {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  padding: 4px 20px;
}
details.faq + details.faq { margin-top: 12px; }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Final CTA + footer */
.final { background: var(--dark); color: var(--on-dark); }
.final-row {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.final-copy { display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.final h2 { font-size: 26px; }
.final p { color: var(--on-dark-muted); font-size: 16px; line-height: 1.6; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}
.footer-dev:hover { color: var(--ink); }
.symadix-mark { width: 27px; height: 20px; flex: none; }
.footer-dev-name { font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.footer-rights { flex: 1 0 100%; font-size: 13px; }

/* Small screens: fixed two-row header (brand, then CTA + controls) so the font swap cannot re-wrap it. */
@media (max-width: 719px) {
  :root { --header-h: 128px; }
  .header-row { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .brand-link { flex: 1 0 100%; }
  .nav { flex-wrap: nowrap; gap: 8px; width: 100%; justify-content: space-between; }
  .nav-link { display: none; }
  .nav .cta-btn--ghost { padding: 0 14px; white-space: nowrap; }
  .controls { gap: 6px; }
  .lang-group .switch-btn { min-width: 40px; padding: 0 8px; }
}

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