/* ============================================================
   ROOT TOKENS / DESIGN SYSTEM
   ============================================================ */
:root {
  --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --color-text: #00151b;
  --color-text-muted: rgba(0, 21, 27, 0.75);

  /* Feature / brand pink system */
  --feature-color: #ff007c;
  --feature-color-soft: #ff4da3;
  --feature-color-bg-soft: rgba(255, 0, 124, 0.08);
  --feature-shadow: 0 8px 18px rgba(255, 0, 124, 0.35);

  /* Backwards-compatible aliases */
  --color-accent: var(--feature-color);
  --color-accent-soft: var(--feature-color-soft);

  /* Generic UI tokens */
  --color-border: #e5e7eb;
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   GLOBAL RESET & TYPOGRAPHY
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: #ffffff;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.015em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--color-text);
  font-weight: 900;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  line-height: 1.12;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  margin: 0 0 1.2rem;
}

strong {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* LINKS ---------------------------------------------------------- */
a {
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}

/* ============================================================
   HEADER / HERO HEADER STRIP
   ============================================================ */
.hero-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 3.2rem 0;
  color: #00151b;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
}

.brand-main {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* CTA block ------------------------------------------------------ */
.hero-top-cta {
  margin-left: auto;
  flex: 0 1 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.hero-top-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Buttons row – side by side on desktop -------------------------- */
.hero-top-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Button styles -------------------------------------------------- */
.btn,
.btn-phone,
.btn-outline-pink,
.btn--primary,
.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Header-specific CTAs override padding */
.btn-phone,
.btn-outline-pink {
  padding: 0.6rem 1.4rem;
}

.btn-phone {
  background: linear-gradient(90deg, var(--feature-color), var(--feature-color-soft));
  color: #fff;
  box-shadow: var(--feature-shadow);
}

.btn-outline-pink {
  background: transparent;
  color: var(--feature-color);
  border-color: var(--feature-color-soft);
}

/* Nav row -------------------------------------------------------- */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.7rem;
  margin-top: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a {
  color: #00151b;
  text-decoration: none;
  opacity: 0.8;
}

/* ============================================================
   RESPONSIVE HEADER & CONTAINERS
   ============================================================ */
@media (max-width: 1024px) {
  .hero-header {
    padding-inline: 2rem;
  }
  .nav {
    gap: 1.2rem;
    letter-spacing: 0.12em;
  }
  .page-container {
    padding-inline: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-header {
    padding-inline: 1.4rem;
  }
  .brand-main {
    font-size: 2rem;
  }
  .hero-top-buttons {
    flex-direction: column;
    align-items: flex-end;
  }
  .nav {
    margin-top: 1rem;
    gap: 0.9rem;
    letter-spacing: 0.14em;
  }
  .page-container {
    padding-inline: 1.4rem;
  }
}

/* ============================================================
   INTERACTIVE / ROLLOVER EFFECTS
   ============================================================ */
a,
button,
.btn,
.btn-phone,
.btn-outline-pink,
.feature-heading,
.nav a {
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}

a:hover,
a:focus-visible,
.nav a:hover,
.nav a:focus-visible {
  color: var(--color-accent);
  opacity: 1;
}

/* Solid buttons */
.btn--primary,
.btn-phone {
  background: linear-gradient(90deg, var(--feature-color), var(--feature-color-soft));
  color: #fff;
  box-shadow: var(--feature-shadow);
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn-phone:hover,
.btn-phone:focus-visible {
  background: linear-gradient(90deg, var(--feature-color-soft), var(--feature-color));
  box-shadow: 0 10px 24px rgba(255, 0, 124, 0.45);
  transform: translateY(-1px);
  color: #fff !important;
}

/* Outline buttons */
.btn--outline,
.btn-outline-pink {
  background: transparent;
  color: var(--feature-color);
  border-color: var(--feature-color-soft);
}

.btn--outline:hover,
.btn--outline:focus-visible,
.btn-outline-pink:hover,
.btn-outline-pink:focus-visible {
  background: var(--feature-color-bg-soft);
  border-color: var(--color-accent-soft);
  color: var(--color-accent);
  box-shadow: 0 8px 18px rgba(255, 0, 124, 0.25);
  transform: translateY(-1px);
}

/* Feature ribbon heading hover */
.feature-heading:hover,
.feature-heading:focus-visible {
  box-shadow: 0 14px 32px rgba(255, 0, 124, 0.5);
  transform: skewX(-8deg) translateY(-1px);
}

/* Generic utilities */
.hover-accent-text:hover,
.hover-accent-text:focus-visible {
  color: var(--feature-color);
}

.hover-accent-bg:hover,
.hover-accent-bg:focus-visible {
  background: var(--feature-color-bg-soft);
}

.hover-raise:hover,
.hover-raise:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

/* Accessible focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ============================================================
   FEATURE HEADING (Ribbon Style)
   ============================================================ */
.feature-heading {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(90deg, var(--feature-color) 0%, var(--feature-color-soft) 100%);
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: skewX(-8deg);
  border-radius: 0.2rem;
  box-shadow: var(--feature-shadow);
  margin: 0.6rem 0;
  position: relative;
}

.feature-heading span {
  display: inline-block;
  transform: skewX(8deg);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.section {
  padding: 3.8rem 0;
}

.section--tight {
  padding: 2rem 0;
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--color-border);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  letter-spacing: 0.01em;
}

/* Lists */
ul,
ol {
  margin: 0 0 1.4rem 1.4rem;
  padding: 0;
}

li {
  margin-bottom: 0.45rem;
  letter-spacing: 0.015em;
  color: var(--color-text-muted);
}

/* ============================================================
   DROPDOWN BASE
   ============================================================ */
.menu-item {
  position: relative;
  font-weight: 800;
  text-transform: uppercase;
}

.has-dropdown > a::after {
  content: "▾";
  margin-left: 0.35rem;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  white-space: nowrap;
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 0.6rem 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  display: none;
  z-index: 100;
}

.dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  letter-spacing: 0.05em;
  color: #00151b;
  text-decoration: none;
  opacity: 0.9;
}

.dropdown a:hover {
  background: var(--feature-color-bg-soft);
  color: var(--feature-color);
  opacity: 1;
}

/* Show dropdown on hover */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

/* ============================================================
   HERO WRAPPER + GRADIENT BG
   ============================================================ */
.hero-shell {
  background: radial-gradient(circle at top left, #18ffe3 0%, #00d0c4 40%, #00b6c4 85%);
  color: #00151b;
  position: relative;
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.08),
    rgba(0, 0, 0, 0.05)
  );
  pointer-events: none;
}

.hero-shell .hero-header {
  position: relative;
  z-index: 2;
}

/* ============================================================
   HERO SECTION (TEXT + BG IMAGE)
   ============================================================ */
.hero-banner {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  color: #00151b;
  z-index: 1;
}

.hero-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-banner-copy {
  max-width: 640px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
  color: rgba(0, 21, 27, 0.8);
}

.hero-banner-lede {
  margin-bottom: 1.4rem;
}

.hero-banner-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-banner-media {
  min-height: 420px;
}

.hero-banner-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("fridge-family-1.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 420px auto;
  opacity: 0.96;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.hero-banner-media::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 65%);
  pointer-events: none;
}

/* ============================================================
   HERO RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-banner-inner {
    grid-template-columns: 1fr;
  }
  .hero-banner-media {
    min-height: 260px;
  }
  .hero-banner-media::before {
    background-position: center bottom;
    background-size: 320px auto;
  }
  .hero-banner-media::after {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 600px) {
  .hero-banner {
    padding: 3rem 0 3.5rem;
  }
  .hero-banner-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-banner-media::before {
    background-size: 260px auto;
  }
}

/* ============================================================
   COMMON LAYOUT RATIOS (GRIDS)
   ============================================================ */
.grid-50-50,
.grid-60-40,
.grid-40-60,
.grid-3,
.grid-30-30-30,
.grid-4,
.stack {
  display: grid;
}

.grid-50-50 {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.grid-60-40 {
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

.grid-40-60 {
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
}

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

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

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

.stack {
  gap: 2rem;
}

.grid-50-50 > *,
.grid-60-40 > *,
.grid-40-60 > *,
.grid-3 > *,
.grid-30-30-30 > *,
.grid-4 > * {
  padding: 1.8rem 1.4rem;
}

/* Grid responsiveness */
@media (max-width: 1024px) {
  .grid-50-50,
  .grid-60-40,
  .grid-40-60,
  .grid-3,
  .grid-30-30-30 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-50-50,
  .grid-60-40,
  .grid-40-60,
  .grid-3,
  .grid-30-30-30,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .flex {
    flex-direction: column;
    gap: 1.4rem;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  color: #00151b;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-meta {
  flex: 1 1 auto;
}

.footer-line {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  text-decoration: none;
  color: #00151b;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

@media (max-width: 1024px) {
  .footer-inner {
    padding-inline: 2rem;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding-inline: 1.4rem;
  }
}
