/* =====================================
   FITCALC - GLOBAL STYLES
===================================== */

:root {
  --green: #078653;
  --green-dark: #056744;
  --green-light: #dff4e9;
  --navy: #102a32;
  --text: #354650;
  --muted: #71808a;
  --white: #ffffff;
  --soft-bg: #f2f9f6;
  --border: #e0e9e5;
  --shadow: 0 10px 35px rgba(14, 52, 40, 0.10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #62bd95;
  outline-offset: 3px;
}

.container {
  width: min(1180px, 90%);
  margin-inline: auto;
}

.section-padding {
  padding: 75px 0;
}

/* =====================================
   HEADER / NAVBAR
===================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #edf1ef;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.025);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 27px;
  color: var(--green);
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.7px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link,
.dropdown-toggle {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link.active {
  color: var(--green);
}

.nav-link.active {
  border-bottom: 2px solid var(--green);
  padding-bottom: 7px;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
}

.dropdown-toggle span {
  margin-left: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  min-width: 220px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
}

.dropdown-menu a:hover {
  color: var(--green);
  background: var(--soft-bg);
}

.health-btn {
  display: inline-block;
  padding: 9px 17px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 27px;
}

/* =====================================
   ADVERTISEMENT PLACEHOLDERS
===================================== */

.ad-container {
  width: min(970px, 92%);
  margin: 20px auto;
  text-align: center;
}

.ad-container > span {
  display: block;
  margin-bottom: 5px;
  color: #89958f;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-box {
  width: 100%;
  min-height: 50px;
  border: 1px dashed #d6e0da;
  border-radius: 7px;
  background: #fafcfb;
}

.ad-middle {
  min-height: 70px;
}

.ad-bottom {
  min-height: 70px;
}

/* =====================================
   HERO SECTION
===================================== */

.hero {
    position: relative;
    padding: 70px 0 60px;
    min-height: 650px;
    background-color: #eaf4f2;
    background-image: 
        linear-gradient(
            90deg, 
            rgba(244, 250, 248, 0.85) 0%, 
            rgba(239, 248, 245, 0.60) 50%, 
            rgba(229, 243, 237, 0.20) 100%
        ), 
        url("hero.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 65px;
}

.hero-content {
  padding: 12px 0;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  color: white;
  background: var(--green);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero h1 {
  margin: 15px 0 13px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 51px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1.5px;
}

.hero-description {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.8;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 25px 0;
}

.benefit {
  text-align: center;
  padding: 0 7px;
  border-right: 1px solid rgba(16, 42, 50, 0.13);
}

.benefit:last-child {
  border-right: none;
}

.benefit > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: #dcefe4;
  color: var(--green-dark);
  font-size: 25px;
}

.benefit p {
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 11px 23px;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 134, 83, 0.20);
}

.primary-btn,
.calculate-btn {
  color: white;
  background: linear-gradient(120deg, #099c62, #078653);
}

.primary-btn span {
  font-size: 17px;
}

/* =====================================
   CALCULATOR CARD
===================================== */

.calculator-card {
  width: 100%;
  max-width: 450px;
  justify-self: center;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 40px rgba(17, 48, 40, 0.17);
}

.calculator-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.flame-icon {
  color: var(--green);
  font-size: 36px;
  line-height: 1;
}

.calculator-heading h2 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.4;
}

.calculator-heading p {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}

.gender-field {
  min-width: 0;
  border: none;
  margin-bottom: 12px;
}

.gender-field legend,
.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.gender-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gender-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.gender-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.gender-option span {
  display: block;
  padding: 8px;
  text-align: center;
  border: 1px solid #e2e8e5;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.gender-option.selected span {
  color: var(--green-dark);
  border-color: var(--green);
  background: #f0faf5;
}

.gender-option input:focus-visible + span {
  outline: 3px solid #62bd95;
  outline-offset: 2px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
}

.form-group input::placeholder {
  color: #9ba6ad;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);
  outline: 2px solid rgba(7, 134, 83, 0.12);
}

.calculate-btn {
  width: 100%;
  min-height: 44px;
}

.form-error {
  margin-bottom: 12px;
  color: #b42318;
  font-size: 12px;
  font-weight: 600;
}

[hidden] {
  display: none !important;
}

/* =====================================
   CALCULATOR RESULTS
===================================== */

.results {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.results h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 18px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-box {
  padding: 15px 9px;
  border: 1px solid #d8eee2;
  border-radius: 12px;
  background: #f0faf5;
  text-align: center;
}

.result-box span,
.result-box small {
  display: block;
  font-size: 11px;
}

.result-box strong {
  display: block;
  margin: 7px 0;
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1.3;
}

.activity-result {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
}

.result-explanation,
.disclaimer {
  margin-top: 10px;
  font-size: 11px;
}

.disclaimer {
  color: var(--muted);
}

.reset-btn {
  width: 100%;
  margin-top: 15px;
  color: var(--green-dark);
  background: var(--green-light);
}

/* =====================================
   FEATURES STRIP
===================================== */

.features {
  padding: 30px 0;
  background: #f0f8f5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 5px 20px;
  text-align: center;
  border-right: 1px solid #d6e3dc;
}

.feature-card:last-child {
  border-right: none;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #d0eddd;
  color: var(--green-dark);
  font-size: 26px;
}

.feature-card h3 {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 14px;
}

.feature-card p {
  max-width: 180px;
  margin: auto;
  font-size: 12px;
  color: var(--muted);
}

/* =====================================
   ABOUT SECTION
===================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.about-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-content h2 {
  margin: 12px 0;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.about-content p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.85;
}

.light-badge {
  color: var(--green-dark);
  background: #dff5e9;
}

.about-content .btn {
  margin-top: 5px;
}

.about-details {
  margin-top: 38px;
  padding: 22px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--soft-bg);
}

.about-details h3 {
  margin-bottom: 7px;
  color: var(--navy);
}

.about-details p {
  font-size: 13px;
}

/* =====================================
   FAQ SECTION
===================================== */

.faq {
  background: linear-gradient(140deg, #f1faf6, #f7fbf9);
}

.section-heading {
  margin-bottom: 30px;
  text-align: center;
}

.section-heading h2 {
  margin: 10px 0 7px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.25;
}

.section-heading p {
  font-size: 13px;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  align-items: start;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e0eae5;
  border-radius: 11px;
  background: white;
  box-shadow: 0 3px 10px rgba(15, 55, 40, 0.025);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 53px;
  padding: 13px 16px;
  border: none;
  background: white;
  color: var(--navy);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}

.faq-question:hover {
  color: var(--green-dark);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 19px;
  color: var(--green);
}

.faq-answer {
  padding: 0 16px 15px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* =====================================
   FOOTER
===================================== */

.footer {
  color: #e5f0eb;
  background: linear-gradient(135deg, #073b30, #042c25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.15fr 1fr;
  gap: 35px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-logo strong {
  color: white;
}

.footer-logo small {
  color: #c0d3cb;
}

.footer-brand > p {
  margin-top: 14px;
  max-width: 260px;
  font-size: 12px;
  color: #c9d9d2;
}

.footer-column h3 {
  margin-bottom: 12px;
  color: white;
  font-size: 14px;
}

.footer-column > a {
  display: block;
  margin-bottom: 8px;
  color: #c9d9d2;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-column > a:hover,
.legal-links a:hover {
  color: #76e0ac;
}

.footer-column p {
  margin-bottom: 9px;
  font-size: 12px;
  color: #c9d9d2;
  overflow-wrap: anywhere;
}

.coming-soon {
  margin-top: 12px;
  font-size: 11px !important;
  color: #9fd6ba !important;
}

.social-links {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #50796b;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.social-links a:hover {
  background: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 55px;
}

.footer-bottom p,
.legal-links a {
  font-size: 11px;
  color: #d0dfd8;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-disclaimer {
  padding-top: 15px;
  padding-bottom: 18px;
}

.footer-disclaimer p {
  font-size: 10px;
  line-height: 1.8;
  color: #b8cec4;
}

/* =====================================
   RESPONSIVE: TABLETS
===================================== */

@media (max-width: 1000px) {
  .navbar {
    gap: 12px;
  }

  .nav-menu {
    gap: 14px;
  }

  .hero-grid {
    gap: 30px;
    grid-template-columns: 1fr 0.95fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .calculator-card {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================
   RESPONSIVE: MOBILE
===================================== */

@media (max-width: 700px) {
  html {
    scroll-padding-top: 75px;
  }

  .container {
    width: 91%;
  }

  .section-padding {
    padding: 48px 0;
  }

  .navbar {
    min-height: 70px;
    gap: 10px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 9px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 6px;
  }

  .health-btn {
    display: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5%;
    border-top: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 5px;
  }

  .nav-link.active {
    border-bottom: none;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    padding: 12px 5px;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0 0 8px 8px;
    box-shadow: none;
    border-radius: 8px;
    background: var(--soft-bg);
  }

  .ad-container {
    margin: 14px auto;
  }

  .ad-top {
    min-height: 45px;
  }

  .ad-middle,
  .ad-bottom {
    min-height: 55px;
  }

  .hero {
    padding: 36px 0;
    background-position: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 42px);
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-benefits {
    margin: 22px 0;
  }

  .benefit {
    padding: 0 3px;
  }

  .benefit > span {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .benefit p {
    font-size: 10px;
  }

  .calculator-card {
    max-width: 480px;
    padding: 22px 18px;
  }

  .calculator-heading h2 {
    font-size: 19px;
  }

  .features {
    padding: 24px 0;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 0;
  }

  .feature-card {
    padding: 5px 10px;
  }

  .feature-card:nth-child(2) {
    border-right: none;
  }

  .feature-card h3 {
    font-size: 13px;
  }

  .feature-card p {
    font-size: 11px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-image img {
    height: 250px;
  }

  .about-content h2 {
    font-size: 29px;
  }

  .about-content p {
    font-size: 13px;
  }

  .about-details {
    margin-top: 25px;
    padding: 17px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-heading p {
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .footer-brand > p {
    font-size: 11px;
  }

  .footer-column h3 {
    font-size: 13px;
  }

  .footer-column > a,
  .footer-column p {
    font-size: 11px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .legal-links {
    gap: 9px;
  }

  .legal-links a {
    font-size: 10px;
  }
}

/* =====================================
   SMALL MOBILE PHONES
===================================== */

@media (max-width: 360px) {
  .container {
    width: 93%;
  }

  .brand small {
    font-size: 8px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .calculator-card {
    padding: 17px 13px;
  }

  .result-box strong {
    font-size: 20px;
  }

  .footer-grid {
    gap: 24px 13px;
  }
}

/* =====================================
   REDUCED MOTION ACCESSIBILITY
===================================== */

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