:root {
  --navy: #0f2f4a;
  --blue: #1c7896;
  --cyan: #64ccc5;
  --light: #f5f9fb;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #607080;
  --border: #dbe8ef;
  --shadow: 0 18px 45px rgba(15, 47, 74, 0.12);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(15, 47, 74, 0.2);
}

.logo small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 15px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 47, 74, 0.18);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-light:hover {
  background: var(--light);
  color: var(--navy);
}

.full-btn {
  width: 100%;
  margin-top: 10px;
}

.hero {
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 85% 12%, rgba(100, 204, 197, 0.28), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #e8f4f7 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(28, 120, 150, 0.08);
  color: var(--blue);
  border: 1px solid rgba(28, 120, 150, 0.18);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-text {
  color: var(--muted);
  font-size: 19px;
  max-width: 660px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 690px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.trust-card strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 4px;
}

.trust-card span {
  color: var(--muted);
  font-size: 14px;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.doctor-photo {
  height: 420px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(15, 47, 74, 0.08), rgba(15, 47, 74, 0.08)),
    url("marcin-walkowiak.jpg");
  background-size: cover;
  background-position: center top;
  margin-bottom: 22px;
}

.doctor-card h2 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 6px;
}

.doctor-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.meta {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
}

.section {
  padding: 86px 0;
}

.section-title {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-title span {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.section-title h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 10px 0 16px;
  letter-spacing: -0.8px;
}

.section-title p {
  color: var(--muted);
  font-size: 18px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 30px rgba(15, 47, 74, 0.06);
  transition: 0.2s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(100, 204, 197, 0.18);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-bottom: 18px;
}

.service h3 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 10px;
}

.service p {
  color: var(--muted);
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.about-box {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: 32px;
  padding: 38px;
  box-shadow: 0 18px 45px rgba(15, 47, 74, 0.16);
}

.about-box h3 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.about-box p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 24px;
}

.about-list {
  display: grid;
  gap: 16px;
}

.about-list li {
  list-style: none;
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 17px;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: rgba(100, 204, 197, 0.22);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

.cta {
  padding: 76px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(100, 204, 197, 0.26), transparent 30%),
    linear-gradient(135deg, var(--navy), #123b5d);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  max-width: 760px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(15, 47, 74, 0.06);
}

.contact-card h3,
.form-card h3 {
  color: var(--navy);
  font-size: 26px;
  margin-bottom: 18px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 3px;
}

.contact-item span {
  color: var(--muted);
}

.info-box {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 16px;
  background: #fbfdfe;
}

.info-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.info-box p {
  color: var(--muted);
}

.map {
  height: 330px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 26px;
  background: #dceaf0;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  background: #071f33;
  color: rgba(255, 255, 255, 0.76);
  padding: 34px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

footer strong {
  color: var(--white);
}

.mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .mobile-btn {
    display: block;
  }

  nav {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  nav.active {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-photo {
    height: 360px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding: 58px 0 56px;
  }

  .section {
    padding: 62px 0;
  }

  .trust,
  .services,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .doctor-card,
  .contact-card,
  .form-card {
    padding: 22px;
  }
}