/* ===== Corporate Wellness — page-specific styles ===== */

/* ---- Hero ---- */
.cw-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(185, 150, 130, 0.25);
}

.cw-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cw-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.72) saturate(0.88);
}

.cw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 11, 0.08) 0%, rgba(20, 15, 11, 0.58) 100%);
}

.cw-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  padding-top: 140px;
  width: 100%;
}

.page-kicker-light {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(4px);
}

.cw-hero-content h1 {
  color: #fff;
  max-width: 740px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
}

.hero-lead-light {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 58ch;
  margin-bottom: 28px;
  font-weight: 370;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---- Value split ---- */
.cw-value {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.value-panel {
  padding: 0 48px;
}

.value-panel:first-child {
  padding-left: 0;
}

.value-panel:last-child {
  padding-right: 0;
}

.value-divider {
  background: var(--line);
  width: 1px;
}

.value-icon {
  font-size: 1.6rem;
  color: var(--taupe);
  margin-bottom: 16px;
  line-height: 1;
}

.value-panel h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 18px;
}

.value-list {
  margin: 0;
}

.value-list li {
  margin: 12px 0;
  font-size: 0.97rem;
  color: #3a3430;
}

/* ---- Formats ---- */
.cw-formats {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.formats-header {
  max-width: 640px;
  margin-bottom: 44px;
}

.formats-header p {
  color: #3a3430;
  margin: 0;
}

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

.format-card {
  background: var(--surface);
  border: 1px solid rgba(185, 150, 130, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.format-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.format-card-img {
  height: 200px;
  overflow: hidden;
}

.format-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.format-card:hover .format-card-img img {
  transform: scale(1.04);
}

.format-card-body {
  padding: 24px 22px;
}

.format-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--taupe);
  font-family: "Montserrat", sans-serif;
  margin-bottom: 10px;
}

.format-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.format-card-body p {
  font-size: 0.93rem;
  color: #3a3430;
  margin: 0;
}

/* ---- Programs ---- */
.cw-programs {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.programs-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.programs-header p {
  color: #3a3430;
  margin: 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.program-card {
  background: var(--surface);
  border: 1px solid rgba(185, 150, 130, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.program-card-inner {
  padding: 28px 26px;
  position: relative;
}

.program-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--cream);
  color: var(--taupe-deep);
  border: 1px solid var(--taupe-light);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.program-card-inner h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  padding-right: 80px;
}

.program-detail {
  color: var(--taupe-deep);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.02em;
}

.program-card p {
  font-size: 0.93rem;
  color: #3a3430;
  margin-bottom: 12px;
}

.text-link {
  color: var(--taupe-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-size: 0.88rem;
  font-weight: 550;
  transition: color var(--transition);
}

.text-link:hover {
  color: #7f6250;
}

.program-note {
  margin-top: 20px;
}

/* ---- Quote band ---- */
.cw-quote-band {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.quote-band-inner {
  display: flex;
  gap: 36px;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--taupe-light);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.quote-band-img {
  flex: 0 0 160px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.quote-band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quote-band-text {
  flex: 1;
  margin: 0;
}

.quote-band-text p {
  font-size: 1.15rem;
  font-weight: 380;
  font-style: italic;
  color: #2f2a25;
  margin-bottom: 12px;
  line-height: 1.55;
}

.quote-band-text cite {
  font-size: 0.82rem;
  font-style: normal;
  color: var(--taupe-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- Form ---- */
.cw-form-section {
  padding: 80px 0 20px;
  border-bottom: none;
}

.form-section-header {
  max-width: 640px;
  margin-bottom: 28px;
}

.form-section-header p {
  color: #3a3430;
  margin: 0;
}

.corporate-form {
  padding: 32px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2c2824;
}

.required {
  color: var(--taupe-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--taupe-light);
  border-radius: 10px;
  padding: 11px 14px;
  line-height: 1.4;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-color: var(--taupe);
  box-shadow: 0 0 0 3px rgba(183, 154, 133, 0.15);
}

.field-full {
  grid-column: 1 / -1;
}

.form-note {
  margin-top: 10px;
  margin-bottom: 0;
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding: 30px 0 18px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.footer-links a:hover {
  color: var(--taupe-deep);
  border-bottom-color: var(--taupe);
}

.footer-links span {
  color: var(--taupe-light);
}

/* ---- Responsive ---- */
@media (min-width: 760px) {
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .cw-hero {
    min-height: 480px;
  }

  .cw-hero-content {
    padding-top: 100px;
    padding-bottom: 52px;
  }

  .cw-value {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 52px 0;
  }

  .value-panel {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }

  .value-panel:last-child {
    border-bottom: none;
  }

  .value-divider {
    display: none;
  }

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

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

  .quote-band-inner {
    flex-direction: column;
    padding: 28px;
  }

  .quote-band-img {
    flex: none;
    width: 100%;
    height: 200px;
    border-radius: 14px;
  }
}

@media (max-width: 700px) {
  .cw-hero {
    min-height: 420px;
  }

  .corporate-form {
    padding: 22px 18px;
  }

  .btn-row .btn {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
