:root {
  --yellow: #ffcf22;
  --blue: #087fc1;
  --ink: #202b2f;
  --content-width: 1280px;
  --font: 'Plus Jakarta Sans', sans-serif;
}

/* Base and shared elements */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.container { width: min(var(--content-width), calc(100% - 112px)); margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 15px 22px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.5; transition: background-color 180ms ease, color 180ms ease; }
.button span { font-size: 18px; line-height: 1; }
.button-blue { color: white; background: var(--blue); }
.button-blue:hover { background: #066da7; }

/* Header */
.site-header { background: #fff; position: relative; z-index: 10; }
.header-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; flex: 0 0 174px; }
.brand img { display: block; width: 100%; height: auto; }
.main-navigation { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 17px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding-block: 12px; font-size: 11px; font-weight: 700; transition: color 180ms ease; }
.nav-list a:hover { color: var(--blue); }
.menu-toggle { display: none; }

/* HERO — independent photo, colour wash, speed lines and content layers. */
.hero {
  --hero-navy: #093a68;
  --hero-blue: #008bcb;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #ffcf22;
  color: var(--hero-navy);
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url('img/llegada-meta.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: calc(50% + 20vw) 12%;
  transform-origin: 78% 30%;
  animation: hero-photo-reveal 4s ease-out both;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(100deg, #ffcf22 0%, #ffcf22 38%, rgb(255 207 34 / 97%) 43%, rgb(255 207 34 / 72%) 55%, rgb(255 207 34 / 25%) 69%, rgb(255 207 34 / 5%) 78%, transparent 100%);
}
.hero-speed-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-speed-lines span { position: absolute; top: -14%; left: 54%; height: 130%; width: 1px; background: linear-gradient(transparent, rgb(9 58 104 / 14%), rgb(255 255 255 / 35%), transparent); transform: rotate(22deg); }
.hero-speed-lines span:nth-child(2) { left: 56%; width: 3px; opacity: .55; }
.hero-speed-lines span:nth-child(3) { left: 60%; opacity: .45; }
.hero-inner { display: flex; align-items: center; min-height: 700px; padding-block: 72px; }
.hero-content { width: 60%; max-width: 760px; position: relative; }
.hero .eyebrow { margin: 0 0 25px; font-size: 10px; font-weight: 800; line-height: 1.6; letter-spacing: 2px; }
.hero h1 { margin: 0; color: #093a68; font-family: 'Space Grotesk', var(--font); font-size: clamp(48px, 4.9vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: -.06em; }
.chip-underline { position: relative; white-space: nowrap; }
.chip-underline::after { content: ''; position: absolute; left: .02em; right: .02em; bottom: -.035em; height: 3px; background: #008bcb; transform-origin: left; animation: hero-underline-reveal 650ms 650ms cubic-bezier(.2,.65,.3,1) both; }
.hero-description { max-width: 490px; margin: 32px 0 0; font-size: 14px; line-height: 1.85; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.hero .button, .hero .text-link { min-height: 52px; padding: 16px 21px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.5; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.hero .button-blue { background: #093a68; color: #fff; }
.hero .button-blue:hover { background: #008bcb; }
.hero .button span, .hero .text-link span { transition: transform 200ms ease; }
.hero .text-link span { font-size: 18px; line-height: 1; }
.hero .button:hover span, .hero .text-link:hover span { transform: translateX(4px); }
.hero .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 24px; background: transparent; border: 1px solid rgb(9 58 104 / 35%); color: #093a68; }
.hero .text-link:hover { background: transparent; border-color: #093a68; }
.hero .eyebrow, .hero h1, .hero-description, .hero-actions { animation: hero-content-reveal 800ms cubic-bezier(.2,.65,.3,1) both; }
.hero h1 { animation-delay: 100ms; }
.hero-description { animation-delay: 230ms; }
.hero-actions { animation-delay: 360ms; }
@keyframes hero-content-reveal { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-photo-reveal { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hero-underline-reveal { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Tablet and mobile navigation */
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .brand { flex-basis: 145px; }
  .main-navigation, .nav-list { gap: 16px; }
  .nav-list a { font-size: 10px; }
  .main-navigation .button { padding-inline: 15px; gap: 12px; font-size: 11px; }
}
@media (max-width: 1200px) {
  .header-inner { min-height: 78px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 32px 28px; background: white; }
  .main-navigation.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 16px; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding-block: 13px; font-size: 14px; }
  .main-navigation .button { align-self: flex-start; font-size: 12px; }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; }
  .brand { flex-basis: 151px; }
  .main-navigation { padding-inline: 20px; }

}
/* Background remains full-size at every breakpoint; the colour wash protects text. */
@media (min-width: 651px) and (max-width: 1000px) {
  .hero-inner { min-height: 660px; padding-block: 58px; }
  .hero-content { width: 65%; }
  .hero h1 { font-size: clamp(37px, 5vw, 50px); }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .hero-description { max-width: 350px; font-size: 13px; }
  .hero-photo { background-position: calc(50% + 25vw) 10%; }
  .hero::before { background: linear-gradient(100deg, #ffcf22 0%, #ffcf22 38%, rgb(255 207 34 / 97%) 47%, rgb(255 207 34 / 77%) 56%, rgb(255 207 34 / 15%) 72%, transparent 100%); }
  .hero-speed-lines { opacity: .6; }
}
@media (max-width: 650px) {
  .hero-inner { display: block; min-height: 850px; padding-block: 42px 340px; }
  .hero-content { width: 100%; max-width: none; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 25px; }
  .hero h1 { font-size: clamp(31px, 7.6vw, 49px); line-height: 1.09; letter-spacing: -.055em; }
  .hero-description { margin-top: 27px; max-width: 460px; font-size: 13px; line-height: 1.85; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 340px; gap: 11px; margin-top: 26px; }
  .hero .button, .hero .text-link { min-height: 49px; padding-block: 14px; }
  .hero .button, .hero .text-link { justify-content: space-between; }
  .hero-photo { background-position: center calc(50% + 440px); transform-origin: 50% 85%; }
  .hero::before { background: linear-gradient(176deg, #ffcf22 0%, #ffcf22 calc(100% - 380px), rgb(255 207 34 / 94%) calc(100% - 330px), rgb(255 207 34 / 45%) calc(100% - 255px), rgb(255 207 34 / 5%) calc(100% - 170px), transparent 100%); }
  .hero-speed-lines { top: auto; height: 350px; opacity: .55; }
  .hero-speed-lines span { left: 13%; }
  .hero-speed-lines span:nth-child(2) { left: 19%; }
  .hero-speed-lines span:nth-child(3) { left: 27%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hero *, .hero *::after { animation: none !important; }
}

/* Numeralia — standalone rules preserve the approved header and hero. */
.numeralia { background: #fff; padding-block: 38px; }
.numeralia-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.numeralia-item { min-width: 0; padding: 0 30px; text-align: center; }
.numeralia-item + .numeralia-item { border-left: 1px solid #e4e9ed; }
.numeralia-number { margin: 0; color: #093a68; font-family: 'Space Grotesk', var(--font); font-size: 48px; font-weight: 700; line-height: 1.15; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.numeralia-number::after { content: ''; display: block; width: 23px; height: 2px; margin: 10px auto 0; background: #ffcf22; }
.numeralia-item dd { margin: 11px 0 0; color: #657687; font-size: 12px; font-weight: 500; line-height: 1.6; }
.numeralia-accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .numeralia { padding-block: 30px; }
  .numeralia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .numeralia-item { padding-inline: 24px; }
  .numeralia-item:nth-child(odd) { border-left: 0; }
  .numeralia-number { font-size: 42px; }
}
@media (max-width: 480px) {
  .numeralia-item { padding-inline: 18px; }
  .numeralia-number { font-size: 36px; }
  .numeralia-item dd { font-size: 11px; }
}

/* Services and MYLAPS: a single composition below the approved numeralia. */
.solutions { --solutions-navy: #093a68; --solutions-blue: #008bcb; padding-block: 72px 80px; background: #fff; color: var(--solutions-navy); }
.solutions-heading { margin-bottom: 32px; }
.solutions-eyebrow { margin: 0 0 14px; color: var(--solutions-blue); font-size: 10px; font-weight: 800; line-height: 1.6; letter-spacing: 1.8px; }
.solutions h2, .solutions h3 { font-family: 'Space Grotesk', var(--font); font-weight: 700; }
.solutions h2 { margin: 0; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.12; letter-spacing: -.045em; }
.solutions h2 span { color: var(--solutions-blue); }
.solutions-intro { max-width: 690px; margin: 17px 0 0; color: #657687; font-size: 14px; line-height: 1.8; }
.solutions-grid { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 16px; }
.timing-card { display: flex; flex-direction: column; align-items: flex-start; padding: 34px 36px; border-radius: 6px; background: var(--solutions-navy); color: #fff; }
.timing-icon { width: 42px; height: 42px; margin-bottom: 25px; color: #ffcf22; }
.timing-card h3 { max-width: 430px; margin: 0; font-size: clamp(28px, 2.65vw, 38px); line-height: 1.12; letter-spacing: -.04em; }
.timing-card p { max-width: 440px; margin: 19px 0 27px; color: #dce7ef; font-size: 13px; line-height: 1.85; }
.timing-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; margin-top: auto; color: #ffcf22; font-size: 10px; font-weight: 800; line-height: 1.6; letter-spacing: .5px; }
.complementary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 23px 20px 17px; border: 1px solid #e6ebee; border-radius: 6px; background: #f7f9fa; }
.service-card:nth-child(2), .service-card:nth-child(3) { background: #fff; }
.service-icon { width: 25px; height: 25px; margin-bottom: 15px; color: var(--solutions-blue); }
.service-card h3 { margin: 0; font-size: 17px; line-height: 1.25; letter-spacing: -.035em; }
.service-card p { margin: 9px 0 12px; color: #657687; font-size: 11px; line-height: 1.7; }
.service-link { display: inline-flex; align-items: center; gap: 12px; min-height: 35px; margin-top: auto; color: var(--solutions-blue); font-size: 10px; font-weight: 700; }
.solutions a span { display: inline-block; font-size: 17px; transition: transform 180ms ease; }
.solutions a:hover span { transform: translate(2px, -2px); }
.solutions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mylaps-band { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 30px; margin-top: 16px; padding: 24px 36px; border-top: 2px solid #ffcf22; border-radius: 4px; background: #f7f8fa; }
.mylaps-content { min-width: 0; }
.mylaps-content h3 { max-width: 530px; margin: 0; color: #093a68; font-size: 27px; line-height: 1.18; letter-spacing: -.035em; }
.mylaps-content h3 strong { font-weight: inherit; text-decoration: underline; text-decoration-color: #ffcf22; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mylaps-content p { max-width: 610px; margin: 14px 0 0; color: #657687; font-size: 12px; line-height: 1.8; }
.mylaps-logo { display: flex; align-items: center; justify-content: center; min-width: 0; }
.mylaps-logo img { display: block; width: 100%; max-width: 340px; height: 240px; object-fit: contain; }
.mylaps-link { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 42px; margin-top: 16px; padding-block: 10px; color: #093a68; font-size: 9px; font-weight: 800; line-height: 1.6; letter-spacing: .2px; }
@media (max-width: 1100px) {
  .timing-card { padding: 30px; }
  .service-card { padding: 20px 15px 14px; }
  .mylaps-band { gap: 22px; padding-inline: 28px; }
  .mylaps-content h3 { font-size: 23px; }
}
@media (max-width: 800px) {
  .solutions { padding-block: 52px 56px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .timing-card { padding: 30px; }
  .timing-icon { margin-bottom: 19px; }
  .timing-card h3 { max-width: 500px; font-size: 32px; }
  .timing-card p { max-width: 530px; margin-bottom: 20px; }
  .service-card { padding: 23px; }
  .service-card h3 { font-size: 18px; }
}
@media (max-width: 480px) {
  .solutions-heading { margin-bottom: 25px; }
  .solutions h2 { font-size: 31px; }
  .solutions h2 br { display: none; }
  .solutions-intro { font-size: 13px; }
  .timing-card { padding: 27px 24px; }
  .timing-card h3 { font-size: 30px; }
  .service-card { padding: 20px 15px 14px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 11px; }
  .mylaps-band { padding: 26px 24px 12px; }
  .mylaps-content h3 { font-size: 25px; }
  .mylaps-link { font-size: 9px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .solutions a span { transition: none; }
  .solutions a:hover span { transform: none; }
}

@media (max-width: 650px) {
  .mylaps-band { grid-template-columns: 1fr; gap: 0; padding: 28px 24px 8px; }
  .mylaps-logo img { max-width: 300px; height: 190px; }
}

/* Final home sections: local styles leave the approved sections untouched. */
.home-section { padding-block: 72px; color: #093a68; scroll-margin-top: 24px; }
.home-section h2, .home-section h3, .home-dialog h2 { font-family: 'Space Grotesk', var(--font); font-weight: 700; }
.home-section h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.045em; }
.home-eyebrow { margin: 0 0 15px; color: #008bcb; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; line-height: 1.7; }
.home-intro { margin: 16px 0 0; color: #657687; font-size: 14px; line-height: 1.8; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.home-events { background: #fff; }
.carousel-controls { display: flex; flex-shrink: 0; gap: 8px; }
.carousel-controls button { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #dce3e9; border-radius: 4px; background: #fff; color: #093a68; font-size: 20px; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease; }
.carousel-controls button:hover:not(:disabled) { border-color: #093a68; background: #ffcf22; }
.carousel-controls button:disabled { opacity: .35; cursor: default; }
.carousel-track { --carousel-columns: 3; --carousel-gap: 22px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--carousel-columns) - 1) * var(--carousel-gap)) / var(--carousel-columns)); gap: var(--carousel-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #cbd6df transparent; padding-bottom: 14px; }
.carousel-track:focus-visible { outline: 2px solid #008bcb; outline-offset: 5px; }
.carousel-track > article { min-width: 0; scroll-snap-align: start; }
.event-card { display: flex; flex-direction: column; border: 1px solid #e5eaf0; border-radius: 7px; overflow: hidden; background: #fff; transition: border-color 180ms ease; }
.event-card:hover { border-color: #a9bfce; }
.event-poster { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; aspect-ratio: 1.6; padding: 28px; border-bottom: 1px solid #e5eaf0; background: #f1f4f6; text-align: center; }
.event-poster > span { max-width: 270px; font-family: 'Space Grotesk', var(--font); font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; color: #7a8996; }
.event-poster small { color: #657687; font-size: 10px; }
.event-details { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.event-details time { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; padding-left: 12px; border-left: 3px solid #ffcf22; color: #008bcb; }
.event-details time strong { font-family: 'Space Grotesk', var(--font); font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.event-details time span { font-size: 9px; font-weight: 800; line-height: 1.6; letter-spacing: .6px; }
.event-details h3 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.035em; }
.event-details p { margin: 12px 0 24px; color: #657687; font-size: 12px; line-height: 1.8; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 44px; padding: 12px 18px; border: 1px solid #093a68; border-radius: 4px; background: #093a68; color: #fff; font: 700 11px/1.6 var(--font); cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.home-button:hover { background: #008bcb; border-color: #008bcb; }
.home-button span { font-size: 18px; line-height: 1; transition: transform 180ms ease; }
.home-button:hover span { transform: translateX(3px); }
.event-details .home-button { margin-top: auto; }
.home-catalog-link { display: flex; align-items: center; gap: 18px; width: fit-content; min-height: 44px; margin-top: 18px; font-size: 10px; font-weight: 800; letter-spacing: .5px; line-height: 1.7; }
.home-catalog-link:hover { color: #008bcb; }
.home-catalog-link span { font-size: 18px; }
.home-results { background: #f7f8fa; padding-block: 58px; }
.home-results h2 { font-size: clamp(28px, 2.7vw, 36px); }
.results-track { --carousel-columns: 4; --carousel-gap: 18px; }
.result-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5eaf0; border-radius: 5px; overflow: hidden; }
.result-poster { display: grid; place-items: center; aspect-ratio: 2.2; padding: 18px; background: #edf1f4; color: #657687; text-align: center; font-size: 10px; }
.result-details { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 19px 20px 13px; }
.result-details h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.result-details a { display: flex; align-items: center; gap: 16px; min-height: 40px; margin-top: auto; color: #008bcb; font-size: 11px; font-weight: 700; }
.result-details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.result-details a span { font-size: 16px; }
.quote-section { background: #fff; padding-block: 80px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: stretch; border: 1px solid #e5eaf0; border-radius: 7px; overflow: hidden; }
.quote-copy { padding: 46px 38px; background: #093a68; color: #fff; }
.quote-copy .home-eyebrow { color: #ffcf22; font-size: 9px; }
.quote-copy h2 { font-size: clamp(32px, 3vw, 43px); line-height: 1.15; }
.quote-copy h2 span { color: #ffcf22; }
.quote-copy > p:not(.home-eyebrow) { max-width: 390px; margin: 25px 0 0; color: #dce7ef; font-size: 14px; line-height: 1.85; }
.quote-copy ul { display: grid; gap: 22px; padding: 0; margin: 38px 0 0; list-style: none; }
.quote-copy li { position: relative; padding-left: 21px; font-size: 12px; line-height: 1.8; }
.quote-copy li::before { content: ''; position: absolute; top: 9px; left: 0; width: 8px; height: 2px; background: #ffcf22; }
.quote-form { min-width: 0; padding: 36px; background: #fff; }
.quote-form h3 { margin: 0 0 25px; font-size: 27px; letter-spacing: -.035em; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.quote-field { min-width: 0; }
.quote-field-full { grid-column: 1 / -1; }
.quote-field label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; line-height: 1.6; }
.quote-field input, .quote-field select, .quote-field textarea { display: block; width: 100%; min-width: 0; min-height: 43px; padding: 11px 12px; border: 1px solid #dce3e9; border-radius: 4px; background: #fff; color: #093a68; font: 400 13px/1.5 var(--font); }
.quote-field textarea { resize: vertical; }
.quote-field input:focus-visible, .quote-field select:focus-visible, .quote-field textarea:focus-visible { outline: 2px solid #008bcb; outline-offset: 2px; border-color: #008bcb; }
.quote-demo-note { margin: 19px 0 15px; color: #657687; font-size: 10px; line-height: 1.7; }
.quote-submit { width: 100%; justify-content: space-between; min-height: 49px; }
.quote-submit:disabled { opacity: .5; cursor: not-allowed; }
.quote-feedback:not([hidden]) { margin: 17px 0 0; padding: 14px 16px; border-left: 3px solid #ffcf22; background: #f7f8fa; color: #093a68; font-size: 12px; line-height: 1.8; }
/* Shared footer: one static component repeated identically across all pages. */
.site-footer { padding-block: 44px 23px; background: #093a68; color: #fff; font-family: var(--font); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 32px; }
.footer-logo { display: block; width: 185px; max-width: 100%; padding: 9px 12px; border-radius: 3px; background: #fff; }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-brand p { max-width: 280px; margin: 12px 0 0; color: #dce7ef; font-size: 11px; line-height: 1.85; }
.footer-brand .footer-brand-name { margin-top: 18px; color: #fff; font-size: 12px; font-weight: 700; }
.footer-since { display: block; margin-top: 13px; color: #ffcf22; font-size: 10px; }
.site-footer h2 { margin: 3px 0 21px; color: #ffcf22; font: 700 10px/1.6 var(--font); letter-spacing: 1.7px; }
.footer-explore { display: flex; flex-direction: column; align-items: flex-start; }
.footer-explore a { padding-block: 5px; color: #e5edf3; font-size: 11px; line-height: 1.6; }
.footer-contact ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 2px; color: #a5cfe4; }
.footer-contact li span { display: block; color: #fff; font-size: 9px; font-weight: 600; line-height: 1.6; }
.footer-contact li p { margin: 3px 0 0; color: #dce7ef; font-size: 10px; line-height: 1.75; overflow-wrap: anywhere; }
.footer-contact > small { display: block; margin-top: 16px; color: #b6ccdc; font-size: 9px; line-height: 1.7; }
.footer-social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social-icon { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 4px; background: rgb(255 255 255 / 5%); color: #fff; transition: color 180ms ease, background-color 180ms ease; }
.footer-social-icon svg { display: block; width: 21px; height: 21px; }
.footer-social-icon:hover { background: #ffcf22; color: #093a68; }
.footer-social > p { margin: 12px 0 22px; color: #b6ccdc; font-size: 9px; line-height: 1.8; }
.footer-quote { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 45px; padding: 13px 15px; border-radius: 4px; background: #ffcf22; color: #093a68; font-size: 9px; font-weight: 800; line-height: 1.6; }
.footer-quote span { font-size: 18px; line-height: 1; }
.site-footer a { transition: color 180ms ease, background-color 180ms ease; }
.site-footer a:hover { color: #ffcf22; }
.site-footer .footer-quote:hover { background: #fff; color: #093a68; }
.site-footer a:focus-visible { outline-color: #ffcf22; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 18%); color: #c7d8e4; }
.footer-bottom small, .footer-legal a { font-size: 9px; line-height: 1.8; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.home-dialog { width: min(480px, calc(100% - 40px)); max-height: 85vh; padding: 35px 28px 28px; border: 1px solid #dce3e9; border-radius: 7px; color: #093a68; background: #fff; }
.home-dialog::backdrop { background: rgb(9 58 104 / 45%); }
.home-dialog h2 { margin: 10px 0 17px; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.home-dialog p { font-size: 13px; line-height: 1.8; color: #657687; }
.dialog-close { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: transparent; color: #093a68; font-size: 24px; cursor: pointer; }
.dialog-dismiss { margin-top: 12px; }
@media (max-width: 1000px) {
  .carousel-track { --carousel-columns: 2; }
  .quote-copy { padding: 35px 28px; }
  .quote-form { padding: 30px 25px; }
}
@media (max-width: 800px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-copy { padding: 36px; }
  .quote-copy h2 { max-width: 570px; }
  .quote-copy > p:not(.home-eyebrow) { max-width: 600px; }
  .quote-copy ul { gap: 13px; margin-top: 25px; }
  .quote-form { padding: 32px 36px; }
}
@media (max-width: 650px) {
  .home-section { padding-block: 48px; }
  .home-section-heading { align-items: flex-start; gap: 15px; flex-wrap: wrap; margin-bottom: 24px; }
  .home-section h2 { font-size: 31px; }
  .home-intro { font-size: 13px; }
  .home-eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .carousel-track { --carousel-columns: 1; --carousel-gap: 15px; }
  .results-track { --carousel-columns: 2; --carousel-gap: 12px; }
  .carousel-controls button { width: 40px; height: 40px; }
  .event-details { padding: 23px; }
  .event-poster { aspect-ratio: 1.6; }
  .result-details { padding: 16px 14px 10px; }
  .result-details h3 { font-size: 17px; }
  .home-catalog-link { font-size: 9px; gap: 12px; }
  .quote-copy { padding: 32px 24px; }
  .quote-copy h2 { font-size: 35px; }
  .quote-form { padding: 28px 24px; }
  .quote-fields { grid-template-columns: 1fr; gap: 17px; }
}
@media (max-width: 380px) {
  .results-track { --carousel-columns: 1; }
  .quote-copy, .quote-form { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-button:hover span { transform: none; }
}

/* NOSOTROS — all editorial styles are scoped to this page. */
.about-page { --about-navy: #093a68; --about-blue: #008bcb; color: var(--about-navy); }
.about-page h1, .about-page h2, .about-page h3 { font-family: 'Space Grotesk', var(--font); font-weight: 700; }
.about-page h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.045em; }
.about-page h2 span { color: var(--about-blue); }
.about-eyebrow { margin: 0 0 19px; color: var(--about-blue); font-size: 10px; line-height: 1.6; font-weight: 800; letter-spacing: 2px; }
.about-section { padding-block: 80px; }
.about-hero { position: relative; isolation: isolate; overflow: hidden; background: #f2f7fa; }
.about-hero-photo { position: absolute; inset: 0; z-index: -2; background: url('img/nosotros-meta.jpg') no-repeat calc(50% + 23vw) 16% / cover; }
.about-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(103deg, #f2f7fa 0%, #f2f7fa 34%, rgb(242 247 250 / 94%) 45%, rgb(242 247 250 / 55%) 55%, rgb(0 139 203 / 10%) 71%, rgb(255 207 34 / 16%) 100%); }
.about-hero-inner { display: flex; align-items: center; min-height: 510px; padding-block: 65px; }
.about-hero-copy { width: 63%; max-width: 780px; }
.about-hero .about-eyebrow { color: #093a68; }
.about-hero h1 { margin: 0; color: #093a68; font-size: clamp(40px, 4.3vw, 62px); line-height: 1.06; letter-spacing: -.055em; }
.about-hero h1 span { color: #008bcb; text-decoration: underline; text-decoration-color: #ffcf22; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.about-hero-copy > p:last-child { max-width: 570px; margin: 27px 0 0; color: #49667d; font-size: 14px; line-height: 1.85; }
.about-hero-credit { position: absolute; right: 24px; bottom: 16px; padding: 5px 8px; background: rgb(255 255 255 / 82%); color: #093a68; font-size: 9px; }
.about-history-grid { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 64px; align-items: center; }
.about-history-photo { position: relative; align-self: stretch; margin: 0; min-height: 440px; }
.about-history-photo img { display: block; width: 100%; height: 100%; max-height: 620px; object-fit: cover; object-position: 45% center; border-radius: 5px; }
.about-history-photo figcaption { position: absolute; bottom: 12px; left: 12px; right: 12px; width: fit-content; padding: 6px 9px; background: rgb(255 255 255 / 90%); color: #49667d; font-size: 9px; line-height: 1.6; }
.about-history-copy h2 { font-size: clamp(29px, 2.8vw, 39px); }
.about-history-copy > p:not(.about-eyebrow) { color: #657687; font-size: 13px; line-height: 1.9; margin: 18px 0 0; }
.about-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid #dce5eb; }
.about-timeline li { position: relative; padding-top: 20px; }
.about-timeline li::before { content: ''; position: absolute; left: 0; top: -2px; width: 30px; height: 3px; background: #ffcf22; }
.about-timeline strong { font: 700 28px/1.2 'Space Grotesk', var(--font); color: #008bcb; letter-spacing: -.035em; }
.about-timeline p { max-width: 230px; margin: 9px 0 0; color: #657687; font-size: 12px; line-height: 1.8; }
.about-philosophy { background: #f7f8fa; }
.about-philosophy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 39px; }
.about-page h3 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
.about-mission { padding-left: 25px; border-left: 3px solid #ffcf22; }
.about-mission h3 { color: #657687; font-family: var(--font); font-size: 12px; font-weight: 600; }
.about-mission blockquote { margin: 20px 0 0; font: 700 clamp(34px, 3.5vw, 49px)/1.12 'Space Grotesk', var(--font); letter-spacing: -.045em; }
.about-mission blockquote span { color: #008bcb; }
.about-principles > p { margin: 15px 0 26px; color: #657687; font-size: 13px; line-height: 1.9; }
.about-values { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 17px 0 0; padding: 0; }
.about-values li { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.8; }
.about-values li::before { content: ''; width: 5px; height: 5px; background: #008bcb; }
.about-section-heading { max-width: 760px; }
.about-section-heading > p:last-child { max-width: 660px; margin: 20px 0 0; color: #657687; font-size: 14px; line-height: 1.85; }
.about-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 60px; margin-top: 38px; }
.about-benefits article { padding: 25px 0; border-top: 1px solid #e2e8ed; }
.about-benefit-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.about-benefit-top span { color: #008bcb; font: 700 12px/1.4 'Space Grotesk', var(--font); letter-spacing: 1px; }
.about-benefit-top svg { width: 26px; height: 26px; color: #008bcb; }
.about-benefits h3 { position: relative; padding-left: 15px; }
.about-benefits h3::before { content: ''; position: absolute; left: 0; top: 7px; width: 3px; height: 13px; background: #ffcf22; }
.about-benefits p { max-width: 500px; margin: 13px 0 0; color: #657687; font-size: 13px; line-height: 1.85; }
.about-experience { background: #f7f8fa; }
.about-experience-heading { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); align-items: end; gap: 60px; }
.about-experience-heading > p { margin: 0; color: #657687; font-size: 13px; line-height: 1.85; }
.about-experience-images { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 20px; margin-top: 32px; }
.about-experience-images figure { min-width: 0; margin: 0; }
.about-experience-images img { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 5px; }
.about-experience-images figcaption { margin-top: 12px; color: #49667d; font-size: 10px; line-height: 1.6; }
.about-stock-note { margin: 17px 0 0; color: #657687; font-size: 10px; line-height: 1.8; }
.about-clients { background: #fff; }
.about-clients h2 { max-width: 850px; font-size: clamp(29px, 2.7vw, 38px); }
.about-client-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 32px; }
.about-client-slots span { display: grid; place-items: center; min-height: 85px; color: #71808d; font-size: 11px; text-align: center; }
.about-final-cta { position: relative; isolation: isolate; overflow: hidden; background: #093a68; color: #fff; padding-block: 65px; }
.about-final-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #093a68 0%, rgb(9 58 104 / 98%) 43%, rgb(9 58 104 / 78%) 74%, rgb(9 58 104 / 70%) 100%), url('img/nosotros-ciclismo.jpg') center 45% / cover; }
.about-final-cta > .container { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.about-final-cta h2 { max-width: 790px; font-size: clamp(30px, 3vw, 42px); }
.about-final-cta h2 span { color: #ffcf22; }
.about-final-cta p { max-width: 680px; margin: 20px 0 0; color: #dce7ef; font-size: 13px; line-height: 1.85; }
.about-cta-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 28px; min-height: 50px; padding: 15px 22px; border-radius: 4px; background: #ffcf22; color: #093a68; font-size: 11px; font-weight: 800; line-height: 1.6; transition: background-color 180ms ease; }
.about-cta-button:hover { background: #fff; }
.about-cta-button span { font-size: 18px; transition: transform 180ms ease; }
.about-cta-button:hover span { transform: translateX(3px); }
.about-cta-button:focus-visible { outline-color: #ffcf22; }
.about-page [data-about-reveal].about-reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.about-page [data-about-reveal].about-reveal-ready.is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .about-history-grid { gap: 36px; }
  .about-philosophy-grid { gap: 45px; }
  .about-experience-heading { gap: 35px; }
  .about-hero h1 { font-size: 48px; }
}
@media (max-width: 800px) {
  .about-section { padding-block: 56px; }
  .about-hero-inner { min-height: 490px; }
  .about-hero-copy { width: 72%; }
  .about-hero h1 { font-size: 44px; }
  .about-hero-copy > p:last-child { font-size: 13px; }
  .about-hero-photo { background-position: calc(50% + 28vw) 18%; }
  .about-history-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-history-photo { min-height: 0; }
  .about-history-photo img { height: 310px; object-position: center 45%; }
  .about-history-copy h2 { max-width: 600px; }
  .about-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; border: 0; }
  .about-timeline li { border-top: 1px solid #dce5eb; }
  .about-philosophy-grid { gap: 30px; }
  .about-benefits { column-gap: 30px; }
  .about-experience-heading { grid-template-columns: 1fr; gap: 22px; }
  .about-experience-images img { height: 240px; }
  .about-final-cta > .container { align-items: flex-start; flex-direction: column; gap: 28px; }
}
@media (max-width: 550px) {
  .about-hero-inner { display: block; min-height: 690px; padding-block: 40px 310px; }
  .about-hero-copy { width: 100%; }
  .about-hero h1 { font-size: clamp(33px, 8.6vw, 45px); }
  .about-hero h1 span { text-underline-offset: 5px; text-decoration-thickness: 2px; }
  .about-eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  .about-hero-photo { background-position: center calc(50% + 290px); }
  .about-hero::before { background: linear-gradient(177deg, #f2f7fa 0%, #f2f7fa calc(100% - 320px), rgb(242 247 250 / 92%) calc(100% - 315px), rgb(0 139 203 / 6%) calc(100% - 245px), rgb(255 207 34 / 15%) 100%); }
  .about-hero-credit { right: 12px; bottom: 12px; font-size: 8px; }
  .about-history-photo img { height: 290px; }
  .about-page h2 { font-size: 30px; }
  .about-history-copy h2 br, .about-experience h2 br, .about-clients h2 br { display: none; }
  .about-timeline { grid-template-columns: 1fr; gap: 0; margin-top: 32px; padding-left: 18px; border-left: 1px solid #dce5eb; }
  .about-timeline li { padding: 0 0 25px 12px; border: 0; }
  .about-timeline li:last-child { padding-bottom: 0; }
  .about-timeline li::before { left: -20px; top: 5px; width: 3px; height: 22px; }
  .about-timeline p { max-width: none; }
  .about-philosophy-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 28px; }
  .about-mission blockquote { font-size: 40px; }
  .about-benefits { grid-template-columns: 1fr; margin-top: 28px; }
  .about-experience-images { grid-template-columns: 1fr; gap: 25px; }
  .about-experience-images img { height: 235px; }
  .about-client-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 20px; }
  .about-client-slots span { min-height: 70px; font-size: 10px; }
  .about-final-cta { padding-block: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page [data-about-reveal].about-reveal-ready { opacity: 1; transform: none; transition: none; }
  .about-cta-button:hover span { transform: none; }
}

/* CONTACTO — isolated page styles, without changes to approved pages. */
.contact-page { color: #093a68; }
.contact-page h1, .contact-page h2, .contact-page h3 { font-family: 'Space Grotesk', var(--font); font-weight: 700; }
.contact-page h2 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.contact-eyebrow { margin: 0 0 18px; color: #008bcb; font-size: 10px; line-height: 1.6; font-weight: 800; letter-spacing: 1.8px; }
.contact-heading { padding-block: 52px 48px; background: #fff; }
.contact-heading > .container { position: relative; padding-left: 23px; }
.contact-heading > .container::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: #ffcf22; }
.contact-heading h1 { margin: 0; color: #093a68; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; letter-spacing: -.055em; }
.contact-heading h1 span { color: #008bcb; }
.contact-heading > .container > p:last-child { max-width: 730px; margin: 21px 0 0; color: #657687; font-size: 14px; line-height: 1.85; }
.contact-main { padding-block: 20px 65px; background: #fff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); gap: 64px; align-items: start; }
.contact-form { min-width: 0; padding-top: 28px; border-top: 1px solid #e2e8ed; }
.contact-form-intro { margin: 13px 0 27px; color: #657687; font-size: 13px; line-height: 1.8; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; line-height: 1.7; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; min-height: 45px; padding: 11px 12px; border: 1px solid #dce3e9; border-radius: 4px; background: #fff; color: #093a68; font: 400 13px/1.5 var(--font); }
.contact-field textarea { resize: vertical; }
.contact-page input:focus-visible, .contact-page select:focus-visible, .contact-page textarea:focus-visible { outline: 2px solid #008bcb; outline-offset: 2px; border-color: #008bcb; }
.contact-consent { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.contact-consent input { align-self: flex-start; flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: #093a68; }
.contact-consent label { font-size: 11px; line-height: 1.8; cursor: pointer; }
.contact-consent a { margin-left: auto; padding-block: 4px; color: #008bcb; font-size: 10px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-demo-note { margin: 15px 0 19px; color: #657687; font-size: 10px; line-height: 1.8; }
.contact-submit { display: inline-flex; justify-content: space-between; align-items: center; gap: 35px; width: 100%; min-height: 49px; padding: 14px 20px; border: 1px solid #093a68; border-radius: 4px; background: #093a68; color: #fff; font: 700 11px/1.6 var(--font); cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.contact-submit span { font-size: 20px; transition: transform 180ms ease; }
.contact-submit:hover:not(:disabled) { background: #008bcb; border-color: #008bcb; }
.contact-submit:hover:not(:disabled) span { transform: translateX(3px); }
.contact-submit:disabled { background: #526e89; border-color: #526e89; cursor: not-allowed; }
.contact-feedback:not([hidden]) { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid #ffcf22; background: #f7f8fa; font-size: 12px; line-height: 1.8; }
.contact-details { min-width: 0; background: #f7f8fa; padding: 28px 30px 26px; border-radius: 5px; }
.contact-data-notice { display: flex; gap: 8px; align-items: baseline; margin: 0 0 17px; color: #49667d; font-size: 10px; font-weight: 600; line-height: 1.7; }
.contact-data-notice::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; background: #ffcf22; }
.contact-details h2 { font-size: 25px; }
.contact-data-list { display: grid; gap: 20px; margin: 26px 0; }
.contact-data-list dt { display: flex; align-items: center; gap: 12px; color: #093a68; font-size: 11px; font-weight: 700; }
.contact-data-list svg { width: 20px; height: 20px; flex-shrink: 0; color: #008bcb; }
.contact-data-list dd { margin: 7px 0 0 32px; color: #49667d; font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.contact-data-list [aria-disabled] { cursor: text; user-select: text; }
.contact-whatsapp { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 48px; padding: 12px 10px; border: 1px solid #24894c; border-radius: 4px; background: #fff; color: #247343; font: 700 10px/1.7 var(--font); }
.contact-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-whatsapp > span:last-child { font-size: 18px; margin-left: auto; }
.contact-whatsapp:disabled { opacity: 1; cursor: not-allowed; }
.contact-disabled-note { margin: 10px 0 0; color: #657687; font-size: 9px; line-height: 1.7; }
.contact-social { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e0e6eb; }
.contact-social h3 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.contact-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.contact-social-links button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #dce3e9; border-radius: 4px; background: #fff; color: #093a68; transition: background-color 180ms ease, border-color 180ms ease; }
.contact-social-links svg { display: block; width: 23px; height: 23px; }
.contact-social-links button:hover { background: #ffcf22; border-color: #ffcf22; }
.contact-social-links button:disabled { opacity: 1; cursor: not-allowed; }
.contact-social > p { margin: 12px 0 0; color: #657687; font-size: 9px; line-height: 1.7; }
.contact-map { padding-block: 55px 65px; background: #f7f8fa; }
.contact-map-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 25px; }
.contact-map-heading > div > p:last-child { margin: 13px 0 0; color: #657687; font-size: 13px; line-height: 1.8; }
.contact-map-notice { margin: 0; padding-left: 13px; border-left: 2px solid #ffcf22; color: #657687; font-size: 11px; line-height: 1.8; }
.contact-map-frame { height: 400px; border: 1px solid #dce3e9; border-radius: 5px; overflow: hidden; background: #edf1f4; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-map-bottom { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.contact-directions { display: inline-flex; align-items: center; gap: 25px; min-height: 44px; padding: 12px 17px; border: 1px solid #849bad; border-radius: 4px; background: transparent; color: #49667d; font: 700 10px/1.6 var(--font); cursor: not-allowed; }
.contact-directions span { font-size: 17px; }
.contact-map-bottom p { margin: 0; color: #657687; font-size: 10px; line-height: 1.7; }
@media (max-width: 1100px) {
  .contact-layout { gap: 32px; }
  .contact-details { padding-inline: 24px; }
  .contact-fields { gap: 16px; }
}
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .contact-heading { padding-block: 42px; }
  .contact-details { padding: 28px; }
  .contact-data-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .contact-whatsapp { width: fit-content; padding-inline: 18px; gap: 18px; }
  .contact-map-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 550px) {
  .contact-heading { padding-block: 34px 32px; }
  .contact-heading > .container { padding-left: 17px; }
  .contact-heading h1 { font-size: 37px; }
  .contact-heading > .container > p:last-child { font-size: 13px; }
  .contact-eyebrow { font-size: 9px; }
  .contact-main { padding-bottom: 42px; }
  .contact-page h2 { font-size: 28px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-consent { column-gap: 8px; }
  .contact-consent label { flex: 1; }
  .contact-consent a { margin-left: 25px; }
  .contact-details { padding: 25px 22px; }
  .contact-details h2 { font-size: 25px; }
  .contact-data-list { grid-template-columns: 1fr; gap: 21px; }
  .contact-whatsapp { width: 100%; }
  .contact-map { padding-block: 42px; }
  .contact-map-frame { height: 340px; }
  .contact-map-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-submit:hover:not(:disabled) span { transform: none; }
}

/* EVENTOS — a simple, self-contained demonstration calendar. */
.events-page { color: #093a68; }
.events-page h1, .events-page h2, .events-page h3 { font-family: 'Space Grotesk', var(--font); font-weight: 700; }
.events-banner { display: flex; align-items: center; min-height: 330px; padding-block: 65px; background: linear-gradient(95deg, rgb(9 58 104 / 95%) 0%, rgb(9 58 104 / 88%) 44%, rgb(9 58 104 / 45%) 100%), url('img/nosotros-running.jpg') center 48% / cover; color: #fff; }
.events-banner h1 { max-width: 850px; margin: 0; font-size: clamp(38px, 4.3vw, 60px); line-height: 1.08; letter-spacing: -.05em; }
.events-banner h1 span { color: #ffcf22; }
.events-banner p { max-width: 640px; margin: 23px 0 0; color: #edf3f7; font-size: 14px; line-height: 1.85; }
.events-calendar { padding-block: 64px 72px; background: #fff; }
.calendar-heading > p { margin: 0 0 14px; color: #008bcb; font-size: 10px; font-weight: 800; line-height: 1.6; letter-spacing: 1.8px; }
.calendar-heading h2 { margin: 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -.045em; }
.calendar-demo-notice { max-width: 870px; margin: 22px 0 30px; padding-left: 13px; border-left: 2px solid #ffcf22; color: #657687; font-size: 11px; line-height: 1.85; }
.calendar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 27px 23px; }
.calendar-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #e3e9ee; border-radius: 6px; background: #fff; overflow: hidden; box-shadow: 0 2px 7px rgb(9 58 104 / 3%); transition: transform 220ms ease, border-color 220ms ease; }
.calendar-card:hover { transform: translateY(-3px); border-color: #b8ccd9; }
.calendar-card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f7f8fa; }
.calendar-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.calendar-card:hover .calendar-card-image img { transform: scale(1.035); }
.calendar-date { position: absolute; left: 17px; bottom: 16px; display: flex; flex-direction: column; align-items: center; min-width: 61px; padding: 10px 12px 8px; border-radius: 3px; background: #ffcf22; color: #093a68; }
.calendar-date strong { font: 700 31px/1 'Space Grotesk', var(--font); letter-spacing: -.05em; }
.calendar-date span { margin-top: 4px; font-size: 10px; font-weight: 800; line-height: 1.5; letter-spacing: 1px; }
.calendar-date small { font-size: 9px; line-height: 1.5; }
.calendar-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.calendar-card h3 { margin: 0; font-size: 24px; line-height: 1.18; letter-spacing: -.04em; }
.calendar-card-body > p { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 24px; color: #657687; font-size: 12px; line-height: 1.8; }
.calendar-card-body > p svg { flex: 0 0 16px; width: 16px; height: 18px; margin-top: 2px; color: #008bcb; }
.calendar-event-button, .calendar-load-button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 45px; padding: 13px 18px; border: 1px solid #093a68; border-radius: 4px; background: #093a68; color: #fff; font: 700 10px/1.6 var(--font); cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.calendar-event-button { margin-top: auto; }
.calendar-event-button:hover { background: #008bcb; border-color: #008bcb; }
.calendar-event-button span, .calendar-load-button span { font-size: 18px; line-height: 1; }
.calendar-more { margin-top: 36px; text-align: center; }
.calendar-load-button { min-height: 49px; padding-inline: 25px; background: #fff; color: #093a68; }
.calendar-load-button:hover { background: #ffcf22; border-color: #ffcf22; }
.calendar-card[hidden], .calendar-load-button[hidden] { display: none; }
.calendar-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calendar-card.is-newly-visible { animation: calendar-card-enter 450ms ease-out both; }
@keyframes calendar-card-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
  .events-banner h1 { font-size: 49px; }
}
@media (max-width: 600px) {
  .events-banner { min-height: 270px; padding-block: 43px; background-position: center, 58% center; }
  .events-banner h1 { font-size: 40px; }
  .events-banner p { margin-top: 19px; font-size: 13px; }
  .events-calendar { padding-block: 42px 50px; }
  .calendar-heading h2 { font-size: 31px; }
  .calendar-demo-notice { margin-block: 20px 25px; font-size: 10px; }
  .calendar-grid { grid-template-columns: 1fr; gap: 24px; }
  .calendar-card-body { padding: 23px; }
  .calendar-card h3 { font-size: 25px; }
  .calendar-load-button { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .calendar-card.is-newly-visible { animation: none; }
  .calendar-card:hover, .calendar-card:hover .calendar-card-image img { transform: none; }
}

/* RESULTADOS — compact list, independent from the home results carousel. */
.results-page { color: #093a68; }
.results-page h1, .results-page h2, .results-page h3 { font-family: 'Space Grotesk', var(--font); font-weight: 700; }
.results-banner { display: flex; align-items: center; min-height: 300px; padding-block: 57px; background: linear-gradient(95deg, rgb(9 58 104 / 95%) 0%, rgb(9 58 104 / 88%) 44%, rgb(9 58 104 / 45%) 100%), url('img/nosotros-meta.jpg') center 35% / cover; color: #fff; }
.results-banner h1 { max-width: 950px; margin: 0; font-size: clamp(38px, 4.3vw, 60px); line-height: 1.08; letter-spacing: -.05em; }
.results-banner h1 span { color: #ffcf22; }
.results-banner p { max-width: 650px; margin: 22px 0 0; color: #edf3f7; font-size: 14px; line-height: 1.85; }
.results-content { padding-block: 54px 66px; background: #fff; }
.results-search-heading h2 { margin: 0; font-size: clamp(29px, 2.8vw, 38px); line-height: 1.18; letter-spacing: -.04em; }
.results-search-heading p { margin: 14px 0 0; color: #657687; font-size: 13px; line-height: 1.8; }
.results-filters { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(130px, .9fr) minmax(170px, 1.2fr) minmax(160px, 1.1fr) auto; align-items: end; gap: 13px; margin-top: 25px; }
.results-filter-field { min-width: 0; }
.results-filter-field label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 700; line-height: 1.6; }
.results-filter-field input, .results-filter-field select { display: block; width: 100%; min-width: 0; min-height: 45px; padding: 11px 12px; border: 1px solid #dce3e9; border-radius: 4px; background: #fff; color: #093a68; font: 400 11px/1.6 var(--font); }
.results-filter-field input::placeholder { color: #657687; opacity: 1; }
.results-search-input { position: relative; }
.results-search-input svg { position: absolute; left: 12px; top: 13px; width: 19px; height: 19px; color: #008bcb; pointer-events: none; }
.results-search-input input { padding-left: 39px; }
.results-page input:focus-visible, .results-page select:focus-visible { outline: 2px solid #008bcb; outline-offset: 2px; border-color: #008bcb; }
.results-search-button, .result-item-action, .results-load-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 43px; padding: 11px 15px; border: 1px solid #093a68; border-radius: 4px; background: #093a68; color: #fff; font: 700 10px/1.6 var(--font); cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.results-search-button { min-height: 45px; }
.results-search-button:hover { background: #008bcb; border-color: #008bcb; }
.results-search-button span, .result-item-action span, .results-load-button span { font-size: 17px; line-height: 1; }
.results-clear { grid-column: 1 / -1; justify-self: end; border: 0; padding: 4px 0; background: transparent; color: #008bcb; font-size: 10px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.results-search-feedback:not([hidden]) { margin: 10px 0; color: #093a68; font-size: 12px; line-height: 1.8; }
.results-demo-notice { max-width: 950px; margin: 20px 0 25px; padding-left: 12px; border-left: 2px solid #ffcf22; color: #657687; font-size: 10px; line-height: 1.85; }
.results-list { border-top: 1px solid #e3e9ee; }
.result-item { display: grid; grid-template-columns: 120px 65px minmax(0, 1fr) auto; gap: 25px; align-items: center; min-height: 120px; padding: 15px 18px 15px 0; border-bottom: 1px solid #e3e9ee; background: #fff; transition: background-color 180ms ease; }
.result-item:hover { background: #f7f8fa; }
.result-item-image { display: block; width: 120px; height: 90px; object-fit: cover; border-radius: 4px; }
.result-item-date { display: flex; flex-direction: column; align-items: center; color: #093a68; }
.result-item-date strong { font: 700 30px/1 'Space Grotesk', var(--font); letter-spacing: -.04em; }
.result-item-date span { margin-top: 5px; color: #008bcb; font-size: 10px; font-weight: 800; line-height: 1.4; letter-spacing: .6px; }
.result-item-date small { margin-top: 2px; color: #657687; font-size: 9px; line-height: 1.4; }
.result-item-info { min-width: 0; }
.result-item h3 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.result-item-info p { margin: 7px 0; color: #657687; font-size: 11px; line-height: 1.6; }
.result-discipline { display: inline-block; padding: 3px 7px; border-radius: 2px; background: #f0f5f8; color: #49667d; font-size: 9px; line-height: 1.4; }
.result-item-action { min-height: 40px; background: #fff; color: #093a68; }
.result-item-action:hover { background: #093a68; color: #fff; }
.results-load-wrapper { margin-top: 32px; text-align: center; }
.results-load-button { min-height: 49px; padding-inline: 23px; background: #fff; color: #093a68; }
.results-load-button:hover { background: #ffcf22; border-color: #ffcf22; }
.result-item[hidden], .results-load-button[hidden] { display: none; }
.results-load-status { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.result-item.is-newly-visible { animation: results-row-enter 350ms ease-out both; }
@keyframes results-row-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .results-filters { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); }
  .results-search-field { grid-column: span 2; }
  .results-search-button { width: 100%; }
  .result-item { grid-template-columns: 105px 55px minmax(0, 1fr) auto; gap: 18px; }
  .result-item-image { width: 105px; height: 79px; }
  .result-item h3 { font-size: 18px; }
  .result-item-action { gap: 12px; font-size: 9px; padding-inline: 12px; }
}
@media (max-width: 700px) {
  .result-item { grid-template-columns: 88px 47px minmax(0, 1fr); gap: 11px 15px; padding: 17px 0; }
  .result-item-image { width: 88px; height: 66px; align-self: start; }
  .result-item-date { align-self: start; }
  .result-item-info { grid-row: auto; }
  .result-item-action { grid-column: 3; justify-self: start; min-height: 35px; font-size: 8px; padding: 9px 10px; }
  .result-item h3 { font-size: 18px; }
  .result-item-date strong { font-size: 27px; }
}
@media (max-width: 550px) {
  .results-banner { min-height: 260px; padding-block: 40px; background-position: center, 60% 30%; }
  .results-banner h1 { font-size: 39px; }
  .results-banner p { margin-top: 19px; font-size: 13px; }
  .results-content { padding-block: 39px 48px; }
  .results-search-heading h2 { font-size: 29px; }
  .results-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
  .results-search-field { grid-column: 1 / -1; }
  .results-search-button { grid-column: 1 / -1; }
  .results-clear { padding-block: 6px; }
  .result-item { grid-template-columns: 76px 40px minmax(0, 1fr); gap: 9px 12px; }
  .result-item-image { width: 76px; height: 57px; grid-row: 1; }
  .result-item-info { grid-row: auto; }
  .result-item-action { grid-column: 3; min-height: 35px; justify-self: start; font-size: 8px; gap: 12px; padding-inline: 9px; }
  .result-item h3 { font-size: 17px; }
  .result-item-info p { font-size: 10px; }
  .result-discipline { font-size: 8px; }
  .results-load-button { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .result-item.is-newly-visible { animation: none; }
}

/* Shared navigation state and responsive footer. Header dimensions stay unchanged. */
.nav-list a[aria-current="page"] { color: #008bcb; position: relative; }
.nav-list a[aria-current="page"]::after { content: ''; position: absolute; left: 0; bottom: 5px; width: 19px; height: 2px; background: #ffcf22; }
@media (max-width: 1200px) {
  .main-navigation { max-height: calc(100dvh - 85px); overflow-y: auto; }
}
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 50px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (max-width: 600px) {
  .site-footer { padding-block: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 25px; }
  .site-footer h2 { margin-bottom: 13px; }
  .footer-brand p { max-width: 340px; }
  .footer-explore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 20px; }
  .footer-explore h2 { grid-column: 1 / -1; }
  .footer-contact ul { gap: 10px; }
  .footer-social > p { margin-bottom: 16px; }
  .footer-legal { gap: 8px 18px; }
}
.legal-draft { padding-block: 70px 85px; min-height: 350px; color: #093a68; }
.legal-draft-label { margin: 0 0 20px; color: #657687; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.legal-draft h1 { margin: 0 0 22px; color: #093a68; font: 700 clamp(33px, 4vw, 52px)/1.1 'Space Grotesk', var(--font); letter-spacing: -.04em; }
.legal-draft > .container > p:last-child { font-size: 14px; line-height: 1.8; color: #657687; }

/* ==========================================================================
   HOME — CAPA DE DISEÑO: PROFUNDIDAD, MOVIMIENTO Y TRATAMIENTO DE IMAGEN
   Capa adicional y aislada: no altera la estructura ni el layout aprobados.
   ========================================================================== */

/* --- Hero: tratamiento fotográfico, grano y parallax --------------------- */
.hero-photo { filter: saturate(.92) contrast(1.04); }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grano'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23grano)' opacity='.55'/%3E%3C/svg%3E");
}
@media (min-width: 1001px) {
  .hero-photo { inset: -60px 0; translate: 0 var(--hero-shift, 0px); will-change: translate; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-speed-lines span { animation: hero-line-drift 9s ease-in-out infinite alternate; }
  .hero-speed-lines span:nth-child(2) { animation-duration: 12s; animation-delay: -3s; }
  .hero-speed-lines span:nth-child(3) { animation-duration: 15s; animation-delay: -6s; }
}
@keyframes hero-line-drift {
  from { translate: 0 -22px; }
  to { translate: 0 22px; }
}

/* --- Aparición escalonada al hacer scroll -------------------------------- */
.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms), transform 760ms cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms);
}
.reveal-ready.is-visible { opacity: 1; transform: none; }

/* --- Numeralia: la línea amarilla crece al entrar ------------------------ */
.numeralia.motion-ready .numeralia-number::after { width: 0; transition: width 900ms cubic-bezier(.2, .65, .3, 1) 140ms; }
.numeralia.motion-ready.is-visible .numeralia-number::after { width: 23px; }

/* --- Servicios: elevación y textura -------------------------------------- */
.timing-card { position: relative; overflow: hidden; }
.timing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(125deg, rgb(255 255 255 / 5%) 0 1px, transparent 1px 30px);
}
.timing-card, .service-card {
  border-radius: 10px;
  transition: transform 300ms cubic-bezier(.2, .65, .3, 1), box-shadow 300ms ease, border-color 300ms ease, background-color 300ms ease;
}
.timing-card:hover { transform: translateY(-4px); box-shadow: 0 22px 42px rgb(9 58 104 / 20%); }
.service-card:hover { transform: translateY(-4px); border-color: #cfdde7; box-shadow: 0 18px 34px rgb(9 58 104 / 10%); background: #fff; }

/* --- Banda MYLAPS: halo, sombra y flotación ------------------------------ */
.mylaps-band { overflow: hidden; border-radius: 10px; }
.mylaps-band::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(58% 130% at 88% 50%, rgb(255 207 34 / 20%), transparent 72%);
}
.mylaps-logo { position: relative; z-index: 1; }
.mylaps-logo img { filter: drop-shadow(0 18px 30px rgb(9 58 104 / 18%)); transition: transform 500ms cubic-bezier(.2, .65, .3, 1); }
.mylaps-band:hover .mylaps-logo img { transform: scale(1.05); }
@media (prefers-reduced-motion: no-preference) {
  .mylaps-logo img { animation: mylaps-float 7s ease-in-out infinite; }
}
@keyframes mylaps-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* --- Carrusel de eventos: tarjetas con foto ------------------------------ */
.home-events .event-card, .home-results .result-card {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgb(9 58 104 / 4%);
  transition: transform 320ms cubic-bezier(.2, .65, .3, 1), box-shadow 320ms ease, border-color 320ms ease;
}
.home-events .event-card:hover, .home-events .event-card:focus-within,
.home-results .result-card:hover, .home-results .result-card:focus-within {
  transform: translateY(-6px);
  border-color: #c6d7e2;
  box-shadow: 0 22px 45px rgb(9 58 104 / 14%);
}
.event-poster, .result-poster { position: relative; isolation: isolate; overflow: hidden; }
.poster-photo { background: #0d2f52; }
.poster-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--poster) center / cover no-repeat;
  transition: transform 900ms cubic-bezier(.2, .65, .3, 1);
}
.poster-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(9 58 104 / 10%) 0%, rgb(9 58 104 / 18%) 45%, rgb(9 58 104 / 72%) 100%);
}
.event-card:hover .poster-photo::before, .event-card:focus-within .poster-photo::before,
.result-card:hover .poster-photo::before, .result-card:focus-within .poster-photo::before { transform: scale(1.07); }
.event-poster.poster-photo {
  aspect-ratio: 1.5;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  border-bottom: 0;
  text-align: left;
}
.event-poster.poster-photo > span { display: none; }
.result-poster.poster-photo { aspect-ratio: 2; place-items: start; padding: 14px; }
.event-poster.poster-photo small,
.result-poster.poster-photo > span {
  position: relative;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 999px;
  background: rgb(9 58 104 / 42%);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.45;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* Fecha tipo sticker montada sobre la fotografía. */
.home-events .event-details { position: relative; }
.home-events .event-details time {
  position: relative;
  z-index: 2;
  margin-top: -50px;
  padding: 9px 14px 9px 11px;
  border-left-width: 4px;
  border-radius: 0 10px 10px 0;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 12px 26px rgb(9 58 104 / 16%);
}

/* --- Fondos y microinteracciones ----------------------------------------- */
.home-results { background: linear-gradient(180deg, #fff 0, #f7f8fa 84px, #f7f8fa calc(100% - 84px), #fff 100%); }
.home-catalog-link span { transition: transform 180ms ease; }
.home-catalog-link:hover span { transform: translateX(4px); }
.result-details a span { transition: transform 180ms ease; }
.result-details a:hover span { transform: translateX(3px); }

/* --- Cotización: panel con textura fotográfica --------------------------- */
.quote-layout { border-radius: 14px; }
.quote-copy { position: relative; overflow: hidden; isolation: isolate; }
.quote-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(158deg, rgb(9 58 104 / 92%) 0%, rgb(9 58 104 / 96%) 58%, rgb(9 58 104 / 99%) 100%), url('img/nosotros-ciclismo.jpg') center 40% / cover;
}

/* Fotografías de las tarjetas (demostración con material existente). */
.poster-aqua { --poster: url('img/eventos-natacion.jpg'); }
.poster-pavo { --poster: url('img/nosotros-meta.jpg'); }
.poster-ixtapa { --poster: url('img/resultados-natacion.jpg'); }
.poster-alianza9 { --poster: url('img/llegada-meta.jpg'); }
.poster-alianza7 { --poster: url('img/nosotros-running.jpg'); }
.poster-carol { --poster: url('img/eventos-trail.jpg'); }
.poster-upski { --poster: url('img/resultados-mtb.jpg'); }
.poster-cruzroja { --poster: url('img/resultados-running.jpg'); }

@media (prefers-reduced-motion: reduce) {
  .event-card:hover, .event-card:focus-within,
  .result-card:hover, .result-card:focus-within,
  .timing-card:hover, .service-card:hover { transform: none; }
  .event-card:hover .poster-photo::before, .event-card:focus-within .poster-photo::before,
  .result-card:hover .poster-photo::before, .result-card:focus-within .poster-photo::before { transform: none; }
  .reveal-ready { opacity: 1; transform: none; }
}

/* ==========================================================================
   HOME — AJUSTES DE MOVIMIENTO Y PROPUESTAS DE TARJETA
   ========================================================================== */

/* --- Desplazamiento suave para las anclas del menú ----------------------- */
html { scroll-behavior: smooth; }
.solutions, .mylaps-band, .quote-section { scroll-margin-top: 28px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --- Hero: la fotografía respira en bucle -------------------------------- */
.hero-photo { animation: hero-photo-loop 26s ease-in-out infinite; }
@keyframes hero-photo-loop {
  0%, 100% { transform: scale(1.02) translate3d(0, 0, 0); }
  50% { transform: scale(1.07) translate3d(-1.2%, -.8%, 0); }
}

/* --- Próximos eventos · Propuesta A: editorial (foto completa + sticker) - */
/* (la tarjeta base ya representa esta propuesta) */

/* --- Próximos eventos · Propuesta B: foto incrustada en marco blanco ----- */
.event-card-framed { position: relative; padding: 12px; background: #fff; }
.event-card-framed .event-poster.poster-photo { aspect-ratio: 1.55; border-radius: 10px; }
.event-card-framed .event-poster.poster-photo small { display: none; }
.event-card-framed .event-details { position: static; padding: 18px 8px 8px; }
.event-card-framed .event-details time {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 8px 11px;
  border: 0;
  border-radius: 10px;
  background: #ffcf22;
  box-shadow: 0 12px 26px rgb(9 58 104 / 24%);
  text-align: center;
  transition: transform 320ms cubic-bezier(.2, .65, .3, 1);
}
.event-card-framed .event-details time strong { font-size: 26px; line-height: 1; color: #093a68; }
.event-card-framed .event-details time span { font-size: 8px; line-height: 1.5; color: #093a68; }
.event-card-framed:hover .event-details time { transform: rotate(-4deg) scale(1.04); }

/* --- Próximos eventos · Propuesta C: foto a sangre con texto encima ------ */
.event-card-overlay { position: relative; min-height: 470px; border: 0; justify-content: flex-end; }
.event-card-overlay .event-poster { position: absolute; inset: 0; aspect-ratio: auto; }
.event-card-overlay .event-poster.poster-photo { padding: 18px; }
.event-card-overlay .event-poster.poster-photo small { display: none; }
.event-card-overlay .poster-photo::after { background: linear-gradient(180deg, rgb(9 58 104 / 55%) 0%, rgb(9 58 104 / 8%) 32%, rgb(9 58 104 / 45%) 60%, rgb(9 58 104 / 94%) 100%); }
.event-card-overlay .event-details { position: relative; z-index: 2; flex: 0 0 auto; margin-top: auto; padding: 24px; color: #fff; }
.event-card-overlay .event-details time {
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 32%);
  border-left: 3px solid #ffcf22;
  border-radius: 6px;
  background: rgb(255 255 255 / 12%);
  box-shadow: none;
  color: #fff;
  backdrop-filter: blur(6px);
}
.event-card-overlay .event-details time strong { color: #fff; }
.event-card-overlay .event-details time span { color: #ffcf22; }
.event-card-overlay .event-details h3 { color: #fff; }
.event-card-overlay .event-details p { color: #dbe6ee; }
.event-card-overlay .event-details .home-button { border-color: #ffcf22; background: #ffcf22; color: #093a68; }
.event-card-overlay .event-details .home-button:hover { border-color: #fff; background: #fff; }

/* --- Resultados · Propuesta A: editorial (foto completa + píldora) ------- */
/* (la tarjeta base ya representa esta propuesta) */

/* --- Resultados · Propuesta B: impresión con marco y leve inclinación ---- */
.result-card-framed { position: relative; padding: 12px 12px 6px; }
.result-card-framed .result-poster.poster-photo {
  aspect-ratio: 1.85;
  border: 6px solid #fff;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgb(9 58 104 / 16%);
  transform: rotate(-1.2deg);
  transition: transform 420ms cubic-bezier(.2, .65, .3, 1);
}
.result-card-framed:hover .result-poster.poster-photo,
.result-card-framed:focus-within .result-poster.poster-photo { transform: rotate(0deg); }
.result-card-framed .result-poster.poster-photo > span { display: none; }
.result-card-framed .result-details { padding: 16px 10px 4px; }
.result-card-framed .result-details h3 { font-size: 17px; }
.result-card-framed .result-details a { color: #093a68; }

/* --- Resultados · Propuesta C: foto a sangre con título encima ----------- */
.result-card-overlay { position: relative; min-height: 290px; border: 0; justify-content: flex-end; }
.result-card-overlay .result-poster { position: absolute; inset: 0; aspect-ratio: auto; }
.result-card-overlay .result-poster.poster-photo > span { display: none; }
.result-card-overlay .poster-photo::after { background: linear-gradient(180deg, rgb(9 58 104 / 18%) 0%, rgb(9 58 104 / 45%) 55%, rgb(9 58 104 / 92%) 100%); }
.result-card-overlay .result-details { position: relative; z-index: 2; flex: 0 0 auto; padding: 20px; color: #fff; }
.result-card-overlay .result-details h3 { color: #fff; }
.result-card-overlay .result-details a { color: #ffcf22; }

/* --- Cotización: nueva imagen y efecto de diagonal animada --------------- */
.quote-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('img/nosotros-meta.jpg') center 40% / cover no-repeat;
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 32% 100%);
  transform-origin: 70% 50%;
}
.quote-copy::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, #093a68 0%, #093a68 38%, rgb(9 58 104 / 90%) 52%, rgb(9 58 104 / 62%) 72%, rgb(9 58 104 / 30%) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .quote-copy::before { animation: quote-photo-drift 24s ease-in-out infinite alternate; }
}
@keyframes quote-photo-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
  .event-card-framed:hover .event-details time { transform: none; }
  .result-card-framed .result-poster.poster-photo,
  .result-card-framed:hover .result-poster.poster-photo,
  .result-card-framed:focus-within .result-poster.poster-photo { transform: none; }
  .quote-copy::before { animation: none; }
}
