/* Estefanía Bottegal — estilos del sitio
   Paleta "Velo" + tinta. Tipografías: Newsreader (títulos) e Inter (texto). */

:root {
  --ink: #14212B;
  --text: #36424B;
  --muted: #5B6670;
  --line: #E1E5E8;
  --bg: #FFFFFF;
  --soft: #F3F5F6;         /* gris claro: segundo fondo de sección */

  /* Un color por página. El principal es el azul del hero; cada sub-sitio
     redefine --accent y de ahí salen CTA, acentos y el fondo entintado. */
  --accent: #2B8A8F;                                            /* principal: verde hielo */

  /* Fondos de sección: blanco, gris claro (--tint) y entintado (--dark) */
  --tint: var(--soft);
  --on-dark: var(--ink);
  --on-dark-muted: var(--muted);

  /* Capas (paleta Velo), solo para el acordeón del recorrido */
  --tierra: #EBD3C4;
  --cuerpo: #CFE2EA;
  --energia: #F0E0B8;
  --mente: #D6E4CC;
  --espiritu: #DED4EC;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --pad: 32px;
  --radius: 4px;
}

/* Las derivadas se calculan en body, después de que cada tema redefine --accent.
   (Si estuvieran en :root tomarían siempre el azul principal.) */
body {
  --accent-deep: color-mix(in srgb, var(--accent) 78%, black);  /* hover de botones */
  --accent-tint: color-mix(in srgb, var(--accent) 14%, white);  /* tercer fondo de sección */
  --dark: var(--accent-tint);
}

.theme-agua     { --accent: #2E6F8E; }  /* Aguas gélidas: azul profundo */
.theme-mente    { --accent: #5B7A4C; }  /* Efecto Mindfulness: verde salvia */
.theme-ayurveda { --accent: #8E4B62; }  /* Efecto Ayurveda: ciruela cálido */

*, *::before, *::after { box-sizing: border-box; }

/* Desplazamiento suave solo al hacer click en anclas internas; al cargar con #hash el salto es directo. */
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--dark :focus-visible,
.section--dark .chip input:focus-visible + span { outline-color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 120px 0; }
.section--tint { background: var(--tint); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark a { color: var(--on-dark); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.intro { max-width: 720px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .grow { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 360px; min-width: 0; }
.row-between { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .section { padding: 80px 0; }
}

/* ---------- Type ---------- */
.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .eyebrow { color: var(--on-dark-muted); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; }
.h1 em, .h1-accent { color: var(--accent); }
.h2 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; }
.h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.hero-lead { font-size: 18px; max-width: 600px; }
.body { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text); }
.small { margin: 0; font-size: 14px; color: var(--muted); }
.section--dark .lead, .section--dark .body, .section--dark .dash-list li { color: var(--text); }
.section--dark .small { color: var(--on-dark-muted); }

.quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.3;
}
.quote cite {
  display: block;
  padding-top: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote--xl { font-size: clamp(34px, 5vw, 64px); line-height: 1.15; max-width: 900px; margin: 0 auto; text-align: center; }

/* Placeholders de contenido pendiente: buscá la clase .ph para completarlos */
.ph {
  background: var(--soft);
  color: var(--text);
  padding: 1px 6px;
  border-radius: 3px;
  font-style: normal;
}
.photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--soft); }
.media-ph {
  background: var(--soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn--solid { background: var(--accent); color: var(--bg); }
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bg); }
.btn--light, .section--dark a.btn--light { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--light:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bg); }
.btn:disabled { opacity: .65; cursor: default; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-underline-offset: 4px; }

/* ---------- Header / footer ---------- */
.site-header .wrap {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  justify-content: space-between; align-items: center;
  padding-top: 28px; padding-bottom: 28px;
}
.brand { font-family: var(--serif); font-size: 24px; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 14px; letter-spacing: 0.04em; }
.nav a { text-decoration: none; }
.site-header .nav { margin-left: auto; }
.back { font-size: 14px; text-decoration: none; color: var(--muted); }
.tag-layer { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 24px; }
.lang { font-size: 14px; letter-spacing: 0.04em; color: var(--muted); }
.lang a { color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang strong { font-weight: 500; color: var(--ink); }
@media (max-width: 640px) {
  .site-header .wrap { padding-top: 18px; padding-bottom: 14px; gap: 8px 16px; }
  .brand { font-size: 22px; }
  .site-header .nav { flex: 0 0 calc(100% + var(--pad)); order: 3; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; gap: 0 18px; font-size: 13px; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-header .nav::-webkit-scrollbar { display: none; }
  .nav a { display: inline-flex; align-items: center; min-height: 36px; white-space: nowrap; }
}

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
  padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--text);
}
.site-footer .brand { font-size: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: flex; flex-direction: column; gap: 32px; }
.hero-media { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 40px; }
.hero-media .media-ph { flex: 1 1 420px; aspect-ratio: 16 / 9; }
.hero-media .hero-photo { flex: 0 0 260px; width: 260px; aspect-ratio: 1 / 1; border-radius: 50%; }
.hero-media .quote { flex: 1 1 280px; max-width: 460px; }
.subhero { padding: 100px 0 120px; }
.subhero .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-end; }
.subhero .copy { flex: 999 1 560px; display: flex; flex-direction: column; gap: 28px; }
.subhero .h1 { font-size: clamp(38px, 5.5vw, 76px); }

/* ---------- Capas (acordeón) ---------- */
.layers { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.layer summary {
  list-style: none;
  cursor: pointer;
  min-height: 76px;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between; align-items: center;
  padding: 16px clamp(20px, 4vw, 48px);
  color: var(--ink);
}
.layer summary::-webkit-details-marker { display: none; }
.layer summary:focus-visible { outline-offset: -4px; }
.layer-name { font-family: var(--serif); font-size: 28px; line-height: 1; }
.layer-meta { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.layer-sign { font-size: 22px; width: 16px; text-align: center; }
.layer-sign::before { content: '+'; }
.layer[open] .layer-sign::before { content: '–'; }
.layer-body {
  background: var(--bg);
  padding: 36px clamp(20px, 4vw, 48px) 40px;
  display: flex; flex-wrap: wrap; gap: 32px 56px;
}
.layer-body .body { flex: 999 1 420px; }
.layer-body .facts { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; }
.layer--tierra summary { background: var(--tierra); }
.layer--cuerpo summary { background: var(--cuerpo); }
.layer--energia summary { background: var(--energia); }
.layer--mente summary { background: var(--mente); }
.layer--espiritu summary { background: var(--espiritu); }

.dash-list { margin: 0; padding: 0 0 0 1.1em; list-style: disc; display: flex; flex-direction: column; gap: 10px; }
.dash-list li { font-size: 15px; line-height: 1.5; color: var(--text); }
ol.dash-list { list-style: decimal; }

/* ---------- Viajes ---------- */
.travel-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.travel-grid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.travel-grid .media-ph, .travel-grid .photo { aspect-ratio: 4 / 5; font-size: 13px; }
.travel-grid figcaption { font-size: 14px; color: var(--text); }

/* ---------- Formación ---------- */
.study-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--line); border: 1px solid var(--line);
}
.study-grid > div { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.study-kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.study-title { font-family: var(--serif); font-size: 24px; }
.study-grid .ph { align-self: flex-start; font-size: 14px; }
@media (max-width: 900px) { .study-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .study-grid { grid-template-columns: 1fr; } }

/* ---------- Proyectos ---------- */
.project {
  color: var(--on-dark); text-decoration: none;
  background: rgba(255, 255, 255, 0.6); border-radius: 24px;
  padding: 28px 28px 30px;
  display: flex; flex-direction: column; gap: 12px; min-height: 220px;
  transition: background .2s ease;
}
.project:hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.85); }
.project:hover .project-cta { text-decoration: underline; text-underline-offset: 4px; }
.project-kicker { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--on-dark-muted); }
.project-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.project-text { font-size: 15px; line-height: 1.6; color: var(--text); }
.project-cta { font-size: 14px; padding-top: 8px; margin-top: auto; }

/* ---------- Formularios ---------- */
.panel { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.panel--card { background: var(--bg); border: 1px solid var(--line); }
.detail-list { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
.detail-list div { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.detail-list dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.detail-list dd { margin: 0; font-size: 17px; color: var(--ink); }
@media (max-width: 560px) { .grid-2, .detail-list { grid-template-columns: 1fr; } }
.section--dark .panel { background: rgba(255, 255, 255, 0.6); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
legend { padding: 0 0 14px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.section--dark legend { color: var(--on-dark); letter-spacing: 0; text-transform: none; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.field input, .field textarea {
  min-height: 48px; padding: 0 16px; font-size: 16px;
  border: 1px solid var(--muted); border-radius: 2px; background: var(--bg); color: var(--ink);
}
.field textarea { padding: 12px 16px; resize: vertical; line-height: 1.5; }
.section--dark .field input, .section--dark .field textarea { background: #FFFFFF; color: var(--ink); border-color: var(--muted); }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field { flex: 1 1 200px; }

/* Chips = checkboxes con estilo de pastilla */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--accent); border-radius: 999px; font-size: 14px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.chip input:checked + span { background: var(--accent); color: var(--bg); }
.chip input:indeterminate + span { border-style: dashed; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--dark .chip span { background: #FFFFFF; }
.form-status { margin: 0; font-size: 15px; color: var(--text); }
.section--dark .form-status { color: var(--text); }

/* ---------- Agenda ---------- */

/* ---------- Sub-sitios ---------- */
.stats { flex: 1 1 240px; display: flex; flex-wrap: wrap; gap: 24px 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--accent); white-space: nowrap; }
.stat-label { font-size: 13px; color: var(--muted); }
.wide-media { flex: 1 1 100%; width: 100%; aspect-ratio: 21 / 9; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 72px; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--serif); font-size: 26px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 0 28px; max-width: 640px; }



.portrait { flex: 1 1 360px; max-width: 480px; aspect-ratio: 4 / 5; }
.square { flex: 1 1 280px; aspect-ratio: 1 / 1; }

.dosha { background: var(--bg); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.dosha-elements { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dosha-name { font-family: var(--serif); font-size: 40px; }
.dosha-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.dosha .body { font-size: 15px; line-height: 1.6; }

.card-line { background: var(--soft); border-radius: 24px; padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.section--soft .card-line, .section--tint .card-line { background: var(--bg); }
.card-line-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.rows { display: flex; flex-direction: column; }
.row-item { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 12px 40px; padding: 24px 0; border-top: 1px solid var(--line); }
.row-item:last-child { border-bottom: 1px solid var(--line); }
.row-title { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); }
@media (max-width: 560px) { .row-item { grid-template-columns: 1fr; } }
.section--dark .card-line { background: rgba(255, 255, 255, 0.6); }
.offer .body { flex-grow: 1; }


/* ---------- Utilidades ---------- */
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.pt-sm { padding-top: 48px; }
.quote--narrow { max-width: 640px; }
.section--dark .quote cite { color: var(--on-dark-muted); }
