/* ExercizeMe — pure-clone styles
   Design tokens from the live snapshot (orange #F2A65A, dark slate buttons). */

:root {
  --orange:        #F2A65A;
  --orange-dark:   #E89548;
  --text:          #1F2937;
  --text-muted:    #6B7280;
  --white:         #FFFFFF;
  --gray-bg:       #F3F4F6;
  --border:        #E5E7EB;
  --slate:         #374151;
  --slate-hover:   #1F2937;
  --radius:        6px;
  --max-w:         1100px;
  --gap:           24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Helvetica, Arial, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
  border: 0;
  cursor: pointer;
  text-align: center;
}
.btn:hover   { transform: translateY(-1px); }
.btn:active  { transform: translateY(0); }
.btn-dark    { background: var(--slate); color: var(--white); }
.btn-dark:hover { background: var(--slate-hover); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}
.logo img { display: block; }
.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.primary-nav a:hover { color: var(--orange-dark); }
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  padding: 4px 6px;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 3px;
  transition: color 0.15s ease;
}
.lang-toggle button:hover { color: var(--text); }
.lang-toggle button.is-active {
  color: var(--orange-dark);
  cursor: default;
}
.lang-toggle .lang-sep {
  color: var(--border);
  user-select: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #111;
  color: var(--white);
  padding: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0;
  max-width: none;
}
.hero-image {
  position: relative;
  min-height: 460px;
  background: #1F1F1F;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-copy {
  padding: 60px 50px;
}
.hero-copy h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
}
.hero-copy h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 28px;
  font-weight: 600;
  color: #D1D5DB;
}
.hero-copy .btn { margin-top: 8px; }

/* ---------- Value strip ---------- */
.value-strip {
  background: var(--orange);
  padding: 20px 0;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}
.value-item img { width: 28px; height: 28px; }

/* ---------- Two-column sections (problem, solution) ---------- */
.problem, .solution { padding: 60px 0; }
.problem { background: var(--white); }
.solution { background: var(--white); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.two-col .col-image img { width: 100%; height: auto; border-radius: 4px; }
.section-title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--text);
}
.section-title--light  { color: var(--white); }
.section-title--center { text-align: center; }

.cross-list, .check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.cross-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.cross-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #FEE2E2;
  color: #B91C1C;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}
.check-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 12px;
  height: 6px;
  border-left: 2px solid #16A34A;
  border-bottom: 2px solid #16A34A;
  transform: rotate(-45deg);
}

/* ---------- Programs ---------- */
.programs {
  background: var(--orange);
  padding: 60px 0;
  text-align: center;
}
.programs .section-title { margin-bottom: 32px; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.program-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--white);
}
.program-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
}
.program-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
}
.section-cta { text-align: center; margin-top: 24px; }

/* ---------- About ---------- */
.about {
  background: var(--white);
  padding: 60px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.about-copy p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
}
.certs-title {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 12px;
  text-align: center;
}
.certs-strip {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 28px;
}
.about-photo {
  text-align: center;
  position: sticky;
  top: 100px;
}
.about-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 4px solid var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.about-name { margin: 0; font-size: 16px; }

/* ---------- Reviews ---------- */
.reviews {
  background: var(--white);
  padding: 60px 0;
}
.review-placeholder {
  max-width: 700px;
  margin: 0 auto 24px;
  padding: 32px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  text-align: center;
}
.review-stars { color: var(--orange); font-size: 28px; letter-spacing: 4px; }
.review-empty { color: var(--text-muted); margin: 12px 0 0; }

/* ---------- FAQ ---------- */
.faq {
  background: var(--gray-bg);
  padding: 60px 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto 24px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 50px 18px 20px;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "▾";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  color: var(--text-muted);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-answer { padding: 0 20px 20px; font-size: 14px; color: #4B5563; line-height: 1.6; }
.faq-answer p { margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--orange);
  padding: 60px 0;
  text-align: center;
}
.final-cta .section-title {
  max-width: 800px;
  margin: 0 auto 28px;
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--orange);
  color: var(--text);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand img { max-width: 180px; }
.footer-col h3 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.social-list, .contact-list { list-style: none; padding: 0; margin: 0; }
.social-list li, .contact-list li { margin-bottom: 8px; font-size: 14px; }
.social-list a { text-decoration: none; color: var(--text); }
.social-list a:hover { text-decoration: underline; }

/* Contact list: phone (tel:) + email (mailto:) are tappable.
   Address is plain text. All share the same row layout. */
.contact-list .contact-link {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px dotted transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.contact-list .contact-link:hover,
.contact-list .contact-link:focus-visible {
  border-bottom-color: var(--text);
  outline: none;
}
/* On touch devices, make the entire row clearly tappable */
@media (hover: none) {
  .contact-list .contact-link {
    padding: 6px 0;
    border-bottom-color: rgba(31, 41, 55, 0.2);
  }
  .contact-list .contact-link:active {
    background: rgba(242, 166, 90, 0.15);
  }
}
.contact-list .contact-icon {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
}
.contact-list .contact-label {
  font-weight: 600;
  margin-right: 2px;
}
.contact-list .contact-value {
  /* keeps the actual number/email selectable on desktop */
  word-break: break-all;
}
.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 41, 55, 0.15);
  font-size: 13px;
  color: var(--text);
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { min-height: 280px; }
  .hero-copy  { padding: 40px 24px; }
  .hero-copy h1 { font-size: 26px; }
  .two-col    { grid-template-columns: 1fr; gap: 24px; }
  .value-grid { grid-template-columns: 1fr; gap: 10px; }
  .program-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .lang-toggle { margin-left: 12px; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    margin-left: 0;
  }
  .primary-nav.is-open { max-height: 240px; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px;
  }
  .primary-nav li { border-bottom: 1px solid var(--border); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: 14px 0; }
}

@media (max-width: 600px) {
  .section-title { font-size: 22px; }
  .hero-copy h1  { font-size: 22px; }
  .hero-copy h2  { font-size: 16px; }
  .value-item    { font-size: 16px; }
  .program-card  { padding: 18px; }
}
