:root {
  --bg-page: #f8fafc;
  --text-main: #0f172a;
  --text-soft: #475569;
  --bg-card: #ffffff;
  --line: rgba(217, 119, 6, 0.25); /* #D97706 z 25% krycia */
  --accent-italki: #e04336;
  --accent-fiverr: #148a64;
  --accent-italki-soft: #fff3f1;
  --accent-fiverr-soft: #edfdf6;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 16px 30px rgba(15, 23, 42, 0.06);
  --radius: 22px;
  --section-padding: 4rem 0;
  --container-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 38%, #eef4ff 100%);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text-main);
}

.menu-toggle {
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-main);
  display: block;
}

main {
  padding: 1rem 0 2rem;
}

.hero,
.about,
.services,
.reviews {
  width: min(var(--container-width), calc(100% - 2rem));
  padding: var(--section-padding);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  margin: 1.25rem auto;
  backdrop-filter: blur(2px);
}

.hero,
.contact {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact {
  width: min(var(--container-width), calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  margin: 1.25rem auto;
}

.about {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.hero-grid,
.about-grid,
.services-grid,
.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-copy {
  gap: 0.9rem;
}

.hero-copy,
.hero-image,
.about-photo,
.about-copy,
.language-skills,
.service-card,
.review-panel,
.contact-box {
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-copy h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 9vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--text-soft);
  line-height: 1.4;
  text-align: center;
  font-weight: 500;
}

.ampersand {
  display: block;
  margin: 0.35rem 0;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  opacity: 0.9;
  line-height: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.15rem 0.8rem;
  margin-left: 0.15rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.tag-ialki {
  background: var(--accent-italki);
}

.tag-fiverr {
  background: var(--accent-fiverr);
}

.hero-image img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-image {
  min-height: 380px;
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
}

.about h2,
.services h2,
.reviews h2,
.contact h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.05em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.about-photo {
  width: 100%;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-panel,
.about-content {
  width: 100%;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  margin-bottom: 1.1rem;
}

.about-content p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text-soft);
  text-align: justify;
}

.about-credentials {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.about-credentials h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-align: left;
}

.qualification-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-main);
  display: grid;
  gap: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.qualification-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.6;
  align-items: flex-start;
}

.qualification-list span {
  font-weight: 500;
}

.qualification-list strong {
  font-weight: 700;
}

.qualification-list li::marker {
  color: var(--accent-italki);
}

.language-skills {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  max-width: 100%;
  margin-top: 0.75rem;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill-flag {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.08);
}

.skill-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.skill-meta {
  flex: 1;
}

.skill-label-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.progress-bar {
  height: 12px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--text-main);
}

.fill-turkey {
  background: var(--text-main);
}

.fill-uk {
  background: var(--text-main);
}

.fill-france {
  background: var(--text-main);
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.05em;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.09);
  border-color: rgba(148, 163, 184, 0.4);
}

.card-ialki {
  background: linear-gradient(180deg, #fffaf9 0%, var(--accent-italki-soft) 100%);
}

.card-fiverr {
  background: linear-gradient(180deg, #fafffc 0%, var(--accent-fiverr-soft) 100%);
}

.card-accent {
  height: 10px;
  width: 100%;
}

.card-accent-ialki {
  background: var(--accent-italki);
}

.card-accent-fiverr {
  background: var(--accent-fiverr);
}

.card-content {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.card-content h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-align: center;
}

.service-image {
  display: block;
  width: min(180px, 68%);
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #f8fafc;
}

.card-content p {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 50px;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  margin: 0 auto;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.button-ialki {
  background: var(--accent-italki);
}

.button-fiverr {
  background: var(--accent-fiverr);
}

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-column {
  display: grid;
  gap: 1.5rem;
}

.review-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  height: 100%;
}

.review-ialki {
  background: linear-gradient(180deg, #fffaf9 0%, var(--accent-italki-soft) 100%);
  border-color: rgba(224, 67, 54, 0.22);
}

.review-fiverr {
  background: linear-gradient(180deg, #fafffc 0%, var(--accent-fiverr-soft) 100%);
  border-color: rgba(20, 138, 100, 0.22);
}

.review-panel p {
  line-height: 1.7;
}

.panel-head {
  margin-bottom: 0.8rem;
}

.panel-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.panel-logo-ialki {
  background: var(--accent-italki);
}

.panel-logo-fiverr {
  background: var(--accent-fiverr);
}

.review-panel p {
  margin: 0;
  color: var(--text-soft);
  text-align: center;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--text-main);
}

.contact-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.email-link {
  display: inline-block;
  margin: 0.25rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-main);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.socials a {
  min-width: 110px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--text-main);
  font-weight: 600;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 767px) {
  .hero {
    padding-bottom: 0.25rem;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-image {
    display: block;
    width: min(100%, 420px);
    margin: 0 auto 0.25rem;
  }

  .hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
  }

  .about-content {
    order: 1;
  }

  .about-credentials {
    order: 2;
  }

  .about-content h2,
  .about-credentials h3 {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero-copy {
    flex: 1 1 0;
    text-align: center;
  }

  .hero-image {
    display: block;
    flex: 1 1 0;
    max-width: 480px;
    margin-left: auto;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 28px;
  }

  .about-grid {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
    align-items: stretch;
  }

  .about-panel,
  .about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .about-photo img {
    min-height: 100%;
    max-height: 420px;
  }

  .services-grid,
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    gap: 1.5rem;
    align-items: start;
  }

  .review-column {
    display: grid;
    gap: 1.5rem;
  }
}


.btn {
  /* Zachowaj swoje dotychczasowe kolory, padding itp. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  /* 1. Domyślny cień i płynność reakcji */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 2. Najedchanie myszką — uniesienie o 3px i miękki cień */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* 3. Moment kliknięcia — przycisk delikatnie ugina się pod palcem */
.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.privacy-policy {
  width: min(var(--container-width), calc(100% - 2rem));
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  margin: 1.25rem auto;
}

.privacy-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.privacy-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.privacy-updated {
  margin: 0;
  color: var(--text-soft);
  font-weight: 600;
}

.privacy-content {
  max-width: 820px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin: 2.5rem 0 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.privacy-content h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-soft);
}

.privacy-content p {
  margin: 0 0 1rem;
}

.privacy-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.3rem;
}

.privacy-content li {
  margin-bottom: 0.55rem;
}

.privacy-content strong {
  color: var(--text-main);
}

.privacy-back {
  display: inline-flex;
  margin-top: 2.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  background: var(--text-main);
  color: #ffffff;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-back:hover,
.privacy-back:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}