/*
  templates/glow/style.css
  ========================
  Beauty / skincare visual layer. Soft pink hero gradient, hot pink accent on
  CTAs, rounded everything, image-rich. Pairs well with personal care, skincare,
  cosmetics, wellness products.

  Brand variables (--bg, --text, --accent, --brand-dark, --font-heading, etc.)
  are set at runtime by shared/script.js from config.js. Static design tokens
  are here.

  Structure:
  1. Variables (brand defaults + static tokens)
  2. Base and reset
  3. Primitives (container, eyebrow, buttons, section title)
  4. Section blocks, in page order
  5. Responsive
*/

/* 1. VARIABLES ----------------------------------------------------------- */
:root {
  /* Brand colors (overridden from config.colors) */
  --bg: #ffffff;
  --surface: #ffffff;
  --accent-soft: #fef1f4;        /* pale pink panel */
  --accent-soft-deep: #fde7ed;   /* deeper pale pink (used for the hero gradient) */
  --text: #262b2c;
  --muted: #9ca7ab;
  --border: #e1e4e5;
  --accent: #fb235d;             /* hot pink */
  --accent-2: #ff3b6f;           /* hover */
  --accent-text: #ffffff;
  --brand-dark: #262b2c;
  --footer-bg: #262b2c;
  --footer-text: #e1e4e5;

  /* Fonts (overridden from config.fonts) */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Shape */
  --radius: 16px;
  --radius-pill: 999px;

  /* Layout */
  --maxw: 1100px;
  --section-y: 96px;

  /* 8px spacing scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;

  /* Type scale (pulled from the Elementor reference) */
  --fs-hero: clamp(2.5rem, 7vw, 4.5rem);     /* up to 72px */
  --fs-h2: clamp(1.875rem, 4vw, 2rem);       /* 30 to 32px */
  --fs-h3: 1.375rem;                         /* 22px */
  --fs-body: 1.0625rem;                      /* 17px */
  --fs-body-lg: 1.125rem;                    /* 18px */
  --fs-small: 0.875rem;                      /* 14px */
  --fs-eyebrow: 0.8125rem;                   /* 13px */
}

/* 2. BASE AND RESET ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; line-height: 1.15; letter-spacing: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

/* 3. PRIMITIVES ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-3);
}

.eyebrow,
.package-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  max-width: 24ch;
  margin: 0 0 var(--s-6);
  color: var(--text);
}

/* Buttons: pill shaped, hot pink solid by default */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  padding: 18px 32px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-text);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn-block { display: block; width: 100%; }

/* Light button (used on the dark band) */
.btn-light {
  background: #ffffff;
  color: var(--brand-dark);
  border-color: #ffffff;
}
.btn-light:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

/* 4. SECTION BLOCKS ------------------------------------------------------ */

/* SECTION: hero (pink gradient, two columns, big product image) */
.hero {
  background: linear-gradient(240deg, var(--accent-soft) 0%, var(--accent-soft-deep) 100%);
  color: var(--text);
  padding: var(--s-8) 0 var(--s-12);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.hero-logo { height: 36px; width: auto; }
.hero-brand-logo-only .hero-logo { height: 48px; }
.hero-business {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.hero-headline {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 16ch;
  margin: 0 0 var(--s-3);
  color: var(--text);
}

.hero-subheadline {
  font-size: var(--fs-body-lg);
  color: var(--text);
  opacity: 0.78;
  max-width: 50ch;
  margin: 0 0 var(--s-5);
}

.hero-media { justify-self: stretch; }
.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* SECTION: trust strip (subtle row under the hero) */
.trust {
  padding: var(--s-4) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
}
.trust-list li {
  position: relative;
  padding-left: var(--s-3);
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 600;
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* SECTION: highlight (conversion value prop, text-only) */
.highlight { padding: var(--section-y) 0 48px; background: var(--surface); }
.highlight-inner { max-width: 680px; }
.highlight-text .section-title { margin: var(--s-2) 0 var(--s-3); }
.highlight-body p {
  color: var(--muted);
  font-size: var(--fs-body);
  margin: 0 0 var(--s-2);
}
.highlight-body p:last-child { margin-bottom: 0; }

/* SECTION: packages (horizontal selection cards, click anywhere) */
.packages { padding: var(--section-y) 0 48px; background: var(--surface); }
.packages .section-title {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.packages-grid {
  display: grid;
  gap: var(--s-2);
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}
/* Each package is a row: image | content | radio indicator
   Explicit grid placement so DOM order doesn't matter. The columns are:
     [88px image] [content stretching] [auto badge] [22px radio] */
.package {
  display: grid;
  grid-template-columns: 88px 1fr auto 22px;
  grid-template-rows: auto auto auto auto;
  column-gap: var(--s-2);
  row-gap: 4px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--s-2);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.package:hover { border-color: var(--accent); }
.package.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.package-media {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--accent-soft);
  margin: 0;
  align-self: center;
}
.package-image { width: 100%; height: 100%; object-fit: cover; }
.package-name {
  grid-column: 2 / span 2;
  grid-row: 1;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: var(--text);
  align-self: end;
}
.package-desc {
  grid-column: 2 / span 2;
  grid-row: 2;
  color: var(--muted);
  font-size: var(--fs-small);
  margin: 0;
  line-height: 1.4;
}
.package-price {
  grid-column: 2 / span 2;
  grid-row: 3;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
  margin: 0;
  align-self: start;
  white-space: nowrap;
}
/* Most-popular pill chip. On mobile sits on its own row under the price; on
   wider screens it sits inline next to the price on the right. */
.package-badge {
  grid-column: 2 / span 2;
  grid-row: 4;
  justify-self: start;
  align-self: center;
  display: inline-block;
  background: var(--brand-dark);
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Hide the auto-rendered btn; the whole card is clickable */
.package .btn { display: none; }
/* Circular radio indicator, spans full height on the right */
.package-radio {
  grid-column: 4;
  grid-row: 1 / span 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  display: inline-block;
  position: relative;
  align-self: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.package.is-selected .package-radio {
  border-color: var(--accent);
  background: var(--accent);
}
.package.is-selected .package-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--surface);
}

/* SECTION: benefits (soft pink cards with check icon badge) */
.benefits { padding: var(--section-y) 0; background: var(--surface); }
.benefits .section-title {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.benefits-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
.benefit {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: var(--s-4);
  text-align: center;
}
.benefit::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--accent);
  margin: 0 auto var(--s-3);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.benefit-title { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 var(--s-1); }
.benefit-text { color: var(--muted); font-size: var(--fs-body); margin: 0; }

/* SECTION: how it works (steps with images, pink numerals) */
.steps { padding: var(--section-y) 0; background: var(--accent-soft); }
.steps .section-title {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text"
    "media media";
  align-items: start;
  column-gap: var(--s-3);
  row-gap: 0;
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--s-4);
}
.step-num {
  grid-area: num;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-body {
  display: contents;
}
.step-title {
  grid-area: title;
  font-size: var(--fs-h3);
  font-weight: 700;
  margin: 4px 0 var(--s-1);
}
.step-text {
  grid-area: text;
  color: var(--muted);
  font-size: var(--fs-body);
  margin: 0;
}
.step-media {
  grid-area: media;
  margin-top: var(--s-3);
  border-radius: 12px;
  overflow: hidden;
}
.step-image { width: 100%; height: auto; display: block; }

/* SECTION: testimonials (customer reviews, single column) */
.testimonials { padding: var(--section-y) 0; background: var(--surface); }
.testimonials-eyebrow {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.testimonials-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) var(--s-2);
  margin: 0 0 var(--s-5);
}
.testimonials-summary:empty { display: none; }
.testimonials-summary-stars {
  display: inline-flex;
  gap: 2px;
}
.testimonials-summary-stars .testimonial-star svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: var(--border);
}
.testimonials-summary-stars .testimonial-star.is-filled svg { fill: var(--accent); }
.testimonials-summary-rating {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.testimonials-summary-recommend {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
}
.testimonials-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
.testimonial {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 0;
  padding: var(--s-3);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--s-2);
}
.testimonial-star svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: var(--border);
}
.testimonial-star.is-filled svg { fill: var(--accent); }
.testimonial-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--s-1);
}
.testimonial-quote {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 var(--s-3);
  color: var(--muted);
}
.testimonial-foot { display: flex; align-items: center; gap: var(--s-2); }
.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
}
.testimonial-meta {
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

/* SECTION: faq (frequently asked questions) */
.faq { padding: var(--section-y) 0; background: var(--surface); border-top: 1px solid var(--border); }
.faq-eyebrow {
  display: block;
  margin-bottom: var(--s-4);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--s-4) 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--s-2);
  color: var(--text);
}
.faq-answer {
  color: var(--muted);
  font-size: var(--fs-body);
  margin: 0;
}

/* SECTION: call to action band (pink gradient with optional backdrop) */
.cta-band {
  background:
    linear-gradient(240deg, var(--accent-soft) 0%, var(--accent-soft-deep) 100%);
  color: #ffffff;
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cta-bg, none);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.55;
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-heading { font-size: var(--fs-h2); font-weight: 700; margin: 0 0 var(--s-2); color: #ffffff; }
.cta-text {
  color: #ffffff;
  opacity: 0.9;
  font-size: var(--fs-body-lg);
  margin: 0 0 var(--s-5);
}
/* The cta button on the band uses the accent style, not light */
.cta-band .cta-button {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.cta-band .cta-button:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

/* SECTION: form (rounded card, centered, soft pink bg) */
.order { padding: var(--section-y) 0; background: var(--accent-soft); }
.order-inner {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--s-6);
}
.order .section-title { margin-bottom: var(--s-2); }
.order-sub { color: var(--muted); font-size: var(--fs-body); margin: 0 0 var(--s-5); }
.field { margin-bottom: var(--s-3); }
.field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: var(--s-1);
}
.field input,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.field input::placeholder { color: #b8c0c2; }
.field input:focus,
.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23262b2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2 4 6 8 10 4'/%3E%3C/svg%3E");
}
.field select:invalid { color: #b8c0c2; }

/* Order summary card (pink accent panel) */
.order-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "info qty" "total total";
  align-items: center;
  gap: var(--s-2) var(--s-3);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--s-3);
  margin: var(--s-1) 0 var(--s-3);
}
.order-summary-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.order-summary-label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.order-summary-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.order-summary-price { font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }
.order-summary-total {
  grid-area: total;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: var(--s-2);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.order-summary-total-label {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.order-summary-total-value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent);
}

.qty {
  grid-area: qty;
  display: inline-flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  height: 40px;
}
.qty-btn {
  width: 36px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease;
}
.qty-btn:hover { background: var(--accent-soft); }
.qty-input {
  width: 44px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text);
  padding: 0;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }

.order-selected { font-size: var(--fs-body); font-weight: 600; margin: var(--s-1) 0 var(--s-3); }
.form-error { color: #b3261e; font-size: var(--fs-small); margin: 0 0 var(--s-2); }

/* SECTION: gallery (full width images on mobile, grid on desktop) */
.gallery { padding: var(--section-y) 0; background: var(--surface); }
.gallery-title {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.gallery-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}
.gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery-image { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.gallery-item:hover .gallery-image { transform: scale(1.03); }

/* SECTION: footer (dark band, centered/left aligned columns) */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: var(--s-8) 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
}
.footer-business { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: #ffffff; }
.footer-phone { font-size: var(--fs-small); color: var(--footer-text); text-decoration: none; opacity: 0.8; }
.footer-phone:hover { opacity: 1; }
.footer-social { display: flex; gap: var(--s-2); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--footer-text);
  opacity: 0.85;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.footer-social a:hover { opacity: 1; background: rgba(255, 255, 255, 0.16); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-copy { color: var(--footer-text); opacity: 0.5; font-size: var(--fs-small); }

/* Reveal on scroll (same pattern as organic) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.reveal-in,
  .package {
    opacity: 1;
    transform: none;
  }
}

/* 5. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 699px) {
  :root { --section-y: 64px; }
  .order-inner { padding: var(--s-4); }
}

@media (min-width: 460px) {
  /* Wider than tight phones: badge sits inline with price on the right */
  .package-price { grid-column: 2; }
  .package-badge {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    margin: 0;
  }
}

@media (min-width: 760px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  /* highlight is single-column text block — no grid override needed */

  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-6); }

  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .packages-grid[data-count="1"] { grid-template-columns: minmax(0, 380px); justify-content: center; }
  .packages-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
  .packages-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
  .packages-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid[data-count="1"] { grid-template-columns: minmax(0, 520px); justify-content: center; }
  .gallery-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1000px) {
  .packages-grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
}
