/* AFA Pinturas y Decoración — estilos
   Paleta tomada de la logo: negro y amarillo de rótulo de obra, con un dorado cálido
   de apoyo. Tipografía pesada y geométrica como en la logo. */

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #0b0b0c;
  --navy-2: #17171a;
  --navy-3: #26262b;
  --orange: #ff9f0a;
  --amber: #ffc400;
  --berry: #8a5300;
  --paper: #f6f4ee;
  --white: #fff;
  --ink: #141414;          /* texto sobre claro */
  --ink-2: #4a463d;        /* secundario sobre claro (≥7:1 sobre --paper) */
  --mist: #d9d5ca;         /* secundario sobre azul noche */
  --line: rgba(11, 11, 12, .14);
  --danger: #b3261e;

  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-panel: 24px;
  --r-field: 12px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
code { font: 600 .9em ui-monospace, Menlo, Consolas, monospace; background: rgba(0,0,0,.08); padding: .1em .4em; border-radius: 6px; }
::selection { background: var(--amber); color: var(--navy); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sec--paper :focus-visible, .site-header :focus-visible { outline-color: var(--navy-3); }
.sec--paper .btn--primary:focus-visible { outline-color: var(--navy); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

/* ───── tipografía ───── */
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.1rem + 2.7vw, 3rem); line-height: 1.08; letter-spacing: -.012em; text-transform: uppercase; }
h2 { font-size: clamp(1.65rem, 1.05rem + 2vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.2; }
.h3like { font: 700 1.25rem/1.2 var(--display); margin-bottom: 18px; }
p { max-width: 64ch; text-wrap: pretty; }

/* ───── botones ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .75em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--display); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: var(--navy); }
.btn--primary:hover { background: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: .5em 1.2em; font-size: .95rem; }
.link { display: inline-flex; align-items: center; gap: .4em; font: 700 1rem var(--display); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link:hover { border-bottom-color: var(--navy); }
.ic { flex: none; }

/* ───── cabecera ───── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.brand img { border-radius: 50%; background: var(--navy); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font: 700 1.35rem var(--display); letter-spacing: .02em; }
.brand__text span { font-size: .78rem; color: var(--mist); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--orange); }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 10px; margin-right: -10px; cursor: pointer; border-radius: 10px; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--navy); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 28px var(--gutter) 40px; gap: 28px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a:not(.btn) { display: block; font: 700 1.25rem var(--display); padding: 18px 0; border: 0; }
  .nav__cta { min-height: 56px; font-size: 1.05rem; }
}

/* ───── hero ───── */
.hero { position: relative; overflow: hidden; background: var(--navy); isolation: isolate; }
/* Franja diagonal de la esquina de la logo */
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 46%; height: 150px;
  background: linear-gradient(110deg, var(--berry) 0%, var(--orange) 50%, var(--amber) 100%);
  clip-path: polygon(0 0, 100% 0, 58% 44%, 26% 72%, 0 100%);
  opacity: .92;
}
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(28px, 5vw, 72px); padding-block: clamp(56px, 9vw, 120px); }
.hero__copy { color: var(--white); }
.hero__copy h1 { margin-top: 0; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.hero__lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #efece4; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__where { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--amber); font-weight: 600; }

.hero__art { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.hero__ring { position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from 210deg, var(--amber), var(--orange), var(--berry), var(--orange), var(--amber)); z-index: -1; }
.wipe { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--navy-2); }
.wipe__layer { position: absolute; inset: 0; }
.wipe__layer .scene, .wipe__layer img { width: 100%; height: 100%; }
.wipe__layer img { object-fit: cover; display: block; }
.hero__art--photo { width: min(100%, 600px); aspect-ratio: 16 / 10; }
.hero__art--photo .wipe, .hero__art--photo .hero__ring { border-radius: 28px; }
.hero__art--photo .wipe__roller { top: 8%; width: 9%; }
.wipe__before { clip-path: inset(0 0 0 100%); }
.wipe__roller { position: absolute; top: 14%; left: 100%; width: 11%; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); opacity: 0; }
.roller { width: 100%; height: auto; }

/* La pasada del rodillo: una sola vez al cargar. Sin movimiento → estado final. */
@media (prefers-reduced-motion: no-preference) {
  .wipe__before { clip-path: inset(0 0 0 0); animation: wipe-clip 1.9s .45s cubic-bezier(.6, .05, .25, 1) forwards; }
  .wipe__roller { left: 0; opacity: 1; animation: wipe-roll 1.9s .45s cubic-bezier(.6, .05, .25, 1) forwards, roller-out .35s 2.3s forwards; }
}
@keyframes wipe-clip { to { clip-path: inset(0 0 0 100%); } }
@keyframes wipe-roll { to { left: 100%; } }
@keyframes roller-out { to { opacity: 0; } }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { width: min(60%, 300px); order: -1; margin-top: 8px; }
  .hero__art--photo { width: 100%; }
  .hero::before { width: 100%; height: 110px; }
  .hero__grid { gap: 36px; padding-block: 40px 56px; }
  .hero__copy { text-align: left; }
}

/* ───── secciones ───── */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec--tight { padding-block: clamp(32px, 5vw, 56px); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--navy { background: var(--navy); color: var(--white); }
.sec--navy2 { background: var(--navy-2); color: var(--white); }
.sec--navy p, .sec--navy2 p { color: #e6e2d8; }
.sec__head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.sec--navy .sec__head p, .sec--navy2 .sec__head p { color: #e6e2d8; }
.sec__cta { margin-top: 44px; }

.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--orange); margin-top: 3px; }
.ticks--dark .ic { color: var(--berry); }

/* ───── servicios ───── */
.svcs { display: grid; gap: clamp(40px, 6vw, 88px); }
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.svc:nth-child(even) .svc__panel { order: 2; }
.svc__panel {
  position: relative; background: var(--navy); border-radius: var(--r-panel); color: var(--orange);
  padding: clamp(28px, 4vw, 48px); aspect-ratio: 1.15; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.svc__panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--berry); opacity: .55; }
.svc__panel--photo { padding: 0; justify-content: flex-end; }
.svc__panel--photo::after { display: none; }
.svc__panel--photo .svc__band { margin-bottom: clamp(20px, 3vw, 36px); }
.svc__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.svc__pair { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--white); }
.svc__pair img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.svc__tag { position: absolute; top: 14px; z-index: 2; background: var(--navy); color: var(--white); font: 700 .8rem var(--display); padding: 5px 12px; border-radius: 999px; }
.svc__tag--l { left: 14px; }
.svc__tag--r { right: 14px; background: var(--orange); color: var(--navy); }
.picto { width: clamp(110px, 17vw, 200px); height: auto; position: relative; z-index: 1; }
.svc__band { position: relative; z-index: 1; margin-inline: -16px; padding: 14px 28px 16px; }
.svc__band .brush { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc__band span { position: relative; font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem)/1 var(--display); color: var(--navy); text-transform: uppercase; letter-spacing: .01em; }
.svc__copy h3 { margin-bottom: 14px; }
.svc__copy > p { color: var(--ink-2); margin-bottom: 22px; }
.svc__cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.svc__copy .link { color: var(--ink); }
@media (max-width: 820px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__panel { order: 0; }
  .svc__panel { aspect-ratio: 1.6; }
}

/* ───── antes / después ───── */
.res { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.res__copy p { margin-top: 16px; }
.res__cap { margin-top: 20px; font-size: .95rem; color: var(--mist) !important; }
.res__cap code { background: rgba(255,255,255,.12); }
.ba { --pos: 50%; position: relative; aspect-ratio: 1.2; border-radius: var(--r-panel); overflow: hidden; background: var(--navy-2); touch-action: pan-y; user-select: none; box-shadow: 0 0 0 4px var(--orange); }
.ba--photo { aspect-ratio: 3 / 4; max-width: 520px; width: 100%; justify-self: center; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer .scene, .ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 16px; z-index: 3; background: var(--navy); color: var(--white); font: 700 .85rem var(--display); padding: 6px 14px; border-radius: 999px; }
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; background: var(--orange); color: var(--navy); }
.ba__handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--white); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--amber); border: 4px solid var(--white); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -7px; border: 7px solid transparent; }
.ba__handle span::before { left: 6px; border-right-color: var(--navy); border-left-width: 0; }
.ba__handle span::after { right: 6px; border-left-color: var(--navy); border-right-width: 0; }
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) .ba__handle span { outline: 3px solid var(--white); outline-offset: 3px; }
@media (max-width: 880px) { .res { grid-template-columns: 1fr; } .ba { aspect-ratio: 1.1; } .ba--photo { aspect-ratio: 3 / 4; } }

/* ───── proceso ───── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); counter-reset: s; }
.steps li { position: relative; padding-top: 72px; }
.steps li::before { content: ""; position: absolute; top: 27px; left: 56px; right: -44px; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 24px); }
.steps li:last-child::before { display: none; }
.steps__n { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--amber); font: 700 1.5rem/56px var(--display); text-align: center; }
.steps h3 { margin-bottom: 10px; font-size: 1.2rem; }
.steps p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 76px; min-height: 56px; }
  .steps li:not(:last-child)::before { display: block; top: 62px; bottom: -28px; left: 27px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 10px, transparent 10px 18px); }
}

/* ───── por qué ───── */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.why__head p { margin-top: 18px; }
.why__list { display: grid; gap: 28px 40px; grid-template-columns: 1fr 1fr; }
.why__list div { padding-top: 18px; border-top: 3px solid var(--orange); }
.why__list dt { font: 700 1.15rem/1.25 var(--display); margin-bottom: 8px; }
.why__list dd { color: #e6e2d8; font-size: 1rem; }
.why__ticks { font-size: 1.1rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why__list { grid-template-columns: 1fr; } }

/* ───── galería ───── */
.g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g__item { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--navy-2); }
.g:has(.g__item--pair) { display: flex; flex-wrap: wrap; justify-content: center; }
.g__item--pair { aspect-ratio: auto; flex: 0 1 calc((100% - 32px) / 3); background: var(--navy); display: flex; flex-direction: column; }
.g__pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; aspect-ratio: 3 / 2.2; background: var(--white); }
.g__pair img { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
@media (max-width: 900px) { .g__item--pair { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 520px) { .g__item--pair { flex-basis: 100%; } }
.g__item img, .g__item .scene { width: 100%; height: 100%; object-fit: cover; }
.g__item figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--navy); color: var(--white); font: 700 .85rem var(--display); padding: 6px 14px; border-radius: 999px; }
@media (max-width: 900px) { .g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .g { gap: 10px; } .g__item { border-radius: 14px; } }

/* ───── otros trabajos (antes · durante · después) ───── */
.ow-sets { display: grid; gap: clamp(28px, 4vw, 48px); }
.ow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ow__item { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-3); }
.ow__item img { width: 100%; height: 100%; object-fit: cover; }
.ow__item figcaption { position: absolute; left: 14px; top: 14px; background: var(--navy); color: var(--white); font: 700 .85rem var(--display); padding: 6px 14px; border-radius: 999px; }
.ow__item:last-child figcaption { background: var(--amber); color: var(--navy); }
@media (max-width: 700px) { .ow { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.ow__more-title { margin: clamp(40px, 6vw, 72px) 0 20px; font: 700 clamp(1.3rem, 1.1rem + 1vw, 1.7rem) var(--display); }
/* vídeos: uno al lado del otro, como las fotos (5 / 3 / 2 por fila; la última fila queda centrada) */
.ow-videos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ow__video { display: block; flex: 0 0 calc((100% - 4 * 12px) / 5); width: calc((100% - 4 * 12px) / 5); min-width: 0; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 14px; background: #000; }
@media (max-width: 900px) { .ow__video { flex-basis: calc((100% - 2 * 12px) / 3); width: calc((100% - 2 * 12px) / 3); } }
@media (max-width: 560px) { .ow-videos { gap: 8px; } .ow__video { flex-basis: calc((100% - 8px) / 2); width: calc((100% - 8px) / 2); border-radius: 10px; } }
.ow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ow-grid figure { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-3); }
.ow-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .ow-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ow-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .ow-grid figure { border-radius: 10px; } }

/* ───── opiniones ───── */
.rating { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; flex-wrap: wrap; }
.rating strong { font: 700 2rem var(--display); }
.star { color: var(--amber); fill: var(--amber); }
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.quotes blockquote { margin: 0; padding: 26px; background: var(--navy); border-radius: 18px; height: 100%; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.quotes footer { font-weight: 600; color: var(--amber); }

/* ───── zona ───── */
.zona { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.zona p { margin-top: 18px; }
.zona__lists h3 { font-size: 1.05rem; margin: 0 0 14px; color: var(--mist); font-family: var(--body); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chips li { border: 2px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 18px; font-weight: 600; }
.chips--main li { background: var(--amber); border-color: var(--amber); color: var(--navy); font-family: var(--display); font-weight: 700; }
@media (max-width: 860px) { .zona { grid-template-columns: 1fr; } }

/* ───── faq ───── */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font: 700 1.12rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--berry); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 4px 26px; color: var(--ink-2); max-width: 66ch; }
.faq summary:hover { color: var(--berry); }

/* ───── presupuesto ───── */
.sec--swoosh { position: relative; overflow: hidden; isolation: isolate; }
.sec--swoosh::before { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 38%; height: 150px; background: linear-gradient(250deg, var(--berry), var(--orange) 55%, var(--amber)); clip-path: polygon(100% 0, 100% 100%, 0 100%, 42% 56%); }
.budget { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.budget__copy p { margin-top: 18px; }
.budget__copy .ticks { margin-top: 24px; }
.budget__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px !important; }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-panel); padding: clamp(22px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 2px solid #c9c4b6; border-radius: var(--r-field); padding: 13px 14px; min-height: 52px;
  transition: border-color .15s;
}
.field input, .field select { height: 58px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: #7a766a; }
.field.is-invalid input { border-color: var(--danger); }
.err { color: var(--danger); font-size: .9rem; font-weight: 600; min-height: 0; }
.form__note { font-size: .88rem; color: var(--ink-2) !important; }
.form .btn { width: 100%; }
@media (max-width: 900px) { .budget { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ───── páginas de servicio ───── */
.phero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.phero::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 42%; height: 120px; background: linear-gradient(110deg, var(--berry), var(--orange) 50%, var(--amber)); clip-path: polygon(0 0, 100% 0, 58% 44%, 26% 72%, 0 100%); opacity: .9; }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.phero .hero__lead { max-width: 52ch; }
.svc__panel--hero { aspect-ratio: 1.15; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: .92rem; font-weight: 600; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.crumbs a:hover { border-bottom-color: var(--amber); }
.crumbs span[aria-current] { color: var(--amber); }
.phero h1 { font-size: clamp(1.9rem, 1.1rem + 3vw, 3.1rem); }
.pill-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-links a { display: inline-flex; gap: 8px; align-items: center; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 20px; text-decoration: none; font: 700 1rem var(--display); transition: background-color .2s, color .2s; }
.pill-links a:hover { background: var(--navy); color: var(--white); }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } .svc__panel--hero { aspect-ratio: 1.8; } }

/* ───── pie ───── */
.site-footer { background: #050506; color: var(--white); padding-top: clamp(52px, 7vw, 88px); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); padding-bottom: 48px; }
.foot__id img { border-radius: 50%; margin-bottom: 20px; }
.foot__id p { color: var(--mist); font-size: .98rem; }
.foot__h { font: 700 1.05rem var(--display); margin-bottom: 18px; }
.foot__list { display: grid; gap: 12px; color: var(--mist); }
.foot__list a { text-decoration: none; border-bottom: 1px solid transparent; }
.foot__list a:hover { color: var(--white); border-bottom-color: var(--orange); }
.foot__list--ic li { display: flex; gap: 12px; align-items: flex-start; }
.foot__list--ic .ic { color: var(--orange); margin-top: 4px; }
.foot__social { display: flex; gap: 18px; margin-top: 18px; }
.foot__legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px 96px; font-size: .88rem; color: var(--mist); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } }

/* ───── icono flotante de WhatsApp (siempre visible, acompaña la rolagem) ───── */
.wa-float {
  position: fixed; z-index: 90; right: 20px; bottom: 20px; display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 3px rgba(255,255,255,.9);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 0 0 3px #fff; }
.wa-float:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.menu-open .wa-float { display: none; }
@media (max-width: 720px) { .wa-float { right: 14px; bottom: 14px; width: 58px; height: 58px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0s !important; animation: none !important; }
}
