@import url(fonts.css);
@import url(botfot.css);

/* ══════════════════════════════════════════════════════════════
   VARIABLES GLOBALES
══════════════════════════════════════════════════════════════ */
 
:root {
  /* Colores */
  --color-red:        #770101;
  --color-cream:      #FFF7EB;
  --color-dark:       #1a1a1a;
  --color-red-subtle: rgba(119, 1, 1, 0.1);
  --color-red-hover:  rgba(119, 1, 1, 0.85);
 
  /* Tipografía */
  --font-display:  "loretta-display", serif;
  --font-body:     "arial", sans-serif;
  --font-serif:    "Cormorant Garamond", serif;
 
  /* Espaciado base */
  --padding-page:  8vw;
  --gap-sections:  6vw;
}
 
 
/* ══════════════════════════════════════════════════════════════
   RESET BASE
══════════════════════════════════════════════════════════════ */
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--color-cream);
  color: var(--color-red);
  font-family: var(--font-body);
}
 
 
/* ══════════════════════════════════════════════════════════════
   INTRO — Animación de entrada (index)
══════════════════════════════════════════════════════════════ */
 
#intro {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  background: var(--color-cream);
}
 
#name-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: var(--color-red);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#name-text.show {
  opacity: 1;
  transform: translateY(0);
}
 
 
/* ══════════════════════════════════════════════════════════════
   ESTRELLA — Transición de intro a home
══════════════════════════════════════════════════════════════ */
 
#star-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  overflow: hidden;
}
 
#star-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-top: 0;
  margin-left: 0;
  transition: width 6s cubic-bezier(0.08, 0, 0.3, 1),
              height 6s cubic-bezier(0.08, 0, 0.3, 1),
              margin-top 6s cubic-bezier(0.08, 0, 0.3, 1),
              margin-left 6s cubic-bezier(0.08, 0, 0.3, 1);
}
#star-svg.grow {
  width: 2400vmax;
  height: 2400vmax;
  margin-top: -1200vmax;
  margin-left: -1200vmax;
}
 
 
/* ══════════════════════════════════════════════════════════════
   SCROLL WRAPPER
══════════════════════════════════════════════════════════════ */
 
#scroll-wrapper {
  position: fixed;
  inset: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  scrollbar-width: none;
}
#scroll-wrapper::-webkit-scrollbar { display: none; }
#scroll-wrapper.visible {
  opacity: 1;
  pointer-events: all;
}
 
 
/* ══════════════════════════════════════════════════════════════
   HOME — Sección hero principal
══════════════════════════════════════════════════════════════ */
 
#home {
  width: 100vw;
  height: 100vh;
  background: var(--color-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
 
#title-word {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(4rem, 14vw, 11rem);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#title-word.show { opacity: 1; transform: translateY(0); }
 
.star-big {
  width: clamp(2.5rem, 7vw, 6rem);
  height: clamp(2.5rem, 7vw, 6rem);
  fill: var(--color-cream);
  margin-top: 40px;
}
.star-small {
  width: clamp(1.2rem, 3.5vw, 2.8rem);
  height: clamp(1.2rem, 3.5vw, 2.8rem);
  fill: var(--color-cream);
  align-self: flex-start;
  margin-top: 0.15em;
}
 
#author-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 200px;
  color: var(--color-cream);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0.6em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
#author-name.show { opacity: 0.9; transform: translateY(0); }
 
#nav-hint {
  position: absolute;
  bottom: 2.5rem;
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--color-cream);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  margin-bottom: 200px;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}
#nav-hint.show { opacity: 1; transform: translateY(0); }
 
#scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
  animation: bounce 2s ease infinite 1.5s;
}
#scroll-hint.show { opacity: 0.7; transform: translateY(0); }
#scroll-hint svg { width: 32px; height: 32px; }
 
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
 
 
/* ══════════════════════════════════════════════════════════════
   ABOUT — Sección presentación
══════════════════════════════════════════════════════════════ */
 
#about {
  width: 100vw;
  min-height: 110vh;
  background: linear-gradient(to bottom, var(--color-red) 0%, var(--color-cream) 22%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sections);
  padding: 10vh var(--padding-page);
  box-sizing: border-box;
}
 
#about-photo {
  position: relative;
  flex-shrink: 0;
  padding-top: 5rem;
  padding-right: 2rem;
}
#my-name-tag {
  position: absolute;
  top: 0;
  right: -1.5rem;
  z-index: 2;
  transform: rotate(-3deg);
}
#my-name-tag img {
  width: clamp(180px, 22vw, 300px);
  height: auto;
  display: block;
}
#photo-frame img {
  width: clamp(280px, 35vw, 450px);
  height: auto;
  object-fit: contain;
  object-position: top;
  border-radius: 4px;
  display: block;
}
 
#about-text { max-width: 520px; }
#about-text h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 510;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--color-red);
  letter-spacing: 0.08em;
  margin: 0 0 1.4rem 0;
}
#about-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.85;
  color: var(--color-red);
  margin: 0;
}
 
 
/* ══════════════════════════════════════════════════════════════
   SKILLS & STUDIES — Habilidades y formación
══════════════════════════════════════════════════════════════ */
 
#skills {
  width: 100vw;
  min-height: 40vh;
  background: var(--color-cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sections);
  padding: 6vh var(--padding-page);
  box-sizing: border-box;
}
 
#skills-title,
#studies-title,
#languages-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--color-red);
  line-height: 1.05;
  margin: 0 0 3vh 0;
}
#languages-title { margin: 3vh 0 2vh 0; }
#skills-title em,
#studies-title em { opacity: 0.6; }
 
#skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5vw;
}
.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.skill-item img {
  width: clamp(36px, 4vw, 60px);
  height: auto;
  display: block;
}
.skill-item span {
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 0.8vw, 0.75rem);
  color: var(--color-red);
  opacity: 0.7;
  text-align: center;
}
 
#skills-right { padding-left: 4vw; }
 
#studies-list,
#languages-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2vh;
}
#languages-list { gap: 1vh; }
 
#studies-list li,
#languages-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
 
.study-dot {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-red);
  line-height: 1.4;
  flex-shrink: 0;
}
 
#studies-list p,
#languages-list p {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  color: var(--color-red);
  line-height: 1.6;
  margin: 0;
}
#studies-list strong { font-weight: 700; }
.study-sub {
  font-size: clamp(0.7rem, 0.9vw, 0.82rem) !important;
  opacity: 0.7;
  margin-top: 0.2rem !important;
}
 
 
/* ══════════════════════════════════════════════════════════════
   WORK — Galería de proyectos (index)
══════════════════════════════════════════════════════════════ */
 
#work {
  width: 100vw;
  min-height: 100vh;
  background: var(--color-cream);
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  padding: 8vh 6vw;
  box-sizing: border-box;
  gap: 4vw;
}
 
#work-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 12vw, 10rem);
  color: var(--color-red);
  margin: 0;
  position: sticky;
  top: 8vh;
  line-height: 1;
}
 
#work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5vw;
  padding-top: 0.5rem;
}
 
.work-item {
  text-decoration: none;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.3s ease;
}
.work-item:hover { transform: translateY(-4px); }
 
.work-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
}
.work-img .swiper {
  width: 100%;
  height: 100%;
}
.work-img .swiper-wrapper {
  height: 100%;
}
.work-img .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.work-img .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.work-item:hover .work-img .swiper-slide img { transform: scale(1.04); }
 
.work-placeholder {
  width: 100%; height: 100%;
  background: #e8ddd0;
}
 
.work-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.2rem;
}
.work-label span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--color-red);
}
.work-label svg {
  width: 22px; height: 22px;
  color: var(--color-red);
  transition: transform 0.3s ease;
}
.work-item:hover .work-label svg { transform: translateX(5px); }
 
 
/* ══════════════════════════════════════════════════════════════
   NAVEGACIÓN — Menú hamburguesa y pantalla nav
══════════════════════════════════════════════════════════════ */
 
#menu-btn {
  position: fixed;
  top: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
#menu-btn.show { opacity: 1; pointer-events: all; }
#menu-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-cream);
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.3s ease;
}
#menu-btn.on-white span { background: var(--color-red); }
#menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-btn.open span:nth-child(2) { opacity: 0; }
#menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
#nav-screen {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
#nav-screen.open { opacity: 1; pointer-events: all; }
 
#nav-screen ul {
  list-style: none;
  text-align: center;
  padding: 0; margin: 0;
}
#nav-screen ul li {
  margin: 1rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#nav-screen.open ul li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
#nav-screen.open ul li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
#nav-screen.open ul li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
#nav-screen.open ul li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
 
#nav-screen ul li a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--color-cream);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
#nav-screen ul li a:hover { color: var(--color-red); }
 
 
/* ══════════════════════════════════════════════════════════════
   PÁGINAS INTERIORES — Layout base compartido
══════════════════════════════════════════════════════════════ */
 
body.page-interior {
  background: var(--color-cream);
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}
 
#back-btn {
  position: fixed;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-red);
  text-decoration: none;
  z-index: 1000;
  transition: gap 0.3s ease;
}
#back-btn:hover { gap: 0.8rem; }
#back-btn svg {
  width: 20px; height: 20px;
  stroke: var(--color-red);
}
 
body.page-interior #menu-btn {
  opacity: 1;
  pointer-events: all;
}
body.page-interior #menu-btn span { background: var(--color-red); }
 
#poster-main,
#branding-main,
#editorial-main,
#packaging-main { padding-top: 6rem; }
 
#poster-hero,
#branding-hero,
#editorial-hero,
#packaging-hero { padding: 4vh var(--padding-page) 2vh; }
 
#poster-hero-text h1,
#branding-hero-text h1,
#editorial-hero-text h1,
#packaging-hero-text h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: var(--color-red);
  line-height: 1.05;
  margin: 0 0 1.5rem 0;
}
#poster-hero-text p,
#branding-hero-text p,
#editorial-hero-text p,
#packaging-hero-text p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-red);
  line-height: 1.7;
  max-width: 420px;
  margin: 0;
}
 
 
/* ══════════════════════════════════════════════════════════════
   TICKER — Banda de texto animado
══════════════════════════════════════════════════════════════ */
 
#poster-ticker,
#branding-ticker,
#editorial-ticker,
#packaging-ticker {
  width: 100%;
  background: var(--color-red);
  overflow: hidden;
  padding: 1rem 0;
  margin: 3vh 0;
}
 
#poster-ticker-track,
#ticker-track,
#editorial-ticker-track,
#packaging-ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: ticker 20s linear infinite;
}
 
.ticker-text {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--color-cream);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
 
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
 
 
/* ══════════════════════════════════════════════════════════════
   CABECERAS DE PROYECTO — Compartido entre páginas interiores
══════════════════════════════════════════════════════════════ */
 
.project-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: start;
  margin-bottom: 4vh;
}
.project-header h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--color-red);
  line-height: 1.05;
  margin: 0;
}
.project-header p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--color-red);
  line-height: 1.75;
  margin: 0;
  padding-top: 0.5rem;
}
 
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5vw;
}
.project-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8ddd0;
  border-radius: 8px;
}
.project-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
 
 
/* ══════════════════════════════════════════════════════════════
   POSTER — Galería en columnas
══════════════════════════════════════════════════════════════ */
 
#poster-gallery {
  padding: 2vh 6vw 8vh;
  columns: 3;
  column-gap: 2vw;
}
 
.poster-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 2vw;
  break-inside: avoid;
  cursor: pointer;
}
.poster-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.poster-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}
 
.poster-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-red-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
  box-sizing: border-box;
  border-radius: 6px;
}
.poster-overlay p {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: var(--color-cream);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
.poster-item:hover .poster-overlay { opacity: 1; }
 
 
/* ══════════════════════════════════════════════════════════════
   BRANDING — Secciones y grid de imágenes
══════════════════════════════════════════════════════════════ */
 
.branding-project { padding: 4vh var(--padding-page) 4vh; }
 
.branding-project-section {
  padding: 4vh var(--padding-page) 6vh;
  border-bottom: 1px solid var(--color-red-subtle);
}
.branding-project-section:last-of-type { border-bottom: none; }
.branding-project-section .project-header { margin-bottom: 2vh; }
 
.branding-feature {
  margin-top: 4vh;
  width: 100%;
  display: flex;
  justify-content: center;
}
.branding-feature img { width: 100%; height: auto; display: block; }
 
.branding-swiper { width: 100%; height: 100%; }
.branding-swiper .swiper-slide { width: 100%; height: 100%; }
.branding-swiper .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
 
 
/* ══════════════════════════════════════════════════════════════
   EDITORIAL — Proyectos y carrusel
══════════════════════════════════════════════════════════════ */
 
#editorial-gallery {
  padding: 2vh 0 0;
  display: flex;
  flex-direction: column;
  gap: 2vh;
}
.editorial-row {
  display: flex;
  gap: 1vw;
  justify-content: center;
  align-items: flex-start;
  width: 80%;
  margin: 0 auto;
}
.centered-row {
  justify-content: center;
  width: 60%;
  margin: 0 auto;
}
.centered-row .editorial-item { max-width: 50%; }
.editorial-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}
.editorial-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
 
.editorial-project {
  padding: 4vh var(--padding-page) 6vh;
  border-bottom: 1px solid var(--color-red-subtle);
}
.editorial-project:last-of-type { border-bottom: none; }
.editorial-project .project-header { margin-bottom: 2vh; }
 
.editorial-project-text {
  padding: 0 0 3vh 0;
  max-width: 600px;
}
.editorial-project-text p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--color-red);
  line-height: 1.75;
  margin: 0;
}
 
#editorial-carousel,
.editorial-carousel-2 { width: 100%; padding: 2vh 0; }
 
.editorial-swiper-full,
.editorial-swiper-2 { width: 100%; }
 
.editorial-swiper-full .swiper-slide,
.editorial-swiper-2 .swiper-slide {
  overflow: hidden;
  opacity: 0.4;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.editorial-swiper-full .swiper-slide-active,
.editorial-swiper-2 .swiper-slide-active {
  opacity: 1;
  transform: scale(1.02);
}
.editorial-swiper-full .swiper-slide img,
.editorial-swiper-2 .swiper-slide img {
  width: 100%; height: auto; display: block;
}
 
.swiper-button-prev,
.swiper-button-next { color: var(--color-red) !important; }
.swiper-button-prev::after,
.swiper-button-next::after { font-size: 1.4rem; }
 
#editorial-feature {
  margin-top: 4vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#editorial-feature img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}
 
 
/* ══════════════════════════════════════════════════════════════
   PACKAGING — Secciones, fila y grid
══════════════════════════════════════════════════════════════ */
 
.packaging-project-section {
  padding: 4vh var(--padding-page) 6vh;
  border-bottom: 1px solid var(--color-red-subtle);
}
.packaging-project-section:last-of-type { border-bottom: none; }
.packaging-project-section .project-header { margin-bottom: 2vh; }
 
.packaging-row {
  display: flex;
  gap: 2vw;
  align-items: flex-start;
  margin-top: 3vh;
}
.packaging-row-item {
  flex: 1;
  overflow: hidden;
  border-radius: 6px;
}
.packaging-row-item img {
  width: 100%; height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
 
.packaging-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
  margin-top: 3vh;
}
.packaging-grid-item img {
  width: 100%; height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
 
 
/* ══════════════════════════════════════════════════════════════
   FOOTER — Contacto y links
══════════════════════════════════════════════════════════════ */
 
#contact {
  width: 100%;
  background: var(--color-red);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sections);
  padding: 8vh var(--padding-page);
  box-sizing: border-box;
}
 
#footer-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--color-cream);
  line-height: 1.05;
  margin: 0 0 4vh 0;
}
#footer-title em { opacity: 0.6; }
 
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 2vh;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-cream);
  opacity: 0.7;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid rgba(255,247,235,0.4);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-cream);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,247,235,0.35); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-cream); }
.form-group textarea { min-height: 130px; }
 
#form-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-cream);
  color: var(--color-red);
  border: none;
  border-radius: 4px;
  padding: 1rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
#form-btn svg {
  width: 20px; height: 20px;
  stroke: var(--color-red);
  transition: transform 0.3s ease, stroke 0.3s ease;
}
#form-btn:hover { background: var(--color-dark); color: var(--color-cream); }
#form-btn:hover svg { stroke: var(--color-cream); transform: translateX(4px); }
 
#footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1rem;
}
 
#footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#footer-links li {
  display: flex;
  align-items: center;
  gap: 1rem;
}
#footer-links li svg { width: 16px; height: 16px; flex-shrink: 0; }
#footer-links li a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--color-cream);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
#footer-links li a:hover { opacity: 0.6; }
 
#footer-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--color-cream);
  opacity: 0.15;
  margin: 0;
  line-height: 1;
}
#footer-copy,
#footer-credits {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-cream);
  opacity: 0.4;
  margin: 1rem 0 0 0;
}
 
 
/* ══════════════════════════════════════════════════════════════
   MEDIA QUERIES — Tablet (max 768px)
══════════════════════════════════════════════════════════════ */
 
@media (max-width: 768px) {
 
  /* Home */
  #title-word {
    font-size: clamp(3.5rem, 18vw, 6rem);
    justify-content: center;
    padding: 0 4vw;
  }
  #nav-hint {
    font-size: clamp(1.2rem, 6vw, 2rem);
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 80px;
    padding: 0 4vw;
  }
  #author-name {
    font-size: clamp(1rem, 8vw, 3rem);
    letter-spacing: 0.1em;
  }
  .star-big  { margin-top: 10px; }
  .star-small { margin-top: 0.1em; }
 
  /* About */
  #about {
    flex-direction: column;
    align-items: center;
    padding: 8vh 6vw 6vh;
    gap: 3vh;
  }
  #about-photo { padding-top: 3rem; padding-right: 0; }
  #photo-frame img { width: clamp(200px, 70vw, 340px); }
  #my-name-tag img { width: clamp(130px, 35vw, 220px); }
  #about-text { max-width: 100%; text-align: center; }
 
  /* Skills */
  #skills { grid-template-columns: 1fr; gap: 4vh; padding: 5vh 6vw; }
  #skills-right { padding-left: 0; }
  #skills-grid { grid-template-columns: repeat(3, 1fr); gap: 3vw; }
  .skill-item img { width: clamp(44px, 12vw, 64px); }
 
  /* Work */
  #work { grid-template-columns: 1fr; padding: 6vh 5vw; gap: 3vh; }
  #work-title { position: static; font-size: clamp(4rem, 18vw, 7rem); }
  #work-grid { grid-template-columns: 1fr 1fr; gap: 4vw; }
 
  /* Footer */
  #contact { grid-template-columns: 1fr; gap: 5vh; padding: 6vh 6vw; }
  #footer-name { font-size: clamp(2.5rem, 14vw, 5rem); }
 
  /* Páginas interiores */
  #poster-hero,
  #branding-hero,
  #editorial-hero,
  #packaging-hero { padding: 4vh 6vw 2vh; }
 
  /* Branding */
  .project-header { grid-template-columns: 1fr; gap: 2vh; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 3vw; }
  .branding-project-section { padding: 4vh 6vw 5vh; }
 
  /* Posters */
  #poster-gallery { columns: 2; column-gap: 3vw; padding: 2vh 4vw 6vh; }
 
  /* Editorial */
  .editorial-project { padding: 4vh 6vw 5vh; }
  .editorial-row { width: 100%; }
  .centered-row { width: 80%; }
  #editorial-carousel,
  .editorial-carousel-2 { padding: 0; }
  .editorial-swiper-full,
  .editorial-swiper-2 { padding: 0 !important; }
  .editorial-swiper-full .swiper-slide,
  .editorial-swiper-2 .swiper-slide { opacity: 1; transform: none; height: auto !important; }
  .editorial-swiper-full .swiper-slide-active,
  .editorial-swiper-2 .swiper-slide-active { opacity: 1; transform: none; }
  .editorial-swiper-full .swiper-slide img,
  .editorial-swiper-2 .swiper-slide img { width: 100%; height: auto; display: block; }
  .editorial-swiper-full .swiper-wrapper,
  .editorial-swiper-2 .swiper-wrapper { align-items: center; }
 
  /* Packaging */
  .packaging-project-section { padding: 4vh 6vw 5vh; }
  .packaging-row { flex-direction: column; gap: 3vh; }
  .packaging-grid { grid-template-columns: 1fr 1fr; gap: 3vw; }
}
 
 
/* ══════════════════════════════════════════════════════════════
   MEDIA QUERIES — Móvil (max 480px)
══════════════════════════════════════════════════════════════ */
 
@media (max-width: 480px) {
 
  /* Home */
  #title-word { font-size: clamp(2.8rem, 15vw, 5rem); padding: 0 5vw; }
  #nav-hint { font-size: clamp(1rem, 5vw, 1.6rem); padding: 0 5vw; margin-bottom: 60px; }
  .star-big { margin-top: 6px; }
 
  /* Work */
  #work-grid { grid-template-columns: 1fr; }
 
  /* Posters */
  #poster-gallery { columns: 1; padding: 2vh 5vw 6vh; }
 
  /* Packaging */
  .packaging-grid { grid-template-columns: 1fr; }
 
  /* Footer */
  #footer-title { font-size: clamp(2.5rem, 10vw, 4rem); }
 
  /* Back btn */
  #back-btn { top: 1rem; left: 1rem; }
}
 

                                               /* ── Branding── */

html, body {
    margin: 0;
    padding: 0;
    background: #FFF7EB;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
}

/* ── VOLVER ── */
#back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "arial", sans-serif;
    font-size: 1.1rem;
    color: #770101;
    text-decoration: none;
    z-index: 1000;
    transition: gap 0.3s ease;
}
#back-btn:hover { gap: 0.8rem; }
#back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #770101;
}

/* ── MENÚ ── */
#menu-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}
#menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: #770101;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
#menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-btn.open span:nth-child(2) { opacity: 0; }
#menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAVEGACIÓN ── */
#nav-screen {
    position: fixed;
    inset: 0;
    background: #1a1a1a;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
#nav-screen.open {
    opacity: 1;
    pointer-events: all;
}
#nav-screen ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}
#nav-screen ul li {
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#nav-screen.open ul li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
#nav-screen.open ul li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
#nav-screen.open ul li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
#nav-screen.open ul li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
#nav-screen ul li a {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-size: clamp(3rem, 10vw, 7rem);
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}
#nav-screen ul li a:hover { color: #770101; }

/* ── MAIN ── */
#branding-main {
    padding-top: 6rem;
}

/* ── HERO ── */
#branding-hero {
    padding: 4vh 8vw 2vh;
}
#branding-hero-text h1 {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3.5rem, 9vw, 8rem);
    color: #770101;
    line-height: 1.05;
    margin: 0 0 1.5rem 0;
}
#branding-hero-text p {
    font-family: "arial", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #770101;
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
}

/* ── TICKER ── */
#branding-ticker {
    width: 100%;
    background: #770101;
    overflow: hidden;
    padding: 1rem 0;
    margin: 3vh 0;
}
#ticker-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: ticker 20s linear infinite;
}
.ticker-text {
    font-family: "arial", sans-serif;
    font-size: 1.6rem;
    color: #FFF7EB;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── PROYECTO ── */
.branding-project {
    padding: 4vh 8vw 8vh;
}
.project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: start;
    margin-bottom: 4vh;
}
.project-header h2 {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    color: #770101;
    line-height: 1.05;
    margin: 0;
}
.project-header p {
    font-family: "arial", sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: #770101;
    line-height: 1.75;
    margin: 0;
    padding-top: 0.5rem;
}

/* ── GRID IMÁGENES ── */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5vw;
}
.project-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e8ddd0;
    border-radius: 8px;
}
.project-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ── SWIPER WORK ── */
.branding-swiper {
  width: 100%;
  height: 100%;
}
.branding-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.branding-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── SECCIONES BRANDING ── */
.branding-project-section {
    padding: 4vh 8vw 6vh;
    border-bottom: 1px solid rgba(119,1,1,0.1);
}
.branding-project-section:last-of-type {
    border-bottom: none;
}
.branding-project-section .project-header {
    margin-bottom: 2vh;
}

/* imagen grande branding */
.branding-feature {
    margin-top: 4vh;
    width: 100%;
    display: flex;
    justify-content: center;
}
.branding-feature img {
    width: 100%;
    height: auto;
    display: block;
}

                                             /* ── posters  ── */


/* ── BASE ── */
body {
    background: #FFF7EB;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: #770101;
}
 
/* ── BOTÓN VOLVER ── */
#back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #770101;
    text-decoration: none;
    z-index: 1000;
    transition: gap 0.3s ease;
}
#back-btn:hover {
    gap: 0.9rem;
}
#back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #770101;
    flex-shrink: 0;
}
 
/* ── MAIN ── */
#poster-main {
    padding-top: 5rem;
}
 
/* ── HERO ── */
#poster-hero {
    padding: 4vh 8vw 3vh;
}
 
#poster-hero-text h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    color: #770101;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
 
#poster-hero-text p {
    font-family: Arial, sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #770101;
    line-height: 1.75;
    max-width: 380px;
}
 
/* ── TICKER ── */
#poster-ticker {
    width: 100%;
    background: #770101;
    overflow: hidden;
    padding: 0.85rem 0;
    margin: 3vh 0 0 0;
}
 
#poster-ticker-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: ticker-move 22s linear infinite;
}
 
.ticker-text {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    color: #FFF7EB;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    padding-right: 0;
}
 
@keyframes ticker-move {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
 
/* ── GALERÍA ── */
#poster-gallery {
    padding: 4vh 6vw 8vh;
    columns: 3;
    column-gap: 1.8vw;
}
 
.poster-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 1.8vw;
    break-inside: avoid;
    cursor: pointer;
}
 
.poster-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
 
.poster-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}
 
/* ── OVERLAY ── */
.poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(119, 1, 1, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 1.5rem;
    border-radius: 5px;
}
 
.poster-overlay p {
    font-family: Arial, sans-serif;
    font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    color: #FFF7EB;
    text-align: center;
    line-height: 1.65;
}
 
.poster-item:hover .poster-overlay {
    opacity: 1;
}
 
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    #poster-gallery {
        columns: 2;
        column-gap: 2.5vw;
        padding: 4vh 5vw 8vh;
    }
    .poster-item {
        margin-bottom: 2.5vw;
    }
}
 
@media (max-width: 520px) {
    #poster-gallery {
        columns: 1;
        padding: 4vh 5vw 8vh;
    }
    .poster-item {
        margin-bottom: 4vw;
    }
    #back-btn {
        top: 1rem;
        left: 1rem;
    }
    #poster-hero {
        padding: 3vh 6vw 2vh;
    }
}
 


                                  /* ── EDITORIAL ── */
/* ── PÁGINAS INTERIORES ── */
body.page-interior {
    background: #FFF7EB;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
}

/* ── VOLVER ── */
#back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "arial", sans-serif;
    font-size: 1.1rem;
    color: #770101;
    text-decoration: none;
    z-index: 1000;
    transition: gap 0.3s ease;
}
#back-btn:hover { gap: 0.8rem; }
#back-btn svg {
    width: 20px;
    height: 20px;
    stroke: #770101;
}

/* ── MENÚ INTERIOR ── */
body.page-interior #menu-btn {
    opacity: 1;
    pointer-events: all;
}
body.page-interior #menu-btn span {
    background: #770101;
}

/* ── MAIN INTERIOR ── */
#poster-main,
#branding-main,
#editorial-main,
#packaging-main {
    padding-top: 6rem;
}

/* ── HERO INTERIOR ── */
#poster-hero,
#branding-hero,
#editorial-hero,
#packaging-hero {
    padding: 4vh 8vw 2vh;
}
#poster-hero-text h1,
#branding-hero-text h1,
#editorial-hero-text h1,
#packaging-hero-text h1 {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3.5rem, 9vw, 8rem);
    color: #770101;
    line-height: 1.05;
    margin: 0 0 1.5rem 0;
}
#poster-hero-text p,
#branding-hero-text p,
#editorial-hero-text p,
#packaging-hero-text p {
    font-family: "arial", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #770101;
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
}

/* ── TICKER INTERIOR ── */
#poster-ticker,
#branding-ticker,
#editorial-ticker,
#packaging-ticker {
    width: 100%;
    background: #770101;
    overflow: hidden;
    padding: 1rem 0;
    margin: 3vh 0;
}
#poster-ticker-track,
#ticker-track,
#editorial-ticker-track,
#packaging-ticker-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: ticker 20s linear infinite;
}
.ticker-text {
    font-family: "arial", sans-serif;
    font-size: 1.6rem;
    color: #FFF7EB;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── GALERÍA POSTERS ── */
#poster-gallery {
    padding: 2vh 6vw 8vh;
    columns: 3;
    column-gap: 2vw;
}
.poster-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 2vw;
    break-inside: avoid;
}
.poster-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.poster-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

/* ── OVERLAY ── */
.poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(119, 1, 1, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
    box-sizing: border-box;
    border-radius: 6px;
}
.poster-overlay p {
    font-family: "arial", sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: #FFF7EB;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}
.poster-item:hover .poster-overlay {
    opacity: 1;
}

/* ── PROYECTO BRANDING ── */
.branding-project {
    padding: 4vh 8vw 4vh;
}
.project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: start;
    margin-bottom: 4vh;
}
.project-header h2 {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    color: #770101;
    line-height: 1.05;
    margin: 0;
}
.project-header p {
    font-family: "arial", sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: #770101;
    line-height: 1.75;
    margin: 0;
    padding-top: 0.5rem;
}
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5vw;
}
.project-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #e8ddd0;
    border-radius: 8px;
}
.project-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ── EDITORIAL GALLERY (legacy) ── */
#editorial-gallery {
    padding: 2vh 0 0;
    display: flex;
    flex-direction: column;
    gap: 3vh;
}
.editorial-row {
    display: flex;
    gap: 0.5vw;
    justify-content: center;
    align-items: flex-start;
}
.centered-row {
    justify-content: center;
    padding: 0 2vw;
}
.centered-row .editorial-item {
    max-width: 48%;
}
.editorial-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 4px;
}
.editorial-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── PROYECTOS EDITORIAL ── */
.editorial-project {
    padding: 4vh 8vw 6vh;
    border-bottom: 1px solid rgba(119,1,1,0.1);
}
.editorial-project:last-of-type {
    border-bottom: none;
}
.editorial-project .project-header {
    margin-bottom: 2vh;
}
.editorial-project-text {
    padding: 0 0 3vh 0;
    max-width: 600px;
}
.editorial-project-text p {
    font-family: "arial", sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: #770101;
    line-height: 1.75;
    margin: 0;
}

/* ── CARRUSEL EDITORIAL ── */
#editorial-carousel,
.editorial-carousel-2 {
    width: 100%;
    padding: 2vh 0;
}
.editorial-swiper-full,
.editorial-swiper-2 {
    width: 100%;
}
.editorial-swiper-full .swiper-slide,
.editorial-swiper-2 .swiper-slide {
    overflow: hidden;
    box-shadow: none;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.editorial-swiper-full .swiper-slide-active,
.editorial-swiper-2 .swiper-slide-active {
    opacity: 1;
    transform: scale(1.02);
}
.editorial-swiper-full .swiper-slide img,
.editorial-swiper-2 .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.swiper-button-prev,
.swiper-button-next {
    color: #770101 !important;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.4rem;
}

/* ── IMAGEN FEATURE EDITORIAL ── */
#editorial-feature {
    margin-top: 4vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#editorial-feature img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

/* ── PACKAGING ── */
.packaging-project {
    padding: 4vh 8vw 8vh;
}
.packaging-project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: start;
    margin-bottom: 6vh;
}
.packaging-project-header h2 {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    color: #770101;
    line-height: 1.05;
    margin: 0;
}
.packaging-project-header p {
    font-family: "arial", sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: #770101;
    line-height: 1.75;
    margin: 0;
    padding-top: 0.5rem;
}
.packaging-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4vh;
}
.packaging-item {
    position: relative;
    width: clamp(300px, 55%, 700px);
    overflow: hidden;
    border-radius: 6px;
}
.packaging-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.packaging-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

/* ── FOOTER ── */
#contact {
    width: 100%;
    background: #770101;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    padding: 8vh 8vw;
    box-sizing: border-box;
}
#footer-title {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6rem);
    color: #FFF7EB;
    line-height: 1.05;
    margin: 0 0 4vh 0;
}
#footer-title em {
    font-style: italic;
    opacity: 0.6;
}
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-family: "arial", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #FFF7EB;
    opacity: 0.7;
    text-transform: uppercase;
}
.form-group input,
.form-group textarea {
    background: transparent;
    border: 1px solid rgba(255,247,235,0.4);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    font-family: "arial", sans-serif;
    font-size: 1rem;
    color: #FFF7EB;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,247,235,0.35);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFF7EB;
}
.form-group textarea {
    min-height: 130px;
}
#form-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF7EB;
    color: #770101;
    border: none;
    border-radius: 4px;
    padding: 1rem 1.4rem;
    font-family: "arial", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
#form-btn svg {
    width: 20px;
    height: 20px;
    stroke: #770101;
    transition: transform 0.3s ease, stroke 0.3s ease;
}
#form-btn:hover {
    background: #1a1a1a;
    color: #FFF7EB;
}
#form-btn:hover svg {
    stroke: #FFF7EB;
    transform: translateX(4px);
}
#footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 1rem;
}
#footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
#footer-links li {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#footer-links li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
#footer-links li a {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: #FFF7EB;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
#footer-links li a:hover {
    opacity: 0.6;
}
#footer-name {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-size: clamp(3rem, 8vw, 7rem);
    color: #FFF7EB;
    opacity: 0.15;
    margin: 0;
    line-height: 1;
}
#footer-copy {
    font-family: "arial", sans-serif;
    font-size: 0.8rem;
    color: #FFF7EB;
    opacity: 0.4;
    margin: 1rem 0 0 0;
} 

                                                                /* ── PACKAGING ── */
#packaging-main {
    padding-top: 6rem;
}

#packaging-hero {
    padding: 4vh 8vw 2vh;
}
#packaging-hero-text h1 {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3.5rem, 9vw, 8rem);
    color: #770101;
    line-height: 1.05;
    margin: 0 0 1.5rem 0;
}
#packaging-hero-text p {
    font-family: "arial", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #770101;
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
}

#packaging-ticker {
    width: 100%;
    background: #770101;
    overflow: hidden;
    padding: 1rem 0;
    margin: 3vh 0;
}
#packaging-ticker-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: ticker 20s linear infinite;
}

/* ── PROYECTO PACKAGING ── */
.packaging-project {
    padding: 4vh 8vw 8vh;
}
.packaging-project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    align-items: start;
    margin-bottom: 6vh;
}
.packaging-project-header h2 {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    color: #770101;
    line-height: 1.05;
    margin: 0;
}
.packaging-project-header p {
    font-family: "arial", sans-serif;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: #770101;
    line-height: 1.75;
    margin: 0;
    padding-top: 0.5rem;
}

/* lista de fotos centradas una debajo de otra */
.packaging-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4vh;
}
.packaging-item {
    position: relative;
    width: clamp(300px, 55%, 700px);
    overflow: hidden;
    border-radius: 6px;
}
.packaging-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.packaging-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.packaging-item:hover .poster-overlay {
    opacity: 1;
}
/* ── SECCIONES PACKAGING ── */
.packaging-project-section {
    padding: 4vh 8vw 6vh;
    border-bottom: 1px solid rgba(119,1,1,0.1);
}
.packaging-project-section:last-of-type {
    border-bottom: none;
}
.packaging-project-section .project-header {
    margin-bottom: 2vh;
}

/* fila de imágenes en línea */
.packaging-row {
    display: flex;
    gap: 2vw;
    align-items: flex-start;
    margin-top: 3vh;
}
.packaging-row-item {
    flex: 1;
    overflow: hidden;
    border-radius: 6px;
}
.packaging-row-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
/* ── SECCIONES PACKAGING ── */
.packaging-project-section {
    padding: 4vh 8vw 6vh;
    border-bottom: 1px solid rgba(119,1,1,0.1);
}
.packaging-project-section:last-of-type {
    border-bottom: none;
}
.packaging-project-section .project-header {
    margin-bottom: 2vh;
}

/* fila en línea */
.packaging-row {
    display: flex;
    gap: 2vw;
    align-items: flex-start;
    margin-top: 3vh;
}
.packaging-row-item {
    flex: 1;
    overflow: hidden;
    border-radius: 6px;
}
.packaging-row-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* grid 2x2 */
.packaging-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    margin-top: 3vh;
}
.packaging-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}


                                                /* ── footer── */

/* ── FOOTER ── */
#contact {
    width: 100%;
    background: #770101;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    padding: 8vh 8vw;
    box-sizing: border-box;
}

#footer-title {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6rem);
    color: #FFF7EB;
    line-height: 1.05;
    margin: 0 0 4vh 0;
}
#footer-title em {
    font-style: italic;
    opacity: 0.6;
}

/* formulario */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-family: "arial", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #FFF7EB;
    opacity: 0.7;
    text-transform: uppercase;
}
.form-group input,
.form-group textarea {
    background: transparent;
    border: 1px solid rgba(255,247,235,0.4);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    font-family: "arial", sans-serif;
    font-size: 1rem;
    color: #FFF7EB;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,247,235,0.35);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFF7EB;
}
.form-group textarea {
    min-height: 130px;
}

#form-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF7EB;
    color: #770101;
    border: none;
    border-radius: 4px;
    padding: 1rem 1.4rem;
    font-family: "arial", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
#form-btn svg {
    width: 20px;
    height: 20px;
    stroke: #770101;
    transition: transform 0.3s ease, stroke 0.3s ease;
}
#form-btn:hover {
    background: #1a1a1a;
    color: #FFF7EB;
}
#form-btn:hover svg {
    stroke: #FFF7EB;
    transform: translateX(4px);
}

/* columna derecha */
#footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 1rem;
}

#footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
#footer-links li {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#footer-links li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
#footer-links li a {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: #FFF7EB;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
#footer-links li a:hover {
    opacity: 0.6;
}

#footer-name {
    font-family: "loretta-display", serif;
    font-style: italic;
    font-size: clamp(3rem, 8vw, 7rem);
    color: #FFF7EB;
    opacity: 0.15;
    margin: 0;
    line-height: 1;
}

#footer-copy {
    font-family: "arial", sans-serif;
    font-size: 0.8rem;
    color: #FFF7EB;
    opacity: 0.4;
    margin: 1rem 0 0 0;
}
                        /* ── media queries ── */

                    

@media (max-width: 768px) {

  /* ── HOME ── */
  #title-word {
    font-size: clamp(3.5rem, 18vw, 6rem);
    justify-content: center;
    padding: 0 4vw;
  }
  #nav-hint {
    font-size: clamp(1.2rem, 6vw, 2rem);
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 80px;
    padding: 0 4vw;
  }
  #author-name {
    font-size: clamp(1rem, 8vw, 3rem);
    letter-spacing: 0.1em;
  }
  .star-big {
    margin-top: 10px;
  }
  .star-small {
    margin-top: 0.1em;
  }

  /* ── INDEX: about ── */
  #about {
    flex-direction: column;
    align-items: center;
    padding: 8vh 6vw 6vh;
    gap: 3vh;
  }
  #about-photo {
    padding-top: 3rem;
    padding-right: 0;
  }
  #photo-frame img {
    width: clamp(200px, 70vw, 340px);
  }
  #my-name-tag img {
    width: clamp(130px, 35vw, 220px);
  }
  #about-text {
    max-width: 100%;
    text-align: center;
  }

  /* ── INDEX: skills ── */
  #skills {
    grid-template-columns: 1fr;
    gap: 4vh;
    padding: 5vh 6vw;
  }
  #skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3vw;
  }
  .skill-item img {
    width: clamp(44px, 12vw, 64px);
  }

  /* ── INDEX: work ── */
  #work {
    grid-template-columns: 1fr;
    padding: 6vh 5vw;
    gap: 3vh;
  }
  #work-title {
    position: static;
    font-size: clamp(4rem, 18vw, 7rem);
  }
  #work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
  }

  /* ── FOOTER ── */
  #contact {
    grid-template-columns: 1fr;
    gap: 5vh;
    padding: 6vh 6vw;
  }
  #footer-name {
    font-size: clamp(2.5rem, 14vw, 5rem);
  }

  /* ── PÁGINAS INTERIORES: hero ── */
  #poster-hero,
  #branding-hero,
  #editorial-hero,
  #packaging-hero {
    padding: 4vh 6vw 2vh;
  }

  /* ── BRANDING: project header ── */
  .project-header {
    grid-template-columns: 1fr;
    gap: 2vh;
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
  }
  .branding-project-section {
    padding: 4vh 6vw 5vh;
  }

  /* ── POSTERS: galería ── */
  #poster-gallery {
    columns: 2;
    column-gap: 3vw;
    padding: 2vh 4vw 6vh;
  }

  /* ── EDITORIAL ── */
  .editorial-project {
    padding: 4vh 6vw 5vh;
  }
  .editorial-row {
    width: 100%;
  }
  .centered-row {
    width: 80%;
  }

  /* ── CARRUSEL EDITORIAL MÓVIL ── */
  #editorial-carousel,
  .editorial-carousel-2 {
    padding: 0;
  }
  .editorial-swiper-full,
  .editorial-swiper-2 {
    padding: 0 !important;
  }
  .editorial-swiper-full .swiper-slide,
  .editorial-swiper-2 .swiper-slide {
    opacity: 1;
    transform: none;
    height: auto !important;
  }
  .editorial-swiper-full .swiper-slide-active,
  .editorial-swiper-2 .swiper-slide-active {
    opacity: 1;
    transform: none;
  }
  .editorial-swiper-full .swiper-slide img,
  .editorial-swiper-2 .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
  }
  .editorial-swiper-full .swiper-wrapper,
  .editorial-swiper-2 .swiper-wrapper {
    align-items: center;
  }

  /* ── PACKAGING ── */
  .packaging-project-section {
    padding: 4vh 6vw 5vh;
  }
  .packaging-row {
    flex-direction: column;
    gap: 3vh;
  }
  .packaging-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
  }
}

@media (max-width: 480px) {

  /* ── HOME ── */
  #title-word {
    font-size: clamp(2.8rem, 15vw, 5rem);
    padding: 0 5vw;
  }
  #nav-hint {
    font-size: clamp(1rem, 5vw, 1.6rem);
    padding: 0 5vw;
    margin-bottom: 60px;
  }
  .star-big {
    margin-top: 6px;
  }

  /* ── INDEX: work grid ── */
  #work-grid {
    grid-template-columns: 1fr;
  }

  /* ── POSTERS ── */
  #poster-gallery {
    columns: 1;
    padding: 2vh 5vw 6vh;
  }

  /* ── PACKAGING ── */
  .packaging-grid {
    grid-template-columns: 1fr;
  }

  /* ── FOOTER ── */
  #footer-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  /* ── BACK BTN ── */
  #back-btn {
    top: 1rem;
    left: 1rem;
  }
}