/* El Templo del Despertar — home page styles
   Palette + type from the "tipografía espiritual" design pass. */

:root {
  --color-bg: #F1EFE2;
  --color-text: #443532;
  --color-accent: #B48C77;
  --color-accent-100: #F3E3DB;
  --color-accent-200: #DFB8AA;
  --color-accent-300: #D0A491;
  --color-accent-700: #916454;
  --color-accent-800: #764f42;
  --color-accent-900: #443532;
  --color-accent-2-100: #EDE8DD;
  --color-neutral-100: #F1EFE2;
  --color-neutral-200: #E4E0CF;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(46, 43, 37, 0.14);
  --shadow-lg: 0 12px 32px rgba(46, 43, 37, 0.22);
}

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

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

a { color: var(--color-accent-700); text-decoration: none; }
a:hover { color: var(--color-accent-800); }

:focus-visible { outline: 2px solid var(--color-accent-700); outline-offset: 2px; }

.h1, .h1-italic { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0; margin: 0; }
.h1-italic { font-style: italic; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none; border: none;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 15px; line-height: 1.2; color: var(--color-bg);
  background: var(--color-accent-700);
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: scale(.98); }
.btn svg { display: block; }
.btn-icon {
  width: 36px; height: 36px; padding: 0; border-radius: 999px;
  background: var(--color-neutral-100); color: var(--color-text);
  border: 1px solid var(--color-neutral-200);
}
.btn-icon:hover { filter: brightness(0.98); }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* — forms — */
.input {
  width: 100%; min-height: 44px; padding: 10px 16px; font: inherit;
  font-size: 14px; color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-neutral-200); border-radius: 999px;
  box-sizing: border-box;
}
.input:focus-visible { border-color: var(--color-accent-700); outline-offset: 0; }

/* — imagery — */
.washed { filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94); }

.img-placeholder {
  width: 100%; height: 100%; display: grid; place-content: center;
  background: var(--color-neutral-200);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  font-size: 12px; text-align: center; padding: 8px;
}

/* — scroll reveal — */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
}

/* — nav — */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 24px 48px;
}
.site-nav__brand { display: flex; align-items: center; gap: 12px; height: 40px; color: var(--color-text); }
.site-nav__brand img { height: 100%; width: auto; }
.site-nav__brand span { font-family: var(--font-heading); font-weight: 700; font-size: 19px; }
.site-nav__links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; flex-wrap: wrap; color: var(--color-text); }
.site-nav__links a { color: inherit; }

/* — hero — */
.hero {
  position: relative; display: grid; grid-template-columns: 1fr;
  height: 640px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 82%;
  background: linear-gradient(180deg, rgba(68, 53, 50, 0) 0%, rgba(68, 53, 50, .38) 60%, rgba(68, 53, 50, .52) 100%);
}
.hero__content {
  position: relative; z-index: 1; max-width: 1280px; width: 100%;
  margin: 0 auto; padding: 0 48px; align-self: flex-end; padding-bottom: 56px;
  text-shadow: 0 2px 14px rgba(68, 53, 50, .45);
}
.hero__kicker {
  display: inline-block; font-size: 16.5px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--color-accent-900); margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(36px, 5.6vw, 62px); line-height: 0.98; color: var(--color-accent-700);
  max-width: 16ch;
}
.hero__desc {
  font-size: 18px; line-height: 1.55; color: color-mix(in srgb, var(--color-bg) 90%, transparent);
  max-width: 46ch; margin: 20px 0 0;
}
.hero__actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.hero__cta { background: var(--color-accent-700); }
.hero__stats { display: flex; gap: 36px; margin-top: 26px; flex-wrap: wrap; }
.hero__stat-num { font-family: var(--font-heading); font-size: 44px; color: var(--color-bg); line-height: 1; text-align: center; }
.hero__stat-label { font-size: 23px; color: color-mix(in srgb, var(--color-bg) 80%, transparent); margin-top: 5px; font-weight: 500; text-align: center; }

@media (max-width: 860px) {
  .hero { height: auto; padding-bottom: 60px; }
}

/* — qué hacemos / qué no — */
.what {
  background: var(--color-accent);
  padding: 28px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  max-width: 1184px; margin: 0 auto;
}
.what h3 { font-family: var(--font-heading); font-size: 22px; margin: 0 0 18px; color: var(--color-bg); }
.what--no h3 { color: var(--color-accent-100); }
.what ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.what li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; color: var(--color-bg); }
.what--no li { color: color-mix(in srgb, var(--color-bg) 88%, transparent); }
.what li svg { flex: none; margin-top: 1px; }
.what--no { border-left: 1px solid color-mix(in srgb, var(--color-bg) 35%, transparent); padding-left: 44px; }

@media (max-width: 860px) {
  .what { grid-template-columns: 1fr; }
  .what--no { border-left: none; padding-left: 0; margin-top: 8px; }
}

/* — servicios — */
.services { max-width: 1280px; margin: 0 auto; padding: 64px 48px; }
.services h2 { font-size: 32px; color: var(--color-text); margin: 0 0 28px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  border-radius: 24px; overflow: hidden; background: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-200);
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card__media { height: 150px; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { padding: 22px 24px; }
.svc-card__body h3 { font-family: var(--font-heading); font-size: 19px; margin: 0 0 8px; color: var(--color-text); }
.svc-card__body p { font-size: 14px; line-height: 1.55; margin: 0; color: color-mix(in srgb, var(--color-text) 75%, transparent); }
@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } }
@media (max-width: 860px) { .services__grid { grid-template-columns: 1fr; } }

/* — galería — */
.gallery { max-width: 1280px; margin: 0 auto; padding: 0 48px 64px; }
.gallery__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.gallery__head h2 { font-size: 24px; color: var(--color-text); margin: 0; }
.gallery__controls { display: flex; gap: 10px; }
.gallery__track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 300px; scroll-snap-align: start; border-radius: 20px;
  overflow: hidden; aspect-ratio: 4/3;
}

/* — fundadora + testimonio — */
.founder {
  max-width: 1280px; margin: 0 auto; padding: 0 48px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
}
.founder__profile { display: flex; gap: 24px; align-items: center; padding: 12px 48px 12px 0; }
.founder__photo {
  width: 168px; height: 168px; border-radius: 50%; overflow: hidden; flex: none;
  box-shadow: var(--shadow-sm);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); }
.founder__name { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 35px; margin: 5px 0 7px; color: var(--color-text); }
.founder__bio { font-size: 19.2px; line-height: 1.55; margin: 0; color: color-mix(in srgb, var(--color-text) 78%, transparent); max-width: 520px; }
.founder__bio b { font-weight: 600; }

.testimonial {
  background: var(--color-accent-2-100); margin: 0; padding: 40px 48px;
  border-radius: 28px; display: flex; flex-direction: column; justify-content: center;
}
.testimonial blockquote {
  font-family: var(--font-heading); font-style: italic; font-weight: 500;
  font-size: 23px; line-height: 1.45; margin: 0; color: var(--color-text); max-width: 32ch;
}
.testimonial figcaption { font-size: 13.5px; margin-top: 16px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }

@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* — presencia en medios — */
.media { max-width: 1280px; margin: 0 auto; padding: 0 48px 64px; }
.media__kicker {
  display: block; text-align: center; font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 55%, transparent); margin-bottom: 22px;
}
.media__logos { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.media__logo { width: 140px; height: 56px; border-radius: 14px; overflow: hidden; }
.media__logo img { width: 100%; height: 100%; object-fit: cover; }

.media__videos { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.media__video { position: relative; width: 280px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; }
.media__video-play {
  position: absolute; inset: 0; display: grid; place-content: center; pointer-events: none;
}
.media__video-play span {
  display: grid; place-content: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(241, 239, 226, .88); color: var(--color-text);
}

/* — CTA final — */
.cta { position: relative; overflow: hidden; background: var(--color-text); }
.cta__blob {
  position: absolute; right: -90px; bottom: -120px; width: 300px; height: 300px;
  border-radius: 50%; background: var(--color-accent); opacity: .9;
}
.cta__inner {
  position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 64px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background-color: var(--color-accent-700);
}
.cta__title { font-size: 38px; color: var(--color-bg); margin: 0; }
.cta__desc { font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-bg) 84%, transparent); margin: 16px 0 26px; max-width: 42ch; }
.cta__whatsapp { display: inline-flex; align-items: center; gap: 9px; color: var(--color-accent-200); font-weight: 600; font-size: 15px; }
.cta__form { background: var(--color-bg); border-radius: 22px; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* — footer — */
.site-footer {
  max-width: 1280px; margin: 0 auto; padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
