/* ============================================================
   SKILLBRIDGE Summer Camp — landing styles
   Mobile-first. min-width breakpoints. No external fonts/CDN.
   ============================================================ */

/* ---- Self-hosted display serif drop-in point ----
   To use a custom display serif later, self-host a woff2 and add:
   @font-face {
     font-family: 'Display Serif';
     src: url('fonts/display.woff2') format('woff2');
     font-weight: 700; font-display: swap;
   }
   then add 'Display Serif' to the front of --font-display below.
------------------------------------------------------------- */

:root {
  --cream:    #F4F1E8;
  --cream-2:  #FAF8F1;
  --orange:   #FF4D17;
  --green:    #16A34A;
  --green-dk: #128A3D;
  --yellow:   #FFD400;
  --blue:     #2438C4;
  --navy:     #1E2A78;
  --pink:     #F857A6;
  --mint:     #A8E6D8;
  --black:    #161616;
  --ink:      #1a1a1a;

  --font-display: Georgia, 'PT Serif', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --shadow-hard: 4px 4px 0 var(--black);
  --shadow-hard-sm: 3px 3px 0 var(--black);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 18px;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 48px;
  padding: 13px 24px;
  border: 2.5px solid var(--black);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: transform .08s ease, box-shadow .08s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--black);
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-dark    { background: var(--black); color: #fff; }
.btn-yellow  { background: var(--yellow); color: var(--black); }
.btn-ghost   { background: transparent; color: var(--black); box-shadow: none; }
.btn-ghost:active { transform: translateY(2px); }

/* ---------------- Sticker pills ---------------- */
.sticker {
  display: inline-block;
  padding: 8px 16px;
  border: 2.5px solid var(--black);
  border-radius: 999px;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-2deg);
}
.sticker-yellow { background: var(--yellow); color: var(--black); }
.sticker-pink   { background: var(--pink);   color: var(--black); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 0 rgba(22,22,22,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  transition: padding .2s ease;
}
.site-header.scrolled .header-inner { padding-block: 10px; }

.logo { text-decoration: none; line-height: 1; display: inline-flex; flex-direction: column; }
.logo-img { height: 80px; width: auto; display: block; align-self: flex-start; }
.site-header.scrolled .logo-img { height: 60px; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--black);
}
.logo-r { color: var(--orange); }
.logo-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .8rem;
  color: var(--blue);
  margin-top: 1px;
}

.main-nav { display: none; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
  padding: 6px 2px;
}
.main-nav a:hover { color: var(--orange); }

.header-cta { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  background: var(--yellow);
  border: 2.5px solid var(--black);
  border-radius: 12px;
  box-shadow: var(--shadow-hard-sm);
  cursor: pointer;
  padding: 0 11px;
}
.burger span { height: 3px; background: var(--black); border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile dropdown nav */
.main-nav.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cream);
  padding: 12px 18px 22px;
  border-bottom: 3px solid var(--black);
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
}
.main-nav.open a { font-size: 1.1rem; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.08); }

/* ---------------- Hero ---------------- */
.hero { padding-top: 22px; padding-bottom: 30px; }
.hero-grid { display: grid; gap: 26px; }

.hero-pill { margin-bottom: 16px; }
.hero-intro {
  max-width: 30ch;
  font-size: 1rem;
  color: #2a2a2a;
  margin: 0 0 18px;
}
.hero-title {
  font-size: clamp(2.1rem, 9vw, 3rem);
  margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  position: relative;
  min-height: 340px;
  border: 3px solid var(--black);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #FF6A2C 0%, #FF4D17 55%, #E53A0A 100%);
  box-shadow: 6px 6px 0 var(--black);
  transform: rotate(2deg);
  overflow: hidden;
}
.hero-card-pill {
  position: absolute;
  top: 16px; right: 16px;
  text-align: center;
  line-height: 1.1;
  transform: rotate(6deg);
}
.hero-card-year {
  position: absolute;
  left: 22px; bottom: 26px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255,255,255,.55);
  line-height: 1.05;
}
.hero-card-note {
  position: absolute;
  right: 18px; bottom: 22px;
  max-width: 14ch;
  text-align: right;
  color: #fff;
  font-size: .78rem;
  opacity: .92;
}

.hero-banner {
  margin-top: 30px;
  background: var(--green);
  border: 3px solid var(--black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  padding: 26px 22px;
  color: #fff;
}
.hero-banner-text {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin: 0 0 18px;
  line-height: 1.25;
}
.hero-banner .btn { width: 100%; text-align: center; white-space: normal; }

.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
}
.tag {
  border: 2.5px solid var(--black);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: .85rem;
  box-shadow: var(--shadow-hard-sm);
}
.tag-orange { background: var(--orange); color: #fff; }
.tag-green  { background: var(--green);  color: #fff; }
.tag-pink   { background: var(--pink);   color: var(--black); }
.tag-blue   { background: var(--blue);   color: #fff; }
.tag-yellow { background: var(--yellow); color: var(--black); }

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--navy);
  color: #fff;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  overflow: hidden;
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-right: 0;
  white-space: nowrap;
}
.marquee-item b { color: var(--yellow); margin: 0 .3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Почему (dark blue) ---------------- */
.why {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 56px 0 60px;
  overflow: hidden;
}
.why-grid { display: grid; gap: 34px; position: relative; z-index: 1; }
.why-title {
  font-size: clamp(1.7rem, 6.4vw, 2.4rem);
  margin-top: 18px;
  line-height: 1.08;
}
.acc-orange { color: var(--orange); }
.acc-pink   { color: var(--pink); }
.acc-yellow { color: var(--yellow); }

.why-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--cream-2);
  color: var(--ink);
  border: 2.5px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 16px 18px;
}
.why-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--mint);
  border: 2px solid var(--black);
  border-radius: 10px;
  font-size: 1.2rem;
}
.why-card h3 { margin: 0 0 4px; font-size: 1rem; }
.why-card p { margin: 0; font-size: .9rem; color: #444; }

.why-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  z-index: 0;
}
.dot-pink { background: var(--pink); top: 12%; left: 8%; }
.dot-yellow { background: var(--yellow); top: 70%; left: 88%; }
.dot-mint { background: var(--mint); top: 40%; left: 60%; }
.dot-blue { background: var(--blue); }
.dot-orange { background: var(--orange); }

/* ---------------- Расписание (green) ---------------- */
.schedule {
  background: var(--green);
  color: #fff;
  padding: 50px 0 58px;
  border-top: 3px solid var(--black);
}
.schedule-head {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}
.schedule-title {
  font-size: clamp(2rem, 8vw, 2.8rem);
  margin-top: 16px;
}
.schedule-head-right { color: rgba(255,255,255,.92); }
.schedule-eyebrow { font-size: .72rem; letter-spacing: .12em; font-weight: 700; margin: 0 0 4px; opacity: .85; }
.schedule-big { font-size: clamp(2rem, 8vw, 2.8rem); }
.schedule-small { margin: 4px 0 0; font-size: .9rem; }

.schedule-grid { display: grid; gap: 14px; }
.sch-card {
  border: 2.5px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  min-height: 64px;
}
.sch-card h3 {
  margin: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sch-sub { margin: 0; font-size: .85rem; opacity: .85; flex-basis: 100%; }
.sch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex-basis: 100%; }
.time-pill {
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 800;
  font-size: .8rem;
  white-space: nowrap;
  margin-left: auto;
}
.time-light { background: #fff; }
.sch-time-tr { position: static; }

.sch-yellow { background: var(--yellow); color: var(--black); }
.sch-yellow .time-pill { background: var(--black); color: var(--yellow); border-color: var(--black); }
.sch-pink   { background: var(--pink);   color: var(--black); }
.sch-blue   { background: var(--blue);   color: #fff; }
.sch-blue h3 { color: #fff; }
.sch-light  { background: var(--cream-2); color: var(--green-dk); }
.sch-light h3 { color: var(--green-dk); }
.sch-light .sch-sub { color: #333; }
.sch-green-line { background: var(--cream-2); color: var(--green-dk); border-left: 8px solid var(--green); }
.sch-accent-orange { border-left: 8px solid var(--orange); }

.pill-cta {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
}
.pill-pink { background: var(--pink); color: var(--black); }

/* ---------------- Смены / Price (dark) ---------------- */
.shifts {
  background: var(--cream);
  padding: 50px 0 56px;
}
.shifts-pill { margin-bottom: 18px; transform: rotate(-3deg); }
.shifts-block {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: 30px;
  box-shadow: 8px 8px 0 rgba(22,22,22,.25);
  padding: 36px 26px;
  display: grid;
  gap: 28px;
  overflow: hidden;
}
.shifts-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
  margin: 0 0 18px;
}
.shifts-text { color: #cfcfcf; max-width: 42ch; margin: 0 0 18px; }
.shifts-addr { margin: 2px 0; color: #e8e8e8; font-size: .95rem; }
.shifts-btn { margin-top: 20px; }

.price-card {
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--black);
  padding: 28px 22px;
  text-align: center;
}
.price-label { font-weight: 800; letter-spacing: .1em; font-size: .8rem; margin: 0 0 12px; }
.price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  margin: 0 0 8px;
}
.price-note { margin: 0 0 22px; font-size: .9rem; }
.price-btn { width: 100%; }

/* ---------------- Галерея ---------------- */
.gallery { background: var(--cream); padding: 50px 0 56px; }
.gallery-head { margin-bottom: 28px; display: grid; gap: 14px; }
.gallery-title { font-size: clamp(1.9rem, 8vw, 2.8rem); margin-top: 14px; color: var(--black); }
.gallery-note { font-size: 1rem; color: #333; margin: 0; }
.gallery-note b { color: var(--black); }

.gallery-scatter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gcard {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 3px solid var(--black);
  border-radius: 16px;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  display: block;
  padding: 0;
  cursor: default;
}
.gcard-video { cursor: pointer; }
.gcard-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-card-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.gcard-label {
  position: absolute;
  left: 12px; bottom: 12px;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.gcard-label-dark { color: var(--black); text-shadow: none; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--black);
  font-size: 1.1rem;
  padding-left: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.gcard-video:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }

.gradient-orange { background: linear-gradient(160deg, #FF6A2C, #E53A0A); }
.gradient-blue   { background: linear-gradient(160deg, #3047D8, #1B2B8F); }
.gradient-yellow { background: linear-gradient(160deg, #FFE14D, #E0B800); }
.gradient-green  { background: linear-gradient(160deg, #22C55E, #128A3D); }
.gradient-pink   { background: linear-gradient(160deg, #FF7DBE, #D63C85); }
.gradient-mint   { background: linear-gradient(160deg, #BFF0E4, #8FD8C7); }

/* ---------------- FAQ ---------------- */
.faq { background: var(--cream); padding: 46px 0 56px; }
.faq-title { font-size: clamp(2rem, 9vw, 3rem); margin: 16px 0 28px; color: var(--black); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--cream-2);
  border: 2.5px solid var(--black);
  border-radius: 16px;
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
}
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  padding: 18px 20px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--black);
  min-height: 56px;
}
.faq-icon {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border: 2px solid var(--black);
  border-radius: 50%;
  position: relative;
  background: transparent;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2.5px;
  background: var(--black);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  color: #444;
  font-size: .95rem;
}
.faq-item.is-open { background: var(--yellow); }
.faq-item.is-open .faq-q { color: var(--black); }
.faq-item.is-open .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
}
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: #fff; height: 2.5px; }
.faq-item.is-open .faq-icon::before { transform: translate(-50%, -50%) rotate(45deg); width: 13px; }
.faq-item.is-open .faq-icon::after  { transform: translate(-50%, -50%) rotate(-45deg); width: 13px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > p { padding-bottom: 18px; color: #2a2a2a; }

/* ---------------- Контакты + Form ---------------- */
.contacts {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 56px 0 64px;
  overflow: hidden;
}
.contacts-grid { display: grid; gap: 34px; position: relative; z-index: 1; }
.contacts-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
  margin: 16px 0 16px;
}
.contacts-sub { color: #bdbdbd; max-width: 44ch; margin: 0 0 26px; }

.contact-rows { display: grid; gap: 12px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #242424;
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  color: #fff;
  min-height: 56px;
}
a.contact-row:hover { background: #2e2e2e; }
.contact-key { font-size: .72rem; letter-spacing: .08em; font-weight: 700; color: #8d8d8d; flex: 0 0 84px; }
.contact-val { font-size: 1rem; }
.soc-link { color: var(--mint); text-decoration: none; }
.soc-link:hover { text-decoration: underline; }

.form-card {
  background: var(--cream-2);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--orange);
  padding: 28px 22px;
}
.form-title { font-size: clamp(1.6rem, 7vw, 2.2rem); margin-bottom: 20px; color: var(--black); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { margin-bottom: 16px; }
.field label, .field-grid label {
  display: block;
  font-size: .72rem;
  letter-spacing: .06em;
  font-weight: 700;
  color: #888;
  margin-bottom: 7px;
}
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  background: #fff;
  border: 2px solid #d9d4c6;
  border-radius: 12px;
  color: var(--ink);
  min-height: 48px;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,77,23,.18);
}
.field input.invalid, .field select.invalid { border-color: var(--orange); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.field-grid .field { margin-bottom: 0; }

.form-submit { width: 100%; margin: 8px 0 16px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .82rem;
  color: #555;
  line-height: 1.4;
}
.consent input {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 1px;
  accent-color: var(--orange);
}
.consent a { color: var(--orange); }

.form-msg { margin: 14px 0 0; font-weight: 700; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok  { color: var(--green); }
.form-msg.err { color: var(--orange); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--cream); padding: 44px 0 26px; border-top: 3px solid var(--black); }
.footer-grid { display: grid; gap: 28px; }
.footer-logo .logo-word { font-size: 1.9rem; }
.footer-col h4 { font-size: .78rem; letter-spacing: .1em; color: #999; margin: 0 0 12px; }
.footer-col a { display: block; text-decoration: none; color: var(--black); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.1);
  color: #777;
  font-size: .85rem;
}

/* ---------------- Video modal ---------------- */
.video-modal {
  border: 3px solid var(--black);
  border-radius: 18px;
  padding: 0;
  width: min(92vw, 720px);
  background: var(--black);
  color: #fff;
}
.video-modal::backdrop { background: rgba(0,0,0,.6); }
.video-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--orange);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}
.modal-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  background: var(--black);
}

.gform-modal {
  border: 3px solid var(--black);
  border-radius: 18px;
  padding: 0;
  width: min(96vw, 680px);
  max-height: 90vh;
  background: #fff;
  overflow: hidden;
}
.gform-modal::backdrop { background: rgba(0,0,0,.6); }
.gform-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--orange);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}
.gform-iframe {
  display: block;
  width: 100%;
  height: 80vh;
  max-height: 700px;
  border: none;
}

/* ============================================================
   RESPONSIVE — min-width breakpoints
   ============================================================ */
@media (min-width: 600px) {
  .hero-tags .tag { font-size: .9rem; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .gallery-scatter { grid-template-columns: repeat(3, 1fr); }
  .field-grid { gap: 16px; }
}

@media (min-width: 768px) {
  .container { padding-inline: 30px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero-card { min-height: 440px; }
  .hero-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .hero-banner-text { margin: 0; flex: 1; }
  .hero-banner .btn { flex: 0 0 auto; }

  .why-cards { grid-template-columns: 1fr 1fr; }
  .schedule-head { grid-template-columns: 1fr auto; align-items: start; }
  .schedule-head-right { text-align: right; }

  .shifts-block { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 46px 40px; }
  .price-card { max-width: 420px; justify-self: end; width: 100%; }

  .gallery-head { grid-template-columns: 1fr auto; align-items: end; }
  .gallery-note { text-align: right; }

  .contacts-grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .main-nav { display: flex; gap: 22px; align-items: center; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }

  .hero-title { font-size: clamp(2.6rem, 5vw, 3.6rem); }
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
  .sch-card.wide { grid-column: span 1; }

  .gallery-scatter {
    display: block;
    position: relative;
    height: 560px;
    margin-top: 20px;
  }
  .gallery-scatter .gcard {
    position: absolute;
    width: 200px;
    aspect-ratio: 3 / 4;
  }
  .gallery-scatter .gcard:nth-child(1) { left: 4%;  top: 30px;  transform: rotate(-3deg); z-index: 3; }
  .gallery-scatter .gcard:nth-child(2) { left: 22%; top: 70px;  transform: rotate(2deg);  z-index: 2; }
  .gallery-scatter .gcard:nth-child(3) { left: 40%; top: 10px;  transform: rotate(-2deg); z-index: 4; }
  .gallery-scatter .gcard:nth-child(4) { left: 58%; top: 60px;  transform: rotate(3deg);  z-index: 2; }
  .gallery-scatter .gcard:nth-child(5) { left: 78%; top: 40px;  transform: rotate(-2deg); z-index: 3; }
  .gallery-scatter .gcard:nth-child(6) { left: 30%; top: 300px; transform: rotate(2deg);  z-index: 5; }
  .gallery-scatter .gcard:nth-child(7) { left: 48%; top: 280px; transform: rotate(-3deg); z-index: 4; }
  .gallery-scatter .gcard:hover { transform: scale(1.04) rotate(0); z-index: 10; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; transform: none; }
  .btn, .gcard, .burger span, .faq-icon::after { transition: none; }
}
