/* ============================================================
   Uniblanc SRL — Landing
   ============================================================ */

:root {
  --brand: #3d1a9e;         /* violeta profundo del logo */
  --brand-dark: #2a0f73;
  --brand-2: #6d3bd6;       /* violeta claro para degradés / brillos */
  --brand-light: #ece7fb;
  --red: #e01f26;           /* rojo del logo */
  --red-dark: #b3161c;
  --accent: #e01f26;
  --ink: #101828;
  --ink-soft: #475467;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-alt: #f7f5fd;
  --wa: #25d366;
  --wa-dark: #128c3e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow-md: 0 14px 34px -12px rgba(61, 26, 158, .30);
  --container: 1140px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only, .skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto;
  clip: auto; z-index: 999;
  background: #fff; color: var(--ink);
  padding: 10px 16px; border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: inherit;
  font-weight: 700;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-light); }

.btn-wa { background: var(--wa); color: #05330f; }
.btn-wa:hover { background: #1fbf5b; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 45%, var(--red));
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: 50px; width: auto; }
.brand-mark { display: block; flex: none; }
.brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--ink);
}
.brand-sub {
  color: var(--brand);
  margin-left: .28em;
  font-size: .72em;
  vertical-align: top;
}

.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .96rem;
}
.nav-list a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { color: #05330f !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  position: relative;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar::before { transform: translate(-50%, -7px); }
.nav-toggle-bar::after { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 440px at 6% -12%, var(--brand-light), transparent 60%),
    radial-gradient(720px 380px at 102% -6%, #fce9ea, transparent 55%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.hero > .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 .8rem;
}
.hero-copy .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.6rem 0 1.4rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .92rem;
}
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 55%, #6a1533 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -70%;
  width: 45%;
  height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-16deg);
  animation: card-shine 7s ease-in-out infinite;
  z-index: 0;
}
@keyframes card-shine {
  0%, 62% { left: -70%; }
  100% { left: 130%; }
}
.hero-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  color: #d9ccf7;
}
.hero-stats { display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.hero-stats > div { display: flex; flex-direction: column; }
.stat-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: .9rem; color: #d9ccf7; }
.hero-card-link { color: #fff; font-weight: 700; }
.hero-card-link:hover { color: #d9ccf7; text-decoration: none; }

/* ---------- Strip ---------- */
.strip {
  background: var(--ink);
  color: #fff;
  padding: .9rem 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: .9rem;
}
.strip-inner > span {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: #98a2b3;
  font-size: .76rem;
}
.strip-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.6rem; }
.section-intro { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Card grids ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--brand-light);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card p { margin: 0; color: var(--ink-soft); }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.feature h3 { color: var(--brand-dark); }
.feature p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat h3 {
  padding-bottom: .7rem;
  margin-bottom: .8rem;
  border-bottom: 2px solid var(--brand-light);
  color: var(--brand-dark);
}
.cat ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.cat li { margin-bottom: .35rem; }
.cat-note {
  margin-top: 1.8rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- Split blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split-copy p { color: var(--ink-soft); }
.check-list {
  list-style: none;
  margin: 1.2rem 0 1.8rem;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .6rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 1.35rem; height: 1.35rem;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 800;
}

.media-panel {
  background: linear-gradient(160deg, #fff, var(--brand-light));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.media-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.media-rows { display: grid; gap: 1rem; }
.media-rows > div { display: flex; flex-direction: column; }
.media-rows strong { color: var(--ink); }
.media-rows span { color: var(--ink-soft); font-size: .92rem; }

.info-list, .contact-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.info-list li {
  display: flex;
  flex-direction: column;
  padding: .9rem 0;
  border-bottom: 1px dashed var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list span {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand);
}
.info-list strong { font-size: 1.02rem; }

/* ---------- Contact ---------- */
.section-contact {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.section-contact > .container { position: relative; z-index: 2; }
.section-contact .bubbles { opacity: .5; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: .7rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.field textarea { resize: vertical; }
.field-full .btn { width: 100%; }
.form-note {
  margin: .7rem 0 0;
  font-size: .82rem;
  color: var(--ink-soft);
}

.contact-side { display: grid; gap: 1.2rem; align-content: start; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-card li {
  display: flex;
  flex-direction: column;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--line);
}
.contact-card li:last-child { border-bottom: 0; }
.contact-card span {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand);
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 260px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 45%, var(--red));
}
.footer-logo {
  display: block;
  height: 60px;
  width: auto;
  background: #fff;
  padding: 10px 16px;
  border-radius: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand { max-width: 32rem; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin: .7rem 0 0; color: #98a2b3; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-content: start; }
.footer-nav a { color: #cbd5e1; font-weight: 600; font-size: .95rem; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.5rem;
  font-size: .85rem;
  color: #98a2b3;
}
.footer-legal p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #05330f;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px -5px rgba(18, 140, 62, .5);
  z-index: 60;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); text-decoration: none; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fx-layer { display: none; }
  .hero-card::after,
  .wa-float::before { animation: none; }
}

/* ---------- Fondos animados (burbujas de jabón + brillos) ---------- */
.fx-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .5;
  will-change: transform;
}
.blob-a {
  width: 460px; height: 460px;
  left: -130px; top: -170px;
  background: radial-gradient(circle at 35% 35%, #b79bff, transparent 70%);
  animation: blob-a 23s ease-in-out infinite;
}
.blob-b {
  width: 420px; height: 420px;
  right: -150px; top: -120px;
  background: radial-gradient(circle at 60% 40%, #ff9aa0, transparent 70%);
  animation: blob-b 27s ease-in-out infinite;
}
@keyframes blob-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 50px) scale(1.18); }
}
@keyframes blob-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.12); }
}

.bubbles { position: absolute; inset: 0; }
.bubbles span {
  position: absolute;
  bottom: -8%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 214, .25);
  background: radial-gradient(circle at 32% 28%,
    rgba(255, 255, 255, .9),
    rgba(124, 92, 214, .07) 55%,
    rgba(224, 31, 38, .05) 78%,
    transparent 82%);
  box-shadow:
    inset 0 0 8px rgba(124, 92, 214, .18),
    inset -3px -3px 7px rgba(255, 255, 255, .55);
  opacity: 0;
  animation: bubble-rise linear infinite;
  will-change: transform, opacity;
}
.bubbles span::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
}
@keyframes bubble-rise {
  0% { transform: translateY(0) translateX(0) scale(.55); opacity: 0; }
  12% { opacity: .85; }
  50% { transform: translateY(-46vh) translateX(18px) scale(1); }
  88% { opacity: .7; }
  100% { transform: translateY(-96vh) translateX(-12px) scale(1.12); opacity: 0; }
}
.bubbles span:nth-child(1)  { left: 4%;  width: 16px; animation-duration: 16s; animation-delay: -2s; }
.bubbles span:nth-child(2)  { left: 11%; width: 10px; animation-duration: 13s; animation-delay: -7s; }
.bubbles span:nth-child(3)  { left: 18%; width: 22px; animation-duration: 21s; animation-delay: -11s; }
.bubbles span:nth-child(4)  { left: 25%; width: 8px;  animation-duration: 11s; animation-delay: -1s; }
.bubbles span:nth-child(5)  { left: 33%; width: 14px; animation-duration: 17s; animation-delay: -9s; }
.bubbles span:nth-child(6)  { left: 40%; width: 26px; animation-duration: 24s; animation-delay: -14s; }
.bubbles span:nth-child(7)  { left: 47%; width: 11px; animation-duration: 14s; animation-delay: -4s; }
.bubbles span:nth-child(8)  { left: 54%; width: 18px; animation-duration: 19s; animation-delay: -12s; }
.bubbles span:nth-child(9)  { left: 61%; width: 9px;  animation-duration: 12s; animation-delay: -6s; }
.bubbles span:nth-child(10) { left: 68%; width: 24px; animation-duration: 22s; animation-delay: -3s; }
.bubbles span:nth-child(11) { left: 75%; width: 13px; animation-duration: 16s; animation-delay: -10s; }
.bubbles span:nth-child(12) { left: 82%; width: 16px; animation-duration: 18s; animation-delay: -15s; }
.bubbles span:nth-child(13) { left: 89%; width: 10px; animation-duration: 13s; animation-delay: -5s; }
.bubbles span:nth-child(14) { left: 95%; width: 20px; animation-duration: 21s; animation-delay: -8s; }
.bubbles span:nth-child(15) { left: 58%; width: 6px;  animation-duration: 10s; animation-delay: -2s; }
.bubbles span:nth-child(16) { left: 30%; width: 7px;  animation-duration: 10s; animation-delay: -13s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-3, .cards-4, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav { position: relative; }
  .nav-list {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .8rem;
    min-width: 220px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .6rem .7rem; border-radius: 8px; }
  .nav-list a:hover { background: var(--bg-alt); }
  .nav-cta { text-align: center; }
}

@media (max-width: 560px) {
  .cards-3, .cards-4, .cat-grid, .contact-form { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
