/*
Theme Name: Nude Theory Pilates
Theme URI: https://nudetheory.co.uk/
Author: Nude Theory
Description: Custom one-page Nude Theory Pilates website with Mindbody booking, registration, gift cards, reviews and contact form.
Version: 1.0.3
License: GPL-2.0-or-later
Text Domain: nude-theory-pilates
*/

:root {
  --dark: #2a221c;
  --cream: #f7efe5;
  --soft: #fffaf4;
  --muted: #8a7667;
  --accent: #b98868;
  --accent-dark: #7a5139;
  --border: rgba(42, 34, 28, 0.14);
  --shadow: 0 24px 80px rgba(42, 34, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a,
input,
textarea,
select {
  font-family: inherit;
}

.announcement {
  background: var(--dark);
  color: var(--cream);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(247, 239, 229, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  color: var(--dark);
  text-decoration: none;
  font-family: "Instrument Serif", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a,
.desktop-nav button {
  color: var(--dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  background: none;
  border: 0;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta,
.header-secondary,
.header-instagram,
.primary-button,
.secondary-button,
.light-button,
.info-card button,
.price-card button,
.footer-links button,
.sticky-booking button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta:hover,
.header-secondary:hover,
.header-instagram:hover,
.primary-button:hover,
.secondary-button:hover,
.light-button:hover,
.info-card button:hover,
.price-card button:hover,
.footer-links button:hover,
.sticky-booking button:hover {
  transform: translateY(-2px);
}

.header-cta {
  background: var(--dark);
  color: var(--cream);
  padding: 12px 18px;
}

.header-secondary {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
  padding: 12px 18px;
}

.header-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
  padding: 12px 18px;
  text-decoration: none;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--dark);
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: sticky;
  top: 77px;
  z-index: 45;
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a,
.mobile-nav button {
  padding: 12px 0;
  color: var(--dark);
  text-decoration: none;
  font-weight: 800;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  cursor: pointer;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 84% 20%, rgba(185, 136, 104, 0.26), transparent 28%),
    linear-gradient(135deg, #f7efe5, #ead9ca);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro-offer h2,
.split-copy h2,
.contact-section h2,
.site-footer h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

.hero h1 {
  max-width: 800px;
  margin: 0 0 24px;
  font-size: clamp(62px, 10vw, 130px);
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #5f5044;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.split-actions,
.intro-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  text-decoration: none;
}

.primary-button {
  background: var(--dark);
  color: var(--cream);
}

.secondary-button {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

.light-button {
  background: var(--cream);
  color: var(--dark);
}

.full {
  width: 100%;
}

.hero-image-card {
  min-height: 520px;
  border-radius: 42px;
  background:
    linear-gradient(rgba(42, 34, 28, 0.05), rgba(42, 34, 28, 0.68)),
    url("https://lh3.googleusercontent.com/gps-cs-s/APNQkAEwdQ15v3B1YBXjZ8jSMpXFBXyb0NSqHvi58DEsF0UF3QEgy_PMi3Tc8D5Wrcej5wrHpgFwiex4UZ3kdjwa0FXGNzrjmMdRKSWFn-vXnt2B8GoXJwheied8OUpr6SswA_bWzr-cRXo8-ofl=s680-w680-h510-rw") center/cover;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: white;
  transform: rotate(1.5deg);
}

.hero-card-content {
  max-width: 380px;
}

.hero-card-content span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-content h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  line-height: 0.9;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  padding: 1px 0;
}

.trust-strip div {
  background: var(--soft);
  padding: 24px clamp(18px, 5vw, 72px);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.intro-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px clamp(18px, 5vw, 72px);
  background: var(--dark);
  color: var(--cream);
}

.intro-offer .eyebrow {
  color: #dfb999;
}

.intro-offer h2 {
  margin: 0 0 14px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
}

.intro-offer p:last-child {
  max-width: 720px;
  color: #dbcbbd;
  font-size: 18px;
  line-height: 1.6;
}

.intro-actions {
  margin-top: 0;
}

.intro-offer .primary-button {
  background: var(--cream);
  color: var(--dark);
  white-space: nowrap;
}

.content-section {
  padding: 82px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.9;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.price-card,
.location-card {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 12px 36px rgba(42, 34, 28, 0.07);
}

.info-card,
.price-card {
  padding: 26px;
}

.info-card h3,
.price-card h3,
.location-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.info-card p,
.price-card p,
.location-card p {
  color: var(--muted);
  line-height: 1.65;
}

.info-card button {
  margin-top: 14px;
  padding: 12px 18px;
  background: var(--dark);
  color: var(--cream);
}

.reviews-section {
  overflow: hidden;
}

.reviews-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.reviews-slider::before,
.reviews-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.reviews-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--cream), transparent);
}

.reviews-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--cream), transparent);
}

.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewsSlide 45s linear infinite;
  will-change: transform;
}

.reviews-track:hover {
  animation-play-state: paused;
}

.review-card {
  width: 360px;
  min-height: 320px;
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 26px;
  box-shadow: 0 12px 36px rgba(42, 34, 28, 0.07);
}

.review-stars {
  color: var(--accent-dark);
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.review-card p {
  margin: 0;
  color: #5f5044;
  font-size: 17px;
  line-height: 1.65;
}

.review-person {
  margin-top: 24px;
}

.review-person strong,
.review-person span {
  display: block;
}

.review-person strong {
  color: var(--dark);
  font-size: 16px;
}

.review-person span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes reviewsSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.split-image {
  background:
    linear-gradient(rgba(42, 34, 28, 0.08), rgba(42, 34, 28, 0.28)),
    url("https://images.unsplash.com/photo-1575052814086-f385e2e2ad1b?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.split-copy {
  padding: clamp(44px, 7vw, 90px);
  background: #efe0d1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.9;
}

.split-copy p,
.split-copy li {
  color: #5f5044;
  font-size: 17px;
  line-height: 1.7;
}

.split-copy ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.price-card {
  position: relative;
}

.price-card.featured {
  background: var(--dark);
  color: var(--cream);
}

.price-card.featured p {
  color: #dacabc;
}

.price-card > span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card.featured > span {
  color: #e6bd9d;
}

.price-card .price {
  margin: 10px 0;
  color: inherit;
  font-family: "Instrument Serif", serif;
  font-size: 44px;
  line-height: 1;
}

.price-card button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.price-card.featured button {
  background: var(--cream);
  color: var(--dark);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 32px;
  align-items: start;
  padding: 82px clamp(18px, 5vw, 72px);
  background: var(--dark);
  color: var(--cream);
}

.contact-section .eyebrow {
  color: #dfb999;
}

.contact-section h2 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 94px);
  line-height: 0.88;
}

.contact-section p {
  max-width: 760px;
  color: #dbcbbd;
  font-size: 18px;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-details div {
  padding: 18px;
  border: 1px solid rgba(247, 239, 229, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details strong {
  margin-bottom: 6px;
  color: var(--cream);
}

.contact-details span {
  color: #dbcbbd;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--soft);
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 12px 36px rgba(42, 34, 28, 0.16);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--dark);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 15px;
  background: #fff;
  color: var(--dark);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  padding: 15px 20px;
  font-weight: 900;
  transition: transform 180ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}

.map-placeholder {
  min-height: 320px;
  border-radius: 24px;
  background:
    linear-gradient(rgba(42, 34, 28, 0.18), rgba(42, 34, 28, 0.36)),
    url("https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?auto=format&fit=crop&w=1000&q=80") center/cover;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

details p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 54px clamp(18px, 5vw, 72px) 100px;
  background: #17120f;
  color: var(--cream);
  text-align: center;
}

.site-footer h2 {
  margin: 0;
  font-size: 46px;
}

.site-footer p {
  color: #d7c5b5;
}

.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(247, 239, 229, 0.18);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  opacity: 0.92;
  text-align: center;
  background: none;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  width: auto;
}

.footer-links a:hover,
.footer-links button:hover {
  opacity: 1;
  background: rgba(247, 239, 229, 0.08);
}

.footer-small {
  grid-column: 1 / -1;
  font-size: 13px;
}

.sticky-booking {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: rgba(247, 239, 229, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(42, 34, 28, 0.16);
}

.sticky-booking span {
  font-weight: 800;
}

.sticky-booking button {
  background: var(--dark);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.sticky-booking button:first-of-type {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(42, 34, 28, 0.58);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  width: min(1100px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--cream);
  border-radius: 28px;
  padding: 26px;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  font-size: 26px;
  cursor: pointer;
}

.mindbody-popup-heading {
  margin-bottom: 18px;
}

.mindbody-popup-heading h2 {
  margin: 0 0 8px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.95;
}

.mindbody-popup-heading p {
  margin: 0;
  color: var(--muted);
}

.mindbody-widget,
healcode-widget {
  display: block;
  min-height: 620px;
}

.mindbody-frame-wrap {
  width: 100%;
  height: min(72vh, 760px);
  margin: 20px 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(42, 34, 28, 0.14);
  background: white;
}

.mindbody-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
}

.widget-fallback {
  padding: 28px;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(42, 34, 28, 0.14);
}

.widget-fallback h2 {
  margin-top: 0;
}

.widget-fallback a {
  display: inline-flex;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
}

body.modal-is-open {
  overflow: hidden;
}

.modal {
  overscroll-behavior: contain;
}

.modal-overlay {
  overscroll-behavior: contain;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-secondary {
    display: none;
  }
}

@media (max-width: 1100px) {
  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-image-card {
    min-height: 420px;
    transform: none;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .sticky-booking {
    display: flex;
  }

  .trust-strip,
  .card-grid.three,
  .card-grid.four,
  .split-section,
  .location-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-offer {
    display: grid;
  }

  .intro-actions {
    margin-top: 10px;
  }

  .split-image {
    min-height: 360px;
  }

  .contact-section {
    padding-bottom: 120px;
  }

  .site-footer {
    padding-bottom: 120px;
  }
.review-card {
    width: 310px;
    flex-basis: 310px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-image-card {
    min-height: 360px;
    border-radius: 30px;
  }

  .content-section,
  .contact-section,
  .intro-offer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sticky-booking span {
    display: none;
  }

  .modal {
    padding: 18px;
    border-radius: 22px;
  }

  .review-card {
    width: 280px;
    flex-basis: 280px;
  }

  .reviews-slider::before,
  .reviews-slider::after {
    width: 40px;
  }
}

.instagram-link {
  margin-top: 0;
  opacity: 1 !important;
}

.instagram-link:hover {
  background: rgba(247, 239, 229, 0.08);
}

/* Inline footer mobile polish */
@media (max-width: 560px) {
  .site-footer {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 10px;
  }

  .footer-links a,
  .footer-links button {
    font-size: 14px;
    padding: 10px 12px;
  }
}
