/* ============================================
   ALOE CIELO — Design System
   Iced Aloe Vera Gel · Cool down. Soothe. Replenish.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand colors — pulled from the product renders */
  --emerald-deep: #0F3D2E;
  --emerald-dark: #0A2A20;
  --emerald-mid:  #1A5240;
  --emerald-soft: #2E6651;
  --gold:         #C9A961;
  --gold-soft:    #D9BE7E;
  --gold-pale:    #E8D9B0;
  --aloe-gel:     #B8D4A8;
  --aloe-pale:    #DCE8D0;
  --cream:        #F5F1E8;
  --cream-light:  #FAF7F0;
  --marble:       #FBFAF6;
  --ink:          #2C2C2C;
  --ink-soft:     #5C5C5C;
  --line:         rgba(15, 61, 46, 0.15);
  --line-gold:    rgba(201, 169, 97, 0.4);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Didot', 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Spacing */
  --container: 1240px;
  --container-narrow: 920px;
  --pad-y: 7rem;
  --pad-y-sm: 4rem;

  /* Shadows */
  --shadow-soft: 0 20px 60px rgba(15, 61, 46, 0.08);
  --shadow-card: 0 10px 40px rgba(15, 61, 46, 0.12);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--marble);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease, opacity 0.3s ease; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--emerald-deep);
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.05;
  font-weight: 300;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  font-weight: 500;
}

h4 {
  font-size: 1.15rem;
  font-weight: 500;
}

p { margin: 0 0 1.2rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.eyebrow--light { color: var(--gold-soft); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--emerald-mid);
  font-style: italic;
}

.divider-gold {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  border: none;
}

.divider-gold.left { margin-left: 0; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: var(--pad-y) 0; }

.section--cream { background: var(--cream); }
.section--marble { background: var(--marble); }
.section--emerald {
  background: var(--emerald-deep);
  color: var(--cream);
}
.section--emerald h1,
.section--emerald h2,
.section--emerald h3,
.section--emerald h4 { color: var(--cream); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 3rem; }
  section { padding: var(--pad-y-sm) 0; }
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  background: rgba(15, 61, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
}

.nav__brand-mark {
  width: 28px;
  height: 28px;
}

.nav__brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  color: var(--cream);
}

.nav__links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
}

.nav__links a:hover { color: var(--gold-soft); }

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  background: var(--gold);
  color: var(--emerald-deep);
}

.nav__toggle { display: none; }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
}

/* spacer to offset fixed nav */
.nav-spacer { height: 80px; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--emerald-deep);
  background: var(--emerald-deep);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--emerald-mid);
  border-color: var(--emerald-mid);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--emerald-deep);
}

.btn--gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn--outline {
  background: transparent;
  color: var(--emerald-deep);
}

.btn--outline:hover {
  background: var(--emerald-deep);
  color: var(--cream);
}

.btn--outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--emerald-deep);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--emerald-deep) 0%, var(--emerald-dark) 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 97, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(184, 212, 168, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  color: var(--cream);
  font-weight: 300;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.85);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

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

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, rgba(184, 212, 168, 0.18) 0%, rgba(201, 169, 97, 0.08) 100%);
  border: 1px solid rgba(201, 169, 97, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.hero__visual-inner {
  text-align: center;
}

.hero__capsule {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; padding: 7rem 1.5rem 4rem; }
  .hero { min-height: auto; }
}

/* ============================================
   FEATURE STRIP (icons row)
   ============================================ */

.feature-strip {
  background: var(--emerald-deep);
  color: var(--cream);
  padding: 3rem 0;
  border-top: 1px solid var(--line-gold);
}

.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
}

.feature-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.feature-strip__icon {
  width: 36px;
  height: 36px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}

.feature-strip__label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
}

@media (max-width: 880px) {
  .feature-strip__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CARDS / PILLARS
   ============================================ */

.pillar {
  text-align: center;
  padding: 2rem 1rem;
}

.pillar__icon {
  width: 56px;
  height: 56px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
  margin: 0 auto 1.5rem;
}

.pillar h3 {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--emerald-deep);
  margin-bottom: 0.8rem;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============================================
   IMAGE / MOCKUP PANELS
   ============================================ */

.product-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 3rem;
  text-align: center;
  position: relative;
}

.product-card__emerald {
  background: var(--emerald-deep);
  color: var(--cream);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--gold);
}

.product-card__emerald h3 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.18em;
  font-weight: 400;
}

.product-card__emerald .small-text {
  color: var(--gold-soft);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: var(--emerald-deep);
  color: var(--cream);
  text-align: center;
  padding: 6rem 2rem;
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 60%);
}

.cta-banner h2 {
  color: var(--cream);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: rgba(245, 241, 232, 0.85);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--emerald-dark);
  color: var(--cream);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--line-gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand-mark {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.7);
  max-width: 280px;
  line-height: 1.6;
}

.footer__col h4 {
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li { margin-bottom: 0.7rem; }

.footer__col a {
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.75);
}

.footer__col a:hover { color: var(--gold-soft); }

.footer__bottom {
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(245, 241, 232, 0.5);
  letter-spacing: 0.1em;
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============================================
   FORMS
   ============================================ */

.form {
  display: grid;
  gap: 1.4rem;
  max-width: 640px;
  margin: 0 auto;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

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

.form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald-mid);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--marble);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--emerald-deep);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.3s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form textarea { min-height: 140px; resize: vertical; }

/* ============================================
   QUOTE / EDITORIAL BLOCK
   ============================================ */

.editorial {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.editorial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--emerald-deep);
  margin: 0 0 2rem;
  padding: 0;
}

.editorial cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */

.page-header {
  background: var(--emerald-deep);
  color: var(--cream);
  text-align: center;
  padding: 9rem 2rem 6rem;
  position: relative;
  background-image:
    radial-gradient(ellipse at center top, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
}

.page-header h1 {
  color: var(--cream);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.page-header__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-soft);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TIER / PROGRAM CARDS
   ============================================ */

.tier-card {
  background: var(--marble);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.tier-card--featured {
  background: var(--emerald-deep);
  color: var(--cream);
  border-top-color: var(--gold);
}

.tier-card--featured h3,
.tier-card--featured .tier-card__price { color: var(--cream); }

.tier-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.tier-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.tier-card__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--emerald-mid);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.tier-card li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}

.tier-card--featured li { border-bottom-color: rgba(201, 169, 97, 0.15); }

.tier-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.1rem;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ============================================
   PROCESS / STEPS
   ============================================ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}

.process__step { counter-increment: step; position: relative; }

.process__num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
}

.process__step h4 {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
}

.process__step p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

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

/* ============================================
   IMAGE FRAMES (decorative product cards)
   ============================================ */

.product-frame {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(184, 212, 168, 0.4) 0%, transparent 70%),
    var(--cream);
  border: 1px solid var(--line);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-frame--dark {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(201, 169, 97, 0.18) 0%, transparent 70%),
    var(--emerald-deep);
  border-color: var(--line-gold);
  color: var(--cream);
}

/* ============================================
   PHOTO SLOTS (hero + product frame)
   ============================================ */

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* When the photo is present, hide the gradient/padding on the wrapper */
.hero__visual:has(.hero__photo:not([style*="none"])) {
  padding: 0;
  background: var(--emerald-dark);
}

.product-frame--photo {
  padding: 0;
  overflow: hidden;
}

.product-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   GALLERY — wide / square / wide layout
   Top wide row, middle 4 squares, bottom wide row
   ============================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery__item:hover img { transform: scale(1.04); }

.gallery__item--wide {
  grid-column: span 4;
  aspect-ratio: 21 / 9;
}

/* Empty state no longer needed — SVG fallbacks always render */

@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* ============================================
   UTIL
   ============================================ */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 3rem; }
.mt-lg { margin-top: 3rem; }
.max-680 { max-width: 680px; margin-left: auto; margin-right: auto; }

.fine-print {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
