:root {
  --red: #ed4f45;
  --red-dark: #b81f20;
  --ink: #171a1f;
  --muted: #59616f;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --line: #dbe1e8;
  --teal: #006f78;
  --yellow: #e1cf00;
  --shadow: 0 18px 45px rgba(12, 18, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 8px clamp(18px, 4vw, 64px);
  background: rgba(237, 79, 69, 0.96);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.brand img {
  width: 148px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.main-nav a,
.header-cta {
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.header-cta:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.header-cta {
  min-width: 138px;
  padding: 10px 16px;
  border: 2px solid #fff;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(82vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 18, 24, 0.88) 0%, rgba(14, 18, 24, 0.62) 48%, rgba(14, 18, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.08));
}

.hero-content {
  width: min(840px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 110px);
  padding: 46px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 6.4vw, 4.9rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  font-weight: 900;
}

.hero-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.button::after {
  content: ">";
  margin-left: 10px;
  font-weight: 900;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero-proof {
  width: min(520px, 100%);
  margin-top: 24px;
}

.hero-proof div {
  min-width: 130px;
  padding: 16px 18px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(5px);
}

.hero-proof dt {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 900;
}

.hero-proof dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.section {
  scroll-margin-top: 124px;
  padding: clamp(68px, 9vw, 118px) clamp(18px, 4vw, 64px);
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading p:last-child,
.split-copy p,
.form-intro p,
.quick-pass-copy p,
.value-card p,
.trust-card p,
.review-card p,
.faq-grid p,
.next-card p,
.location-address,
.location-hours {
  color: var(--muted);
  font-size: 1.08rem;
}

.quick-pass {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(34px, 5vw, 62px) clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.quick-pass-copy {
  max-width: 520px;
  margin-left: auto;
}

.quick-pass-copy h2 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
}

.quick-lead-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  max-width: 850px;
  padding: 20px;
}

.quick-lead-form .button {
  min-height: 48px;
  padding-inline: 16px;
}

.section-included {
  background: #fff;
}

.included-grid,
.trust-grid,
.review-grid,
.faq-grid,
.next-grid {
  display: grid;
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

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

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

.reviews-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.reviews-showcase .review-grid {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.value-card,
.trust-card,
.review-card,
.next-card,
.faq-grid details {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 25, 35, 0.06);
}

.value-card h3,
.trust-card h3,
.next-card h3 {
  font-size: 1.18rem;
}

.value-card p,
.trust-card p,
.review-card p,
.next-card p,
.faq-grid p {
  margin: 14px 0 0;
}

.review-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(237, 79, 69, 0.05), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.reviews-score-card {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(237, 79, 69, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(237, 79, 69, 0.12), rgba(255, 255, 255, 0) 48%),
    #fff;
  box-shadow: 0 18px 44px rgba(15, 25, 35, 0.09);
}

.reviews-source {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(237, 79, 69, 0.1);
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reviews-score-card > strong {
  color: var(--ink);
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-score span {
  color: var(--ink);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.reviews-score-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.reviews-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reviews-pills span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.review-stars {
  color: var(--yellow);
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.review-meta {
  display: grid;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-meta strong {
  color: var(--ink);
  font-weight: 900;
}

.review-meta span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.review-dots {
  display: none;
}

.review-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.faq-grid details {
  background: #fff;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  margin-left: 18px;
  color: var(--red);
  font-size: 1.28rem;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.next-card {
  position: relative;
  padding-top: 64px;
}

.next-card span {
  position: absolute;
  top: 22px;
  left: 24px;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #11151b;
  font-weight: 900;
}

.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(860px, 100%);
  margin: 36px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: #11151b;
  color: #fff;
}

.steps-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.steps-strip div:last-child {
  border-right: 0;
}

.steps-strip span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #11151b;
  font-weight: 900;
}

.section-locations {
  background: var(--soft);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.location-card,
.goal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 25, 35, 0.07);
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 22px;
}

.location-card img {
  width: 112px;
  height: 112px;
  aspect-ratio: 1 / 1;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(15, 25, 35, 0.14);
}

.location-copy {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

.location-address,
.location-hours {
  margin: 0;
}

.location-hours {
  display: grid;
  gap: 4px;
  padding: 0;
  list-style: none;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.location-actions .button {
  min-height: 42px;
  padding: 10px 14px;
  box-shadow: none;
  font-size: 0.78rem;
}

.location-actions .button-secondary {
  border: 1px solid var(--line);
}

.section-split,
.section-form {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.split-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-copy {
  max-width: 590px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  background: var(--teal);
  clip-path: polygon(14% 44%, 0 60%, 42% 100%, 100% 18%, 83% 4%, 39% 68%);
}

.section-goals {
  background: #11151b;
  color: #fff;
}

.section-goals .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.goal-card {
  position: relative;
  min-height: 286px;
  border-color: rgba(255, 255, 255, 0.12);
  background: #20242b;
}

.goal-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
}

.goal-card h3 {
  padding: 18px;
  color: #fff;
  font-size: 1.16rem;
}

.section-trust {
  background: #fff;
}

.section-reviews {
  background: var(--soft);
  scroll-margin-top: 108px;
}

.section-faq {
  background: #fff;
}

.section-next {
  background: var(--soft);
}

.section-videos {
  background: var(--soft);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 14px 34px rgba(13, 20, 28, 0.14);
}

.section-form {
  align-items: start;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.lead-form span {
  font-size: 0.9rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bfc8d2;
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.lead-form textarea {
  min-height: 126px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(0, 111, 120, 0.18);
  border-color: var(--teal);
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--red-dark);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 64px);
  background: #050608;
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.mobile-sticky-cta {
  display: none;
}

.confirmation-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(245, 247, 249, 0.92), rgba(255, 255, 255, 0.96)),
    url("assets/gimnasio-con-entrenador-personal-caguas-puerto-rico.jpg") center / cover fixed no-repeat;
}

.confirmation-header {
  position: relative;
}

.confirmation-main {
  display: grid;
  min-height: calc(100vh - 82px);
  place-items: center;
  padding: clamp(38px, 7vw, 92px) clamp(18px, 4vw, 64px);
}

.confirmation-card {
  width: min(820px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.confirmation-card h1 {
  font-size: clamp(2.35rem, 6vw, 4.4rem);
}

.confirmation-lead {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.lead-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.lead-review div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.lead-review span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-review strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.05rem;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: calc(84vh - 112px);
  }

  .hero-content {
    margin-left: 24px;
  }

  .quick-pass {
    grid-template-columns: 1fr;
  }

  .quick-pass-copy {
    max-width: 760px;
    margin: 0;
  }

  .reviews-showcase {
    grid-template-columns: 1fr;
  }

  .reviews-score-card {
    position: static;
  }

  .reviews-showcase .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-lead-form,
  .included-grid,
  .review-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-grid,
  .goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-split,
  .section-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 86px;
  }

  .site-header {
    min-height: auto;
    gap: 14px;
    padding: 12px 16px;
  }

  .brand img {
    width: 138px;
  }

  .header-cta {
    min-width: 118px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(10, 12, 16, 0.9), rgba(10, 12, 16, 0.6));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.75rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-proof div {
    min-width: 0;
    padding: 12px 10px;
  }

  .hero-proof dt {
    font-size: 1.35rem;
  }

  .hero-proof dd {
    font-size: 0.78rem;
  }

  .location-grid,
  .included-grid,
  .trust-grid,
  .faq-grid,
  .next-grid,
  .goal-grid,
  .lead-review,
  .video-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .review-grid,
  .reviews-showcase .review-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(282px, 86%);
    grid-template-columns: none;
    gap: 14px;
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 0 16px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .review-grid::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    min-height: 292px;
    scroll-snap-align: start;
  }

  .review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
  }

  .review-dots a {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aeb7c2;
  }

  .quick-pass {
    padding: 32px 16px;
  }

  .quick-lead-form {
    padding: 18px;
  }

  .steps-strip {
    grid-template-columns: 1fr;
  }

  .steps-strip div {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .steps-strip div:last-child {
    border-bottom: 0;
  }

  .location-card {
    min-height: 118px;
    padding: 12px;
  }

  .location-card img {
    width: 92px;
    height: 92px;
  }

  .goal-card {
    min-height: 0;
  }

  .goal-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .lead-form {
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: block;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 28px rgba(12, 18, 26, 0.16);
  }

  .mobile-sticky-cta .button {
    width: 100%;
    min-height: 50px;
  }

  .confirmation-actions {
    display: grid;
  }
}
