@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --primary: #ffb800;
  --primary-hover: #e0a200;
  --secondary: #3aafa9;
  --secondary-hover: #2e8c87;
  --accent-blue: #4a90e2;
  --accent-pink: #ff6b8b;
  --text-dark: #1d2a44;
  --text-muted: #383e47;
  --bg-white: #ffffff;
  --bg-light: #f4f8fa;
  --bg-card: #ffffff;
  --font-heading: "Outfit", "Quicksand", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --container-max: 1200px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-soft: 0 10px 30px rgba(29, 42, 68, 0.08);
  --shadow-hover: 0 18px 40px rgba(29, 42, 68, 0.15);
  --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  color: var(--text-dark);
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open,
body.modal-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  margin-bottom: 1.4rem;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 0.65rem;
}
p {
  color: var(--text-muted);
}
:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 9999;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  background: var(--text-dark);
  color: white;
}
.skip-link:focus {
  top: 1rem;
}
.container {
  width: min(calc(100% - 2rem), var(--container-max));
  margin-inline: auto;
}
.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}
.section--light {
  background: var(--bg-light);
}
.section--dark {
  color: white;
  background: var(--text-dark);
}
.section--dark p {
  color: #c9d4e4;
}
.section--mint {
  background: #eaf9f7;
}
.section--gold {
  background: #fff7db;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--secondary-hover);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.77rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}

.head-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.77rem;
  color: var(--primary);
  font-weight: 700;
  justify-content: center;
  align-items: center;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
  margin-inline: auto;
  text-align: center;
}
.section-heading.center {
  margin-inline: auto;
  text-align: center;
}
.section-heading p {
  max-width: 620px;
  font-size: 1.08rem;
}
.section-heading.center p {
  margin-inline: auto;
}
.accent {
  color: var(--secondary);
}
.gold {
  color: var(--primary);
}
.small {
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(29, 42, 68, 0.07);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  white-space: nowrap;
}
.brand img {
  width: auto;
  height: 40px;
  display: block;
  object-fit: contain;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 12px;
  background: var(--primary);
  color: var(--text-dark);
  transform: rotate(-8deg);
}
.brand-mark span {
  transform: rotate(8deg);
}
.site-nav {
  margin-left: auto;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.4vw, 1.25rem);
}
.mobile-nav {
  display: none;
}
.nav-link,
.dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  cursor: pointer;
  color: var(--text-dark);
}
.nav-link::after,
.dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.2rem;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
  transition: right 0.25s ease;
}
.nav-link:hover,
.nav-link.active,
.dropdown-trigger:hover,
.dropdown-trigger.active,
.nav-dropdown:focus-within > .dropdown-trigger {
  color: var(--text-dark);
}
.nav-link:hover::after,
.nav-link.active::after,
.dropdown-trigger:hover::after,
.dropdown-trigger.active::after,
.nav-dropdown:focus-within > .dropdown-trigger::after {
  right: 0;
}
.dropdown-chevron {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  z-index: 950;
  min-width: 210px;
  padding: 0.55rem;
  border: 1px solid rgba(29, 42, 68, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(0.97);
  transform-origin: top center;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown-menu a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 11px;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}
.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--text-dark);
  background: var(--bg-light);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.header-cta {
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--text-dark);
  transition: 0.25s;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.78rem 1.35rem;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: var(--transition-spring);
  color: var(--text-dark);
}
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  opacity: 0;
}
.btn:hover {
  transform: translateY(-3px) scale(1.04);
}
.btn:active {
  transform: scale(0.95);
}
.btn:active::after {
  animation: ripple 0.5s ease-out;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(255, 184, 0, 0.27);
}
.btn-primary:hover {
  background: var(--primary-hover);
}
.btn-secondary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 8px 20px rgba(58, 175, 169, 0.24);
}
.btn-secondary:hover {
  background: var(--secondary-hover);
}
.btn-ghost {
  border-color: rgba(29, 42, 68, 0.15);
  background: white;
}
.btn-ghost:hover {
  border-color: var(--secondary);
}
.btn-sm {
  min-height: 42px;
  padding: 0.62rem 1rem;
  font-size: 0.9rem;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
  justify-content: center;
  z-index: 1000;
  position: relative;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, #fff0ad 0, transparent 28%),
    radial-gradient(circle at 5% 90%, #d7f6f2 0, transparent 28%),
    var(--bg-light);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(74, 144, 226, 0.2);
  pointer-events: none;
}
.hero::before {
  width: 260px;
  height: 260px;
  right: -90px;
  top: 20%;
}
.hero::after {
  width: 170px;
  height: 170px;
  left: -70px;
  bottom: 8%;
}
.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  justify-content: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  justify-content: center;
  text-align: center;
  display: grid;
}
.hero-copy p {
  max-width: 630px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.hero-visual {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}
.hero-blob {
  width: min(100%, 470px);
  aspect-ratio: 1;
  border-radius: 42% 58% 66% 34% / 48% 43% 57% 52%;
  background: linear-gradient(145deg, var(--primary), #ffd867);
  transform: rotate(-5deg);
  box-shadow: 0 30px 80px rgba(255, 184, 0, 0.25);
}
.hero-visual img {
  position: absolute;
  width: min(92%, 460px);
  object-fit: contain;
  filter: drop-shadow(0 25px 20px rgba(29, 42, 68, 0.12));
}
.mini-card {
  position: absolute;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(29, 42, 68, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}
.mini-card.one {
  left: 0;
  top: 18%;
}
.mini-card.two {
  right: 0;
  bottom: 15%;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.trust-item i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #dff5f1;
  color: var(--secondary-hover);
  font-style: normal;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.35rem;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  padding: clamp(0.7rem, 5vw, 1rem);
  border: 1px solid rgba(29, 42, 68, 0.07);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-spring);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.founder-card {
  border: 1px solid rgba(29, 42, 68, 0.07);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-spring);
}
.icon-box {
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.icon-box img {
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.icon-box.pink {
  background: #ffe5eb;
}
.initiative {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}
.initiative::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    0deg,
    rgba(29, 42, 68, 0.94),
    rgba(29, 42, 68, 0.05)
  );
}
.initiative.haven {
  background: linear-gradient(140deg, #3aafa9, #8ed8d4);
}
.initiative.media {
  background: linear-gradient(140deg, #4a90e2, #8368dc);
}
.initiative-art {
  inset: 1rem 1rem auto auto;
  font-size: 7rem;
}
.initiative-art img {
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
  aspect-ratio: 4/3;
}
.initiative > *:not(.initiative-art) {
  position: relative;
  z-index: 1;
}
.initiative p {
  color: #eaf4ff;
  max-width: 510px;
}
.initiative .btn {
  align-self: flex-start;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat strong {
  display: block;
  color: var(--secondary);
  font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-heading);
}
.stat span {
  color: var(--text-muted);
  font-weight: 700;
}
.quote {
  padding-left: 1.5rem;
  border-left: 5px solid var(--primary);
  font-size: 1.25rem;
}
.avatar {
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.avatar img {
  border-radius: 12px;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.tag {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-full);
  background: #eaf9f7;
  color: var(--secondary-hover);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.media-frame {
  min-height: 240px;
  display: grid;
  place-items: center;
  margin: -2rem -2rem 1.4rem;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(145deg, #dcecff, #fff2bd);
  font-size: 5rem;
}
.media-card {
  overflow: hidden;
}
.check-list {
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin: 0.7rem 0;
  color: var(--text-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff5f1;
  color: var(--secondary-hover);
  font-weight: 900;
  font-size: 0.75rem;
}
.timeline {
  position: relative;
  padding-left: 2.8rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 3px;
  background: #dce7ed;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.75rem;
  top: 0.2rem;
  width: 31px;
  height: 31px;
  border: 7px solid white;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px #e7edf1;
}
.timeline-item time {
  color: var(--secondary-hover);
  font-weight: 800;
}

.page-hero {
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
  background: linear-gradient(140deg, #f4f8fa 45%, #e7f8f5);
  display: grid;
  justify-content: center;
  align-items: center;
  padding-bottom: 5rem;
  height: 92vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-dark);
  position: relative;
}
.page-hero .container {
  position: relative;
  z-index: 10;
  padding-bottom: 3rem;
}
.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 6vw, 5rem);
}
.page-hero p {
  max-width: 680px;
  font-size: 1.16rem;
  color: var(--text-muted);
}
.crumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.page-hero[style*="background-image"] {
  color: var(--bg-card);
}
.page-hero[style*="background-image"] p,
.page-hero[style*="background-image"] .crumbs {
  color: white;
}
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 3rem);
  align-items: center;
}
.visual-panel {
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: linear-gradient(145deg, #ffdf7b, #f8b6c4);
  font-size: 9rem;
  box-shadow: var(--shadow-soft);
}
.visual-panel img {
  border-radius: 12px;
  object-fit: cover;
}
.schedule-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e2eaee;
}
.schedule-row time {
  color: var(--secondary-hover);
  font-weight: 800;
}
.price-card {
  position: relative;
  text-align: center;
}
.price-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-10px);
}
.price {
  display: block;
  margin: 1rem 0;
  font: 800 2.5rem var(--font-heading);
}
.price small {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.notice {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff7dc;
  color: var(--text-dark);
  margin-top: 16px;
}

.form-shell {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-weight: 800;
  font-size: 0.9rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #dbe5ea;
  border-radius: var(--radius-sm);
  background: #fbfdfe;
  color: var(--text-dark);
  transition: 0.2s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
  margin-bottom: 16px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(58, 175, 169, 0.12);
}
.form-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  font-weight: 700;
}
.tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-light);
}
.tab-btn {
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
  cursor: pointer;
}
.tab-btn.active {
  background: white;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(29, 42, 68, 0.08);
}
.tab-panel[hidden] {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Heavy dark overlay */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: #ffffff;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  border: 1px solid #1a1a1a;
  border-radius: 24px; /* Enforcing the sharp edge rule */
  text-align: center;
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1);
}

.modal-box h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.accordion-item {
  margin-bottom: 0.75rem;
  border: 1px solid #e2eaee;
  border-radius: var(--radius-sm);
  background: white;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}
.accordion-trigger span {
  transition: transform 0.25s;
}
.accordion-trigger[aria-expanded="true"] span {
  transform: rotate(45deg);
}
.accordion-panel {
  padding: 0 1.2rem 1rem;
}
.accordion-panel[hidden] {
  display: none;
}
.map-placeholder {
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #eaf2f5;
  background-image:
    linear-gradient(
      30deg,
      rgba(58, 175, 169, 0.12) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(58, 175, 169, 0.12) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(74, 144, 226, 0.12) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(74, 144, 226, 0.12) 87.5%
    );
  background-size: 80px 140px;
}
.map-pin {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50% 50% 50% 10px;
  background: var(--accent-pink);
  color: white;
  font-size: 2rem;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-hover);
}
.map-pin span {
  transform: rotate(45deg);
}

/* Contact Page Map Container */
.contact-map-wrapper {
  width: 100%;
  height: 450px; /* Nice wide aspect ratio for desktop */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
  background: #f4f4f4;
  margin-top: 20px;
}

/* Ensure iframe fits container perfectly */
.contact-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   MULTI-STEP FORM STYLES
   ========================================================================== */
.form-step {
  display: none;
  animation: fadeStepIn 0.4s ease forwards;
}

.form-step.active {
  display: block;
}

@keyframes fadeStepIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Action Button Layouts */
.form-actions {
  display: flex;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  gap: 8px;
}

.form-actions.right {
  justify-content: flex-end;
}

.form-actions.split {
  justify-content: space-between;
}

/* Consent Block Styling */
.consent-block {
  background: rgba(0,0,0,0.03);
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.consent-block strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.consent-block p {
  margin: 0 0 1rem;
  color: var(--text-dark);
}

.checkbox-label, .radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  accent-color: var(--primary);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-map-wrapper {
    height: 300px; /* Shorter on mobile so it doesn't hog the whole screen */
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 30, 51, 0.68);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  width: min(100%, 650px);
  max-height: min(90vh, 800px);
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  transform: translateY(30px) scale(0.96);
  transition: var(--transition-spring);
}
.modal.open .modal-dialog {
  transform: none;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.modal-close {
  position: absolute;
  top: 1.5rem; 
  right: 1.5rem;
  z-index: 10;
  flex: 0 0 auto;
  display: flex;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  justify-content: center;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 34px;
  background: var(--text-dark);
  color: white;
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.2;
}
.cta-band p {
  color: #cbd5e4;
  max-width: 620px;
  margin-inline: auto;
}
.site-footer {
  padding: 4rem 0 1.5rem;
  background: #121d31;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.site-footer p,
.site-footer a {
  color: #aebbd0;
}
.site-footer a:hover {
  color: var(--primary);
}
.site-footer .brand {
  display: inline-flex;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: white;
}
.footer-links {
  display: grid;
  gap: 0.55rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8f9db3;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    z-index: 2;
  }
  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    margin-left: 0;
    padding: 1rem 1rem 1.35rem;
    background: white;
    box-shadow: var(--shadow-hover);
    transform: translateY(-130%);
    opacity: 0;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    transition: 0.3s ease;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: grid;
    gap: 0.25rem;
    width: min(100%, var(--container-max));
    margin-inline: auto;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.72rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 800;
  }
  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: var(--text-dark);
    background: var(--bg-light);
  }
  .mobile-nav .mobile-contact {
    justify-content: center;
    margin-top: 0.35rem;
    background: var(--primary);
    color: var(--text-dark);
  }
  .header-cta {
    display: none;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero-grid,
  .feature-split {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-visual {
    min-height: 400px;
    max-width: 520px;
    margin-inline: auto;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .section {
    padding-block: 4.5rem;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual {
    min-height: 340px;
  }
  .mini-card {
    font-size: 0.8rem;
  }
  .initiative {
    min-height: 370px;
  }
  .field.full {
    grid-column: auto;
  }
  .price-card.featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .tabs {
    width: 100%;
    border-radius: 18px;
  }
  .tab-btn {
    flex: 1;
    border-radius: 14px;
  }
}
@media (max-width: 430px) {
  .button-row .btn {
    width: 100%;
  }
  .btn-primary {
    width: 100%;
  }
  .hero-visual {
    min-height: 290px;
  }
  .hero-blob {
    width: 90%;
  }
  .mini-card.one {
    top: 6%;
  }
  .mini-card.two {
    bottom: 4%;
  }
  .btn-secondary {
    width: 100%;
  }
  .brand img {
    height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Base Hero Modifications for Video Mode */
.hero.hero-video {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--text-dark); /* Dark fallback background */
  color: var(--bg-white);
}

/* Background Video Wrapper */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero-vimeo-video {
  width: 100vw;
  height: 56.25vw; /* 16:9 Aspect Ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 Aspect Ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Prevents users from clicking on the Vimeo player */
}

/* Gradient Tint Overlay for Crisp Text Readability */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.495);
  /* linear-gradient(
    135deg, 
    rgba(29, 42, 68, 0.88) 0%, 
    rgba(29, 42, 68, 0.65) 50%, 
    rgba(29, 42, 68, 0.85) 100%
  ); */
  z-index: 2;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.714);
  /* linear-gradient(
    135deg, 
    rgba(29, 42, 68, 0.88) 0%, 
    rgba(29, 42, 68, 0.65) 50%, 
    rgba(29, 42, 68, 0.85) 100%
  ); */
  z-index: 2;
}

/* Text Overrides for Dark Background Contrast */
.hero-video .eyebrow {
  color: var(--primary); /* Golden Sun accent */
  font-weight: 700;
  justify-content: center;
  align-items: center;
}

.hero-video h1 {
  color: #ffffff;
}

.hero-video p {
  max-width: 630px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #e2e8f0;
  margin-left: auto;
  margin-right: auto;
}

.hero-video .trust-item {
  color: #cbd5e1;
}

/* Optional: Keep decorative dashed circles floating softly over video */
.hero-video::before,
.hero-video::after {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.15);
}

.krin-gallery {
  /* Mobile First: 2 Columns */
  column-count: 2;
  column-gap: 16px;
  padding: 5vh 5vw;
  background: #ffffff;
}

.gallery-section {
  padding-top: clamp(1rem, 7vw, 2rem);
}

.gallery-filters {
  justify-content: center;
  margin-top: 0;
}

.gallery-status {
  margin-bottom: 0;
  text-align: center;
  font-weight: 700;
}

.gallery-status.error {
  color: #a73232;
}

/* Tablet: 3 Columns */
@media (min-width: 768px) {
  .krin-gallery {
    column-count: 3;
    column-gap: 20px;
  }
}

/* Desktop: 4 Columns */
@media (min-width: 1024px) {
  .krin-gallery {
    column-count: 4;
    column-gap: 24px;
  }
}

.reveal-item {
  /* This prevents the image from splitting across two columns */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;

  margin-bottom: 24px; /* Vertical gap between images */
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;

  /* Scroll Reveal Starting State */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item img {
  width: 100%;
  /* Remove any fixed aspect-ratio or height so it flows naturally */
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.reveal-item:hover img {
  transform: scale(1.03);
}

.gallery-item-label {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  left: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(29, 42, 68, 0.82);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  backdrop-filter: blur(8px);
}

.reveal-item:hover .gallery-item-label,
.reveal-item:focus-visible .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

.krin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hides the modal cleanly */
.krin-modal[hidden] {
  display: none;
  opacity: 0;
}

.krin-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* A dark, semi-transparent overlay with a heavy blur */
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  border: 0;
  cursor: pointer;
}

#krin-modal-img {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  z-index: 2;
  object-fit: contain;
}

.gallery-modal-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 90vw;
  color: white;
  text-align: center;
}

.gallery-modal-figure figcaption {
  margin-top: 0.7rem;
  font-weight: 800;
}

.gallery-modal-close {
  position: absolute;
  z-index: 3;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--text-dark);
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
}

.krin-shop {
  display: grid;
  grid-template-columns: 1fr; /* Mobile First: 1 Column */
  gap: 40px 24px;
  padding: 2vh 5vw;
  background: #ffffff;
}

/* Tablet: 2 Columns */
@media (min-width: 768px) {
  .krin-shop {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 Columns */
@media (min-width: 1024px) {
  .krin-shop {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px; /* Keeps the 3 columns from stretching too wide on massive monitors */
    margin: 0 auto;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Forces a perfect square */
  border-radius: 12px;
  overflow: hidden;
  background: #f4f6f5; /* Subtle placeholder color */
  margin-bottom: 16px;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents stretching */
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffc107; /* Krin Asset Yellow */
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Pushes the button to the bottom if titles vary in height */
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #256d1b; /* A deep green for trust/money */
  margin: 0 0 16px 0;
}

.krin-btn-buy {
  margin-top: auto; /* Forces button to the bottom of the card */
  background: #ffc107;
  color: #111;
  border: none;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.krin-btn-buy:hover {
  background: #e0a800;
}

.krin-btn-buy:active {
  transform: scale(0.98);
}

.nav-cart-btn {
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  color: #1a1a1a;
  transition: transform 0.2s ease;
}

.nav-cart-btn:hover {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: 0px;
  right: -4px;
  background: #e63946; /* High-visibility red */
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  border-radius: 50%;
}

.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  display: block;
}
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #0b8a00;
}

.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  max-height: 800px;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 1;
}

.cart-checkout-form.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: none;
  pointer-events: none;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vh 5vw;
  background: #ffffff;
  position: relative;
  z-index: 100; /* Keeps header above the cart drawer overlay */
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px; /* Spacing between the cart and the hamburger */
}

/* Hide hamburger on desktop */
@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px; /* Hidden off-screen by default */
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.is-open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.cart-items-container {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f5f5f5;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.whatsapp-btn {
  width: 100%;
  background: #25d366; /* WhatsApp Green */
  color: white;
  border: none;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

/* Shared cart rows and the dedicated checkout layout. */
.checkout-page {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.checkout-page > *,
.checkout-page .input-group {
  min-width: 0;
}
.checkout-page input,
.checkout-page select,
.checkout-page textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  font-size: 16px;
}
#cart-drawer {
  width: min(100%, 440px);
  max-width: 100%;
  height: 100dvh;
  right: 0;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.3s ease,
    visibility 0.3s;
}
#cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}
#cart-drawer .cart-items-container {
  min-height: 0;
  overscroll-behavior: contain;
}
#cart-drawer .cart-footer {
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}
.cart-product-row {
  align-items: center;
  gap: 12px;
}
.cart-thumbnail {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #edf1ee;
  color: #66736a;
  font-size: 12px;
  text-align: center;
}
.cart-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-product-details {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cart-product-details strong {
  display: block;
  line-height: 1.4;
}
.cart-unit-price {
  display: block;
  color: #68736d;
  font-size: 0.8rem;
  margin-top: 4px;
}
.cart-product-actions {
  min-width: 0;
  max-width: 46%;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  overflow-wrap: anywhere;
}
.cart-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce4df;
  border-radius: 10px;
  background: white;
  margin-top: 8px;
}
.cart-quantity button {
  border: 0;
  background: transparent;
  color: #24543a;
  min-width: 36px;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.cart-quantity span {
  min-width: 24px;
  text-align: center;
  font-size: 0.9rem;
}
.cart-quantity button:focus-visible {
  outline: 2px solid #247448;
  border-radius: 8px;
}
.sub-price{
  font: inherit;
  font-weight: 700;
}
@media (max-width: 768px) {
  .checkout-page {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px auto;
    padding: 0 16px;
  }
}
@media (max-width: 380px) {
  .cart-product-row {
    gap: 8px;
    flex-wrap: wrap;
  }
  .cart-thumbnail {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }
  .cart-product-details {
    flex-basis: calc(100% - 68px);
  }
  .cart-product-actions {
    width: 100%;
    max-width: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  #cart-drawer {
    transition: none;
  }
}




/* ==========================================================================
   PROPHETIC KIDS SPECIFIC STYLES (Cards & Video)
   ========================================================================== */

   
/* Remove default padding from cards so images go edge-to-edge */
.puzzle-card,
.feature-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures cards stretch to equal heights in the grid */
}

/* Card Images */
.puzzle-card__image,
.feature-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-light, #f4f6f8);
  display: block;
}

/* Slightly shorter images for the features section */
.feature-card__image img{
  aspect-ratio: 1/1;
}

/* Card Text Content Wrapper */
.puzzle-card__content,
.feature-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Pushes the button to the bottom */
}

.puzzle-card__content h3,
.feature-card__content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.puzzle-card__content p,
.feature-card__content p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Full-width buttons inside these specific cards */
.buy-now-btn,
.event-btn {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Anchors button to bottom */
}

/* Shop More Row */
.shop-more-row {
  justify-content: center;
  margin-top: 3rem;
}

.shop-more-btn {
  border: 2px solid var(--text-dark, #1D2A44);
  color: var(--text-dark, #1D2A44);
}

.shop-more-btn:hover {
  background: var(--text-dark, #1D2A44);
  color: #ffffff;
}

/* Staggered Animation Delays */
.animation-delay-1 { --delay: 0.1s; animation-delay: 0.1s; }
.animation-delay-2 { --delay: 0.2s; animation-delay: 0.2s; }

/* ==========================================================================
   RESPONSIVE VIDEO CONTAINER (16:9 Aspect Ratio)
   ========================================================================== */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-hover, 0 10px 30px rgba(0,0,0,0.1));
  background-color: #000;
  cursor: pointer; /* Hints that it can be tapped */
}

.video-container .video-player-native {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
}


/* ==========================================================================
   MOBILE HORIZONTAL SCROLL (Jigsaw Puzzles Section Only)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Targets the 3rd section inside <main> (the Jigsaw Puzzles grid) */
  main section:nth-of-type(3) .grid-3 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    
    /* Creates the app-like snap effect */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
    
    /* Adds bottom padding so box-shadows aren't clipped by the hidden overflow */
    padding-bottom: 1.5rem; 
    gap: 1.5rem;
    
    /* Hides the ugly default browser scrollbar for a cleaner look */
    scrollbar-width: none; 
  }

  main section:nth-of-type(3) .grid-3::-webkit-scrollbar {
    display: none;
  }

  /* Targets the articles/cards inside that specific grid */
  main section:nth-of-type(3) .grid-3 > .card {
    /* Caps the card width at 85% so the edge of the next card peeks into view */
    flex: 0 0 85%; 
    max-width: 350px;
    min-width: 320px;
    
    /* Snaps the card neatly to the center of the screen when swiping */
    scroll-snap-align: center; 
  }
  main section:nth-of-type(3) .grid-3 > .card.pop-in {
    opacity: 1 !important;          /* Force full visibility */
    transform: none !important;       /* Reset slide/scale transform */
    transition: none !important;      /* Disable the animation entirely */
    animation: none !important;       /* Secondary safeguard */
    visibility: visible !important;   /* Ensure it's not hidden by other rules */
  }
}

@media (max-width: 1024px) {
  /* Targets the 3rd section inside <main> (the Jigsaw Puzzles grid) */
  main section:nth-of-type(5) .grid-3 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    
    /* Creates the app-like snap effect */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
    
    /* Adds bottom padding so box-shadows aren't clipped by the hidden overflow */
    padding-bottom: 1.5rem; 
    gap: 1.5rem;
    
    /* Hides the ugly default browser scrollbar for a cleaner look */
    scrollbar-width: none; 
  }

  main section:nth-of-type(5) .grid-3::-webkit-scrollbar {
    display: none;
  }

  /* Targets the articles/cards inside that specific grid */
  main section:nth-of-type(5) .grid-3 > .card {
    /* Caps the card width at 85% so the edge of the next card peeks into view */
    flex: 0 0 85%; 
    max-width: 350px;
    min-width: 350px;
    
    /* Snaps the card neatly to the center of the screen when swiping */
    scroll-snap-align: center; 
  }
  main section:nth-of-type(5) .grid-3 > .card.pop-in {
    opacity: 1 !important;          /* Force full visibility */
    transform: none !important;       /* Reset slide/scale transform */
    transition: none !important;      /* Disable the animation entirely */
    animation: none !important;       /* Secondary safeguard */
    visibility: visible !important;   /* Ensure it's not hidden by other rules */
  }
}

@media (max-width: 1024px) {
  /* Targets the 3rd section inside <main> (the Jigsaw Puzzles grid) */
  main section:nth-of-type(4) .grid-3 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    
    /* Creates the app-like snap effect */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
    
    /* Adds bottom padding so box-shadows aren't clipped by the hidden overflow */
    padding-bottom: 1.5rem; 
    gap: 1.5rem;
    
    /* Hides the ugly default browser scrollbar for a cleaner look */
    scrollbar-width: none; 
  }

  main section:nth-of-type(4) .grid-3::-webkit-scrollbar {
    display: none;
  }

  /* Targets the articles/cards inside that specific grid */
  main section:nth-of-type(4) .grid-3 > .card {
    /* Caps the card width at 85% so the edge of the next card peeks into view */
    flex: 0 0 85%; 
    max-width: 350px;
    min-width: 350px;
    
    /* Snaps the card neatly to the center of the screen when swiping */
    scroll-snap-align: center; 
  }
  main section:nth-of-type(4) .grid-3 > .card.pop-in {
    opacity: 1 !important;          /* Force full visibility */
    transform: none !important;       /* Reset slide/scale transform */
    transition: none !important;      /* Disable the animation entirely */
    animation: none !important;       /* Secondary safeguard */
    visibility: visible !important;   /* Ensure it's not hidden by other rules */
  }
}

@media (max-width: 1024px) {
  /* Targets the 3rd section inside <main> (the Jigsaw Puzzles grid) */
  main section:nth-of-type(6) .grid-3 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    
    /* Creates the app-like snap effect */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
    
    /* Adds bottom padding so box-shadows aren't clipped by the hidden overflow */
    padding-bottom: 1.5rem; 
    gap: 1.5rem;
    
    /* Hides the ugly default browser scrollbar for a cleaner look */
    scrollbar-width: none; 
  }

  main section:nth-of-type(6) .grid-3::-webkit-scrollbar {
    display: none;
  }

  /* Targets the articles/cards inside that specific grid */
  main section:nth-of-type(6) .grid-3 > .card {
    /* Caps the card width at 85% so the edge of the next card peeks into view */
    flex: 0 0 85%; 
    max-width: 350px;
    min-width: 350px;
    
    /* Snaps the card neatly to the center of the screen when swiping */
    scroll-snap-align: center; 
  }
  main section:nth-of-type(6) .grid-3 > .card.pop-in {
    opacity: 1 !important;          /* Force full visibility */
    transform: none !important;       /* Reset slide/scale transform */
    transition: none !important;      /* Disable the animation entirely */
    animation: none !important;       /* Secondary safeguard */
    visibility: visible !important;   /* Ensure it's not hidden by other rules */
  }
}

/* ==========================================================================
   TEAM SECTION (Responsive Layout)
   ========================================================================== */

/* DESKTOP: Flexbox allows the 5 items to wrap perfectly (3 on top, 2 centered on bottom) */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 1.5rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  flex: 0 1 calc(33.333% - 1.5rem);
  min-width: 240px; /* Prevents them from getting too squished before the breakpoint */
}

.team-member-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5; /* Maintains the portrait ratio without hardcoding pixel heights */
  border-radius: 16px;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  background: #e2eaee;
  display: block;
}

.team-member h3 {
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.team-member p {
  font-size: 0.85rem;
  color: var(--secondary-hover, #2e8c87);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Staggered Animation Delays for the 5 items */
.animation-delay-3 { --delay: 0.3s; animation-delay: 0.3s; }
.animation-delay-4 { --delay: 0.4s; animation-delay: 0.4s; }

/* MOBILE: Force a strict 2-column CSS Grid */
@media (max-width: 768px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem; /* Tighter gap for smaller screens */
  }

  .team-member {
    min-width: 0; /* Reset flex min-width so the grid controls the sizing */
  }

  .team-member-img {
    max-width: 100%; /* Allows the image to fluidly fill its half of the screen */
  }
  
  .team-member h3 {
    font-size: 1rem; /* Slightly smaller text for mobile */
  }

  .team-member p {
    font-size: 0.75rem;
  }

  /* Since you have 5 items, the last one will look awkward on the left by itself. 
     This targets the 5th item and spans it across both columns, centering it. */
  .team-member:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 220px; /* Keep it proportional */
    margin-inline: auto;
  }
}


/* ==========================================================================
   PREMIERE PAGE STYLES
   ========================================================================== */

/* Countdown Timer */
.countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 2rem);
  margin-top: 2.5rem;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  width: clamp(70px, 15vw, 120px);
  aspect-ratio: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.time-box span {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-box small {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aebbd0;
  margin-top: 0.5rem;
  font-weight: 700;
}

.countdown-wrapper .colon {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.5rem;
}

/* Premiere Cards (Ecosystem Grid) */
.premiere-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.premiere-card-img {
  width: 100%;
  height: 180px;
  background: var(--bg-light);
}

.premiere-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premiere-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.premiere-card-content .tag {
  align-self: flex-start;
}

.premiere-card-content h3 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
}

/* Mobile Adjustments */
@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .countdown-wrapper {
    gap: 0.5rem;
  }
  .countdown-wrapper .colon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   COUNTDOWN TIMER
   ========================================================================== */
.countdown-section {
  padding: 6rem 0;
  background: var(--bg-dark); /* Or whatever your dark section background is */
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.time-block.colon {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.1;
  min-width: auto;
}

.countdown-timer .digits {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  /* CRITICAL: Stops the numbers from shaking as they tick */
  font-variant-numeric: tabular-nums; 
}

.countdown-timer .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Modal Mini Variant */
.countdown-timer.mini {
  gap: 1rem;
}

.countdown-timer.mini .time-block {
  min-width: 60px;
}

.countdown-timer.mini .label {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .countdown-timer { gap: 0.5rem; }
  .time-block.colon { display: none; }
  .countdown-timer .digits { font-size: 2.5rem; }
  .time-block { min-width: 65px; }
}

/* ==========================================================================
   2-COLUMN COUNTDOWN SECTION
   ========================================================================== */

   /* ==========================================================================
   MINI COUNTDOWN (MODAL SPECIFIC)
   ========================================================================== */
.countdown-timer.mini {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.countdown-timer.mini .time-block {
  text-align: center;
  min-width: 55px;
}

.countdown-timer.mini .digits {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  /* Keeps the numbers from shifting side-to-side as they tick */
  font-variant-numeric: tabular-nums; 
}

.countdown-timer.mini .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.countdown-timer.mini .colon {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.1;
}

/* Modal Actions */
.promo-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.promo-actions .promo-ghost-btn {
  border-color: rgba(255, 255, 255, 0.3);
}
.countdown-section {
  padding: 6rem 0;
  background: #0a1120; /* Deep cinematic dark */
  color: #fff;
}

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

.countdown-desc p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 90%;
}

/* Glassmorphism Timer Box */
.glass-timer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-timer .time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.glass-timer .colon {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.1;
  min-width: auto;
}

.glass-timer .digits {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary, #d4af37);
  font-variant-numeric: tabular-nums; 
}

.glass-timer .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

/* Responsive Stacking */
@media (max-width: 960px) {
  .countdown-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .countdown-desc {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .glass-timer {
    padding: 1.5rem 0.5rem;
    gap: 0; /* Let flex handle the spacing entirely */
    justify-content: space-evenly;
    width: 100%;
  }
  
  .glass-timer .time-block { 
    min-width: unset; /* Kills the overflow constraint */
    flex: 1; 
  }
  
  .glass-timer .colon { 
    display: block;
    font-size: 1.5rem; 
    line-height: 1.2;
    margin: 0 2px;
  }
  
  .glass-timer .digits { 
    /* Dynamically scales between 1.2rem and 2rem depending on screen width */
    font-size: clamp(1.2rem, 6vw, 2rem); 
  }
  
  .glass-timer .label {
    font-size: 0.6rem;
    margin-top: 0.4rem;
  }

  .countdown-date .date-text {
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 1px;
}
}

/* ==========================================================================
   PROMO MODAL VISIBILITY OVERRIDE
   ========================================================================== */
#promo-modal .modal-dialog {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none; /* Prevents ghost clicks when closed */
}

#promo-modal.open .modal-dialog {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

.countdown-date {
  text-align: right;
  padding-right: 0.5rem;
}

.countdown-date .date-eyebrow {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

@media (max-width: 960px) {
  .countdown-date {
    text-align: right;
    padding-right: 0;
    font-size: 1.5rem;
  }
}