/* BEC Construcciones Eléctricas — sistema visual propio
   Tinta oscura + amarillo de alta tensión · Saira Condensed / Public Sans / JetBrains Mono
   Retícula de plano técnico y numeración monoespaciada; desde 21-11 capa «Framer» al final (radios, píldoras, entradas). */

:root {
  --ink: #0E1116;
  --ink-2: #151A21;
  --ink-3: #1D242D;
  --steel: #2B333E;
  --paper: #F2F3EF;
  --white: #FFFFFF;
  --text: #11151A;
  --muted: #59626D;
  --muted-d: #98A1AC;
  --line: #D9DCD5;
  --line-d: rgba(255, 255, 255, .1);
  --volt: #FFD000;
  --volt-2: #FFE15C;
  --volt-ink: #171300;
  --head-h: 88px;
  --wrap: 1600px;
  --gutter: clamp(16px, 3vw, 48px);
  --cond: "Saira Condensed", "Arial Narrow", sans-serif;
  --sans: "Public Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 700; line-height: 1; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--volt); color: var(--volt-ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 12px 20px; font: 600 15px/1 var(--sans); border: 1.5px solid transparent; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--volt { background: var(--volt); color: var(--volt-ink); }
.btn--volt:hover { background: var(--volt-2); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.btn--ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--steel); }
.link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--volt); }
.link .ico { transition: transform .2s; }
.link:hover .ico { transform: translateX(4px); }

/* Cabecera */
.head { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); }
.head__in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__img { height: 70px; width: auto; flex: none; }
.logo__txt { font: 700 17px/1.02 var(--cond); text-transform: uppercase; letter-spacing: .04em; color: var(--white); padding-left: 12px; border-left: 2px solid var(--volt); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > a { padding: 10px 14px; font-weight: 500; font-size: 15px; color: #D5DAE0; position: relative; }
.nav > a:hover, .nav__drop > a:hover, .nav a.is-active { color: var(--white); }
.nav > a.is-active::after, .nav__drop > a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--volt); }
.nav > a.nav__cta { display: inline-flex; align-items: center; gap: 10px; margin-left: 14px; padding: 9px 18px 9px 14px; background: var(--volt); color: var(--volt-ink); font: 800 21px/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; border-radius: 2px; box-shadow: 0 0 0 0 rgba(255,208,0,.5); transition: background .2s, transform .2s, box-shadow .2s; }
.nav > a.nav__cta:hover { background: var(--white); transform: translateY(-1px); box-shadow: 0 6px 22px -6px rgba(255,208,0,.6); }
.nav__cta > .ico { width: 24px; height: 24px; }
.nav__cta small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .04em; color: rgba(14,17,22,.72); margin-bottom: 3px; }
.head__quick { display: none; align-items: center; gap: 8px; margin-left: auto; }
.quick { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; min-width: 42px; padding: 0 10px; border-radius: 2px; }
.quick .ico { width: 20px; height: 20px; }
.quick--tel { border: 1.5px solid var(--line-d); color: var(--volt); }
.quick--wa { background: var(--volt); color: var(--volt-ink); font: 800 16px/1 var(--cond); text-transform: uppercase; padding: 0 12px; }
.nav__drop { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 300px; background: #000; border: 1px solid rgba(255,255,255,.12); border-top: 2px solid var(--volt); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__drop:hover .nav__sub, .nav__drop:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; font-size: 14.5px; color: #D5DAE0; }
.nav__sub a .ico { color: var(--volt); }
.nav__sub a:hover { background: var(--ink-3); color: var(--white); }
.burger { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.burger .ico { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.phero::before, .shero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 70%, transparent 100%); }
.hero { min-height: calc(100svh - var(--head-h) - 38px); display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity 1.1s cubic-bezier(.22, 1, .36, 1), visibility 0s 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.1s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 78% 40%); }
.hero__slide::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.78) 32%, rgba(14,17,22,.25) 58%, rgba(14,17,22,0) 75%),
              linear-gradient(0deg, rgba(14,17,22,.85) 0%, rgba(14,17,22,0) 34%); }
.hero__in { position: relative; width: 100%; padding-top: 80px; padding-bottom: 170px; }
.hero__copy { max-width: 760px; }
.hero__h { font-size: clamp(46px, 5.8vw, 96px); font-weight: 800; line-height: .92; text-transform: uppercase; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__h em { font-style: normal; color: var(--volt); }
.hero__lead { max-width: 580px; margin: 26px 0 34px; font-size: 18px; color: #D3D9DF; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__nav { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; pointer-events: none; }
.hero__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-bottom: 32px; }
.hero__tab { pointer-events: auto; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; text-align: left; background: none; border: 0; padding: 0 0 6px; color: rgba(255,255,255,.55); cursor: pointer; font: inherit; transition: color .3s; }
.hero__tab:hover, .hero__tab.is-active { color: var(--white); }
.hero__bar { grid-column: 1 / -1; height: 3px; margin-bottom: 14px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.hero__bar i { display: block; height: 100%; width: 0; background: var(--volt); border-radius: inherit; }
.hero__tab.is-active .hero__bar i { width: 100%; }
.hero__tab .mono { color: var(--volt); }
.hero__tab strong { font: 700 21px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .01em; }

/* Frentes (carrusel original) */
.frentes { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--line-d); }
.frentes__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.frente { padding: 44px 36px 44px 0; display: flex; flex-direction: column; gap: 14px; }
.frente + .frente { padding-left: 36px; border-left: 1px solid var(--line-d); }
.frente__n { color: var(--volt); }
.frente__h { font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1.02; }
.frente p:not(.frente__n) { color: var(--muted-d); font-size: 15.5px; flex: 1; }

/* Secciones */
.sec { padding: 110px 0; position: relative; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec__head { margin-bottom: 52px; max-width: 760px; }
.sec__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--volt); }
.sec--ink .eyebrow { color: var(--muted-d); }
.sec__h { font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; text-transform: uppercase; line-height: .95; }


/* Proyectos */
.proyectos__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.proyectos__media { position: relative; }
.proyectos__media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proyectos__tag { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(14, 17, 22, .8); color: var(--white); }
.proyectos__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF4D3D; animation: pulse 2s infinite; }
.pilares { margin-top: 40px; border-top: 1px solid var(--line-d); }
.pilar { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-d); }
.pilar__n { grid-row: span 2; color: var(--volt); padding-top: 6px; }
.pilar h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }
.pilar p { color: var(--muted-d); font-size: 15.5px; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 28px 28px 0 0; border-top: 4px solid var(--ink); position: relative; }
.step::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; background: var(--volt); border: 4px solid var(--white); outline: 1px solid var(--ink); }
.step__n { color: var(--muted); display: block; margin: 6px 0 14px; }
.step h3 { font-size: 30px; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Héroes interiores */
.phero, .shero { position: relative; background: var(--ink); color: var(--white); padding: 84px 0 76px; overflow: hidden; }
.phero .wrap, .shero .wrap { position: relative; }
.crumbs { color: var(--muted-d); margin-bottom: 26px; }
.crumbs a:hover { color: var(--volt); }
.phero__h { font-size: clamp(38px, 10.5vw, 96px); overflow-wrap: break-word; hyphens: auto; font-weight: 800; text-transform: uppercase; line-height: .92; }
.phero__lead { max-width: 640px; margin: 22px 0 0; font-size: 18.5px; color: #C2C9D1; }
.shero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.shero .phero__lead { margin-bottom: 32px; }
.shero__ico { width: 56px; height: 56px; display: grid; place-items: center; background: var(--volt); color: var(--volt-ink); margin-bottom: 22px; }
.shero__ico .ico { width: 28px; height: 28px; }
.shero__fig { margin: 0; position: relative; }
.shero__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shero__fig::after { content: ""; position: absolute; right: -12px; bottom: -12px; width: 56px; height: 56px; border: 3px solid var(--volt); border-left: 0; border-top: 0; }

/* Tarjetas de servicios */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .25s; }
.svc-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.svc-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-card__n { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.svc-card__n .ico { width: 22px; height: 22px; color: var(--ink); }
.svc-card h2 { font-size: 30px; text-transform: uppercase; }
.svc-card p:not(.svc-card__n) { color: var(--muted); font-size: 15.5px; flex: 1; }
.svc-card .link { color: var(--ink); }
.svc-card .link .ico { color: var(--ink); }

/* Detalle de servicio */
.detail { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: start; }
.detail__text p { font-size: 19px; line-height: 1.7; }
.detail__box { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--volt); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.detail__box h2 { font-size: 13px; color: var(--muted); font-family: var(--mono); font-weight: 500; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; font-weight: 500; }
.checks .ico { color: var(--ink); background: var(--volt); padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mini { display: flex; flex-direction: column; gap: 18px; padding: 22px; border: 1px solid var(--line); font: 700 21px/1.05 var(--cond); text-transform: uppercase; transition: background .2s, border-color .2s; }
.mini > .ico:first-child { width: 26px; height: 26px; }
.mini span { flex: 1; }
.mini__go { width: 22px; height: 22px; transition: transform .2s; }
.mini:hover { background: var(--volt); border-color: var(--volt); }
.mini:hover .mini__go { transform: translateX(4px); }

/* Nosotros */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about__fig { margin: 0; }
.about__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__text .sec__h { margin-bottom: 28px; }
.about__text p { color: #333B45; font-size: 17.5px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.value { padding: 32px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line-d); }
.value .mono { color: var(--volt); }
.value h3 { font-size: 30px; text-transform: uppercase; margin: 14px 0 10px; }
.value p { color: var(--muted-d); font-size: 15.5px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--white); border: 1px solid var(--line); padding: 36px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full, .form__err, .form .btn { grid-column: 1 / -1; }
.field label { font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--sans); padding: 14px; border: 1.5px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.form__err { color: #B42318; font-size: 15px; }
.form .btn { justify-self: start; }
.contact__side { display: grid; gap: 12px; }
.cbox { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--ink); color: var(--white); font: 700 26px/1 var(--cond); }
.cbox > .ico { width: 28px; height: 28px; color: var(--volt); }
.cbox small { display: block; color: var(--muted-d); margin-bottom: 6px; font-weight: 400; }
a.cbox:hover { background: var(--steel); }
.cbox--social { flex-direction: column; align-items: flex-start; }

/* Pie */
.foot { background: var(--ink); color: var(--white); padding-top: 90px; }
.foot__cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 72px; border-bottom: 1px solid var(--line-d); }
.foot__big { font: 800 clamp(40px, 5vw, 72px)/.92 var(--cond); text-transform: uppercase; margin: 0; }
.foot__big span { color: var(--volt); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 40px; padding: 64px 0; }
.logo--foot { margin-bottom: 20px; }
.logo--foot .logo__img { height: 92px; width: auto; }
.foot__desc { color: var(--muted-d); font-size: 15px; max-width: 340px; }
.foot__h { font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-d); margin-bottom: 20px; }
.foot__list { display: grid; gap: 10px; font-size: 15px; color: #D5DAE0; }
.foot__list a { display: inline-flex; align-items: center; gap: 8px; }
.foot__list a:hover { color: var(--volt); }
.foot__list .ico { color: var(--volt); }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--steel); color: var(--white); transition: .2s; }
.social a:hover { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.social .ico { width: 18px; height: 18px; }
.cbox--social .social { margin-top: 4px; }
.credit { color: var(--muted-d); transition: color .2s; }
.credit b { font-weight: 800; letter-spacing: .04em; color: var(--white); }
.credit i { font-style: normal; color: #F4320B; }
.credit:hover, .credit:hover b { color: var(--volt); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 14px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; background: #25D366; color: var(--white); box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 30px; height: 30px; }

/* Barra superior y teléfono en cabecera (referencia: randyselectric.com) */
.topbar { background: var(--volt); color: var(--volt-ink); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; font-size: 12px; }
.topbar__tag, .topbar__links, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links { gap: 18px; }
.topbar__links a { text-transform: none; letter-spacing: 0; }
.topbar__links a:hover { text-decoration: underline; }
.topbar .ico { width: 15px; height: 15px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; margin-left: 14px; padding-left: 18px; border-left: 1px solid var(--line-d); color: var(--white); font: 700 21px/1 var(--cond); }
.nav__phone > .ico { width: 22px; height: 22px; color: var(--volt); }
.nav__phone small { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted-d); margin-bottom: 3px; }
.nav__phone:hover { color: var(--volt); }

/* Especialidad (referencia: «Our specialty» de idealelectricalsolutions.com) */
.sec--gray { background: #DCDED8; }
.espec__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.espec__fig { margin: 0; position: relative; }
.espec__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.espec__fig::before { content: ""; position: absolute; left: -12px; top: -12px; width: 56px; height: 56px; border: 3px solid var(--ink); border-right: 0; border-bottom: 0; }
.espec .sec__h { margin-bottom: 24px; }
.espec__lead { font-size: 18px; color: #2E353E; margin-bottom: 28px; }
.espec .checks { margin-bottom: 36px; }

/* Por qué elegirnos */
.razones__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.razon { padding: 32px 28px 8px 0; }
.razon + .razon { padding-left: 28px; border-left: 1px solid var(--line); }
.razon__ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--volt); color: var(--volt-ink); margin-bottom: 22px; }
.razon__ico .ico { width: 26px; height: 26px; }
.razon h3 { font-size: 27px; text-transform: uppercase; margin-bottom: 10px; }
.razon p { color: var(--muted); font-size: 15.5px; }

/* Proceso en fondo oscuro */
.proceso.sec--ink .step { border-top-color: var(--steel); }
.proceso.sec--ink .step::before { border-color: var(--ink); outline-color: var(--volt); }
.proceso.sec--ink .step__n { color: var(--volt); }
.proceso.sec--ink .step p { color: var(--muted-d); }

/* Preguntas frecuentes (referencia: mrelectric.com) */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__more { margin-top: 24px; color: var(--muted); }
.link--dark, .link--dark .ico { color: var(--ink); }
.faq__list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); background: transparent; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 700 24px/1.1 var(--cond); text-transform: uppercase; }
.qa summary::-webkit-details-marker { display: none; }
.qa__pm { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--ink); }
.qa__pm::before, .qa__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.qa__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__pm { background: var(--volt); border-color: var(--volt); }
.qa[open] .qa__pm::after { transform: translate(-50%, -50%); }
.qa p { padding: 0 64px 26px 0; color: #333B45; }
.svc-card h3 { font-size: 30px; text-transform: uppercase; }

@media (max-width: 1180px) { .nav__phone small, .nav__cta small { display: none; } .nav__phone { font-size: 19px; margin-left: 6px; padding-left: 12px; } .nav > a, .nav__drop > a { padding: 10px 10px; } .logo__img { height: 60px; } }
@media (max-width: 1100px) {
  .razones__grid { grid-template-columns: 1fr 1fr; }
  .razon:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  .nav__phone { margin: 18px 0 0; padding: 0; border: 0; font-size: 26px; }
  .nav__phone small { display: block; }
  .espec__in, .faq__in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .espec__fig img { aspect-ratio: 16 / 10; }
  .topbar__tag { display: none; }
  .topbar__in { justify-content: center; }
}
@media (max-width: 640px) {
  .razones__grid { grid-template-columns: 1fr; }
  .razon, .razon + .razon { padding-left: 0; border-left: 0; }
  .qa summary { font-size: 21px; }
  .qa p { padding-right: 0; }
  .topbar__links a[aria-label] { display: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .head__quick { display: flex; }
  .head__in { gap: 12px; }
  .nav { position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 32px; background: #000; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > a, .nav__drop > a { display: block; padding: 16px 0; font: 700 28px/1 var(--cond); text-transform: uppercase; border-bottom: 1px solid var(--line-d); }
  .nav > a.is-active::after, .nav__drop > a.is-active::after { display: none; }
  .nav a.is-active { color: var(--volt); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 6px 0 10px; min-width: 0; }
  .nav > a.nav__cta { margin: 24px 0 0; justify-content: center; padding: 14px 18px; }
  .nav__cta small { display: block; }
  .shero__in, .proyectos__in, .detail, .about, .contact { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero { min-height: 0; }
  .hero__in { padding-top: 64px; padding-bottom: 150px; }
  .hero__slide::after { background: linear-gradient(90deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.7) 55%, rgba(14,17,22,.2) 100%), linear-gradient(0deg, rgba(14,17,22,.85) 0%, rgba(14,17,22,0) 34%); }
  .hero__tab strong { font-size: 18px; }
  .frentes__grid { grid-template-columns: 1fr; }
  .frente, .frente + .frente { padding: 32px 0; border-left: 0; }
  .frente + .frente { border-top: 1px solid var(--line-d); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .sec { padding: 80px 0; }
}
@media (max-width: 640px) {
  :root { --head-h: 72px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .logo__img { height: 50px; }
  .logo__txt { display: none; }
  .hero__in { padding-top: 290px; padding-bottom: 84px; }
  .hero__bg img { object-position: center top; height: auto; aspect-ratio: 800 / 753; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(14,17,22,0) 0%, rgba(14,17,22,.15) 150px, rgba(14,17,22,.92) 320px, var(--ink) 420px); }
  .hero__h { font-size: clamp(38px, 11vw, 52px); }
  .hero__tabs { gap: 8px; padding-bottom: 24px; }
  .hero__tab { grid-template-columns: 1fr; }
  .hero__tab strong { display: none; }
  .hero__bar { margin-bottom: 8px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .svc-grid, .steps, .values, .form, .foot__grid { grid-template-columns: 1fr; }
  .value, .value + .value { padding-left: 0; border-left: 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .mini { flex-direction: row; align-items: center; padding: 18px; }
  .form { padding: 24px; }
  .form .btn { justify-self: stretch; justify-content: center; }
  .foot__cta .btn { width: 100%; justify-content: center; }
  .sec { padding: 64px 0; }
  .sec__head { margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 420px) { .quick--wa span { display: none; } .quick--wa { padding: 0 10px; } }

/* ───────────────────────────────────────────────────────────────
   Capa «Framer» (21-11-2026): radios suaves, paneles redondeados,
   botones píldora y entradas animadas. Va al final para mandar.
   ─────────────────────────────────────────────────────────────── */
:root { --r-xs: 8px; --r-sm: 12px; --r: 20px; --r-lg: 28px; --ease: cubic-bezier(.22, 1, .36, 1); }

/* Botones y controles en píldora */
.btn, .nav > a.nav__cta, .quick, .wa-float, .social a, .skip { border-radius: 999px; }
.btn { transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn--volt:hover { box-shadow: 0 10px 28px -10px rgba(255, 208, 0, .75); }
.btn--ghost { backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.nav > a.nav__cta { padding-left: 16px; padding-right: 22px; }
.nav__phone { border-left: 0; padding-left: 8px; }
.nav__phone > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.nav > a:not(.nav__cta):not(.nav__phone), .nav__drop > a { border-radius: 999px; transition: background .2s, color .2s; }
.nav > a:not(.nav__cta):not(.nav__phone):hover, .nav__drop > a:hover { background: rgba(255, 255, 255, .07); }
.nav__sub { border-radius: var(--r); border-top-width: 1px; border-top-color: rgba(255, 255, 255, .12); padding: 10px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.nav__sub a { border-radius: var(--r-sm); }

/* Paneles oscuros y grises como tarjetas grandes dentro de la página */
.sec--ink, .sec--gray { margin: 12px; border-radius: var(--r-lg); overflow: hidden; }
.foot { border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 12px; }

/* Imágenes y video con esquinas redondeadas (sin las escuadras técnicas) */
.espec__fig img, .shero__fig img, .about__fig img, .proyectos__media video, .proyectos__media { border-radius: var(--r-lg); }
.proyectos__media { overflow: hidden; }
.espec__fig::before, .shero__fig::after { display: none; }
.proyectos__tag { border-radius: 999px; backdrop-filter: blur(8px); }

/* Tarjetas */
.svc-card { border-radius: var(--r); overflow: hidden; border-color: #E6E8E3; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-card:hover { border-color: #E6E8E3; transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(14, 17, 22, .35); }
.svc-card__img { margin: 8px 8px 0; border-radius: calc(var(--r) - 6px); }
.svc-card__img img { transition: transform .8s var(--ease); }
.detail__box, .form { border-radius: var(--r); border-top-width: 1px; }
.detail__box { border-top: 1px solid var(--line); box-shadow: inset 0 3px 0 var(--volt); }
.mini { border-radius: var(--r); }
.cbox { border-radius: var(--r); }
.field input, .field select, .field textarea { border-radius: var(--r-sm); }
.checks .ico { border-radius: 50%; padding: 4px; }
.shero__ico, .razon__ico { border-radius: 16px; }

/* Razones como tarjetas suaves */
.razones__grid { border-top: 0; gap: 16px; }
.razon, .razon + .razon { padding: 30px 28px 32px; border: 0; border-radius: var(--r); background: var(--paper); transition: transform .45s var(--ease), background .3s; }
.razon:hover { transform: translateY(-4px); background: #ECEDE8; }

/* Proceso y preguntas */
.step::before { border-radius: 50%; }
.qa__pm { border-radius: 50%; transition: background .2s, transform .35s var(--ease); }
.qa[open] .qa__pm { background: var(--volt); border-color: var(--volt); transform: rotate(180deg); }
.qa summary { transition: color .2s; }
.qa summary:hover { color: #3A424C; }

/* Valores (Nosotros) */
.value h3 { letter-spacing: 0; }

/* Entradas animadas: solo si hay JS y el usuario no pidió menos movimiento */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .is-active .hero__copy > * { animation: subir 1s var(--ease) both; animation-delay: .15s; }
  .is-active .hero__copy > :nth-child(2) { animation-delay: .23s; }
  .is-active .hero__copy > :nth-child(3) { animation-delay: .31s; }
  .is-active .hero__copy > :nth-child(4) { animation-delay: .39s; }
  .hero__slide.is-active .hero__bg img { animation: acercar 13s cubic-bezier(.2, .6, .3, 1) both; }
  .hero__tab.is-active .hero__bar i { animation: barra var(--dur, 11s) linear both; }
  .hero.is-paused .hero__tab.is-active .hero__bar i { animation-play-state: paused; }
}
@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes acercar { from { transform: scale(1.1); } to { transform: none; } }
@keyframes barra { from { width: 0; } to { width: 100%; } }

@media (max-width: 960px) {
  .nav__phone > .ico { width: 34px; height: 34px; padding: 7px; }
  .nav > a:not(.nav__cta):not(.nav__phone), .nav__drop > a { border-radius: 0; }
  .nav > a:not(.nav__cta):not(.nav__phone):hover, .nav__drop > a:hover { background: none; }
  .nav__sub { box-shadow: none; }
}
@media (max-width: 640px) {
  .sec--ink, .sec--gray { margin: 8px; border-radius: 22px; }
  .foot { border-radius: 22px 22px 0 0; margin-top: 8px; }
  .razones__grid { gap: 12px; }
}

/* Banner de redes con celular (como en las webs parroquiales, adaptado a BEC) */
.redes { overflow: hidden; }
.redes__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
.redes .sec__h em { font-style: normal; background: linear-gradient(transparent 62%, var(--volt) 62%); padding: 0 .08em; }
.redes__lead { font-size: 18px; color: #333B45; margin: 24px 0 28px; max-width: 560px; }
.redes__list { display: grid; gap: 14px; margin-bottom: 36px; }
.redes__list li { display: flex; align-items: center; gap: 14px; color: #333B45; }
.redes__ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); color: var(--ink); }
.redes__ico .ico { width: 22px; height: 22px; }
.redes__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--fb { background: #1877F2; color: #fff; }
.btn--fb:hover { background: #0F63D1; transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(24, 119, 242, .7); }
.btn--ig { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); color: #fff; }
.btn--ig:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(221, 42, 123, .7); }
.redes__media { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: center; }
.btn--ig { background-origin: border-box; border: 0; padding: 17.5px 27.5px; }
.phone { position: relative; width: 320px; max-width: 100%; aspect-ratio: 9 / 19; border-radius: 48px; padding: 11px; background: #0B0C0E; box-shadow: 0 0 0 2px #2A2D33; }
.phone__island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 99px; background: #000; z-index: 3; }
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 38px; overflow: hidden; background: #F0F2F5; color: #050505; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.fbm__bar { display: flex; align-items: center; gap: 8px; padding: 52px 16px 10px; background: #fff; border-bottom: 1px solid #E4E6EB; color: #1877F2; }
.fbm__bar .ico { width: 22px; height: 22px; }
.fbm__url { font-size: 10.5px; color: #65676B; text-transform: none; letter-spacing: 0; }
.fbm__scroll { flex: 1; overflow: hidden; position: relative; }
.fbm__feed { display: block; }
.fbm__block { display: block; }
.fbm__cover { display: block; height: 110px; background-size: cover; background-position: 70% 40%; }
.fbm__head { display: block; background: #fff; padding: 0 16px 14px; text-align: center; }
.fbm__avatar { width: 84px; height: 84px; border-radius: 50%; border: 4px solid #fff; margin: -42px auto 8px; background: #111; }
.fbm__name { display: block; font-weight: 700; font-size: 17px; line-height: 1.2; }
.fbm__meta { display: block; font-size: 12px; color: #65676B; margin: 4px 0 12px; }
.fbm__actions { display: flex; gap: 8px; }
.fbm__actions > span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0; border-radius: 8px; font-size: 13px; font-weight: 600; }
.fbm__actions .ico { width: 15px; height: 15px; }
.fbm__follow { background: #1877F2; color: #fff; }
.fbm__msg { background: #E4E6EB; color: #050505; }
.fbm__tit { display: block; padding: 12px 16px 8px; font-weight: 700; font-size: 15px; background: #fff; margin-top: 8px; }
.fbm__post { display: block; background: #fff; margin-bottom: 8px; }
.fbm__phead { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; }
.fbm__phead img { width: 34px; height: 34px; border-radius: 50%; background: #111; }
.fbm__phead strong { display: block; font-size: 13.5px; }
.fbm__phead small { display: block; font-size: 11px; color: #65676B; }
.fbm__ptxt { display: block; padding: 0 14px 10px; font-size: 13px; line-height: 1.4; }
.fbm__ptxt em { font-style: normal; color: #1877F2; }
.fbm__pimg { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.fbm__pbar { display: flex; justify-content: space-around; padding: 8px 6px; border-top: 1px solid #E4E6EB; font-size: 12px; color: #65676B; font-weight: 600; }
.fbm__pbar > span { display: inline-flex; align-items: center; gap: 5px; }
.fbm__pbar .ico { width: 15px; height: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .fbm__feed { animation: feed 38s linear infinite; }
  .phone:hover .fbm__feed { animation-play-state: paused; }
    }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
/* Burbujas de chat junto al celular */
.chat { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 340px; justify-self: end; }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; background: #111; }
.chat__head strong { display: block; font-size: 15px; }
.chat__head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.chat__head small i { width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.chat__stage { display: grid; min-height: 380px; align-items: end; }
.chat__conv { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.chat__conv.is-active { opacity: 1; visibility: visible; transition: opacity .5s, visibility 0s; }
.chat__dots { display: flex; gap: 6px; justify-content: center; }
.chat__dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .3s, background .3s; }
.chat__dots i.is-active { width: 20px; background: var(--ink); }
.bub { position: relative; max-width: 290px; padding: 10px 14px 8px; border-radius: 20px; font-size: 14.5px; line-height: 1.45; }
.bub__who { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 2px; }
.bub time { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 4px; font-size: 11px; opacity: .6; }
.bub time .ico { width: 13px; height: 13px; }
.bub--in { align-self: flex-start; background: var(--paper); color: var(--text); border-bottom-left-radius: 6px; }
.bub--in .bub__who { color: var(--muted); }
.bub--out { align-self: flex-end; background: var(--ink); color: var(--white); border-bottom-right-radius: 6px; }
.bub--out .bub__who { color: var(--volt); }
.bub--typing { display: inline-flex; gap: 5px; padding: 14px 16px; width: max-content; }
.bub--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .js .chat .bub { opacity: 0; transform: translateY(12px) scale(.96); transform-origin: bottom left; }
  .js .chat .bub--out { transform-origin: bottom right; }
  .js .chat.is-in .is-active .bub { animation: burbuja .5s cubic-bezier(.22, 1, .36, 1) forwards; }
  .js .chat.is-in .is-active .bub:nth-of-type(2) { animation-delay: 1s; }
  .js .chat.is-in .is-active .bub:nth-of-type(3) { animation-delay: 2.2s; }
  .js .chat.is-in .is-active .bub:nth-of-type(4) { animation-delay: 3s; }
  .bub--typing i { animation: escribe 1.2s infinite; }
  .bub--typing i:nth-child(2) { animation-delay: .15s; }
  .bub--typing i:nth-child(3) { animation-delay: .3s; }
}
@keyframes burbuja { to { opacity: 1; transform: none; } }
@keyframes escribe { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 1180px) {
  .redes__in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .redes__media { justify-content: center; grid-template-columns: minmax(0, 330px) 320px; }
}
@media (max-width: 960px) {
  .redes__media { order: -1; }
}
@media (max-width: 640px) {
  .phone { width: 280px; }
  .redes__media { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .chat { order: 2; justify-self: stretch; max-width: none; }
  .chat__stage { min-height: 400px; }
        .redes__btns .btn { width: 100%; justify-content: center; }
}
