/* =============================================
   VALERIA DE LA TORRE — Landing Page Styles
   ============================================= */

/* --- Google Fonts ---
     Cormorant Garamond: serif editorial de alto contraste, estilo Vogue/Didot
     Jost: sans-serif geométrica limpia, elegante en todas las escalas
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --white: #FFFFFF;
  --off-white: #F7F5F2;
  --sand: #EDE8E0;
  --sand-dark: #DDD6CB;
  --black: #0D0D0D;
  --gray-dark: #3A3835;
  --gray-mid: #8A847D;
  --gray-light: #C4BDB5;
  --accent: #C8522A;
  --accent-dark: #A33E1A;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --radius: 2px;
  --transition: 200ms ease;
  --section-padding: 120px 40px;
  --max-width: 1120px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
  overflow-x: hidden;
}

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

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

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 24px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.06;
  color: var(--black);
  margin-bottom: 56px;
}

/* --- Scroll Fade-in --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 36px;
  pointer-events: none;
}

.site-name {
  pointer-events: all;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  transition: opacity var(--transition);
}

.site-name:hover {
  opacity: 0.6;
}

.site-header.on-dark .site-name {
  color: var(--black);
}

.lang-toggle {
  pointer-events: all;
  background: transparent;
  border: 1px solid rgba(13, 13, 13, 0.25);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.lang-toggle:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* Hero es la única sección oscura — el toggle se adapta */
.site-header.on-dark .lang-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.site-header.on-dark .lang-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}


/* =============================================
   HERO — split: foto izquierda ocupa todo el alto,
   texto derecha sobre fondo crema
   ============================================= */

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Lado izquierdo: foto */
.hero-photo-side {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-val.jpg');
  background-color: var(--sand-dark);
  background-size: cover;
  background-position: center 28%;
}


/* Lado derecho: texto sobre fondo crema */
.hero-text-side {
  background-color: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px 80px 64px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--black);
  margin-bottom: 0;
}

.hero-title em {
  font-style: italic;
}

/* Signature element — línea delgada acento */
.hero-line {
  width: 48px;
  height: 1px;
  background-color: var(--accent);
  margin: 36px 0;
  border: none;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 52px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--accent);
}


/* =============================================
   ABOUT
   ============================================= */

.quote-strip {
  background-color: var(--white);
  display: flex;
  justify-content: center;
  padding: 40px 40px 6px;
}

.quote-mujica {
  background-color: var(--white);
  border: 1px solid var(--sand-dark);
  padding: 4px 60px;
  width: 92vw;
  max-width: 1200px;
  text-align: center;
  margin: 0;
}

.quote-mujica p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--black);
  margin: 0 0 12px;
  line-height: 1.4;
}

.quote-mujica cite {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.4;
  font-style: normal;
}

.about {
  background-color: var(--white);
  padding: 40px 0 120px;
}

.about .container {
  display: block;
  padding: 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--sand);
  overflow: hidden;
  margin-top: 127px;
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder — eliminar con foto real */
.about-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-light);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 32px;
  font-family: var(--font-body);
  text-transform: uppercase;
  line-height: 1.8;
}

.about-text .section-title {
  margin-bottom: 40px;
}

.about-text p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-dark);
  text-align: justify;
  margin-bottom: 22px;
}

.about-text p:last-child {
  margin-bottom: 0;
}


/* =============================================
   TALKS / CONFERENCIAS
   ============================================= */

.talks {
  background-color: var(--off-white);
  padding: var(--section-padding);
}

.talks-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 26px;
}

.talks-header .section-title {
  margin-bottom: 0;
}

.ted-credential {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--sand-dark);
  color: var(--gray-dark);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
}

.ted-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.talks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  align-items: start;
}

.talk-card {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  transition: background-color 300ms ease;
  overflow: hidden;
}

.talk-card:hover {
  background-color: var(--sand);
}

.talk-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.talk-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 400ms ease;
}

.talk-card:hover .talk-card-photo img {
  transform: scale(1.03);
}

/* Sin foto — fondo arena con coming soon */
.talk-card-photo--empty {
  background-color: var(--sand);
}

/* Foto con blur para coming soon */
.talk-card-photo--blur img {
  filter: blur(4px);
  transform: scale(1.05);
}

.talk-card:hover .talk-card-photo--blur img {
  transform: scale(1.06);
}

.talk-card-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, 0.18);
}

.talk-card-coming-soon span {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.1em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.talk-card-body {
  padding: 36px 48px 48px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.talk-card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.talk-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  min-height: 2.4em;
  margin-bottom: 10px;
  color: var(--black);
}

.talk-card-subtitle {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  font-style: italic;
  color: var(--gray-dark);
  letter-spacing: 0.01em;
  margin-top: 4px;
  margin-bottom: 16px;
}

.talk-card-semblanza {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-mid);
  margin-bottom: 28px;
  text-align: justify;
}

.talk-card-divider {
  width: 40px;
  height: 1px;
  background: var(--sand-dark);
  margin: 28px 0;
}

.talk-card-name2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--black);
}

.talk-card p,
.talk1-desc p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-mid);
  margin-bottom: 16px;
  text-align: justify;
}

.talk1-desc {
  margin-bottom: 12px;
}

.talk-audience {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  border-top: 1px solid var(--sand);
  padding-top: 20px;
  margin-bottom: 28px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  gap: 10px;
  transition: color var(--transition);
}

.btn-secondary::after {
  content: "→";
  font-size: 14px;
  letter-spacing: 0;
  transition: transform var(--transition);
}

.btn-secondary:hover {
  color: var(--accent);
}

.btn-secondary:hover::after {
  transform: translateX(5px);
}

/* Video row — TED + TikTok */
.video-row {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  align-items: flex-start;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* TED: formato horizontal 16/9 */
.video-card:first-child {
  width: 380px;
}

/* TikTok: formato vertical 9/16 */
.video-card:last-child {
  width: 180px;
}

.video-card-thumb {
  position: relative;
  overflow: hidden;
  background-color: var(--black);
  border-radius: 4px;
  aspect-ratio: 16 / 9;
}

.video-card-thumb--vertical {
  aspect-ratio: 9 / 16;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 400ms ease, filter 300ms ease;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.04);
  filter: brightness(0.78);
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, 0.25);
  transition: background 300ms ease;
}

.video-card:hover .video-card-overlay {
  background: rgba(13, 13, 13, 0.45);
}

.ted-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: transform 200ms ease;
}

.video-card:hover .ted-play-btn {
  transform: scale(1.1);
}

.video-card-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

@media (max-width: 640px) {
  .video-row {
    gap: 16px;
  }
  .video-card:first-child {
    width: 240px;
  }
  .video-card:last-child {
    width: 120px;
  }
}


/* =============================================
   BRANDS / MARCAS
   ============================================= */

/* =============================================
   TED TALK SECTION
   ============================================= */

.ted-section {
  background-color: var(--sand-dark);
  padding: var(--section-padding);
}

.ted-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.ted-text .section-title {
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 24px;
}

.ted-desc {
  margin-bottom: 32px;
}

.ted-desc p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 20px;
  text-align: justify;
}

.ted-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--sand);
  margin-top: 62px;
}

.ted-media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.ted-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 300ms ease;
}

.ted-media-link:hover img {
  opacity: 0.85;
}

.ted-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ted-play-icon svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  opacity: 0.9;
}

.brands {
  background-color: var(--white);
  padding: var(--section-padding);
}

.brands .section-title {
  margin-bottom: 56px;
}

.brands-track-wrap {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* mask edges for soft fade-out */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.brands-track-wrap::-webkit-scrollbar {
  display: none;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 28px 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  animation: brands-scroll 28s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-slot {
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: opacity var(--transition), filter var(--transition);
  display: block;
}

/* Todos controlados por ancho para que el texto sea similar en tamaño visual */
.brand-slot:has([alt="Salomon"]) .brand-logo    { width: 117px; }
.brand-slot:has([alt="Levi's"]) .brand-logo     { width: 72px; }
.brand-slot:has([alt="West Elm"]) .brand-logo   { width: 104px; }
.brand-slot:has([alt="Nespresso"]) .brand-logo  { width: 117px; }
.brand-slot:has([alt="Habits"]) .brand-logo     { width: 91px; }
.brand-slot:has([alt="Össur"]) .brand-logo      { width: 91px; }
.brand-slot:has([alt="Meta"]) .brand-logo       { width: 65px; }
.brand-slot:has([alt="American Express"]) .brand-logo { width: 78px; }
.brand-slot:has([alt="lululemon"]) .brand-logo  { width: 65px; }

.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Salomon, West Elm, Habits — negro puro en hover */
.brand-slot:has([alt="Salomon"]) .brand-logo:hover,
.brand-slot:has([alt="West Elm"]) .brand-logo:hover,
.brand-slot:has([alt="Habits"]) .brand-logo:hover {
  filter: brightness(0);
  opacity: 1;
}

/* Meta — azul #0082FB */
.brand-slot:has([alt="Meta"]) .brand-logo:hover {
  filter: brightness(0) saturate(100%) invert(35%) sepia(98%) saturate(1500%) hue-rotate(196deg) brightness(102%) contrast(101%);
  opacity: 1;
}

/* American Express — azul #016FD0 */
.brand-slot:has([alt="American Express"]) .brand-logo:hover {
  filter: brightness(0) saturate(100%) invert(23%) sepia(92%) saturate(1200%) hue-rotate(196deg) brightness(95%) contrast(101%);
  opacity: 1;
}

/* Levi's — rojo #C8102E */
.brand-slot:has([alt="Levi's"]) .brand-logo:hover {
  filter: brightness(0) saturate(100%) invert(13%) sepia(90%) saturate(3000%) hue-rotate(345deg) brightness(95%) contrast(105%);
  opacity: 1;
}

/* Brand placeholder — eliminar cuando estén los logos reales */
.brand-placeholder {
  height: 30px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  flex-shrink: 0;
  padding: 0 8px;
  white-space: nowrap;
}


/* =============================================
   CONTACT / FORMULARIO
   ============================================= */

.contact {
  background-color: var(--off-white);
  padding: var(--section-padding);
  border-top: 1px solid var(--sand);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 96px;
  align-items: start;
}

.contact-intro .section-title {
  margin-bottom: 28px;
}

.contact-intro p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-mid);
  text-align: justify;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--sand-dark);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  padding: 12px 0;
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--black);
}

/* Select arrow */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "↓";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-light);
  pointer-events: none;
  font-size: 13px;
  font-family: var(--font-body);
}

.form-group select option {
  background-color: var(--white);
  color: var(--black);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 48px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
  width: 100%;
  margin-top: 8px;
}

.btn-submit:hover {
  background-color: var(--accent);
}

.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-success {
  display: none;
  border-top: 1px solid var(--sand-dark);
  padding-top: 28px;
  color: var(--gray-dark);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
  margin-top: 8px;
}

.form-success.visible {
  display: block;
}


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

.site-footer {
  background-color: var(--white);
  border-top: 1px solid var(--sand);
  padding: 24px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-socials {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  color: var(--gray-light);
  transition: color var(--transition);
}

.footer-social-link:hover {
  color: var(--black);
}

.footer-social-link svg {
  display: block;
}

.footer-email {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray-mid);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}

.footer-email:hover {
  color: var(--black);
}

.footer-signature-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer-signature {
  width: 60px;
  opacity: 0.25;
  filter: grayscale(1);
  transition: opacity var(--transition);
}

.footer-signature:hover {
  opacity: 0.5;
}

.footer-copy {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gray-light);
  text-transform: uppercase;
}


/* =============================================
   MOBILE CTA BAR (fixed bottom)
   ============================================= */

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgba(247, 245, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--sand);
  z-index: 90;
}

.mobile-cta-bar .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
}


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

@media (max-width: 960px) {
  :root {
    --section-padding: 88px 24px;
  }

  .container {
    padding: 0 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 56vw 1fr;
    min-height: unset;
  }

  .hero-photo-side {
    min-height: 56vw;
    order: -1;
  }

  .hero-text-side {
    justify-content: flex-start;
    padding: 56px 36px 72px;
    order: 1;
  }

  .about .container {
    padding: 0 24px;
  }

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

  .about-photo-wrap {
    aspect-ratio: 3 / 2;
    max-height: 360px;
    margin-top: 0;
  }

  .ted-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ted-media {
    margin-top: 0;
  }

  .talks-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .lang-toggle {
    border-color: rgba(13, 13, 13, 0.25);
    color: var(--black);
  }

  .site-header.on-dark .lang-toggle {
    border-color: rgba(13, 13, 13, 0.25);
    color: var(--black);
  }

  .quote-mujica {
    width: 92vw;
    padding: 18px 32px;
  }

  .brand-slot {
    width: 160px;
  }
}


/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */

@media (max-width: 640px) {
  :root {
    --section-padding: 56px 20px;
  }

  .container {
    padding: 0 20px;
  }

  /* ── Header ── */
  .site-header {
    padding: 18px 20px;
  }

  .site-name {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--white);
  }

  .site-header .lang-toggle {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
  }

  /* ── Hero ── */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 100vw auto;
    min-height: unset;
  }

  .hero-photo-side {
    min-height: 100vw;
    order: -1;
    background-position: center 20%;
  }

  .hero-text-side {
    padding: 36px 20px 80px;
    order: 1;
    justify-content: flex-start;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 56px);
  }

  .hero-subtitle {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero-line {
    margin: 24px 0;
  }

  .hero-text-side .btn-primary {
    display: none;
  }

  .mobile-cta-bar {
    display: block;
  }

  /* ── Quote ── */
  .quote-strip {
    padding: 20px 20px 8px;
  }

  .quote-mujica {
    width: 100%;
    padding: 16px 20px;
  }

  .quote-mujica p {
    font-size: clamp(1rem, 4.5vw, 1.4rem);
    margin-bottom: 8px;
  }

  .quote-mujica cite {
    font-size: 9px;
  }

  /* ── About ── */
  .about {
    padding: 48px 0 64px;
  }

  .about .container {
    padding: 0 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
  }

  .about-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 280px;
    margin-top: 0;
  }

  .about-text {
    width: 100%;
  }

  .about-text .section-title {
    font-size: clamp(32px, 9vw, 48px);
    margin-bottom: 20px;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  /* ── Talks ── */
  .talks {
    padding: 56px 0;
  }

  .talks .container {
    padding: 0 20px;
  }

  .talks-header {
    margin-bottom: 32px;
  }

  .talks-header .section-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .talks-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
    max-width: 100%;
  }

  .talk-card-photo {
    aspect-ratio: 4 / 3;
  }

  .talk-card-body {
    padding: 24px 20px 32px;
  }

  .talk-card h3 {
    font-size: clamp(26px, 7vw, 36px);
    min-height: unset;
  }

  .talk-card-subtitle {
    font-size: clamp(18px, 5vw, 24px);
  }

  .talk-card-semblanza {
    font-size: 13px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .talk-card p,
  .talk1-desc p {
    font-size: 14px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .ted-credential {
    font-size: 9px;
    padding: 7px 12px;
  }

  /* ── TED ── */
  .ted-section {
    padding: 56px 20px;
  }

  .ted-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ted-media {
    margin-top: 0;
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .ted-text .section-title {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 16px;
  }

  .ted-desc p {
    font-size: 14px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  /* ── Brands ── */
  .brands {
    padding: 48px 0;
  }

  .brands .container {
    padding: 0 20px;
  }

  .brands .section-title {
    font-size: clamp(28px, 8vw, 42px);
    margin-bottom: 32px;
  }

  .brand-slot {
    width: 110px;
  }

  .brand-logo {
    transform: scale(0.85);
  }

  /* ── Contact ── */
  .contact {
    overflow: hidden;
  }

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

  .contact-intro .section-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .contact-intro p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

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

  .contact-form {
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* ── Footer ── */
  .site-footer {
    padding: 24px 20px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-signature-wrap {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-signature {
    width: 48px;
  }
}
