/* ========================================
   JYBC Redesign — Les Mills Aesthetic
   ======================================== */

:root {
  --black: #0b0b0b;
  --white: #ffffff;
  --yellow: #efb84a;
  --yellow-hover: #d9a030;
  --gray: rgba(255,255,255,0.6);
  --border: rgba(255,255,255,0.08);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ----- Layout ----- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,11,11,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1;
}

.logo-text:hover {
  color: var(--yellow);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray);
  transition: color .2s;
  white-space: nowrap;
}

.nav a:hover { color: var(--white); }

.nav .btn-sm {
  font-size: .62rem;
  padding: 6px 14px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  letter-spacing: .1em;
  transition: all .25s;
}

.nav .btn-sm:hover {
  background: var(--yellow);
  color: var(--black);
}

.nav .btn-sm-solid {
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
}

.nav .btn-sm-solid:hover {
  background: transparent;
  color: var(--yellow);
}

/* Social */
.social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--gray);
  font-size: .9rem;
  transition: color .2s;
}

.social a:hover { color: var(--yellow); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

/* Mono-color hero (no photo) */
.hero-mono .hero-bg {
  background: var(--black);
}

.hero-mono .hero-bg::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(135deg, transparent 40%, rgba(239,184,74,.04) 60%, transparent 80%);
  transform: rotate(-15deg);
  pointer-events: none;
}

.hero-mono .hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  z-index: 3;
}

/* Photo hero */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, rgba(11,11,11,.88) 0%, rgba(11,11,11,.45) 50%, rgba(11,11,11,.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 900px;
}

.hero-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--yellow);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.8rem, 12vw, 8rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero-title .hl { color: var(--yellow); }

.hero-sub {
  font-size: clamp(.85rem, 2vw, 1.25rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.75);
  margin-bottom: 44px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 18px 48px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  cursor: pointer;
  transition: all .3s;
}

.btn-hero:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(239,184,74,.35);
}

/* Scroll */
.scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.3);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.scroll-bar {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
}

/* ----- Sections ----- */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--yellow);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

.section-text {
  font-size: 1rem;
  color: var(--gray);
  max-width: 680px;
  line-height: 1.7;
}

/* ----- Grid ----- */
.row { display: grid; gap: 28px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ----- Card ----- */
.card {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  padding: 36px;
  transition: all .3s;
}

.card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.card-title {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.card p {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 14px 36px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
  cursor: pointer;
  transition: all .3s;
}

.btn:hover {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
}

.btn-primary:hover { background: transparent; color: var(--yellow); }

/* ----- Contact Bar ----- */
.bar {
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid rgba(239,184,74,.12);
  border-bottom: 1px solid rgba(239,184,74,.12);
  background: rgba(239,184,74,.03);
}

.bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.bar-item label {
  display: block;
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--yellow);
  margin-bottom: 6px;
}

.bar-item a {
  font-size: 1.1rem;
  font-weight: 700;
  transition: color .2s;
}

.bar-item a:hover { color: var(--yellow); }

/* ----- CTA Strip ----- */
.cta-strip {
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-strip h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Footer ----- */
.footer {
  padding: 36px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}



.footer-inner a { color: rgba(255,255,255,.35); letter-spacing: .05em; transition: color .2s; font-size: .72rem; }
.footer-inner > div a { margin-left: 20px; }

.footer-inner a:hover { color: var(--yellow); }
.footer-inner small { font-size: .72rem; color: rgba(255,255,255,.35); }

/* ----- Page Hero (inner) ----- */
.page-hero {
  min-height: 50vh;
  padding-top: 80px;
}

/* ----- Values list ----- */
.val-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.val-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray);
  font-size: .95rem;
}

.val-list li::before {
  content: '\25B6';
  color: var(--yellow);
  font-size: .7rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ----- Image break sections ----- */
.img-break {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.img-break img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.img-break-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 60px 24px;
}

.img-break-overlay.dark {
  background: linear-gradient(90deg, rgba(11,11,11,.85) 0%, rgba(11,11,11,.3) 70%, transparent 100%);
}

.img-break-overlay .content {
  max-width: 500px;
}

.img-break-overlay .content h3 {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.img-break-overlay .content p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.6;
}

/* Full-bleed image strip */
.img-strip {
  width: 100%;
  display: block;
  max-height: 400px;
  object-fit: cover;
  object-position: center 30%;
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
}

/* Split image + text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.split-img {
  overflow: hidden;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text {
  display: flex;
  align-items: center;
  padding: 48px;
  background: rgba(255,255,255,.015);
}

.split-text .inner {
  max-width: 480px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .3s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 55px;
    left: 0; right: 0;
    background: rgba(11,11,11,.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
  .social a:not(.always) { display: none; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-text { padding: 32px 24px; }
  .section { padding: 60px 0; }
  .hero-title { font-size: clamp(2.2rem, 14vw, 4rem); }
  .btn-hero { padding: 14px 28px; font-size: .7rem; }
  .bar-inner { gap: 24px; flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner a { margin: 0 10px; }
}

@media (min-width: 769px) {
  .hamburger { display: none; }
}
