/* Respeta el atributo HTML hidden incluso cuando un componente define display. */
[hidden] { display: none !important; }

:root {
  --black: #07070b;
  --black-soft: #0f0f14;
  --ink: #15141a;
  --charcoal: #211f26;
  --graphite: #343139;
  --gray: #aaa5af;
  --gray-light: #d8d3dc;
  --white: #fffafd;
  --sky: #68dcff;
  --cyan: #2ee7f3;
  --blue: #5e91ff;
  --violet: #a867ff;
  --pink: #ff4dad;
  --rose: #f887bf;
  --blush: #ffd6eb;
  --coral: #ff758b;
  --orange: #ff9e5a;
  --green: #2ddf88;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --surface: rgba(14, 13, 18, 0.78);
  --surface-strong: rgba(23, 21, 28, 0.94);
  --surface-gray: rgba(57, 53, 62, 0.62);
  --gradient-brand: linear-gradient(105deg, var(--sky), var(--violet), var(--pink), var(--orange));
  --gradient-sky: linear-gradient(115deg, var(--sky), var(--blue), var(--violet));
  --gradient-pink: linear-gradient(115deg, var(--violet), var(--pink), var(--rose));
  --gradient-warm: linear-gradient(115deg, var(--pink), var(--coral), var(--orange));
  --gradient-gray-pink: linear-gradient(125deg, #66616c, #29272e 48%, var(--pink));
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
  --glow-pink: 0 16px 38px rgba(255, 77, 173, 0.27);
  --glow-sky: 0 16px 38px rgba(104, 220, 255, 0.23);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1200px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--black);
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 6% 8%, rgba(255, 77, 173, 0.24), transparent 27rem),
    radial-gradient(circle at 90% 20%, rgba(184, 181, 190, 0.19), transparent 34rem),
    radial-gradient(circle at 45% 72%, rgba(248, 135, 191, 0.16), transparent 39rem),
    linear-gradient(145deg, #050507 0%, #151318 30%, #343139 55%, #1b0e16 77%, #07070b 100%);
  background-attachment: fixed;
  color: var(--white);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.65;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(50px);
  opacity: 0.72;
}

body::before {
  top: 12%;
  left: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(255, 77, 173, 0.22);
  animation: ambient-drift-left 16s ease-in-out infinite alternate;
}

body::after {
  right: -14rem;
  bottom: 5%;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: rgba(123, 119, 132, 0.22);
  animation: ambient-drift-right 19s ease-in-out infinite alternate;
}

@keyframes ambient-drift-left {
  to { transform: translate(6rem, 8rem) scale(1.12); }
}

@keyframes ambient-drift-right {
  to { transform: translate(-8rem, -5rem) scale(0.9); }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 105px 0;
}

.section-band {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 25%, rgba(255, 77, 173, 0.1), transparent 30%),
    linear-gradient(120deg, rgba(9, 9, 13, 0.87), rgba(61, 57, 66, 0.62), rgba(16, 12, 18, 0.9));
  backdrop-filter: blur(12px);
}

h1,
h2,
h3,
.brand,
.btn,
.nav-link,
.nav-dropdown-toggle {
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.75rem, 5.6vw, 5.7rem);
  letter-spacing: -0.052em;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.9rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.28rem;
}

p {
  color: var(--gray-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
}

.skip-link:focus {
  top: 18px;
}

/* =========================================================
   ENCABEZADO Y MENÚS DESPLEGABLES
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(100deg, rgba(5, 5, 8, 0.95), rgba(46, 43, 50, 0.86) 58%, rgba(35, 12, 26, 0.9));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  height: 74px;
  background: rgba(8, 8, 12, 0.97);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.46), 0 1px 0 rgba(255, 77, 173, 0.18);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  font-weight: 850;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(104, 220, 255, 0.28), 0 0 34px rgba(255, 77, 173, 0.2);
}

.site-header.scrolled .brand img {
  width: 50px;
  height: 50px;
}

.brand > span {
  line-height: 1.05;
  font-size: 0.98rem;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: #c8c2cd;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 17px;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-dropdown-toggle {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #e0dbe4;
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav-link::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 4px;
  left: 6px;
  height: 2px;
  background: var(--gradient-brand);
  transition: right 0.24s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-item.open > .nav-dropdown-toggle {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after,
.nav-item.open > .nav-dropdown-toggle::after {
  right: 6px;
}

.nav-chevron {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.nav-item.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 330px;
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.19), transparent 42%),
    linear-gradient(145deg, rgba(15, 14, 19, 0.98), rgba(53, 49, 58, 0.97));
  box-shadow: var(--shadow), 0 0 32px rgba(255, 77, 173, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item:hover > .nav-dropdown-menu,
.nav-item:focus-within > .nav-dropdown-menu,
.nav-item.open > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu li + li {
  margin-top: 5px;
}

.nav-dropdown-menu a {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #ece7ef;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-dropdown-menu a span:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 900;
}

.nav-dropdown-menu a strong {
  display: block;
  color: inherit;
}

.nav-dropdown-menu a small {
  display: block;
  margin-top: 2px;
  color: #bbb5c1;
  font-size: 0.67rem;
  font-weight: 500;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  border-color: rgba(255, 77, 173, 0.34);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(3px);
}

.nav-dropdown-menu .nav-all a {
  grid-template-columns: 1fr auto;
  margin-bottom: 7px;
  border-color: rgba(104, 220, 255, 0.23);
  background: linear-gradient(110deg, rgba(104, 220, 255, 0.11), rgba(255, 77, 173, 0.12));
  color: var(--white);
}

.nav-dropdown-menu .nav-all a span:first-child {
  width: auto;
  height: auto;
  display: block;
  background: transparent;
  color: inherit;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(69, 65, 74, 0.92), rgba(30, 21, 29, 0.94));
  box-shadow: 0 8px 24px rgba(255, 77, 173, 0.12);
}

.menu-toggle i {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open i:nth-child(2) { opacity: 0; }
.menu-toggle.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   BOTONES Y ENCABEZADOS DE SECCIÓN
   ========================================================= */

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.08) brightness(1.04);
}

.btn:active {
  transform: translateY(-1px);
}

.btn:focus-visible,
.carousel-arrow:focus-visible,
.filter-btn:focus-visible,
.menu-toggle:focus-visible,
.nav-dropdown-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.96);
  outline-offset: 4px;
}

.btn-sky-violet {
  color: #08070d;
  background: var(--gradient-sky);
  box-shadow: var(--glow-sky), 0 8px 20px rgba(168, 103, 255, 0.2);
}

.btn-violet-pink {
  color: var(--white);
  background: var(--gradient-pink);
  box-shadow: var(--glow-pink), 0 8px 20px rgba(168, 103, 255, 0.2);
}

.btn-pink-warm {
  color: #100810;
  background: var(--gradient-warm);
  box-shadow: var(--glow-pink), 0 8px 20px rgba(255, 158, 90, 0.18);
}

.btn-gray-pink {
  color: var(--white);
  background: var(--gradient-gray-pink);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.32), 0 0 28px rgba(255, 77, 173, 0.18);
}

.btn-outline-sky {
  color: #dffaff;
  border-color: rgba(104, 220, 255, 0.65);
  background: rgba(104, 220, 255, 0.09);
  box-shadow: inset 0 0 24px rgba(104, 220, 255, 0.08), 0 0 18px rgba(104, 220, 255, 0.1);
}

.btn-outline-rose {
  color: var(--blush);
  border-color: rgba(255, 77, 173, 0.68);
  background: rgba(255, 77, 173, 0.09);
  box-shadow: inset 0 0 24px rgba(255, 77, 173, 0.08), 0 0 18px rgba(255, 77, 173, 0.1);
}

.btn-soft-gray {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(96, 92, 102, 0.6), rgba(29, 28, 33, 0.78));
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.26);
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.page-kicker,
.slide-kicker,
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before,
.page-kicker::before,
.slide-kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gradient-brand);
}

.section-heading > p:last-child {
  max-width: 700px;
  margin-top: 18px;
  color: var(--gray-light);
  font-size: 1.02rem;
}

.section-heading.centered > p:last-child {
  margin-inline: auto;
}

.text-gradient {
  color: transparent;
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
}

/* =========================================================
   CARRUSEL DE INICIO, HISTORIA Y CEO
   ========================================================= */

.home-carousel {
  position: relative;
  min-height: 840px;
  overflow: hidden;
  padding-top: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 10% 100%, rgba(104, 220, 255, 0.17), transparent 34%),
    radial-gradient(circle at 92% 52%, rgba(255, 77, 173, 0.2), transparent 35%),
    linear-gradient(120deg, rgba(6, 6, 10, 0.95), rgba(47, 44, 52, 0.72), rgba(21, 8, 16, 0.91));
}

.home-carousel::before {
  content: "";
  position: absolute;
  inset: var(--header-height) 0 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 72%, transparent);
}

.carousel-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.carousel-glow-one {
  top: 25%;
  left: -11rem;
  width: 28rem;
  height: 28rem;
  background: rgba(104, 220, 255, 0.13);
}

.carousel-glow-two {
  right: -10rem;
  bottom: 12%;
  width: 30rem;
  height: 30rem;
  background: rgba(255, 77, 173, 0.14);
}

.home-slide {
  position: absolute;
  inset: var(--header-height) 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(34px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.home-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.slide-layout {
  width: min(calc(100% - 164px), var(--container));
  min-height: 750px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 5vw, 76px);
  padding: 55px 0 72px;
}

.slide-copy {
  max-width: 690px;
}

.slide-copy h1,
.slide-copy h2 {
  max-width: 740px;
}

.slide-copy h1 span,
.slide-copy h2 span {
  color: transparent;
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
}

.slide-lead {
  max-width: 660px;
  margin: 24px 0 28px;
  color: #d1cbd4;
  font-size: 1.06rem;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.slide-points {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 18px;
  margin-top: 28px;
  color: #e1dce4;
  font-size: 0.84rem;
}

.slide-points li {
  display: inline-flex;
  align-items: center;
}

.slide-points li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(104, 220, 255, 0.28);
}

.story-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 26px;
}

.story-values li {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 13, 18, 0.55);
}

.story-values li:nth-child(1) { border-color: rgba(104, 220, 255, 0.35); }
.story-values li:nth-child(2) { border-color: rgba(168, 103, 255, 0.36); }
.story-values li:nth-child(3) { border-color: rgba(255, 77, 173, 0.37); }
.story-values strong { font-size: 0.79rem; }
.story-values span { color: #bbb5bf; font-size: 0.7rem; }

.ceo-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -2px 0 27px;
}

.ceo-focus span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.58);
  font-size: 0.77rem;
  font-weight: 850;
}

.ceo-focus span:nth-child(1) { border-color: rgba(104, 220, 255, 0.42); color: var(--sky); }
.ceo-focus span:nth-child(2) { border-color: rgba(168, 103, 255, 0.42); color: #d2b3ff; }
.ceo-focus span:nth-child(3) { border-color: rgba(255, 77, 173, 0.42); color: #ffa6d6; }

.slide-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 30%, rgba(248, 135, 191, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(68, 64, 73, 0.76), rgba(10, 9, 13, 0.94));
  box-shadow: var(--shadow), 0 0 46px rgba(255, 77, 173, 0.12);
}

.slide-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(104, 220, 255, 0.09), transparent 34%, transparent 66%, rgba(255, 77, 173, 0.1));
}

.slide-logo-visual {
  gap: 22px;
}

.logo-orbit {
  position: relative;
  width: min(410px, 92%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#111016, #08070b) padding-box, var(--gradient-brand) border-box;
  box-shadow: 0 0 52px rgba(104, 220, 255, 0.16), 0 0 78px rgba(255, 77, 173, 0.14), inset 0 0 46px rgba(168, 103, 255, 0.16);
}

.logo-orbit::before,
.logo-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.logo-orbit::before { inset: -17px; border: 1px solid rgba(104, 220, 255, 0.24); }
.logo-orbit::after { inset: -31px; border: 1px solid rgba(255, 77, 173, 0.18); }

.logo-orbit img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.slide-visual > figcaption {
  position: relative;
  z-index: 2;
  color: #ece7ef;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

/* Foto de historia: burbuja con interior azul cielo */
.story-visual {
  gap: 20px;
}

.story-bubble-shell {
  position: relative;
  width: min(430px, 96%);
  aspect-ratio: 1.04;
  display: grid;
  place-items: center;
  padding: 15px;
  border-radius: 46% 54% 52% 48% / 45% 48% 52% 55%;
  background: var(--gradient-brand);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.36), 0 0 48px rgba(104, 220, 255, 0.22);
  animation: story-bubble-shape 9s ease-in-out infinite alternate;
}

.story-bubble-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(145deg, #a6efff 0%, #68dcff 46%, #3bbce5 100%);
}

.story-bubble-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 5px solid rgba(255, 255, 255, 0.58);
  border-radius: 42% 58% 48% 52% / 48% 46% 54% 52%;
  box-shadow: 0 18px 35px rgba(3, 45, 68, 0.28);
}

.story-origin-label {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(104, 220, 255, 0.42);
  border-radius: 999px;
  background: rgba(7, 19, 25, 0.72);
  color: #e9fbff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(104, 220, 255, 0.16);
}

.story-origin-label::before {
  content: "✦";
  color: var(--sky);
}

@keyframes story-bubble-shape {
  to { border-radius: 55% 45% 46% 54% / 51% 56% 44% 49%; transform: translateY(-5px); }
}

/* CEO: título centrado arriba de Shadow, fuera de la fotografía */
.ceo-visual {
  justify-content: flex-start;
  gap: 16px;
}

.ceo-brand-lockup {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
}

.ceo-brand-lockup span {
  display: block;
  margin-bottom: 3px;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ceo-brand-lockup strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: 0.02em;
}

.ceo-brand-lockup strong em {
  color: var(--pink);
  font-style: normal;
}

.ceo-photo-frame {
  position: relative;
  z-index: 2;
  width: min(360px, 100%);
  overflow: hidden;
  padding: 5px;
  border-radius: 30px;
  background: var(--gradient-brand);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45), 0 0 36px rgba(255, 77, 173, 0.17);
}

.ceo-photo-frame img {
  width: 100%;
  aspect-ratio: 0.94;
  object-fit: cover;
  object-position: center top;
  border-radius: 25px;
}

.ceo-visual figcaption {
  display: grid;
  gap: 1px;
  text-transform: none;
}

.ceo-visual figcaption strong {
  color: var(--white);
  font-size: 0.86rem;
}

.ceo-visual figcaption span {
  color: #c4bec8;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.carousel-arrow {
  position: absolute;
  z-index: 20;
  top: 52%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient-sky);
  box-shadow: var(--glow-sky);
  transform: translateY(-50%);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  filter: saturate(1.15);
}

.carousel-arrow span {
  display: block;
  margin-top: -3px;
  font-size: 2.4rem;
  line-height: 1;
}

.carousel-previous { left: 18px; }
.carousel-next { right: 18px; background: var(--gradient-warm); box-shadow: var(--glow-pink); }

/* =========================================================
   CATÁLOGO DE SERVICIOS: TRES POR FILA
   ========================================================= */

.services {
  background:
    radial-gradient(circle at 86% 12%, rgba(248, 135, 191, 0.13), transparent 29%),
    linear-gradient(145deg, rgba(54, 51, 59, 0.66), rgba(12, 12, 16, 0.86));
}

.services-grid,
.catalog-grid,
.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 50px;
}

.service-card,
.catalog-card,
.form-option-card {
  --card-accent: var(--gradient-sky);
  position: relative;
  isolation: isolate;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(63, 59, 68, 0.72), rgba(12, 12, 16, 0.92));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before,
.catalog-card::before,
.form-option-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--card-accent);
}

.service-card::after,
.catalog-card::after,
.form-option-card::after {
  content: "";
  position: absolute;
  z-index: -2;
  right: -4rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(255, 77, 173, 0.13);
  filter: blur(20px);
}

.service-card:nth-child(2),
.catalog-card:nth-child(2),
.form-option-card:nth-child(2) { --card-accent: var(--gradient-pink); }
.service-card:nth-child(3),
.catalog-card:nth-child(3),
.form-option-card:nth-child(3) { --card-accent: var(--gradient-gray-pink); }
.service-card:nth-child(4),
.catalog-card:nth-child(4),
.form-option-card:nth-child(4) { --card-accent: var(--gradient-warm); }
.service-card:nth-child(5),
.catalog-card:nth-child(5),
.form-option-card:nth-child(5) { --card-accent: linear-gradient(110deg, var(--pink), var(--sky)); }
.service-card:nth-child(6),
.catalog-card:nth-child(6),
.form-option-card:nth-child(6) { --card-accent: linear-gradient(110deg, #8a8790, var(--sky), var(--violet)); }

.service-card:hover,
.catalog-card:hover,
.form-option-card:hover,
.service-card:focus-within,
.catalog-card:focus-within,
.form-option-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(248, 135, 191, 0.34);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), 0 0 32px rgba(255, 77, 173, 0.11);
}

.service-icon,
.catalog-icon,
.form-option-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(104, 220, 255, 0.28);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(104, 220, 255, 0.16), rgba(255, 77, 173, 0.12));
  color: var(--sky);
  font-size: 1.25rem;
  font-weight: 950;
  box-shadow: inset 0 0 18px rgba(104, 220, 255, 0.07);
}

.service-card h3,
.catalog-card h3,
.form-option-card h3 {
  margin-bottom: 11px;
}

.service-card > p,
.catalog-card > p,
.form-option-card > p {
  margin-bottom: 18px;
  color: #c8c2cc;
  font-size: 0.91rem;
}

.card-list,
.detail-list,
.form-preview-list,
.check-list {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.card-list li,
.detail-list li,
.form-preview-list li,
.check-list li {
  position: relative;
  padding-left: 23px;
  color: #e2dde4;
  font-size: 0.82rem;
}

.card-list li::before,
.detail-list li::before,
.form-preview-list li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--sky);
  font-weight: 950;
}

.service-card .btn,
.catalog-card .btn,
.form-option-card .btn {
  width: 100%;
  margin-top: auto;
}

/* El enlace visible también extiende su área activa a toda la tarjeta. */
.service-card .btn::after,
.catalog-card .btn::after,
.form-option-card .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
}

.services-footer-action,
.catalog-footer-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* =========================================================
   ACCESOS DIRECTOS A FORMULARIOS
   ========================================================= */

.form-directory-section {
  background:
    radial-gradient(circle at 8% 88%, rgba(104, 220, 255, 0.13), transparent 30%),
    linear-gradient(120deg, rgba(8, 8, 12, 0.94), rgba(58, 54, 62, 0.68), rgba(31, 12, 25, 0.91));
}

.form-directory-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 58px;
}

.form-directory-copy {
  position: sticky;
  top: 110px;
}

.form-directory-copy > p:not(.eyebrow) {
  margin: 20px 0 27px;
}

.form-directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.directory-link {
  min-height: 112px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(68, 64, 72, 0.69), rgba(12, 12, 16, 0.88));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.directory-link:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 220, 255, 0.38);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32), 0 0 24px rgba(255, 77, 173, 0.1);
}

.directory-link > span:first-child {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient-sky);
  color: var(--black);
  font-size: 0.74rem;
  font-weight: 950;
}

.directory-link:nth-child(2n) > span:first-child { background: var(--gradient-pink); color: var(--white); }
.directory-link:nth-child(3n) > span:first-child { background: var(--gradient-warm); color: var(--black); }

.directory-link strong {
  display: block;
  color: var(--white);
  font-size: 0.84rem;
}

.directory-link small {
  display: block;
  margin-top: 4px;
  color: #bdb7c0;
  font-size: 0.69rem;
}

.directory-link > span:last-child {
  color: var(--pink);
  font-size: 1.2rem;
  font-weight: 900;
}

/* =========================================================
   PROCESO
   ========================================================= */

.process {
  background: linear-gradient(145deg, rgba(13, 13, 17, 0.86), rgba(66, 62, 70, 0.58), rgba(16, 10, 15, 0.88));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.process-step {
  position: relative;
  padding: 28px 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 46%;
  height: 2px;
  background: var(--gradient-brand);
}

.process-step > span {
  display: block;
  margin-bottom: 28px;
  color: var(--pink);
  font-size: 2.05rem;
  font-weight: 950;
}

.process-step h3 { margin-bottom: 11px; font-size: 1.08rem; }
.process-step p { color: #c6c0ca; font-size: 0.86rem; }

/* =========================================================
   PORTAFOLIO
   ========================================================= */

.portfolio {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 77, 173, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(40, 37, 44, 0.78), rgba(8, 8, 12, 0.9));
}

.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 45px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.56);
  color: #d1cbd5;
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: transparent;
  background: var(--gradient-pink);
  color: var(--white);
  box-shadow: 0 9px 24px rgba(255, 77, 173, 0.18);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(58, 54, 62, 0.7), rgba(10, 10, 14, 0.91));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.29);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 135, 191, 0.32);
  box-shadow: var(--shadow), 0 0 28px rgba(255, 77, 173, 0.11);
}

.portfolio-card.hidden { display: none; }

.portfolio-media {
  position: relative;
  height: 340px;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, #14131a, #332d37);
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.portfolio-media.portfolio-wide img,
.portfolio-media.portfolio-logo img {
  object-fit: contain;
  padding: 24px;
}

.portfolio-media span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.86);
  font-size: 0.7rem;
  font-weight: 850;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover .portfolio-media img { transform: scale(1.035); filter: brightness(0.84); }
.portfolio-card:hover .portfolio-media span,
.portfolio-media:focus-visible span { opacity: 1; transform: none; }

.portfolio-info { padding: 22px; }
.portfolio-info > p:first-child { color: var(--sky); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.portfolio-info h3 { margin-top: 5px; font-size: 1.12rem; }
.portfolio-info > p:last-child:not(:first-child) { margin-top: 9px; color: #beb8c1; font-size: 0.82rem; }
.portfolio-note { margin-top: 28px; color: #bdb7c0; text-align: center; }

/* =========================================================
   CONTACTO
   ========================================================= */

.contact {
  background:
    radial-gradient(circle at 14% 20%, rgba(104, 220, 255, 0.13), transparent 30%),
    radial-gradient(circle at 86% 82%, rgba(255, 77, 173, 0.15), transparent 32%),
    linear-gradient(125deg, rgba(7, 7, 11, 0.94), rgba(56, 52, 61, 0.72), rgba(19, 10, 16, 0.93));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 19px;
}

.contact-details {
  display: grid;
  gap: 9px;
  margin-top: 32px;
}

.contact-details a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details a:hover strong { color: var(--sky); }
.contact-details span { color: #c0bac4; text-align: right; }

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.social-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.76rem;
  font-weight: 850;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-button img {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  object-fit: cover;
}

.social-button:hover { transform: translateY(-2px); border-color: rgba(248, 135, 191, 0.38); background: rgba(255, 77, 173, 0.1); }

.contact-form-directory {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(66, 62, 71, 0.78), rgba(9, 9, 13, 0.95));
  box-shadow: var(--shadow), 0 0 42px rgba(255, 77, 173, 0.11);
}

.contact-form-directory::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: url("../images/marca-agua-circular-blanca.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.contact-form-directory h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.contact-form-directory > p {
  margin-bottom: 24px;
}

.contact-directory-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.contact-directory-list a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(6, 6, 9, 0.46);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-directory-list a:hover {
  transform: translateX(4px);
  border-color: rgba(104, 220, 255, 0.38);
  background: rgba(104, 220, 255, 0.07);
}

.contact-directory-list a > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient-sky);
  color: var(--black);
  font-size: 0.69rem;
  font-weight: 950;
}

.contact-directory-list a:nth-child(2n) > span:first-child { background: var(--gradient-pink); color: var(--white); }
.contact-directory-list a:nth-child(3n) > span:first-child { background: var(--gradient-warm); color: var(--black); }
.contact-directory-list strong { font-size: 0.82rem; }
.contact-directory-list a > span:last-child { color: var(--pink); font-size: 1.2rem; font-weight: 950; }

.hours-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 35px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(115deg, rgba(62, 58, 66, 0.72), rgba(10, 10, 14, 0.86));
}

.hours-card ul { display: grid; gap: 8px; }
.hours-card li { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hours-card li:last-child { border-bottom: 0; }
.hours-card li span { color: #c5bfc8; }
.hours-card li strong { text-align: right; }

/* =========================================================
   PÁGINAS INTERIORES: PORTADAS Y CATÁLOGOS
   ========================================================= */

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 8% 85%, rgba(104, 220, 255, 0.14), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(255, 77, 173, 0.18), transparent 34%),
    linear-gradient(125deg, rgba(6, 6, 9, 0.96), rgba(61, 57, 65, 0.75), rgba(27, 11, 21, 0.93));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: 62px;
  padding: 74px 0;
}

.page-hero-copy h1 {
  max-width: 780px;
}

.page-hero-copy > p:not(.page-kicker):not(.breadcrumb) {
  max-width: 680px;
  margin: 22px 0 28px;
  font-size: 1.05rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero-panel {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.19), transparent 42%),
    linear-gradient(145deg, rgba(72, 68, 77, 0.76), rgba(8, 8, 12, 0.93));
  box-shadow: var(--shadow), 0 0 44px rgba(255, 77, 173, 0.11);
}

.page-hero-panel img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 20px;
}

.page-hero-panel .hero-mini-list {
  display: grid;
  gap: 10px;
}

.hero-mini-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 9, 13, 0.48);
  color: #ece6ee;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-mini-list a:hover { transform: translateX(4px); border-color: rgba(104, 220, 255, 0.4); }
.hero-mini-list a span { color: var(--pink); }

.catalog-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(248, 135, 191, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(52, 49, 56, 0.72), rgba(10, 10, 14, 0.91));
}

.catalog-tag,
.form-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 13px;
  padding: 6px 10px;
  border: 1px solid rgba(104, 220, 255, 0.26);
  border-radius: 999px;
  background: rgba(104, 220, 255, 0.08);
  color: var(--sky);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* =========================================================
   PÁGINAS DE DETALLE DE SERVICIO
   ========================================================= */

.detail-hero {
  min-height: 620px;
}

.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 62px;
  padding: 74px 0;
}

.breadcrumb {
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}

.breadcrumb a { color: #c7c1ca; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { color: var(--pink); }

.detail-hero-copy > p:not(.breadcrumb):not(.page-kicker) {
  max-width: 690px;
  margin: 22px 0 27px;
  font-size: 1.05rem;
}

.detail-hero-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--gradient-brand);
  box-shadow: var(--shadow), 0 0 44px rgba(255, 77, 173, 0.13);
}

.detail-hero-card-inner {
  overflow: hidden;
  padding: 18px;
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(50, 47, 55, 0.96), rgba(7, 7, 10, 0.98));
}

.detail-hero-card img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.detail-hero-card figcaption {
  padding: 16px 5px 3px;
  color: #cbc5ce;
  font-size: 0.78rem;
  text-align: center;
}

.detail-content-section {
  background: linear-gradient(145deg, rgba(58, 54, 62, 0.7), rgba(9, 9, 13, 0.91));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.detail-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(19, 18, 23, 0.78), rgba(62, 58, 66, 0.62));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.27);
}

.detail-panel .catalog-icon { margin-bottom: 18px; }
.detail-panel h2 { margin-bottom: 16px; font-size: 1.45rem; letter-spacing: -0.02em; }
.detail-panel > p { margin-bottom: 17px; font-size: 0.88rem; }

.detail-steps {
  display: grid;
  gap: 12px;
}

.detail-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
}

.detail-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--gradient-pink);
  font-size: 0.75rem;
  font-weight: 950;
}

.detail-steps strong { display: block; font-size: 0.82rem; }
.detail-steps small { display: block; margin-top: 3px; color: #beb8c1; font-size: 0.72rem; }

.detail-cta {
  background:
    radial-gradient(circle at 12% 80%, rgba(104, 220, 255, 0.13), transparent 31%),
    linear-gradient(120deg, rgba(6, 6, 10, 0.95), rgba(61, 57, 65, 0.72), rgba(31, 12, 25, 0.92));
}

.detail-cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.detail-cta-copy { max-width: 720px; }
.detail-cta-copy p { margin-top: 15px; }
.detail-cta-actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* =========================================================
   PÁGINAS DE FORMULARIOS
   ========================================================= */

.form-page-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 77, 173, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(54, 50, 59, 0.74), rgba(8, 8, 12, 0.92));
}

.form-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 42px;
}

.form-info-card {
  position: sticky;
  top: 110px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(104, 220, 255, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(65, 61, 69, 0.76), rgba(9, 9, 13, 0.94));
  box-shadow: var(--shadow);
}

.form-info-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 220px;
  height: 220px;
  background: url("../images/marca-agua-circular-blanca.png") center / contain no-repeat;
  opacity: 0.04;
}

.form-info-card h2 { margin-bottom: 13px; font-size: 1.55rem; }
.form-info-card > p { margin-bottom: 22px; font-size: 0.9rem; }
.form-info-card .btn { position: relative; z-index: 2; width: 100%; margin-top: 8px; }

.request-form {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(20, 19, 24, 0.96), rgba(64, 60, 68, 0.75));
  box-shadow: var(--shadow), 0 0 44px rgba(255, 77, 173, 0.1);
}

.request-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.request-form-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.request-form-heading img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 2px solid rgba(104, 220, 255, 0.34);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(104, 220, 255, 0.13);
}

.request-form-heading p { margin-bottom: 3px; color: var(--sky); font-size: 0.69rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.request-form-heading h2 { font-size: 1.55rem; letter-spacing: -0.025em; }
.form-intro { margin: 21px 0 24px; font-size: 0.9rem; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field { margin-top: 16px; }
.form-field.full { grid-column: 1 / -1; }

.request-form label {
  display: block;
  margin-bottom: 7px;
  color: #f2edf3;
  font-size: 0.8rem;
  font-weight: 850;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  outline: none;
  background: rgba(5, 5, 8, 0.62);
  color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.request-form input,
.request-form select { min-height: 50px; padding: 0 15px; }
.request-form textarea { min-height: 135px; padding: 13px 15px; resize: vertical; }
.request-form input::placeholder,
.request-form textarea::placeholder { color: #8f8992; }
.request-form select option { background: #18171c; color: var(--white); }

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: rgba(104, 220, 255, 0.62);
  background: rgba(5, 5, 8, 0.78);
  box-shadow: 0 0 0 4px rgba(104, 220, 255, 0.09), 0 0 24px rgba(104, 220, 255, 0.08);
}

.form-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
}

.form-check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--pink);
}

.form-check label { margin: 0; color: #c6c0c9; font-size: 0.75rem; font-weight: 600; }
.request-form .btn { width: 100%; }
.form-note { margin-top: 14px; color: #a9a3ad; font-size: 0.72rem; text-align: center; }
.form-status { min-height: 23px; margin-top: 12px; color: var(--sky); font-size: 0.78rem; font-weight: 700; text-align: center; }

/* =========================================================
   PIE, FLOTANTES Y ANIMACIONES
   ========================================================= */

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(110deg, #060609, #2a272e 58%, #180d14);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand p { display: grid; }
.footer-brand strong { color: var(--white); }
.footer-brand span,
.site-footer > .container > p,
.footer-content > p { color: #b8b2bc; font-size: 0.78rem; }

.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.whatsapp-float.visible,
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.whatsapp-float {
  bottom: 82px;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: #24d366;
  box-shadow: 0 14px 34px rgba(36, 211, 102, 0.3);
}

.whatsapp-float img { width: 34px; height: 34px; border-radius: 50%; }

.back-to-top {
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--gradient-pink);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 950;
  box-shadow: var(--glow-pink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  :root { --container: 980px; }

  .brand > span { display: none; }
  .main-nav { gap: 11px; }
  .nav-link,
  .nav-dropdown-toggle { font-size: 0.78rem; }

  .slide-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    gap: 38px;
  }

  .slide-copy h1,
  .slide-copy h2 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); }

  .page-hero-grid,
  .detail-hero-grid { gap: 38px; }

  .form-directory-grid { gap: 38px; }
}

@media (max-width: 920px) {
  :root { --header-height: 74px; }

  .site-header { height: var(--header-height); }
  .brand > span { display: block; }
  .brand img { width: 50px; height: 50px; }

  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    max-height: calc(100vh - 100px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background:
      radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.18), transparent 38%),
      linear-gradient(145deg, rgba(12, 12, 16, 0.99), rgba(57, 53, 61, 0.98));
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link,
  .nav-dropdown-toggle { width: 100%; min-height: 48px; justify-content: space-between; padding: 0 13px; border-radius: 13px; font-size: 0.86rem; }
  .nav-link::after,
  .nav-dropdown-toggle::after { display: none; }
  .nav-link:hover,
  .nav-link.active,
  .nav-dropdown-toggle:hover,
  .nav-dropdown-toggle.active,
  .nav-item.open > .nav-dropdown-toggle { background: rgba(255, 255, 255, 0.07); }

  .nav-dropdown-menu,
  .nav-item:hover > .nav-dropdown-menu,
  .nav-item:focus-within > .nav-dropdown-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 7px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    pointer-events: auto;
    transform: none;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-item.open > .nav-dropdown-menu {
    max-height: 640px;
    padding: 7px;
    transform: none;
  }

  .nav-dropdown-menu a { background: rgba(5, 5, 8, 0.34); }

  .home-carousel { min-height: 1190px; }
  .home-slide { inset: var(--header-height) 0 0; }
  .home-carousel::before { inset: var(--header-height) 0 0; }

  .slide-layout {
    width: min(calc(100% - 96px), 720px);
    min-height: 1080px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 32px;
    padding: 46px 0 62px;
  }

  .slide-copy { max-width: none; }
  .slide-visual { min-height: 400px; }
  .logo-orbit { width: min(330px, 82%); }
  .story-bubble-shell { width: min(385px, 92%); }
  .ceo-photo-frame { width: min(330px, 100%); }
  .carousel-arrow { top: 78%; width: 46px; height: 46px; }
  .carousel-previous { left: 8px; }
  .carousel-next { right: 8px; }

  .services-grid,
  .catalog-grid,
  .forms-grid,
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .process-grid { grid-template-columns: repeat(2, 1fr); }

  .form-directory-grid,
  .contact-grid,
  .page-hero-grid,
  .detail-hero-grid,
  .form-page-grid { grid-template-columns: 1fr; }

  .form-directory-copy,
  .form-info-card { position: static; }

  .page-hero-panel { min-height: 300px; }
  .detail-hero-card { width: min(520px, 100%); margin-inline: auto; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-cta-grid { align-items: flex-start; flex-direction: column; }

  .hours-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .brand small { display: none; }

  h1 { font-size: clamp(2.35rem, 12vw, 3.55rem); }
  h2 { font-size: clamp(1.95rem, 9vw, 2.9rem); }

  .home-carousel { min-height: 1240px; }
  .slide-layout { width: min(calc(100% - 76px), 560px); min-height: 1135px; padding: 40px 0 54px; }
  .slide-copy h1,
  .slide-copy h2 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .slide-lead { font-size: 0.96rem; }
  .slide-actions { flex-direction: column; }
  .slide-actions .btn { width: 100%; }
  .story-values { grid-template-columns: 1fr; }
  .story-values li { min-height: 66px; }
  .slide-visual { min-height: 370px; padding: 20px; border-radius: 27px; }
  .carousel-arrow { top: 80%; width: 42px; height: 42px; }
  .carousel-arrow span { font-size: 2rem; }
  .carousel-previous { left: 5px; }
  .carousel-next { right: 5px; }

  .services-grid,
  .catalog-grid,
  .forms-grid,
  .portfolio-grid,
  .form-directory-list { grid-template-columns: 1fr; }

  .portfolio-heading { align-items: flex-start; flex-direction: column; }
  .portfolio-media { height: 315px; }

  .form-row { grid-template-columns: 1fr; }
  .request-form { padding: 25px 20px; }
  .request-form-heading { align-items: flex-start; }
  .request-form-heading img { width: 54px; height: 54px; flex-basis: 54px; }
  .request-form-heading h2 { font-size: 1.25rem; }

  .contact-details a { align-items: flex-start; flex-direction: column; gap: 3px; }
  .contact-details span { text-align: left; }
  .contact-form-directory { padding: 26px 20px; }

  .hours-card { padding: 24px 20px; }
  .hours-card li { align-items: flex-start; flex-direction: column; gap: 2px; }
  .hours-card li strong { text-align: left; }

  .page-main { padding-top: var(--header-height); }
  .page-hero { min-height: 0; }
  .page-hero-grid,
  .detail-hero-grid { padding: 60px 0; }
  .page-hero-actions,
  .detail-cta-actions { flex-direction: column; width: 100%; }
  .page-hero-actions .btn,
  .detail-cta-actions .btn { width: 100%; }
  .page-hero-panel { padding: 22px; }

  .footer-content { align-items: flex-start; flex-direction: column; }
  .whatsapp-float,
  .back-to-top { right: 14px; }
}

@media (max-width: 420px) {
  .brand > span { display: none; }
  .home-carousel { min-height: 1270px; }
  .slide-layout { width: calc(100% - 68px); min-height: 1165px; }
  .slide-visual { min-height: 340px; }
  .logo-orbit { width: min(255px, 84%); }
  .story-bubble-shell { width: min(290px, 94%); }
  .ceo-photo-frame { width: min(285px, 100%); }
  .carousel-arrow { top: 81%; }
  .service-card,
  .catalog-card,
  .form-option-card,
  .detail-panel,
  .form-info-card { padding: 23px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   FASE 3 · FORMULARIOS, CREADOR Y ENTREGA PROTEGIDA
   ========================================================= */

.nav-dropdown-menu .nav-feature > a {
  border-color: rgba(104, 220, 255, 0.18);
  background:
    radial-gradient(circle at 100% 0, rgba(104, 220, 255, 0.13), transparent 44%),
    rgba(255, 255, 255, 0.055);
}

.nav-dropdown-menu .nav-feature:nth-of-type(3) > a {
  border-color: rgba(255, 77, 173, 0.2);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.15), transparent 44%),
    rgba(255, 255, 255, 0.055);
}

.nav-section-title {
  padding: 10px 11px 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compact-page-hero {
  min-height: 560px;
}

.compact-page-hero .page-hero-grid {
  min-height: 560px;
}

.form-logo-panel {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(104, 220, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(255, 77, 173, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(7, 7, 12, 0.98), rgba(54, 50, 59, 0.9));
}

.form-logo-panel::after {
  content: "";
  position: absolute;
  inset: auto -55px -90px auto;
  width: 250px;
  height: 250px;
  background: url("../images/marca-agua-simplificada-blanca.png") center / contain no-repeat;
  opacity: 0.035;
}

.form-logo-panel img {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.form-logo-panel p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #f5edf3;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.phase3-form-page .form-page-section,
.general-form-page .form-page-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 77, 173, 0.13), transparent 30%),
    radial-gradient(circle at 95% 88%, rgba(104, 220, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(48, 44, 52, 0.82), rgba(7, 7, 11, 0.96));
}

.form-info-readable {
  color: var(--white);
}

.form-info-readable::after {
  display: none;
}

.form-info-readable .info-watermark {
  position: absolute;
  z-index: 0;
  right: -38px;
  bottom: -35px;
  width: 220px;
  opacity: 0.045;
  pointer-events: none;
}

.form-info-readable > *:not(.info-watermark) {
  position: relative;
  z-index: 1;
}

.privacy-note {
  display: grid;
  gap: 3px;
  margin: 22px 0 8px;
  padding: 14px 15px;
  border: 1px solid rgba(104, 220, 255, 0.16);
  border-radius: 15px;
  background: rgba(5, 5, 9, 0.34);
}

.privacy-note strong {
  color: var(--sky);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.privacy-note span {
  color: #d1cbd4;
  font-size: 0.75rem;
  line-height: 1.5;
}

.request-form-readable {
  isolation: isolate;
  overflow: hidden;
  padding: 0 34px 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 77, 173, 0.09), transparent 38%),
    linear-gradient(155deg, rgba(255, 252, 254, 0.99), rgba(237, 232, 239, 0.985));
  color: #19161d;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42), 0 0 48px rgba(255, 77, 173, 0.1);
}

.request-form-readable::before {
  height: 5px;
}

.form-official-brand {
  position: relative;
  z-index: 3;
  margin: 0 -34px 25px;
  padding: 16px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 8% 50%, rgba(104, 220, 255, 0.14), transparent 28%),
    radial-gradient(circle at 93% 50%, rgba(255, 77, 173, 0.17), transparent 33%),
    #080810;
}

.form-official-brand img {
  width: min(100%, 500px);
  max-height: 116px;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 16px;
}

.form-official-watermark {
  position: absolute;
  z-index: -1;
  right: -95px;
  bottom: 90px;
  width: 390px;
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}

.form-title-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.form-title-row p {
  margin-bottom: 4px;
  color: #80516e;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-title-row h2 {
  color: #17131a;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.secure-form-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(28, 22, 30, 0.12);
  border-radius: 999px;
  background: rgba(104, 220, 255, 0.15);
  color: #1e5260;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.request-form-readable .form-intro {
  position: relative;
  z-index: 2;
  margin: 12px 0 22px;
  color: #5e5662;
  font-size: 0.88rem;
}

.form-progress {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 25px;
}

.form-progress li {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(30, 24, 32, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: #746c77;
  transition: 0.2s ease;
}

.form-progress li span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #ddd6df;
  color: #48404c;
  font-size: 0.75rem;
  font-weight: 950;
}

.form-progress li small {
  min-width: 0;
  overflow: hidden;
  font-size: 0.69rem;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.form-progress li.is-active,
.form-progress li.is-complete {
  border-color: rgba(255, 77, 173, 0.22);
  background: rgba(255, 77, 173, 0.085);
  color: #4f293f;
}

.form-progress li.is-active span,
.form-progress li.is-complete span {
  background: var(--gradient-pink);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 77, 173, 0.23);
}

.form-steps,
.form-step,
.form-step > * {
  position: relative;
  z-index: 2;
}

.form-step[hidden] {
  display: none !important;
}

.form-step {
  min-height: 285px;
  animation: form-step-in 0.3s ease;
}

@keyframes form-step-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

.form-step-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(37, 29, 39, 0.11);
}

.form-step-heading > span {
  color: #8b5572;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-step-heading h3 {
  color: #1b171e;
  font-size: 1.22rem;
  text-align: right;
}

.request-form-readable label {
  margin-bottom: 8px;
  color: #28222b;
  font-size: 0.82rem;
  font-weight: 850;
}

.request-form-readable label > span {
  color: #c92c78;
}

.request-form-readable input,
.request-form-readable select,
.request-form-readable textarea {
  border: 1px solid #c8c0ca;
  background: rgba(255, 255, 255, 0.93);
  color: #18141b;
  box-shadow: 0 5px 15px rgba(48, 38, 50, 0.045);
}

.request-form-readable input,
.request-form-readable select {
  min-height: 53px;
}

.request-form-readable textarea {
  min-height: 126px;
}

.request-form-readable input::placeholder,
.request-form-readable textarea::placeholder {
  color: #7d747f;
  opacity: 1;
}

.request-form-readable select option {
  background: #ffffff;
  color: #18141b;
}

.request-form-readable input:focus,
.request-form-readable select:focus,
.request-form-readable textarea:focus {
  border-color: #a83c7b;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 77, 173, 0.12), 0 10px 24px rgba(67, 44, 61, 0.08);
}

.request-form-readable input:user-invalid,
.request-form-readable select:user-invalid,
.request-form-readable textarea:user-invalid {
  border-color: #c43d5d;
}

.file-field input[type="file"] {
  min-height: 58px;
  padding: 9px;
  background: #fff;
}

.file-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 13px;
  border: 0;
  border-radius: 10px;
  background: var(--gradient-gray-pink);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.field-help,
.file-selection {
  margin-top: 7px;
  color: #6c636f;
  font-size: 0.7rem;
}

.file-selection {
  color: #793d61;
  font-weight: 750;
}

.request-form-readable .final-confirmation {
  position: relative;
  z-index: 2;
  margin: 20px 0 0;
  padding: 14px;
  border: 1px solid rgba(35, 28, 37, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.request-form-readable .final-confirmation[hidden] {
  display: none !important;
}

.request-form-readable .form-check label {
  color: #4d4651;
  font-size: 0.75rem;
}

.form-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.form-actions .btn {
  width: 100%;
}

.form-actions > .btn:only-child,
.form-actions > .btn[data-step-next]:not([hidden]):first-child,
.form-actions > .btn[data-form-submit]:not([hidden]):first-child {
  grid-column: 1 / -1;
}

.request-form-readable .form-note {
  position: relative;
  z-index: 2;
  color: #6e6571;
}

.request-form-readable .form-status {
  position: relative;
  z-index: 2;
  min-height: 0;
  padding: 0;
  color: #6b2450;
}

.request-form-readable .form-status.is-visible {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 77, 173, 0.17);
  border-radius: 13px;
  background: rgba(255, 77, 173, 0.075);
}

.request-form-readable .form-status.is-success {
  border-color: rgba(32, 149, 96, 0.22);
  background: rgba(45, 190, 123, 0.1);
  color: #155b3b;
}

.form-fallback-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.form-fallback-actions[hidden] {
  display: none !important;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Centro de formularios */
.workflow-route-section {
  background:
    radial-gradient(circle at 9% 18%, rgba(104, 220, 255, 0.11), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(255, 77, 173, 0.13), transparent 33%),
    linear-gradient(135deg, rgba(8, 8, 12, 0.94), rgba(61, 56, 65, 0.74));
}

.workflow-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.workflow-route-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(104, 220, 255, 0.12), transparent 36%),
    linear-gradient(150deg, rgba(67, 62, 71, 0.82), rgba(10, 10, 14, 0.95));
  box-shadow: var(--shadow);
}

.workflow-route-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -55px;
  width: 210px;
  height: 210px;
  background: url("../images/marca-agua-simplificada-blanca.png") center / contain no-repeat;
  opacity: 0.035;
}

.route-request {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.15), transparent 38%),
    linear-gradient(150deg, rgba(70, 56, 68, 0.85), rgba(10, 10, 14, 0.95));
}

.route-approve {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 158, 90, 0.15), transparent 38%),
    linear-gradient(150deg, rgba(73, 58, 62, 0.85), rgba(10, 10, 14, 0.95));
}

.route-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--gradient-sky);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: var(--glow-sky);
}

.route-request .route-number { background: var(--gradient-pink); color: var(--white); }
.route-approve .route-number { background: var(--gradient-warm); color: var(--black); }
.workflow-route-card h3 { margin-bottom: 13px; font-size: 1.45rem; }
.workflow-route-card > p { margin-bottom: 18px; font-size: 0.88rem; }
.workflow-route-card ul { display: grid; gap: 9px; margin-bottom: 25px; }
.workflow-route-card li { position: relative; padding-left: 20px; color: #d5cfd7; font-size: 0.78rem; }
.workflow-route-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sky); font-weight: 950; }
.workflow-route-card .btn { position: relative; z-index: 2; width: 100%; margin-top: auto; }

/* Creador visual integrado y completo */
.integrated-designer-section,
.full-designer-section {
  background:
    radial-gradient(circle at 4% 20%, rgba(255, 77, 173, 0.16), transparent 30%),
    radial-gradient(circle at 94% 80%, rgba(104, 220, 255, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(8, 8, 12, 0.96), rgba(59, 55, 64, 0.74), rgba(20, 11, 18, 0.94));
}

.integrated-designer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 420px);
  align-items: center;
  gap: 38px;
  margin-bottom: 38px;
}

.integrated-designer-heading > div { max-width: 720px; }
.integrated-designer-heading h2 { margin-bottom: 15px; }
.integrated-designer-heading img {
  width: 100%;
  max-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.integrated-designer-grid,
.designer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: 34px;
}

.designer-grid {
  grid-template-columns: minmax(360px, 0.85fr) minmax(460px, 1.15fr);
}

.designer-controls {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.12), transparent 40%),
    linear-gradient(150deg, rgba(58, 54, 63, 0.88), rgba(10, 10, 14, 0.96));
  box-shadow: var(--shadow);
}

.designer-controls::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -75px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  background: url("../images/marca-agua-simplificada-blanca.png") center / contain no-repeat;
  opacity: 0.03;
  pointer-events: none;
}

.designer-controls > * { position: relative; z-index: 1; }
.compact-controls { padding: 27px; }

.designer-brand {
  display: grid;
  gap: 17px;
  margin: -30px -30px 25px;
  padding: 18px 25px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #080810;
}

.designer-brand img {
  width: 100%;
  max-height: 118px;
  object-fit: contain;
  border-radius: 13px;
}

.designer-brand p {
  color: var(--sky);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.designer-brand h2 { margin-top: 3px; font-size: 1.75rem; }

.designer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.designer-field.full { grid-column: 1 / -1; }
.designer-field label {
  display: block;
  margin-bottom: 7px;
  color: #f4eef5;
  font-size: 0.77rem;
  font-weight: 850;
}

.designer-field input,
.designer-field select,
.designer-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 13px;
  outline: none;
  background: rgba(5, 5, 8, 0.62);
  color: var(--white);
}

.designer-field textarea {
  min-height: 106px;
  padding: 12px 14px;
  resize: vertical;
}

.designer-field input:focus,
.designer-field select:focus,
.designer-field textarea:focus {
  border-color: rgba(104, 220, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(104, 220, 255, 0.08);
}

.designer-field small {
  display: block;
  margin-top: 6px;
  color: #aaa4ad;
  font-size: 0.66rem;
}

.designer-color-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.designer-color-row label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #e8e2ea;
  font-size: 0.7rem;
  font-weight: 800;
}

.designer-color-row input[type="color"] {
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 2px;
  border-radius: 9px;
}

.designer-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.designer-contact-fields h3 {
  grid-column: 1 / -1;
  font-size: 1rem;
}

.designer-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.designer-actions .btn { width: 100%; }
.designer-status {
  min-height: 0;
  margin-top: 12px;
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 750;
}

.designer-status.is-visible {
  min-height: 42px;
  padding: 11px 13px;
  border: 1px solid rgba(104, 220, 255, 0.16);
  border-radius: 12px;
  background: rgba(104, 220, 255, 0.07);
}

.security-explanation {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(5, 5, 8, 0.35);
}

.security-explanation strong { color: var(--rose); font-size: 0.78rem; }
.security-explanation p { margin-top: 5px; color: #bbb4be; font-size: 0.7rem; }

.designer-preview-column {
  position: sticky;
  top: 105px;
}

.design-preview-shell {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 30px;
  background: rgba(6, 6, 10, 0.65);
  box-shadow: var(--shadow), 0 0 50px rgba(104, 220, 255, 0.09);
}

.design-preview {
  --design-bg: #17131d;
  --design-accent: #ff4dad;
  --design-text: #fffafd;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 16%, color-mix(in srgb, var(--design-accent) 58%, transparent), transparent 36%),
    linear-gradient(145deg, color-mix(in srgb, var(--design-bg) 84%, #ffffff 16%), var(--design-bg));
  color: var(--design-text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.design-preview[data-design-type="sticker"],
.design-preview[data-design-type="logo"] { aspect-ratio: 1 / 1; align-items: center; text-align: center; }
.design-preview[data-design-type="sticker"] { border-radius: 50%; }
.design-preview[data-design-type="banner"] { aspect-ratio: 8 / 3; align-items: center; }
.design-preview[data-design-type="document"],
.design-preview[data-design-type="academic"] { aspect-ratio: 8.5 / 11; }

.design-image-layer {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.design-image-layer.has-image { opacity: 0.42; }
.design-image-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--design-bg) 92%, transparent), transparent 68%);
}

.design-decor {
  position: absolute;
  z-index: -1;
  border: 2px solid color-mix(in srgb, var(--design-accent) 72%, white 28%);
  opacity: 0.7;
}

.decor-one {
  top: -12%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.decor-two {
  left: -20%;
  bottom: 20%;
  width: 55%;
  height: 18%;
  border-radius: 999px;
  transform: rotate(-20deg);
}

.design-preview[data-template="elegant"] .design-decor { border-width: 1px; opacity: 0.38; }
.design-preview[data-template="clean"] .design-decor { opacity: 0.18; }
.design-preview[data-template="bold"] .design-decor { border-width: 8px; opacity: 0.5; }

.design-preview-content {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.design-preview[data-design-type="sticker"] .design-preview-content,
.design-preview[data-design-type="logo"] .design-preview-content { margin-inline: auto; }

.design-preview-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--design-accent) 65%, white 35%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--design-accent) 22%, transparent);
  font-size: clamp(0.55rem, 1.4vw, 0.78rem);
  font-weight: 950;
  letter-spacing: 0.13em;
}

.design-preview h3 {
  max-width: 94%;
  color: var(--design-text);
  font-size: clamp(1.65rem, 5vw, 4.7rem);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.design-preview p {
  max-width: 88%;
  margin-top: 12px;
  color: color-mix(in srgb, var(--design-text) 82%, transparent);
  font-size: clamp(0.78rem, 2vw, 1.3rem);
  font-weight: 650;
  line-height: 1.45;
}

.design-preview[data-design-type="banner"] h3 { font-size: clamp(1.35rem, 4.2vw, 3.5rem); }
.design-preview[data-design-type="banner"] p { margin-top: 7px; }

.design-preview-details { white-space: pre-line; }

.protected-preview-overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  user-select: none;
  background:
    repeating-linear-gradient(-35deg, transparent 0 100px, rgba(255, 255, 255, 0.035) 100px 102px);
}

.protected-preview-overlay img {
  width: min(62%, 430px);
  opacity: 0.28;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.32));
}

.protected-preview-overlay span {
  position: absolute;
  right: 5%;
  bottom: 4%;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(7, 7, 10, 0.58);
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.48rem, 1.2vw, 0.68rem);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.preview-protection-note {
  margin-top: 13px;
  color: #bdb7c0;
  font-size: 0.72rem;
  text-align: center;
}

.preview-protection-note strong { color: var(--rose); }
.compact .design-preview { min-height: 510px; }

.designer-workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.designer-workflow article {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.designer-workflow span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--gradient-pink);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 950;
}

.designer-workflow p { color: #bbb5be; font-size: 0.63rem; line-height: 1.3; }
.designer-workflow strong { display: block; color: var(--white); }

/* Contacto principal */
.contact-primary-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-primary-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(5, 5, 9, 0.34);
  transition: 0.2s ease;
}

.contact-primary-card:hover {
  border-color: rgba(104, 220, 255, 0.38);
  transform: translateX(4px);
}

.contact-primary-card > span:first-child {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--gradient-sky);
  color: var(--black);
  font-size: 0.63rem;
  font-weight: 950;
}

.contact-primary-card:nth-child(2) > span:first-child { background: var(--gradient-pink); color: var(--white); }
.contact-primary-card:nth-child(3) > span:first-child { background: var(--gradient-warm); color: var(--black); }
.contact-primary-card strong { display: block; font-size: 0.82rem; }
.contact-primary-card small { display: block; color: #aaa4ad; font-size: 0.68rem; }
.contact-primary-card > span:last-child { color: var(--sky); font-weight: 950; }
.directory-secondary-link { display: inline-flex; gap: 8px; margin-top: 17px; color: var(--sky); font-size: 0.76rem; font-weight: 850; }

/* Aprobación y pago */
.approval-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 77, 173, 0.14), transparent 29%),
    radial-gradient(circle at 94% 86%, rgba(104, 220, 255, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(47, 43, 51, 0.82), rgba(7, 7, 11, 0.97));
}

.approval-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 34px;
}

.approval-access,
.approval-preview-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 27px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.14), transparent 38%),
    linear-gradient(150deg, rgba(61, 57, 66, 0.9), rgba(9, 9, 13, 0.97));
  box-shadow: var(--shadow);
}

.approval-access > *:not(.approval-watermark) { position: relative; z-index: 2; }
.approval-watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 240px;
  opacity: 0.035;
}

.approval-access h2 { margin-bottom: 15px; font-size: 1.65rem; }
.approval-access .form-field { margin-top: 14px; }
.approval-access label,
.approval-word label { display: block; margin-bottom: 7px; color: #f4eef5; font-size: 0.78rem; font-weight: 850; }
.approval-access input,
.approval-word input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 13px;
  outline: none;
  background: rgba(5, 5, 8, 0.58);
  color: var(--white);
}

.approval-access .btn { width: 100%; margin-top: 19px; }
.text-button {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: underline;
}

.approval-status { min-height: 0; margin-top: 11px; color: var(--sky); font-size: 0.73rem; font-weight: 700; }
.approval-preview-card { min-height: 610px; }
.approval-empty { min-height: 545px; display: grid; place-items: center; align-content: center; text-align: center; }
.approval-empty img { width: min(260px, 60%); margin-bottom: 18px; opacity: 0.16; }
.approval-empty h3 { margin-bottom: 8px; }
.approval-empty p { max-width: 410px; font-size: 0.82rem; }
.approval-project-image { position: relative; overflow: hidden; height: 390px; border-radius: 20px; background: #07070a; }
.approval-project-image > img:first-child { width: 100%; height: 100%; object-fit: contain; }
.approval-project-image .protected-preview-overlay img { width: 44%; }
.approval-project-info { padding-top: 24px; }
.approval-project-info h3 { margin: 3px 0 10px; font-size: 1.5rem; }
.approval-project-info > p:not(.eyebrow) { font-size: 0.82rem; }
.approval-word { margin-top: 18px; }
.approval-project-info .form-check { margin: 14px 0; }
.approval-project-info .form-check label { color: #d1cad3; }
.approval-project-info .btn { width: 100%; }
.approval-project-info .btn:disabled { opacity: 0.42; cursor: not-allowed; filter: grayscale(0.55); }
.approval-payment-note { margin-top: 11px; color: #aaa4ad; font-size: 0.68rem; text-align: center; }

/* Resultado del pago */
.payment-result-section {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding-top: calc(var(--header-height) + 60px);
}

.payment-result-card {
  width: min(100%, 740px);
  margin-inline: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 77, 173, 0.16), transparent 38%),
    linear-gradient(150deg, rgba(62, 58, 67, 0.9), rgba(8, 8, 12, 0.97));
  box-shadow: var(--shadow);
  text-align: center;
}

.payment-result-card > img { width: min(100%, 520px); margin: 0 auto 24px; border-radius: 18px; }
.payment-result-card h1 { margin: 8px 0 16px; font-size: clamp(2.2rem, 7vw, 4.5rem); }
.payment-result-card > p:not(.eyebrow) { max-width: 580px; margin: 0 auto 24px; }
.payment-result-card .btn { margin: 5px; }

/* Responsive Fase 3 */
@media (max-width: 1100px) {
  .workflow-route-grid { gap: 17px; }
  .workflow-route-card { padding: 24px; }
  .integrated-designer-grid,
  .designer-grid { grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr); }
  .designer-workflow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-item.open > .nav-dropdown-menu { max-height: 980px; }
  .workflow-route-grid { grid-template-columns: 1fr; }
  .workflow-route-card { min-height: 0; }
  .integrated-designer-heading,
  .integrated-designer-grid,
  .designer-grid,
  .approval-grid { grid-template-columns: 1fr; }
  .integrated-designer-heading img { width: min(100%, 520px); }
  .designer-preview-column { position: static; }
  .approval-access { position: static; }
  .form-progress li { grid-template-columns: 30px 1fr; }
  .form-progress li span { width: 30px; height: 30px; }
}

@media (max-width: 680px) {
  .compact-page-hero,
  .compact-page-hero .page-hero-grid { min-height: 0; }
  .form-logo-panel { min-height: 210px; }
  .form-logo-panel img { border-radius: 15px; }
  .request-form-readable { padding: 0 18px 24px; }
  .form-official-brand { margin: 0 -18px 21px; padding: 13px 14px; }
  .form-official-brand img { max-height: 90px; border-radius: 12px; }
  .form-title-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .secure-form-badge { align-self: flex-start; }
  .form-progress { gap: 5px; }
  .form-progress li { display: flex; justify-content: center; padding: 7px 4px; }
  .form-progress li small { display: none; }
  .form-progress li span { width: 32px; height: 32px; }
  .form-step { min-height: 0; }
  .form-step-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .form-step-heading h3 { text-align: left; }
  .form-actions { grid-template-columns: 1fr; }
  .form-fallback-actions { grid-template-columns: 1fr; }
  .workflow-route-card { padding: 24px 20px; }
  .integrated-designer-heading { gap: 24px; }
  .designer-controls { padding: 22px 18px; border-radius: 22px; }
  .designer-brand { margin: -22px -18px 22px; padding: 13px 14px 17px; }
  .designer-fields,
  .designer-contact-fields { grid-template-columns: 1fr; }
  .designer-field.full,
  .designer-contact-fields h3 { grid-column: auto; }
  .designer-color-row { grid-column: auto; }
  .designer-color-row { grid-template-columns: 1fr; }
  .design-preview-shell { padding: 10px; border-radius: 22px; }
  .design-preview { padding: 24px; border-radius: 16px; }
  .compact .design-preview { min-height: 420px; }
  .designer-workflow { grid-template-columns: 1fr 1fr; }
  .approval-access,
  .approval-preview-card { padding: 22px 18px; border-radius: 22px; }
  .approval-preview-card { min-height: 500px; }
  .approval-empty { min-height: 430px; }
  .approval-project-image { height: 310px; }
  .payment-result-card { padding: 27px 19px; }
  .payment-result-card .btn { width: 100%; margin: 5px 0; }
}

@media (max-width: 420px) {
  .designer-workflow { grid-template-columns: 1fr; }
  .contact-primary-card { grid-template-columns: 44px 1fr auto; }
  .contact-primary-card > span:first-child { width: 44px; height: 44px; }
  .approval-project-image { height: 260px; }
}


/* Ajustes finales de la Fase 3 */
.approval-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(104, 220, 255, 0.18);
  border-radius: 14px;
  background: rgba(104, 220, 255, 0.07);
}
.approval-project-meta span { color: var(--sky); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.04em; }
.approval-project-meta strong { color: #fff; font-size: 0.9rem; }
.approval-status[data-type="error"] { color: #ffd0df; }
@media (max-width: 480px) { .approval-project-meta { align-items: flex-start; flex-direction: column; } }


.payment-verification {
  display: grid;
  gap: 13px;
  max-width: 610px;
  margin: 23px auto 28px;
  padding: 19px;
  border: 1px solid rgba(104, 220, 255, 0.2);
  border-radius: 18px;
  background: rgba(104, 220, 255, 0.07);
}
.payment-verification p { margin: 0; color: #f8f3f7; font-weight: 800; }
.payment-verification small { color: rgba(255,255,255,0.68); line-height: 1.55; }
.payment-verification [hidden] { display: none !important; }


/* =========================================================
   FASE 3 · ESTADOS DE PAGO Y PANEL PRIVADO
   ========================================================= */

.payment-status-panel {
  display: flex;
  align-items: center;
  gap: 15px;
  width: min(100%, 590px);
  margin: 22px auto;
  padding: 16px 18px;
  border: 1px solid rgba(104, 220, 255, 0.2);
  border-radius: 17px;
  background: rgba(5, 5, 9, 0.44);
  text-align: left;
}

.payment-status-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: payment-spin 0.9s linear infinite;
}

.payment-status-panel strong,
.payment-status-panel small { display: block; }
.payment-status-panel strong { color: var(--white); font-size: 0.86rem; }
.payment-status-panel small { margin-top: 3px; color: #bcb5bf; font-size: 0.71rem; line-height: 1.45; }
.payment-email-note { color: #c9c1cb; font-size: 0.75rem; }
.payment-result-actions { margin-top: 10px; }
.payment-download-button[hidden] { display: none !important; }
.payment-result-card[data-payment-state="paid"] .payment-status-panel { border-color: rgba(72, 222, 146, 0.34); background: rgba(37, 147, 93, 0.1); }
.payment-result-card[data-payment-state="paid"] .payment-status-icon {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #43d89a, #68dcff);
  animation: none;
}
.payment-result-card[data-payment-state="paid"] .payment-status-icon::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #08110d;
  font-size: 1.2rem;
  font-weight: 950;
}
.payment-result-card[data-payment-state="error"] .payment-status-panel { border-color: rgba(255, 93, 121, 0.3); background: rgba(170, 35, 70, 0.11); }
.payment-result-card[data-payment-state="error"] .payment-status-icon { border-top-color: #ff6d93; }
@keyframes payment-spin { to { transform: rotate(360deg); } }

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 77, 173, 0.16), transparent 30%),
    radial-gradient(circle at 92% 86%, rgba(104, 220, 255, 0.13), transparent 33%),
    linear-gradient(145deg, #08080c, #37333b 54%, #160d14);
  color: var(--white);
}

.admin-main { width: min(1500px, calc(100% - 36px)); margin: 0 auto; padding: 36px 0 70px; }
.admin-header {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 23px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: rgba(9,9,13,.78);
  box-shadow: var(--shadow);
}
.admin-header > img { width: 100%; max-height: 180px; object-fit: contain; border-radius: 18px; }
.admin-header h1 { margin: 4px 0 8px; font-size: clamp(1.9rem, 4vw, 3.4rem); }
.admin-header p:not(.page-kicker) { font-size: .79rem; }
.admin-auth-card { padding: 16px; border: 1px solid rgba(104,220,255,.18); border-radius: 17px; background: rgba(255,255,255,.045); }
.admin-auth-card label { display: block; margin-bottom: 7px; color: var(--sky); font-size: .72rem; font-weight: 900; }
.admin-auth-card > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.admin-auth-card input { min-width: 0; padding: 0 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; background: rgba(0,0,0,.38); color: var(--white); }
.admin-auth-card .btn { min-height: 45px; padding: 9px 13px; font-size: .67rem; }
.admin-auth-card small { display: block; margin-top: 8px; color: #aaa4ad; font-size: .64rem; line-height: 1.4; }

.admin-grid { display: grid; grid-template-columns: minmax(430px, .83fr) minmax(0, 1.17fr); gap: 26px; align-items: start; }
.admin-project-form,
.admin-orders {
  padding: 27px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 25px;
  background: linear-gradient(150deg, rgba(62,58,67,.9), rgba(8,8,12,.97));
  box-shadow: var(--shadow);
}
.admin-project-form h2,
.admin-orders h2 { margin-bottom: 8px; font-size: 1.55rem; }
.admin-project-form > p { margin-bottom: 18px; font-size: .77rem; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 20px; }
.admin-form-grid label { display: grid; gap: 7px; color: #f6eff7; font-size: .71rem; font-weight: 850; }
.admin-form-grid input {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  background: rgba(4,4,7,.48); color: var(--white);
}
.admin-form-grid input[type="file"] { min-height: 58px; font-size: .67rem; }
.admin-form-grid input[type="file"]::file-selector-button { margin-right: 8px; padding: 8px 10px; border: 0; border-radius: 9px; background: var(--gradient-sky); color: #07070b; font-weight: 900; }
.admin-field-note { color: #aaa4ad; font-size: .6rem; font-weight: 600; line-height: 1.35; }
.admin-project-form > .btn { width: 100%; }
.admin-result { margin-top: 14px; padding: 13px; border: 1px solid rgba(104,220,255,.2); border-radius: 13px; background: rgba(104,220,255,.07); color: #dff8ff; font-size: .74rem; }
.admin-result[hidden] { display: none; }
.admin-result a { color: var(--sky); text-decoration: underline; }
.admin-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-table-wrap { overflow: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; }
.admin-table-wrap table { width: 100%; min-width: 760px; border-collapse: collapse; }
.admin-table-wrap th,
.admin-table-wrap td { padding: 12px 13px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; font-size: .68rem; }
.admin-table-wrap th { position: sticky; top: 0; background: #121117; color: var(--sky); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-table-wrap td { color: #e9e3eb; }
.admin-table-wrap td small { display: block; margin-top: 3px; color: #9e98a1; }
.admin-table-wrap tr[data-order-id] { cursor: pointer; }
.admin-table-wrap tr[data-order-id]:hover { background: rgba(255,77,173,.06); }
.admin-status-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: rgba(104,220,255,.1); color: #c9f5ff; font-weight: 800; }

@media (max-width: 1100px) {
  .admin-header { grid-template-columns: 200px 1fr; }
  .admin-auth-card { grid-column: 1 / -1; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .admin-main { width: min(100% - 20px, 1500px); padding-top: 14px; }
  .admin-header { grid-template-columns: 1fr; padding: 18px; }
  .admin-header > img { max-height: 130px; }
  .admin-auth-card > div { grid-template-columns: 1fr; }
  .admin-project-form, .admin-orders { padding: 20px 15px; border-radius: 20px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-orders-heading { align-items: flex-start; flex-direction: column; }
  .payment-status-panel { align-items: flex-start; }
}

/* =========================================================
   FASE 3 · PRUEBA ADMINISTRATIVA Y SOLICITUD PRIVADA
   ========================================================= */

.admin-protected-preview {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(240px, 1.28fr);
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid rgba(104, 220, 255, .23);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(104, 220, 255, .08), rgba(255, 77, 173, .06));
}
.admin-protected-preview[hidden] { display: none !important; }
.admin-protected-preview h3 { margin: 4px 0 8px; font-size: 1.1rem; }
.admin-protected-preview p:not(.page-kicker) { margin: 0; color: #bbb5be; font-size: .7rem; line-height: 1.55; }
.admin-protected-preview img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: #060609;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.admin-orders-help { margin: -5px 0 16px; color: #aaa4ad; font-size: .66rem; }

.private-request-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 77, 173, .16), transparent 31%),
    radial-gradient(circle at 92% 82%, rgba(104, 220, 255, .13), transparent 34%),
    linear-gradient(145deg, #08080c, #38333c 55%, #160d14);
  color: var(--white);
}
.private-request-main { width: min(1180px, calc(100% - 34px)); margin: 0 auto; padding: 34px 0 70px; }
.private-request-header {
  display: grid;
  grid-template-columns: minmax(230px, 390px) 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
  padding: 23px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: rgba(9,9,13,.8);
  box-shadow: var(--shadow);
}
.private-request-header img { width: 100%; max-height: 190px; object-fit: contain; border-radius: 18px; }
.private-request-header h1 { margin: 4px 0 9px; font-size: clamp(1.9rem, 5vw, 3.8rem); }
.private-request-header p:not(.page-kicker) { max-width: 650px; font-size: .8rem; }
.private-request-status {
  padding: 20px;
  border: 1px solid rgba(104,220,255,.2);
  border-radius: 18px;
  background: rgba(6,6,10,.72);
  color: #dff8ff;
  text-align: center;
  font-weight: 800;
}
.private-request-status[data-type="error"] { border-color: rgba(255,92,140,.32); color: #ffd3e1; }
.private-request-status[hidden] { display: none; }
.private-request-content {
  display: grid;
  grid-template-columns: minmax(310px, .75fr) minmax(0, 1.25fr);
  gap: 22px;
}
.private-request-content[hidden] { display: none; }
.private-request-summary,
.private-request-details,
.private-request-files {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(62,58,67,.91), rgba(8,8,12,.97));
  box-shadow: var(--shadow);
}
.private-request-summary { grid-row: span 2; align-self: start; }
.private-request-summary > div:first-child { margin-bottom: 12px; }
.private-request-summary h2 { margin-top: 3px; font-size: 1.35rem; overflow-wrap: anywhere; }
.private-request-summary > .admin-status-pill { margin-bottom: 20px; }
.private-request-summary dl { display: grid; gap: 0; margin: 0 0 22px; }
.private-request-summary dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.private-request-summary dt { color: var(--sky); font-size: .65rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.private-request-summary dd { margin: 0; color: #f3edf5; font-size: .74rem; overflow-wrap: anywhere; }
.private-request-summary .btn { width: 100%; }
.private-request-details h2,
.private-request-files h2 { margin: 4px 0 16px; font-size: 1.45rem; }
.private-detail-list { display: grid; gap: 10px; }
.private-detail-list > div {
  display: grid;
  grid-template-columns: minmax(120px, .38fr) minmax(0, .62fr);
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(0,0,0,.22);
}
.private-detail-list dt { color: #ff9bc9; font-size: .68rem; font-weight: 850; }
.private-detail-list dd { margin: 0; color: #eee8ef; font-size: .74rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.private-file-list { display: grid; gap: 10px; }
.private-file-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(104,220,255,.17);
  border-radius: 13px;
  background: rgba(104,220,255,.06);
  color: #eafaff;
  text-decoration: none;
}
.private-file-list a:hover { border-color: rgba(255,77,173,.36); background: rgba(255,77,173,.07); }
.private-file-list strong,
.private-file-list small { display: block; }
.private-file-list strong { font-size: .74rem; }
.private-file-list small { margin-top: 4px; color: #aaa4ad; font-size: .62rem; }

@media (max-width: 900px) {
  .admin-protected-preview,
  .private-request-content { grid-template-columns: 1fr; }
  .private-request-summary { grid-row: auto; }
}
@media (max-width: 680px) {
  .admin-protected-preview { padding: 13px; }
  .private-request-main { width: min(100% - 20px, 1180px); padding-top: 14px; }
  .private-request-header { grid-template-columns: 1fr; padding: 18px; }
  .private-request-header img { max-height: 135px; }
  .private-request-summary,
  .private-request-details,
  .private-request-files { padding: 20px 16px; border-radius: 20px; }
  .private-request-summary dl div,
  .private-detail-list > div { grid-template-columns: 1fr; gap: 5px; }
  .private-file-list a { align-items: flex-start; flex-direction: column; }
}

.creator-scope-note {
  grid-column: 1 / -1;
  padding: 13px 14px;
  border: 1px solid rgba(255, 158, 90, .22);
  border-radius: 14px;
  background: rgba(255, 158, 90, .07);
}
.creator-scope-note strong { display: block; margin-bottom: 4px; color: #ffc79f; font-size: .74rem; }
.creator-scope-note p { margin: 0; color: #c9c1ca; font-size: .67rem; line-height: 1.5; }

/* FASE 3 · Contención final para pantallas móviles */
@media (max-width: 680px) {
  .form-page-section,
  .approval-section {
    overflow-x: clip;
  }

  .form-official-watermark {
    right: 0;
    width: min(250px, 68vw);
    max-width: 68%;
  }

  .form-info-readable .info-watermark {
    right: 0;
    bottom: -24px;
    width: min(180px, 55vw);
    max-width: 55%;
  }

  .approval-watermark {
    right: 0;
    bottom: -35px;
    width: min(180px, 55vw);
    max-width: 55%;
  }
}
