/* Método Medina, entrenador personal en Madrid.
   Harmony: COMPLEMENTARY. Deep gym teal (sampled from the studio windows and machines in Sergio Kian's shoot)
   against its opposite, a hot coral. Teal reads focused and steady; coral brings energy and urgency to the actions.
   Fresher than the usual black and neon gym look.
   60-30-10: teal #0C3438 (backgrounds) / chalk #F2F4F1 + mist #DDE7E4 (light sections, cards) / coral #FF6B4A (buttons, highlights)
   --teal   #0C3438  dominant
   --teal-2 #13474C  raised surfaces on teal
   --chalk  #F2F4F1  light sections
   --mist   #DDE7E4  soft surfaces
   --coral  #FF6B4A  accent
   --sea    #B8CFCB  secondary text on teal
   --slate  #4F6A6A  secondary text on chalk
   Contrast (WCAG): chalk on teal 12.14:1, teal on coral 4.77:1 (buttons, bold 16px+), coral on teal 4.77:1,
   sea on teal 8.20:1, slate on chalk 5.27:1, teal on mist 10.63:1. */
:root {
  --teal: #0C3438;
  --teal-2: #13474C;
  --chalk: #F2F4F1;
  --mist: #DDE7E4;
  --coral: #FF6B4A;
  --coral-2: #FF8467;
  --sea: #B8CFCB;
  --slate: #4F6A6A;

  --display: "Big Shoulders Display", Impact, sans-serif;
  --sans: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --gutter: clamp(1.1rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--teal); color: var(--chalk); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .92; letter-spacing: .005em; }
h2 { font-size: clamp(3rem, 7vw, 6rem); text-transform: uppercase; }
h3 { font-size: 1.9rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--coral); color: var(--teal); font-weight: 700; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 1rem 1.7rem; border: 0; border-radius: 6px; background: var(--coral); color: var(--teal); font: 700 1.02rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: var(--coral-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 2px rgba(242, 244, 241, .5); }
.btn--ghost:hover { background: rgba(242, 244, 241, .08); }
.btn--full { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem var(--gutter); background: rgba(12, 52, 56, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(184, 207, 203, .15); }
.brand { display: flex; align-items: center; gap: .65rem; font: 800 1.7rem/1 var(--display); text-decoration: none; text-transform: uppercase; }
.brand__m { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--coral); color: var(--teal); font-size: 1.6rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; font-weight: 500; }
.nav__links a { text-decoration: none; }
.nav__links a:not(.nav__cta):hover { color: var(--coral); }
.nav__cta { padding: .7rem 1.1rem; border-radius: 6px; background: var(--chalk); color: var(--teal); font-weight: 700; }
.nav__cta:hover { background: #fff; }
.nav__toggle { display: none; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr auto; gap: 0 clamp(2rem, 5vw, 4rem); max-width: 1340px; margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) 0; }
.hero__copy { align-self: center; padding-bottom: 2.4rem; }
.hero__where { display: inline-flex; align-items: center; gap: .6rem; color: var(--sea); font-weight: 500; }
.hero__where::before { content: ""; width: 26px; height: 3px; background: var(--coral); }
.hero__title { display: grid; margin: .6rem 0 1.4rem; font-size: clamp(4.4rem, 9vw, 8.6rem); font-weight: 900; line-height: .86; text-transform: uppercase; }
.hero__title .is-accent { color: var(--coral); font-style: normal; }
.hero__lede { max-width: 48ch; color: var(--sea); font-size: 1.12rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__photo { position: relative; margin: 0; align-self: end; }
.hero__photo img { width: 100%; aspect-ratio: 5 / 5.6; object-fit: cover; object-position: 50% 20%; border-radius: 6px 6px 0 0; }
.hero__photo::before { content: ""; position: absolute; left: -1rem; top: 2.5rem; bottom: 0; width: 1rem; background: var(--coral); }
.hero__badge { position: absolute; right: -.5rem; top: 1.5rem; padding: .9rem 1.1rem; background: var(--chalk); color: var(--teal); font-weight: 600; font-size: .9rem; line-height: 1.25; border-radius: 6px; transform: rotate(3deg); }
.hero__badge strong { display: block; font: 900 3.1rem/.85 var(--display); color: var(--coral); }
.hero__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; background: var(--chalk); color: var(--teal); border-radius: 6px 6px 0 0; }
.hero__stats li { display: flex; align-items: baseline; gap: .8rem; padding: 1.3rem 1.6rem; border-right: 1px solid rgba(12, 52, 56, .12); }
.hero__stats li:last-child { border: 0; }
.hero__stats strong { font: 900 2.8rem/1 var(--display); }
.hero__stats span { color: var(--slate); font-weight: 500; line-height: 1.3; }

@media (prefers-reduced-motion: no-preference) {
  .hero__title span { display: block; animation: slam .8s var(--ease) both; }
  .hero__title span:nth-child(2) { animation-delay: .1s; }
  .hero__title span:nth-child(3) { animation-delay: .2s; }
  .hero__photo img { animation: lift 1.1s .15s var(--ease) both; }
  .hero__photo::before { animation: grow .9s .5s var(--ease) both; transform-origin: bottom; }
}
@keyframes slam { from { opacity: 0; transform: translateX(-40px); } }
@keyframes lift { from { opacity: 0; transform: translateY(40px); } }
@keyframes grow { from { transform: scaleY(0); } }

/* Week builder */
.week { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--chalk); color: var(--teal); }
.week__head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: 2.4rem; }
.week__head p { max-width: 44ch; margin: 0; color: var(--slate); font-size: 1.1rem; }
.week__controls { display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; margin-bottom: 1.6rem; }
.seg { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; border: 0; }
.seg legend { width: 100%; margin-bottom: .5rem; font-weight: 600; font-size: .95rem; color: var(--slate); }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 50px; padding: .7rem 1.25rem; background: var(--mist); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.seg label:first-of-type span { border-radius: 6px 0 0 6px; }
.seg label:last-of-type span { border-radius: 0 6px 6px 0; }
.seg input:checked + span { background: var(--teal); color: var(--chalk); }
.seg input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.seg--days span { min-width: 58px; font: 800 1.5rem/1 var(--display); }
.grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.day { display: flex; flex-direction: column; min-height: 210px; padding: .9rem; border-radius: 6px; background: var(--mist); }
.day__name { font: 800 1.4rem/1 var(--display); text-transform: uppercase; }
.day__rest { margin-top: auto; color: var(--slate); font-size: .88rem; }
.day--on { background: var(--teal); color: var(--chalk); animation: pop .45s var(--ease) both; }
.day--on .day__name { color: var(--coral); }
.day__type { margin-top: auto; font: 800 1.45rem/1 var(--display); }
.day__detail { margin: .45rem 0 0; color: var(--sea); font-size: .84rem; line-height: 1.35; }
.day--walk { background: #C9DAD6; }
.day--walk .day__rest { color: var(--teal); font-weight: 600; }
@keyframes pop { from { transform: translateY(8px); opacity: .4; } }
.week__result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: 1.4rem; padding: 1.5rem 1.8rem; border-radius: 6px; background: var(--teal); color: var(--chalk); }
.week__plan-label { margin: 0 0 .2rem; color: var(--sea); font-weight: 500; }
.week__plan { margin: 0; font: 900 clamp(2.4rem, 4vw, 3.4rem)/1 var(--display); text-transform: uppercase; }
.week__price { color: var(--coral); }
.week__note { margin: .5rem 0 0; color: var(--sea); }

/* Plans */
.plans { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.plans__title { margin-bottom: 2.8rem; }
.plans__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.8rem; border-radius: 6px; background: var(--teal-2); }
.plan h3 { font-size: 2.6rem; text-transform: uppercase; }
.plan__price { margin: 1rem 0 .2rem; font: 900 4.2rem/1 var(--display); }
.plan__price small { font: 500 1rem var(--sans); color: var(--sea); }
.plan__days { color: var(--coral); font-weight: 600; }
.plan ul { display: grid; gap: .55rem; margin: .6rem 0 2rem; padding: 0; list-style: none; color: var(--sea); }
.plan li { padding-left: 1.4rem; background: linear-gradient(var(--coral), var(--coral)) 0 .72em / .7rem 2px no-repeat; }
.plan__pay { margin-top: auto; display: inline-flex; align-self: flex-start; min-height: 48px; align-items: center; padding: .75rem 1.2rem; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--chalk); font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.plan__pay:hover { background: var(--chalk); color: var(--teal); }
.plan--hot { background: var(--coral); color: var(--teal); }
.plan--hot .plan__price small, .plan--hot ul, .plan--hot .plan__days { color: var(--teal); }
.plan--hot li { background-image: linear-gradient(var(--teal), var(--teal)); }
.plan--hot .plan__pay { background: var(--teal); color: var(--chalk); box-shadow: none; }
.plan--hot .plan__pay:hover { background: var(--teal-2); }
.plan__flag { position: absolute; top: -.8rem; left: 1.8rem; margin: 0; padding: .3rem .7rem; border-radius: 4px; background: var(--chalk); color: var(--teal); font-size: .85rem; font-weight: 700; }

/* Stories */
.stories { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--mist); color: var(--teal); }
.stories__intro { margin: 1rem 0 2.6rem; color: var(--slate); font-size: 1.1rem; }
.stories__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 1rem; }
.story { display: flex; flex-direction: column; padding: 1.7rem; border-radius: 6px; background: var(--chalk); }
.story--photo { margin: 0; padding: 0; overflow: hidden; }
.story--photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.story--dark { background: var(--teal); color: var(--chalk); }
.story__big { margin: 0 0 1.4rem; font: 900 clamp(3.2rem, 4.6vw, 4.4rem)/.9 var(--display); color: var(--coral); white-space: nowrap; }
.story:not(.story--dark) .story__big { color: #D8472A; }
.story h3 { margin-bottom: .6rem; font-size: 1.7rem; }
.story p:not(.story__big):not(.story__meta) { color: var(--slate); font-size: .98rem; }
.story--dark p:not(.story__big):not(.story__meta) { color: var(--sea); }
.bar { height: 6px; margin-top: auto; border-radius: 3px; background: rgba(12, 52, 56, .12); overflow: hidden; }
.story--dark .bar { background: rgba(242, 244, 241, .15); }
.bar span { display: block; width: var(--w); height: 100%; background: var(--coral); }
.story__meta { margin: .7rem 0 0; font-size: .85rem; font-weight: 600; }

/* Method */
.method { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.method__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.method__photo { margin: 0; }
.method__photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 6px; }
.method__steps { display: grid; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: m; }
.method__steps li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(184, 207, 203, .25); counter-increment: m; }
.method__steps li::before { content: counter(m); grid-row: span 2; font: 900 2.8rem/1 var(--display); color: var(--coral); }
.method__steps h3 { font-size: 1.7rem; }
.method__steps p { margin: .3rem 0 0; color: var(--sea); }

/* Trial */
.trial { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--chalk); color: var(--teal); }
.trial__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.trial__info > p { max-width: 42ch; margin: 1.2rem 0 1.8rem; color: var(--slate); font-size: 1.1rem; }
.studio { display: grid; gap: .9rem; margin: 0 0 2rem; }
.studio div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-top: .9rem; border-top: 1px solid rgba(12, 52, 56, .15); }
.studio dt { font-weight: 700; }
.studio dd { margin: 0; color: var(--slate); }
.trial__photo { margin: 0; }
.trial__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.form { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 6px; background: var(--teal); color: var(--chalk); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.form input:not([type="hidden"]), .form select, .form textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; border: 2px solid transparent; border-radius: 6px; background: var(--chalk); color: var(--teal); font: 400 1rem/1.4 var(--sans); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--coral); }
.form textarea { resize: vertical; }
.form__status { margin: 0; color: var(--coral); font-weight: 600; }

/* Footer */
.foot { padding: 3rem 0; }
.foot__row { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: end; color: var(--sea); font-size: .92rem; }
.foot__row a { margin-right: 1rem; color: var(--chalk); }
.foot__big { margin: 0; font: 900 clamp(2.6rem, 5vw, 4rem)/.9 var(--display); color: var(--chalk); text-transform: uppercase; }
.foot__small { margin: 0; }

/* Responsive */
@media (max-width: 1060px) {
  .stories__grid { grid-template-columns: 1fr 1fr; }
  .grid7 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .nav__toggle { display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border: 0; border-radius: 6px; background: var(--coral); cursor: pointer; }
  .nav__toggle span:not(.sr) { width: 20px; height: 2px; background: var(--teal); transition: transform .3s var(--ease), opacity .3s; }
  .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); }
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem; background: var(--teal); transform: translateY(-130%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
  .nav__links.is-open { transform: none; visibility: visible; }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid rgba(184, 207, 203, .18); font: 800 1.8rem/1 var(--display); text-transform: uppercase; }
  .nav__links .nav__cta { margin-top: 1rem; text-align: center; border: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero__photo { max-width: 460px; margin-left: 1rem; }
  .hero__stats { margin-top: 0; }
  .week__head, .method__grid, .trial__grid { grid-template-columns: 1fr; }
  .plans__row { grid-template-columns: 1fr; gap: 1.6rem; }
  .foot__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.45rem; }
  .hero__title { font-size: 4.3rem; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stats li { border-right: 0; border-bottom: 1px solid rgba(12, 52, 56, .12); padding: .9rem 1.2rem; }
  .hero__stats strong { font-size: 2.2rem; min-width: 3.6rem; }
  .hero__badge { right: .5rem; }
  .grid7 { grid-template-columns: repeat(2, 1fr); }
  .day { min-height: 128px; }
  .day:last-child { grid-column: span 2; }
  .stories__grid { grid-template-columns: 1fr; }
  .story--photo img { min-height: 0; aspect-ratio: 4 / 3.6; }
  .form__row { grid-template-columns: 1fr; }
  .seg span { padding: .7rem 1rem; }
  .week__result .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
