/* ============================================================
   PHOTOGRAPHY PROPOSAL — Estilos principales
   Mobile-first · Editorial · Dark theme · Mexican Gastronomy Accent
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES & PALETTE ── */
:root {
  /* Fondo principal y superficies */
  --bg: #0A0A0A;
  --bg-surface: #121212;
  --bg-elevated: #181818;
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;

  /* Textos */
  --text: #F4F0E8;            /* Blanco cálido */
  --text-muted: #A39D94;      /* Tono medio cálido */
  --text-dim: #635E58;        /* Tono bajo cálido */

  /* Acentos de Rojo Puro */
  --accent: #D71920;          /* Rojo intenso */
  --accent-dark: #7F1D1D;     /* Rojo oscuro */
  --accent-hover: #EF232B;
  --accent-glow: rgba(215, 25, 32, 0.18);
  --accent-glow-subtle: rgba(215, 25, 32, 0.08);

  /* Líneas divisorias y bordes editoriales */
  --line: rgba(244, 240, 232, 0.08);
  --line-strong: rgba(244, 240, 232, 0.18);
  --line-accent: rgba(215, 25, 32, 0.4);

  /* Tipografías */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espaciado */
  --section-py: clamp(4.5rem, 10vw, 8rem);
  --container-px: clamp(1.25rem, 5vw, 2.5rem);
  --container-max: 1160px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --transition-base: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  background: var(--accent);
  color: var(--text);
}

/* ── 3. LAYOUT HELPERS ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}
.section--surface {
  background-color: var(--bg-surface);
}
.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: none;
}
.divider--red {
  background: var(--accent);
  opacity: 0.5;
  height: 1px;
}

/* ── 4. TYPOGRAPHY HIERARCHY ── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
}
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.display-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.body-text {
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 300;
}
.body-sm {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}
.micro {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
}
.tag-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid var(--line-strong);
  padding: 0.45em 1.1em;
  display: inline-block;
  backdrop-filter: blur(8px);
}
.section-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-tag::before {
  content: '✦';
  font-size: 0.6rem;
  color: var(--accent);
}
.accent {
  color: var(--accent) !important;
}

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.1em 2.4em;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  transition: all var(--transition-base);
  min-height: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  z-index: 0;
}
.btn span {
  position: relative;
  z-index: 1;
}
.btn:hover::after,
.btn:focus-visible::after {
  transform: scaleX(1);
}
.btn:hover,
.btn:focus-visible {
  color: var(--bg);
  border-color: var(--text);
}
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}
.btn--primary::after {
  background: var(--accent-hover);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  color: #FFFFFF;
  border-color: var(--accent-hover);
}
.btn--large {
  padding: 1.25em 2.8em;
  font-size: 0.82rem;
  min-height: 52px;
}

/* ── 6. IMAGE PLACEHOLDERS ── */
.img-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 50%, #1f1a1a 0%, #121212 60%, #0A0A0A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.img-placeholder::before {
  content: '';
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.img-placeholder::after {
  content: 'FOTOGRAFÍA';
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
}
.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   7. SECCIONES ESPECÍFICAS
   ============================================================ */

/* ── 01. PORTADA / HERO ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 46%, rgba(130, 20, 26, 0.08) 0%, rgba(60, 8, 12, 0.02) 40%, transparent 70%),
    #080808;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--container-px);
  position: relative;
  z-index: 5;
}

.hero__sparkle {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Área de foco interactivo para la palabra central */
.focus-area {
  position: absolute;
  z-index: 2;
  left: 2.5%;
  right: 2.5%;
  top: 25%;
  height: 42%;
  overflow: hidden;
  pointer-events: none;
}

.focus-text-blur,
.focus-text-sharp {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.focus-text-blur span,
.focus-text-sharp span {
  display: block;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: var(--word-size, 120px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
}

/* Capa desenfocada: tonalidad rojiza cálida suave y sutil */
.focus-text-blur {
  color: #650c12;
  opacity: 0.38;
  filter: blur(7px);
}

/* Capa nítida revelada por la mira de foco */
.focus-text-sharp {
  color: #d71920;
  opacity: 0.92;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Retrato / Sujeto: luz trasera realista y sombra suave */
.hero-photo {
  position: absolute;
  z-index: 3;
  right: 3%;
  bottom: 0;
  width: auto;
  height: 90%;
  max-width: 56%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(-18px 0 26px rgba(0, 0, 0, 0.6));
  pointer-events: none;
  user-select: none;
}

/* Fade inferior cinematográfico */
.hero-bottom {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(8, 8, 8, 0.25) 40%,
    #080808 100%
  );
}

.hero__content {
  position: relative;
  z-index: 5;
  padding: 0 var(--container-px) 3rem;
  margin-top: auto;
}

.hero__name {
  margin-bottom: 0.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero__tagline {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__client {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-accent);
  max-width: 450px;
}

.hero__client-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.hero__client-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--container-px);
  z-index: 5;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--accent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 28px; }
  50% { opacity: 1; height: 45px; }
}

@media (max-width: 1024px) {
  .focus-area {
    left: 2%;
    right: 2%;
  }
  .hero-photo {
    right: 1%;
    height: 82%;
    max-width: 65%;
  }
}

@media (max-width: 600px) {
  #hero {
    height: 100svh;
    min-height: 580px;
  }
  .focus-area {
    left: 3%;
    right: 3%;
    top: 24%;
    height: 40%;
  }
  .hero-photo {
    right: 2%;
    bottom: 0;
    height: 74%;
    max-width: 96%;
    object-position: right bottom;
  }
  .hero__content {
    padding: 0 var(--container-px) 2rem;
  }
}

/* ── 02. INTRODUCCIÓN ── */
#intro {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.intro__layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.intro__title {
  max-width: 18ch;
}
.intro__text {
  max-width: 580px;
  font-size: 1.1rem;
}

/* ── 03. POR QUÉ IMPORTA (Editorial Compact Cards - Sin fotos) ── */
#benefits {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.benefit-card {
  background: linear-gradient(145deg, rgba(22, 22, 22, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 80%);
  opacity: 0.6;
  transition: opacity var(--transition-base), height var(--transition-base);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(215, 25, 32, 0.08);
}
.benefit-card:hover::before {
  opacity: 1;
  height: 3px;
}
.benefit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.benefit-card__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.04em;
  opacity: 0.9;
}
.benefit-card__badge {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35em 0.8em;
  border-radius: 2px;
  border: 1px solid var(--line);
}
.benefit-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}
.benefit-card__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ── 04. MÁS QUE UNA FOTO (Mockups de canales) ── */
#why-visual {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: all var(--transition-base);
}
.channel-card:hover {
  border-color: var(--line-accent);
}
.mockup-frame {
  background: #000;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  position: relative;
}
.mockup-frame--phone {
  aspect-ratio: 9/14;
  max-width: 240px;
  margin: 0 auto;
  border-radius: 16px;
  border: 2px solid #282828;
}
.mockup-frame--browser {
  aspect-ratio: 16/10;
  border-radius: 6px;
}
.mockup-frame__header {
  height: 24px;
  background: #181818;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
  border-bottom: 1px solid var(--line);
}
.mockup-frame__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #333;
}
.mockup-frame__dot:first-child { background: var(--accent); opacity: 0.8; }
.mockup-frame__body {
  height: calc(100% - 24px);
  position: relative;
}
.mockup-frame--phone .mockup-frame__body {
  height: 100%;
}
.channel-info__badge {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
  display: block;
}
.channel-info__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.channel-info__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.6;
  font-weight: 300;
}

/* ── 05. TU LENGUAJE VISUAL (4 Pilares) ── */
#visual-language {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-card__media {
  aspect-ratio: 4/3;
  position: relative;
}
.pillar-card__cat {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(10, 10, 10, 0.8);
  padding: 0.3em 0.7em;
  border: 1px solid var(--line);
}
.pillar-card__body {
  padding: 1.5rem;
}
.pillar-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.pillar-card__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.6;
}
.pillar-card__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}

/* ── 06. GALERÍA / DEMOSTRACIÓN ── */
#samples {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.samples__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.sample {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.sample--large {
  aspect-ratio: 4/5;
}
.sample--small {
  aspect-ratio: 3/4;
}
.sample__tags {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
.sample__tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(4px);
  padding: 0.35em 0.8em;
  border: 1px solid var(--line-strong);
}

/* ── 07. PAQUETES ── */
#packages {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}
.packages__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.package-card {
  border: 1px solid var(--line);
  padding: 2rem 1.5rem;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--bg-card);
  text-align: left;
  width: 100%;
}
.package-card:hover,
.package-card:focus-visible {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
}
.package-card.selected {
  border-color: var(--accent);
  background: #171212;
}
.package-card--highlighted {
  border-color: var(--accent-dark);
}
.package-card__badge {
  position: absolute;
  top: -11px;
  right: 1.5rem;
  background: var(--accent);
  color: #FFF;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(215, 25, 32, 0.3);
}
.package__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.package__number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  line-height: 0.85;
  color: var(--accent);
  opacity: 0.35;
}
.package__name-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.package__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.package__price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: 0.2rem;
}
.package__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 1.5rem;
}
.package__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
}
.package__highlight {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.package__highlight-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.package__highlight-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.package__features {
  display: flex;
  flex-direction: column;
}
.package__feature {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.package__feature:last-child {
  border-bottom: none;
}
.package__feature::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}
.package__select-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  gap: 0.6rem;
  transition: color var(--transition-base);
}
.package-card.selected .package__select-indicator {
  color: var(--accent);
  font-weight: 500;
}
.package__radio {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--transition-base);
}
.package__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.package-card.selected .package__radio {
  border-color: var(--accent);
}
.package-card.selected .package__radio::after {
  transform: scale(1);
}

/* ── 08. DERECHOS & CONDICIONES (Editorial ligero) ── */
#rights {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.rights-editorial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.rights-included-banner {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rights-included-banner__tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.rights-included-banner__channels {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rights-included-banner__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.rights-card {
  border: 1px solid var(--line);
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
  text-align: left;
  background: var(--bg-surface);
  display: block;
}
.rights-card:hover,
.rights-card:focus-visible {
  border-color: var(--line-strong);
  background: var(--bg-elevated);
}
.rights-card.active {
  border-color: var(--accent);
  background: #171212;
}
.rights__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.rights__toggle {
  width: 44px;
  height: 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.rights__toggle::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  top: 2.5px;
  left: 3px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rights-card.active .rights__toggle {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.rights-card.active .rights__toggle::after {
  background: var(--accent);
  left: 21px;
}
.rights__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rights__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.rights__description {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 300;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

/* ── 09. LO QUE TE LLEVAS (4 Entregables) ── */
#deliverables {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
}
.deliverables__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.deliverable-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color var(--transition-base);
}
.deliverable-card:hover {
  border-color: var(--line-strong);
}
.deliverable-card__icon {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}
.deliverable-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.deliverable-card__sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.deliverable-card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ── 10. LA COMIDA ES VISUAL ── */
#food-visual {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  background: var(--bg);
}
.food-visual__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.food-visual__bg .img-placeholder {
  border: none;
}
.food-visual__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
  z-index: 2;
}
.food-visual__content {
  position: relative;
  z-index: 3;
  padding: 4rem var(--container-px);
  width: 100%;
}
.food-visual__quote {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.5vw, 5.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.98;
  max-width: 15ch;
  margin-bottom: 1.5rem;
}
.food-visual__quote span.accent {
  color: var(--accent);
}
.food-visual__text {
  max-width: 520px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── 11. CIERRE & CTA FINAL ── */
#cta {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cta__bg .img-placeholder {
  border: none;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  z-index: 2;
}
.cta__content {
  position: relative;
  z-index: 3;
  padding: 4rem var(--container-px);
  max-width: 800px;
}
.cta__subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.cta__title {
  margin-bottom: 1.2rem;
  line-height: 0.95;
}
.cta__brand {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

/* ── RESUMEN DE SELECCIÓN ── */
#summary {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  padding-bottom: calc(var(--section-py) + 80px);
}
.summary__card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  display: none;
}
.summary__card.visible {
  display: block;
}
.summary__empty {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 2rem;
  border: 1px dashed var(--line-strong);
  text-align: center;
}
.summary__package-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.summary__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.summary__line-label {
  color: var(--text-muted);
  font-weight: 300;
}
.summary__line-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}
.summary__rights-line {
  display: none;
}
.summary__rights-line.visible {
  display: flex;
}
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.2rem 0 0;
  margin-top: 0.5rem;
}
.summary__total-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.summary__total-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: 0.02em;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.summary__cta {
  margin-top: 2rem;
}
.summary__cta .btn {
  width: 100%;
}
.summary__usage {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ── 8. STICKY MOBILE BAR ── */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  padding: 0.8rem var(--container-px);
  padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-bar.visible {
  transform: translateY(0);
}
.mobile-bar__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.mobile-bar__label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.mobile-bar__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1;
}
.mobile-bar__btn {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85em 1.6em;
  background: var(--accent);
  color: #FFF;
  border: none;
  min-height: 44px;
  white-space: nowrap;
  transition: background var(--transition-base);
}
.mobile-bar__btn:hover,
.mobile-bar__btn:active {
  background: var(--accent-hover);
}

/* ── 9. ANIMATIONS & EFFECTS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal--scale {
  transform: scale(0.96);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.flash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.flash-overlay.flash-active {
  opacity: 1;
}

.parallax-el {
  will-change: transform;
  transition: transform 0.1s linear;
}

@keyframes pricePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.price-pop {
  animation: pricePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 10. RESPONSIVE — TABLET (≥768px) ── */
@media (min-width: 768px) {
  .intro__layout {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }
  .intro__title {
    flex: 1.2;
  }
  .intro__text {
    flex: 1;
    padding-top: 0.5rem;
  }

  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .samples__grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    align-items: end;
  }
  .sample--small {
    margin-top: 3rem;
  }

  .packages__grid {
    flex-direction: row;
    gap: 1.5rem;
  }
  .package-card {
    flex: 1;
  }

  .deliverables__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .cta__buttons {
    flex-direction: row;
  }

  .summary__card {
    max-width: 580px;
  }
}

/* ── 11. RESPONSIVE — DESKTOP (≥1024px & ≥1200px) ── */
@media (min-width: 1024px) {
  /* Opción A: Posicionamiento en franja superior-media, justo debajo de PROPUESTA VISUAL */
  .focus-area {
    top: 14%;
    height: 40%;
    left: 0;
    right: 0;
    width: 100vw;
  }

  .focus-text-blur span,
  .focus-text-sharp span {
    letter-spacing: 0.06em;
    /* Degradado artístico a la palabra PHOTOGRAPHER: Rojo Intenso a Rojo Oscuro / Terracota */
    background: linear-gradient(135deg, #e62129 0%, #d71920 40%, #8b1318 80%, #54080c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .focus-text-blur {
    opacity: 0.45;
    filter: blur(8px);
  }

  .focus-text-sharp {
    opacity: 0.95;
  }

  /* Reducción del degradado sobre el sujeto:
     Mucho más bajo y sutil, permitiendo que la modelo se vea con brillo y nitidez */
  .hero-bottom {
    height: 24%;
    z-index: 4;
    background: linear-gradient(
      to top,
      #080808 0%,
      rgba(8, 8, 8, 0.6) 40%,
      transparent 100%
    );
  }

  .hero-photo {
    right: 5%;
    max-width: 52%;
    height: 94%;
    filter: drop-shadow(-14px 0 22px rgba(0, 0, 0, 0.5));
  }

  .hero__content {
    padding-bottom: 3rem;
  }
}

@media (min-width: 1200px) {
  .channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .deliverables__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .samples__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
  }
  .sample--small {
    margin-top: 5rem;
  }

  .mobile-bar {
    display: none;
  }
  #summary {
    padding-bottom: var(--section-py);
  }
}

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

@media (max-width: 600px) {
  .mockup-frame--phone {
    width: min(88vw, 360px);
    max-width: none;
    aspect-ratio: 9 / 16;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   GASTRONOMY IMAGE BANK — RESPONSIVE GALLERY
   ============================================================ */
.gallery-intro {
  max-width: 720px;
  margin: 0 0 2.5rem;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 1rem;
}

.gallery-card {
  break-inside: avoid;
  margin: 0 0 1rem;
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 10px;
  cursor: zoom-in;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}

.gallery-card:hover img {
  transform: scale(1.025);
  filter: brightness(.78);
}

.gallery-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  transform: translateY(4px);
  transition: transform .4s ease, opacity .4s ease;
}

.gallery-card__tag {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .13em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .35rem;
}

.gallery-card__title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: .03em;
}

.gallery-card__text {
  margin: .2rem 0 0;
  font-size: .78rem;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}

@media (max-width: 900px) {
  .gallery-grid { columns: 2 240px; }
}

@media (max-width: 600px) {
  .gallery-grid { columns: 1; }
  .gallery-card__caption { padding-top: 4rem; }
}

/* ============================================================
   IMAGE LIGHTBOX
   ============================================================ */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.96);
  backdrop-filter: blur(8px);
}
.image-lightbox.is-open { display: flex; }
.image-lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.image-lightbox__close {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}
.image-lightbox__close:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   GENERIC CTA AURA
   ============================================================ */
.btn--aura {
  animation: gastronomyAura 3.4s ease-in-out infinite;
}
@keyframes gastronomyAura {
  0%,100% { box-shadow: 0 4px 20px rgba(215,25,32,.28); }
  50% { box-shadow: 0 4px 42px rgba(215,25,32,.55); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--aura { animation: none; }
}


/* ============================================================
   EDITORIAL FEATURE SECTIONS
   ============================================================ */
.feature-story,
.product-feature,
.dessert-story {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(2rem,6vw,6rem);
  align-items: center;
}

.feature-story__copy,
.product-feature__copy,
.dessert-story__copy { max-width: 560px; }

.feature-story__copy .body-text + .body-text,
.product-feature__copy .body-text + .body-text,
.dessert-story__copy .body-text + .body-text { margin-top: 1rem; }

.feature-story__images {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: .8rem;
}
.feature-story__images .feature-img,
.product-feature__images .feature-img,
.dessert-story__image {
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}
.feature-story__images img,
.product-feature__images img,
.dessert-story__image img {
  display: block;
  width: 100%;
  height: auto;
}

.product-feature {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}
.product-feature__images {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .7rem;
  align-items: end;
}
.product-feature__images .feature-img:nth-child(2) { transform: translateY(-1.4rem); }

.dessert-story { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
.dessert-story__image { max-height: 680px; }
.dessert-story__image img { object-fit: cover; }

@media (max-width: 768px) {
  .feature-story,
  .product-feature,
  .dessert-story { grid-template-columns: 1fr; gap: 2rem; }
  .product-feature__images { grid-template-columns: repeat(3,1fr); }
  .product-feature__images .feature-img:nth-child(2) { transform: translateY(-.7rem); }
  .dessert-story__image { order: -1; }
}

/* ============================================================
   GALERÍA — HERO EDITORIAL
   ============================================================ */
.gallery-hero {
  position: relative;
  min-height: clamp(360px, 58vw, 680px);
  margin: 0 0 2.5rem;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  isolation: isolate;
}

.gallery-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter 1.2s ease;
}

.gallery-hero:hover img {
  transform: scale(1.025);
  filter: brightness(.82);
}

.gallery-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.22) 52%, rgba(0,0,0,.08) 100%),
              linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 55%);
}

.gallery-hero__copy {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 5vw, 3.5rem);
  bottom: clamp(1.5rem, 5vw, 3.5rem);
  max-width: 560px;
}

.gallery-hero__copy span {
  display: block;
  margin-bottom: .55rem;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.gallery-hero__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: .92;
  letter-spacing: .025em;
  text-transform: uppercase;
  max-width: 8ch;
}

@media (max-width: 600px) {
  .gallery-hero {
    min-height: 68svh;
    margin-bottom: 1.5rem;
  }

  .gallery-hero__overlay {
    background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 65%, rgba(0,0,0,.05) 100%);
  }

  .gallery-hero__copy h3 {
    font-size: clamp(2.5rem, 13vw, 4.4rem);
  }
}
