/* =========================================================
   Leguina Informática — estilos
   ========================================================= */

:root {
  --navy: #061428;
  --navy-2: #0b1f3c;
  --azul: #2f6bff;
  --azul-2: #1d56e0;
  --azul-soft: #e8efff;
  --papel: #ffffff;
  --papel-2: #f5f7fb;
  --texto: #10192a;
  --muted: #5a6a80;
  --line: #dfe5ee;
  --line-dark: rgba(255, 255, 255, .14);
  --on-dark: #e9eff9;
  --muted-dark: #a9bbd4;
  --wa: #25d366;
  --wa-2: #1dad53;
  --display: "Sora", system-ui, -apple-system, sans-serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --hdr: 70px;
  --r: 16px;
  --shadow: 0 1px 2px rgba(16, 25, 42, .05), 0 12px 28px -18px rgba(16, 25, 42, .35);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding-top: var(--hdr);
  background: var(--papel);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--azul-2); }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0;
  font-weight: 600;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: #fff; color: var(--navy); padding: .7rem 1rem;
  border-radius: 0 0 10px 0; font-weight: 600;
}
.skip:focus { left: 0; }

.wrap { width: min(1140px, calc(100% - 36px)); margin-inline: auto; }

.kicker {
  margin: 0 0 .7rem; color: var(--azul-2);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
}
.kicker-dark { color: #8fb0ff; }

.prose { margin-top: .9rem; max-width: 46ch; color: var(--muted); }
.prose-dark { color: var(--muted-dark); }

/* ---------- animaciones base ---------- */

@keyframes upIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(.85); opacity: .65; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes arc { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }

.up { animation: upIn .7s cubic-bezier(.22, .8, .3, 1) both; animation-delay: var(--d, 0ms); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s cubic-bezier(.22, .8, .3, 1), transform .65s cubic-bezier(.22, .8, .3, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .up { opacity: 1; transform: none; animation: none; }

/* ---------- header ---------- */

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--hdr);
  background: rgba(6, 20, 40, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}
.hdr.small { background: rgba(6, 20, 40, .98); box-shadow: 0 10px 30px -20px #000; }

.hdr-in {
  display: flex; align-items: center; gap: .75rem;
  height: 100%;
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

.brand {
  display: flex; align-items: center; gap: .65rem;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 500;
  font-size: 1.02rem; letter-spacing: -.02em; min-width: 0;
}
.brand img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: 0 0 auto;
  transition: transform .3s ease;
}
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand b { font-weight: 700; }

.nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.nav a {
  position: relative; color: var(--on-dark); text-decoration: none;
  font-size: .94rem; font-weight: 500; padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--azul);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.hdr-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-left: .6rem; padding: .55rem 1rem;
  border-radius: 999px; background: var(--wa); color: #06281a;
  font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
}
.hdr-cta:hover { background: #32e074; transform: translateY(-1px); }

.burger {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: transparent; border: 1px solid var(--line-dark);
  border-radius: 10px; cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: #fff; border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .14s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-wa { background: var(--wa); color: #06281a; box-shadow: 0 10px 24px -14px var(--wa); }
.btn-wa:hover { background: #32e074; }
.btn-solid { background: var(--azul); color: #fff; }
.btn-solid:hover { background: var(--azul-2); }
.split-copy .btn-solid, .datos-copy .btn { margin-top: 1.6rem; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-full { width: 100%; }
.btn-sm { padding: .68rem 1.2rem; font-size: .93rem; margin-top: 1.2rem; align-self: flex-start; }

/* ---------- hero ---------- */

.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 100%;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 45%, transparent 100%);
}
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 76% 4%, rgba(47, 107, 255, .50), transparent 62%),
    radial-gradient(560px 380px at 6% 92%, rgba(47, 107, 255, .20), transparent 60%);
  animation: drift 18s ease-in-out infinite;
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: #8fb0ff; }
.hero .lead {
  margin-top: 1.25rem; max-width: 50ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.hero-chips li {
  padding: .4rem .85rem; border: 1px solid var(--line-dark); border-radius: 999px;
  font-size: .85rem; color: var(--muted-dark); background: rgba(255, 255, 255, .04);
}

/* collage del hero */
.hero-art { position: relative; min-height: 380px; }

.shot {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85);
  background: var(--navy-2);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

.shot-a {
  width: min(300px, 78%);
  aspect-ratio: 4 / 5;
  margin-left: auto;
  transform: rotate(2.5deg);
  animation: floaty 7s ease-in-out infinite;
}
.shot-b {
  position: absolute; left: 0; bottom: 6%;
  width: min(168px, 44%);
  aspect-ratio: 1 / 1;
  transform: rotate(-5deg);
  animation: floaty 7s ease-in-out infinite reverse;
}
.shot-badge {
  position: absolute; right: 2%; bottom: 0;
  display: flex; align-items: center; gap: .65rem;
  padding: .7rem .95rem; border-radius: 14px;
  background: rgba(10, 26, 50, .92);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px -24px #000;
}
.shot-badge b { display: block; font-family: var(--display); font-size: .9rem; color: #fff; }
.shot-badge small { display: block; font-size: .76rem; color: var(--muted-dark); }
.shot-badge .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--wa);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .22);
  animation: blink 2.4s ease-in-out infinite;
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--azul); color: #fff; overflow: hidden;
  padding: .9rem 0; user-select: none;
}
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-size: .92rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.marquee-track i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .6); flex: 0 0 auto;
}

/* ---------- secciones ---------- */

.sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec-alt { background: var(--papel-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* cards */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #b9ccf5;
  box-shadow: 0 1px 2px rgba(16, 25, 42, .05), 0 26px 48px -26px rgba(29, 86, 224, .55);
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }

.card-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: transparent; color: #fff;
}
.card-cta h3 { color: #fff; }
.card-cta p { color: var(--muted-dark); }

.ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 1.1rem;
  border-radius: 13px; background: var(--azul-soft); color: var(--azul-2);
  transition: transform .25s ease, background .25s ease;
}
.card:hover .ico { transform: translateY(-2px) scale(1.06); background: #d8e4ff; }
.ico svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.card:hover .wifi-ico .a1 { animation: arc 1.5s ease-in-out infinite .3s; }
.card:hover .wifi-ico .a2 { animation: arc 1.5s ease-in-out infinite .15s; }
.card:hover .wifi-ico .a3 { animation: arc 1.5s ease-in-out infinite 0s; }

.card-link {
  margin-top: auto; padding-top: 1.1rem;
  font-weight: 600; font-size: .93rem; text-decoration: none;
}
.card-link::after { content: " →"; transition: margin .2s ease; display: inline-block; }
.card:hover .card-link::after { margin-left: .25rem; }

/* split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-rev .split-copy { order: 2; }
.split-side { display: grid; gap: 1.1rem; }

.shot-c {
  width: min(280px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.shot-c:hover { transform: translateY(-4px) rotate(-1deg); }
.shot-c img { width: 100%; height: 100%; object-fit: cover; }

.post {
  width: min(260px, 100%);
  border: 1px solid var(--line); border-radius: 16px;
  background: #fff; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.post:hover { transform: translateY(-4px); }
.post img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.post figcaption {
  padding: .8rem 1rem; font-size: .88rem; color: var(--muted); line-height: 1.45;
}

.ticks {
  display: grid; gap: .1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: .5rem 1.4rem; box-shadow: var(--shadow);
}
.ticks li {
  position: relative; padding: .85rem 0 .85rem 2rem;
  border-bottom: 1px solid var(--line); font-size: 1rem;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1.18rem;
  width: 13px; height: 7px;
  border-left: 2.2px solid var(--azul); border-bottom: 2.2px solid var(--azul);
  transform: rotate(-45deg);
}

/* wifi */

.wifi {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.wifi-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 420px at 85% 15%, rgba(47, 107, 255, .32), transparent 65%);
  animation: drift 22s ease-in-out infinite reverse;
}
.wifi .wrap { position: relative; }

.wifi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.wifi-grid article {
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .045);
  border-radius: var(--r); padding: 1.6rem 1.5rem;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.wifi-grid article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(143, 176, 255, .5);
}
.wifi-grid h3 { margin-bottom: .6rem; }
.wifi-grid p { color: var(--muted-dark); font-size: .98rem; }

.portal {
  display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  margin-top: 1.1rem; padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line-dark); border-radius: 22px;
  background: rgba(255, 255, 255, .04);
}
.portal-phone {
  width: min(230px, 100%); margin-inline: auto;
  border: 7px solid #0a1b33; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 60px -26px #000;
  animation: floaty 8s ease-in-out infinite;
}
.portal-phone img { width: 100%; display: block; }
.portal-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.portal-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.portal-list li {
  padding: .45rem .9rem; border: 1px solid var(--line-dark); border-radius: 999px;
  font-size: .88rem; color: var(--on-dark); background: rgba(255, 255, 255, .05);
}

/* taller */

.taller {
  display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start;
}
.taller-photo {
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.taller-photo img { width: 100%; display: block; }
.taller-photo figcaption {
  padding: .9rem 1.1rem; font-size: .9rem; color: var(--muted);
}

.taller-boxes { display: grid; gap: 1.1rem; }
.taller-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
}
.taller-box h3 { margin-bottom: .4rem; }
.taller-box-hot { border-color: #ffd8bd; background: #fff8f3; }
.taller-box-hot h3 { color: #a2420b; }

.gear { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.gear li {
  padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--papel-2); font-size: .92rem;
  transition: transform .18s ease, background .18s ease;
}
.gear li:hover { transform: translateY(-2px); background: var(--azul-soft); }
.gear-hot li { border-color: #f6cfb2; background: #fff; color: #8d3a08; }
.gear-hot li:hover { background: #ffeadc; }

/* datos */

.datos {
  background: linear-gradient(140deg, #08172c 0%, #123163 100%);
  color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.datos-in {
  display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center;
}
.datos-img {
  width: min(250px, 100%); margin-inline: auto;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -26px #000;
  animation: floaty 9s ease-in-out infinite;
}
.datos-img img { width: 100%; display: block; }

/* pasos */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.steps li {
  position: relative; padding: 1.7rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--papel-2);
  transition: transform .22s ease, background .22s ease;
}
.steps li:hover { transform: translateY(-5px); background: #fff; }
.step-n {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 2.1rem; line-height: 1; color: #c3d3f6; margin-bottom: .8rem;
  transition: color .22s ease;
}
.steps li:hover .step-n { color: var(--azul); }
.steps h3 { margin-bottom: .45rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* feed instagram */

.feed-head {
  max-width: none; display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between; gap: 1.2rem;
}
.btn-ig { background: linear-gradient(135deg, #7b2ff7 0%, #e1306c 55%, #f77737 100%); }
.btn-ig:hover { filter: brightness(1.08); background: linear-gradient(135deg, #7b2ff7 0%, #e1306c 55%, #f77737 100%); }

.feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .7rem;
}
.feed li { border-radius: 14px; overflow: hidden; background: var(--navy-2); }
.feed a { display: block; position: relative; overflow: hidden; }
.feed img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .4s ease, filter .3s ease;
}
.feed a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 20, 40, .55) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.feed a:hover img { transform: scale(1.08); }
.feed a:hover::after { opacity: 1; }

/* faq */

.faq-wrap { max-width: 860px; }
.faq {
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; overflow: hidden; box-shadow: var(--shadow);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-family: var(--display); font-weight: 600; font-size: 1.03rem;
  letter-spacing: -.01em; transition: background .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 1.45rem;
  width: 9px; height: 9px;
  border-right: 2.2px solid var(--azul); border-bottom: 2.2px solid var(--azul);
  transform: rotate(45deg); transition: transform .25s ease, top .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq summary:hover { background: var(--papel-2); }
.faq details p {
  padding: 0 3rem 1.3rem 1.4rem; color: var(--muted); max-width: 64ch;
  animation: upIn .4s ease both;
}

/* contacto */

.sec-contact { background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%); color: #fff; }
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}

.data { margin-top: 2rem; }
.data li {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem;
  padding: .85rem 0; border-top: 1px solid var(--line-dark); font-size: .98rem;
}
.data li > span {
  color: var(--muted-dark); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; padding-top: .18rem;
}
.data a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); word-break: break-word; }
.data a:hover { border-bottom-color: #fff; }
.data p { color: var(--on-dark); }

.form {
  background: #fff; color: var(--texto); border-radius: 20px;
  padding: 1.7rem; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7);
}
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--papel-2); font-size: 1rem;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--azul); outline: none;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }

.note { margin-top: .7rem; text-align: center; font-size: .85rem; color: var(--muted); }

/* footer */

.ftr { background: #040e1c; color: var(--on-dark); padding: 2.5rem 0 2rem; }
.ftr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.ftr-brand { display: flex; align-items: center; gap: .8rem; }
.ftr-brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ftr-name { font-family: var(--display); font-weight: 600; color: #fff; }
.ftr-sub { font-size: .86rem; color: var(--muted-dark); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.ftr-nav a { color: var(--muted-dark); text-decoration: none; font-size: .92rem; }
.ftr-nav a:hover { color: #fff; }
.ftr-legal {
  width: 100%; padding-top: 1.4rem; border-top: 1px solid var(--line-dark);
  font-size: .85rem; color: var(--muted-dark);
}
.ftr-legal a { color: var(--muted-dark); }
.ftr-legal a:hover { color: #fff; }

/* whatsapp flotante */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .8);
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover { background: var(--wa-2); transform: scale(1.07); }
.wa-float svg { position: relative; z-index: 1; }
.wa-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa); animation: ping 2.8s ease-out infinite;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; min-height: 330px; }
  .split, .contact, .portal, .taller, .datos-in { grid-template-columns: 1fr; }
  .split-rev .split-copy { order: 0; }
  .split-side { justify-items: start; }
  .datos-img, .portal-phone { margin-inline: 0; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--hdr) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: .5rem 18px 1.1rem;
    background: var(--navy); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-130%); transition: transform .26s ease;
    max-height: calc(100dvh - var(--hdr)); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .85rem .2rem; border-bottom: 1px solid var(--line-dark); font-size: 1.02rem; }
  .nav a::after { display: none; }
  .hdr-cta { margin-left: auto; padding: .5rem .85rem; font-size: .88rem; }
  .hdr-cta svg { display: none; }
  .burger { display: block; margin-left: .2rem; }
  .brand span { font-size: .95rem; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 32px); }
  .hdr-in { width: calc(100% - 32px); }
  .brand img { width: 36px; height: 36px; }
  .hero-btns .btn { width: 100%; }
  .hero-art { min-height: 300px; }
  .shot-a { width: 72%; }
  .shot-badge { right: 0; font-size: .9rem; }
  .data li { grid-template-columns: 1fr; gap: .15rem; }
  .form { padding: 1.3rem; }
  .ftr-in { flex-direction: column; align-items: flex-start; }
  .feed { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

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