/* ==========================================================================
   MakerWeb · hoja de estilos · "Faceta con conversación"
   Identidad que sale del logo: la W de facetas (montañas que caen al mar),
   esquinas rectas, cortes en diagonal, los dos azules del logo y un acento sol.
   La conversación con Roberto es la protagonista de la cabecera.
   CSS a mano, sin frameworks y sin estilos en línea (compatible con la CSP).
   Tipografía: Jost (SIL Open Font License), la alternativa libre de Futura,
   que es la letra del logotipo. Se sirve desde este servidor, sin terceros.
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("fonts/fuentes-jost/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/fuentes-jost/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/fuentes-jost/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/fuentes-jost/jost-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/fuentes-jost/jost-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Colores del logotipo. El original es CMYK (ISO Coated v2):
     azul claro C79 M67 Y1 K0 → #5058b8 · azul intenso C96 M85 Y1 K4 → #343d9c · negro K100 → #1a1a18 */
  --blue-light: #5058b8;
  --blue: #343d9c;
  --deep: #1f2470;
  --black: #1a1a18;
  --ink: #101326;
  --ink-soft: #4a4f6a;
  --mist: #eef0f9;
  --line: #e2e5f1;
  --sun: #ffb000;
  --white: #ffffff;
  --wa: #25d366;
  --wa-ink: #0b3d20;
  --red: #c2410c;
  --fdp-navy: #12304b;
  --fdp-btn: #b85413;

  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --cut: 22px;
  --header-h: 72px;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; color: inherit; text-wrap: balance; }
h3, h4 { font-weight: 600; }
p { margin: 0; }
p, li { text-wrap: pretty; }
a { color: inherit; }
[hidden] { display: none !important; }
strong { font-weight: 600; }
::selection { background: var(--sun); color: var(--ink); }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .container { padding-inline: 28px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.on-dark :focus-visible, .section-deep :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .fdp :focus-visible, .trust :focus-visible { outline-color: var(--sun); }
.contact .form-card :focus-visible { outline-color: var(--blue); }

.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: middle; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Corte en diagonal: la faceta de la marca */
.cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
/* Triángulo sol como viñeta */
.tri::before { content: ""; flex: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--sun); }

/* ── Botones ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.4em; border: 1.5px solid transparent; border-radius: 2px;
  font: 500 1.02rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .15s ease; }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--deep); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--deep); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sun); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffc233; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #3ee07c; }
.btn-sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; }
.btn-lg { min-height: 56px; font-size: 1.06rem; padding-inline: 1.6em; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.dot-wa { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); flex: none; }

/* ── Cabecera ──────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 55; background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { display: grid; place-items: center; flex: none; }
.brand-mark img { width: 36px; height: auto; }
/* Nombre como en el logotipo: MAKER fino y WEB en negrita, mismo color, con aire entre letras */
.brand-name { font-weight: 300; font-size: 1.32rem; line-height: 1; letter-spacing: .07em; color: var(--black); white-space: nowrap; }
.brand-name span { font-weight: 700; letter-spacing: .03em; color: inherit; }
.nav { display: none; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1.04rem; padding-block: 6px; background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 2px no-repeat; transition: background-size .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--white); color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-nav nav { display: grid; padding-block: 8px 24px; }
.mobile-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 1.55rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 18px; }
@media (min-width: 460px) { .header-cta { display: inline-flex; } }
@media (min-width: 980px) { .nav { display: flex; } .nav-toggle, .mobile-nav { display: none !important; } }

/* ── Etiquetas y títulos de sección ────────────────────────────────────── */
.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; font-size: .84rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; flex: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--sun); }
.section-deep .kicker, .contact .kicker { color: #c8ccf6; }
.h2 { font-size: clamp(2.15rem, 1.35rem + 2.9vw, 3.5rem); letter-spacing: -.012em; line-height: 1.06; }
.lead { margin-top: 18px; font-size: 1.2rem; color: var(--ink-soft); }
.section-deep .lead, .contact .lead { color: rgba(255, 255, 255, .8); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

/* ── Secciones ─────────────────────────────────────────────────────────── */
.section { position: relative; padding: 76px 0; }
@media (min-width: 900px) { .section { padding: 108px 0; } }
.section-mist { background: var(--mist); }
.section-deep { background: var(--deep); color: var(--white); }

/* ── Hero: facetas + conversación ──────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; }
.hero-text { padding: 40px 0 40px; }
.label { display: inline-flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.label::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--sun); }
.hero-title { margin-top: 18px; font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.3rem); line-height: 1.03; letter-spacing: -.015em; }
.hero-title .accent { color: var(--blue); }
.hero-lead { margin-top: 20px; max-width: 32em; font-size: clamp(1.12rem, 1.05rem + .35vw, 1.28rem); color: var(--ink-soft); }
.hero-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 519px) { .hero-ctas .btn { flex: 1 1 100%; } }

.hero-art { position: relative; margin-inline: -20px; padding: 70px 24px 56px; isolation: isolate; }
@media (min-width: 640px) { .hero-art { margin-inline: -28px; padding-inline: 48px; } }
.facets { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.06fr .94fr; min-height: 640px; }
  .hero-text { align-self: center; padding: 72px 48px 72px 0; }
  .hero-art { margin: 0 calc(-1 * max(28px, (100vw - 1180px) / 2 + 28px)) 0 0; padding: 88px max(28px, (100vw - 1180px) / 2 + 28px) 72px 44px; display: flex; align-items: center; }
}

/* Componente chat (cabecera y "Así trabajo") */
.chat-wrap { filter: drop-shadow(0 26px 34px rgba(16, 19, 38, .32)); max-width: 460px; width: 100%; margin-inline: auto; }
@media (min-width: 980px) { .hero-art .chat-wrap { margin-inline: 0; } }
.chat { --cut: 26px; background: var(--white); }
.chat-h { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.chat-av { --cut: 10px; flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 600; font-size: 1.05rem; }
.chat-h b { display: block; font-size: 1rem; font-weight: 600; line-height: 1.25; }
.chat-h small { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; color: #15803d; }
.chat-h small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.msgs { list-style: none; margin: 0; padding: 14px 16px 6px; display: grid; gap: 8px; }
.msg { max-width: 86%; padding: 9px 12px 7px; border-radius: 3px; font-size: 1rem; line-height: 1.4; }
.msg time { display: block; margin-top: 2px; text-align: right; font-size: .7rem; opacity: .65; }
.msg-them { justify-self: start; background: var(--mist); }
.msg-me { justify-self: end; background: var(--blue); color: var(--white); }
.msg-day { justify-self: center; font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: var(--line); padding: 3px 9px; margin: 6px 0 2px; }
.composer { display: flex; align-items: center; gap: 10px; margin: 10px 16px 0; padding: 6px 6px 6px 14px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink-soft); font-size: 1rem; transition: border-color .15s; }
.composer:hover { border-color: var(--blue); }
.composer > span:first-child { flex: 1; }
.composer .send { flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); }
.composer .send .icon { width: 18px; height: 18px; }
.chat-foot { padding: 8px 16px 36px; font-size: .84rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .hero .msg { animation: msg-in .45s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .msg:nth-child(1) { animation-delay: .25s; }
  .hero .msg:nth-child(2) { animation-delay: .8s; }
  .hero .msg:nth-child(3) { animation-delay: 1.35s; }
  .hero .msg:nth-child(4) { animation-delay: 1.9s; }
}
@keyframes msg-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* ── Franja de garantías ───────────────────────────────────────────────── */
.trust { background: var(--deep); color: var(--white); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 40px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--sun); }
@media (min-width: 900px) { .trust ul { padding: 30px 0; font-size: 1.1rem; } }

/* ── ¿Te suena? ────────────────────────────────────────────────────────── */
.pains { display: grid; gap: 16px; }
@media (min-width: 680px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pains { grid-template-columns: repeat(4, 1fr); } }
.pain { margin: 0; position: relative; background: var(--white); padding: 26px 22px 30px; }
.pain::before { content: "\201C"; display: block; height: 34px; font-weight: 700; font-size: 4rem; line-height: 1; color: var(--sun); }
.pain p { font-weight: 600; font-size: 1.28rem; line-height: 1.3; }
.pain-answer { --cut: 30px; margin-top: 24px; display: grid; gap: 20px; align-items: center; background: var(--blue); color: var(--white); padding: 30px 26px 34px; }
.pain-answer h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
.pain-answer p { margin-top: 10px; color: rgba(255, 255, 255, .86); max-width: 46em; }
.pain-answer .btn { justify-self: start; }
@media (min-width: 860px) { .pain-answer { grid-template-columns: 1fr auto; padding: 38px 44px; } }

/* ── Servicios ─────────────────────────────────────────────────────────── */
.services { display: grid; gap: 20px; }
@media (min-width: 920px) { .services { grid-template-columns: 1fr 1fr; } }
.svc { --cut: 30px; position: relative; display: flex; flex-direction: column; padding: 36px 26px 40px; }
@media (min-width: 640px) { .svc { padding: 44px 40px 48px; } }
.svc--web { background: var(--blue); color: var(--white); }
.svc--it { background: var(--mist); }
.svc-icon { --cut: 12px; width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; background: var(--sun); color: var(--ink); }
.svc--it .svc-icon { background: var(--blue); color: var(--white); }
.svc-icon .icon { width: 26px; height: 26px; }
.svc h3 { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.25rem); letter-spacing: -.01em; }
.svc > p { margin-top: 12px; font-size: 1.12rem; }
.svc--web > p { color: rgba(255, 255, 255, .86); }
.svc--it > p { color: var(--ink-soft); }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist .icon { width: 1.1em; height: 1.1em; margin-top: .25em; stroke-width: 3; color: var(--blue); }
.svc--web .checklist .icon, .on-dark .checklist .icon { color: var(--sun); }
.svc-foot { margin-top: auto; padding-top: 30px; }
.svc-foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(16, 19, 38, .15); }
.svc--web .svc-foot-inner { border-top-color: rgba(255, 255, 255, .22); }
.price-tag { font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.price-tag small { display: block; font-weight: 500; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }

/* ── Sobre mí ──────────────────────────────────────────────────────────── */
.about { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .about { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
/* Tarjeta de contacto directo sobre las facetas (sin foto) */
.vcard-stage { --cut: 36px; position: relative; isolation: isolate; width: 100%; max-width: 420px; margin-inline: auto; padding: 64px 22px 58px; background: var(--blue); }
.vcard-stage .facets { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.vcard-wrap { filter: drop-shadow(0 22px 30px rgba(16, 19, 38, .38)); }
.vcard { --cut: 22px; background: var(--white); padding: 20px 22px 30px; }
.vcard-top { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.vcard-top img { width: 30px; height: auto; }
.vcard-top .brand-name { font-size: 1.12rem; }
.vcard-name { margin-top: 18px; font-weight: 600; font-size: 1.8rem; letter-spacing: -.01em; line-height: 1.05; }
.vcard-role { margin-top: 4px; color: var(--ink-soft); font-size: 1rem; }
.vcard-rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.vcard-row { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.vcard-row small { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.vcard-row strong { display: block; font-size: 1.06rem; overflow-wrap: anywhere; }
a.vcard-row:hover strong { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.vc-ic { --cut: 9px; flex: none; width: 38px; height: 38px; display: grid; place-items: center; }
.vc-ic .icon { width: 19px; height: 19px; }
.vc-wa { background: var(--wa); color: var(--wa-ink); }
.vc-mail { background: var(--mist); color: var(--blue); }
.vc-pin { background: var(--sun); color: var(--ink); }
.vcard-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: #15803d; }
.vcard-foot::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.section-mist .pt-icon { background: var(--white); }
.about-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.about-points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.pt-icon { --cut: 12px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--mist); color: var(--blue); }
.pt-icon .icon { width: 23px; height: 23px; }
.about-points strong { display: block; font-size: 1.25rem; }
.about-points span { color: var(--ink-soft); }

/* ── Webs funcionando (trabajos reales) ────────────────────────────────── */
.work-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
.work-wrap { display: flex; filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .3)); }
.work-card { --cut: 26px; flex: 1; display: flex; flex-direction: column; background: var(--white); color: var(--ink); }
.work-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.work-bar span { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #cdd1e3; }
.work-bar em { flex: 1; min-width: 0; margin-left: 8px; padding: 3px 10px; background: var(--white); font-style: normal; font-size: .86rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-shot { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.work-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 22px 36px; }
@media (min-width: 640px) { .work-body { padding: 24px 28px 40px; } }
.work-type { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.work-body h3 { margin-top: 6px; font-size: 1.6rem; font-weight: 700; }
.work-desc { margin-top: 8px; color: var(--ink-soft); }
.work-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 500; color: var(--blue); text-decoration: none; }
.work-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.work-link:hover .icon-arrow { transform: translateX(4px); }
.work-link .icon { transition: transform .15s ease; }

/* ── ¿De qué depende el precio? ────────────────────────────────────────── */
.factors { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .factors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .factors { grid-template-columns: repeat(4, 1fr); } }
.factor { background: var(--white); padding: 26px 22px; }
.factor .pt-icon { margin-bottom: 16px; }
.factor h3 { font-size: 1.3rem; }
.factor p { margin-top: 8px; color: var(--ink-soft); font-size: .98rem; }
.price-boxes { margin-top: 24px; display: grid; gap: 16px; }
@media (min-width: 860px) { .price-boxes { grid-template-columns: 1fr 1fr; } }
.price-box { --cut: 26px; padding: 28px 26px 32px; }
.price-box.web { background: var(--blue); color: var(--white); }
.price-box.it { background: var(--mist); }
.price-box .what { font-size: .84rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.price-box .big { margin-top: 8px; font-weight: 700; font-size: clamp(1.95rem, 1.5rem + 1.5vw, 2.6rem); letter-spacing: -.01em; line-height: 1.05; }
.price-box .big small { font-size: .5em; font-weight: 500; letter-spacing: 0; opacity: .85; }
.price-box .desc { margin-top: 10px; }
.price-box.web .desc { color: rgba(255, 255, 255, .85); }
.price-box.it .desc { color: var(--ink-soft); }
.price-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.price-cta p { color: var(--ink-soft); }

/* ── Tipos de web (página de diseño web) ───────────────────────────────── */
.plans { display: grid; gap: 16px; }
@media (min-width: 940px) { .plans-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .plans-2 { grid-template-columns: repeat(2, 1fr); } }
.plan { --cut: 26px; position: relative; display: flex; flex-direction: column; background: var(--mist); padding: 32px 26px 36px; }
.plan-featured { background: var(--blue); color: var(--white); }
.plan-badge { align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; background: var(--sun); color: var(--ink); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.plan h3, .plan h4 { font-size: 1.6rem; }
.plan-desc { margin-top: 6px; color: var(--ink-soft); }
.plan-featured .plan-desc { color: rgba(255, 255, 255, .8); }
.plan-from { margin-top: 22px; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.plan-featured .plan-from { color: rgba(255, 255, 255, .72); }
.plan-price { margin-top: 6px; font-weight: 700; font-size: 2.45rem; line-height: 1.05; letter-spacing: -.01em; }
.plan-price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.plan-featured .plan-price small { color: rgba(255, 255, 255, .75); }
.plan .checklist { margin: 22px 0 28px; }
.plan-featured .checklist .icon { color: var(--sun); }
.plan > .btn { margin-top: auto; }
.pricing-note { margin-top: 26px; text-align: center; color: var(--ink-soft); font-size: 1rem; }
.pricing-note a { font-weight: 600; color: var(--blue); }

/* ── Así trabajo ───────────────────────────────────────────────────────── */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding-top: 18px; border-top: 2px solid var(--blue); }
.step::before { counter-increment: step; content: counter(step); display: block; margin-bottom: 10px; font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--blue); }
.step h3 { font-size: 1.32rem; }
.step p { margin-top: 8px; color: var(--ink-soft); }

/* ── Características (páginas de servicio) ────────────────────────────── */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--white); padding: 28px 24px; }
.feature .pt-icon { margin-bottom: 16px; }
.feature h3 { font-size: 1.3rem; }
.feature p { margin-top: 8px; color: var(--ink-soft); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 14px; background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.signs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.signs li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.signs .icon { color: var(--red); margin-top: .12em; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 2px; font-weight: 600; font-size: 1.18rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq-icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--blue); color: var(--blue); transition: background-color .15s, color .15s, transform .2s; }
.faq-icon .icon { width: 17px; height: 17px; stroke-width: 2.6; }
.faq details[open] .faq-icon { background: var(--blue); color: var(--white); transform: rotate(45deg); }
.faq-answer { padding: 0 2px 22px; color: var(--ink-soft); max-width: 62ch; }
.section-mist .faq, .section-mist .faq details { border-color: #d6daec; }

/* ── Contacto ──────────────────────────────────────────────────────────── */
.contact { background: var(--deep); color: var(--white); }
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .92fr 1.08fr; align-items: start; gap: 64px; } }
.channels { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.channel { display: flex; align-items: center; gap: 14px; padding: 14px 2px; border-bottom: 1px solid rgba(255, 255, 255, .16); color: var(--white); text-decoration: none; }
a.channel:hover strong { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.channel-icon { --cut: 10px; flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.channel-icon .icon { width: 21px; height: 21px; }
.ch-wa { background: var(--wa); color: var(--wa-ink); }
.ch-phone { background: var(--sun); color: var(--ink); }
.ch-mail { background: var(--blue-light); color: var(--white); }
.ch-pin { background: rgba(255, 255, 255, .12); color: var(--white); }
.channel strong { display: block; font-size: 1.1rem; }
.channel small { display: block; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.form-wrap { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.form-card { --cut: 34px; background: var(--white); color: var(--ink); padding: 30px 22px 44px; }
@media (min-width: 640px) { .form-card { padding: 40px 40px 52px; } }
.form-card h3 { font-size: 1.9rem; font-weight: 700; letter-spacing: -.01em; }
.form-sub { margin-top: 6px; color: var(--ink-soft); }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field label { font-weight: 500; font-size: 1rem; }
.field .opt { font-weight: 400; font-size: .86rem; color: var(--ink-soft); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid #cdd1e3; border-radius: 2px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8c90a6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52, 61, 156, .18); }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff6f2; }
.field-error { color: var(--red); font-size: .92rem; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { margin-top: 24px; }
.btn .spinner { width: 1.1em; height: 1.1em; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; font-weight: 500; font-size: 1rem; }
.form-status .icon { margin-top: .1em; }
.form-status.is-ok { background: #e3f7ea; color: #14532d; }
.form-status.is-error { background: #fdeee8; color: #7c2d12; }
.form-status a { font-weight: 600; }
.form-legal { margin-top: 18px; font-size: .84rem; line-height: 1.55; color: var(--ink-soft); }
.form-legal a { color: var(--blue); font-weight: 500; }

/* ── Factudrop (al final, con su propia marca) ─────────────────────────── */
.fdp { background: var(--fdp-navy); color: #fff; padding: 64px 0; }
.fdp-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 920px) { .fdp-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.fdp-brand { display: flex; align-items: center; gap: 12px; }
.fdp-brand svg { width: 46px; height: 46px; flex: none; }
.fdp-brand strong { font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; line-height: 1.1; }
.fdp-brand small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .2em; opacity: .7; }
.fdp-kicker { display: inline-block; margin-top: 22px; padding: 4px 10px; border: 1.5px solid #e17431; color: #f6b48a; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.fdp h2 { margin-top: 14px; font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.6rem); letter-spacing: -.01em; }
.fdp p { margin-top: 12px; color: rgba(255, 255, 255, .82); max-width: 38em; }
.fdp .btn { margin-top: 26px; background: var(--fdp-btn); color: #fff; }
.fdp .btn:hover { background: #9e4710; }
.fdp-visual { padding: 22px; background: rgba(255, 255, 255, .06); }
.fdp-visual svg { width: 100%; height: auto; display: block; }
.fdp-visual text { font-family: var(--font); }

/* ── Pie ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); padding: 64px 0 104px; font-size: .96rem; }
@media (min-width: 640px) { .site-footer { padding-bottom: 32px; } }
.site-footer .brand { color: var(--white); }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-mark { --cut: 8px; width: 40px; height: 40px; background: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.site-footer .brand-mark img { width: 29px; height: auto; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; } }
.footer-brand p { margin-top: 16px; max-width: 32ch; }
.footer-col h2 { margin-bottom: 14px; font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-bottom a { text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--sun); }
.footer-col .icon { width: 1.05em; height: 1.05em; margin-right: 6px; vertical-align: -2px; }
.review-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 9px 14px; border: 1.5px solid rgba(255, 176, 0, .7); color: var(--white); text-decoration: none; font-weight: 500; font-size: .96rem; transition: background-color .15s; }
.review-link:hover { background: rgba(255, 176, 0, .14); }
.review-link .icon { color: var(--sun); fill: var(--sun); width: 1.05em; height: 1.05em; }
.site-footer--min { padding: 26px 0; }
.site-footer--min .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; }

/* ── Botón flotante de WhatsApp ────────────────────────────────────────── */
.wa-fab {
  --cut: 14px; position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 58px; height: 58px; background: var(--wa); color: var(--wa-ink); text-decoration: none; font-weight: 500;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.wa-fab .icon { width: 28px; height: 28px; }
.wa-fab-label { display: none; }
.wa-fab-wrap { position: fixed; z-index: 60; }
@media (min-width: 640px) {
  .wa-fab { width: auto; padding: 0 22px 0 16px; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .wa-fab-label { display: inline; }
}

/* ── Cabecera de páginas interiores ────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 32px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero .facets-side { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: min(46vw, 620px); height: 100%; display: none; }
@media (min-width: 980px) { .page-hero { padding: 48px 0 88px; } .page-hero .facets-side { display: block; } }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: 1.3fr .7fr; gap: 56px; } }
.crumbs { margin-bottom: 24px; font-size: .92rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--ink); }
.page-title { margin-top: 16px; font-size: clamp(2.3rem, 1.25rem + 4.1vw, 4.4rem); letter-spacing: -.015em; line-height: 1.04; }
.page-hero-grid > *, .hero-grid > * { min-width: 0; }
.page-title .accent { color: var(--blue); }
.price-card-wrap { filter: drop-shadow(0 28px 36px rgba(16, 19, 38, .3)); }
.price-card { --cut: 30px; background: var(--white); padding: 30px 26px 40px; }
.price-card .plan-from { margin-top: 0; }
.price-card .checklist { margin: 20px 0 26px; }

/* ── Páginas legales y 404 ─────────────────────────────────────────────── */
.legal { max-width: 800px; margin-inline: auto; }
.legal h1 { font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.3rem); letter-spacing: -.012em; }
.legal-meta { margin-top: 10px; color: var(--ink-soft); }
.legal h2 { margin-top: 44px; font-size: 1.5rem; font-weight: 600; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--blue); font-weight: 600; }
.legal dl { margin: 16px 0 0; display: grid; gap: 4px 20px; padding: 20px 22px; background: var(--mist); }
@media (min-width: 640px) { .legal dl { grid-template-columns: max-content 1fr; } }
.legal dt { font-weight: 600; }
.legal dd { margin: 0 0 8px; }
.notfound { text-align: center; max-width: 660px; margin-inline: auto; }
.notfound-num { font-weight: 700; font-size: clamp(6.5rem, 4.5rem + 10vw, 11rem); line-height: .9; letter-spacing: -.02em; color: var(--blue); }
.notfound h1 { margin-top: 18px; font-size: clamp(1.95rem, 1.5rem + 1.7vw, 2.7rem); }
.notfound p { margin-top: 14px; color: var(--ink-soft); }
.notfound .hero-ctas { justify-content: center; }

/* ── Aviso de vista previa (solo en la copia de previsualización) ──────── */
.preview-bar { position: relative; z-index: 70; background: var(--ink); color: var(--white); font-size: .9rem; font-weight: 500; text-align: center; padding: 8px 16px; }
.preview-bar strong { color: var(--sun); }

/* ── Aparición al hacer scroll (solo navegadores compatibles, sin JS) ─── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
  }
}
@keyframes reveal { from { opacity: .001; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
