/* =========================================================
   SUP AVENTURA · styles.css
   ========================================================= */

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

:root {
  --cream:   #faf6f0;
  --sand:    #f0e6d3;
  --earth:   #3d2b1f;
  --cacao:   #6b3f2a;
  --orange:  #e8804a;
  --orange-lt: #f2a978;
  --green:   #4a6741;
  --ocean:   #5b8fa8;
  --ocean-lt:#8ab4c8;
  --mist:    #e8dfd4;
  --ink:     #1e1410;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--earth);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); opacity: 0.85; }

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.section { padding: clamp(4rem, 8vw, 8rem) 0; }

.mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-label {
  display: block;
  color: var(--orange);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.btn {
  display: inline-block;
  padding: 0.85em 2.2em;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn--primary:hover { background: var(--cacao); border-color: var(--cacao); }

.btn--outline {
  background: transparent;
  border-color: var(--earth);
  color: var(--earth);
}
.btn--outline:hover { background: var(--earth); color: var(--cream); }

.btn--white {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.btn--white:hover { background: #fff; color: var(--earth); }

/* ── Scroll bar ── */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--orange); width: 0%; z-index: 999;
  transition: width 0.1s linear;
}

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(61,43,31,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo__img { height: 52px; width: auto; }

.header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-toggle {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--earth);
  opacity: 0.5;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0.3em 0.6em;
  border: 1px solid rgba(61,43,31,0.2);
  border-radius: 2px;
  transition: opacity 0.2s;
}
.lang-toggle:hover { opacity: 0.9; }

.header__wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  padding: 0.5em 1.2em;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s;
}
.header__wa:hover { background: #1ebe5d; }
.header__wa svg { width: 16px; height: 16px; fill: #fff; }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background: linear-gradient(160deg, #3d2b1f 0%, #6b3f2a 40%, #5b8fa8 100%);
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,20,16,0.55) 0%, rgba(30,20,16,0.3) 60%, rgba(30,20,16,0.7) 100%);
  z-index: 1;
}

.hero__content {
  position: relative; z-index: 2;
  max-width: 820px;
  color: #fff;
}

.hero__label {
  color: var(--orange-lt);
  margin-bottom: 1.5rem;
}

.hero__title {
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__tagline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 580px;
  opacity: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.4);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-align: center;
}

/* ── About ── */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about__img-wrap {
  position: relative;
}
.about__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
  background: var(--mist);
}
.about__img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--sand) 0%, var(--mist) 100%);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__copy h2 { margin-bottom: 1.5rem; color: var(--earth); }
.about__copy p { margin-bottom: 1.2rem; }
.about__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cacao);
  margin-top: 1.5rem;
  display: block;
}

/* ── Services ── */
.services { background: var(--sand); }
.services__head { text-align: center; margin-bottom: 4rem; }
.services__head h2 { margin-bottom: 1rem; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  border-top: 3px solid var(--orange);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(61,43,31,0.1); }
.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--earth);
}
.service-card p { font-size: 0.9rem; }

/* ── Retreats ── */
.retreats {
  background: linear-gradient(135deg, var(--earth) 0%, var(--cacao) 100%);
  color: #fff;
}
.retreats .section-label { color: var(--orange-lt); }
.retreats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.retreats__copy h2 { color: #fff; margin-bottom: 1.5rem; }
.retreats__copy p { color: rgba(255,255,255,0.8); margin-bottom: 1.2rem; opacity: 1; }
.retreats__features {
  list-style: none;
  margin: 1.5rem 0 2rem;
}
.retreats__features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.retreats__features li::before {
  content: '—';
  color: var(--orange-lt);
  flex-shrink: 0;
}
.retreats__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.retreats__visual-block {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.retreats__visual-block:first-child {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

/* ── Community ── */
.community { background: var(--ocean); }
.community__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
}
.community .section-label { color: rgba(255,255,255,0.6); }
.community h2 { color: #fff; margin-bottom: 1.5rem; }
.community p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; opacity: 1; }

/* ── Contact / WhatsApp CTA ── */
.contact { background: var(--cream); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact__copy h2 { margin-bottom: 1.5rem; }
.contact__copy p { margin-bottom: 1rem; }
.contact__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #25D366;
  color: #fff;
  padding: 1em 2em;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.5rem;
  transition: background 0.2s;
}
.contact__wa-btn:hover { background: #1ebe5d; }
.contact__wa-btn svg { width: 22px; height: 22px; fill: #fff; }

.contact__info h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.contact__links { list-style: none; }
.contact__links li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--mist);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--earth);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0;
  text-align: center;
}
.footer__logo { margin: 0 auto 1.5rem; height: 48px; width: auto; filter: brightness(0) invert(1); opacity: 0.6; }
.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer__links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--orange-lt); }
.footer__copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1px;
  opacity: 0.4;
}

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about__grid,
  .retreats__grid,
  .contact__inner { grid-template-columns: 1fr; }
  .retreats__visual { display: none; }
  .header__wa span { display: none; }
}

/* ── Focus ── */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
