/* Puleo Fitness Inc. — warm green studio theme
   Fonts: Cormorant Garamond + Outfit (CDN in HTML) */

:root {
  --cream: #f7f5f0;
  --cream-dark: #ebe6dc;
  --sage: #a8c5a0;
  --sage-light: #dce8d6;
  --moss: #6b8f71;
  --forest: #3d5a45;
  --deep: #2c4a34;
  --text: #3a4540;
  --muted: #6b7a72;
  --white: #ffffff;
  --danger: #c45c4a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(44, 74, 52, 0.1);
  --shadow-soft: 0 8px 28px rgba(44, 74, 52, 0.07);
  --header-h: 76px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--deep);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
}

h1 em {
  font-style: italic;
  color: var(--forest);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1080px, 90vw);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 9vw, 6rem) 0;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.6rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: var(--cream);
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--cream-dark);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1080px, 90vw);
  margin-inline: auto;
}

.brand img {
  height: 38px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--forest);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--cream);
}

.btn-soft {
  background: transparent;
  color: var(--forest);
  border-color: var(--sage);
}

.btn-soft:hover {
  background: var(--sage-light);
  border-color: var(--moss);
  color: var(--deep);
}

.header-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

.btn-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Hero — split layout */
.hero {
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(168, 197, 160, 0.35), transparent 60%),
    linear-gradient(165deg, var(--cream) 0%, var(--sage-light) 100%);
}

.hero-inner {
  width: min(1080px, 90vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  margin: 0;
  position: relative;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 0.55rem 1rem;
  background: rgba(247, 245, 240, 0.92);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--forest);
  backdrop-filter: blur(6px);
}

/* Values */
.values {
  padding: 2.5rem 0 3.5rem;
  background: var(--white);
  border-block: 1px solid var(--cream-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
}

.value-icon {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.value-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

/* About */
.about {
  background: var(--cream);
}

.about-block {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.about-quote {
  margin: 0 0 2.5rem;
  padding: 0;
  border: none;
}

.about-quote h2 {
  margin-bottom: 1rem;
}

.about-quote p {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-soft);
}

.meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.35rem;
}

.meta-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep);
  margin: 0;
}

.owner-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--moss);
  margin: 0.25rem 0 0.85rem;
}

.owner-bio {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.owner-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.owner-contact li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.owner-contact a {
  font-weight: 500;
}

.about-hours ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.hours-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

/* Programs — vertical list */
.programs {
  background: var(--sage-light);
}

.program-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.program-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(61, 90, 69, 0.08);
  box-shadow: var(--shadow-soft);
}

.program-num {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--sage-light);
  border-radius: 50%;
}

.program-body h3 {
  margin-bottom: 0.35rem;
}

.program-body p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Offer / Wheel */
.offer {
  background:
    radial-gradient(circle at 85% 15%, rgba(168, 197, 160, 0.4), transparent 45%),
    var(--cream);
}

.offer-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.offer-copy p {
  color: var(--muted);
}

.offer-notes {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.offer-notes li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.offer-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--moss);
}

.wheel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.wheel-frame {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 16px 40px rgba(44, 74, 52, 0.14));
}

#wheel-rotor {
  transform-origin: 200px 200px;
  transition: none;
}

#wheel-rotor.is-spinning {
  transition: transform 4.2s cubic-bezier(0.12, 0.8, 0.2, 1);
}

.wheel-label {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wheel-label--dark {
  fill: var(--deep);
}

.wheel-label--light {
  fill: var(--cream);
}

.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 20px solid var(--forest);
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(44, 74, 52, 0.2));
}

.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--forest);
  box-shadow: 0 4px 14px rgba(44, 74, 52, 0.15);
  z-index: 2;
}

.wheel-spin {
  min-width: 180px;
}

.wheel-result {
  width: 100%;
  max-width: 320px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  animation: result-in 0.45s var(--ease);
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wheel-result-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.35rem;
}

.wheel-result-prize {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--deep);
  margin-bottom: 1rem;
}

.wheel-claim {
  width: 100%;
}

/* Pricing accordion */
.pricing {
  background: var(--white);
}

.pricing-intro {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.price-group {
  border-bottom: 1px solid var(--cream-dark);
}

.price-group:first-of-type {
  border-top: 1px solid var(--cream-dark);
}

.price-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.price-trigger:hover,
.price-trigger[aria-expanded="true"] {
  color: var(--forest);
}

.price-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.price-icon::before,
.price-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.price-icon::before {
  width: 12px;
  height: 2px;
  top: 8px;
  left: 3px;
}

.price-icon::after {
  width: 2px;
  height: 12px;
  top: 3px;
  left: 8px;
}

.price-trigger[aria-expanded="true"] .price-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.price-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.28s var(--ease), opacity 0.22s;
}

.price-panel.is-open {
  opacity: 1;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0 0 1.25rem;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--cream-dark);
  font-size: 0.98rem;
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list .item {
  color: var(--text);
}

.price-list .price {
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
}

.pricing-footnote {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* FAQ */
.faq {
  background: var(--sage-light);
}

.faq-center {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.faq-center h2 {
  margin-bottom: 2rem;
}

.faq-list {
  text-align: left;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(61, 90, 69, 0.08);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--deep);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-trigger:hover,
.faq-trigger[aria-expanded="true"] {
  color: var(--forest);
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 8px;
  left: 3px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 3px;
  left: 8px;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.28s var(--ease), opacity 0.22s;
}

.faq-panel p {
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}

/* Contact */
.contact {
  background: var(--cream);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-intro p {
  color: var(--muted);
}

.contact-details {
  margin-top: 1.5rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field-optional {
  font-weight: 400;
  font-size: 0.78rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(107, 143, 113, 0.2);
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: var(--danger);
}

.field input[readonly] {
  background: var(--sage-light);
  color: var(--forest);
  font-weight: 500;
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: var(--danger);
  min-height: 1.1em;
  margin-top: 0.2rem;
}

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--sage-light);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
}

.form-success p {
  margin: 0 0 0.4rem;
  color: var(--deep);
}

.form-success p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form.is-submitted .field,
.contact-form.is-submitted .field-row,
.contact-form.is-submitted .btn-submit {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--deep);
  color: var(--sage-light);
  padding: 2.25rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand .legal-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.footer-brand p {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: rgba(220, 232, 214, 0.75);
}

.footer-brand strong {
  color: var(--cream);
  font-weight: 600;
}

.footer-contact p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--sage);
}

.footer-note {
  margin-top: 0.75rem !important;
  font-size: 0.82rem !important;
  color: rgba(220, 232, 214, 0.65) !important;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(220, 232, 214, 0.15);
  font-size: 0.82rem;
  color: rgba(220, 232, 214, 0.6);
}

.site-footer a {
  color: var(--sage);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #wheel-rotor.is-spinning {
    transition-duration: 0.01ms;
  }

  .wheel-result {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .offer-layout,
  .contact-wrap,
  .about-meta,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }

  .about-block {
    text-align: left;
  }

  .faq-center {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.75rem;
    background: var(--cream);
    border-top: 1px solid var(--cream-dark);
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .header-cta {
    width: 100%;
  }

  .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);
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
