:root {
  --black: #090a0a;
  --off: #f5f5f2;
  --champagne: #d8c3ad;
  --gold: #e4b866;
  --line: rgba(255,255,255,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--off); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 108px;
  padding: 25px clamp(34px, 4.2vw, 78px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 3vw, 55px);
  background: linear-gradient(180deg, rgba(9,10,10,.94) 0%, rgba(9,10,10,.76) 72%, rgba(9,10,10,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; white-space: nowrap; }
.brand-mark { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -6px; }
.brand-divider { width: 1px; height: 48px; background: rgba(255,255,255,.6); }
.brand-copy { display: grid; gap: 5px; }
.brand-copy strong { font-size: 19px; letter-spacing: 1.2px; }
.brand-copy small { font-size: 10px; letter-spacing: 2.4px; }

.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 2.6vw, 45px); }
.main-nav a { position: relative; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; transition: color .22s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); }

.header-cta { padding: 18px 25px; background: #e8c684; color: #121212; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .3px; border-radius: 3px; transition: transform .2s ease, background .2s ease; white-space: nowrap; }
.header-cta span { margin-left: 9px; font-size: 17px; }
.header-cta:hover { transform: translateY(-2px); background: #f0d59e; }

.hero {
  position: relative;
  min-height: 920px;
  height: 100vh;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: url('../assets/hero-marc-rivero.png');
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,6,7,.97) 0%, rgba(4,6,7,.91) 25%, rgba(4,6,7,.66) 43%, rgba(4,6,7,.10) 66%, rgba(4,6,7,.03) 100%),
    linear-gradient(0deg, rgba(4,6,7,.70) 0%, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 52vw);
  margin-left: clamp(55px, 5.3vw, 100px);
  padding-top: 80px;
}

.eyebrow { margin: 0 0 27px; font-size: 13px; font-weight: 500; letter-spacing: 7px; }

.hero h1 { margin: 0; font-size: clamp(58px, 5.25vw, 96px); line-height: .91; letter-spacing: -2.8px; font-weight: 800; }
.hero h1 span { color: var(--champagne); }

.hero-description { max-width: 690px; margin: 26px 0 0; font-size: clamp(15px, 1.15vw, 21px); line-height: 1.55; letter-spacing: .15px; }

.pillars { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 790px; }
.pillar { min-width: 0; padding: 0 26px; border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar svg { width: 36px; height: 36px; margin-bottom: 11px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h2 { margin: 0 0 7px; font-size: 15px; letter-spacing: .4px; }
.pillar p { margin: 0; font-size: 12px; line-height: 1.45; color: rgba(245,245,242,.92); }


/* ===== V3 · ENTRENA A TU MANERA ===== */
.services-section {
  background: #161616;
  padding: 105px clamp(34px, 5.3vw, 100px) 120px;
}
.services-inner { width: 100%; max-width: 1720px; margin: 0 auto; }
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
}
.section-heading { display: flex; align-items: center; gap: 28px; margin-bottom: 48px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 58px);
  line-height: 1;
  letter-spacing: -1.6px;
}
.section-line { height: 1px; flex: 1; background: rgba(216,195,173,.35); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 28px);
}
.service-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #141515;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(228,184,102,.72);
  box-shadow: 0 24px 55px rgba(0,0,0,.32);
}
.service-image { height: 245px; overflow: hidden; background: #111; }
.service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.service-card:hover .service-image img { transform: scale(1.035); }

.service-body { position: relative; min-height: 235px; padding: 39px 28px 27px; }
.service-icon {
  position: absolute;
  top: -24px;
  left: 27px;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6c783;
  color: #111;
  border: 5px solid #141515;
  font-size: 19px;
  font-weight: 900;
}
.service-body h3 {
  margin: 0 0 13px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: .5px;
}
.service-body p {
  margin: 0;
  min-height: 63px;
  color: rgba(245,245,242,.68);
  font-size: 13px;
  line-height: 1.6;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.service-link b { font-size: 15px; transition: transform .22s ease; }
.service-card:hover .service-link b { transform: translateX(5px); }

@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-image { height: 280px; }
}

@media (max-width: 760px) {
  .services-section { padding: 75px 22px 85px; }
  .section-heading { gap: 18px; margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(34px, 10vw, 46px); }
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-image { height: 255px; }
  .service-body { min-height: 0; padding: 39px 24px 25px; }
  .service-body p { min-height: 0; }
}

.anchor { display: block; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto; }
  .main-nav { display: none; }
  .header-cta { justify-self: end; }
  .hero-content { width: 62vw; }
  .hero { background-position: 58% center; }
}

@media (max-width: 760px) {
  .site-header { min-height: 86px; padding: 20px 22px; }
  .brand-mark { font-size: 37px; }
  .brand-divider { height: 38px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 8px; }
  .header-cta { padding: 13px 14px; font-size: 10px; }
  .hero { min-height: 900px; height: auto; align-items: flex-end; background-position: 62% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(4,6,7,.98) 0%, rgba(4,6,7,.88) 52%, rgba(4,6,7,.18) 100%); }
  .hero-content { width: auto; margin: 0; padding: 330px 24px 46px; }
  .eyebrow { font-size: 10px; letter-spacing: 4px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(47px, 13vw, 68px); letter-spacing: -2px; }
  .hero-description { font-size: 15px; margin-top: 20px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 28px 0; margin-top: 35px; }
  .pillar, .pillar:first-child { padding: 0 15px; border-left: 1px solid var(--line); }
  .pillar:nth-child(odd) { padding-left: 0; border-left: 0; }
}


/* ===== V4 · MR LIBRARY ===== */
.library-section {
  background: #090a0a;
  padding: 105px clamp(34px, 5.3vw, 100px) 125px;
  border-top: 1px solid rgba(255,255,255,.035);
}
.library-inner { width: 100%; max-width: 1720px; margin: 0 auto; }
.library-top {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}
.library-title-row { display: flex; align-items: center; gap: 28px; }
.library-title-row h2 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(34px, 3.2vw, 58px);
  line-height: 1;
  letter-spacing: -1.6px;
}
.library-title-row h2 span { color: var(--champagne); }
.library-line { height: 1px; flex: 1; background: rgba(216,195,173,.25); }
.library-motto {
  margin: 18px 0 0;
  font-size: 10px;
  letter-spacing: 6px;
  color: rgba(245,245,242,.72);
}
.library-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.library-intro p {
  margin: 0;
  max-width: 510px;
  color: rgba(245,245,242,.78);
  font-size: 14px;
  line-height: 1.65;
}
.library-all {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 21px;
  border: 1px solid rgba(228,184,102,.75);
  border-radius: 4px;
  text-decoration: none;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease;
}
.library-all:hover { background: var(--gold); color: #111; }

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2vw, 36px);
}
.routine-card {
  overflow: hidden;
  min-width: 0;
  background: #101111;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.routine-card:hover {
  transform: translateY(-7px);
  border-color: rgba(228,184,102,.72);
  box-shadow: 0 24px 55px rgba(0,0,0,.34);
}
.routine-image {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #111;
}
.routine-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 30%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.routine-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.routine-card:hover .routine-image img { transform: scale(1.035); }

.routine-code {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: grid;
  line-height: 1;
}
.routine-code strong { font-size: 30px; letter-spacing: -2px; }
.routine-code small { margin-top: 5px; color: var(--gold); font-size: 8px; letter-spacing: 2px; }
.routine-code b { margin-top: 12px; color: #e9c77e; font-size: 46px; letter-spacing: -2px; }
.demo-badge {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 20px;
  padding: 13px 16px;
  border-radius: 7px;
  background: #e8c684;
  color: #111;
  font-size: 10px;
  font-weight: 900;
}

.routine-body { padding: 24px 24px 25px; }
.routine-symbol {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 25px;
  line-height: 1;
}
.routine-body h3 {
  margin: 0 0 11px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.2px;
}
.routine-body p {
  margin: 0;
  min-height: 64px;
  color: rgba(245,245,242,.7);
  font-size: 13px;
  line-height: 1.55;
}
.routine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 15px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(245,245,242,.78);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .35px;
}
.routine-meta span::first-letter { color: var(--gold); }
.routine-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  min-height: 52px;
  border: 1px solid rgba(228,184,102,.8);
  border-radius: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  transition: background .22s ease, color .22s ease;
}
.routine-card:hover .routine-button { background: var(--gold); color: #111; }

@media (max-width: 1180px) {
  .library-top { grid-template-columns: 1fr; gap: 28px; }
  .library-intro { grid-template-columns: 1fr auto; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .routine-image { height: 340px; }
}

@media (max-width: 760px) {
  .library-section { padding: 75px 22px 90px; }
  .library-title-row { gap: 18px; }
  .library-title-row h2 { white-space: normal; font-size: clamp(34px, 10vw, 46px); }
  .library-motto { letter-spacing: 4px; }
  .library-intro { grid-template-columns: 1fr; }
  .library-all { justify-content: center; width: 100%; }
  .library-grid { grid-template-columns: 1fr; gap: 22px; }
  .routine-image { height: 315px; }
  .routine-body p { min-height: 0; }
}


/* ===== V4.2 · FOOTER ===== */
.site-footer {
  background:
    radial-gradient(ellipse at 18% 8%, rgba(228,184,102,.14) 0%, rgba(216,195,173,.055) 28%, transparent 58%),
    radial-gradient(ellipse at 88% 78%, rgba(228,184,102,.07) 0%, transparent 42%),
    #0d0e0e;
  border-top: 1px solid rgba(228,184,102,.72);
  padding: 78px clamp(34px, 5.3vw, 100px) 42px;
}

.footer-inner { max-width: 1720px; margin: 0 auto; }

.footer-main {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 4vw, 70px);
  padding-bottom: 58px;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  align-items: center;
  gap: clamp(30px, 3vw, 58px);
}

.footer-brand-lockup { display: grid; gap: 10px; min-width: 275px; }
.footer-brand-mark {
  color: var(--champagne);
  font-size: 72px;
  line-height: .8;
  font-weight: 800;
  letter-spacing: -9px;
}
.footer-brand-copy { display: grid; gap: 8px; }
.footer-brand-copy strong { font-size: 23px; letter-spacing: 7px; }
.footer-brand-copy small { color: var(--gold); font-size: 11px; letter-spacing: 5px; }

.footer-divider {
  width: 1px;
  height: 138px;
  background: rgba(216,195,173,.7);
}

.footer-brand p {
  margin: 0;
  color: rgba(245,245,242,.78);
  font-size: 16px;
  line-height: 1.65;
}

.footer-social {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
}

.footer-social a {
  min-width: 125px;
  display: grid;
  justify-items: center;
  gap: 13px;
  color: var(--off);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  transition: color .22s ease, transform .22s ease;
}

.footer-social a:hover { color: var(--gold); transform: translateY(-3px); }

.footer-social-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--champagne);
}

.footer-social-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-separator {
  width: 1px;
  height: 76px;
  background: rgba(216,195,173,.42);
}

.footer-bottom {
  min-height: 88px;
  border-top: 1px solid rgba(216,195,173,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(245,245,242,.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-bottom a:hover { color: var(--gold); }

.footer-bottom-separator {
  width: 1px;
  height: 17px;
  background: rgba(228,184,102,.72);
}

@media (max-width: 1000px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-social { max-width: 620px; width: 100%; }
}

@media (max-width: 760px) {
  .site-footer { padding: 65px 22px 30px; }
  .footer-main { gap: 52px; padding-bottom: 46px; }
  .footer-brand { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand-lockup { min-width: 0; }
  .footer-brand-mark { font-size: 62px; }
  .footer-brand-copy strong { font-size: 20px; letter-spacing: 5px; }
  .footer-divider { width: 90px; height: 1px; }
  .footer-brand p { font-size: 14px; }
  .footer-social { grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr; gap: 0; }
  .footer-social-separator { display: block; }
  .footer-social a { min-width: 0; font-size: 9px; letter-spacing: 1px; }
  .footer-social-icon svg { width: 30px; height: 30px; }
  .footer-bottom { padding: 28px 0 10px; gap: 13px 16px; line-height: 1.7; text-align: center; }
}


/* ===== V4.4 · MOBILE MENU ===== */
.menu-toggle,
.mobile-menu { display: none; }

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

  .header-cta { justify-self: end; }

  .menu-toggle {
    position: relative;
    z-index: 32;
    width: 48px;
    height: 48px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid rgba(228,184,102,.48);
    border-radius: 4px;
    background: rgba(9,10,10,.56);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle span {
    width: 22px;
    height: 1.5px;
    display: block;
    background: var(--gold);
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
  }

  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    z-index: 30;
    top: 0;
    right: 0;
    width: min(430px, 100vw);
    height: 100dvh;
    padding: 132px 42px 44px;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(ellipse at 90% 8%, rgba(228,184,102,.10), transparent 35%),
      rgba(9,10,10,.985);
    border-left: 1px solid rgba(228,184,102,.25);
    box-shadow: -25px 0 60px rgba(0,0,0,.38);
    transform: translateX(102%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s ease, visibility .32s ease;
  }

  .mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav { display: grid; }

  .mobile-nav a {
    position: relative;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    color: var(--off);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.4px;
    transition: color .2s ease, padding-left .2s ease;
  }

  .mobile-nav a::after {
    content: "→";
    position: absolute;
    right: 0;
    color: rgba(228,184,102,.55);
    font-size: 18px;
    font-weight: 400;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible,
  .mobile-nav a.active {
    color: var(--gold);
    padding-left: 7px;
  }

  .mobile-menu-cta {
    margin-top: auto;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 1px solid rgba(228,184,102,.78);
    border-radius: 4px;
    color: var(--gold);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
  }

  .mobile-menu-cta span { font-size: 20px; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-header > .header-cta { display: none; }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    width: 100%;
    padding: 112px 24px 30px;
    border-left: 0;
  }

  .mobile-nav a {
    padding: 16px 0;
    font-size: 15px;
  }

  .mobile-menu-cta { margin-top: 30px; }
}


/* ===== V4.9 · SEO + ESPACIADO EDITORIAL ===== */
/* Más aire lateral en escritorio sin alterar el menú ni la maquetación móvil. */
@media (min-width: 1181px) {
  .hero-content { margin-left: clamp(70px, 6.3vw, 118px); width: min(800px, 55vw); }
  .services-section, .library-section { padding-left: clamp(55px, 6.3vw, 118px); padding-right: clamp(55px, 6.3vw, 118px); }
  .hero h1 { font-size: clamp(45px, 4.1vw, 74px); line-height: 1.02; letter-spacing: -1.9px; }
  .section-heading h2, .library-title-row h2 { font-size: clamp(29px, 2.5vw, 45px); letter-spacing: -1px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(33px, 8.6vw, 47px); line-height: 1.04; letter-spacing: -1.2px; }
}
.experience-section { background: #141515; padding: 86px clamp(34px, 6.3vw, 118px); border-top: 1px solid rgba(255,255,255,.06); }
.experience-inner { max-width: 1120px; margin: 0 auto; }
.experience-inner h2 { max-width: 980px; margin: 0 0 22px; font-size: clamp(28px, 3vw, 48px); line-height: 1.12; letter-spacing: -1px; }
.experience-inner > p:not(.section-kicker) { max-width: 850px; color: rgba(245,245,242,.78); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.7; }
.experience-inner a { display: inline-block; margin-top: 20px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-decoration: none; }
.experience-inner a:hover { text-decoration: underline; }
@media (max-width: 760px) { .experience-section { padding: 70px 22px; } }


/* ===== V5.0 · HERO CONTROLADO Y EXPERIENCIA EDITORIAL ===== */
/* Los saltos de línea del H1 están definidos en HTML; evitamos saltos extra en escritorio. */
@media (min-width: 1181px) {
  .hero-content { width: min(960px, 63vw); }
  .hero h1 { font-size: clamp(44px, 3.45vw, 69px); line-height: 1.04; letter-spacing: -1.8px; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .hero-content { width: min(850px, 76vw); }
  .hero h1 { font-size: clamp(37px, 4.1vw, 51px); line-height: 1.05; letter-spacing: -1.3px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(29px, 7.3vw, 43px); line-height: 1.08; letter-spacing: -1px; }
}
.experience-section {
  background: linear-gradient(110deg, #151616, #0e0f0f);
  border-top: 1px solid rgba(228,184,102,.22);
  border-bottom: 1px solid rgba(228,184,102,.12);
  padding: 100px clamp(34px, 6.3vw, 118px);
}
.experience-inner { max-width: 1720px; margin: 0 auto; }
.experience-section .section-kicker { margin-bottom: 26px; }
.experience-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(45px, 6vw, 115px); align-items: center; }
.experience-heading h2 { margin: 0; font-size: clamp(31px, 3.1vw, 54px); line-height: 1.08; letter-spacing: -1.3px; }
.experience-heading h2 span { color: var(--champagne); }
.experience-rule { display: block; margin-top: 29px; width: 115px; height: 2px; background: var(--gold); }
.experience-copy { padding-left: clamp(20px, 2.2vw, 38px); border-left: 1px solid rgba(228,184,102,.32); }
.experience-copy p { max-width: 600px; margin: 0; color: rgba(245,245,242,.82); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.8; }
.experience-copy a { display: inline-flex; align-items: center; gap: 12px; margin-top: 27px; padding-bottom: 8px; border-bottom: 1px solid rgba(228,184,102,.7); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.1px; text-decoration: none; }
.experience-copy a:hover { color: var(--off); border-color: var(--off); }
@media (max-width: 900px) {
  .experience-layout { grid-template-columns: 1fr; gap: 28px; }
  .experience-section { padding: 75px 34px; }
  .experience-copy { padding-left: 22px; }
}
@media (max-width: 760px) {
  .experience-section { padding: 68px 22px; }
  .experience-heading h2 { font-size: clamp(29px, 8vw, 42px); }
}

/* V5.1 · navegación con MR PROJECT T */
@media (min-width: 1181px) { .site-header { gap: clamp(14px, 1.7vw, 32px); } .main-nav { gap: clamp(10px, 1.25vw, 23px); } .main-nav a { font-size: clamp(10px, .69vw, 12px); } }

/* Logo Gold · cabecera (mantiene proporción y espacio de navegación) */
.site-header .brand { min-width: 0; }
.site-header .brand-logo-gold { display: block; width: clamp(155px, 13.5vw, 220px); height: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 760px) { .site-header .brand-logo-gold { width: clamp(150px, 47vw, 185px); } }


/* HOME 1 · SOLO CABECERA · prueba aislada */
@media (min-width: 1181px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr); }
  .main-nav { justify-content: center; min-width: 0; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
}

/* HOME V2.0.1 — HERO PREMIUM, aislado en /home-v2/ */
.hero { isolation:isolate; background-color:#080a0a; }
.hero::before { content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(ellipse at 73% 40%, rgba(210,157,94,.17), transparent 40%),
             radial-gradient(ellipse at 51% 82%, rgba(101,83,61,.12), transparent 44%); }
.hero-overlay { z-index:1; background:
  linear-gradient(90deg,rgba(4,6,7,.97) 0%,rgba(4,6,7,.87) 27%,rgba(4,6,7,.52) 49%,rgba(4,6,7,.12) 75%),
  linear-gradient(0deg,rgba(4,6,7,.82),transparent 33%),
  linear-gradient(180deg,rgba(4,6,7,.30),transparent 28%); }
.hero-content { z-index:2; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:27px; }
.hero-button { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; min-height:49px;
  padding:14px 19px; border-radius:6px; font-size:10px; font-weight:800; letter-spacing:1px;
  text-decoration:none; border:1px solid rgba(218,184,132,.82); transition:background .2s ease,color .2s ease,transform .2s ease; }
.hero-button span { font-size:17px; line-height:1; font-weight:500; }
.hero-button-primary { color:#1b1712; border-color:#c9a676; background:linear-gradient(135deg,#e8d5b5,#c5a06c); }
.hero-button-outline { color:#ead7b7; background:rgba(9,10,10,.24); }
.hero-button:hover { transform:translateY(-2px); }
.hero-button-primary:hover { background:linear-gradient(135deg,#f1dfc3,#d4b17f); }
.hero-button-outline:hover { background:rgba(216,195,173,.13); }
.hero-button:focus-visible { outline:2px solid #f4e4c9; outline-offset:3px; }
@media (max-width:760px) {
 .hero-overlay { background:linear-gradient(0deg,rgba(4,6,7,.98) 0%,rgba(4,6,7,.88) 55%,rgba(4,6,7,.17) 100%); }
 .hero-actions { gap:10px; margin-top:24px; }
 .hero-button { font-size:9px; min-height:46px; padding:12px 14px; gap:12px; }
}
@media (prefers-reduced-motion:reduce) { .hero-button { transition:none; } }


/* HOME V2.0.2 — HERO TRES LÍNEAS Y COMPOSICIÓN COMPACTA */
.hero-heading-line { display:block; color:var(--off); }
.hero-heading-line.hero-heading-accent { color:var(--champagne); }
.hero-actions { margin-top:30px; }
.hero .pillars { margin-top:36px; }
@media (min-width:1181px) {
  .hero-content { width:min(1040px, 65vw); }
  .hero h1 { font-size:clamp(39px,3.05vw,60px); line-height:1.07; letter-spacing:-1.65px; }
  .hero-heading-line { white-space:nowrap; }
}
@media (min-width:761px) and (max-width:1180px) {
  .hero-content { width:min(900px, 79vw); }
  .hero h1 { font-size:clamp(31px,3.5vw,45px); line-height:1.08; letter-spacing:-1.2px; }
  .hero-heading-line { white-space:nowrap; }
}
@media (max-width:760px) {
  .hero-content { padding-top:310px; }
  .hero h1 { font-size:clamp(27px,6.5vw,42px); line-height:1.12; letter-spacing:-.9px; }
  .hero-heading-line { white-space:normal; }
  .hero-actions { margin-top:26px; }
  .hero .pillars { margin-top:30px; }
}

/* HOME V2.0.3 — ajuste quirúrgico HERO: contraste y botones iguales */
.hero h1 .hero-heading-line { color:var(--off); }
.hero h1 .hero-heading-line.hero-heading-accent { color:var(--champagne); }
.hero-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100%,560px); gap:14px; align-items:stretch; }
.hero-button { width:100%; min-width:0; min-height:52px; gap:12px; }
.hero-button-label { min-width:0; }
.hero-button-arrow { flex:none; margin-left:auto; }
@media (max-width:760px) {
  .hero-actions { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .hero-button { padding:12px 9px; gap:5px; min-height:62px; font-size:clamp(8px,2.35vw,10px); letter-spacing:.2px; line-height:1.35; }
  .hero-button-label { overflow-wrap:normal; }
  .hero-button-arrow { font-size:15px; }
  .hero h1 { font-size:clamp(26px,6.4vw,42px); overflow-wrap:normal; }
}
@media (max-width:360px) {
  .hero-button { font-size:8px; padding:10px 7px; }
  .hero-button-arrow { font-size:13px; }
}

/* HOME V2.0.4 — tipografía de botones minimalista; geometría V2.0.3 intacta */
.hero-button { font-size:10px; font-weight:700; letter-spacing:.55px; }
.hero-button-label { white-space:nowrap; }
@media (max-width:760px) {
  .hero-button { font-size:clamp(7px,1.75vw,9px); letter-spacing:0; padding:11px 7px; gap:3px; min-height:52px; }
  .hero-button-arrow { font-size:13px; }
}
@media (max-width:360px) {
  .hero-button { font-size:7px; padding:10px 5px; gap:2px; }
  .hero-button-arrow { font-size:12px; }
}


/* HOME V2.0.5 — pilares originales como enlaces, sin tarjetas ni relieve */
.hero .pillars { margin-top:42px; }
.hero .pillar-link {
  position:relative; display:block; color:inherit; text-decoration:none;
  padding-right:26px; cursor:pointer; transition:color .2s ease;
}
.hero .pillar-link .pillar-arrow {
  position:absolute; right:9px; top:3px; color:var(--gold); font-size:18px;
  line-height:1; opacity:.78; transition:transform .2s ease,opacity .2s ease;
}
.hero .pillar-link:hover .pillar-arrow, .hero .pillar-link:focus-visible .pillar-arrow {
  transform:translate(2px,-2px); opacity:1;
}
.hero .pillar-link:focus-visible { outline:1px solid var(--gold); outline-offset:5px; border-radius:2px; }
@media (max-width:760px) {
  .hero .pillars { margin-top:35px; }
  .hero .pillar-link, .hero .pillar-link:first-child { padding-right:22px; }
  .hero .pillar-link .pillar-arrow { right:6px; top:3px; font-size:17px; }
}
@media (prefers-reduced-motion:reduce) { .hero .pillar-link, .hero .pillar-link .pillar-arrow { transition:none; } }

/* HOME V2.0.6 — icono anatómico MOVILIDAD: trazo fino, sin alterar los otros pilares */
.hero .pillar svg.mobility-icon { stroke-width:3.4; }


/* HOME V2.0.7 — cabecera compacta y firma de navegación discreta */
.site-header {
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}
/* Solo el enlace activo muestra la firma. En hover, el mismo acento de sección. */
.main-nav a { --nav-accent: var(--gold); }
.main-nav a:nth-child(2) { --nav-accent: #5596d5; }
.main-nav a:nth-child(5) { --nav-accent: #8B6BC0; }
.main-nav a:nth-child(3) { --nav-accent: #69aa79; }
.main-nav a:nth-child(4) { --nav-accent: #c97070; }
.main-nav a::after {
  height: 1px;
  bottom: -8px;
  background: var(--nav-accent);
  opacity: .65;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus-visible { color: var(--nav-accent); }
.main-nav a.active::after { opacity: .78; }
/* El hero ocupa aproximadamente un viewport; nunca recorta los pilares. */
@media (min-width: 761px) {
  .hero { height: auto; min-height: clamp(700px, 100svh, 960px); max-height: none; }
  .hero-content { padding-top: 92px; padding-bottom: 45px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 70px; padding-top: 11px; padding-bottom: 11px; }
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-content { padding-top: clamp(250px, 40svh, 340px); padding-bottom: 54px; }
}


/* HOME V2.0.9 — SERVICIOS: títulos de tarjetas blancos; acentos editoriales en encabezado */
.services-section { padding-top: 80px; }
.services-section .section-heading .service-heading-accent { color: var(--champagne); }
@media (max-width: 760px) {
  .services-section { padding-top: 62px; }
}

/* HOME V2.0.10 — MR LIBRARY: cabecera limpia, sin bloque derecho */
.library-top { grid-template-columns: minmax(0, 1fr); gap: 0; }

/* HOME V2.0.11 — footer minimalista: redes centradas y bloque compacto */
.site-footer { padding-top: 58px; padding-bottom: 28px; }
.site-footer .footer-main { display: flex; justify-content: center; align-items: center; padding-bottom: 48px; }
.site-footer .footer-social { width: min(100%, 920px); max-width: 920px; margin-inline: auto; }
.site-footer .footer-social a { min-width: 0; }
.site-footer .footer-bottom { min-height: 70px; }
@media (max-width: 760px) {
  .site-footer { padding-top: 45px; padding-bottom: 22px; }
  .site-footer .footer-main { padding-bottom: 35px; }
  .site-footer .footer-social { width: 100%; max-width: none; }
  .site-footer .footer-social a { font-size: 8px; letter-spacing: .65px; gap: 10px; }
  .site-footer .footer-social-icon svg { width: 27px; height: 27px; }
  .site-footer .footer-bottom { min-height: 0; }
}

/* HOME V2.0.12 — MR LIBRARY: lenguaje visual de SERVICIOS, sin alterar el resto */
.library-section .routine-body {
  display:flex; flex-direction:column; align-items:flex-start; flex:1;
  padding-top:39px; position:relative;
}
.library-section .routine-card { display:flex; flex-direction:column; }
.library-section .routine-image { flex-shrink:0; }
.library-section .routine-symbol {
  position:absolute; top:-24px; left:23px; width:49px; height:49px;
  display:grid; place-items:center; margin:0; border-radius:50%;
  background:#e6c783; border:5px solid #101111; color:#111;
  font-size:22px; font-weight:900; line-height:1;
}
.library-section .routine-symbol-food svg { width:23px; height:23px; }
.library-section .routine-meta { width:100%; margin-top:auto; }
.library-section .routine-button {
  display:inline-flex; width:auto; min-height:0; margin-top:20px;
  padding:0; border:0; border-radius:0; justify-content:flex-start;
  gap:9px; color:var(--gold); background:transparent;
  font-size:10px; font-weight:800; letter-spacing:1.4px;
}
.library-section .routine-button b { font-size:15px; transition:transform .22s ease; }
.library-section .routine-card:hover .routine-button { background:transparent; color:var(--gold); }
.library-section .routine-card:hover .routine-button b { transform:translateX(5px); }
@media (max-width:760px) {
  .library-section .routine-body { height:auto; flex:1; }
  .library-section .routine-meta { margin-top:20px; }
}
@media (prefers-reduced-motion:reduce) {
  .library-section .routine-button b { transition:none; }
}

/* HOME V2.0.13 · Alineación quirúrgica de tarjetas y demos */
.services-section .service-card{display:flex;flex-direction:column}
.services-section .service-card .service-image{flex-shrink:0}
.services-section .service-card .service-body{display:flex;flex:1;flex-direction:column;align-items:flex-start}
.services-section .service-card .service-link{margin-top:auto;padding-top:20px}
.library-section .routine-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:center}
.library-section .routine-meta span{min-width:0}
.library-section .routine-meta span:nth-child(1){text-align:left}
.library-section .routine-meta span:nth-child(2){text-align:center}
.library-section .routine-meta span:nth-child(3){text-align:right}
.library-section .routine-button{align-self:center;justify-content:center;text-align:center}
@media(max-width:760px){.library-section .routine-meta{gap:5px;font-size:clamp(8px,2.3vw,10px);letter-spacing:0}}

/* MR NAV · PROJECT T lila en menú móvil, sin modificar otros enlaces */
@media (max-width: 1180px) {
  .mobile-nav a:nth-child(5):hover,
  .mobile-nav a:nth-child(5):focus-visible,
  .mobile-nav a:nth-child(5).active { color: #8B6BC0; }
  .mobile-nav a:nth-child(5)::after { color: rgba(139,107,192,.72); }
}

/* HOME V5.2.1 · Menú móvil negro con contorno plata, sin afectar escritorio */
@media(max-width:1180px){
  .mobile-menu{background:#090a0a;border-left:1px solid #525b64;box-shadow:-16px 0 38px rgba(0,0,0,.28);}
}
@media(max-width:760px){
  .mobile-menu{border-left:0;border-top:1px solid #525b64;}
}

/* MR MENU V2 · Estado activo: texto y flecha coherentes. */
@media(max-width:1180px){
  .site-header .mobile-nav a.active::after,
  .site-header .mobile-nav a[aria-current="page"]::after{
    color:#e4b866!important;opacity:1!important;
    text-shadow:0 0 9px rgba(228,184,102,.46);
  }
  .site-header .mobile-nav a:nth-child(5):not(.active):not([aria-current="page"])::after{color:rgba(228,184,102,.55)}
}
