/* MN Diseño Web — estilos
   Paleta: tinta #10223A · verde azulado #0F9D8A · coral #F26B4B · arena #F7F4EE
   Sin fuentes externas (RGPD y velocidad). */
:root {
  --ink: #10223A;
  --ink-soft: #4A5A70;
  --teal: #0F9D8A;
  --teal-dark: #0B7A6B;
  --coral: #F26B4B;
  --coral-dark: #D9532F;
  --sand: #F7F4EE;
  --white: #FFFFFF;
  --line: #E3DED3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 34, 58, .08);
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
.container { width: min(1120px, 92%); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { height: 52px; width: auto; }
.brand-text { font-weight: 800; font-size: 1.05rem; line-height: 1.1; letter-spacing: -.01em; }
.brand-text b { color: var(--ink-soft); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--teal-dark); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; }
.lang a { padding: .25rem .7rem; color: var(--ink-soft); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .7rem; font-size: 1rem; cursor: pointer; color: var(--ink); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178544; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sand), #fff); padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; background: #E2F5F2; color: var(--teal-dark); font-weight: 700; font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow); }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.hero-card li { display: flex; gap: .8rem; align-items: flex-start; }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 800; }

/* Secciones */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-head { max-width: 40em; margin-bottom: 2.2rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.alt { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: #E2F5F2; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: .9rem; }
.card p { margin: 0; color: var(--ink-soft); }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: .8rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.why .card { border-top: 4px solid var(--teal); }
.why .card:nth-child(2) { border-top-color: var(--coral); }
.why .card:nth-child(3) { border-top-color: var(--ink); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact-box { background: var(--ink); color: #fff; border-radius: 24px; padding: 2rem; }
.contact-box p { color: #D5DEEA; }
.contact-box a.link { color: #fff; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.8rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
label { font-weight: 700; font-size: .92rem; display: grid; gap: .35rem; }
input, textarea, select { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, textarea:focus, select:focus { outline: 3px solid #BFE9E3; border-color: var(--teal); }
textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.check input { width: auto; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--teal-dark); }
.form-msg.err { color: var(--coral-dark); }

/* Pie */
.site-footer { background: var(--ink); color: #D5DEEA; padding: 2.2rem 0; font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; }

/* Página legal */
.legal { padding: 3rem 0 4rem; max-width: 760px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.draft { background: #FFF3CD; border: 1px solid #F1D98A; border-radius: 12px; padding: .8rem 1rem; font-size: .92rem; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #1FA855; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none; font-size: 1.7rem; }
.wa-float:hover { background: #178544; }

/* Responsive */
@media (max-width: 860px) {
  .brand img { height: 44px; }
  .brand-text { font-size: .95rem; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .menu-btn { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 1rem 4%; border-bottom: 1px solid var(--line); gap: 1rem; }
  .nav-links.open { display: flex; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

@media (max-width: 420px) { .brand-text { display: none; } }
