/* Puntoweb Studio — estilos */
@font-face {
  font-family: "Jakarta";
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #071629;
  --navy-900: #0B1F38;
  --navy-800: #12305A;
  --navy-700: #1B4277;
  --navy-100: #DCE6F3;
  --navy-50:  #EEF3FA;
  --ink: #142033;
  --muted: #4A5869;
  --line: #DDE3EB;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --amber: #F2A33A;
  --amber-soft: #FDF1DF;
  --wa: #128043;
  --wa-hover: #0E6A37;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11,31,56,.06), 0 2px 8px rgba(11,31,56,.05);
  --shadow: 0 2px 6px rgba(11,31,56,.06), 0 16px 40px -12px rgba(11,31,56,.18);
  --font: "Jakarta", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--navy-900); }
p { margin: 0; }
a { color: var(--navy-700); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  padding: .95em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  min-height: 52px; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1.12rem; padding: 1.05em 1.6em; min-height: 60px; }
.btn-sm { font-size: .95rem; padding: .6em 1.1em; min-height: 44px; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(18,128,67,.6); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { color: var(--navy-800); border-color: var(--navy-100); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; flex: none; color: var(--navy-900); text-decoration: none; }
.logo { height: 38px; width: auto; display: block; overflow: visible; }
.logo-word { font-family: var(--font); font-size: 23px; font-weight: 800; letter-spacing: -0.03em; fill: currentColor; }
.logo-studio { font-weight: 500; fill: var(--navy-700); letter-spacing: -0.01em; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover { background: var(--navy-50); color: var(--navy-800); }
.header-cta { margin-left: 8px; }
/* Enlace a Herramientas visible cuando el menú se oculta (móvil y tablet) */
.nav-tools { display: none; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); font-weight: 700; font-size: .95rem; text-decoration: none; }
.nav-tools:hover, .nav-tools[aria-current="page"] { background: var(--navy-100); }

/* ---------- Portada ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(64,120,200,.35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(242,163,58,.12), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 104px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--navy-100); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,163,58,.2); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; margin: 22px 0 20px; letter-spacing: -0.035em; }
.hl { color: var(--amber); white-space: nowrap; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #D3DEEC; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #C7D4E5; font-size: 1rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--amber); }

/* Foto + móvil de muestra */
.hero-visual { position: relative; min-height: 560px; }
.hero-photo {
  position: absolute; top: 0; right: 0; width: 84%; height: 86%; margin: 0;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -24px rgba(0,0,0,.6);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 30%; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(7,22,41,.45)); }
.phone {
  width: 280px; aspect-ratio: 9 / 18.5; background: #0A1424; border-radius: 42px; padding: 12px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.1), 0 40px 80px -20px rgba(0,0,0,.7);
  position: absolute; left: 0; bottom: 0; z-index: 2;
  transform-origin: bottom left; transform: rotate(-4deg) scale(.82);
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 22px; margin-left: -40px; background: #0A1424; border-radius: 12px; z-index: 2; }
.phone-screen { height: 100%; background: #fff; border-radius: 32px; overflow: hidden; padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-logo { width: 70px; height: 12px; border-radius: 6px; background: var(--navy-800); }
.m-menu { width: 20px; height: 12px; border-top: 3px solid var(--navy-800); border-bottom: 3px solid var(--navy-800); }
.m-hero { background: linear-gradient(135deg, #1F2A36, #3A4A5C); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.m-tag { align-self: flex-start; font-size: 10px; font-weight: 700; color: #1F2A36; background: var(--amber); padding: 2px 8px; border-radius: 99px; }
.m-h { color: #fff; font-weight: 800; font-size: 17px; line-height: 1.15; letter-spacing: -0.02em; }
.m-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,.3); }
.m-line.short { width: 60%; }
.m-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-btn { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 10px 6px; border-radius: 10px; color: #fff; }
.m-btn svg { width: 14px; height: 14px; }
.m-btn.call { background: var(--navy-800); }
.m-btn.wa { background: var(--wa); }
.m-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-cards span { height: 46px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.m-map { flex: 1; min-height: 60px; border-radius: 12px; position: relative; background:
  linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%),
  linear-gradient(0deg, transparent 40%, #fff 40% 45%, transparent 45%),
  linear-gradient(30deg, #E4ECF3, #D6E3EC); }
.m-pin { position: absolute; left: 50%; top: 42%; width: 18px; height: 18px; margin: -18px 0 0 -9px; background: #E0453A; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); font-size: .9rem; line-height: 1.3;
}
.float-card svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--navy-50); color: var(--navy-800); flex: none; }
.float-card strong { display: block; color: var(--navy-900); }
.float-card small { color: var(--muted); font-size: .85rem; }
.fc-google { top: 28px; left: 4%; }
.fc-call { bottom: 4%; right: -2%; }
.fc-call svg { background: #E3F4EA; color: var(--wa); }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; scroll-margin-top: 64px; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.kicker { display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 12px; }
.kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 10px; vertical-align: middle; transform: translateY(-1px); }
.section-head h2, .contact-text h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); font-weight: 800; }
.sub { color: var(--muted); font-size: 1.12rem; margin-top: 16px; }
.on-dark .kicker { color: var(--navy-100); }
.on-dark h2 { color: #fff; }
.on-dark .sub { color: #C7D4E5; }

/* Qué hago */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.s-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-50); color: var(--navy-800); margin-bottom: 18px; }
.s-ico svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 1.02rem; }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.browser { --c1: #1F2A36; --c2: #3A4A5C; --acc: #F2A33A; background: #E9EEF4; padding: 18px 18px 0; }
.t-pelu { --c1: #5A2E4A; --c2: #9C5B7E; --acc: #F4C7D6; background: #F4ECF1; }
.t-bar  { --c1: #3E2A1C; --c2: #7A5234; --acc: #E9C46A; background: #F3EEE6; }
.b-bar { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px 10px 0 0; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.b-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5DCE4; }
.b-url { margin-left: 10px; font-size: 11px; color: var(--muted); background: var(--bg-soft); border-radius: 6px; padding: 2px 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-body { background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 10px; height: 210px; }
.d-nav { display: flex; align-items: center; gap: 8px; }
.d-nav b { width: 54px; height: 10px; border-radius: 5px; background: var(--c1); margin-right: auto; }
.d-nav span { width: 26px; height: 6px; border-radius: 3px; background: #D5DCE4; }
.d-hero { border-radius: 10px; padding: 16px 14px; background: linear-gradient(135deg, var(--c1), var(--c2)); display: flex; flex-direction: column; gap: 7px; min-height: 112px; justify-content: flex-end; }
.t-taller .d-hero { background: linear-gradient(90deg, rgba(20,28,38,.88) 30%, rgba(20,28,38,.15)), url("img/muestra-taller-720.webp") 70% 40% / cover; }
.t-pelu .d-hero { background: linear-gradient(90deg, rgba(70,30,55,.85) 30%, rgba(70,30,55,.1)), url("img/muestra-pelu-720.webp") 60% 40% / cover; }
.t-bar .d-hero { background: linear-gradient(90deg, rgba(50,30,15,.88) 30%, rgba(50,30,15,.1)), url("img/muestra-bar-720.webp") 60% 60% / cover; }
.d-h { color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -0.02em; line-height: 1.2; }
.d-l { height: 6px; border-radius: 3px; background: rgba(255,255,255,.3); width: 80%; }
.d-l.s { width: 50%; }
.d-cta { display: flex; gap: 6px; margin-top: 4px; }
.d-cta span { width: 60px; height: 18px; border-radius: 99px; background: var(--acc); }
.d-cta span + span { background: #25A35A; }
.d-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.d-grid span { border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); }
.project-info { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.badge-sample { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7A4A06; background: var(--amber-soft); border: 1px dashed #E3A653; padding: 4px 10px; border-radius: 6px; }
.project-info h3 { font-size: 1.25rem; margin: 14px 0 6px; }
.project-info p { color: var(--muted); font-size: 1rem; }
.projects-note { text-align: center; margin-top: 36px; color: var(--muted); }
.projects-note a { font-weight: 700; }

/* Herramientas gratis (portada) */
.free-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.free-tool { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.free-tool p { flex: 1; }
.free-go { margin-top: 14px; font-weight: 700; color: var(--navy-700); }
.section-tools { padding: clamp(48px, 6vw, 72px) 0; }
.section-tools .section-head { margin-bottom: clamp(24px, 3vw, 36px); }

/* Pie: grupo de herramientas + grupo legal */
.footer-navs { display: grid; gap: 12px; justify-items: end; }
.footer-navs:first-child { justify-items: start; }
.footer-legal-links a { font-weight: 500; color: #C9D5E3; }
@media (max-width: 640px) { .free-tools { grid-template-columns: 1fr; } }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.3rem; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.03em; margin: 12px 0 6px; line-height: 1.1; }
.price .from { display: block; font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .per { font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-desc { color: var(--muted); font-size: 1rem; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.checks li { position: relative; padding-left: 32px; font-size: 1rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2312305A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan-featured { border: 2px solid var(--navy-800); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -14px; left: 28px; background: var(--navy-800); color: #fff; font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* Precios: cuatro planes, banda de incluidos, condiciones y preguntas */
.plans-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plans-4 .plan { padding: 32px 22px 26px; }
.plans-4 .plan h3 { font-size: 1.22rem; min-height: 2.3em; }
.plans-4 .price { font-size: 2.5rem; margin: 10px 0 0; }
.plans-4 .checks { margin: 20px 0 26px; align-content: start; }
.plans-4 .checks li { font-size: .98rem; line-height: 1.5; }
.plans-4 .check-all { font-weight: 700; color: var(--navy-900); }
.plans-4 .plan-tag { left: 22px; }
.plan-soft { background: var(--bg-soft); }

.included { margin-top: 28px; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--radius); padding: 24px 28px; }
.included h3 { font-size: 1.15rem; margin-bottom: 14px; }
.included-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.included-list li { position: relative; padding-left: 32px; font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--navy-900); }
.included-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23071629' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }

.plan-monthly { margin-top: 16px; background: #fff; border: 1px dashed var(--navy-100); border-radius: var(--radius); padding: 18px 28px; font-size: 1.05rem; text-align: center; }
.plan-monthly strong { color: var(--navy-900); }
.plan-terms { max-width: 760px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: .92rem; line-height: 1.55; }

.faq { max-width: 760px; margin: clamp(44px, 6vw, 68px) auto 0; display: grid; gap: 12px; scroll-margin-top: 88px; }
.faq-title { font-size: clamp(1.4rem, 2.6vw, 1.7rem); text-align: center; margin-bottom: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; font-weight: 700; color: var(--navy-900); padding: 17px 56px 17px 20px; min-height: 56px; line-height: 1.35; border-radius: var(--radius-sm); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2312305A' stroke-width='3' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.faq-item p { padding: 0 20px 18px; color: var(--muted); font-size: 1rem; }

@media (max-width: 1100px) {
  .plans.plans-4 { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .plans-4 .plan { padding: 32px 26px 28px; }
  .plans-4 .plan h3 { min-height: 0; }
  .plans-4 .plan-featured { order: 0; }
  .included-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .plans.plans-4 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .included, .plan-monthly { max-width: 560px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
  .included-list { grid-template-columns: 1fr; }
  .plan-monthly { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

.price s { font-weight: 600; color: var(--muted); text-decoration-thickness: 2px; text-decoration-color: #C2410C; }
.price .off { display: inline-block; margin-left: 4px; font-size: .8rem; font-weight: 800; color: #fff; background: #C2410C; padding: 1px 7px; border-radius: 6px; vertical-align: 1px; }

/* Black Friday */
.promo-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  background: #0A0A0A; color: #fff; text-decoration: none; font-size: .98rem;
  padding: 10px var(--gutter); text-align: center;
}
.promo-bar:hover .promo-link { text-decoration: underline; }
.promo-pill, .promo-tag { font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: var(--amber); color: #0A0A0A; padding: 3px 10px; border-radius: 999px; }
.promo-bar strong { color: var(--amber); }
.promo-link { font-weight: 700; color: var(--amber); }
.promo-box {
  display: flex; align-items: center; gap: 16px; max-width: 820px; margin: -16px auto 44px;
  background: #0A0A0A; color: #E8E8E8; border-radius: var(--radius); padding: 18px 24px;
}
.promo-box strong { color: #fff; }
.promo-tag { flex: none; }

/* Cómo trabajo */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; position: relative; }
.work-photo { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.step { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 26px; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--navy-950); font-weight: 800; font-size: 1.4rem; margin-bottom: 18px; }
.step h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: #C7D4E5; font-size: 1.02rem; }

/* Contacto */
.contact-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.contact-actions { display: grid; gap: 14px; }
.contact-actions .btn-outline { word-break: break-all; }

/* Pie */
.site-footer { background: var(--navy-950); color: #A9B8CB; padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.logo-footer { color: #fff; height: 36px; }
.logo-footer .logo-studio { fill: #A9C2E3; }
.footer-claim { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .9rem; }

/* WhatsApp flotante (solo móvil) */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; display: none; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px -6px rgba(0,0,0,.45);
  transition: transform .25s, opacity .25s;
}
.wa-float svg { width: 34px; height: 34px; }

/* Animación de entrada (solo si hay JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service:hover { transform: none; }
}

/* ---------- Responsive ---------- */
/* Con "Herramientas gratis" el menú necesita ~1240 px; por debajo se usa el botón compacto */
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .nav-tools { display: inline-flex; margin-left: auto; white-space: nowrap; }
  .nav-tools ~ .header-cta { margin-left: 8px; }
}
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 500px; margin-top: 8px; }
  .hero-photo { width: 88%; }
  .phone { transform: rotate(-4deg) scale(.7); }
  .fc-call { right: 0; }
  .work-photo { aspect-ratio: 16 / 9; }
  .projects, .plans, .steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .plan-featured { order: -1; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-navs { justify-items: start; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .header-inner { min-height: 64px; }
  .logo { height: 32px; }
  .header-cta { display: none; }
  .header-inner { gap: 10px; }
  .logo { height: 28px; }
  .nav-tools { font-size: .85rem; padding: 7px 12px; }
}
@media (max-width: 359px) {
  .nav-tools { white-space: normal; text-align: center; line-height: 1.15; max-width: 110px; padding: 5px 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; }
  .hl { white-space: normal; }
  .services { grid-template-columns: 1fr; }
  .promo-bar { font-size: .9rem; }
  .promo-link { display: none; }
  .promo-box { flex-direction: column; align-items: flex-start; text-align: left; margin-top: -8px; }
  .float-card { font-size: .82rem; padding: 10px 12px; }
  .float-card svg { width: 30px; height: 30px; padding: 6px; }
  .hero-visual { min-height: 420px; }
  .hero-photo { width: 92%; height: 84%; border-radius: 22px; }
  .phone { transform: rotate(-4deg) scale(.56); }
  .fc-google { left: auto; right: 12px; top: 14px; }
  .fc-call { right: -4px; bottom: 2%; }
  .work-photo { aspect-ratio: 4 / 3; margin-bottom: 24px; }
  .wa-float { display: grid; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Botón principal (ámbar) ---------- */
.btn-primary { background: var(--amber); color: var(--navy-950); box-shadow: 0 8px 20px -8px rgba(242,163,58,.7); }
.btn-primary:hover { background: #F5B45A; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* ---------- /contacto/: formulario de propuesta ---------- */
.contacto { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); background: var(--bg-soft); }
.contacto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contacto h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.contacto-checks { margin: 24px 0; }
.contacto-alt { color: var(--muted); font-size: 1rem; }
.contacto-alt a { font-weight: 700; color: var(--wa); white-space: nowrap; }
.pform { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.pf-row { display: grid; gap: 6px; }
.pf-row label { font-weight: 700; font-size: 1rem; color: var(--navy-900); }
.pf-opt { font-weight: 500; color: var(--muted); }
.pform input[type=text], .pform select, .pform textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink); width: 100%;
  padding: 12px 14px; min-height: 52px; border: 1.5px solid #C9D3DF; border-radius: var(--radius-sm); background: #fff;
}
.pform textarea { resize: vertical; min-height: 110px; }
.pform input:focus, .pform select:focus, .pform textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px var(--navy-100); }
.pf-help { color: var(--muted); font-size: .9rem; }
.pf-check { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; cursor: pointer; }
.pf-check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--navy-800); }
.pf-error { background: #FDECEC; color: #9B1C1C; border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600; font-size: .98rem; }
.pf-error[hidden] { display: none; }
.pf-note { color: var(--muted); font-size: .9rem; text-align: center; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contacto-grid { grid-template-columns: 1fr; } }

/* ---------- /gracias/ ---------- */
.gracias { padding: clamp(48px, 10vw, 120px) 0; background: var(--bg-soft); }
.gracias-card { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 6vw, 56px); box-shadow: var(--shadow); }
.gracias-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #E3F4EA; color: var(--wa); margin-bottom: 18px; }
.gracias-ico svg { width: 38px; height: 38px; }
.gracias h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; }
.gracias .sub { font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.gracias-mas { color: var(--muted); margin-top: 12px; }
.gracias-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- Páginas legales ---------- */
.legal { padding: clamp(40px, 7vw, 80px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .95rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal p, .legal li { color: #2B3747; margin-bottom: 12px; }
.legal ul { padding-left: 1.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 12px 0 20px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 24px; }
