/* =========================================================
   HUMANACIENDO · Landing
   Fondo crema · Texto marrón chocolate · Rounded sans + serif
========================================================= */

:root {
  --cream: #F0E8D6;
  --cream-2: #EAE0C9;
  --cream-3: #E4D8BE;
  --chocolate: #4A2C1A;
  --chocolate-soft: #6B4530;
  --chocolate-faint: rgba(74, 44, 26, 0.15);
  --chocolate-border: rgba(74, 44, 26, 0.35);

  --font-sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;

  --container: 1200px;
  --container-narrow: 720px;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--cream);
  color: var(--chocolate);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.9;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

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

/* =========================================================
   LAYOUT
========================================================= */
.section {
  padding: clamp(60px, 10vw, 140px) 24px;
}
.section--tight {
  padding-top: 0;
  padding-bottom: clamp(40px, 6vw, 80px);
  padding-left: 0;
  padding-right: 0;
}
.section--center { text-align: center; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(0px, 2vw, 24px);
}
.container--narrow { max-width: var(--container-narrow); }

/* =========================================================
   TYPOGRAPHY BASICS
========================================================= */
.section__eyebrow {
  font-size: 13px;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--chocolate);
}

.section__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2;
  margin-bottom: 48px;
  color: var(--chocolate);
}

.section__lead {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  max-width: 640px;
  margin: 32px auto 0;
  line-height: 1.6;
}

.prose {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
}
.prose p { margin-bottom: 24px; }
.prose--center { text-align: center; }
.prose__pull {
  font-weight: 600;
  font-size: clamp(16px, 1.7vw, 18px);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--cream);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(20, 12, 6, 0.55) 100%);
}

.hero__content {
  position: absolute;
  left: clamp(28px, 6vw, 88px);
  bottom: clamp(56px, 8vw, 96px);
  z-index: 2;
  max-width: 720px;
  text-align: left;
  animation: fadeUp 1.4s ease-out both;
}

.hero__mark {
  width: 1px;
  height: clamp(48px, 6vw, 80px);
  background: var(--cream);
  opacity: 0.9;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero__brand {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.35em;
  font-size: clamp(11px, 1.1vw, 13px);
  margin-bottom: clamp(14px, 2vw, 22px);
  opacity: 0.95;
}

.hero__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 8.5vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 clamp(20px, 3vw, 32px) 0;
}
.hero__title span { display: block; }

.hero__date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.15vw, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero__tag {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(56px, 8vw, 96px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  text-align: right;
}

@media (max-width: 600px) {
  .hero__content { max-width: 84%; bottom: 96px; }
  .hero__tag { position: static; margin: 0; padding: 0 24px 24px; align-items: flex-start; text-align: left; }
  .hero__tag { position: absolute; bottom: 32px; right: 24px; left: auto; text-align: right; align-items: flex-end; }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--cream);
  opacity: 0.7;
}

@keyframes kenburns {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1%, -2%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* =========================================================
   SECCIÓN 2 — PARAR
========================================================= */
.parar-photo {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(48px, 6vw, 72px);
  overflow: hidden;
}
.parar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .parar-photo { max-width: 100%; aspect-ratio: 16 / 10; }
}
.parar {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.9;
  letter-spacing: 0;
  margin-bottom: clamp(32px, 4vw, 44px);
  color: var(--chocolate);
}
.parar span {
  display: block;
  margin-bottom: 0;
}
.parar-invite {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--chocolate);
  margin: clamp(28px, 4vw, 40px) 0 clamp(24px, 3vw, 32px);
}
.parar-invite__strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* =========================================================
   SECCIÓN 3 — ROTUI
========================================================= */
.rotui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .rotui-grid { grid-template-columns: 1fr; gap: 48px; }
}

.rotui-item { text-align: center; }
.rotui-item__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.rotui-item__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.rotui-item__img--kenburns img { animation: kenburns 14s ease-in-out infinite alternate; }
.rotui-item:hover .rotui-item__img img { transform: scale(1.05); }

.rotui-item figcaption {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 500;
  color: var(--chocolate);
  line-height: 1.6;
  padding: 0 16px;
}

/* =========================================================
   SECCIÓN 4 — QUIENES SOMOS
========================================================= */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 800px) {
  .bio-grid { grid-template-columns: 1fr; gap: 64px; }
}

.bio__portrait {
  width: clamp(180px, 22vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(74, 44, 26, 0.15);
}
.bio__portrait img { width: 100%; height: 100%; object-fit: cover; }

.bio__name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 6px;
  color: var(--chocolate);
}
.bio__handle {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--chocolate);
  opacity: 0.65;
  margin-bottom: 18px;
}
.bio__tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--chocolate);
  margin-bottom: 22px;
  line-height: 1.4;
}
.bio__text p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.bio__more[hidden] { display: none; }
.bio__toggle {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 22px;
  border: 1px solid var(--chocolate);
  background: transparent;
  color: var(--chocolate);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}
.bio__toggle:hover {
  background: var(--chocolate);
  color: var(--cream);
}

/* =========================================================
   SECCIÓN 5 — FIGURA CON CAPTION
========================================================= */
.figure {
  margin: 60px auto 0;
  max-width: 720px;
}
.figure--wide { max-width: 720px; }
.figure--fullbleed {
  max-width: 100%;
  margin: 0 auto;
}
.figure--fullbleed img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}
.figure img {
  border-radius: var(--radius);
  width: 100%;
}

.caption {
  font-size: 14px;
  line-height: 1.7;
  color: var(--chocolate);
  font-style: italic;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--chocolate-border);
  border-radius: var(--radius-sm);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255, 0.2);
}
.caption--sm { font-size: 13px; padding: 16px 18px; }
.caption--boxed {
  margin-top: 40px;
  padding: 28px 24px;
}
.caption__title {
  font-style: normal;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 16px;
}

/* =========================================================
   SECCIÓN 6 — PRÁCTICAS
========================================================= */
.practicas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) {
  .practicas-grid { grid-template-columns: 1fr; gap: 56px; }
}
.practica { text-align: center; }
.practica__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.practica__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.practica:hover .practica__img img { transform: scale(1.04); }

/* =========================================================
   SECCIÓN 7 — VIDEO PATAGONIA
========================================================= */
.video-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  text-align: center;
}
.video-section__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-section__video--mobile { display: block; }
.video-section__video--desktop { display: none; }
@media (min-width: 768px) {
  .video-section__video--mobile { display: none; }
  .video-section__video--desktop { display: block; }
}
.video-section__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(74, 44, 26, 0.55) 0%,
    rgba(74, 44, 26, 0.3) 50%,
    rgba(74, 44, 26, 0.6) 100%);
  z-index: 1;
}
.video-section__quote {
  position: relative;
  z-index: 2;
  padding: 0 32px;
  max-width: 820px;
}
.video-section__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 4vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.video-section__quote .ser {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* =========================================================
   SECCIÓN 9 — RECIBIR MÁS
========================================================= */
.recibir-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}
.recibir__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0;
}
.recibir__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.recibir:hover .recibir__img img { transform: scale(1.04); }

/* =========================================================
   SECCIÓN 10 — DETALLES
========================================================= */
.detalles__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.detalles__caption {
  font-style: italic;
  font-size: 15px;
  margin-bottom: 48px;
  color: var(--chocolate-soft);
}

.detalles-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 60px;
}
.detalles-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.detalles-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.detalles-photo:hover img { transform: scale(1.05); }

@media (min-width: 900px) {
  .detalles-photos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px;
  }
  .detalles-photo { aspect-ratio: 3/4; }
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 60px;
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
}

.card {
  background: var(--cream-2);
  border: 1px solid var(--chocolate-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 44, 26, 0.1);
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--chocolate);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.card__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  color: var(--chocolate);
}
.card__badge {
  display: inline-block;
  background: var(--chocolate);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.card__badge--alert {
  background: #B23A2A;
  color: #FFF7EF;
}
.card__body {
  font-size: 14px;
  line-height: 1.7;
}
.card__body p { margin-bottom: 8px; }
.card__body strong { font-weight: 700; }
.card__list {
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
}
.card__list li {
  margin-bottom: 8px;
}

/* =========================================================
   BOTONES CTA
========================================================= */
.cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.btn__meta {
  font-weight: 400;
  font-size: 13px;
  opacity: 0.8;
}
.btn__meta::before { content: '·'; margin-right: 12px; }
.btn--primary {
  background: var(--chocolate);
  color: var(--cream);
}
.btn--primary:hover {
  background: #5A3620;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 44, 26, 0.25);
}
.btn--outline {
  background: transparent;
  color: var(--chocolate);
  border: 2px solid var(--chocolate);
}
.btn--outline:hover {
  background: var(--chocolate);
  color: var(--cream);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--chocolate);
  color: var(--cream);
  padding: clamp(60px, 8vw, 100px) 24px 40px;
  text-align: center;
}
.footer__brand {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.4em;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 48px;
  opacity: 0.85;
}

.footer__social {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto 48px;
}
@media (min-width: 640px) {
  .footer__social { grid-template-columns: 1fr 1fr; }
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(240, 232, 214, 0.25);
  border-radius: var(--radius);
  color: var(--cream);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-align: left;
}
.social:hover {
  background: rgba(240, 232, 214, 0.08);
  border-color: rgba(240, 232, 214, 0.5);
  transform: translateY(-2px);
}
.social__text { display: flex; flex-direction: column; line-height: 1.3; }
.social__label { font-weight: 700; font-size: 14px; }
.social__handle { font-size: 12px; opacity: 0.7; }

.footer__contact {
  margin-bottom: 40px;
}
.footer__contact a {
  color: var(--cream);
  font-size: 14px;
  opacity: 0.85;
  border-bottom: 1px solid rgba(240, 232, 214, 0.3);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.footer__contact a:hover { opacity: 1; }

.footer__copy {
  font-size: 12px;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   PREFERS-REDUCED-MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero__bg img, .rotui-item__img--kenburns img { animation: none !important; }
}
