/* Prihvaćene dorade iz Padel.odt. Izvorni showcase i animacije ostaju. */
:root {
  --body-size: 16px;
  --small-size: 14px;
  --section-gap: clamp(72px, 7vw, 110px);
}
.brand img.brand-vector { width: 100%; height: auto; mix-blend-mode: normal; }
.header { gap: 24px; }
.nav-capsule { position: static; transform: none; flex-shrink: 0; }
.nav-capsule a { font-size: 16px; padding: 12px 18px; }
.header .motion-button { font-size: 14px; min-width: 60px; padding: 9px; }
body .button,
body .section .button,
body .header .button,
body .competition-options .button,
body .cookie-actions .button { font-size: 16px; min-height: 50px; padding: 13px 24px; }
body .button.small { padding: 10px 20px; }
body .section p,
body .feature-copy p,
body .intro-side,
body .hero-description,
body .competition-intro,
body .competition-options p,
body .booking-steps p,
body .faq details p,
body .info-dialog > p:not(.eyebrow) { font-size: 16px; line-height: 1.65; }
body .feature-copy .feature-headline { font-size: 25px; line-height: 1.25; }
body .section .eyebrow,
body .info-dialog .eyebrow { font-size: 14px; letter-spacing: .12em; line-height: 1.5; }
body .index-label,
body .section .index-label,
body .court-caption,
body .scroll-cue,
body .option-number,
body .floating-tag { font-size: 14px; }
body .court-caption { letter-spacing: .08em; }
body .hero-player .index-label { top: -27px; }
body .gym-island .index-label { right: -94px; }
body .sauna-island .index-label { top: -29px; }
body .competition-options p { min-height: 54px; }
body .competition-options article { display: flex; flex-direction: column; align-items: flex-start; }
body .competition-options .button { margin-top: auto; }
body .cookie-banner strong,
body .cookie-setting strong { font-size: 16px; }
body .cookie-banner p,
body .text-button,
body .cookie-setting,
body .cookie-setting small,
body .cookie-setting > span:not(:first-child),
body .dialog-note,
body .info-dialog .dialog-close,
body .toast { font-size: 14px; }
body .cookie-banner { gap: 24px; flex-wrap: wrap; }
body .cookie-banner p { max-width: 460px; }
body .cookie-actions { flex-wrap: wrap; }
body .info-dialog .dialog-close { min-height: 44px; }

/* Sadržaji dolaska dobivaju prostor, ne novu ukrasnu ikonografiju. */
.benefits { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 40px; padding-top: 44px; }
.benefits > div { display: block; padding: 10px 0 10px 24px; border-left: 1px solid var(--rule); }
.benefits > div:first-child { padding-left: 0; border-left: 0; }
body .benefits p { font-size: 20px; line-height: 1.4; font-weight: 600; }
body .benefits small { display: block; font-size: 14px; font-weight: 400; line-height: 1.6; margin-top: 10px; }
.comfort-islands { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.comfort-islands article { width: 100%; min-width: 0; }
.comfort-islands article:last-child { margin: 0; }
.comfort .photo-mask { height: auto; aspect-ratio: 16 / 9; }
.comfort h3 { font-size: 24px; line-height: 1.25; margin-top: 28px; margin-bottom: 12px; }
body .comfort p { font-size: 16px; }

/* Tekst bara je na istoj lijevoj osi kao naslov sekcije. */
.bar-island > .feature-copy { left: -66.666667%; width: 57%; top: 420px; }
.bar-island > .feature-copy p { max-width: 100%; }
.bar-island .ball-lifestyle { left: -24%; top: 650px; }
.lifestyle { min-height: 1220px; }
.shop-island { top: 700px; }
.shop-island > .feature-copy { top: 145px; }

/* Ujednačeni razmak poglavlja i tri stvarno poravnata koraka. */
.competition { padding-bottom: var(--section-gap); }
.booking { padding-top: 0; padding-bottom: var(--section-gap); }
.booking-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 52px; }
.booking-steps article,
.booking-steps article:nth-of-type(2),
.booking-steps article:nth-of-type(3) { width: 100%; padding: 30px 26px; border: 1px solid var(--rule); border-radius: 32px; background: #ffffff65; }
.booking-steps h3 { font-size: 24px; line-height: 1.25; margin: 24px 0 14px; }
body .booking-steps p { max-width: none; }
.step-number { position: static; width: 64px; height: 64px; font-size: 20px; font-weight: 600; }
.booking-action { margin-top: 36px; }

/* Plus/minus je stanje sklopive kontrole, ne dodatni ukras. */
.faq summary { font-size: 20px; line-height: 1.45; min-height: 92px; padding: 20px 0; }
.faq .faq-action { position: relative; display: block; width: 36px; height: 36px; min-width: 36px; border: 1px solid var(--rule); border-radius: 50%; transform: none !important; }
.faq .faq-action::before,
.faq .faq-action::after { content: ''; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s ease, opacity .3s ease; }
.faq .faq-action::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-action::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }

/* Footer: širi razmaci stupaca, čitljiv tekst i lokalne mobilne iznimke. */
.footer { display: grid; grid-template-columns: minmax(180px, .85fr) 2fr; column-gap: 70px; row-gap: 48px; }
.footer-brand { width: auto; min-width: 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: clamp(50px, 6vw, 100px); min-width: 0; }
.footer-links > div { min-width: 0; }
.footer-links h3 { font-size: 18px; margin-bottom: 20px; line-height: 1.4; }
.footer-links a,
.footer-links button { font-size: 16px; line-height: 1.5; padding: 6px 0; overflow-wrap: anywhere; }
body .footer-brand p,
body .footer-bottom p,
.footer-bottom a { font-size: 14px; }
.footer-bottom { grid-column: 1 / -1; font-size: 14px; }

/* Full-screen mobilni meni: odvojeni scroll tijela i sadržaja dijaloga. */
html.menu-open,
body.menu-open { overflow: hidden; overscroll-behavior: none; }
body.menu-open { padding-right: var(--scrollbar-gap, 0px); }
.mobile-menu {
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-height: none;
  padding: max(24px, env(safe-area-inset-top)) var(--space) max(24px, env(safe-area-inset-bottom));
  border-radius: 0;
  box-shadow: none;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-16px);
  transform-origin: center;
  transition: opacity .42s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1);
  background: var(--paper);
  isolation: isolate;
}
.mobile-menu::before { content: ''; position: absolute; width: 70vw; height: 70vw; max-width: 500px; max-height: 500px; border-radius: 50%; background: radial-gradient(circle, #be233208, transparent 70%); right: -30vw; bottom: 80px; pointer-events: none; z-index: -1; }
.mobile-menu.is-open { transform: none; opacity: 1; }
.menu-topbar { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; min-height: 48px; }
.mobile-menu .menu-topbar .brand { display: block; padding: 0; border: 0; opacity: 1; transform: none; width: 180px; }
.menu-button,
.menu-close { position: relative; display: none; width: 48px; height: 48px; min-width: 48px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; flex: 0 0 auto; color: var(--ink); }
.menu-close { display: block; }
.menu-button span,
.menu-close span { position: absolute; width: 19px; height: 1.5px; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 3px)); }
.menu-button span:last-child { transform: translate(-50%, calc(-50% + 3px)); }
.menu-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-links { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 12px; }
.mobile-menu .menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: clamp(32px, 7vw, 60px); font-weight: 600; letter-spacing: -.055em; line-height: 1.1; padding: 22px 0; border-bottom: 1px solid var(--rule); opacity: 1; transform: none; }
.mobile-menu .menu-word { font-size: inherit; color: var(--ink); display: block; opacity: 0; transform: translateY(120%) rotate(2deg); transition: transform .65s cubic-bezier(.16,.8,.2,1), opacity .45s ease; }
.mobile-menu .menu-links a { overflow: hidden; }
.mobile-menu .menu-index { font-size: 14px; letter-spacing: .05em; color: var(--red); opacity: 0; transition: opacity .4s ease; }
.mobile-menu.is-open .menu-word { opacity: 1; transform: none; }
.mobile-menu.is-open .menu-index { opacity: 1; }
.mobile-menu.is-open .menu-links a:nth-child(1) span { transition-delay: .07s; }
.mobile-menu.is-open .menu-links a:nth-child(2) span { transition-delay: .12s; }
.mobile-menu.is-open .menu-links a:nth-child(3) span { transition-delay: .17s; }
.mobile-menu.is-open .menu-links a:nth-child(4) span { transition-delay: .22s; }
.menu-bottom { flex: 0 0 auto; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.mobile-menu.is-open .menu-bottom { opacity: 1; transform: none; transition-delay: .2s; }
.menu-bottom p { font-size: 14px; margin-bottom: 14px; color: var(--muted); }
.menu-bottom .button { width: 100%; min-height: 58px; }

@media (max-width: 1100px) {
  .header { gap: 14px; }
  .nav-capsule a { padding-inline: 13px; }
  .header-actions { gap: 4px; }
  .header .motion-button { min-width: 52px; padding-inline: 6px; }
  body .header .button { padding-inline: 16px; }
  .bar-island > .feature-copy { top: 365px; }
  .bar-island .ball-lifestyle { top: 600px; }
  .shop-island { top: 670px; }
  .lifestyle { min-height: 1170px; }
  .competition-options article { padding-inline: 18px; }
  body .competition-options .button { padding-inline: 18px; }
  .booking-steps { gap: 20px; }
  .booking-steps article { padding-inline: 20px; }
  .footer { column-gap: 44px; grid-template-columns: 1fr 2.4fr; }
  .footer-links { gap: 44px; }
}
@media (max-width: 850px) {
  .header .motion-button,
  .header .button[data-book] { display: none; }
  .menu-button { display: flex; }
  .header .brand { width: 175px; }
  .header.scrolled { padding-inline: 12px; }
  .comfort-islands { grid-template-columns: 1fr; gap: 48px; }
  .comfort-islands article,
  .comfort-islands article:last-child { width: 100%; margin: 0; }
  .comfort h3 { margin-top: 28px; }
  .lifestyle { padding-top: 24px; min-height: 0; padding-bottom: 80px; }
  .lifestyle-heading { width: 100%; pointer-events: auto; margin-bottom: 40px; }
  .bar-island,
  .shop-island { position: relative; top: auto; left: auto; right: auto; width: 100%; margin: 0; }
  .shop-island { margin-top: 72px; }
  .bar-island > .feature-copy,
  .shop-island > .feature-copy { position: static; top: auto; left: auto; width: 100%; padding: 28px 0 0; }
  .bar-island > .feature-copy p,
  .shop-island > .feature-copy p { max-width: 100%; }
  .mask-bar { height: clamp(310px, 52vw, 480px); }
  .mask-shop { height: clamp(310px, 52vw, 480px); border-radius: 36% 43% 34% 32% / 30% 36% 33% 38%; }
  .bar-island .ball-lifestyle { position: relative; display: block; top: auto; left: 10%; margin: 48px 0 4px; width: 60px; height: 60px; }
  .benefits { gap: 22px; }
  .benefits > div { padding-left: 16px; }
  body .benefits p { font-size: 18px; }
  .competition-options { display: grid; grid-template-columns: 1fr; gap: 0; }
  .competition-options article,
  .competition-options article:first-child { width: 100%; padding: 24px 0; border: 0; border-top: 1px solid #454b43; }
  body .competition-options p { min-height: 0; margin-bottom: 20px; }
  .booking-steps { grid-template-columns: 1fr; gap: 20px; }
  .booking-steps article,
  .booking-steps article:nth-of-type(2),
  .booking-steps article:nth-of-type(3) { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 22px; padding: 26px; }
  .step-number { grid-column: 1; grid-row: 1 / 3; }
  .booking-steps h3 { grid-column: 2; margin: 0; align-self: center; }
  .booking-steps p { grid-column: 2; }
  .footer { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { width: 100%; gap: 32px; }
  .footer-bottom { grid-column: 1; }
  .cookie-actions { width: 100%; justify-content: flex-start; }
  body .hero .eyebrow { font-size: 14px; }
  body .gym-island .index-label { right: -70px; font-size: 14px; }
}
@media (max-width: 600px) {
  :root { --space: 23px; --section-gap: 80px; }
  .header { height: 70px; gap: 12px; }
  .header .brand { width: 166px; }
  .header.scrolled { padding-inline: 10px; }
  .hero { padding-top: 44px; }
  body .hero .eyebrow { font-size: 14px; letter-spacing: .08em; }
  body .hero-description { font-size: 16px; }
  .hero-player { width: 64%; margin-top: 48px; }
  .hero-social { top: 570px; width: 30%; }
  body .hero-social .index-label { font-size: 14px; line-height: 1.35; }
  body .court-caption { font-size: 14px; left: 12%; bottom: -4px; letter-spacing: .03em; }
  .hero-court { margin-top: 10px; }
  .ball-hero { top: 425px; }
  body .section .eyebrow { font-size: 14px; letter-spacing: .08em; }
  .floating-tag { padding: 10px 15px; }
  .benefits { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .benefits > div,
  .benefits > div:first-child { border: 0; border-bottom: 1px solid var(--rule); padding: 22px 0; }
  .benefits > div:last-child { border-bottom: 0; }
  body .benefits p { font-size: 20px; }
  .comfort-islands { gap: 48px; }
  .comfort .photo-mask { aspect-ratio: 4 / 3; height: auto; border-radius: 30px; }
  .comfort h3 { font-size: 24px; margin-top: 28px; margin-bottom: 12px; }
  body .feature-copy p { font-size: 16px; }
  body .feature-copy .feature-headline { font-size: 24px; }
  body .gym-island .index-label { right: -32px; font-size: 14px; }
  body .sauna-island .index-label { font-size: 14px; top: -28px; }
  .lifestyle-heading { margin-bottom: 36px; }
  .bar-island,
  .shop-island { width: 100%; margin-inline: 0; }
  .shop-island { margin-top: 64px; }
  .bar-island > .feature-copy,
  .shop-island > .feature-copy { padding-top: 28px; }
  .competition-panel { padding: 45px 25px 32px; }
  body .competition-intro { max-width: none; }
  .booking-steps article,
  .booking-steps article:nth-of-type(2),
  .booking-steps article:nth-of-type(3) { grid-template-columns: 52px minmax(0, 1fr); gap: 12px 18px; padding: 24px 20px; border: 1px solid var(--rule); border-radius: 28px; }
  .step-number { width: 52px; height: 52px; font-size: 18px; }
  .booking-steps h3 { font-size: 24px; }
  .booking-steps p { grid-column: 1 / -1; }
  .step-number { grid-row: 1; }
  .booking-action .button { width: 100%; padding-inline: 20px; }
  .faq summary { font-size: 18px; min-height: 86px; gap: 16px; }
  .faq details p { padding-right: 0; }
  .closing-portal { height: 460px; }
  body .closing-copy .eyebrow { font-size: 14px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-links > div { width: 100%; }
  .footer-links h3 { font-size: 18px; margin-bottom: 8px; }
  .footer-links a,
  .footer-links button { font-size: 16px; min-height: 36px; padding: 4px 0; line-height: 1.5; }
  body .footer-brand p { margin-top: 16px; }
  .cookie-banner { max-height: calc(100dvh - 24px); overflow: auto; }
  body .cookie-actions .button { padding: 12px 14px; flex: 1 1 130px; }
  body .cookie-actions .text-button { font-size: 14px; padding: 10px; }
  .cookie-setting { flex-wrap: wrap; }
  .cookie-setting input { margin-left: auto; }
  .mobile-menu { gap: 24px; padding-top: max(18px, env(safe-area-inset-top)); }
  .mobile-menu .menu-topbar .brand { width: 166px; }
  .mobile-menu .menu-links a { font-size: clamp(32px, 9vw, 48px); padding: 22px 0; }
}
@media (max-width: 380px) {
  .header .brand,
  .mobile-menu .menu-topbar .brand { width: 150px; }
  .hero-social { top: 555px; }
  .hero .ball-hero { top: 410px; }
  .competition-panel { padding-inline: 22px; }
  body .competition-options .button { padding-inline: 15px; }
  .closing-copy { left: 24px; right: 18px; }
}
@media (max-height: 600px) {
  .mobile-menu { gap: 14px; padding-top: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .mobile-menu .menu-links a { padding-block: 16px; font-size: 32px; }
  .menu-bottom p { display: none; }
  .menu-bottom .button { min-height: 50px; }
}
.motion-disabled .mobile-menu .menu-word,
.motion-disabled .mobile-menu .menu-index,
.motion-disabled .mobile-menu .menu-bottom { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu .menu-word,
  .mobile-menu .menu-index,
  .mobile-menu .menu-bottom { transition: none !important; }
}

/* Kompaktni mobilni footer; desktop zadržava otvorene stupce. */
.footer .footer-group { min-width: 0; }
.footer .footer-group > summary { display: block; list-style: none; margin-bottom: 20px; cursor: default; }
.footer .footer-group > summary::-webkit-details-marker { display: none; }
.footer .footer-group > summary h3 { margin: 0; }
.footer-group-links { display: grid; align-content: start; }
.footer-indicator { display: none; }
.footer-bottom { flex-wrap: wrap; gap: 16px 28px; }
body .footer-bottom .footer-credit { margin: 0; font-size: 14px; white-space: nowrap; }
.footer-credit strong { color: var(--ink); font-weight: 600; }

@media (max-width: 850px) {
  .footer .footer-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer .footer-group { width: 100%; border-bottom: 1px solid var(--rule); }
  .footer .footer-group:first-child { border-top: 1px solid var(--rule); }
  .footer .footer-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0; margin: 0; cursor: pointer; }
  .footer .footer-group > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
  .footer .footer-group > summary h3 { font-size: 18px; line-height: 1.4; }
  .footer .footer-group-links { padding-bottom: 20px; }
  .footer .footer-group-links a,
  .footer .footer-group-links button { min-height: 44px; padding: 10px 0; }
  .footer-indicator { position: relative; display: block; width: 28px; height: 28px; border: 1px solid var(--rule); border-radius: 50%; flex: 0 0 auto; }
  .footer-indicator::before,
  .footer-indicator::after { content: ''; position: absolute; width: 11px; height: 1.5px; background: var(--ink); top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .3s ease, opacity .3s ease; }
  .footer-indicator::after { transform: translate(-50%, -50%) rotate(90deg); }
  .footer-group[open] .footer-indicator::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
  .footer-bottom { align-items: flex-start; }
}

@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
  @media (max-width: 850px) {
    .footer-group { interpolate-size: allow-keywords; }
    .footer-group::details-content { overflow: hidden; height: 0; transition: height .32s cubic-bezier(.2,.7,.2,1), content-visibility .32s allow-discrete; }
    .footer-group[open]::details-content { height: auto; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-group::details-content,
  .footer-indicator::before,
  .footer-indicator::after { transition: none !important; }
}
.motion-disabled .footer-group::details-content,
.motion-disabled .footer-indicator::before,
.motion-disabled .footer-indicator::after { transition: none !important; }
