/* ─────────────────────────────────────────────────────────────────────────
   Echo Vale — All body sections
   intro / features / showcase / gallery / timeline / pricing /
   testimonials / faq / cta / footer
   ───────────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════════
   INTRO
══════════════════════════════════════════════════════════════════════════ */
.intro {
  min-height: 90vh;
  display: grid;
  align-items: center;
  border-top: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(2rem, 8vw, 10rem);
  align-items: start;
}
.intro h2 {
  max-width: 1120px;
  font: 500 clamp(3rem, 7.2vw, 8rem)/.98 'Unbounded', sans-serif;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.intro h2 em {
  color: var(--ember);
  font-style: normal;
}
.intro-note {
  margin-top: 3rem;
  margin-left: auto;
  max-width: 34rem;
  color: rgba(233, 237, 230, .62);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════════════════════ */
.features {
  border-top: 1px solid var(--line);
  background: #090c0b;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-card {
  min-height: 430px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .4s;
}
.feature-card:hover { background: rgba(233, 237, 230, .035); }

/* Feature symbol: CSS geometry instead of Supabase images */
.feature-symbol {
  width: 96px;
  height: 96px;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-symbol::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}
/* Card 1 — diamond (slow tempo) */
.feature-card:nth-child(1) .feature-symbol::after {
  content: '';
  width: 34px;
  height: 34px;
  border: 1px solid var(--ember);
  transform: rotate(45deg);
  animation: breathe-1 5s ease-in-out infinite;
}
/* Card 2 — circle (sense/deep) */
.feature-card:nth-child(2) .feature-symbol::after {
  content: '';
  width: 34px;
  height: 34px;
  border: 1px solid var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(228, 75, 60, .35);
  animation: breathe-2 5s ease-in-out infinite 1.6s;
}
/* Card 3 — slash (group/small) */
.feature-card:nth-child(3) .feature-symbol::after {
  content: '';
  width: 1px;
  height: 54px;
  transform: rotate(32deg);
  background: var(--ember);
  border: 0;
  animation: breathe-3 5s ease-in-out infinite 3.2s;
}

.feature-card h3 {
  margin: 1rem 0 .5rem;
  font: 500 1.35rem/1.2 'Unbounded', sans-serif;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.feature-card .micro { color: rgba(233, 237, 230, .52); }
.feature-card p {
  color: rgba(233, 237, 230, .55);
  font-size: .85rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOWCASE (sticky split scroll)
══════════════════════════════════════════════════════════════════════════ */
.showcase {
  background: #dfe4dd;
  color: #111513;
}
.showcase-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(3rem, 7vw, 8rem);
}
.showcase-visual {
  position: sticky;
  top: 7rem;
  height: calc(100vh - 9rem);
  overflow: hidden;
}
.showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.44), transparent 42%);
}
.visual-label {
  position: absolute;
  z-index: 2;
  inset: auto 1.4rem 1.4rem;
  display: flex;
  justify-content: space-between;
  color: #fff;
}
.showcase-copy {
  padding-block: 14vh;
}
.show-step {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(17, 21, 19, .22);
}
.show-step:first-child { border-top: 0; }
.show-step h3 {
  margin: 1rem 0 1.4rem;
  font: 500 clamp(2.1rem, 3.7vw, 4.6rem)/1 'Unbounded', sans-serif;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.show-step p {
  max-width: 30rem;
  color: rgba(17, 21, 19, .63);
  line-height: 1.85;
}
.show-step .step-no {
  color: #b53b31;
  font: 500 .7rem 'Unbounded', sans-serif;
  letter-spacing: .2em;
}

/* ══════════════════════════════════════════════════════════════════════════
   GALLERY (horizontal scroll-driven carousel)
══════════════════════════════════════════════════════════════════════════ */
.gallery-scroll {
  height: 360vh;
  position: relative;
  background: #080a09;
}
.gallery-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gallery-head {
  padding: 0 3vw 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.gallery-head h2 {
  margin: 0;
  font: 500 clamp(3rem, 6vw, 7rem)/.88 'Unbounded', sans-serif;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.gallery-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding: 0 3vw;
  width: max-content;
  will-change: transform;
}
.gallery-card {
  width: min(38vw, 560px);
  height: 67vh;
  position: relative;
  overflow: hidden;
  background: #141817;
  border: 1px solid var(--line);
  perspective: 800px;
}
.gallery-card:nth-child(even) { margin-top: 4vh; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .6s;
}
.gallery-card:hover img { transform: scale(1.06); filter: saturate(1.12); }
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 45%);
}
.gallery-meta {
  position: absolute;
  z-index: 2;
  inset: auto 1.35rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.gallery-meta h3 {
  margin: .35rem 0 0;
  font: 500 1.3rem 'Unbounded', sans-serif;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.gallery-meta .arrow { font-size: 1.8rem; }
.gallery-progress {
  width: 180px;
  height: 1px;
  background: rgba(233, 237, 230, .18);
  margin-bottom: .6rem;
}
.gallery-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ember);
  transition: width .05s linear;
}

/* ══════════════════════════════════════════════════════════════════════════
   TIMELINE
══════════════════════════════════════════════════════════════════════════ */
.timeline {
  background: #0d1110;
  border-top: 1px solid var(--line);
}
.timeline-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.timeline-item {
  border-top: 1px solid var(--line);
  padding: 1.7rem 2rem 1rem 0;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 24px rgba(228, 75, 60, .7);
}
.timeline-item h3 {
  margin: 3rem 0 1rem;
  font: 500 1.05rem 'Unbounded', sans-serif;
  text-transform: uppercase;
}
.timeline-item p {
  color: rgba(233, 237, 230, .5);
  font-size: .8rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════════════════ */
.pricing {
  background: #dfe4dd;
  color: #101412;
}
.pricing .section-head p { color: rgba(16, 20, 18, .6); }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.price-card {
  min-height: 590px;
  border: 1px solid rgba(16, 20, 18, .22);
  padding: clamp(1.6rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out);
}
.price-card:hover { transform: translateY(-9px); }
.price-card.featured {
  background: #101412;
  color: var(--bone);
}
.price-card.featured::before {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: var(--ember);
  filter: blur(95px);
  opacity: .19;
  right: -130px; top: -180px;
  pointer-events: none;
}
.price-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-card h3 {
  margin: 4rem 0 1rem;
  font: 500 clamp(2rem, 3vw, 3.3rem) 'Unbounded', sans-serif;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.price {
  font: 500 clamp(3.8rem, 6vw, 7.2rem)/1 'Unbounded', sans-serif;
  letter-spacing: -.08em;
}
.price small {
  font: 400 .75rem 'Manrope', sans-serif;
  letter-spacing: .08em;
}
.price-list {
  list-style: none;
  margin: auto 0 2.5rem;
}
.price-list li {
  padding: .85rem 0;
  border-top: 1px solid rgba(127, 127, 127, .24);
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════════════════ */
.testimonials { background: #070908; }
.quotes {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 1rem;
}
.quote {
  min-height: 440px;
  border: 1px solid var(--line);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote blockquote {
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.35;
  letter-spacing: -.03em;
}
.quote:first-child blockquote {
  font: 400 clamp(1.7rem, 3.2vw, 3.6rem)/1.2 'Unbounded', sans-serif;
  letter-spacing: -.055em;
}
.quote-person {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  color: rgba(233, 237, 230, .6);
}
.quote-person b {
  display: block;
  color: var(--bone);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ══════════════════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════════════════ */
.faq { background: #0d1110; }
.faq-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(3rem, 8vw, 10rem);
}
.faq-title {
  position: sticky;
  top: 8rem;
  align-self: start;
}
.faq-title h2 {
  margin: .9rem 0 1.4rem;
  font: 500 clamp(3rem, 5vw, 5.8rem)/.92 'Unbounded', sans-serif;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.faq-question span:first-child {
  font: 500 clamp(.9rem, 1.25vw, 1.15rem) 'Unbounded', sans-serif;
  text-transform: uppercase;
  letter-spacing: -.03em;
}
.faq-plus {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform .4s, background .4s, border-color .4s;
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--ember);
  border-color: var(--ember);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease-out);
}
.faq-answer > div { overflow: hidden; }
.faq-answer p {
  margin: 0;
  padding: 0 3rem 1.7rem 0;
  max-width: 44rem;
  color: rgba(233, 237, 230, .56);
  line-height: 1.8;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

/* ══════════════════════════════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════════════════════════════ */
.cta {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}
.cta-media {
  position: absolute;
  inset: 0;
}
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 6, .58);
  backdrop-filter: saturate(.78);
}
.cta-content {
  position: relative;
  z-index: 2;
  width: min(92%, 1120px);
}
.cta h2 {
  margin: 1.2rem auto 2rem;
  font: 500 clamp(3.1rem, 8.2vw, 9.6rem)/.86 'Unbounded', sans-serif;
  letter-spacing: -.08em;
  text-transform: uppercase;
}
.cta h2 span { color: var(--ember); }
.cta-form {
  width: min(100%, 650px);
  margin: auto;
  display: flex;
  border-bottom: 1px solid rgba(233, 237, 230, .5);
}
.cta-form input {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  color: var(--bone);
  border: 0;
  outline: 0;
}
.cta-form input::placeholder { color: rgba(233,237,230,.45); }
.cta-form button {
  border: 0;
  background: transparent;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bone);
  padding: 0 0 0 1rem;
  transition: color .25s;
}
.cta-form button:hover { color: var(--ember); }
.form-note {
  min-height: 1.2em;
  margin-top: 1rem;
  color: rgba(233, 237, 230, .6);
  font-size: .72rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: #050706;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .6fr);
  gap: 2rem;
}
.footer-brand p {
  max-width: 25rem;
  color: rgba(233, 237, 230, .5);
  line-height: 1.7;
  font-size: .8rem;
  margin-top: 1.5rem;
}
.footer-col h4 {
  color: rgba(233, 237, 230, .4);
  margin: 0 0 1rem;
}
.footer-col a {
  display: block;
  color: var(--bone);
  text-decoration: none;
  margin: .65rem 0;
  font-size: .79rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--ember); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(233, 237, 230, .38);
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE (section-level)
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .intro-grid            { grid-template-columns: 1fr; }
  .feature-grid          { grid-template-columns: 1fr; }
  .feature-card          { min-height: 350px; }
  .showcase-layout       { grid-template-columns: 1fr; }
  .showcase-visual       { position: relative; top: 0; height: 70vh; }
  .show-step             { min-height: auto; padding: 5rem 0; }
  .gallery-card          { width: 76vw; }
  .timeline-grid         { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .price-grid            { grid-template-columns: 1fr; }
  .quotes                { grid-template-columns: 1fr; }
  .quote                 { min-height: 330px; }
  .faq-layout            { grid-template-columns: 1fr; }
  .faq-title             { position: relative; top: 0; }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .section-head          { align-items: start; flex-direction: column; }
  .gallery-head          { align-items: start; flex-direction: column; gap: 1.5rem; }
  .timeline-grid         { grid-template-columns: 1fr; }
  .price-card            { min-height: 520px; }
  .footer-grid           { grid-template-columns: 1fr; }
  .footer-bottom         { flex-direction: column; }
}
