/* ============================= */
/* VARIABLES */
/* ============================= */

:root {
  --bg: #050505;
  --bg-soft: #0f0f0f;
  --bg-card: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --muted: #b8b8b8;
  --muted-2: #8a8a8a;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --radius: 24px;
  --radius-lg: 34px;
  --transition: 0.3s ease;
}

/* ============================= */
/* RESET */
/* ============================= */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input,
textarea {
  font-family: inherit;
}

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

.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ============================= */
/* INTRO */
/* ============================= */

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  min-height: 100svh;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(135deg, #000000, #080808 58%, #171717);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro-stage {
  width: min(90%, 900px);
  min-height: 520px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.skip-intro {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.skip-intro:hover {
  background: rgba(255, 255, 255, 0.14);
}

.intro-kicker {
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  color: #d8d8d8;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(18px);
  animation: introFadeUp 0.8s ease forwards;
}

.intro-title {
  max-width: 850px;
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -2.4px;
  font-weight: 800;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(22px);
  animation: introFadeUp 0.9s ease forwards;
  animation-delay: 0.8s;
}

.intro-logo-wrap {
  width: clamp(130px, 20vw, 210px);
  height: clamp(130px, 20vw, 210px);
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.82);
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.18));
  animation: introLogoIn 0.9s ease forwards;
  animation-delay: 1.8s;
}

.intro-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-brand-text {
  margin-top: 22px;
  opacity: 0;
  transform: translateY(18px);
  animation: introFadeUp 0.9s ease forwards;
  animation-delay: 2.5s;
}

.intro-brand-text h2 {
  font-size: clamp(1.25rem, 3.2vw, 2rem);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.intro-brand-text p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.5;
}

.intro.out {
  animation: introOut 0.8s ease forwards;
}

/* ============================= */
/* SITIO GENERAL */
/* ============================= */

.site {
  min-height: 100vh;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.8s ease;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 28%),
    var(--bg);
}

/* ============================= */
/* HEADER */
/* ============================= */

.header {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-text span {
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-top: 2px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: var(--transition);
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================= */
/* HERO */
/* ============================= */

.hero {
  width: min(1180px, 92%);
  margin: 0 auto;
  min-height: calc(100svh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: clamp(46px, 6vw, 72px) 0 clamp(72px, 8vw, 96px);
}

.hero-content {
  min-width: 0;
}

.eyebrow,
.section-label {
  display: inline-block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 28px;
}

.hero-title span {
  display: block;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 22px;
}

.hero-actions2 > * {
  flex: 1;
}

.hero-actions2 .btn,
.hero-actions2 a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.14);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
  max-width: 760px;
}

.hero-proof div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-proof strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 6px;
  text-align: center;
}

.hero-proof span {
  display: block;
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ============================= */
/* HERO VISUAL */
/* ============================= */

.hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-card {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 2;
}

.browser-top {
  height: 54px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.04);
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.browser-body {
  padding: 32px;
}

.browser-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.82rem;
  margin-bottom: 24px;
}

.browser-body h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}

.browser-body p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.browser-products {
  display: grid;
  gap: 12px;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 18px;
  padding: 13px;
}

.product-row > span {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 45%),
    rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.product-row strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.product-row small {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.browser-button {
  margin-top: 24px;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
}

/* ============================= */
/* SECCIONES */
/* ============================= */

.section {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 95px) 0;
}

.section-dark {
  width: 100%;
  max-width: none;
  background: var(--bg-soft);
  padding-left: 4%;
  padding-right: 4%;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-dark > .section-label,
.section-dark > .section-heading,
.section-dark > .works-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -2.5px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ============================= */
/* SERVICIOS */
/* ============================= */

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

.service-card {
  min-height: 250px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
}

.service-card span {
  color: var(--muted-2);
  font-size: 0.9rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* ============================= */
/* TRABAJOS */
/* ============================= */

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

.work-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.work-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.work-image-placeholder {
  min-height: 190px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(145deg, #161616, #090909);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}

.work-image-placeholder span {
  color: rgba(255, 255, 255, 0.28);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.work-content {
  padding: 26px;
}

.work-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.work-content p {
  color: var(--muted);
  line-height: 1.6;
}

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

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

.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.step strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.step h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  line-height: 1.6;
  text-align: justify;
}

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

.contact {
  width: min(980px, 92%);
  margin: 40px auto 80px;
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.11), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border-radius: var(--radius-lg);
  padding: clamp(54px, 7vw, 78px) clamp(22px, 4vw, 34px);
}

.contact h2 {
  max-width: 800px;
  margin: 0 auto 22px;
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -2px;
}

.contact h3 {
  max-width: 800px;
  margin: 0 auto 22px;
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -2px;
}

.contact p {
  max-width: 650px;
  margin: 0 auto 32px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 28px 0 44px;
  color: var(--muted-2);
  font-size: 0.9rem;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

/* ============================= */
/* ANIMACIONES */
/* ============================= */

@keyframes introFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introOut {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
  }
}

/* ============================= */
/* RESPONSIVE NOTEBOOK BAJITA */
/* ============================= */

@media (max-height: 780px) and (min-width: 901px) {
  .header {
    padding: 12px 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 68px;
    gap: 54px;
  }

  .hero-title {
    font-size: clamp(3rem, 5vw, 4.45rem);
    line-height: 1;
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-proof {
    margin-top: 30px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .browser-card {
    width: min(100%, 385px);
  }

  .browser-body {
    padding: 26px;
  }

  .browser-body h3 {
    font-size: 2.05rem;
  }

  .product-row {
    padding: 11px;
  }
}

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

/* ================================================= */
/* FIX RESPONSIVE IPHONE / MOBILE REAL */
/* ================================================= */

@media (max-width: 1170px) {
  .header {
    width: min(100% - 32px, 1180px);
    padding: 14px 0;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12, 12, 12, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: var(--transition);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a::after {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text span {
    display: none;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .hero {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 42px;
    padding: 42px 0 72px;
  }

  .eyebrow,
  .section-label {
    font-size: 0.72rem;
    letter-spacing: 2.1px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.3rem, 10vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -1.7px;
    margin-bottom: 22px;
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 28px;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .hero-proof div {
    padding-top: 15px;
  }

  .hero-visual {
    min-height: auto;
    justify-content: center;
  }

  .browser-card {
    width: 100%;
    max-width: none;
    border-radius: 24px;
  }

  .browser-top {
    height: 46px;
    padding: 0 18px;
  }

  .browser-body {
    padding: 24px;
  }

  .browser-body h3 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -1.5px;
  }

  .services-grid,
  .works-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .section-dark {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact {
    width: min(100% - 32px, 980px);
    padding: 56px 22px;
    margin-bottom: 60px;
  }

  .contact h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -1.5px;
  }

  .contact-actions {
    flex-direction: column;
  }
}

/* ============================= */
/* RESPONSIVE MOBILE MENU */
/* ============================= */

@media (max-width: 850px) {
  .header {
    padding: 16px 0;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 4%;
    right: 4%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12, 12, 12, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: var(--transition);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a::after {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }
}

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

@media (max-width: 650px) {
  .intro-stage {
    min-height: 100svh;
    padding: 72px 0 34px;
  }

  .intro-kicker {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .intro-title {
    font-size: clamp(1rem, 7vw, 2rem);
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
  }

  .intro-logo-wrap {
    width: 130px;
    height: 130px;
  }

  .intro-brand-text {
    margin-top: 18px;
  }

  .intro-brand-text h2 {
    font-size: 1.3rem;
  }

  .intro-brand-text p {
    font-size: 0.92rem;
    max-width: 320px;
  }

  .skip-intro {
    top: 16px;
    right: 16px;
    padding: 8px 13px;
    font-size: 0.85rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text span {
    display: none;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .hero {
    width: min(100% - 32px, 1180px);
    padding: 44px 0 72px;
    gap: 42px;
  }

  .eyebrow,
  .section-label {
    font-size: 0.72rem;
    letter-spacing: 2.2px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(2.05rem, 9.8vw, 3rem);
    line-height: 1.02;
    letter-spacing: -1.7px;
    margin-bottom: 22px;
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 18px;
    margin-top: 34px;
  }

  .hero-proof div {
    padding-top: 15px;
  }

  .browser-card {
    width: 100%;
    border-radius: 24px;
  }

  .browser-top {
    height: 46px;
    padding: 0 18px;
  }

  .browser-body {
    padding: 24px;
  }

  .browser-badge {
    font-size: 0.78rem;
    margin-bottom: 20px;
  }

  .browser-body h3 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .product-row {
    padding: 12px;
    gap: 12px;
  }

  .product-row > span {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .product-row strong {
    font-size: 0.9rem;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  .section-dark {
    padding-left: 16px;
    padding-right: 16px;
  }

  .services-grid,
  .works-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .work-image-placeholder {
    min-height: 160px;
  }

  .contact {
    width: min(100% - 32px, 980px);
    margin-bottom: 60px;
    border-radius: 28px;
  }

  .contact h2 {
    letter-spacing: -1.4px;
  }
}

/* ============================= */
/* RESPONSIVE CELULAR CHICO */
/* ============================= */

@media (max-width: 420px) {
  .header {
    width: min(100% - 28px, 1180px);
  }

  .brand-text strong {
    font-size: 0.86rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9.4vw, 2.65rem);
    letter-spacing: -1.3px;
  }

  .browser-body {
    padding: 20px;
  }

  .product-row {
    align-items: flex-start;
  }

  .browser-button {
    font-size: 0.88rem;
  }

  .section-heading h2,
  .contact h2 {
    letter-spacing: -1.4px;
  }
}


/* ================================================= */
/* CATÁLOGO DEMO INTERACTIVO - HERO */
/* ================================================= */

.catalog-demo {
  position: relative;
}

.demo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.demo-top h3 {
  margin-bottom: 0;
}

.demo-status {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.demo-description {
  margin-bottom: 20px;
}

.demo-store {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 20px;
  padding: 13px;
  margin-bottom: 18px;
}

.demo-store-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.30), transparent 45%),
    rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -1px;
}

.demo-store strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.demo-store small {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.catalog-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.catalog-tab {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}

.catalog-tab:hover,
.catalog-tab.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.catalog-products {
  display: grid;
  gap: 11px;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 18px;
  padding: 12px;
  transition: 0.25s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.product-card.hide {
  display: none;
}

.product-thumb {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 45%),
    rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-thumb span {
  font-weight: 800;
  color: #ffffff;
}

.product-info {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-info strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.product-info small {
  display: block;
  color: var(--muted-2);
  font-size: 0.76rem;
}

.product-price {
  flex-shrink: 0;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.demo-footer {
  margin-top: 20px;
}

.demo-footer > span {
  display: block;
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.demo-footer .browser-button {
  border: none;
  cursor: pointer;
  margin-top: 0;
}

.demo-footer .browser-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.12);
}

@media (max-width: 650px) {
  .demo-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-tabs {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .catalog-tab {
    flex-shrink: 0;
  }

  .product-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* ================================================= */
/* SERVICIOS MEJORADOS */
/* ================================================= */

.services-section {
  position: relative;
}

.services-heading {
  margin-bottom: 46px;
}

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

.solution-card {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-5px);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.075);
}

.featured-solution {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.075);
}

.solution-number {
  color: var(--muted-2);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.solution-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.solution-icon span {
  font-size: 1rem;
  font-weight: 800;
}

.solution-card h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.solution-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.solution-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.solution-card li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  display: flex;
  gap: 8px;
}

.solution-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}

.solution-tag {
  position: absolute;
  left: 26px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.045);
}

.services-note {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.services-note p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 680px;
}

/* Responsive servicios */

@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card {
    min-height: 380px;
  }
}

@media (max-width: 650px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
    padding: 24px;
  }

  .solution-tag {
    position: static;
    margin-top: 4px;
  }

  .services-note {
    flex-direction: column;
    align-items: stretch;
  }

  .services-note .btn {
    width: 100%;
  }
}

/* ================================================= */
/* BURBUJA WHATSAPP DEMO */
/* ================================================= */

.demo-whatsapp-area {
  position: relative;
}

.demo-whatsapp-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: min(100%, 320px);
  transform: translateX(-50%) translateY(12px) scale(0.96);
  border: 1px solid var(--line);
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 16px;
  color: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.28s ease;
  z-index: 20;
}

.demo-whatsapp-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.demo-whatsapp-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(14, 14, 14, 0.96);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.demo-whatsapp-bubble strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 7px;
}

.demo-whatsapp-bubble p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 650px) {
  .demo-whatsapp-bubble {
    width: 100%;
    bottom: calc(100% + 12px);
  }
}



/* ================================================= */
/* TEXTOS JUSTIFICADOS SIN CORTAR PALABRAS */
/* ================================================= */

.hero p,
.section-heading p,
.solution-card p,
.digital-solution-card p,
.digital-solution-info span,
.contact p,
.demo-description,
span {
  text-align: justify;
  text-align-last: left;

  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;

  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 650px) {
  .hero p,
  .section-heading p,
  .solution-card p,
  .digital-solution-card p,
  .digital-solution-info span,
  .contact p,
  .demo-description {
    text-align: left;
  }
}

h3 {
  text-align: center;
}

/* ================================================= */
/* DEMOS INTERACTIVAS */
/* ================================================= */

.demos-section {
  position: relative;
}

.demos-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

.demo-selector {
  display: grid;
  gap: 14px;
}

.demo-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.demo-card:hover,
.demo-card.active {
  transform: translateY(-3px);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.demo-card-label {
  display: inline-block;
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.demo-card h3 {
  text-align: left;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.demo-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.demo-preview {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.demo-panel {
  display: none;
  height: 100%;
}

.demo-panel.active {
  display: block;
}

.demo-window-top {
  height: 54px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.04);
}

.demo-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.demo-window-body {
  padding: 30px;
}

.demo-chip {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.demo-mini-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.demo-mini-header h3,
.demo-landing-hero h3 {
  text-align: left;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}

.demo-mini-header p,
.demo-landing-hero p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
}

.demo-mini-status {
  height: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
}

.demo-mini-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.demo-mini-tabs span {
  flex-shrink: 0;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.demo-mini-tabs span.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.demo-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.demo-product {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 20px;
  padding: 14px;
}

.demo-product-img {
  height: 96px;
  border-radius: 16px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 45%),
    rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.demo-product strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.demo-product small {
  display: block;
  color: var(--muted-2);
  font-size: 0.76rem;
  margin-bottom: 10px;
}

.demo-product span {
  font-weight: 800;
}

.demo-action {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.demo-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.12);
}

.demo-landing-hero {
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.045);
  margin-bottom: 18px;
}

.demo-landing-hero .demo-action {
  margin-top: 24px;
  max-width: 260px;
}

.demo-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.demo-benefits div,
.demo-dashboard div {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 18px;
  padding: 16px;
}

.demo-benefits strong,
.demo-dashboard strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.demo-benefits span,
.demo-dashboard span {
  color: var(--muted);
  font-size: 0.85rem;
}

.demo-testimonial {
  border-left: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--muted);
  line-height: 1.6;
  padding: 16px 0 16px 18px;
}

.demo-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.demo-task-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.demo-task-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 16px;
  padding: 14px;
}

.demo-task-list span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}

.demo-task-list p {
  color: var(--muted);
  margin: 0;
}

/* Responsive demos */

@media (max-width: 1100px) {
  .demos-layout {
    grid-template-columns: 1fr;
  }

  .demo-preview {
    min-height: auto;
  }
}

@media (max-width: 650px) {
  .demo-card {
    padding: 22px;
  }

  .demo-window-body {
    padding: 22px;
  }

  .demo-mini-header {
    flex-direction: column;
  }

  .demo-products-grid,
  .demo-benefits,
  .demo-dashboard {
    grid-template-columns: 1fr;
  }

  .demo-product-img {
    height: 82px;
  }

  .demo-landing-hero {
    padding: 22px;
  }

  .demo-landing-hero .demo-action {
    max-width: none;
  }
}

/* ================================================= */
/* DEMOS REALES CON IFRAME */
/* ================================================= */

.demos-real-section {
  position: relative;
}

.iframe-demo-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: stretch;
}

.iframe-demo-list {
  display: grid;
  gap: 14px;
}

.iframe-demo-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.iframe-demo-card:hover,
.iframe-demo-card.active {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.08);
}

.iframe-demo-card span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.iframe-demo-card h3 {
  text-align: left;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.iframe-demo-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.iframe-demo-points {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}

.iframe-demo-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.iframe-demo-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}


/* Caja visual tipo navegador */

.iframe-preview-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.iframe-browser-top {
  height: 58px;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.04);
}

.iframe-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iframe-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.iframe-url-bar {
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.86rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iframe-open-link {
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}

.iframe-open-link:hover {
  background: #ffffff;
  color: #000000;
}

.iframe-similar-link {
  border-color: rgba(255, 255, 255, 0.82);
  background: #ffffff;
  color: #000000;
}

.iframe-similar-link:hover {
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.12);
}

.iframe-wrapper {
  flex: 1;
  min-height: 560px;
  background: #ffffff;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

/* Responsive */

@media (max-width: 1100px) {
  .iframe-demo-layout {
    grid-template-columns: 1fr;
  }

  .iframe-preview-box {
    min-height: 560px;
  }

  .iframe-wrapper {
    min-height: 500px;
  }
}

@media (max-width: 650px) {
  .iframe-demo-card {
    padding: 22px;
  }

  .iframe-preview-box {
    border-radius: 24px;
    min-height: 520px;
  }

  .iframe-browser-top {
    height: auto;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .iframe-dots {
    display: none;
  }

  .iframe-open-link {
    text-align: center;
  }

  .iframe-wrapper {
    min-height: 480px;
  }
}

/* ================================================= */
/* MODAL IFRAME DEMO EXPANDIDA */
/* ================================================= */

.iframe-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iframe-expand-btn,
.iframe-open-link,
.iframe-similar-link {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.iframe-expand-btn:hover,
.iframe-open-link:hover,
.iframe-similar-link:hover {
  background: #ffffff;
  color: #000000;
}

.iframe-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.iframe-modal.open {
  display: block;
}

.iframe-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.iframe-modal-content {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(96vw, 1320px);
  height: min(90svh, 860px);
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #080808;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.iframe-modal-top {
  min-height: 58px;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.045);
}

.iframe-modal-title {
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.86rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iframe-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iframe-modal-actions a,
.iframe-modal-actions button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.iframe-modal-actions button {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1;
}

.iframe-modal-actions a:hover,
.iframe-modal-actions button:hover {
  background: #ffffff;
  color: #000000;
}

.iframe-modal-frame-wrap {
  flex: 1;
  background: #ffffff;
  min-height: 0;
}

.iframe-modal-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 650px) {
  .iframe-browser-top {
    grid-template-columns: 1fr;
  }

  .iframe-top-actions {
    width: 100%;
  }

  .iframe-expand-btn,
  .iframe-open-link,
  .iframe-similar-link {
    width: 100%;
    text-align: center;
  }

  .iframe-modal-content {
    width: 100vw;
    height: 100svh;
    border-radius: 0;
  }

  .iframe-modal-top {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .iframe-modal-title {
    order: 1;
  }

  .iframe-modal-actions {
    order: 2;
    width: 100%;
  }

  .iframe-modal-actions a {
    flex: 1;
    text-align: center;
  }

  .iframe-modal-actions button {
    flex-shrink: 0;
  }
}

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

.process-section {
  position: relative;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 310px;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.075);
}

.process-number {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 26px;
}

.process-card h3 {
  text-align: left;
  font-size: 1.18rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.process-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: left;
  margin-bottom: 22px;
}

.process-card strong {
  display: inline-flex;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  line-height: 1.3;
}

/* Responsive proceso */

@media (max-width: 1200px) {
  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 850px) {
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: auto;
  }
}

/* ================================================= */
/* FOOTER DEV */
/* ================================================= */

.footer-dev {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.92rem;
  text-align: center;
}

.footer-dev-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.dev-popover {
  position: relative;
  display: inline-flex;
}

.dev-trigger {
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  white-space: nowrap;
  transition: var(--transition);
}

.dev-trigger:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dev-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  width: min(320px, 88vw);
  transform: translateX(-50%) translateY(10px) scale(0.96);
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 18px;
  color: var(--text);
  text-align: left;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
}

.dev-popover.open .dev-bubble {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dev-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(12, 12, 12, 0.96);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.dev-bubble-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.dev-bubble-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.dev-bubble-brand strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 3px;
}

.dev-bubble-brand small {
  display: block;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.dev-bubble p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 16px;
  text-align: left;
}

.dev-bubble-links {
  display: flex;
  gap: 10px;
}

.dev-bubble-links a {
  flex: 1;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  transition: var(--transition);
}

.dev-bubble-links a:hover {
  background: #ffffff;
  color: #000000;
}

/* Responsive footer */

@media (max-width: 650px) {
  .footer-dev {
    padding: 30px 0 36px;
  }

  .footer-dev-line {
    flex-direction: column;
    gap: 4px;
  }

  .dev-bubble {
    left: 50%;
    bottom: calc(100% + 14px);
    width: min(300px, 86vw);
  }

  .dev-bubble-links {
    flex-direction: column;
  }
}

/* ================================================= */
/* ALINEAR RESULTADOS EN CARDS DE PROCESO */
/* ================================================= */

.process-card {
  display: flex;
  flex-direction: column;
}

.process-card p {
  margin-bottom: 22px;
}

.process-card strong {
  margin-top: auto;
  min-height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ================================================= */
/* POR QUÉ TENER UNA WEB */
/* ================================================= */

.why-web-section {
  position: relative;
}

.why-web-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 270px;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.075);
}

.why-card span {
  display: inline-flex;
  color: var(--muted-2);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.why-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: justify;
}

/* ================================================= */
/* FAQ */
/* ================================================= */

.faq-section {
  position: relative;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 1rem;
  font-weight: 800;
}

.faq-question strong {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.65;
  padding: 0 22px 20px;
  text-align: justify;
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

.faq-item.open .faq-question strong {
  transform: rotate(45deg);
  background: #ffffff;
  color: #000000;
}

/* Responsive nuevas secciones */

@media (max-width: 1100px) {
  .why-web-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .why-web-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: auto;
  }

  .testimonial-card {
    min-height: auto;
  }

  .why-card p,
  .testimonial-card p,
  .faq-answer p {
    text-align: left;
  }
}

/* ================================================= */
/* COMENTARIOS / EXPERIENCIAS */
/* ================================================= */

.reviews-section {
  position: relative;
}

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

.review-card {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 36%),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow: hidden;
}

.review-card::before {
  content: "“";
  position: absolute;
  right: 22px;
  top: 12px;
  font-size: 6rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 38%),
    rgba(255, 255, 255, 0.075);
}

.review-featured {
  border-color: rgba(255, 255, 255, 0.30);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.075);
}

.review-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.28), transparent 45%),
    rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -1px;
}

.reviews-hidden {
  display: none !important;
}

.review-person {
  min-width: 0;
}

.review-person strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.review-person span {
  display: block;
  color: var(--muted-2);
  font-size: 0.82rem;
  text-align: left;
}

.review-badge {
  grid-column: 1 / -1;
  width: fit-content;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: left;
}

.review-stars {
  position: relative;
  z-index: 2;
  color: #ffffff;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.review-card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
  text-align: justify;
  margin-bottom: 28px;
}

.review-result {
  position: relative;
  z-index: 2;
  margin-top: auto;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 18px;
  padding: 14px;
}

.review-result strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.review-result span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: left;
}

.reviews-note {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 20px 22px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-note p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
}

/* Responsive comentarios */

@media (max-width: 1100px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
  }
}

@media (max-width: 650px) {
  .review-card {
    padding: 24px;
  }

  .review-card p,
  .reviews-note p {
    text-align: left;
  }

  .review-card::before {
    font-size: 4.5rem;
    top: 10px;
    right: 18px;
  }
}


/* ================================================= */
/* PANEL ADMIN COMENTARIOS */
/* ================================================= */

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 30%),
    var(--bg);
  color: var(--text);
}

.admin-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 42px 0 72px;
}

.admin-login-card {
  width: min(100%, 620px);
  margin: 8vh auto 0;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.11), transparent 36%),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 46px);
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.admin-login-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
}

.admin-login-card h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.admin-login-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.admin-message {
  margin-top: 16px;
  min-height: 24px;
  color: var(--muted);
}

.admin-dashboard {
  display: grid;
  gap: 24px;
}

.admin-topbar {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.admin-brand strong {
  display: block;
  margin-bottom: 4px;
}

.admin-brand span {
  color: var(--muted-2);
  font-size: 0.86rem;
}

.admin-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 34px);
}

.admin-panel-heading {
  margin-bottom: 26px;
}

.admin-panel-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}

.admin-panel-heading p {
  color: var(--muted);
  line-height: 1.65;
}

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

.admin-form .btn {
  grid-column: 1 / -1;
  border: none;
  cursor: pointer;
}

.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  font-size: 0.96rem;
}

.generated-link-box {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 20px;
  padding: 18px;
}

.generated-link-box > span {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
}

.generated-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
}

.generated-link-row input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  border-radius: 999px;
  padding: 0 16px;
  min-height: 48px;
  outline: none;
}

.generated-link-box small {
  color: var(--muted-2);
}

.admin-review-list {
  display: grid;
  gap: 14px;
}

.admin-empty {
  color: var(--muted);
  line-height: 1.6;
}

.admin-review-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 22px;
  padding: 20px;
}

.admin-review-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-review-header strong {
  display: block;
  margin-bottom: 4px;
}

.admin-review-header span,
.admin-review-header small {
  color: var(--muted-2);
  font-size: 0.84rem;
}

.admin-review-stars {
  color: #ffffff;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.admin-review-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.admin-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-review-meta span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-review-actions button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
  transition: var(--transition);
}

.admin-review-actions button:hover {
  background: #ffffff;
  color: #000000;
}

@media (max-width: 750px) {
  .admin-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .generated-link-row {
    grid-template-columns: 1fr;
  }

  .admin-review-header {
    flex-direction: column;
  }
}

/* ================================================= */
/* FIX ESPACIO EN PANEL ADMIN */
/* ================================================= */

.admin-page .hidden {
  display: none !important;
}

.admin-shell {
  padding-top: 32px;
}

.admin-dashboard {
  margin-top: 0;
}

.admin-topbar {
  margin-top: 0;
}

/* ================================================= */
/* MEJORA VISUAL FORMULARIO ADMIN */
/* ================================================= */

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

.admin-form .form-field {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(255, 255, 255, 0.035);
  border-radius: 22px;
  padding: 18px;
  transition: var(--transition);
}

.admin-form .form-field:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 38%),
    rgba(255, 255, 255, 0.055);
}

.admin-form .form-field:focus-within {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 38%),
    rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.admin-form .form-field > span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.admin-form .form-field input,
.admin-form .form-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  border-radius: 16px;
  padding: 0 15px;
  outline: none;
  font-size: 0.96rem;
  transition: var(--transition);
}

.admin-form .form-field input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.admin-form .form-field input:focus,
.admin-form .form-field select:focus {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.48);
}

.admin-form .form-field select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.admin-form .form-field select option {
  background: #111111;
  color: #ffffff;
}

.admin-form .btn {
  grid-column: 1 / -1;
  min-height: 54px;
  margin-top: 4px;
  border: none;
  cursor: pointer;
}

/* Link generado más prolijo */

.generated-link-box {
  margin-top: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.045);
  border-radius: 24px;
  padding: 20px;
}

.generated-link-box > span {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.generated-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
}

.generated-link-row input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.36);
  color: var(--text);
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
  font-size: 0.9rem;
}

.generated-link-box small {
  color: var(--muted-2);
  line-height: 1.5;
}

/* Responsive */

@media (max-width: 750px) {
  .admin-form {
    grid-template-columns: 1fr;
  }

  .generated-link-row {
    grid-template-columns: 1fr;
  }

  .generated-link-row .btn {
    width: 100%;
  }
}

/* ================================================= */
/* BOTÓN ELIMINAR ADMIN */
/* ================================================= */

.admin-review-actions button.danger {
  border-color: rgba(255, 120, 120, 0.35);
  color: #ffb3b3;
  background: rgba(255, 80, 80, 0.08);
}

.admin-review-actions button.danger:hover {
  background: #ffb3b3;
  color: #000000;
}

/* ================================================= */
/* MODAL CONFIRMACIÓN ADMIN */
/* ================================================= */

.admin-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
}

.admin-confirm-modal.open {
  display: block;
}

.admin-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.admin-confirm-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100% - 32px, 520px);
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 36%),
    rgba(12, 12, 12, 0.98);
  border-radius: 28px;
  padding: 30px;
  color: var(--text);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.65);
}

.admin-confirm-box h2 {
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.admin-confirm-box p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 26px;
}

.admin-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-confirm-actions .btn {
  width: auto;
  border: none;
  cursor: pointer;
}

.admin-confirm-danger {
  background: #ffb3b3;
  color: #000000;
}

.admin-confirm-danger:hover {
  background: #ffffff;
  color: #000000;
}

@media (max-width: 650px) {
  .admin-confirm-box {
    padding: 24px;
    border-radius: 24px;
  }

  .admin-confirm-actions {
    flex-direction: column;
  }

  .admin-confirm-actions .btn {
    width: 100%;
  }
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.whatsapp-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 520px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
}

.whatsapp-float {
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-chat-box {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(340px, calc(100vw - 32px));
  background: #111111;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.96);
  transition: 0.25s ease;
}

.whatsapp-widget.open .whatsapp-chat-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-chat-header {
  background: #25d366;
  color: #06150b;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.whatsapp-chat-header strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.whatsapp-chat-header span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.85;
}

.whatsapp-chat-header button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: #06150b;
  font-size: 1.4rem;
  cursor: pointer;
}

.whatsapp-chat-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.whatsapp-message {
  width: fit-content;
  max-width: 92%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 13px;
  color: #e8e8e8;
  font-size: 0.7rem;
  line-height: 1.45;
}

.whatsapp-chat-body textarea {
  width: 100%;
  min-height: 94px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  border-radius: 16px;
  padding: 12px;
  outline: none;
  font-size: 0.9rem;
}

.whatsapp-chat-body textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.whatsapp-chat-body textarea:focus {
  border-color: rgba(37, 211, 102, 0.75);
}

.whatsapp-chat-body button {
  min-height: 44px;
  border: none;
  border-radius: 999px;
  background: #25d366;
  color: #06150b;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.whatsapp-chat-body button:hover {
  transform: translateY(-2px);
}

.whatsapp-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.whatsapp-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 520px) {
  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-chat-box {
    width: min(330px, calc(100vw - 32px));
    bottom: 68px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

.plans-section {
  padding: 90px 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(135deg, #111827, #020617);
  color: #f9fafb;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
}

.section-header h2 {
  margin: 0 0 14px;
  font-size: clamp(1.20rem, 3vw, 3.50rem);
  line-height: 1.1;
}

.section-header p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.plans-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.featured-plan {
  border-color: rgba(56, 189, 248, 0.85);
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.18), rgba(15, 23, 42, 0.88));
}

.plan-card-header h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
}

.plan-card-header p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
  text-align: justify;
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
  color: #e5e7eb;
  line-height: 1.45;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #38bdf8;
  font-weight: 800;
}

.plan-ideal {
  margin: auto 0 22px;
  padding-top: 4px;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: justify;
}

.plan-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #38bdf8;
  color: #020617;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.plan-btn:hover {
  transform: translateY(-2px);
  background: #7dd3fc;
}

.maintenance-box {
  width: min(1180px, 100%);
  margin: 70px auto 0;
  padding-top: 48px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.maintenance-header {
  margin-bottom: 34px;
}

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

.maintenance-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.42);
}

.maintenance-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.maintenance-card p {
  margin: 0 0 18px;
  color: #cbd5e1;
  line-height: 1.6;
  text-align: justify;
}

.maintenance-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maintenance-card li {
  position: relative;
  padding-left: 22px;
  color: #e5e7eb;
}

.maintenance-card li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: #38bdf8;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .plans-section {
    padding: 70px 16px;
  }

  .plans-grid,
  .maintenance-grid {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .maintenance-card {
    padding: 22px;
  }

  .section-header {
    margin-bottom: 34px;
  }
}

/* ================================================= */
/* BOTÓN VOLVER AL INICIO EN CADA SECCIÓN */
/* ================================================= */

.section-back-top {
  position: absolute;
  top: 24px;
  left: 0;

  min-height: 38px;
  padding: 0 14px 0 12px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.4px;

  cursor: pointer;
  z-index: 8;

  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);

  opacity: 0.78;
  transition: 
    transform 0.22s ease,
    background 0.22s ease,
    opacity 0.22s ease,
    border-color 0.22s ease;
}

.section-back-icon {
  width: 22px;
  height: 22px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.95rem;
  line-height: 1;
}

.section-back-top:hover {
  opacity: 1;
  transform: translateX(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Necesario para que el botón se ubique dentro de cada sección */
.section,
.plans-section,
.contact {
  position: relative;
}

/* Ajuste especial porque planes ocupa todo el ancho */
.plans-section .section-back-top {
  left: max(20px, calc((100% - 1180px) / 2));
  top: 28px;
}

/* Ajuste especial para el bloque de contacto */
.contact .section-back-top {
  left: 24px;
  top: 24px;
}

@media (max-width: 650px) {
  .section-back-top {
    top: 22px;
    left: 0;
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.76rem;
  }

  .section-back-icon {
    width: 20px;
    height: 20px;
    font-size: 0.85rem;
  }

  .plans-section .section-back-top {
    left: 16px;
    top: 24px;
  }

  .contact .section-back-top {
    left: 18px;
    top: 18px;
  }
}

/* ================================================= */
/* HEADER MEJORADO - GLASS / CAPSULA */
/* ================================================= */

.header {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 14px;

  position: sticky;
  top: 14px;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(12, 12, 12, 0.68);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Marca izquierda */
.brand {
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  transition: var(--transition);
}

.brand:hover {
  background: rgba(255, 255, 255, 0.06);
}

.brand-logo {
  width: 44px;
  height: 44px;
}

/* Navegación como grupo más liviano */
.nav {
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Links como pequeñas pastillas */
.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}

.nav a:hover {
  color: #000000;
  background: #ffffff;
}

/* Sacamos la línea inferior porque ahora usamos pastilla */
.nav a::after {
  display: none;
}

/* Botón hamburguesa más integrado */
.menu-btn {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1170px) {
  .header {
    width: calc(100% - 28px);
    margin-top: 12px;
    padding: 9px 12px;
    top: 12px;
    border-radius: 26px;
  }

  .nav {
    top: 82px;
    left: 14px;
    right: 14px;
    padding: 8px;
    border-radius: 24px;
    background: rgba(12, 12, 12, 0.96);
  }

  .nav a {
    border-radius: 16px;
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .header {
    width: calc(100% - 22px);
    padding: 8px 10px;
    border-radius: 22px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 0.82rem;
  }
}

.maintenance-note {
  max-width: 820px;
  margin: 34px auto 0;
  padding: 20px 24px;

  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 22px;

  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.13), transparent 40%),
    rgba(2, 6, 23, 0.42);

  color: #dbeafe;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;

  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

@media (max-width: 650px) {
  .maintenance-note {
    margin-top: 26px;
    padding: 18px;
    font-size: 0.95rem;
    text-align: left;
  }
}

/* ================================================= */
/* ZOOM VISUAL DEL SITIO */
/* ================================================= */

@media (min-width: 901px) {
  #site {
    zoom: 0.85;
  }
}

/* ================================================= */
/* ADMIN COTIZADOR SNI */
/* ================================================= */

.cotizador-dashboard {
  display: grid;
  gap: 24px;
}

.cotizador-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cotizador-top-actions .btn {
  width: auto;
}

.cotizador-layout-admin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.cotizador-main-column {
  display: grid;
  gap: 24px;
}

.cotizador-summary-column {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 24px;
}

/* Caja de descripción / forma de pago */

.cotizador-info-box {
  margin-top: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.045);
  border-radius: 24px;
  padding: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.cotizador-info-box strong {
  color: var(--text);
}

/* Mini heading interno */

.cotizador-mini-heading {
  margin-top: 30px;
  margin-bottom: 20px;
}

.cotizador-mini-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

/* Incluidos */

.cotizador-included-box {
  margin-top: 28px;
}

.cotizador-included-list {
  display: grid;
  gap: 12px;
}

.included-item {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 18px;
  transition: var(--transition);
}

.included-item:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.11), transparent 34%),
    rgba(255, 255, 255, 0.065);
}

.included-item strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.included-item p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
  text-align: left;
}

/* Extras / mantenimiento */

.cotizador-options-list {
  display: grid;
  gap: 14px;
}

.option-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.07), transparent 36%),
    rgba(255, 255, 255, 0.045);
  border-radius: 22px;
  padding: 18px;
  transition: var(--transition);
}

.option-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.11), transparent 36%),
    rgba(255, 255, 255, 0.065);
}

.option-card.is-active {
  border-color: rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 36%),
    rgba(255, 255, 255, 0.08);
}

.option-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.option-main input[type="checkbox"],
.option-main input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #ffffff;
  flex-shrink: 0;
}

.option-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 900;
}

.option-title span:last-child {
  color: #ffffff;
  white-space: nowrap;
}

.option-description {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
  text-align: left;
}

.qty-row {
  display: none;
  max-width: 230px;
  margin-top: 14px;
  margin-left: 30px;
}

.option-card.is-active .qty-row {
  display: block;
}

.qty-row label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.qty-row input {
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  border-radius: 16px;
  padding: 0 15px;
  outline: none;
}

/* Resumen */

.cotizador-summary-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.055);
}

.cotizador-summary-list {
  display: grid;
  gap: 8px;
}

.cotizador-summary-row,
.cotizador-summary-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding: 14px 0;
}

.cotizador-summary-row span,
.cotizador-summary-total span {
  color: var(--muted);
  line-height: 1.4;
}

.cotizador-summary-row strong {
  color: var(--text);
  white-space: nowrap;
}

.cotizador-summary-total {
  margin-top: 4px;
  border-top-color: rgba(255, 255, 255, 0.24);
}

.cotizador-summary-total span {
  color: var(--text);
  font-weight: 900;
}

.cotizador-summary-total strong {
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  white-space: nowrap;
}

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

.cotizador-actions .btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* Preview */

.cotizador-preview {
  width: 100%;
  min-height: 560px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  border-radius: 22px;
  padding: 18px;
  outline: none;
  resize: vertical;
  font-size: 0.94rem;
  line-height: 1.6;
}

.cotizador-preview:focus {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.46);
}

/* Protección admin reutilizable */

body.admin-locked .admin-protected {
  display: none !important;
}

.admin-auth-gate {
  min-height: 100vh;
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 0;
  color: #ffffff;
}

.admin-auth-card {
  width: 100%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.11), transparent 36%),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 46px);
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.admin-auth-eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.admin-auth-card h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.admin-auth-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.admin-auth-actions {
  display: grid;
  gap: 12px;
}

.admin-auth-btn {
  min-height: 50px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.admin-auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.14);
}

.admin-auth-btn-secondary {
  border: 1px solid var(--line);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.admin-auth-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.admin-auth-link {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
}

.admin-auth-link:hover {
  color: #ffffff;
}

/* Responsive cotizador */

@media (max-width: 1100px) {
  .cotizador-layout-admin {
    grid-template-columns: 1fr;
  }

  .cotizador-summary-column {
    position: static;
  }
}

@media (max-width: 750px) {
  .cotizador-top-actions {
    width: 100%;
  }

  .cotizador-top-actions .btn {
    width: 100%;
  }

  .option-title {
    flex-direction: column;
    gap: 4px;
  }

  .cotizador-summary-row,
  .cotizador-summary-total {
    flex-direction: column;
    gap: 4px;
  }

  .cotizador-summary-row strong,
  .cotizador-summary-total strong {
    white-space: normal;
  }

  .cotizador-preview {
    min-height: 420px;
  }
}

/* ================================================= */
/* MENSAJE GUARDADO COTIZADOR */
/* ================================================= */

.cotizador-save-message {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.cotizador-save-message.success {
  color: #ffffff;
}

.cotizador-save-message.error {
  color: #ffb3b3;
}

/* ================================================= */
/* ADMIN PRESUPUESTOS GUARDADOS */
/* ================================================= */

.presupuestos-dashboard {
  display: grid;
  gap: 24px;
}

.presupuestos-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.presupuestos-top-actions .btn {
  width: auto;
}

.presupuestos-filters {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
}

.presupuestos-filters .form-field {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(255, 255, 255, 0.035);
  border-radius: 22px;
  padding: 18px;
  transition: var(--transition);
}

.presupuestos-filters .form-field:hover,
.presupuestos-filters .form-field:focus-within {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 38%),
    rgba(255, 255, 255, 0.055);
}

.presupuestos-filters .form-field > span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.presupuestos-filters input,
.presupuestos-filters select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  border-radius: 16px;
  padding: 0 15px;
  outline: none;
  font-size: 0.96rem;
  transition: var(--transition);
}

.presupuestos-filters input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.presupuestos-filters input:focus,
.presupuestos-filters select:focus {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.48);
}

.presupuestos-filters select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.presupuestos-list {
  display: grid;
  gap: 16px;
}

.budget-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.045);
  border-radius: 24px;
  padding: 22px;
  transition: var(--transition);
}

.budget-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.07);
}

.budget-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.budget-date {
  display: inline-flex;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.budget-card h3 {
  text-align: left;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.budget-card p {
  color: var(--muted);
  line-height: 1.5;
}

.budget-status {
  height: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.estado-borrador {
  background: rgba(255, 255, 255, 0.045);
}

.estado-enviado {
  border-color: rgba(180, 210, 255, 0.35);
  background: rgba(120, 160, 255, 0.12);
}

.estado-aprobado {
  border-color: rgba(170, 255, 190, 0.35);
  background: rgba(90, 255, 140, 0.12);
}

.estado-rechazado {
  border-color: rgba(255, 150, 150, 0.35);
  background: rgba(255, 80, 80, 0.12);
}

.estado-vencido {
  border-color: rgba(255, 230, 160, 0.35);
  background: rgba(255, 190, 80, 0.12);
}

.budget-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.budget-card-grid div {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 18px;
  padding: 14px;
}

.budget-card-grid span {
  display: block;
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-bottom: 7px;
}

.budget-card-grid strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.35;
}

.budget-state-row {
  margin-bottom: 18px;
}

.budget-state-row label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.budget-state-row select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  border-radius: 16px;
  padding: 0 15px;
  outline: none;
  cursor: pointer;
}

.budget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.budget-actions button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
  transition: var(--transition);
}

.budget-actions button:hover {
  background: #ffffff;
  color: #000000;
}

.budget-actions button.danger {
  border-color: rgba(255, 120, 120, 0.35);
  color: #ffb3b3;
  background: rgba(255, 80, 80, 0.08);
}

.budget-actions button.danger:hover {
  background: #ffb3b3;
  color: #000000;
}

/* Modal presupuesto */

.budget-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
}

.budget-modal.open {
  display: block;
}

.budget-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.budget-modal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100% - 32px, 860px);
  max-height: min(90svh, 820px);
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.13), transparent 36%),
    rgba(12, 12, 12, 0.98);
  border-radius: 28px;
  padding: 28px;
  color: var(--text);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.65);
  display: grid;
  gap: 18px;
}

.budget-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.budget-modal-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}

.budget-modal-header p {
  color: var(--muted);
  line-height: 1.5;
}

.budget-modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.budget-modal-close:hover {
  background: #ffffff;
  color: #000000;
}

.budget-modal textarea {
  width: 100%;
  min-height: 420px;
  max-height: 52svh;
  resize: vertical;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.36);
  color: var(--text);
  border-radius: 20px;
  padding: 18px;
  outline: none;
  line-height: 1.6;
}

.budget-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.budget-modal-actions .btn {
  width: auto;
  border: none;
  cursor: pointer;
}

@media (max-width: 850px) {
  .presupuestos-filters {
    grid-template-columns: 1fr;
  }

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

  .budget-card-header {
    flex-direction: column;
  }

  .presupuestos-top-actions {
    width: 100%;
  }

  .presupuestos-top-actions .btn {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .budget-card {
    padding: 20px;
  }

  .budget-modal-box {
    padding: 22px;
    border-radius: 24px;
  }

  .budget-modal-header {
    flex-direction: column;
  }

  .budget-modal-close {
    align-self: flex-end;
  }

  .budget-modal-actions {
    flex-direction: column;
  }

  .budget-modal-actions .btn {
    width: 100%;
  }
}

/* ================================================= */

/* ================================================= */
/* CTA COMERCIAL EN DEMOS */
/* ================================================= */

.iframe-similar-link {
  border-color: rgba(255, 255, 255, 0.82);
  background: #ffffff;
  color: #000000;
}

.iframe-similar-link:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.12);
}

/* ================================================= */
/* FIX CTA PRINCIPAL DEMOS + TARJETAS ACCESIBLES */
/* ================================================= */

.iframe-demo-card:focus-visible {
  outline: 2px solid rgba(37, 211, 102, 0.95);
  outline-offset: 4px;
}

.iframe-top-actions,
.iframe-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.iframe-similar-link,
.iframe-modal-actions #iframeModalSimilarLink {
  border: 1px solid rgba(37, 211, 102, 0.92) !important;
  background: #25d366 !important;
  color: #06150b !important;
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.22);
  font-weight: 900;
}

.iframe-similar-link::after,
.iframe-modal-actions #iframeModalSimilarLink::after {
  content: " →";
}

.iframe-similar-link:hover,
.iframe-modal-actions #iframeModalSimilarLink:hover {
  background: #35e278 !important;
  color: #06150b !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(37, 211, 102, 0.30);
}

@media (max-width: 650px) {
  .iframe-top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .iframe-similar-link {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .iframe-expand-btn,
  .iframe-open-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .iframe-modal-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .iframe-modal-actions #iframeModalSimilarLink {
    grid-column: 1 / -1;
    order: -1;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ================================================= */
/* HERO PREVIEW ESTRELLA - CELULAR CATÁLOGO */
/* ================================================= */

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-device {
  width: 340px;
  height: 690px;
  padding: 10px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, #202020, #080808 52%, #1b1b1b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}

.phone-device::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 24%);
}

.phone-top {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  border-radius: 999px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.phone-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1f1f1f;
  box-shadow: inset 0 0 0 2px #101010;
}

.phone-speaker {
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: #1e1e1e;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(180deg, #111111, #171717 45%, #101010);
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-statusbar {
  min-height: 44px;
  padding: 18px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.86);
  font-size: 0.72rem;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px 0;
}

.phone-app-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
}

.phone-app-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255,255,255,0.04);
}

.phone-app-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 18px 22px;
}

.phone-app-body h3 {
  text-align: left;
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -1.7px;
  margin-bottom: 14px;
}

.phone-app-body .demo-description {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.phone-app-body .demo-store {
  margin-bottom: 18px;
  border-radius: 20px;
}

.phone-app-body .catalog-tabs {
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.phone-app-body .catalog-tab {
  flex-shrink: 0;
  padding: 8px 13px;
  font-size: 0.76rem;
}

.phone-app-body .catalog-products {
  gap: 11px;
}

.phone-app-body .product-card {
  border-radius: 18px;
  padding: 12px;
}

.phone-app-body .product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.phone-app-body .product-info {
  align-items: center;
  flex-direction: row;
  gap: 12px;
}

.phone-app-body .product-info strong {
  font-size: 0.9rem;
}

.phone-app-body .product-info small {
  font-size: 0.75rem;
}

.phone-app-body .product-price {
  font-size: 0.88rem;
}

.phone-app-body .demo-footer {
  margin-top: 18px;
}

.phone-app-body .demo-footer > span {
  display: block;
  color: var(--muted-2);
  font-size: 0.76rem;
  margin-bottom: 12px;
  text-align: left;
}

.phone-cta-button {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: #25d366;
  color: #06150b;
  font-weight: 900;
  font-size: 0.92rem;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.22);
}

.phone-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.28);
}

.phone-app-body::-webkit-scrollbar {
  width: 6px;
}

.phone-app-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}

@media (max-width: 1170px) {
  .phone-device {
    width: min(100%, 350px);
    height: 660px;
  }
}

@media (max-width: 650px) {
  .hero-visual {
    min-height: auto;
  }

  .phone-device {
    width: min(100%, 340px);
    height: 620px;
    border-radius: 36px;
  }

  .phone-screen {
    border-radius: 28px;
  }

  .phone-app-body {
    padding: 16px 16px 20px;
  }

  .phone-app-body h3 {
    font-size: 1.8rem;
  }

  .phone-app-body .product-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* ================================================= */
/* HERO PREVIEW ESTRELLA - CELULAR CATÁLOGO */
/* ================================================= */

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-preview {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-device {
  width: 340px;
  height: 690px;
  padding: 10px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, #202020, #080808 52%, #1b1b1b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  flex-shrink: 0;
}

.phone-device::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 24%);
}

.phone-top {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 120px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.phone-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1f1f1f;
  box-shadow: inset 0 0 0 2px #101010;
}

.phone-speaker {
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: #1e1e1e;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #111111, #171717 45%, #101010);
  display: flex;
  flex-direction: column;
}

.phone-statusbar {
  min-height: 44px;
  padding: 18px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px 0;
}

.phone-app-badge,
.phone-app-state {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

.phone-app-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 18px 22px;
}

.phone-app-body h3 {
  text-align: left;
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -1.7px;
  margin-bottom: 14px;
}

.phone-app-body .demo-description {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.phone-app-body .demo-store {
  margin-bottom: 18px;
  border-radius: 20px;
}

.phone-app-body .catalog-tabs {
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.phone-app-body .catalog-tab {
  flex-shrink: 0;
  padding: 8px 13px;
  font-size: 0.76rem;
}

.phone-app-body .catalog-products {
  gap: 11px;
}

.phone-app-body .product-card {
  border-radius: 18px;
  padding: 12px;
}

.phone-app-body .product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.phone-app-body .product-info {
  align-items: center;
  flex-direction: row;
  gap: 12px;
}

.phone-app-body .product-info strong {
  font-size: 0.9rem;
}

.phone-app-body .product-info small {
  font-size: 0.75rem;
}

.phone-app-body .product-price {
  font-size: 0.88rem;
}

.phone-app-body .demo-footer {
  margin-top: 18px;
}

.phone-app-body .demo-footer > span {
  display: block;
  color: var(--muted-2);
  font-size: 0.76rem;
  margin-bottom: 12px;
  text-align: left;
}

.phone-cta-button {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: #25d366;
  color: #06150b;
  font-weight: 900;
  font-size: 0.92rem;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.22);
}

.phone-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.28);
}

.phone-app-body::-webkit-scrollbar {
  width: 6px;
}

.phone-app-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

@media (max-width: 1170px) {
  .phone-device {
    width: min(100%, 350px);
    height: 660px;
  }
}

@media (max-width: 650px) {
  .hero-visual {
    min-height: auto;
  }

  .phone-device {
    width: min(100%, 340px);
    height: 620px;
    border-radius: 36px;
  }

  .phone-screen {
    border-radius: 28px;
  }

  .phone-app-body {
    padding: 16px 16px 20px;
  }

  .phone-app-body h3 {
    font-size: 1.8rem;
  }

  .phone-app-body .product-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}