:root {
  --forest: #23352b;
  --forest-dark: #16211a;
  --stone: #ece7db;
  --stone-light: #f6f4ee;
  --clay: #b5622f;
  --clay-dark: #954f24;
  --ink: #22271f;
  --muted: #5c6259;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--stone-light);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }
h2.center { text-align: center; margin-bottom: 48px; }

h1, h2, h3 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--forest-dark);
  font-weight: 700;
  line-height: 1.2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 244, 238, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(35, 53, 43, 0.1);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  color: var(--forest-dark);
}
.logo-accent { color: var(--clay); }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--clay); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--forest-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--clay);
  color: #fff;
}
.btn-primary:hover { background: var(--clay-dark); }
.btn-outline {
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: #fff; }

/* Hero */
.hero {
  background:
    linear-gradient(100deg, rgba(10,14,11,0.9) 0%, rgba(10,14,11,0.6) 45%, rgba(10,14,11,0.25) 100%),
    url("images/matteo-coaching-2.jpg");
  background-size: cover;
  background-position: center 22%;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  color: var(--stone-light);
  padding: 90px 0 70px;
  box-sizing: border-box;
}
.hero-inner { max-width: 640px; }
.hero .eyebrow { color: var(--clay); }
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.05rem;
  color: rgba(246, 244, 238, 0.85);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(246,244,238,0.5); color: var(--stone-light); }
.hero .btn-outline:hover { background: var(--stone-light); color: var(--forest-dark); }

/* About */
.about { padding: 80px 0; }
.about-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.about-portrait img {
  width: 100%;
  border-radius: var(--radius);
  filter: grayscale(8%);
  box-shadow: 0 24px 48px -24px rgba(22, 33, 26, 0.35);
}
.about-text h2 { font-size: 1.85rem; margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(35,53,43,0.15);
}
.credential-badges span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--forest);
  background: var(--stone);
  border-left: 3px solid var(--clay);
  padding: 8px 14px;
  border-radius: var(--radius);
}

/* CTA banner */
.cta-banner {
  background:
    linear-gradient(160deg, rgba(35,53,43,0.78) 0%, rgba(22,33,26,0.88) 100%),
    url("images/cta-barbell-plates.jpg");
  background-size: cover;
  background-position: center 60%;
  padding: 80px 0;
  text-align: center;
}
.cta-banner .eyebrow { color: var(--clay); }
.cta-banner h2 {
  color: #fff;
  font-size: 1.7rem;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Action strip */
.action-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 400px;
  max-width: 1600px;
  margin: 0 auto;
}
.action-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.action-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: transform 0.6s ease;
}
.action-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(35,53,43,0.5), rgba(22,33,26,0.25));
  mix-blend-mode: multiply;
}
.action-image:hover img { transform: scale(1.04); }

/* Services */
.services {
  background:
    linear-gradient(160deg, rgba(35,53,43,0.93) 0%, rgba(22,33,26,0.95) 100%),
    url("images/services-bg-gym.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
.services .eyebrow.center { color: var(--clay); }
.services h2.center { color: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--stone-light);
  padding: 28px 26px;
  border-radius: var(--radius);
  border-top: 3px solid var(--clay);
}
.service-icon {
  color: var(--clay);
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Online coaching steps */
.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  background: none;
  border: none;
  padding: 0;
  color: var(--clay);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}
.service-toggle:hover { color: var(--clay-dark); }
.service-toggle .chevron { width: 14px; height: 14px; transition: transform 0.3s ease; }
.service-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.online-coaching {
  background: var(--stone-light);
  max-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.4s ease;
}
.online-coaching.is-open {
  max-height: 1400px;
  padding: 80px 0;
  opacity: 1;
}
.online-coaching h2.center { margin-bottom: 48px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step { border-top: 1px solid rgba(35,53,43,0.15); padding-top: 20px; }
.step-number {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 10px;
}
.step h3 { font-size: 1rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* Contact */
.contact { position: relative; padding: 80px 0; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: url("images/matteo-coaching-1.jpg") center/cover;
  filter: blur(18px) grayscale(35%);
  opacity: 0.4;
  z-index: 0;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.contact-info {
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--stone-light);
  border-radius: var(--radius);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info .eyebrow { color: var(--clay); }
.contact-info h2 { color: #fff; font-size: 1.85rem; margin-bottom: 14px; }
.contact-info p { color: rgba(246,244,238,0.8); margin-bottom: 32px; }
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(246,244,238,0.08);
  border: 1px solid rgba(246,244,238,0.18);
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--stone-light);
  transition: all 0.2s;
}
.contact-link svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--clay); }
.contact-link:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}
.contact-link:hover svg { color: #fff; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid rgba(35,53,43,0.25);
  border-radius: var(--radius);
  background: var(--stone-light);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--clay);
}
.contact-form button { align-self: flex-start; }

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: rgba(246,244,238,0.7);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-inner a:hover { color: var(--stone-light); }

/* Responsive */
@media (max-width: 860px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; }
  .action-strip { grid-template-columns: 1fr; height: auto; }
  .action-image { height: 280px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; min-height: 480px; }
  .hero h1 { font-size: 1.7rem; }
  .about, .services, .contact { padding: 56px 0; }
  .online-coaching.is-open { padding: 56px 0; }
}

body.nav-open .main-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--stone-light);
  padding: 20px 24px;
  gap: 18px;
  border-bottom: 1px solid rgba(35,53,43,0.1);
}
