/* =============================================
   GOH-GOH ENERGY BARS — Main Stylesheet
   Redesigned to match original goh-goh.com
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --mint:          #b8e8d8;
  --mint-light:    #d0f0e4;
  --mint-dark:     #8ecfba;
  --white:         #ffffff;
  --black:         #111111;
  --text-dark:     #222222;
  --text-muted:    #666666;
  --nav-green:     #5cb85c;
  --nav-pipe:      #bbbbbb;
  --green-btn:     #7bc045;
  --green-btn-hover: #68a83a;
  --red-text:      #cc0000;
  --cyan-heading:  #00b4d8;
  --green-heading: #5cb85c;
  --apple-btn:     #e53935;
  --banana-btn:    #f5a623;
  --newsletter-bg: #111111;
  --submit-btn:    #00bcd4;
  --submit-hover:  #00acc1;
  --footer-bg:     #ffffff;
  --separator:     #7bc045;
  --card-radius:   16px;
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-card:   0 6px 30px rgba(0,0,0,0.12);
  --transition:    0.25s ease;
  --font-logo:     'Nunito', sans-serif;
  --font-nav:      'Open Sans', sans-serif;
  --font-body:     'Open Sans', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* compensate for sticky header so anchor jumps don't hide content */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--mint);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-logo {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.preloader-logo .logo-mark {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 3rem;
  color: var(--text-dark);
  letter-spacing: -1px;
}
.preloader-logo .logo-mark .dot { color: var(--green-btn); }
.preloader-bar {
  width: 140px; height: 3px;
  background: #e0e0e0; border-radius: 3px; overflow: hidden;
}
.preloader-bar::after {
  content: ''; display: block; height: 100%; width: 40%;
  background: var(--green-btn); border-radius: 3px;
  animation: loading-bar 1.2s ease-in-out infinite;
}
@keyframes loading-bar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ---------- Utility ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 28px;
  font-family: var(--font-nav);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 32px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-green  { background: var(--green-btn); color: var(--white); }
.btn-green:hover { background: var(--green-btn-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(123,192,69,0.4); }
.btn-red    { background: var(--apple-btn); color: var(--white); }
.btn-red:hover { background: #c62828; transform: translateY(-2px); }
.btn-yellow { background: var(--banana-btn); color: var(--white); }
.btn-yellow:hover { background: #e0971f; transform: translateY(-2px); }
.btn-outline-green {
  background: transparent; color: var(--green-btn);
  border: 2px solid var(--green-btn);
}
.btn-outline-green:hover { background: var(--green-btn); color: var(--white); }

/* scroll reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }
.stagger > *:nth-child(7) { transition-delay: 0.6s; }
.stagger > *:nth-child(8) { transition-delay: 0.7s; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

/* Logo */
.nav-logo { flex-shrink: 0; }
.logo-mark {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--text-dark);
  letter-spacing: -1.5px;
  line-height: 1;
  display: inline-block;
}
.logo-mark .dot { color: var(--green-btn); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links > li + li::before {
  content: '|';
  color: var(--nav-pipe);
  font-size: 0.9rem;
  margin: 0 10px;
  pointer-events: none;
  user-select: none;
}
.nav-links li a {
  font-family: var(--font-nav);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 4px 0;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links li a.home-link { color: var(--nav-green); }
.nav-links li a:hover { color: var(--nav-green); }
.nav-links li a .arrow {
  font-size: 0.65rem;
  margin-left: 2px;
  vertical-align: middle;
  color: var(--text-muted);
}

/* Language Switcher */
.lang-switcher {
  display: flex; align-items: center;
  background: #f0f0f0; border-radius: 20px; overflow: hidden;
  border: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.lang-btn {
  padding: 5px 12px;
  font-family: var(--font-nav);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: var(--transition);
  border-radius: 20px;
}
.lang-btn.active { background: var(--green-btn); color: var(--white); }
.lang-btn:hover:not(.active) { color: var(--text-dark); background: #e8e8e8; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---- Dropdown menus ---- */
.has-dropdown { position: relative; }
/* Invisible hover bridge — extends parent <li>'s hover area into the gap before the dropdown so the mouse keeps :hover while travelling down to submenu items */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 22px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  min-width: 180px;
  padding: 8px 0;
  margin-top: 14px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 200;
}
/* Invisible hover bridge between trigger and dropdown — closes the 14px gap so mouse can travel down to submenu without losing :hover (also handled by .has-dropdown::after; this is a redundant safety on the dropdown side) */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--white);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-family: var(--font-nav);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark) !important;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background: var(--mint);
  color: var(--nav-green) !important;
}
.dropdown-menu li a::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-logo); font-size: 1.5rem; font-weight: 800;
  color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.04em;
  transition: color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.home-link { color: var(--nav-green); }
.mobile-lang { display: flex; gap: 10px; margin-top: 8px; }
.mobile-lang .lang-btn {
  font-size: 0.88rem; padding: 8px 18px;
  border: 2px solid #e0e0e0; border-radius: 24px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--mint);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 60px 0;
}

.hero-content { color: var(--text-dark); }

.hero-made-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 24px;
  padding: 6px 16px;
  font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dark); margin-bottom: 24px;
}
.hero-made-badge .ca-flag {
  width: 18px; height: 12px;
  background: linear-gradient(to right, #ff0000 25%, #ffffff 25%, #ffffff 75%, #ff0000 75%);
  border-radius: 2px; flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.hero-headline em {
  font-style: normal;
  color: var(--green-btn);
}

.hero-sub {
  font-family: var(--font-nav);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 36px;
}
.hero-sub strong { color: var(--text-dark); font-weight: 700; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-wrap {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.4);
}
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s ease;
}
.hero-image-wrap:hover img { transform: scale(1.04); }

.hero-badge-float {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  text-align: center; min-width: 120px;
}
.hero-badge-float strong {
  display: block; font-family: var(--font-logo);
  font-size: 1.5rem; font-weight: 900; color: var(--green-btn);
  line-height: 1;
}
.hero-badge-float span {
  font-family: var(--font-nav); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(0,0,0,0.3); font-size: 0.65rem;
  font-family: var(--font-nav); letter-spacing: 0.15em; text-transform: uppercase;
  animation: bounce-y 2s ease-in-out infinite; z-index: 2;
}
.hero-scroll svg { width: 18px; height: 18px; stroke: rgba(0,0,0,0.3); fill: none; stroke-width: 2; }
@keyframes bounce-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ============================================================
   INGREDIENTS SECTION
   ============================================================ */
#ingredients {
  padding: 90px 0;
  background: var(--white);
}

.ingredients-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 72px;
}

.ingredients-text .section-tag {
  font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-btn); margin-bottom: 12px;
}
.ingredients-text h2 {
  font-family: var(--font-logo); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 36px;
}

.ingredients-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ingredient-card {
  background: #f9fafb;
  border-radius: 12px; padding: 20px 18px;
  border-left: 4px solid var(--green-btn);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ingredient-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.ingredient-icon {
  width: 36px; height: 36px;
  background: var(--green-btn); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.ingredient-icon svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2; }
.ingredient-card h3 {
  font-family: var(--font-logo); font-size: 0.9rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: 4px;
}
.ingredient-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

.ingredients-img-wrap {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 4/5;
}
.ingredients-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.ingredients-img-wrap:hover img { transform: scale(1.04); }

/* ============================================================
   LIFESTYLE SECTION
   ============================================================ */
#lifestyle {
  padding: 90px 0;
  background: var(--mint);
}
.lifestyle-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
}
.lifestyle-text .section-tag {
  font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,0,0,0.4); margin-bottom: 12px;
}
.lifestyle-text h2 {
  font-family: var(--font-logo); font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800; color: var(--text-dark); line-height: 1.3; margin-bottom: 24px;
}
.lifestyle-text h2 em { font-style: italic; color: var(--green-btn); }
.lifestyle-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.7); border-radius: 24px; padding: 8px 18px;
  font-family: var(--font-nav); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark);
}
.lifestyle-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lifestyle-img { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-card); }
.lifestyle-img:first-child { margin-top: 36px; }
.lifestyle-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.lifestyle-img:hover img { transform: scale(1.05); }

/* ============================================================
   NUTRITION SECTION
   ============================================================ */
#nutrition {
  padding: 90px 0;
  background: var(--white);
}
.nutrition-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
}
.nutrition-text .section-tag {
  font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-btn); margin-bottom: 12px;
}
.nutrition-text h2 {
  font-family: var(--font-logo); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--text-dark); line-height: 1.2; margin-bottom: 32px;
}
.nutrition-text h2 em { font-style: italic; color: var(--green-btn); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit-item {
  display: flex; align-items: center; gap: 10px;
  background: #f9fafb; border-radius: 8px; padding: 12px 14px;
  border: 1px solid #eeeeee;
  transition: background var(--transition), transform var(--transition);
}
.benefit-item:hover { background: var(--mint-light); transform: translateX(3px); }
.benefit-check {
  flex-shrink: 0; width: 24px; height: 24px;
  background: var(--green-btn); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.benefit-check svg { width: 12px; height: 12px; stroke: var(--white); fill: none; stroke-width: 2.5; }
.benefit-text { line-height: 1.3; }
.benefit-text .label {
  font-family: var(--font-nav); font-size: 0.68rem; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.benefit-text .value {
  font-family: var(--font-logo); font-size: 0.85rem; font-weight: 700;
  color: var(--text-dark);
}
.nutrition-img-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 5/4;
}
.nutrition-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.nutrition-img-wrap:hover img { transform: scale(1.04); }

/* ============================================================
   FLAVOURS SECTION — Vertical stacking cards
   ============================================================ */
#flavours {
  padding: 80px 0 60px;
  background: var(--mint);
}

.flavours-header { text-align: center; margin-bottom: 56px; }
.flavours-header .section-tag {
  font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,0,0,0.4); margin-bottom: 10px; display: block;
}
.flavours-header h2 {
  font-family: var(--font-logo); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; color: var(--text-dark); letter-spacing: 0.02em; margin-bottom: 10px;
}
.flavours-header p { font-size: 1rem; color: var(--text-muted); }

/* Each flavour = full-width horizontal card */
.flavour-stack { display: flex; flex-direction: column; gap: 32px; }

.flavour-item {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
  min-height: 400px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.flavour-item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.16); }

/* Illustration side */
.flavour-illustration {
  position: relative; overflow: hidden;
  min-height: 360px;
}
.flavour-illustration img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.flavour-item:hover .flavour-illustration img { transform: scale(1.05); }

/* Info side */
.flavour-info {
  padding: 36px 32px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}
.flavour-info-top { flex: 1; }

.flavour-name {
  font-family: var(--font-logo); font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800; color: var(--text-dark); margin-bottom: 4px; line-height: 1.2;
}
.flavour-type {
  font-family: var(--font-body); font-style: italic; font-size: 1rem;
  font-weight: 400; color: var(--red-text); margin-bottom: 20px;
}
.flavour-desc {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 24px;
}
.flavour-bar-photo {
  width: 100%; max-width: 280px;
  height: 120px; object-fit: contain;
  margin-bottom: 24px;
}
.flavour-cta { align-self: flex-start; }

/* ============================================================
   KIDDYUP SECTION
   ============================================================ */
#kiddyup {
  padding: 80px 0;
  background: var(--white);
}

.kiddyup-headline-area {
  text-align: center; margin-bottom: 48px;
}
.kiddyup-main-title {
  font-family: var(--font-logo);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 10px;
}
.kiddyup-main-title .word-fuel  { color: var(--green-heading); }
.kiddyup-main-title .word-kids  { color: var(--text-dark); }
.kiddyup-main-title .word-play  { color: var(--cyan-heading); }

.kiddyup-sub {
  font-size: 1rem; color: var(--text-muted); font-weight: 400;
}
.kiddyup-sub strong { color: var(--text-dark); font-weight: 700; }

.kiddyup-logo-wrap {
  display: flex; justify-content: center;
  margin-bottom: 48px;
}
.kiddyup-logo-box {
  text-align: center;
}
.kiddyup-logo-top {
  font-family: var(--font-logo);
  font-size: 0.9rem; font-weight: 700;
  color: var(--text-dark); letter-spacing: 0.1em;
  margin-bottom: -4px;
}
.kiddyup-logo-main {
  font-family: var(--font-logo);
  font-size: 3.2rem; font-weight: 900;
  letter-spacing: -2px; line-height: 1;
}
.kiddyup-logo-main .k-word { color: #007bff; }
.kiddyup-logo-main .u-word { color: var(--green-btn); }

.kiddyup-content {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: start; gap: 60px;
}

.kiddyup-kids-photo {
  border-radius: 50% 40% 40% 50% / 30% 30% 40% 40%;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}
.kiddyup-kids-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.kiddyup-kids-photo:hover img { transform: scale(1.04); }

.kiddyup-right { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.kiddyup-product-img {
  width: 100%;
  max-height: 320px; object-fit: contain;
  border-radius: 12px;
}

.kiddyup-text-block { text-align: center; }
.kiddyup-product-title {
  font-family: var(--font-logo); font-size: 1.4rem; font-weight: 900;
  color: var(--text-dark); letter-spacing: 0.04em; margin-bottom: 12px;
}
.kiddyup-product-desc {
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 24px;
}
.kiddyup-product-desc strong { color: var(--text-dark); font-weight: 700; }
.kiddyup-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   NEWSLETTER — Black wavy section
   ============================================================ */
#newsletter {
  position: relative;
  background: var(--white);
  padding: 0;
}

.newsletter-wave-top {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  display: block;
}
.newsletter-wave-top svg, .newsletter-wave-bottom svg {
  display: block; width: 100%; height: 72px;
}

.newsletter-body {
  background: var(--newsletter-bg);
  padding: 48px 0;
}

.newsletter-wave-bottom {
  width: 100%; line-height: 0; overflow: hidden;
  transform: scaleY(-1);
  display: block;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 0;
}

.newsletter-label {
  font-family: var(--font-logo);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding-right: 40px;
  border-right: 2px solid rgba(255,255,255,0.2);
  text-align: center;
}

.newsletter-right {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-right h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: box-shadow var(--transition);
}
.newsletter-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(0,188,212,0.4);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.captcha-label {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
}
.captcha-row input[type="number"] {
  width: 64px;
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  text-align: center;
  -moz-appearance: textfield;
}
.captcha-row input[type="number"]::-webkit-inner-spin-button,
.captcha-row input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }

.newsletter-submit-row {
  display: flex;
}
.newsletter-submit {
  padding: 11px 28px;
  background: var(--submit-btn);
  color: var(--white);
  font-family: var(--font-logo);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.newsletter-submit:hover {
  background: var(--submit-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,188,212,0.4);
}

.newsletter-msg {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  display: none;
}
.newsletter-msg.success {
  background: rgba(92, 184, 92, 0.2);
  color: #7bc045;
  border: 1px solid rgba(92,184,92,0.4);
  display: block;
}
.newsletter-msg.error {
  background: rgba(220,53,69,0.15);
  color: #ff6b6b;
  border: 1px solid rgba(220,53,69,0.3);
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--footer-bg);
  padding: 60px 0 0;
}

.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 40px;
}

.footer-brand { }
.footer-logo-wrap {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 14px;
}
.footer-logo-text {
  font-family: var(--font-logo); font-weight: 900; font-size: 1.8rem;
  color: var(--text-dark); letter-spacing: -1.5px; line-height: 1;
}
.footer-logo-text .dot { color: var(--green-btn); }
.footer-energy-bars {
  font-family: var(--font-logo); font-size: 0.85rem; font-weight: 800;
  color: var(--red-text); letter-spacing: 0.06em; text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-nav); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dark); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 0.85rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--nav-green); }

/* Green separator */
.footer-separator {
  height: 3px;
  background: var(--separator);
  margin: 0;
  border: none;
}

/* Copyright row */
.footer-bottom {
  padding: 18px 0;
  text-align: center;
}
.footer-copyright {
  font-size: 0.8rem; color: var(--text-muted);
}

/* ============================================================
   BACK TO TOP button
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--green-btn); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(123,192,69,0.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 800;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1; visibility: visible; pointer-events: all;
}
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2.5; }


/* ========== Floating WhatsApp bubble (global) ========== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 84px; /* sit above back-to-top button */
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, width 0.3s ease, border-radius 0.3s ease;
  overflow: hidden;
  padding: 0 14px;
  white-space: nowrap;
}
.wa-float svg { width: 30px; height: 30px; flex-shrink: 0; fill: #fff; transition: transform 0.4s ease; }
.wa-float .wa-float-tooltip {
  color: #fff;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.3s ease 0.05s, max-width 0.3s ease;
}
.wa-float:hover {
  width: 200px;
  border-radius: 32px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}
.wa-float:hover svg { transform: rotate(-8deg); }
.wa-float:hover .wa-float-tooltip { opacity: 1; max-width: 160px; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.95); opacity: 0.7; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ========== Contact-page social cards ========== */
.contact-social {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 600px;
  margin: 32px auto 0;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-dark) !important;
  background: var(--white);
  border: 1px solid #ececec;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}
.social-card-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.social-card-icon svg { width: 26px; height: 26px; fill: #fff; }
.social-whatsapp .social-card-icon { background: #25D366; }
.social-whatsapp:hover { border-color: #25D366; }
.social-instagram .social-card-icon {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}
.social-instagram:hover { border-color: #dd2a7b; }
.social-card-body { flex: 1; min-width: 0; }
.social-card-label {
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.social-card-title {
  font-family: var(--font-logo);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.social-card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  word-break: break-all;
}
.social-card-arrow {
  font-size: 1.2rem;
  color: var(--nav-green);
  font-weight: 700;
  transition: transform 0.25s ease;
}
.social-card:hover .social-card-arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .contact-social { grid-template-columns: 1fr; }
  .wa-float { bottom: 76px; right: 14px; }
}
