/* =========================================================
   CARLOS COLL — TERAPEUTA HOLÍSTICO
   Tokens
   Color:
     --forest      #1E2E22  fondo oscuro principal
     --forest-2    #26362A  fondo oscuro secundario (paneles)
     --sage-mist   #E4E7DD  fondo claro principal
     --sage-mist-2 #D9DDCC  fondo claro secundario
     --ochre       #A8763E  acento cálido primario
     --ochre-light #C79A63  acento cálido secundario
     --moss        #5B6B4F  acento verde secundario
     --ivory       #F3EFE3  texto sobre fondo oscuro
     --ink         #20261E  texto sobre fondo claro
   Type:
     Display: "Fraunces" (serif orgánico, optical sizing)
     Body:    "Work Sans"
     Utility: "Space Mono" (eyebrows, números, meta)
   ========================================================= */

:root{
  --forest: #1E2E22;
  --forest-2: #263628;
  --sage-mist: #E4E7DD;
  --sage-mist-2: #D9DCC9;
  --ochre: #A8763E;
  --ochre-light: #C79A63;
  --moss: #5B6B4F;
  --ivory: #F3EFE3;
  --ink: #20261E;

  --font-display: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;
  --font-mono: "Space Mono", monospace;

  --container: 1180px;
  --radius: 2px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sage-mist);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.6;
}

img{ max-width: 100%; display: block; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2{ font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3{ font-size: 1.3rem; font-weight: 600; }

p{ margin: 0 0 1em; }

a{ color: inherit; text-decoration: none; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 1em;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn-primary{
  background: var(--ochre);
  color: var(--ivory);
}
.btn-primary:hover{ background: var(--ochre-light); transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover{ background: rgba(255,255,255,0.08); }
.btn-block{ width: 100%; }

.link-arrow{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--ochre);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  background: var(--sage-mist);
  border-bottom: 1px solid rgba(32,38,30,0.08);
  transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.site-header.scrolled{
  padding: 14px 0;
  background: var(--sage-mist);
  box-shadow: 0 8px 24px rgba(32,38,30,0.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.main-nav{
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a{
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s ease;
  position: relative;
}
.main-nav a:hover{ opacity: 1; }
.nav-cta{
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  letter-spacing: 0.05em;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  padding: 9px 18px;
  opacity: 1 !important;
}
.nav-cta:hover{ background: var(--ink); color: var(--ivory) !important; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- hero (orbit portrait effect) ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--sage-mist);
  color: var(--ink);
  overflow: hidden;
  padding: 190px 0 120px;
}
.hero-orbit-wrap{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow-center{ text-align: center; }

.orbit-wordmark{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 -74px;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.orbit-hero{
  position: relative;
  width: 420px;
  height: 420px;
  max-width: 82vw;
  max-height: 82vw;
  margin: 0 auto 44px;
  z-index: 2;
}
.orbit-ring{
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(32,38,30,0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-outer{ width: 100%; height: 100%; }
.ring-inner{ width: 74%; height: 74%; border-color: rgba(32,38,30,0.18); }

.orbit-photo{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62%; height: 62%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(32,38,30,0.15);
  background: var(--sage-mist-2);
}
.orbit-photo img{ width: 100%; height: 100%; object-fit: cover; }

.orbit-deco{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
  color: var(--ochre);
}
.deco-star{ font-size: 1.15rem; line-height: 1; }
.deco-star-sm{ font-size: 0.7rem; opacity: 0.8; }
.deco-dot{
  width: 8px; height: 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0.55;
}

.orbit-bio{
  max-width: 58ch;
  font-size: 1.05rem;
  color: #3B4436;
  margin: 0 auto 34px;
}

.hero-actions-center{ display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-dark{ background: var(--ink); color: var(--ivory); }
.btn-dark:hover{ background: var(--forest-2); transform: translateY(-1px); }
.btn-ghost-dark{ background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover{ background: rgba(32,38,30,0.06); }

.scroll-cue-dark{ border-color: rgba(32,38,30,0.35); }
.scroll-cue-dark span{ background: var(--ink); }

.scroll-cue{
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid rgba(243,239,227,0.5);
  border-radius: 12px;
}
.scroll-cue span{
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  background: var(--ivory);
  border-radius: 2px;
  animation: scrollcue 2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ transform: translateY(0); opacity: 1; }
  70%{ transform: translateY(10px); opacity: 0; }
  100%{ opacity: 0; }
}

/* ---------- about ---------- */
.about{ padding: 130px 0; background: var(--sage-mist); }
.about-inner{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.about-media{
  position: relative;
}
.about-media img{
  border-radius: var(--radius);
  width: 100%;
}
.about-media-tag{
  position: absolute;
  right: -20px;
  bottom: -26px;
  background: var(--ochre);
  color: var(--ivory);
  padding: 22px 24px;
  max-width: 190px;
}
.about-media-tag .years{
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}
.about-media-tag .years-label{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  margin-top: 6px;
  line-height: 1.4;
}
.about-copy h2{ max-width: 16ch; }
.about-copy p{ max-width: 56ch; color: #3B4436; }
.about-quote{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--moss);
  border-left: 2px solid var(--ochre);
  padding-left: 20px;
  margin: 28px 0;
}
.about-list{
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.about-list li{
  font-size: 0.95rem;
  color: #3B4436;
  padding-left: 22px;
  position: relative;
}
.about-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--moss);
}

/* ---------- press row (authority strip) ---------- */
.press-row{ background: var(--sage-mist-2); border-top: 1px solid rgba(32,38,30,0.1); }
.press-row-inner{
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 26px 32px;
}
.press-label{
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #5A6353; white-space: nowrap;
}
.press-logos{ display: flex; gap: 28px; flex-wrap: wrap; }
.press-logos span{
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: #6B7360;
}

/* ---------- services ---------- */
.services{ padding: 110px 0; background: var(--sage-mist-2); }
.section-head{ max-width: 640px; margin-bottom: 60px; }
.section-head h2{ color: var(--ink); }
.section-head-light h2, .section-head-light .eyebrow{ color: var(--ivory); }
.section-head-light .eyebrow{ color: var(--ochre-light); }

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(32,38,30,0.12);
  border: 1px solid rgba(32,38,30,0.12);
}
.service-card{
  background: var(--sage-mist-2);
  padding: 40px 30px;
  transition: background 0.25s ease;
}
.service-card:hover{ background: var(--sage-mist); }
.service-icon{
  width: 44px; height: 44px;
  color: var(--ochre);
  margin-bottom: 22px;
}
.service-icon svg{ width: 100%; height: 100%; }
.service-card h3{ margin-bottom: 10px; }
.service-card p{ font-size: 0.92rem; color: #46503F; margin-bottom: 18px; }
.service-meta{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--moss);
  text-transform: uppercase;
}
.services-note{
  margin-top: 34px;
  font-size: 0.85rem;
  color: #5A6353;
  font-family: var(--font-mono);
}

/* ---------- event / countdown ---------- */
.event{
  position: relative;
  padding: 130px 0;
  color: var(--ivory);
  overflow: hidden;
}
.event-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.event-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,46,34,0.88), rgba(30,46,34,0.94));
}
.event-inner{ position: relative; max-width: 760px; }
.event h2{ color: var(--ivory); max-width: 18ch; }
.event-sub{ color: rgba(243,239,227,0.8); max-width: 56ch; margin-bottom: 40px; }
.eyebrow-light{ color: var(--ochre-light); }

.countdown{ display: flex; gap: 18px; margin-bottom: 40px; flex-wrap: wrap; }
.countdown-item{
  display: flex; flex-direction: column; align-items: center;
  background: rgba(38,54,42,0.55);
  border: 1px solid rgba(199,154,99,0.35);
  padding: 18px 22px;
  min-width: 84px;
}
.cd-num{ font-family: var(--font-display); font-size: 2.2rem; color: var(--ochre-light); line-height: 1; }
.cd-label{ font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; color: rgba(243,239,227,0.7); }

/* ---------- books / recursos ---------- */
.books{ padding: 120px 0; background: var(--forest); color: var(--ivory); }
.books .section-head h2{ color: var(--ivory); }
.books-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.book-card img{ width: 100%; margin-bottom: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.book-card h3{ color: var(--ivory); font-size: 1.2rem; margin-bottom: 8px; }
.book-card p{ color: rgba(243,239,227,0.72); font-size: 0.9rem; }
.books-note{ margin-top: 30px; font-family: var(--font-mono); font-size: 0.8rem; color: rgba(243,239,227,0.5); }

/* ---------- whatsapp float ---------- */
.whatsapp-float{
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  background: var(--ochre);
  color: var(--ivory);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  z-index: 90;
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover{ transform: scale(1.06); background: var(--ochre-light); }
.whatsapp-float svg{ width: 28px; height: 28px; }

/* ---------- process ---------- */
.process{ padding: 120px 0; background: var(--forest); color: var(--ivory); }
.process-list{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(243,239,227,0.16);
}
.process-item{
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(243,239,227,0.16);
}
.process-num{
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ochre-light);
}
.process-copy h3{ color: var(--ivory); margin-bottom: 8px; }
.process-copy p{ color: rgba(243,239,227,0.75); max-width: 56ch; margin: 0; }

/* ---------- testimonials ---------- */
.testimonials{ padding: 120px 0; background: var(--sage-mist); }
.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card{
  margin: 0;
  background: var(--sage-mist-2);
  padding: 34px 30px;
  border-radius: var(--radius);
}
.testimonial-card p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 26px;
}
.testimonial-card footer{
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card img{
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.t-name{ display: block; font-weight: 600; font-size: 0.9rem; }
.t-role{ display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--moss); }

/* ---------- gallery ---------- */
.gallery{ padding: 120px 0 0; background: var(--sage-mist-2); }
.gallery .wrap{ padding-bottom: 60px; }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.gallery-grid img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.gallery-grid img:nth-child(1){ grid-column: span 2; height: 340px; }
.gallery-grid img:nth-child(2){ grid-column: span 2; }
.gallery-grid img:nth-child(3){ grid-column: span 2; height: 340px; }
.gallery-grid img:nth-child(4){ grid-column: span 2; }
.gallery-grid img:nth-child(5){ grid-column: span 2; height: 340px; }
.gallery-grid img:nth-child(6){ grid-column: span 2; }

/* ---------- contact ---------- */
.contact{ padding: 120px 0; background: var(--forest); color: var(--ivory); }
.contact-inner{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact-copy h2{ color: var(--ivory); max-width: 14ch; }
.contact-lead{ color: rgba(243,239,227,0.78); max-width: 46ch; }
.contact-list{
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 22px;
}
.contact-list li{
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(243,239,227,0.16);
  padding-top: 16px;
}
.c-label{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ochre-light);
}
.contact-list a{ font-size: 1rem; }
.contact-list a:hover{ color: var(--ochre-light); }
.social-links{ display: flex; gap: 16px; }
.social-links a{ border-bottom: 1px solid currentColor; }

.contact-form{
  background: var(--forest-2);
  padding: 40px;
  border-radius: var(--radius);
}
.form-row{ margin-bottom: 20px; }
.form-row label{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243,239,227,0.7);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea{
  width: 100%;
  background: transparent;
  border: 1px solid rgba(243,239,227,0.3);
  border-radius: var(--radius);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ivory);
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder{ color: rgba(243,239,227,0.4); }
.form-row input:focus,
.form-row textarea:focus{
  outline: none;
  border-color: var(--ochre-light);
}
.form-note{
  min-height: 1.4em;
  font-size: 0.85rem;
  color: var(--ochre-light);
  margin-top: 14px;
}
.form-disclaimer{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(243,239,227,0.45);
  margin-top: 6px;
}

/* ---------- footer ---------- */
.site-footer{ background: var(--forest); color: var(--ivory); padding: 40px 0; border-top: 1px solid rgba(243,239,227,0.14); }
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav{ display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a{ font-size: 0.85rem; opacity: 0.75; }
.footer-nav a:hover{ opacity: 1; }
.footer-copy{ font-family: var(--font-mono); font-size: 0.75rem; color: rgba(243,239,227,0.55); margin: 0; }

/* ---------- focus states (accessibility) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero{ padding-top: 150px; }
  .orbit-wordmark{ margin-bottom: -34px; }
  .orbit-hero{ width: 320px; height: 320px; margin-bottom: 30px; }
  .deco-star{ font-size: 0.9rem; }

  .about-inner{ grid-template-columns: 1fr; gap: 50px; }
  .about-media-tag{ right: 12px; bottom: -24px; }

  .services-grid{ grid-template-columns: repeat(2, 1fr); }

  .testimonials-grid{ grid-template-columns: 1fr; }
  .books-grid{ grid-template-columns: 1fr; max-width: 420px; }

  .contact-inner{ grid-template-columns: 1fr; gap: 50px; }

  .gallery-grid{ grid-template-columns: repeat(4, 1fr); }
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(5),
  .gallery-grid img:nth-child(6){ grid-column: span 2; height: 260px; }
}

@media (max-width: 720px){
  .main-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--forest);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ color: var(--ivory); opacity: 0.85; }
  .main-nav a:hover{ opacity: 1; }
  .nav-cta{ border-color: var(--ivory); color: var(--ivory) !important; }
  .nav-cta:hover{ background: var(--ivory); color: var(--forest) !important; }
  .nav-toggle{ display: flex; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity: 0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

  .services-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img{ grid-column: span 1 !important; height: 220px !important; }

  .hero-actions-center{ flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-actions-center .btn{ width: 100%; }

  .process-item{ grid-template-columns: 60px 1fr; }
  .countdown{ gap: 10px; }
  .countdown-item{ min-width: 68px; padding: 14px 12px; }
  .cd-num{ font-size: 1.7rem; }

  .contact-form{ padding: 28px 22px; }

  .wrap{ padding: 0 22px; }
}
