/* Tennis Royal Iași — verde de club, zgură, tipografie clasică. Mobile-first. */
:root {
  --green-950: #0B1F19;
  --green-900: #0F2A21;
  --green-700: #1F4B3C;
  --clay: #B5582F;
  --clay-deep: #9A4524;
  --clay-tint: #F3E2D8;
  --ivory: #F6F5F0;
  --stone: #E6E4DC;
  --ink: #16211C;
  --ink-soft: #4E5B55;
  --brass: #B89B5E;
  --white: #FFFFFF;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); /* loc pentru bara de pe telefon */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: italic; color: var(--clay); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

.container { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.container.narrow { max-width: 760px; }
.section { padding-block: clamp(72px, 11vw, 128px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 6vw, 64px); max-width: 720px; }
.sec-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 60ch; }
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--brass); }

.soon { display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); border: 1px solid currentColor; border-radius: 99px; padding: 2px 10px; line-height: 1.6; white-space: nowrap; }
.soon.inline { vertical-align: middle; font-size: .62rem; margin-left: 6px; }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn-clay { background: var(--clay); color: var(--white); }
.btn-clay:hover { background: var(--clay-deep); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); min-height: 44px; padding: 0 18px; }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-wide { width: 100%; }

/* Antet */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(11,31,25,.0); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: rgba(11,31,25,.94); box-shadow: 0 1px 0 rgba(184,155,94,.25); backdrop-filter: blur(8px); }
.bar { max-width: 1180px; margin: 0 auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { font-family: var(--serif); font-size: 1.38rem; letter-spacing: .01em; }
.brand-text em { color: var(--brass); }
.menu-btn { display: none; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(255,255,255,.86); text-decoration: none; font-size: .92rem; font-weight: 500; letter-spacing: .03em; }
.nav a:hover { color: var(--white); }
.nav .nav-cta { border: 1px solid var(--brass); color: var(--white); padding: 10px 18px; border-radius: var(--radius); }
.nav .nav-cta:hover { background: var(--brass); color: var(--green-950); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); font: 600 .85rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .nav { position: fixed; inset: calc(72px + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--green-950); padding: 8px var(--gutter-r) 24px var(--gutter); border-bottom: 1px solid rgba(184,155,94,.3); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 1px solid var(--brass); }
}

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-content: end; color: var(--white); background: var(--green-950); overflow: hidden; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11,31,25,.6) 0%, rgba(11,31,25,.35) 22%, rgba(11,31,25,.55) 45%, rgba(11,31,25,.7) 70%, rgba(11,31,25,.95) 100%); }
.hero-inner { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: 140px var(--gutter-r) 40px var(--gutter); display: grid; gap: 22px; }
.hero .eyebrow.light { color: #E9D9B4; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero h1 { font-size: clamp(2.9rem, 9vw, 6.4rem); font-weight: 400; max-width: 12ch; }
.hero h1 em { color: #E7A07D; }
.hero-lead { font-size: clamp(1.02rem, 2.2vw, 1.2rem); max-width: 54ch; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-facts { position: relative; list-style: none; margin: 0 auto; padding: 26px var(--gutter-r) 34px var(--gutter); max-width: 1180px; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid rgba(184,155,94,.35); }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.hero-facts span { font-size: .85rem; color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 150px; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-img img { animation: settle 2.4s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
}

/* Filozofie */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.philosophy h2 { margin-top: 14px; }
.pillars { display: grid; gap: 0; }
.pillars article { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 26px 0; border-top: 1px solid var(--stone); }
.pillars article:last-child { border-bottom: 1px solid var(--stone); }
.pillars h3 { font-size: 1.35rem; }
.pillars p { color: var(--ink-soft); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .pillars article { grid-template-columns: 1fr; } }

/* Programe */
.programs { background: var(--white); }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--stone); border: 1px solid var(--stone); }
.program { background: var(--white); padding: 34px 30px; display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.program-tag { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green-700); }
.program p { color: var(--ink-soft); font-size: .98rem; }
.program .soon { justify-self: start; margin-top: 8px; }
.program-soon { background: var(--ivory); }
@media (max-width: 960px) { .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }

/* Antrenori */
.coaches { background: var(--green-900); color: var(--white); }
.coaches h2 em { color: #E7A07D; }
.coach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.coach { display: grid; grid-template-rows: auto 1fr; gap: 20px; align-content: start; }
.coach img, .coach-placeholder { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); background: var(--green-700); }
.coach-placeholder { display: grid; place-items: center; border: 1px dashed rgba(184,155,94,.5); background: transparent; }
.coach-placeholder span { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--brass); opacity: .7; }
.coach-body { display: grid; gap: 10px; align-content: start; }
.coach-body h3 { font-size: 1.5rem; }
.coach-role { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.coach-body > p:not(.coach-role) { color: rgba(255,255,255,.8); font-size: .97rem; }
.coaches .soon { color: #E7A07D; }
.coach details summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--white); list-style: none; display: inline-flex; gap: 8px; align-items: center; min-height: 36px; }
.coach details summary::-webkit-details-marker { display: none; }
.coach details summary::after { content: "+"; color: var(--brass); font-size: 1.1rem; }
.coach details[open] summary::after { content: "−"; }
.coach details p { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.88); }
.coach-soon .coach-body > p { color: rgba(255,255,255,.65); }
.photo-credit { margin-top: 40px; font-size: .78rem; color: rgba(255,255,255,.45); }
@media (max-width: 1060px) { .coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; } }
@media (max-width: 560px) { .coach-grid { grid-template-columns: 1fr; } }

/* Terenuri */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(180px, 26vw)); gap: 10px; margin: 0; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .mosaic figure:hover img { transform: scale(1.03); } }
.m-a { grid-column: span 2; grid-row: span 2; }
@media (min-width: 1180px) { .mosaic { grid-template-rows: repeat(2, 300px); } }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 44vw; }
  .m-a { grid-column: span 2; grid-row: span 1; }
}
.facilities { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--stone); }
.facilities li { display: grid; gap: 4px; padding: 22px 20px 0 0; }
.facilities strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.facilities span { color: var(--ink-soft); font-size: .95rem; }
.facilities .soon { justify-self: start; color: var(--clay); }
@media (max-width: 760px) { .facilities { grid-template-columns: 1fr 1fr; row-gap: 8px; } }

/* Prima lecție */
.first { background: var(--white); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: pas; }
.steps li { counter-increment: pas; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--clay); }
.steps li::before { content: counter(pas); font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--clay); }
.steps p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Rezervă */
.booking { background: var(--clay); color: var(--white); }
.booking .eyebrow.light { color: var(--clay-tint); }
.booking-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.booking h2 { margin: 14px 0 16px; }
.booking-inner > div:first-child > p { color: rgba(255,255,255,.9); max-width: 52ch; }
.booking-card { background: var(--ivory); color: var(--ink); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; }
.booking-card .btn-clay { background: var(--green-900); }
.booking-card .btn-clay:hover { background: var(--green-700); }
.booking-mail { text-align: center; font-weight: 600; color: var(--ink-soft); font-size: .95rem; word-break: break-word; }
.booking-soon { list-style: none; margin: 0; padding: 0; display: grid; }
.booking-soon li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--stone); font-size: .95rem; }
@media (max-width: 860px) { .booking-inner { grid-template-columns: 1fr; } }

/* Recenzii */
.reviews { padding-block: clamp(56px, 8vw, 88px); }
.reviews-inner { display: grid; gap: 14px; justify-items: start; }
.reviews h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.contact-info { display: grid; gap: 22px; align-content: start; }
.contact h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.contact dl { margin: 0; display: grid; }
.contact dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--stone); align-items: center; }
.contact dt { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.contact dd { margin: 0; word-break: break-word; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.18) contrast(1.05) brightness(1.02); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(22,33,28,.12); }
.map-pin-label { position: absolute; left: 50%; top: calc(50% - 64px); transform: translateX(-50%); background: var(--green-900); color: var(--white); font-family: var(--serif); font-size: .95rem; padding: 6px 14px; border-radius: var(--radius); pointer-events: none; white-space: nowrap; }
.map-pin-label::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--green-900); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* Întrebări */
.faq h2 { margin: 14px 0 28px; }
.faq details { border-top: 1px solid var(--stone); }
.faq details:last-of-type { border-bottom: 1px solid var(--stone); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--serif); font-size: 1.25rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--clay); font-size: 1.4rem; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); max-width: 62ch; }

/* Subsol */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.75); padding-block: 56px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; }
.footer-grid > div, .footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--white); }
.footer-brand em { color: var(--brass); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .soon { color: var(--brass); margin-left: 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bara de acțiuni pe telefon */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--green-950); border-top: 1px solid rgba(184,155,94,.35); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.mobile-bar a { min-height: 60px; display: grid; place-items: center; color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.1); }
.mobile-bar .mb-cta { background: var(--clay); }
@media (min-width: 861px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
