@font-face {
  font-family: "Glacial";
  src: url("archivos/Fonts/GlacialIndifference-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Glacial";
  src: url("archivos/Fonts/GlacialIndifference-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Garamond Premier";
  src: url("archivos/Fonts/Garamond Premier Pro Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Garamond Premier";
  src: url("archivos/Fonts/GaramondPremrPro-Bd.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --forest: #1c6748;
  --forest-deep: #104c35;
  --court: #a84f42;
  --paper: #f2e1cf;
  --ink: #153f2c;
  --mist: #dfe7f6;
  --white: #fff8ef;
  --line: rgba(242, 225, 207, 0.64);
  --sans: "Glacial", Arial, sans-serif;
  --serif: "Garamond Premier", Georgia, serif;
  --page-gutter: 5%;
}

* { box-sizing: border-box; }
html { font-size: 120%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #202020;
  font-family: var(--sans);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.site-frame { position: relative; width: 100%; min-height: 100vh; margin: 0 auto; overflow: hidden; background: var(--paper); }
.container { width: 90%; margin: 0 auto; }
.section { padding: clamp(80px, 9vw, 150px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; top: 12px; left: 12px; padding: 10px 14px; background: var(--paper); color: var(--ink); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 14px; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .03em; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px var(--page-gutter);
  color: var(--white);
  transition: background .25s, padding .25s, box-shadow .25s;
}
.site-header.is-sticky { position: fixed; right: 0; left: 0; width: auto; padding-block: 16px; padding-inline: var(--page-gutter); background: rgba(21, 72, 50, .96); box-shadow: 0 4px 22px rgba(0, 0, 0, .15); }
.brand { display: inline-block; line-height: 0; }
.brand-logo { display: block; width: 104px; height: auto; }
.brand-logo--footer { width: 112px; }
.main-nav { display: flex; width: 60%; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--serif); font-size: 1.1rem; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(780px, 100svh); display: flex; align-items: flex-end; padding: 155px 0 110px; color: var(--white); background: #9f4f42 url("archivos/Links/home.png") center center / auto 100% no-repeat; isolation: isolate; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(46, 18, 13, .26), transparent 62%); }
.hero-copy { width: 90%; transform: translateY(-50px); }
.hero h1 { margin: 0; max-width: 670px; font-family: var(--sans); font-size: clamp(1.604rem, 3.208vw, 3.208rem); font-weight: 700; line-height: .97; letter-spacing: -.055em; text-transform: uppercase; }
.hero-lead { margin: 18px 0 28px; font-family: var(--sans); font-size: clamp(1.215rem, 2.43vw, 2.431rem); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; text-transform: uppercase; }
.cta-button { display: inline-flex; align-items: center; gap: 12px; padding: 9px 13px 8px 18px; background: var(--mist); color: var(--forest); border-radius: 99px; font-family: var(--serif); font-size: clamp(1.1rem, 1.55vw, 1.48rem); transition: transform .25s, background .25s; }
.cta-button:hover, .cta-button:focus-visible { transform: translateY(-3px); background: var(--white); }
.cta-button img { width: 28px; height: 21px; object-fit: contain; }
.hero-scroll { position: absolute; right: var(--page-gutter); bottom: 45px; display: flex; gap: 10px; align-items: center; font-family: var(--serif); font-size: .92rem; opacity: .88; }
.hero-scroll span { font-family: var(--sans); font-size: 1.35rem; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.mission-band { padding: clamp(30px, 2.5vw, 40px) 0; background: var(--forest); color: var(--paper); }
.mission-band__inner { padding: clamp(31px, 4.8vw, 56px) clamp(26px, 4vw, 47px); border: 1px solid var(--line); border-radius: 28px; text-align: center; font-family: var(--serif); font-size: clamp(1.45rem, 2.15vw, 2.25rem); line-height: 1.06; }

.investment { background: var(--paper); }
.investment-grid { display: grid; grid-template-columns: .96fr 1fr; align-items: stretch; gap: clamp(45px, 8vw, 130px); }
.court-photo { position: relative; min-height: 430px; isolation: isolate; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.court-photo::before { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: url("archivos/Links/young-man-play-tennis-outdoor.jpg") center / cover; transform: scaleX(-1); }
.investment-seal { position: absolute; z-index: 1; bottom: -38px; left: -32px; width: 130px; height: auto; }
.investment-copy { display: flex; min-height: 430px; flex-direction: column; justify-content: space-between; font-family: var(--serif); color: #120d0a; font-size: clamp(1.38rem, 1.88vw, 1.9rem); line-height: 1.04; }
.investment-copy p { margin: 0 0 24px; }
.investment-copy small { display: block; margin-top: 30px; font-family: var(--serif); font-size: .82rem; }
.accordion { margin-top: clamp(60px, 9vw, 125px); display: grid; gap: 10px; }
.accordion-item { border: 1px solid var(--forest); border-radius: 25px; overflow: hidden; }
.accordion h3 { margin: 0; }
.accordion button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 23px 13px; border: 0; color: var(--forest); background: transparent; text-align: left; text-transform: uppercase; font-size: 1.38rem; font-weight: 700; }
.accordion-icon { flex: 0 0 29px; width: 29px; height: 29px; object-fit: contain; }
.accordion-panel { max-width: 850px; overflow: hidden; padding: 0 23px 22px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; transition: height .45s cubic-bezier(.4, 0, .2, 1), padding-bottom .45s cubic-bezier(.4, 0, .2, 1); }
.accordion-panel p { margin: 0; }
.accordion-panel p + p { margin-top: 1rem; }
.accordion-panel ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.accordion-panel li + li { margin-top: .18rem; }

.opportunity { position: relative; padding: clamp(80px, 10vw, 165px) 0; overflow: hidden; color: var(--forest); background: var(--forest); }
.chairs-art, .opportunity-net { position: absolute; z-index: 0; pointer-events: none; }
.chairs-art { top: 12px; left: -15px; width: min(27vw, 390px); opacity: .9; }
.opportunity-net { right: -92px; bottom: -16px; width: min(53vw, 760px); opacity: .85; }
.opportunity-card { position: relative; z-index: 1; display: grid; grid-template-columns: 215px 1fr; gap: 20px; align-items: center; padding: 38px 55px 31px; background: var(--paper); border-radius: 45px; }
.argentina-art { width: min(100%, 190px); height: auto; justify-self: center; }
.opportunity-intro { margin: 0; padding-bottom: 25px; border-bottom: 1px solid var(--forest); text-align: center; text-wrap: balance; font-family: var(--serif); font-size: clamp(1.534rem, 2.34vw, 2.236rem); line-height: 1.05; }
.stats { display: grid; grid-template-columns: .8fr .8fr 1.65fr; gap: 24px; padding-top: 25px; align-items: end; }
.stats div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.stats strong { font-size: clamp(3.3rem, 5vw, 5.6rem); line-height: .7; letter-spacing: -.08em; }
.stats span { font-size: clamp(.84rem, 1vw, 1.08rem); font-weight: 700; line-height: .94; text-transform: uppercase; }
.stats div:last-child { align-items: flex-start; }
.mini-ball { flex: 0 0 35px; width: 35px; height: 35px; object-fit: contain; }
.talent-card { position: relative; z-index: 1; width: 100%; margin: 45px 0 0; padding: 60px clamp(28px, 7vw, 105px); border-radius: 43px; background: var(--mist); text-align: center; }
.talent-card h2 { margin: 0 0 5px; font-size: clamp(1.35rem, 2vw, 2rem); text-transform: uppercase; }
.talent-card p { max-width: 920px; margin: 0 auto; font-family: var(--serif); font-size: clamp(1.18rem, 1.65vw, 1.6rem); line-height: 1.06; }

.team { background: var(--paper); }
.section-heading { position: relative; text-align: center; }
.team-top-art { position: absolute; top: -10px; left: calc(0px - var(--page-gutter)); width: min(19vw, 300px); height: auto; }
.section-heading h2 { margin: 0; color: var(--forest); font-size: clamp(2rem, 3.7vw, 3.7rem); text-transform: uppercase; letter-spacing: -.04em; }
.section-heading p:not(.scribble-player):not(.racket-art) { margin: 2px 0 0; font-family: var(--serif); color: #160e0a; font-size: 1.6rem; }
.team-carousel { width: calc(111.111% - 36px); margin-top: 70px; margin-left: calc(-5.555% + 18px); }
.team-viewport { overflow: hidden; }
.team-viewport::-webkit-scrollbar { display: none; }
.team-track { display: flex; gap: 18px; will-change: transform; }
.team-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.team-carousel-control { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--forest); border-radius: 50%; color: var(--paper); background: var(--forest); font-family: var(--sans); font-size: 1.35rem; line-height: 1; transition: transform .2s, background .2s, color .2s; }
.team-carousel-control:hover, .team-carousel-control:focus-visible { color: var(--forest); background: transparent; transform: translateY(-2px); }
.team-carousel-control:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.team-dots { display: flex; align-items: center; gap: 7px; }
.team-carousel-dot { display: block; width: 7px; height: 7px; border: 1px solid var(--forest); border-radius: 50%; opacity: .48; transition: transform .2s, background .2s, opacity .2s; }
.team-carousel-dot.is-active { background: var(--forest); opacity: 1; transform: scale(1.25); }
.team-card { position: relative; flex: 0 0 calc((100% - 54px) / 4); aspect-ratio: 1 / 1.05; padding: 0; color: var(--paper); border: 0; outline-offset: 5px; background: transparent; cursor: pointer; perspective: 1800px; -webkit-perspective: 1800px; }
.team-card__inner { position: relative; width: 100%; height: 100%; transform: rotateY(0deg); transform-origin: center center; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transition: transform .55s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.team-card:hover { z-index: 2; }
.team-card:hover .team-card__inner, .team-card:focus-visible .team-card__inner, .team-card.is-flipped .team-card__inner { transform: rotateY(180deg); }
.team-card__face { position: absolute; inset: 0; overflow: hidden; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.team-card__front { background: url("imgtenis/fondo_perfilespng.png") center / 100% 100% no-repeat; transform: rotateY(0deg); }
.team-card__back { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(14px, 1.25vw, 24px); color: var(--paper); background: url("imgtenis/fondoreserso_perfil.png") center / 100% 100% no-repeat; text-align: left; transform: rotateY(180deg); }
.team-card__portrait { position: absolute; z-index: 1; bottom: 10px; left: 50%; width: auto; max-width: 106%; height: 93.5%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); }
.team-card--one .team-card__portrait { height: 101.2%; bottom: 7px; }.team-card--two .team-card__portrait { height: 93.5%; }.team-card--three .team-card__portrait { height: 94.6%; }.team-card--four .team-card__portrait { height: 91.3%; }
.team-card__front h3 { position: absolute; z-index: 2; right: 13px; bottom: 14px; left: 13px; margin: 0; font-size: clamp(.82rem, 1.03vw, 1.06rem); text-transform: uppercase; }
.team-card__back h3 { margin: 0 0 clamp(9px, 1vw, 16px); font-size: clamp(.74rem, 1.02vw, 1.08rem); line-height: .98; text-transform: uppercase; }
.team-card__back p { margin: 0; font-family: var(--serif); font-size: clamp(.66rem, .82vw, .9rem); line-height: 1.12; text-wrap: pretty; }

.players { position: relative; padding-bottom: 0; overflow: hidden; background: var(--paper); }
.racket-art { position: absolute; top: -43px; left: calc(0px - var(--page-gutter)); width: clamp(120px, 14vw, 210px); height: auto; }
.coming-strip { position: absolute; z-index: 5; top: clamp(78px, 4vw, 82px); left: 50%; display: block; width: 100vw; height: auto; margin: 0; pointer-events: none; transform: translateX(-50%); }
.players-photo { position: relative; z-index: 1; height: 325px; margin-top: 100px; overflow: hidden; background: var(--paper); }
.feet-art { position: absolute; right: 0; bottom: 0; width: min(21vw, 295px); height: auto; }

.contact { position: relative; overflow: hidden; padding: clamp(85px, 10vw, 150px) 0; color: var(--paper); background: var(--forest); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .92fr 1fr; gap: clamp(44px, 10vw, 160px); align-items: start; }
.contact h2 { max-width: 550px; margin: 0 0 35px; font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: .96; text-transform: uppercase; }
.contact-copy > p:not(.eyebrow) { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.65vw, 1.6rem); line-height: 1.1; }
.contact-net { position: absolute; z-index: 0; bottom: -2px; left: 0; width: min(21vw, 315px); height: auto; pointer-events: none; }
.contact-form { display: grid; gap: 10px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: 10px 16px 9px; color: var(--paper); border: 1px solid var(--paper); border-radius: 20px; outline: none; background: transparent; font-family: var(--serif); font-size: 1.2rem; transition: box-shadow .2s, background .2s; }
.contact-form textarea { min-height: 175px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--paper); opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { background: rgba(255,255,255,.09); box-shadow: 0 0 0 3px rgba(242,225,207,.2); }
.form-submit { justify-self: start; margin-top: 10px; padding: 10px 18px; border: 1px solid var(--paper); border-radius: 99px; color: var(--forest); background: var(--paper); font-weight: 700; text-transform: uppercase; transition: transform .2s, background .2s; }
.form-submit:hover, .form-submit:focus-visible { transform: translateY(-2px); color: var(--paper); background: transparent; }
.form-status { min-height: 1.3em; margin: 0; font-family: var(--serif); font-size: 1rem; }

.site-footer { padding: 27px 0; background: var(--paper); color: var(--forest); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand--footer { flex: 0 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 58px); align-items: center; font-family: var(--serif); font-size: 1.1rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; }
.footer-icon { width: 22px; height: 22px; object-fit: contain; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1081px) {
  /* Keep the content at its original desktop width while section backgrounds span the viewport. */
  .site-frame { width: 100%; }
  .container, .hero-copy { width: 72%; }
  .site-header, .site-header.is-sticky { right: 0; left: 0; padding-inline: 14%; }
  .mission-band__inner { padding-inline: clamp(120px, 10vw, 210px); }
}

@media (min-width: 821px) and (max-width: 1200px) {
  .team-card { flex-basis: calc((100% - 36px) / 3); }
}

@media (max-width: 820px) {
  .site-header { padding: 22px var(--page-gutter); }
  .site-header.is-sticky { padding-block: 14px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 6px; width: 41px; padding: 9px 0 9px 11px; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; width: 28px; height: 1px; background: var(--paper); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; width: auto; flex-direction: column; justify-content: center; gap: 30px; padding: 80px 30px; color: var(--paper); background: var(--forest-deep); font-size: 1.8rem; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .hero { min-height: 720px; padding-bottom: 82px; background-position: 64% center; }
  .hero h1 { font-size: clamp(1.342rem, 7vw, 2.392rem); }
  .hero-lead { font-size: clamp(1.016rem, 5.303vw, 1.812rem); }
  .hero-scroll { display: none; }
  .desktop-only { display: none; }
  .investment-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .court-photo { order: 2; min-height: 360px; }
  .investment-copy { min-height: 0; gap: 24px; }
  .investment-copy { font-size: 1.4rem; }
  .opportunity-card { grid-template-columns: 1fr; padding: 35px 26px 30px; border-radius: 30px; }
  .argentina-art { display: none; }
  .chairs-art { width: 300px; left: -145px; }
  .opportunity-net { width: 540px; right: -290px; }
  .stats { gap: 16px; grid-template-columns: .75fr .78fr 1.4fr; }
  .stats div { gap: 6px; }
  .stats span { font-size: .72rem; }
  .team-carousel { width: calc(111.111% - 24px); margin-top: 60px; margin-left: calc(-5.555% + 12px); }
  .team-track { gap: 12px; }
  .team-card { flex-basis: calc((100% - 12px) / 2); }
  .team-card__face { border-radius: 16px; }
  .team-card__back { padding: 18px; }
  .team-card__back p { font-size: .881rem; }
  .team-top-art { display: none; }
  .coming-strip { top: 98px; }
  .players-photo { height: 230px; margin-top: 70px; }
  .contact-net { width: 185px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 450px) {
  .hero { min-height: 660px; background-position: 67% center; }
  .hero h1 { font-size: 1.429rem; }
  .hero-lead { font-size: 1.083rem; }
  .mission-band__inner { padding: 30px 18px; border-radius: 20px; font-size: 1.38rem; }
  .court-photo { min-height: 290px; }
  .accordion button { padding-inline: 16px; font-size: 1.12rem; }
  .opportunity { padding-block: 70px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:last-child { grid-column: span 2; margin-top: 7px; }
  .team-card { flex-basis: 100%; }
  .team-card__portrait { height: 90%; }
  .team-card__front h3 { font-size: .92rem; }
  .team-card__back { padding: 22px; }
  .team-card__back h3 { font-size: 1rem; }
  .team-card__back p { font-size: .944rem; }
  .contact h2 { font-size: 2.2rem; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .team-card__inner { transition: transform .55s cubic-bezier(.4, 0, .2, 1) !important; }
  .team-track { transition-duration: .6s !important; }
}
