/* ==========================================================================
   International Foil Camp — Cluj-Napoca, Romania
   Static site. No frameworks, no build step.
   ========================================================================== */

:root {
  --navy:        #1d2947;
  --navy-deep:   #131c33;
  --navy-soft:   #2b3a5e;
  --blue:        #0087c1;
  --blue-light:  #4db4e7;
  --gold:        #f7b32b;
  --gold-dark:   #d9971a;
  --ink:         #16203a;
  --body:        #41506b;
  --muted:       #6f7d97;
  --line:        #dfe6f0;
  --bg:          #ffffff;
  --bg-soft:     #f2f7fc;
  --bg-tint:     #eaf3fa;

  --radius:      16px;
  --radius-s:    10px;
  --shadow:      0 1px 2px rgba(19,28,51,.06), 0 12px 32px rgba(19,28,51,.08);
  --shadow-lg:   0 24px 64px rgba(19,28,51,.18);
  --wrap:        1180px;
  --font:        "Barlow", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display:     "Barlow Condensed", "Barlow", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .55em; line-height: 1.1; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.05rem, 8.4vw, 5rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 5.2vw, 3.1rem); overflow-wrap: break-word; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
p  { margin: 0 0 1.15em; }

.wrap   { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mb-0   { margin-bottom: 0; }
.small  { font-size: .88rem; color: var(--muted); }

.kicker {
  display: block;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.kicker.on-dark { color: var(--gold); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 15px 32px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 26px rgba(247,179,43,.35); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 10px 22px; font-size: .86rem; }
.btn { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 420px) { .btn { padding: 14px 20px; font-size: .9rem; } }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand > span { min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; text-transform: uppercase;
              letter-spacing: -.005em; color: var(--ink); line-height: 1.05; display: block; white-space: nowrap; }
.brand-sub  { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .88rem; white-space: nowrap;
}
.nav a:hover { background: var(--bg-tint); color: var(--blue); }
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; flex: 0 0 46px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 520px) {
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .brand-name { font-size: .92rem; white-space: normal; line-height: 1.15; }
  .brand-sub  { font-size: .62rem; letter-spacing: .08em; }
  .header-inner { gap: 12px; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 22px; box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; }
}

/* --------------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(19,28,51,.95) 0%, rgba(19,28,51,.86) 42%, rgba(19,28,51,.42) 75%, rgba(19,28,51,.55) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { padding: 96px 0 104px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero h1 .line2 { display: block; color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 56ch; }
.hero-meta {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 12px 22px; border-radius: 999px; margin-bottom: 26px;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
}
.hero-meta .dot { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin: 18px 0 0; font-size: .86rem; color: rgba(255,255,255,.65); }

@media (max-width: 720px) { .hero-inner { padding: 60px 0 68px; } .hero .lead { font-size: 1.05rem; } }
@media (max-width: 560px) {
  .hero-meta {
    flex-direction: column; align-items: flex-start; gap: 5px;
    border-radius: 14px; padding: 14px 18px; font-size: .88rem;
  }
  .hero-meta .dot { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* --------------------------------------------------------------- facts strip */
.facts { background: var(--navy); color: #fff; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(255,255,255,.14);
}
.fact { padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.14); }
.fact strong { display: block; font-family: var(--display); font-size: 1.85rem; font-weight: 800; color: #fff; line-height: 1.05; }
.fact span   { font-size: .82rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
@media (max-width: 860px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .fact { padding: 20px 16px; } .fact strong { font-size: 1.45rem; } .fact span { font-size: .72rem; letter-spacing: .06em; } }

/* ----------------------------------------------------------------- sections */
.section { padding: 92px 0; }
.section-tight { padding: 62px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .small { color: rgba(255,255,255,.6); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section-dark .section-head p { color: rgba(255,255,255,.72); }

@media (max-width: 720px) { .section { padding: 64px 0; } .section-head { margin-bottom: 34px; } }

/* -------------------------------------------------------------------- grids */
.grid { display: grid; gap: 26px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }

.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; }

/* -------------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); height: 100%;
}
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue); margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .45em; }
.card ul { margin: 0; padding-left: 1.15rem; }
.card li { margin-bottom: .45em; }
.card li::marker { color: var(--blue); }

/* ------------------------------------------------------------------ coaches */
.coach { text-align: center; }
.coach img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 22%;
  border-radius: var(--radius); background: var(--bg-tint); box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.coach h3 { margin-bottom: .1em; font-size: 1.1rem; }
.coach .role { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }

/* ----------------------------------------------------------------- schedule */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative; padding: 0 0 30px 34px;
  border-left: 2px solid rgba(255,255,255,.2);
}
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--navy);
}
.timeline strong { display: block; color: #fff; font-size: 1.06rem; }
.timeline span { font-size: .95rem; }

/* --------------------------------------------------------------------- fees */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 840px; margin: 0 auto; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow); text-align: center; position: relative;
}
.price.featured { border-color: var(--gold); border-width: 2px; }
.price .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-deep);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price .amount { font-family: var(--display); font-size: 3.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price .amount sup { font-size: 1.4rem; font-weight: 700; vertical-align: super; margin-right: 4px; }
.price .when { font-size: .92rem; color: var(--muted); margin: 8px 0 22px; }
.included { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; }
.included li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: .95rem; }
.included li:last-child { border-bottom: 0; }
.included li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  color: var(--blue); font-weight: 800;
}

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff8e8; border: 1px solid #f2d79a; border-radius: var(--radius);
  padding: 22px 26px; margin-top: 34px;
}
.notice .ic { font-size: 1.4rem; line-height: 1.2; flex: 0 0 auto; }
.notice p { margin: 0; color: #6b5619; }

/* ------------------------------------------------------------------ gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a, .gallery figure { margin: 0; display: block; border-radius: var(--radius-s); overflow: hidden; background: var(--bg-tint); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 28%; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px) { .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } }

/* clipurile sunt filmate vertical (9:16), deci le tinem inguste si centrate */
.video-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; margin-top: 26px;
}
.video-grid video {
  width: 100%; max-width: 290px; aspect-ratio: 9 / 16;
  border-radius: var(--radius-s); background: #000; display: block;
  box-shadow: var(--shadow);
}
@media (max-width: 660px) { .video-grid video { max-width: calc(50% - 10px); } }

/* --------------------------------------------------------------- info lists */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); height: 100%;
}
.info-card h3 { display: flex; align-items: center; gap: 10px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list strong { color: var(--ink); }
.info-list a { word-break: break-word; }

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link-list a {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 14px 18px; text-decoration: none; color: var(--ink); font-weight: 600;
  transition: border-color .15s ease, transform .15s ease;
}
.link-list a:hover { border-color: var(--blue); transform: translateX(3px); }
.link-list .ic { color: var(--blue); flex: 0 0 auto; }

/* ---------------------------------------------------------------------- CTA */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 140%); color: #fff; text-align: center; padding: 86px 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 58ch; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h4 { color: #fff; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 11px; }
.footer-brand span { font-family: var(--display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .84rem; color: rgba(255,255,255,.5);
}

/* ------------------------------------------------------------------ helpers */
.skip-link { position: absolute; left: -9999px; background: #fff; color: var(--ink); padding: 12px 18px; z-index: 200; }
.skip-link:focus { left: 0; top: 0; }

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