/* Muelitas · sitio comercial. Sin fuentes ni librerías externas (rápido y con CSP estricta). */
:root {
  --teal: #0f766e; --teal-2: #14b8a6; --teal-3: #ccfbf1; --ink: #0f172a; --muted: #475569; --line: #e2e8f0;
  --bg: #ffffff; --bg-2: #f0fdfa; --accent: #f97362; --wa: #25d366; --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, .h1 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
h1 em, h2 em, .h1 em { font-style: normal; color: var(--teal-2); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.c { text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.lead.c { max-width: 680px; margin-inline: auto; }
.muted-l { color: #cbd5e1; }
.small, .note, .meta { font-size: .9rem; color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--teal); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #115e59; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-3); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #06281a; }
.btn-wa:hover { background: #1ebe5b; }
.wa-ico { width: 1.15em; height: 1.15em; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Encabezado */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; }
.brand-light { color: #fff; }
.logo-ico { width: 34px; height: 34px; color: var(--teal-2); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--teal); }
.nav .nav-panel { color: var(--teal); }
.nav .btn { color: #fff; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Carrusel */
.hero { background: radial-gradient(1200px 500px at 90% -10%, var(--teal-3), transparent 60%), linear-gradient(180deg, var(--bg-2), #fff); }
.car { position: relative; }
.slide { display: none; }
.slide.is-on { display: block; animation: aparece .6s ease; }
@keyframes aparece { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.slide-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 560px; padding: 48px 0 24px; }
.slide-art { display: flex; justify-content: center; }
.slide-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 16px; padding-bottom: 28px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--teal); }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: #cbd5e1; cursor: pointer; padding: 0; transition: width .2s; }
.dot.is-on { width: 28px; background: var(--teal); }

/* Teléfono y tablero dibujados con CSS */
.phone { width: min(340px, 100%); background: #fff; border-radius: 30px; box-shadow: 0 30px 60px rgba(15, 118, 110, .25); border: 10px solid #0f172a; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 12px 14px; }
.phone-top .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.phone-top small { display: block; opacity: .8; font-size: .75rem; }
.phone-body { background: #ece5dd; padding: 14px; display: grid; gap: 8px; min-height: 300px; align-content: start; }
.bub { margin: 0; max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bub.in { background: #fff; justify-self: start; border-top-left-radius: 2px; }
.bub.out { background: #dcf8c6; justify-self: end; border-top-right-radius: 2px; }
.dash { width: min(420px, 100%); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; border: 1px solid var(--line); }
.dash-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); }
.dash-row b { color: var(--ink); font-size: 1.1rem; }
.dash-grid { display: grid; gap: 8px; margin: 14px 0; }
.dash-grid span { padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.c1 { background: var(--teal-3); color: #134e4a; } .c2 { background: #ffe4e0; color: #9a3412; } .c3 { background: #e0e7ff; color: #3730a3; }

/* Franja */
.strip { background: var(--teal); color: #fff; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 12px; padding: 14px 0; font-weight: 600; font-size: .95rem; }

/* Secciones */
.sec { padding: 84px 0; }
.sec.alt { background: var(--bg-2); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .ico { font-size: 1.8rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.art-side { display: flex; justify-content: center; }
.side-img { border-radius: var(--radius); box-shadow: var(--shadow); }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; }
.steps .n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps p { color: var(--muted); margin: 0; }
.steps h3 { margin-bottom: .2em; }

.timeline { list-style: none; padding: 0; margin: 36px auto 0; max-width: 760px; border-left: 3px solid var(--teal-3); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--teal-2); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--teal-2); }
.timeline time { font-weight: 800; color: var(--teal); }
.timeline p { margin: .2em 0 0; color: var(--muted); }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.is-top { border: 2px solid var(--teal); transform: translateY(-6px); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin: 0; }
.plan .para { color: var(--muted); font-size: .95rem; }
.precio { font-size: 1rem; color: var(--muted); }
.precio b { font-size: 2.3rem; color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 10px 0 22px; display: grid; gap: 8px; flex: 1; }
.checks li { padding-left: 26px; position: relative; font-size: .95rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-2); font-weight: 800; }
.plan .btn { justify-content: center; }
.note { margin-top: 20px; }

/* Pagos */
.pay { padding: 48px 0; }
.pay-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pay-in img { width: min(460px, 100%); }

.badge-big { width: min(380px, 100%); aspect-ratio: 1; border-radius: 40px; background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #fff; display: grid; place-items: center; align-content: center; gap: 6px; box-shadow: var(--shadow); text-align: center; }
.badge-big .logo-ico { width: 110px; height: 110px; color: #fff; }
.badge-big b { font-size: 2rem; }
.badge-big span { opacity: .85; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .7em 0 0; color: var(--muted); }

/* Blog */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card .cat { color: var(--accent); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.more { font-weight: 700; text-decoration: none; }
.page-hero { padding: 64px 0 36px; background: linear-gradient(180deg, var(--bg-2), #fff); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1em; }
.crumbs a { color: var(--muted); }
.prose { padding: 20px 0 60px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p, .prose li { color: #1e293b; }
.prose blockquote { margin: 1em 0; padding: 14px 18px; background: #dcf8c6; border-radius: 12px; }
.cta-box { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--teal); color: #fff; }
.cta-box h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.cta-box .btn { background: #fff; color: var(--teal); border-color: #fff; }

/* Contacto */
.info { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); background: #e2e8f0; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pie */
.ftr { background: #0b3b37; color: #e2e8f0; padding: 56px 0 24px; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.2fr; gap: 30px; }
.ftr h2 { font-size: 1rem; color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.ftr a { color: #a7f3d0; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr .logo-ico { color: #5eead4; }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; font-size: .88rem; color: #94a3b8; }
.ftr-bot a { color: #fff; text-decoration: underline; }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); }
.fab .wa-ico { width: 30px; height: 30px; }

/* Responsivo */
@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transition: opacity .15s; }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 10px; justify-content: center; border-bottom: 0; }
  .slide-in, .two { grid-template-columns: minmax(0, 1fr); }
  .slide-in { min-height: 0; padding-top: 32px; gap: 28px; }
  .grid3, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan.is-top { transform: none; }
  .sec { padding: 60px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid4, .ftr-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-in { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .slide.is-on { animation: none; } html { scroll-behavior: auto; } }
.more-row { margin-top: 32px; }
