/* ==========================================================================
   U R TECH SERVICE — Hoja de estilos
   Índice:
   1. Variables (colores, tipografía, medidas)
   2. Base y utilidades
   3. Botones
   4. Header y navegación
   5. Hero
   6. Secciones (servicios, por qué, proceso, sobre nosotros, contacto)
   7. Footer
   8. Animaciones de entrada
   9. Responsive
   10. Movimiento reducido
   ========================================================================== */


/* 1. VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Colores: para cambiar el acento de toda la web, editá --blue / --blue-hi */
  --bg:        #0a0c10;
  --bg-alt:    #0f1218;
  --panel:     #12161d;
  --line:      #222835;
  --text:      #e9edf4;
  --muted:     #9aa4b5;
  --silver:    #c9d1dc;
  --blue:      #2b74ff;
  --blue-hi:   #5b9bff;
  --blue-btn:  #1f62f0;
  --blue-deep: #1650d4;

  /* Verde de WhatsApp: solo para botones de WhatsApp/contacto (no toca el resto de la UI) */
  --wa-green:      #25d366;
  --wa-green-deep: #1da851;

  /* Tipografía: pila del sistema. "Bahnschrift" (Windows) tiene un aire técnico
     cercano al logo; en otros dispositivos se usa la fuente moderna del sistema. */
  --font: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
          "Helvetica Neue", Roboto, Arial, sans-serif;

  --header-h: 68px;
  --wrap: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* 2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
}
h3 { font-weight: 650; letter-spacing: -.005em; }

:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: .7rem 1rem;
  background: var(--blue-btn);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.3em; height: 1.3em; flex: none; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 52ch; }


/* 3. BOTONES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), filter .25s var(--ease);
}
.btn:active { transform: translateY(0) scale(.99); }

/* .btn-primary se usa únicamente en los botones de WhatsApp/contacto de la web pública */
.btn-primary {
  background: linear-gradient(180deg, var(--wa-green), var(--wa-green-deep));
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: #343c4c;
  color: var(--text);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--blue-hi);
  background: rgba(43, 116, 255, .1);
}

.btn-sm { padding: .6rem 1rem; font-size: .95rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.6rem; }
.btn-xl { padding: 1.1rem 2rem; font-size: 1.12rem; border-radius: 14px; }
.btn-block { width: 100%; }


/* 4. HEADER Y NAVEGACIÓN
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 12, 16, .7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 12, 16, .88);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: .14em;
}
.brand-mark { width: 36px; height: 36px; }

.brand-ur {
  background: linear-gradient(180deg, #f1f4f9, #8b95a5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tech { color: var(--blue-hi); }

.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 1.5rem; }
.main-nav li a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: .4rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: .98rem;
  transition: color .2s var(--ease);
}
.main-nav li a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav li a:not(.btn):hover,
.main-nav li a.is-active { color: var(--text); }
.main-nav li a:not(.btn):hover::after,
.main-nav li a.is-active::after { transform: scaleX(1); }

.nav-cta { margin-left: 1.6rem; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* 5. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

/* Trama tipo plano técnico, muy tenue */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: .65em;
  margin-bottom: 1.4rem;
  font-size: clamp(.95rem, 2vw, 1.25rem);
  font-weight: 750;
  letter-spacing: .3em;
}
.hero-brand::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue));
}
.hb-ur {
  background: linear-gradient(180deg, #f6f8fb, #8792a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hb-tech { color: var(--blue-hi); }
.hb-service { color: var(--muted); font-weight: 600; }

.hero-tagline {
  display: block;
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.028em;
  font-weight: 750;
  color: #f4f7fb;
  text-wrap: balance;
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 34ch;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.2rem;
}

.hero-place {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  font-size: .98rem;
  color: var(--muted);
}
.hero-place .icon { color: var(--blue-hi); }

/* Esquema técnico */
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 560px; }
.blueprint { width: 100%; height: auto; overflow: visible; }

.bp-label {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .08em;
  fill: var(--muted);
}
.bp-label-strong { fill: var(--silver); font-weight: 700; font-size: 13px; }

.trace { stroke: rgba(43, 116, 255, .5); stroke-width: 1.6; }
.pulse {
  stroke: #7db1ff;
  stroke-width: 2.6;
  stroke-dasharray: 9 91;
  stroke-dashoffset: 9;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(91, 155, 255, .9));
}

/* Secuencia de entrada del hero (única animación "protagonista") */
.js .bp-case { opacity: 0; animation: bp-fade .9s var(--ease) .1s forwards; }
.js .bp-part { opacity: 0; transform: translateY(8px); animation: bp-in .7s var(--ease) var(--d, 0s) forwards; }
.js .bp-traces,
.js .bp-vias { opacity: 0; animation: bp-fade .8s var(--ease) 1.2s forwards; }
.js .hero-copy > * { opacity: 0; transform: translateY(12px); animation: bp-in .8s var(--ease) forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .2s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .3s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .4s; }

.pulse { animation: pulse 4.8s linear infinite; animation-delay: calc(var(--pd, 0s) + 1.8s); }

@keyframes bp-fade { to { opacity: 1; } }
@keyframes bp-in   { to { opacity: 1; transform: none; } }
@keyframes pulse {
  0%   { stroke-dashoffset: 9;   opacity: 1; }
  45%  { stroke-dashoffset: -91; opacity: 1; }
  46%  { opacity: 0; }
  100% { stroke-dashoffset: -91; opacity: 0; }
}


/* 6. SECCIONES
   -------------------------------------------------------------------------- */

/* --- Servicios: dos columnas independientes (tarjetas de servicios | "¿Qué le pasa a tu PC?") --- */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* --- Servicios: un panel único con celdas separadas por líneas --- */
.services-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service {
  position: relative;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: var(--panel);
  transition: background-color .3s var(--ease);
}
.service:hover { background: #151a23; }

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.3rem;
  color: var(--blue-hi);
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.service:hover .service-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(91, 155, 255, .55));
}

.service h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.service > p { color: var(--muted); margin-bottom: 1.4rem; max-width: 38ch; }

.service ul li {
  position: relative;
  padding: .6rem 0 .6rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .98rem;
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: .7rem;
  height: 2px;
  background: var(--blue);
  transform: translateY(-50%);
}

/* --- Por qué U R Tech --- */
.why-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.why-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }

.why-list li {
  display: flex;
  gap: 1.1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list .check { width: 28px; height: 28px; margin-top: .15rem; color: var(--blue-hi); }
.why-list h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.why-list p { color: var(--muted); max-width: 46ch; }

/* --- Proceso: secuencia real, por eso numerada --- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), 1fr);
  gap: 1.5rem;
}
.process::before,
.process::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; top: 21px;
  height: 2px;
  border-radius: 2px;
}
.process::before { background: var(--line); }
.process::after {
  background: linear-gradient(90deg, var(--blue), var(--blue-hi));
  box-shadow: 0 0 12px rgba(43, 116, 255, .6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) .3s;
}
.process.is-visible::after { transform: scaleX(1); }

.process li { position: relative; padding-top: 4rem; }
.step-num {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  background: var(--bg);
  color: var(--blue-hi);
  font-weight: 750;
  font-size: .95rem;
  letter-spacing: .04em;
}
.process h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.process p { color: var(--muted); font-size: .98rem; max-width: 24ch; }

/* --- Sobre nosotros --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { color: var(--muted); max-width: 52ch; }
.about-copy p + p { margin-top: 1rem; }
.about-copy .about-motto {
  margin-top: 2rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--blue);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -.005em;
}

.about-logo img {
  width: 100%;
  height: auto;
  /* El logo tiene fondo negro: "screen" lo funde con el fondo de la sección */
  mix-blend-mode: screen;
}

/* --- Contacto --- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy > p { color: var(--muted); font-size: 1.12rem; max-width: 44ch; margin-bottom: 2rem; }

.contact-list { margin-top: 2.6rem; }
.contact-list > div {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--muted);
  font-size: .98rem;
}
.contact-list dt .icon { color: var(--blue-hi); }
.contact-list dd { overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(91, 155, 255, .5); }
.contact-list a:hover { color: var(--blue-hi); }

.composer {
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(43, 116, 255, .5);
}
.composer h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.composer-note { color: var(--muted); font-size: .96rem; margin-bottom: 1.4rem; }

.composer label {
  display: block;
  margin: 1.1rem 0 .45rem;
  font-size: .95rem;
  font-weight: 600;
}
.composer select,
.composer textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #2c3444;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.composer textarea { resize: vertical; min-height: 7.5rem; }
.composer textarea::placeholder { color: #6f7889; }
.composer select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa4b5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.composer select:focus,
.composer textarea:focus {
  outline: none;
  border-color: var(--blue-hi);
  box-shadow: 0 0 0 3px rgba(91, 155, 255, .25);
}
.composer .btn { margin-top: 1.5rem; }

/* "¿Qué le pasa a tu PC?" — opciones y panel de explicación (dentro de .composer) */
.symptom-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.symptom-opt {
  padding: .55rem 1rem;
  border: 1px solid #2c3444;
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.symptom-opt:hover { border-color: var(--blue-hi); background: rgba(43, 116, 255, .1); }
.symptom-opt[aria-pressed="true"] {
  border-color: var(--blue);
  background: rgba(43, 116, 255, .16);
  color: #fff;
}

.symptom-panel {
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.symptom-explain { color: var(--muted); font-size: .98rem; }
.symptom-other { margin-top: 1rem; }


/* 7. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: 3.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-name { font-weight: 750; letter-spacing: .14em; font-size: 1.1rem; margin-bottom: .5rem; }
.footer-brand p:not(.footer-name) { color: var(--muted); font-size: .98rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; }
.footer-links a {
  display: inline-block;
  padding: .3rem 0;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--blue-hi); }

.footer-legal { padding: 1.4rem 0 2rem; border-top: 1px solid var(--line); }
.footer-legal p { color: #7b8496; font-size: .9rem; }


/* 8. ANIMACIONES DE ENTRADA AL HACER SCROLL
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.why-list li:nth-child(2) { transition-delay: .08s; }
.why-list li:nth-child(3) { transition-delay: .16s; }
.why-list li:nth-child(4) { transition-delay: .24s; }
.why-list li:nth-child(5) { transition-delay: .32s; }


/* 9. RESPONSIVE
   -------------------------------------------------------------------------- */

/* Menú hamburguesa */
@media (max-width: 1080px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.6rem;
    background: rgba(10, 12, 16, .995);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li a:not(.btn) {
    display: block;
    padding: 1rem .25rem;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav li a:not(.btn)::after { display: none; }
  .main-nav li a.is-active { color: var(--blue-hi); }
  .nav-cta { margin: 1.3rem 0 0; padding: .95rem 1.2rem; font-size: 1.05rem; }
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; }

  .why-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid .section-head { position: static; margin-bottom: 1rem; }
  .about-logo { order: -1; max-width: 460px; }

  /* Proceso en vertical */
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before,
  .process::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .process::after { transform: scaleY(0); transform-origin: top; }
  .process.is-visible::after { transform: scaleY(1); }
  .process li { padding: 0 0 2.2rem 4rem; min-height: 44px; }
  .process li:last-child { padding-bottom: 0; }
  .process p { max-width: 42ch; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }

  .services-layout { grid-template-columns: 1fr; }
  .services-board { grid-template-columns: 1fr; }

  .hero-actions .btn { flex: 1 1 100%; }
  .contact-copy .btn-xl { width: 100%; }
  .contact-list > div { grid-template-columns: 1fr; gap: .2rem; }
  .brand { font-size: 1rem; letter-spacing: .12em; }
  .brand-mark { width: 32px; height: 32px; }
}


/* 10. MOVIMIENTO REDUCIDO
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal,
  .js .bp-case,
  .js .bp-part,
  .js .bp-traces,
  .js .bp-vias,
  .js .hero-copy > * { opacity: 1; transform: none; }
  .pulse { display: none; }
  .process::after { transform: none; }
}


/* 11. EXTENSIONES PARA CONTENIDO ADMINISTRABLE
   Solo se activan con contenido nuevo cargado desde /admin; con el contenido
   original no cambian nada de la apariencia.
   -------------------------------------------------------------------------- */
.service-wide { grid-column: 1 / -1; }
.service-wide > p { max-width: 60ch; }

img.brand-mark { object-fit: contain; }

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-logo img.is-normal {
  mix-blend-mode: normal;
  border-radius: var(--radius);
}

.preview-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: calc(100% - 2rem);
  padding: .7rem 1.1rem;
  transform: translateX(-50%);
  background: #1b2130;
  border: 1px solid var(--blue);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  font-size: .92rem;
}
.preview-banner a { color: var(--blue-hi); white-space: nowrap; }

/* Proceso con muchos pasos (más de 6): se apila en vertical, igual que en celular */
@media (min-width: 901px) {
  .process--stack { grid-template-columns: 1fr; gap: 0; }
  .process--stack::before,
  .process--stack::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .process--stack::after { transform: scaleY(0); transform-origin: top; }
  .process--stack.is-visible::after { transform: scaleY(1); }
  .process--stack li { padding: 0 0 2.2rem 4rem; min-height: 44px; }
  .process--stack li:last-child { padding-bottom: 0; }
  .process--stack p { max-width: 42ch; }
}
