:root {
  --primary: #1f2937;
  --primary-dark: #000000;
  --primary-light: #9ca3af;
  --warm-brown: #111827;
  --warm-cream: #f3f4f6;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e5e7eb;
}

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

html, body {
  height: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-white);
}

/* Navbar */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.brand-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cert-trigger {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.cert-trigger:hover,
.cert-trigger:focus-visible {
  border-color: currentColor;
  color: var(--primary-dark);
  outline: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9f3 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(217, 119, 6, 0.15);
  display: block;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.1;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background: var(--warm-brown);
  color: white;
}

.btn-secondary:hover {
  background: #5f2d0c;
}

/* Philosophy Section */
.philosophy {
  /* bring this section closer to the About section */
  padding: 40px 20px 80px 20px;
  background: var(--bg-light);
}

.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Visually separate the focus list from the trainer words */
.focus-section {
  margin-top: 56px;
  padding: 28px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border-top: 1px solid var(--border);
}

.focus-section h3 {
  font-size: 1.6rem;
  color: var(--warm-brown);
  margin-bottom: 18px;
  text-align: center;
}

.philosophy-container > h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--warm-brown);
  margin-bottom: 28px;
  text-align: center;
}

.trainer-heart {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 10px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #b45309, #f59e0b);
  color: white;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2);
  font-size: 1.05rem;
  line-height: 1;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.philosophy-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-section {
  margin-top: 40px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.1);
}

.focus-section h3 {
  font-size: 1.7rem;
  color: var(--warm-brown);
  margin-bottom: 18px;
  text-align: center;
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.focus-list li {
  background: var(--bg-light);
  padding: 18px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.08);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.12);
}

.philosophy-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-size: 1.3rem;
  color: var(--warm-brown);
  margin-bottom: 12px;
}

.philosophy-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Focus Section */
.focus {
  padding: 60px 20px;
  background: transparent;
}

.focus-container {
  max-width: 1200px;
  margin: 0 auto;
}

.focus-container > h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--warm-brown);
  margin-bottom: 8px;
  text-align: center;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.focus-card {
  background: linear-gradient(180deg, var(--bg-white), #fffaf6);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.08);
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.focus-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.14);
}

.focus-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  font-size: 2.4rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.12);
}

.focus-card h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--warm-brown);
}

.focus-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
  padding: 80px 20px;
  background: var(--bg-white);
}

.pricing-container {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-container > h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--warm-brown);
  margin-bottom: 48px;
  text-align: center;
}

.pricing-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-item h3 {
  font-size: 1.2rem;
  color: var(--warm-brown);
  margin-bottom: 8px;
  font-weight: 700;
}

.pricing-item p {
  color: var(--text);
  font-size: 1rem;
}

.pricing-category {
  background: var(--bg-light);
  padding: 28px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.pricing-category h3 {
  font-size: 1.4rem;
  color: var(--warm-brown);
  margin-bottom: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-section {
  margin-bottom: 20px;
}

.pricing-section h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 600;
}

.pricing-section p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-list li {
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.pricing-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.pricing-note {
  background: var(--bg-white);
  padding: 28px;
  border-radius: 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.pricing-note p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.pricing-note p:last-child {
  margin-bottom: 0;
}
/* Training Room Section */
.gym {
  padding: 92px 20px;
  background: var(--bg-light);
}

.gym-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gym-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
  text-align: center;
}

.gym-heading-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
  width: 100%;
}

.gym-logo {
  width: 152px;
  height: auto;
  border-radius: 18px;
  justify-self: start;
  margin-left: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gym-heading-row h2 {
  font-family: 'Playfair Display', serif;
  font-size: 4.75rem;
  line-height: 1.05;
  margin: 0;
  color: var(--warm-brown);
  grid-column: 2;
}

.gym-location {
  color: var(--text-light);
  font-size: 1.08rem;
  margin: 0;
  line-height: 1.55;
  max-width: 100%;
}

.gym-text {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.gym-text p {
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.gym-copy-primary,
.gym-copy-secondary {
  display: inline;
}

.gym-copy-primary::after {
  content: ' ';
}

.gym-media {
  max-width: 1040px;
  margin: 30px auto 0;
}

.gym-media h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.08rem;
  color: var(--warm-brown);
  margin-bottom: 30px;
  letter-spacing: 0.6px;
}

.weights-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.78fr);
  gap: 20px;
  margin-bottom: 34px;
  align-items: stretch;
}

.weights-video,
.weights-images img,
.turf-grid img {
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.weights-video video {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
}

.weights-images {
  display: grid;
  gap: 18px;
}

.weights-images img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.turf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.turf-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .gym-heading-row {
    grid-template-columns: auto auto;
    width: auto;
  }

  .gym-heading-row h2 {
    grid-column: auto;
  }

  .gym-logo {
    justify-self: auto;
    margin-left: 0;
  }

  .weights-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .gym {
    padding: 64px 18px;
  }

  .gym-header {
    gap: 16px;
  }

  .gym-logo {
    width: 112px;
  }

  .gym-heading-row {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .gym-heading-row h2 {
    font-size: 3rem;
  }

  .gym-location {
    font-size: 0.92rem;
  }

  .gym-media h3 {
    font-size: 1.55rem;
    margin-bottom: 20px;
  }

  .weights-video video {
    min-height: 280px;
  }

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

/* Contact Section */
.contact {
  padding: 100px 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9f3 100%);
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-note {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 32px;
  line-height: 1.6;
}

.form-link {
  color: #0066cc;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.form-link:hover {
  color: #004499;
}

.contact-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--warm-brown);
  margin-bottom: 8px;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 48px 0;
}

.contact-method h3 {
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.contact-method a {
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-method a:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  text-align: center;
  padding: 24px 20px;
  font-size: 0.9rem;
}

.cert-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1000;
}

.cert-modal.is-open {
  display: flex;
}

.cert-modal-backdrop {
  background: rgba(17, 24, 39, 0.72);
  inset: 0;
  position: absolute;
}

.cert-modal-panel {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  max-height: 92vh;
  max-width: 900px;
  overflow: hidden;
  position: relative;
  width: min(100%, 900px);
  z-index: 1;
}

.cert-modal-header {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.cert-modal-header h2 {
  color: var(--warm-brown);
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}

.cert-modal-close {
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}

.cert-modal-close:hover,
.cert-modal-close:focus-visible {
  background: var(--primary);
  color: white;
  outline: none;
}

.cert-frame {
  border: 0;
  display: block;
  height: min(74vh, 760px);
  width: 100%;
}

.cert-download {
  border-top: 1px solid var(--border);
  color: var(--primary);
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 18px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    gap: 8px 14px;
    font-size: 0.85rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .philosophy-container > h2 {
    font-size: 2rem;
  }

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

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-container h2 {
    font-size: 2rem;
  }
}

/* Mobile polish */
@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    position: static;
  }

  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    text-align: center;
  }

  .nav-brand {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-title {
    font-size: 0.7rem;
  }

  .nav-links {
    justify-content: center;
    gap: 10px 16px;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .hero,
  .philosophy,
  .focus,
  .pricing,
  .gym,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
    min-height: auto;
  }

  .hero-container {
    gap: 28px;
  }

  .hero-content h1,
  .philosophy-container > h2,
  .focus-container > h2,
  .pricing-container > h2,
  .contact-container h2 {
    font-size: 1.9rem;
    line-height: 1.15;
  }

  .hero-subtitle,
  .section-subtitle,
  .contact-note {
    font-size: 1rem;
  }

  .hero-description,
  .philosophy-card p,
  .focus-card p,
  .pricing-section p,
  .pricing-list li,
  .pricing-note p,
  .gym-text p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .gym-copy-primary,
  .gym-copy-secondary {
    display: block;
  }

  .gym-copy-primary {
    margin-bottom: 14px;
  }

  .gym-copy-primary::after {
    content: '';
  }

  .philosophy,
  .focus,
  .pricing,
  .gym,
  .contact {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .philosophy-card,
  .pricing-category,
  .pricing-note {
    padding: 24px 20px;
  }

  .gym-heading-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    width: 100%;
  }

  .gym-heading-row h2 {
    font-size: 2.45rem;
    line-height: 1.08;
    text-align: center;
  }

  .gym-logo {
    width: 104px;
    margin-left: 0;
  }

  .gym-location {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .gym-media {
    margin-top: 26px;
    max-width: 100%;
  }

  .gym-media h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }

  .weights-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .weights-video video {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .weights-images {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .weights-images img,
  .turf-grid img {
    width: 100%;
    height: auto;
  }

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

  .contact-method a {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .cert-modal {
    padding: 14px;
  }

  .cert-modal-header {
    padding: 12px 14px;
  }

  .cert-modal-header h2 {
    font-size: 1.2rem;
  }

  .cert-frame {
    height: 68vh;
  }
}
