/*
  ======================================================================
  LÚMINA SOCIAL STUDIO - ESTILOS PRINCIPALES
  ======================================================================
  Cómo personalizar rápido esta hoja:

  1) Cambia la paleta en :root.
  2) Ajusta tipografías en --font-display y --font-body.
  3) Cambia radios, sombras y tamaños base si deseas otra personalidad.
  4) Busca los bloques por títulos grandes de comentario.

  Esta hoja está organizada para que sea fácil editarla en Visual Studio Code.
*/

/* ======================================================================
   VARIABLES GLOBALES / IDENTIDAD VISUAL
   ====================================================================== */
:root {
  /* Tipografías */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;

  /* Colores principales */
  --color-bg: #0b0a11;
  --color-surface: rgba(255, 255, 255, 0.06);
  --color-surface-strong: rgba(255, 255, 255, 0.1);
  --color-surface-soft: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.12);

  /* Acentos */
  --color-primary: #f3c9d8;
  --color-primary-strong: #f4a9c1;
  --color-secondary: #c4b6ff;
  --color-highlight: #f6dfae;

  /* Texto */
  --color-text: #f7f3fb;
  --color-text-muted: rgba(247, 243, 251, 0.72);
  --color-text-soft: rgba(247, 243, 251, 0.5);

  /* Botones */
  --color-button-bg: linear-gradient(135deg, #f4a9c1 0%, #c4b6ff 100%);
  --color-button-text: #120f1f;
  --color-button-ghost-bg: rgba(255, 255, 255, 0.04);
  --color-button-ghost-border: rgba(255, 255, 255, 0.2);

  /* Sombras y profundidad */
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.24);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.16);

  /* Radios */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;

  /* Layout */
  --container-width: 1200px;
  --section-space: clamp(5rem, 8vw, 8rem);
  --header-height: 86px;
}

/* ======================================================================
   RESET BÁSICO Y REGLAS GLOBALES
   ====================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(196, 182, 255, 0.14), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(244, 169, 193, 0.12), transparent 28%),
    linear-gradient(180deg, #0b0a11 0%, #11101a 40%, #0a0910 100%);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ======================================================================
   FONDOS DECORATIVOS GLOBALES
   ====================================================================== */
.site-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.6;
}

.site-blur--one {
  width: 260px;
  height: 260px;
  background: rgba(244, 169, 193, 0.18);
  top: 10%;
  left: -80px;
}

.site-blur--two {
  width: 300px;
  height: 300px;
  background: rgba(196, 182, 255, 0.16);
  right: -90px;
  top: 42%;
}

.site-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 100%);
  z-index: -3;
  pointer-events: none;
}

/* ======================================================================
   TIPOGRAFÍA Y UTILIDADES
   ====================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.05;
}

h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

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

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--color-text-muted);
  font-size: 1.03rem;
}

/* ======================================================================
   BOTONES
   ====================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-button-bg);
  color: var(--color-button-text);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  box-shadow: 0 18px 42px rgba(244, 169, 193, 0.22);
}

.btn--ghost,
.btn--nav {
  background: var(--color-button-ghost-bg);
  border-color: var(--color-button-ghost-border);
  color: var(--color-text);
  backdrop-filter: blur(12px);
}

.btn--wide {
  min-width: 220px;
}

/* ======================================================================
   HEADER
   ====================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(11, 10, 17, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #171220;
  background: linear-gradient(135deg, var(--color-highlight), var(--color-primary));
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text small {
  color: var(--color-text-soft);
  margin-top: 0.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

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

/* ======================================================================
   HERO
   ====================================================================== */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 var(--section-space);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(3.3rem, 7vw, 6.6rem);
  margin-bottom: 1.2rem;
  max-width: 10.5ch;
}

.hero__lead {
  max-width: 640px;
  font-size: 1.08rem;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__stats article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.hero__stats strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.hero__stats span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.hero__visual {
  position: relative;
  min-height: 620px;
}

.hero__card {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__card--main {
  position: absolute;
  inset: 0 0 50px 40px;
}

.hero__card--main img {
  height: 100%;
  object-fit: cover;
}

.hero__card--main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 10, 20, 0.04), rgba(14, 10, 20, 0.28));
}

.hero__floating {
  position: absolute;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.hero__floating span {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.hero__floating strong {
  display: block;
  line-height: 1.2;
}

.hero__floating--top {
  top: 28px;
  left: -10px;
}

.hero__floating--bottom {
  bottom: 0;
  right: -10px;
}

/* ======================================================================
   SECCIONES GENERALES
   ====================================================================== */
.intro,
.services,
.showcase,
.gallery,
.benefits,
.cta {
  padding: var(--section-space) 0;
}

.intro__wrapper {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.2rem);
  box-shadow: var(--shadow-md);
}

.intro__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.intro__content p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

/* ======================================================================
   SERVICIOS
   ====================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 169, 193, 0.28);
}

.service-card__image {
  aspect-ratio: 4 / 4.3;
  overflow: hidden;
}

.service-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__content {
  padding: 1.35rem;
}

.service-card__tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--color-highlight);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.service-card p,
.service-card small {
  color: var(--color-text-muted);
}

.service-card small {
  display: block;
  margin-top: 1rem;
}

/* ======================================================================
   SHOWCASE EDITORIAL
   ====================================================================== */
.showcase__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.showcase__media {
  overflow: hidden;
  min-height: 560px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.showcase__media img {
  height: 100%;
  object-fit: cover;
}

.showcase__content p:not(.eyebrow) {
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.showcase__content h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
}

/* ======================================================================
   GALERÍA
   ====================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.gallery__item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 4, 12, 0.06), rgba(6, 4, 12, 0.58));
}

.gallery__item figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
}

.gallery__item:nth-child(1) { grid-column: span 7; }
.gallery__item:nth-child(2) { grid-column: span 5; }
.gallery__item:nth-child(3) { grid-column: span 4; }
.gallery__item:nth-child(4) { grid-column: span 4; }
.gallery__item:nth-child(5) { grid-column: span 4; }
.gallery__item:nth-child(6) { grid-column: span 4; }

.gallery__item--large {
  min-height: 420px;
}

.gallery__item--tall {
  min-height: 380px;
}

/* ======================================================================
   BENEFICIOS
   ====================================================================== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.benefit-card__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #171220;
  background: linear-gradient(135deg, var(--color-highlight), var(--color-primary));
  font-size: 1.1rem;
}

.benefit-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.benefit-card p {
  color: var(--color-text-muted);
}

/* ======================================================================
   CTA FINAL
   ====================================================================== */
.cta__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(244, 169, 193, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(196, 182, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.cta__panel::before {
  content: '';
  position: absolute;
  inset: auto -15% -45% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(246, 223, 174, 0.08);
  filter: blur(40px);
}

.cta__text h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.cta__text p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.cta__actions {
  display: grid;
  gap: 1rem;
}

/* ======================================================================
   FOOTER
   ====================================================================== */
.footer {
  padding: 2rem 0 3rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h3,
.footer h4 {
  margin-bottom: 0.8rem;
}

.footer p,
.footer li {
  color: var(--color-text-muted);
}

.footer ul {
  display: grid;
  gap: 0.5rem;
}

/* ======================================================================
   ANIMACIONES / REVEAL ON SCROLL
   ====================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
}

.reveal-scale {
  transform: translateY(22px) scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1080px) {
  .hero__grid,
  .showcase__grid,
  .cta__panel,
  .footer__inner,
  .benefits__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .benefits__grid {
    gap: 1rem;
  }

  .hero__visual {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .nav,
  .btn--nav {
    display: none;
  }

  .hero__grid,
  .intro__content,
  .showcase__grid,
  .cta__panel,
  .footer__inner,
  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .hero__content h1 {
    max-width: 100%;
  }

  .hero__visual {
    min-height: 440px;
  }

  .hero__card--main {
    inset: 0;
  }

  .hero__floating--top {
    left: 10px;
    top: 10px;
  }

  .hero__floating--bottom {
    right: 10px;
    bottom: 10px;
  }

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

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

  .gallery__item,
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(6) {
    grid-column: auto;
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-space: 4.3rem;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container-width));
  }

  .header__inner {
    min-height: 74px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn,
  .btn--wide {
    width: 100%;
  }

  .hero__visual {
    min-height: 360px;
  }

  .hero__floating {
    max-width: 180px;
    padding: 0.85rem 0.9rem;
  }

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

  .gallery__item {
    min-height: 260px;
  }

  .intro__wrapper,
  .cta__panel {
    border-radius: 26px;
  }
}
