/* ----------------------------------
   Reparaciones Monti — styles.css
   ---------------------------------- */

:root {
  --bg: #0b1020;
  --bg-2: #0f1530;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --ink: #0c1430;
  --ink-soft: #3b4565;
  --muted: #6b7390;
  --line: #e6e9f2;
  --brand: #2f6cff;
  --brand-2: #6c4cff;
  --accent: #ff7a1a;
  --wa: #25d366;
  --wa-dark: #1ebe5d;
  --ok: #18a957;
  --warn: #f5a524;
  --shadow-sm: 0 2px 8px rgba(15, 23, 50, .06);
  --shadow: 0 14px 38px rgba(15, 23, 50, .10);
  --shadow-lg: 0 30px 70px rgba(15, 23, 50, .18);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.1rem; }
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

.container {
  width: min(1160px, 100% - 2.4rem);
  margin-inline: auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  font-weight: 600;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-sm);
}
.brand-text { font-size: 1.05rem; }
.brand-text strong { font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { display: inline-flex; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .72rem 1.1rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(47,108,255,.35);
}
.btn-wa {
  background: var(--wa);
  color: #fff;
}
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface-alt); }
.btn-lg { padding: 1rem 1.4rem; font-size: 1rem; }

/* HERO */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(108,76,255,.18), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(47,108,255,.18), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #f3f6fd 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  padding: 5rem 0 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 3rem 0; }
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(47,108,255,.10);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.grad {
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.6rem 0 1.4rem;
}
.badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
.badges li { display: inline-flex; align-items: center; gap: .35rem; }
.check {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  background: var(--ok);
  color: #fff;
  font-size: .7rem;
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 360px;
}
.card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 230px;
}
.card-float svg { color: var(--brand); }
.card-float strong { display: block; font-size: 1rem; }
.card-float span { color: var(--muted); font-size: .85rem; }
.card-laptop { top: 6%; left: 4%; transform: rotate(-3deg); animation: floaty 7s ease-in-out infinite; }
.card-pc     { top: 38%; right: 6%; transform: rotate(3deg); animation: floaty 8s ease-in-out infinite reverse; }
.card-phone  { bottom: 6%; left: 18%; transform: rotate(-1deg); animation: floaty 9s ease-in-out infinite; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .6;
  z-index: -1;
}
.orb-1 { width: 280px; height: 280px; background: rgba(108,76,255,.35); top: 10%; right: 0; }
.orb-2 { width: 220px; height: 220px; background: rgba(255,122,26,.25); bottom: 5%; left: 0; }

@keyframes floaty {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* TRUST */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
  text-align: center;
}
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
}
.trust-item span { color: var(--muted); font-size: .92rem; }

/* SECTIONS */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface-alt); }
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-inline: auto;
}
.section-head p { color: var(--ink-soft); }

/* GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

/* SERVICES */
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(47,108,255,.10);
  margin-bottom: 1rem;
}
.service ul { color: var(--ink-soft); }
.service li { margin-bottom: .25rem; }

/* COTIZADOR */
.quoter {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) { .quoter { grid-template-columns: 1fr; } }
.quoter-step { display: block; }
.step-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  margin-bottom: .6rem;
  color: var(--ink);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  background: var(--surface-alt);
  border-radius: 12px;
  padding: .35rem;
}
.device-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: .65rem .8rem;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: .92rem;
  transition: background .15s ease, color .15s ease;
}
.device-tab.is-active {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7390' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}
.select:focus { outline: 2px solid rgba(47,108,255,.4); border-color: var(--brand); }

.quoter-result { grid-column: 1 / -1; }
.result-card {
  background: linear-gradient(135deg, #f4f7ff 0%, #f9f4ff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .6rem;
}
.result-label {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: .25rem;
}
.result-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
}
.result-sub { color: var(--ink-soft); font-size: .92rem; }
.result-time {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.result-note {
  color: var(--muted);
  font-size: .88rem;
  margin: .8rem 0 1rem;
}
.result-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* CHAT / Q&A */
.chat {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem;
  min-height: 380px;
}
.bubble {
  display: inline-block;
  max-width: 85%;
  padding: .85rem 1rem;
  border-radius: 16px;
  margin: .4rem 0;
  font-size: .98rem;
  line-height: 1.5;
  animation: pop .25s ease both;
}
.bubble.bot {
  background: var(--surface-alt);
  color: var(--ink);
  border-top-left-radius: 4px;
}
.bubble.user {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  margin-left: auto;
  display: block;
  border-top-right-radius: 4px;
}
.bubble strong { color: inherit; }
.row-bot, .row-user { display: flex; align-items: flex-end; gap: .5rem; }
.row-user { justify-content: flex-end; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .6rem 0 1rem;
}
.option {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: .55rem 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 500;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.option:hover { background: var(--surface-alt); border-color: var(--brand); color: var(--brand); }
.option:active { transform: scale(.98); }

@keyframes pop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PROCESO */
.process .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-bubble {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  margin: 0 auto 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
}
.step p { color: var(--ink-soft); }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: .7rem;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: .7rem 0 0; color: var(--ink-soft); }

/* CTA */
.section-cta {
  background:
    radial-gradient(800px 360px at 80% 10%, rgba(108,76,255,.15), transparent 60%),
    linear-gradient(135deg, #0b1020 0%, #131a3a 100%);
  color: #fff;
}
.section-cta h2, .section-cta .eyebrow { color: #fff; }
.section-cta .eyebrow { background: rgba(255,255,255,.12); color: #fff; }
.section-cta p { color: rgba(255,255,255,.8); }
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.contact-info {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 1.4rem;
  border-radius: var(--radius);
}
.contact-info h3 { color: #fff; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li { padding: .35rem 0; color: rgba(255,255,255,.85); }

/* FOOTER */
.site-footer {
  background: #08090f;
  color: rgba(255,255,255,.78);
  padding: 3rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-footer { color: #fff; }
.site-footer h4 { color: #fff; margin-bottom: .8rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .25rem 0; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}
.muted { color: rgba(255,255,255,.55); }
.section .muted { color: var(--muted); }

/* WhatsApp Float */
.wa-float {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 58px;
  height: 58px;
  background: var(--wa);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(37,211,102,.4);
  z-index: 60;
  transition: transform .15s ease, background .15s ease;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.05); text-decoration: none; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.55);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.95); opacity: .9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Utilities */
[hidden] { display: none !important; }
