@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --pink: #ff99bb;
  --green: #d0ff99;
  --white: #ffffff;
  --black: #080808;
  --gray: #eeeeec;
  --soft-gray: #f7f7f4;
  --line: rgba(8, 8, 8, 0.14);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.06);
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

#top,
#omnie,
#oferta,
#korepetytorzy,
#cennik,
#kontakt {
  scroll-margin-top: 78px;
}

#opinie {
  scroll-margin-top: 96px;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray);
  border-bottom: 1px solid var(--line);
  transition: transform .28s ease, box-shadow .28s ease;
  will-change: transform;
}

.topbar.header-hidden {
  transform: translateY(-100%);
}

body.is-menu-scrolling .topbar {
  transform: translateY(0) !important;
}

.logo {
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.92);
  transform-origin: left center;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 68px;
}

.topbar nav a {
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.hero-button:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.topbar nav > a,
.nav-drop-trigger {
  position: relative;
}

.topbar nav > a::after,
.nav-drop-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.topbar nav > a:hover::after,
.nav-dropdown:hover .nav-drop-trigger::after,
.nav-dropdown:focus-within .nav-drop-trigger::after {
  transform: scaleX(1);
}

.mobile-menu-toggle {
  display: none;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-arrow {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .18s ease;
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
  transform: translateY(-1px) rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 2000;
  min-width: 172px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  background: rgba(238, 238, 236, .96);
  border: 1px solid rgba(8, 8, 8, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  position: relative;
  padding: 10px 18px;
  display: block;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: .35px;
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.nav-dropdown-menu a:hover::after {
  transform: scaleX(1);
}

/* Hero */
.split-hero {
  height: calc(100vh - 134px);
  min-height: 500px;
  max-height: 620px;
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: stretch;
  background: var(--white);
}

.split-photo {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--gray);
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.split-content {
  height: 100%;
  padding: 46px 62px 42px 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--pink);
}

.split-content h1 {
  margin-bottom: 26px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 5.1vw, 86px);
  font-style: italic;
  font-weight: 400;
  line-height: .96;
  letter-spacing: -1px;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.92);
  transform-origin: left center;
}

.split-content p {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.42;
  text-transform: uppercase;
}

.hero-button {
  width: fit-content;
  min-width: 210px;
  height: 44px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border-radius: 999px;
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

/* Marquee */
.marquee {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green);
}

.tutors-marquee {
  background: var(--pink);
}

.marquee-track {
  width: max-content;
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-loop 22s linear infinite;
}

.marquee-track span {
  flex: 0 0 auto;
  display: inline-block;
  padding-right: 32px;
  color: var(--black);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

@keyframes marquee-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Reviews */
.google-reviews {
  display: block;
  padding: 40px 54px 68px;
  background: var(--white);
}

.reviews-header {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.reviews-header h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.92);
  transform-origin: right center;
}

.reviews-slider {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 14px;
  align-items: center;
}

.reviews-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.review-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

.quote-card {
  min-height: 330px;
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid #ececec;
  box-shadow: var(--shadow-card);
}

.quote-top {
  margin-bottom: 26px;
}

.quote-mark {
  color: var(--black);
  font-family: Georgia, serif;
  font-size: 82px;
  font-weight: 900;
  line-height: .55;
}

.stars {
  display: none !important;
}

.quote-card p {
  margin-bottom: 32px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.75;
}

.quote-card strong {
  margin-top: auto;
  display: block;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.reviews-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  cursor: pointer;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.reviews-arrow:hover {
  background: var(--green);
}

/* Values */
#omnie.manifesto {
  padding: 54px 46px;
  display: grid;
  grid-template-columns: .72fr 1.55fr;
  gap: 44px;
  align-items: center;
  background: var(--green);
}

#omnie .manifesto-title h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 4.6vw, 78px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.9);
  transform-origin: left center;
}

#omnie .values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
  align-items: stretch;
}

#omnie .value-card {
  position: relative;
  width: 100%;
  height: 155px;
  min-height: 155px;
  max-height: 155px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--black);
  cursor: pointer;
  transition: height .25s ease, min-height .25s ease, max-height .25s ease, transform .25s ease;
}

#omnie .value-card::after {
  content: '▼';
  position: absolute;
  left: 50%;
  bottom: 8px;
  color: var(--black);
  font-size: 12px;
  opacity: .9;
  pointer-events: none;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}

#omnie .value-card h3 {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 1.22vw, 23px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.06;
  text-align: center;
  text-transform: uppercase;
}

#omnie .value-card p {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: justify;
  transform: translateY(6px);
  transition: opacity .25s ease, max-height .25s ease, margin-top .25s ease, transform .25s ease;
}

#omnie .value-card:hover,
#omnie .value-card:focus-within {
  height: 260px;
  min-height: 260px;
  max-height: 260px;
  align-items: stretch;
  transform: translateY(-2px);
}

#omnie .value-card:hover::after,
#omnie .value-card:focus-within::after {
  opacity: 1;
  transform: translateX(-50%) rotate(180deg);
}

#omnie .value-card:hover h3,
#omnie .value-card:focus-within h3 {
  height: auto;
  text-align: center;
}

#omnie .value-card:hover p,
#omnie .value-card:focus-within p {
  margin-top: 24px;
  max-height: none;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Offer */
#oferta.offer-visual {
  padding: 76px 54px;
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 64px;
  align-items: center;
  background: var(--soft-gray);
}

.section-heading p,
.section-heading p::after,
#oferta .offer-grid p {
  display: none;
}

.section-heading h2 {
  max-width: 420px;
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: clamp(54px, 5.6vw, 92px);
  font-style: italic;
  font-weight: 400;
  line-height: .94;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.9);
  transform-origin: left center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.offer-grid article {
  min-height: 180px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  border: 1px solid rgba(8, 8, 8, .35);
}

.offer-grid h3 {
  margin: 0;
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 2.7vw, 52px);
  font-style: italic;
  font-weight: 400;
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.92);
  transform-origin: center;
}

/* Lesson types */
.lesson-types-section {
  padding: 86px 54px 96px;
  display: grid;
  gap: 96px;
  background: var(--soft-gray);
}

.lesson-type-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(360px, 48%);
  gap: 64px;
  align-items: center;
  min-height: 640px;
}

.lesson-type-card:nth-child(even) {
  grid-template-columns: minmax(360px, 48%) minmax(0, 52%);
}

.lesson-type-card:nth-child(even) .lesson-type-photo {
  order: 2;
}

.lesson-type-card:nth-child(even) .lesson-type-content {
  order: 1;
}

.lesson-type-photo {
  position: relative;
  width: 100%;
  height: clamp(650px, 48vw, 780px);
  overflow: hidden;
  background: var(--soft-gray);
}

.lesson-type-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(8, 8, 8, .06);
}

.lesson-type-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.lesson-type-card:hover .lesson-type-photo img {
  transform: scale(1.025);
}

.lesson-individual .lesson-type-photo img {
  object-position: center 37%;
}

.lesson-group .lesson-type-photo img {
  object-position: center 58%;
}

.lesson-type-content {
  position: relative;
  max-width: 660px;
}


.lesson-type-content h2 {
  margin: 0 0 28px;
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 4.9vw, 65px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.8px;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.92);
  transform-origin: left center;
}

.lesson-type-content p {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.62;
  text-align: justify;
}

.lesson-type-content strong {
  font-weight: 900;
}

.lesson-type-content p:last-child {
  margin-bottom: 0;
}

.individual-button {
  display: none;
}

@media (max-width: 1200px) {
  .lesson-types-section {
    padding: 66px 28px 76px;
    gap: 70px;
  }

  .lesson-type-card,
  .lesson-type-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
  }

  .lesson-type-card:nth-child(even) .lesson-type-photo,
  .lesson-type-card:nth-child(even) .lesson-type-content {
    order: initial;
  }

  .lesson-type-photo {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .lesson-type-content {
    max-width: 100%;
  }

  .lesson-type-content p {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .lesson-types-section {
    padding: 46px 20px 58px;
    gap: 56px;
  }

  .lesson-type-card {
    gap: 26px;
  }

  .lesson-type-photo {
    aspect-ratio: 4 / 3;
  }

  .lesson-type-content::before {
    margin-bottom: 20px;
  }

  .lesson-type-content h2 {
    margin-bottom: 22px;
    font-size: clamp(40px, 12vw, 58px);
  }

  .lesson-type-content p {
    font-size: 15px;
    line-height: 1.62;
  }
}

/* Tutors */
.tutors-section {
  padding: 82px 54px 92px;
  background: var(--white);
}

.tutors-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.tutor-polaroid {
  position: relative;
  padding: 18px 18px 82px;
  display: block;
  background: var(--white);
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 8px 18px rgba(0, 0, 0, .13);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tutor-polaroid:hover,
.tutor-polaroid:focus-within {
  transform: translateY(-6px) rotate(-.35deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1), 0 16px 30px rgba(0, 0, 0, .18);
}

.tutor-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f4f4;
  border: 1px solid #eeeeee;
}

.tutor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease, filter .3s ease;
}

.tutor-polaroid:hover img,
.tutor-polaroid:focus-within img {
  transform: scale(1.04);
  filter: grayscale(12%);
}

.tutor-margi .tutor-photo-wrap img {
  transform: scale(1.42);
  object-position: center 43%;
}

.tutor-margi:hover .tutor-photo-wrap img,
.tutor-margi:focus-within .tutor-photo-wrap img {
  transform: scale(1.48);
}

.tutor-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  overflow-y: auto;

  display: block;

  background: rgba(0, 0, 0, .72);
  color: var(--white);

  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;

  scrollbar-width: thin;
  scrollbar-color: var(--pink) transparent;
}

.tutor-overlay::-webkit-scrollbar {
  width: 6px;
}

.tutor-overlay::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 999px;
}

.tutor-overlay p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.tutor-polaroid:hover .tutor-overlay,
.tutor-polaroid:focus-within .tutor-overlay {
  opacity: 1;
  transform: translateY(0);
}

.tutor-polaroid h3 {
  position: absolute;
  right: 24px;
  bottom: 24px;
  margin: 0;
  color: #111;
  font-family: 'Comic Sans MS', 'Segoe Print', 'Caveat', cursive;
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1;
  text-align: right;
  transform: rotate(-8deg);
}

/* Pricing */
#cennik.pricing-section {
  min-height: calc(100vh - var(--header-height));
  padding: 38px 54px;
  display: grid;
  grid-template-columns: .72fr repeat(4, 1fr);
  gap: 22px;
  align-items: center;
  background: var(--pink);
}

.pricing-title {
  align-self: center;
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 5.6vw, 96px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.9);
  transform-origin: left center;
}

.price-card {
  height: 520px;
  min-height: 520px;
  max-height: 520px;
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(8, 8, 8, .45);
}

.price-card h3 {
  min-height: 76px;
  margin-bottom: 18px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 2.35vw, 42px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.07;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.92);
  transform-origin: left center;
}

.price-line {
  margin: 8px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-line strong {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 3.5vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.price-line span {
  font-family: 'Anton', sans-serif;
  font-size: clamp(18px, 1.35vw, 24px);
  white-space: nowrap;
}

.price-line-second {
  margin-top: 30px;
}

.price-card-main .price-line-second {
  margin-top: 26px;
}

.price-card-group .price-line-second {
  margin-top: 34px;
}

.price-card p {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.36;
}

/* Contact */
.contact-section {
  padding: 72px 54px;
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 60px;
  align-items: start;
  background: var(--white);
}

.contact-section h2 {
  margin-bottom: 24px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(54px, 7vw, 100px);
  font-style: italic;
  font-weight: 400;
  line-height: .92;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.9);
  transform-origin: left center;
}

.contact-section > div > p,
.contact-data p {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
}

.contact-data {
  padding-left: 64px;
  border-left: 1px solid var(--line);
}

.contact-data a,
.contact-phone {
  color: var(--black);
  text-decoration: none;
  transition: color .2s ease;
}

.contact-data a:hover,
.contact-phone:hover {
  color: var(--pink);
}

.social-icons {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 48px;
  height: 48px;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

.instagram-btn {
  background: var(--green);
  color: var(--pink);
}

.facebook-btn {
  background: var(--pink);
  color: var(--green);
}

.facebook-btn svg {
  width: 20px;
  height: 20px;
}

.facebook-btn svg path {
  fill: currentColor;
  transform: translateX(1px);
  transform-box: fill-box;
}

.instagram-btn svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.instagram-btn svg circle {
  stroke: currentColor;
  stroke-width: 2;
}

.instagram-btn svg circle:last-child {
  fill: currentColor;
  stroke: none;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.instagram-btn:hover {
  background: var(--pink);
  color: var(--green);
}

.facebook-btn:hover {
  background: var(--green);
  color: var(--pink);
}

/* Footer */
footer,
.footer {
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 1200px) {
  #omnie.manifesto,
  #oferta.offer-visual,
  .lesson-types-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  #omnie .values-grid,
  .tutors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #cennik.pricing-section {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .pricing-title {
    grid-column: 1 / -1;
  }

  .price-card {
    height: auto;
    min-height: 420px;
    max-height: none;
    overflow: visible;
  }

  .contact-data {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 1000px) {
  .review-slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  #top,
  #omnie,
  #oferta,
  #korepetytorzy,
  #cennik,
  #kontakt {
    scroll-margin-top: 70px;
  }

  #opinie {
    scroll-margin-top: 84px;
  }

  .topbar {
    height: 68px;
    min-height: 68px;
    padding: 0 20px;
    z-index: 3000;
  }

  .logo {
    max-width: calc(100% - 64px);
    font-size: clamp(22px, 7vw, 30px);
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    z-index: 3100;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--black);
    border-radius: 999px;
    transition: transform .22s ease, opacity .22s ease;
  }

  .topbar.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .topbar.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .topbar nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 2990;
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--gray);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-130%);
    transition: transform .24s ease, opacity .24s ease;
  }

  .topbar.mobile-menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .topbar nav > a,
  .nav-drop-trigger {
    padding: 14px 0;
    display: block;
    border-bottom: 1px solid rgba(8, 8, 8, .12);
    font-size: 16px !important;
  }

  .topbar nav > a::after,
  .nav-drop-trigger::after,
  .nav-dropdown-menu::before,
  .nav-dropdown-menu a::after {
    display: none;
  }

  .nav-dropdown {
    display: block;
  }

  .nav-dropdown-menu {
    position: static !important;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 0 14px;
    display: none !important;
    flex-direction: column;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
  }

  .nav-drop-trigger[aria-expanded="true"] + .nav-dropdown-menu {
    display: flex !important;
    padding: 4px 0 8px 14px;
  }

  .nav-drop-trigger[aria-expanded="true"] .nav-arrow {
    transform: translateY(-1px) rotate(180deg);
  }

  .nav-dropdown-menu a {
    padding: 8px 0;
    border-bottom: 0;
    font-size: 12px !important;
    opacity: .78;
  }

  .split-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
  }

  .split-photo,
  .split-content {
    height: auto;
  }

  .split-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .split-content {
    padding: 42px 24px 46px;
  }

  .split-content h1 {
    font-size: clamp(46px, 15vw, 74px);
  }

  .split-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-button {
    width: 100%;
    max-width: 280px;
  }

  .marquee {
    height: 48px;
  }

  .marquee-track span {
    font-size: 16px;
    letter-spacing: .8px;
  }

  .google-reviews,
  #omnie.manifesto,
  #oferta.offer-visual,
  #cennik.pricing-section,
  .contact-section,
  .tutors-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .reviews-slider {
    display: block;
  }

  .reviews-header {
    display: block;
  }

  .reviews-header h2 {
    margin-top: 12px;
    font-size: clamp(40px, 13vw, 62px);
    transform-origin: left center;
  }

  .reviews-arrow {
    display: none;
  }

  .review-slide {
    flex: 0 0 86%;
    min-height: 360px;
  }

  .quote-card {
    padding: 30px 24px 28px;
  }

  .quote-card p {
    font-size: 15px;
    line-height: 1.65;
  }

  #omnie.manifesto {
    display: block;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  #omnie .manifesto-title h2 {
    margin-bottom: 34px;
    font-size: clamp(44px, 13vw, 68px);
    line-height: 1.04;
    letter-spacing: .5px;
  }

  #omnie .values-grid,
  #oferta .offer-grid,
  .tutors-grid,
  #cennik.pricing-section {
    grid-template-columns: 1fr;
  }

  #omnie .value-card {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 22px 20px 26px;
    align-items: stretch;
  }

  #omnie .value-card::after {
    display: none;
  }

  #omnie .value-card h3 {
    height: auto;
    display: block;
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.05;
    text-align: left;
  }

  #omnie .value-card p {
    margin-top: 16px;
    max-height: none;
    overflow: visible;
    opacity: 1;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
    transform: none;
  }

  #oferta.offer-visual {
    display: block;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-heading h2 {
    max-width: 100%;
    margin-bottom: 34px;
    font-size: clamp(46px, 14vw, 74px);
  }

  .offer-grid article {
    min-height: 0;
    padding: 24px 22px;
  }

  .offer-grid h3 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .tutors-section {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .tutor-polaroid {
    padding: 14px 14px 72px;
  }

  .tutor-overlay {
    align-items: flex-end;
    padding: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .22), rgba(0, 0, 0, 0));
    opacity: 1;
    transform: none;
  }

  .tutor-overlay p {
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
  }

  .tutor-polaroid h3 {
    right: 22px;
    bottom: 22px;
    font-size: 34px;
  }

  #cennik.pricing-section {
    display: block;
    padding-top: 48px;
    padding-bottom: 48px;
    min-height: 0;
  }

  .pricing-title {
    margin-bottom: 26px;
    font-size: clamp(50px, 16vw, 82px);
    line-height: 1.02;
  }

  .price-card {
    height: auto;
    min-height: 0;
    max-height: none;
    margin-bottom: 18px;
    padding: 28px 22px;
  }

  .price-card h3 {
    min-height: 0;
    margin-bottom: 20px;
    font-size: clamp(32px, 9vw, 44px);
  }

  .price-line {
    flex-wrap: wrap;
  }

  .price-line strong {
    font-size: clamp(50px, 14vw, 68px);
  }

  .price-line span {
    font-size: 18px;
  }

  .contact-section {
    display: block;
    padding-top: 48px;
    padding-bottom: 48px;
  }

 .contact-section h2 {
    font-size: 11vw;
    line-height: .95;
    letter-spacing: 0;
    transform: skew(-4deg) scaleX(.98);
    transform-origin: left center;
    white-space: nowrap;
}

  .contact-data {
    margin-top: 28px;
  }

  .contact-email {
    max-width: 100%;
    display: inline-block;
    overflow-wrap: anywhere;
  }

  footer,
  .footer {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.35;
  }
}





.price-card{
  padding:24px 22px;
}

.price-card h3{
  font-size:clamp(24px,1.8vw,34px);
}

.price-card p{
  font-size:14px;
}

.price-card-group8{
  display:flex;
  justify-content:flex-start;
}

.price-card-group8 .coming-soon{
  margin-top:36px;
  font-size:22px;
  font-weight:900;
  line-height:1.4;
}


/* Poprawione kolory ikon social media */
.instagram-btn svg rect,
.instagram-btn svg circle {
  fill: none !important;
  stroke: var(--pink) !important;
}

.instagram-btn svg circle:last-of-type {
  fill: var(--pink) !important;
  stroke: none !important;
}

.instagram-btn:hover svg rect,
.instagram-btn:hover svg circle {
  fill: none !important;
  stroke: var(--green) !important;
}

.instagram-btn:hover svg circle:last-of-type {
  fill: var(--green) !important;
  stroke: none !important;
}

.facebook-btn svg path {
  fill: var(--green) !important;
}

.facebook-btn:hover svg path {
  fill: var(--pink) !important;
}
/* Mobile - opis korepetytora po dotknięciu karty */
@media (hover: none), (max-width: 900px) {
  .tutor-polaroid {
    cursor: pointer;
  }

  .tutor-overlay p {
    font-size: 13px;
    line-height: 1.45;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .tutor-polaroid .tutor-overlay,
  .tutor-polaroid:hover .tutor-overlay,
  .tutor-polaroid:focus-within .tutor-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(12px) !important;
    background: rgba(0, 0, 0, .82);
  }

  .tutor-polaroid.tutor-open .tutor-overlay,
  .tutor-polaroid.tutor-open:hover .tutor-overlay,
  .tutor-polaroid.tutor-open:focus-within .tutor-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .tutor-polaroid.tutor-open img {
    transform: scale(1.04);
    filter: grayscale(12%);
  }
}
/* Plakietka "Kliknij" na telefonach */
.tutor-tap-hint{
    position:absolute;
    top:12px;
    right:12px;
    padding:6px 10px;
    border-radius:999px;

    background:rgba(255,255,255,.92);
    color:#111;

    font-size:12px;
    font-weight:800;

    pointer-events:none;
    z-index:10;

    box-shadow:0 4px 10px rgba(0,0,0,.18);

    display:none;
}

@media (max-width:900px){

    .tutor-tap-hint{
        display:block;
    }

    .tutor-polaroid.tutor-open .tutor-tap-hint{
        opacity:0;
        transition:.2s;
    }

}

/* Cookie Consent — Google Consent Mode v2 */
.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: 1180px;
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px);
  transition: opacity .26s ease, transform .26s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent__content {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--black);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

.cookie-consent__eyebrow {
  margin: 0 0 6px;
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.cookie-consent h2 {
  margin: 0 0 8px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(27px, 2.6vw, 40px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  transform: skew(-7deg) scaleX(.94);
  transform-origin: left center;
}

.cookie-consent__text > p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.cookie-consent__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-button {
  min-width: 138px;
  min-height: 46px;
  padding: 11px 22px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0, 0, 0, .16);
}

.cookie-button--accept {
  background: var(--green);
}

.cookie-button--reject {
  background: var(--pink);
}

@media (max-width: 760px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-consent__content {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 16px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-button {
    width: 100%;
    min-width: 0;
  }

  footer,
  .footer {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-button {
    transition: none;
  }
}
