/* =========================================================
   Health Fitnesses
   Global Design System
   ========================================================= */

:root {
  --primary: #2e7d32;
  --primary-dark: #0f3d2e;
  --primary-light: #a7d56d;

  --accent: #4caf50;
  --accent-soft: #eaf5e7;

  --background: #f8faf7;
  --surface: #ffffff;
  --surface-soft: #eef3ee;

  --text: #1f2937;
  --text-light: #526174;
  --heading: #12372a;

  --border: #dfe9df;

  --shadow-sm: 0 6px 18px rgba(15, 61, 46, 0.07);
  --shadow-md: 0 16px 40px rgba(15, 61, 46, 0.12);
  --shadow-lg: 0 25px 60px rgba(15, 61, 46, 0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --transition: 0.3s ease;

  --container: 1200px;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.7;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--primary);
  color: white;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: var(--heading);
  margin-top: 0;
  line-height: 1.22;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1px;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  color: var(--text-light);
}

.container {
  width: min(92%, var(--container));
  min-width: 0;
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 100px 0;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 9999;
  background: var(--primary-dark);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 20px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}


[tabindex="-1"]:focus {
  outline: none;
}

.site-footer a:focus-visible,
.final-cta a:focus-visible {
  outline-color: var(--primary-light);
}

/* Shared breadcrumb navigation. */
.breadcrumb {
  margin-bottom: 46px;
  color: var(--text-light);
  font-size: 0.82rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: var(--heading);
  font-weight: 600;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 61, 46, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 61, 46, 0.08);
}

.navbar {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px 15px 15px 5px;
  display: grid;
  place-items: center;

  background:
    linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary),
      #63ad4f
    );

  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;

  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.22);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.brand:hover .brand-icon {
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 3px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 27px;
}

.main-nav > a,
.dropdown-btn {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  transition: color var(--transition);
}

.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 10px;
  transition: width var(--transition);
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--primary);
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  width: 100%;
}

.dropdown-btn {
  border: 0;
  background: transparent;
  padding: 10px 0;
  list-style: none;
  cursor: pointer;
}

.dropdown-btn::-webkit-details-marker {
  display: none;
}

.dropdown-btn::after {
  content: "⌄";
  margin-left: 5px;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 45px;
  left: -25px;

  min-width: 230px;
  padding: 12px;

  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;

  box-shadow: var(--shadow-md);

  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown[open] .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown[open] > .dropdown-btn {
  color: var(--primary);
}

.dropdown-menu a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text);
  transition: all var(--transition);
}

.dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--primary);
  padding-left: 18px;
}

.header-cta {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.88rem;

  padding: 12px 20px;
  border-radius: 12px;

  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);

  transition: all var(--transition);
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  border: none;
  background: transparent;
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-dark);
  margin: 5px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(36px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.82) 20%,
      rgba(255, 255, 255, 0.58) 36%,
      rgba(255, 255, 255, 0.22) 60%,
      rgba(255, 255, 255, 0.05) 100%
    ),
    url("../images/home-hero-bg.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas:
    "content visual"
    "features visual";
  align-items: start;
  gap: 32px clamp(32px, 5vw, 72px);
}

.hero-content {
  grid-area: content;
  align-self: start;
  min-width: 0;
  padding-top: 6px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.1vw, 3.6rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.hero h1 + .hero-text {
  margin-top: -4px;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero-text {
  max-width: 610px;
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 45px;
}

.hero .hero-text {
  max-width: 550px;
  line-height: 1.8;
}

.hero .hero-actions {
  margin-bottom: 0;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  min-height: 50px;
  padding: 13px 23px;

  border-radius: 12px;
  border: 1px solid transparent;

  font-weight: 700;
  font-size: 0.93rem;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: white;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      #347d38
    );

  box-shadow: 0 12px 28px rgba(46, 125, 50, 0.23);
}

.btn-primary:hover {
  background:
    linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary)
    );

  box-shadow: 0 18px 34px rgba(46, 125, 50, 0.28);
}

.btn-secondary {
  background: white;
  border-color: var(--border);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}


/* =========================================================
   HERO FEATURES
   ========================================================= */

.hero-features {
  grid-area: features;
  align-self: start;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.hero-features li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-features strong {
  color: var(--heading);
  font-size: 0.84rem;
  line-height: 1.5;
}

.hero-features span {
  font-size: 0.76rem;
  color: var(--text-light);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
  grid-area: visual;
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-self: end;
  align-self: stretch;
  display: none;
}

.hero-image-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 0 12px;
}

.hero-image-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 0 8%;
  border: 1px solid #dcebd6;
  border-radius: 48% 48% 42% 42%;
  background: linear-gradient(145deg, #edf6e6, #e0eed7);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  /* The image sets its own height; no fixed box, crop or zoom. */
  object-fit: contain;
  object-position: center;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-caption-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  color: var(--primary);
  background: var(--accent-soft);
  border-radius: 50%;
}

.hero-caption strong {
  display: block;
  color: var(--heading);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-caption span span {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.centered-heading {
  text-align: center;
  display: block;
  max-width: 760px;
  margin: 0 auto 55px;
}

.centered-heading p {
  max-width: 650px;
  margin: 15px auto 0;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.text-link:hover {
  color: var(--primary-dark);
}


/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.categories-section {
  background: white;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

.category-card {
  position: relative;
  padding: 30px 24px;
  min-height: 220px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: white;

  box-shadow: 0 7px 25px rgba(15, 61, 46, 0.04);

  transition: all var(--transition);

  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: var(--shadow-md);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;

  display: grid;
  place-items: center;

  color: var(--primary);
  background: var(--accent-soft);

  font-size: 1.4rem;
  margin-bottom: 23px;
}

.category-card h3 {
  margin-bottom: 10px;
}

.category-card p {
  font-size: 0.88rem;
  min-height: 66px;
}

.category-card .card-link {
  margin-top: auto;
}

.card-link {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.featured-category {
  background:
    linear-gradient(
      145deg,
      var(--primary-dark),
      var(--primary)
    );

  border-color: transparent;
}

.featured-category h3,
.featured-category p,
.featured-category .card-link {
  color: white;
}

.featured-category p {
  opacity: 0.82;
}

.featured-category .card-icon {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}


/* =========================================================
   ARTICLE CARDS
   ========================================================= */

.articles-section {
  background: var(--background);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);

  transition: all var(--transition);
}

.article-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.article-image {
  height: 220px;
  padding: 20px;
  display: flex;
  align-items: flex-end;

  background:
    linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary-light)
    );

  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.article-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 61, 46, 0.08), rgba(15, 61, 46, 0.62));
}

.guide-card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.article-image span {
  position: relative;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);

  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.article-image-one {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.3),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #174d39,
      #78b75b
    );
}

.article-image-two {
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(255, 255, 255, 0.25),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #2e7d32,
      #9ccc65
    );
}

.article-image-three {
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(255, 255, 255, 0.3),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #1c4f3b,
      #5da750
    );
}

.article-content {
  padding: 28px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.article-category {
  display: inline-block;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  margin-bottom: 11px;
}

.article-content h3 {
  margin-bottom: 12px;
}

.article-content h3 a {
  transition: color var(--transition);
}

.article-content h3 a:hover {
  color: var(--primary);
}

.article-content p {
  font-size: 0.9rem;
}

.read-more {
  display: inline-flex;
  margin-top: auto;
  padding-top: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}


/* =========================================================
   TOOLS
   ========================================================= */

.tools-section {
  background: white;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 25px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      180deg,
      white,
      #fbfdf9
    );

  transition: all var(--transition);

  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;

  width: 120px;
  height: 120px;

  right: -60px;
  top: -60px;

  background: var(--accent-soft);
  border-radius: 50%;

  transition: transform 0.5s ease;
}

.tool-card:hover {
  transform: translateY(-9px);
  border-color: rgba(46, 125, 50, 0.35);
  box-shadow: var(--shadow-md);
}

.tool-card:hover::before {
  transform: scale(1.5);
}

.tool-icon {
  position: relative;
  z-index: 2;

  width: 64px;
  height: 64px;

  margin: 0 auto 22px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  background: var(--accent-soft);
  color: var(--primary);

  font-weight: 800;
  font-size: 0.9rem;
}

.tool-icon svg {
  width: 30px;
  height: 30px;
}

.tool-card h3 {
  position: relative;
  z-index: 2;
}

.tool-card p {
  position: relative;
  z-index: 2;

  min-height: 75px;
  font-size: 0.88rem;
}

.btn-tool {
  position: relative;
  z-index: 2;

  width: 100%;

  min-height: 44px;

  background: var(--accent-soft);
  color: var(--primary);

  padding: 10px 17px;
  margin-top: auto;
}

.tool-card:hover .btn-tool {
  background: var(--primary);
  color: white;
}

.center-button {
  text-align: center;
  margin-top: 42px;
}


/* =========================================================
   TRUST SECTION
   ========================================================= */

.trust-section {
  background:
    linear-gradient(
      180deg,
      var(--surface-soft),
      var(--background)
    );
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 30px 24px;

  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  transition: all var(--transition);
}

.trust-card > span {
  display: inline-block;

  color: var(--primary);
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;

  margin-bottom: 20px;
}

.trust-card h3 {
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.87rem;
  margin-bottom: 0;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(46, 125, 50, 0.3);
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  padding: 40px 0 90px;
}

.final-cta-box {
  padding: 60px;

  border-radius: var(--radius-lg);

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(167, 213, 109, 0.35),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      var(--primary-dark),
      #1d6741
    );

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  box-shadow: var(--shadow-lg);
}

.final-cta h2 {
  color: white;
  max-width: 720px;
  margin-bottom: 0;
}

.light-eyebrow {
  color: var(--primary-light);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-light {
  background: white;
  color: var(--primary-dark);
}

.btn-outline-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-dark);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: #092c21;
  color: white;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr 1fr 1.15fr;
  gap: 28px;
  padding-bottom: 44px;
}

.footer-grid > div:not(.footer-brand) { min-width: 0; }
.footer-grid h3 { color: white; font-size: .95rem; margin-bottom: 16px; }
.footer-grid a { display: block; margin: 0 0 8px; color: rgba(255,255,255,.78); font-size: .86rem; }
.footer-grid a:hover { color: var(--primary-light); }

.footer-logo .brand-name {
  color: white;
}
.footer-grid a.footer-logo { display: flex; align-items: center; }
.footer-logo .brand-logo-image { width: 44px; height: 44px; }
.site-footer a:focus-visible { outline-color: var(--primary-light); }

.footer-brand p {
  max-width: 330px;
  margin-top: 22px;
  color: #c5d5cf;
  font-size: 0.88rem;
}

.site-footer h3 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.site-footer > .container a {
  color: #d6e3dc;
}

.footer-grid > div:not(.footer-brand) a {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 3px;
  padding-block: 7px;
  transition: all var(--transition);
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  min-height: 75px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.footer-bottom a {
  font-size: 0.8rem;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroEnter {
  from {
    transform: translateY(10px);
  }

  to {
    transform: translateY(0);
  }
}



.is-revealing {
  animation: fadeUp 0.6s ease;
}

.upcoming-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.upcoming-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.upcoming-content {
  max-width: 760px;
}

.upcoming-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -1px;
}

.upcoming-content p {
  max-width: 560px;
  margin-inline: auto;
}

.upcoming-content .hero-actions {
  justify-content: center;
  margin: 30px 0 0;
}

.upcoming-page .site-footer {
  padding-top: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .header-cta {
    display: none;
  }

  .main-nav {
    gap: 19px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE NAV + RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

  .section {
    padding: 75px 0;
  }

  .navbar {
    min-height: 74px;
    height: auto;
    flex-wrap: wrap;
    gap: 0 12px;
    padding-block: 10px;
  }

  html:not(.nav-ready) .site-header {
    position: static;
  }

  .brand-tagline {
    display: none;
  }

  .nav-ready .mobile-menu-btn,
  .nav-pending .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-block: 12px;
  }

  .nav-ready .main-nav,
  .nav-pending .main-nav {
    display: none;
    width: auto;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;

    background: white;

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow-md);

    padding: 18px;

    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-ready .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .dropdown-btn {
    width: 100%;
    padding: 12px;
    text-align: left;
    border-radius: 9px;
  }

  .main-nav > a:hover,
  .dropdown-btn:hover {
    background: var(--accent-soft);
  }

  .main-nav > a::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;

    min-width: 0;
    max-height: none;

    margin-top: 4px;

    border: 0;
    box-shadow: none;

    background: var(--surface-soft);
  }

  .hero {
    padding: 56px 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "content"
      "features";
    gap: 40px;
  }

  .hero-content {
    max-width: 620px;
    margin-inline: auto;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 6.5vw, 3.5rem);
  }

  .hero-text {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    display: none !important;
  }

  .hero-features {
    max-width: 620px;
    margin-inline: auto;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-box {
    padding: 45px 30px;
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {

  h1 {
    font-size: 2.45rem;
    letter-spacing: -1.3px;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero {
    padding: 40px 0 48px;
    background-position: 64% center;
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.88) 18%,
        rgba(255, 255, 255, 0.74) 32%,
        rgba(255, 255, 255, 0.28) 58%,
        rgba(255, 255, 255, 0.08) 100%
      ),
      url("../images/serene_lemon_mint_hydration_vista.png");
  }

  .hero h1 {
    font-size: clamp(2.15rem, 8.5vw, 2.9rem);
  }

  .hero .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 1.6px;
    margin-bottom: 18px;
  }

  .hero .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 20px;
    text-align: left;
  }

  .hero-features li {
    position: relative;
    padding-left: 20px;
  }

  .hero-features li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
  }

  .hero-caption {
    gap: 10px;
    padding: 12px;
  }

  .hero-caption strong {
    font-size: 0.82rem;
  }

  .hero-caption span span {
    font-size: 0.7rem;
  }

  .brand-logo-image {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    display: inline-block;
    margin-top: 18px;
  }

  .category-grid,
  .tools-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .category-card p,
  .tool-card p {
    min-height: auto;
  }

  .final-cta {
    padding-bottom: 60px;
  }

  .final-cta-box {
    padding: 40px 22px;
  }

  .cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
    text-align: center;
  }

}


/* =========================================================
   REDUCED MOTION / ACCESSIBILITY
   ========================================================= */

@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;
  }

}
