/* ========================================
   Brenda Melgar — Editorial Luxury Style
   Inspired by Ribbon & Ink aesthetic
   ======================================== */

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Ribbon & Ink Palette */
  --white: #FFFFFF;
  --cream: #FAF8F4;
  --blush: #F7EEEB;
  --rose: #D3B8AD;
  --text: #5D5B5B;
  --text-light: #8A8888;
  --border: #E0D6D0;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.5s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

strong {
  font-weight: 500;
  color: var(--text);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Sections ---------- */
.section {
  padding: 140px 0;
}

.section--cream {
  background: var(--cream);
}

.section--blush {
  background: var(--blush);
}

.section__header {
  text-align: center;
  margin-bottom: 80px;
}

/* ---------- Shared Elements ---------- */
.label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.title {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}

.divider {
  width: 50px;
  height: 1px;
  background: var(--rose);
  margin: 32px 0;
}

.divider--center {
  margin: 32px auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--text);
  border: 1px solid var(--text);
  cursor: pointer;
  transition: all 0.5s ease;
}

.btn:hover {
  opacity: 1;
  background: var(--text);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: var(--white);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  transition: all 0.5s ease;
}

.nav--scrolled {
  padding: 16px 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav__logo:hover {
  opacity: 1;
}

.nav__menu {
  display: flex;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.4s ease;
}

.nav__link:hover {
  opacity: 1;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.4s ease;
}

.nav__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

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

.nav__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  padding: 160px 40px 120px;
}

.hero__content {
  max-width: 760px;
}

.hero__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero__line {
  width: 50px;
  height: 1px;
  background: var(--rose);
  margin: 48px auto;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--rose);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.4); opacity: 0.2; }
}

/* ========================================
   ABOUT
   ======================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about__image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 300;
  color: var(--rose);
  background: var(--blush);
}

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

.about__content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 16px;
}

.about__badge {
  padding: 20px 28px;
  background: var(--blush);
  border-left: 2px solid var(--rose);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin: 36px 0 40px;
  line-height: 1.5;
}

/* ========================================
   SERVICES
   ======================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 52px 40px;
  text-align: center;
  transition: all 0.5s ease;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(93, 91, 91, 0.06);
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  color: var(--rose);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 24px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0;
}

.service-card .divider {
  margin: 24px auto;
}

.service-card__text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-card__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio__filter {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.portfolio__filter-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color 0.5s ease;
}

.portfolio__filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.4s ease;
}

.portfolio__filter-btn.active,
.portfolio__filter-btn:hover {
  color: var(--text);
}

.portfolio__filter-btn.active::after {
  width: 100%;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
}

.portfolio__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio__item--tall {
  grid-row: span 2;
}

.portfolio__item--wide {
  grid-column: span 2;
}

.portfolio__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-light);
  transition: transform 0.8s ease;
}

.portfolio__placeholder small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  color: var(--rose);
}

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

.portfolio__item:hover .portfolio__img {
  transform: scale(1.03);
}

.portfolio__item:hover .portfolio__placeholder {
  transform: scale(1.03);
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 244, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__overlay-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 8px;
}

.portfolio__overlay h4 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  color: var(--text);
}

/* ========================================
   CIFRAS
   ======================================== */
.cifras {
  padding: 100px 0;
  background: var(--cream);
}

.cifras__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.cifra__number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}

.cifra__plus {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--rose);
  margin-left: 2px;
}

.cifra__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 16px;
}

/* ========================================
   SPEAKING
   ======================================== */
.speaking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.speaking__quote {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 40px;
  padding-left: 28px;
  border-left: 1px solid var(--rose);
}

.speaking__topics-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.speaking__topics {
  margin-bottom: 44px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 12px;
}

.speaking__topics::-webkit-scrollbar {
  width: 3px;
}

.speaking__topics::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 3px;
}

.speaking__topics li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-light);
  font-weight: 300;
}

.speaking__image-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.speaking__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.speaking__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 300;
  color: var(--rose);
  background: var(--blush);
}

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

.speaking__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.speaking__gallery-item {
  overflow: hidden;
  text-align: center;
}

.speaking__gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.speaking__gallery-item:hover .speaking__gallery-img {
  transform: scale(1.04);
}

.speaking__gallery-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 8px;
}

/* ========================================
   TESTIMONIOS
   ======================================== */
.testimonios__carousel {
  max-width: 680px;
  margin: 0 auto;
}

.testimonios__track {
  position: relative;
  min-height: 300px;
}

.testimonio {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
  pointer-events: none;
  text-align: center;
}

.testimonio.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.testimonio__quote {
  font-family: var(--font-heading);
  font-size: 100px;
  line-height: 0.4;
  color: var(--rose);
  margin-bottom: 20px;
}

.testimonio__text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 32px;
}

.testimonio__line {
  width: 40px;
  height: 1px;
  background: var(--rose);
  margin: 0 auto 24px;
}

.testimonio__name {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.testimonio__role {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  display: block;
  margin-top: 4px;
}

.testimonios__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.testimonios__btn {
  background: none;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.5s ease;
}

.testimonios__btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.testimonios__dots {
  display: flex;
  gap: 10px;
}

.testimonios__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.5s ease;
}

.testimonios__dot.active {
  background: var(--text);
}

/* ========================================
   PRENSA
   ======================================== */
.prensa {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.prensa__label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
}

.prensa__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.prensa__logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-light);
  opacity: 0.45;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.prensa__logo:hover {
  opacity: 1;
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contacto__info p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 36px;
}

.contacto__details {
  margin-bottom: 36px;
}

.contacto__detail {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-light);
  font-weight: 300;
  border-bottom: 1px solid var(--border);
}

.contacto__social {
  display: flex;
  gap: 24px;
}

.contacto__social-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.contacto__form {
  background: var(--white);
  padding: 52px;
  border: 1px solid var(--border);
}

.form__group {
  margin-bottom: 28px;
}

.form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.form__input {
  width: 100%;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  transition: border-color 0.5s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.form__input:focus {
  border-bottom-color: var(--text);
}

.form__select {
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
  border: 1px solid var(--border);
  padding: 14px 16px;
}

.form__textarea:focus {
  border-color: var(--text);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--white);
  padding: 80px 0 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__top {
  margin-bottom: 40px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}

.footer__social a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
}

/* ========================================
   ALUMNOS
   ======================================== */
.alumnos__intro {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light);
  max-width: 560px;
  margin: 24px auto 0;
  text-align: center;
  line-height: 1.8;
}

.alumnos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.alumnos__item {
  text-align: center;
}

.alumnos__photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 16px;
}

.alumnos__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  color: var(--rose);
}

.alumnos__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.alumnos__item:hover .alumnos__img {
  transform: scale(1.04);
}

.alumnos__location {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.alumnos__desc {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  margin-top: 2px;
}

/* ========================================
   LIBROS
   ======================================== */
.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.book--reverse {
  direction: rtl;
}

.book--reverse > * {
  direction: ltr;
}

.book__gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book__main-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--blush);
}

.book__main-image .book__img {
  object-fit: contain;
  background: var(--blush);
}

.book__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-light);
  background: var(--blush);
  transition: opacity 0.4s ease;
}

.book__placeholder small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  color: var(--rose);
}

.book__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.book__thumbs--3 {
  grid-template-columns: repeat(3, 1fr);
}

.book__thumb {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0;
}

.book__thumb.active {
  border-color: var(--text);
}

.book__thumb:hover {
  border-color: var(--rose);
}

.book__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--blush);
}

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

.book__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book__info {
  padding: 20px 0;
}

.book__number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  color: var(--rose);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.book__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.book__subtitle {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0;
}

.book__synopsis {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
}

.book__separator {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 80px 0;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(93, 91, 91, 0.3);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 480px;
  padding: 56px 48px;
  margin: 24px;
  border: 1px solid var(--border);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.modal.active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  transition: color 0.3s ease;
}

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

.modal__header {
  margin-bottom: 8px;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.3;
}

.modal__form .form__group {
  margin-bottom: 24px;
}

.modal__form .form__optional {
  font-weight: 300;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light);
}

.modal__form .form__required {
  color: var(--rose);
}

.form__error {
  display: none;
  font-size: 12px;
  font-weight: 400;
  color: #c0735e;
  margin-top: 8px;
}

.form__error.visible {
  display: block;
}

/* Checkbox */
.form__group--check {
  margin-top: 4px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.6;
}

.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__checkmark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  margin-top: 2px;
  position: relative;
  transition: all 0.3s ease;
}

.form__checkbox input:checked ~ .form__checkmark {
  border-color: var(--text);
  background: var(--text);
}

.form__checkmark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form__checkbox input:checked ~ .form__checkmark::after {
  opacity: 1;
}

.form__checkbox-text a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Success state */
.modal__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal__success.visible {
  display: block;
}

.modal__success-icon {
  margin-bottom: 24px;
}

.modal__success p {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.7;
}

.modal__form.hidden {
  display: none;
}

.modal__header.hidden {
  display: none;
}

/* Modal wide variant */
.modal__content--wide {
  max-width: 600px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.services__grid .service-card:nth-child(2) { transition-delay: 0.15s; }
.services__grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.cifras__grid .cifra:nth-child(2) { transition-delay: 0.1s; }
.cifras__grid .cifra:nth-child(3) { transition-delay: 0.2s; }
.cifras__grid .cifra:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE — Tablet
   ======================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .title {
    font-size: 42px;
  }

  .about__grid,
  .speaking__grid,
  .contacto__grid {
    gap: 60px;
  }

  .book {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 100px 0;
  }

  .container {
    padding: 0 24px;
  }

  .title {
    font-size: 36px;
  }

  /* Nav Mobile */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.5s ease;
  }

  .nav__menu--open {
    right: 0;
  }

  .nav__menu .nav__link {
    font-size: 12px;
    letter-spacing: 0.15em;
  }

  /* Hero */
  .hero {
    padding: 140px 24px 100px;
    min-height: auto;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__label {
    font-size: 10px;
  }

  /* Grids */
  .about__grid,
  .speaking__grid,
  .contacto__grid,
  .book {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .book--reverse {
    direction: ltr;
  }

  .book__title {
    font-size: 34px;
  }

  .book__separator {
    margin: 60px 0;
  }

  .modal__content {
    padding: 40px 28px;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .cifras__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .speaking__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .alumnos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contacto__form {
    padding: 36px 24px;
  }

  /* Footer */
  .footer__nav,
  .footer__social {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 80px 0;
  }

  .title {
    font-size: 32px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .portfolio__item--tall,
  .portfolio__item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .portfolio__filter {
    gap: 16px;
    flex-wrap: wrap;
  }

  .cifras__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .prensa__logos {
    gap: 28px;
  }

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

  .footer__nav {
    flex-direction: column;
    gap: 16px;
  }
}
