@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #1a263d;
  --coral: #f47863;
  --coral-dark: #e06552;
  --white: #ffffff;
  --gray-bg: #f9f9f9;
  --gray-light: #f4f4f4;
  --text: #2d3436;
  --text-muted: #636e72;
  --border: #e0e0e0;
  --radius: 5px;
  --shadow: 0 8px 30px rgba(26, 38, 61, 0.08);
  --section-pad: 90px 0;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--coral);
}

ul {
  list-style: none;
}

.container {
  width: min(1170px, 92%);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  background: var(--coral);
  margin: 0 auto 16px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: inherit;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: #243552;
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-coral {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}

.btn-outline-coral:hover {
  background: var(--coral);
  color: var(--white);
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--coral);
}

.top-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-social a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.logo-text .tagline {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--coral);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--coral);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--navy);
  padding: 8px;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--coral);
  color: white;
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(26, 38, 61, 0.72), rgba(26, 38, 61, 0.55)),
    url('../images/hero.jpg') center/cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 720px;
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 32px;
}

/* Coach spotlight */
.coach-section {
  padding: var(--section-pad);
  background: var(--white);
}

.coach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.coach-quote {
  font-style: italic;
  color: var(--coral);
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-left: 3px solid var(--coral);
  padding-left: 20px;
}

.coach-grid h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 20px;
}

.coach-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.signature {
  margin-top: 24px;
  font-weight: 600;
  color: var(--navy);
}

/* About block */
.about-block {
  padding: var(--section-pad);
  background: var(--gray-bg);
}

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

.about-grid h2 {
  color: var(--navy);
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* CTA banner */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
}

/* Services cards */
.services-section {
  padding: var(--section-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.read-more {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Testimonials */
.testimonials {
  background: var(--coral);
  color: var(--white);
  padding: var(--section-pad);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Features row */
.features-row {
  padding: 70px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-item .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  font-size: 1.25rem;
}

.feature-item h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Blog cards */
.blog-section {
  padding: var(--section-pad);
  background: var(--gray-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--coral);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
}

/* Newsletter overlap */
.newsletter-wrap {
  padding: 0 0 80px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.newsletter-box {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-box h3 {
  color: var(--navy);
  font-size: 1.35rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
}

/* Bottom CTA */
.bottom-cta {
  background: var(--coral);
  padding: 70px 0;
  text-align: center;
}

.bottom-cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 24px;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(rgba(26, 38, 61, 0.88), rgba(26, 38, 61, 0.88)),
    url('../images/hero.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 70px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  color: var(--coral);
}

/* Content sections */
.content-section {
  padding: var(--section-pad);
}

.content-section.bg-gray {
  background: var(--gray-bg);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.content-block h2,
.content-block h3 {
  color: var(--navy);
  margin-bottom: 16px;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.content-block ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--coral);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

.product-body h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-price {
  color: var(--coral);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.add-to-cart {
  width: 100%;
}

/* Cart modal */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 38, 61, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cart-overlay.active {
  display: flex;
}

.cart-panel {
  background: var(--white);
  border-radius: var(--radius);
  width: min(520px, 100%);
  max-height: 85vh;
  overflow: auto;
  padding: 28px;
}

.cart-panel h2 {
  color: var(--navy);
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.cart-item button {
  background: none;
  border: none;
  color: var(--coral);
  cursor: pointer;
  font-size: 0.85rem;
}

.cart-empty {
  color: var(--text-muted);
  padding: 20px 0;
}

.cart-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.checkout-msg {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-size: 0.95rem;
}

.checkout-msg.show {
  display: block;
}

/* Forms */
.form-section {
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--coral);
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: #e74c3c;
}

.field-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.field-error.show {
  display: block;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Checkbox alignment */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.checkbox-group input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--coral);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-group .field-error {
  flex-basis: 100%;
  margin-left: 30px;
}

.newsletter-form .form-success {
  flex-basis: 100%;
  margin-top: 8px;
}

.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 20px;
}

.form-success.show {
  display: block;
}

/* Legal long content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 32px 0 14px;
}

.legal-content h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 70px;
}

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

.footer-about .footer-logo {
  height: 40px;
  margin-bottom: 16px;
  width: auto;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--coral);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-social a:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal a:hover {
  color: var(--coral);
}

.footer-legal span {
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .header-actions .btn {
    display: none;
  }

  .coach-grid,
  .about-grid,
  .testimonial-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .blog-grid,
  .shop-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-box {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    width: 100%;
    max-width: none;
    flex-direction: column;
  }
}