@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #2457e6;
  --dark: #17213a;
  --muted: #667085;
  --light: #f4f7ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  gap: 24px;
  background: var(--white);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.logo span,
.hero h1 span {
  color: var(--blue);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav a {
  font-size: 13px;
  font-weight: 600;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  min-height: 490px;
  padding: 75px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  background: linear-gradient(120deg, #f5f8ff, #e8efff);
}

.hero-content {
  max-width: 560px;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.hero-text {
  max-width: 470px;
  color: var(--muted);
  margin: 22px 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 21px;
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: #1945c6;
}

.btn-outline {
  border: 1px solid #cbd5e9;
  background: var(--white);
}

.note {
  margin-top: 23px;
  font-size: 12px;
  color: var(--muted);
}

.hero-art {
  min-width: 220px;
  width: 280px;
  height: 270px;
  background: #d7e3ff;
  border-radius: 45% 45% 25% 25%;
  display: grid;
  place-items: center;
  position: relative;
}

.paper {
  position: absolute;
  width: 155px;
  height: 195px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 15px 30px #22345c20;
}

.paper-back {
  transform: rotate(10deg);
  background: #b8cbff;
}

.paper-front {
  padding: 22px;
  transform: rotate(-5deg);
}

.paper-logo {
  font-size: 25px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
}

.paper-line {
  height: 6px;
  border-radius: 5px;
  background: #dce3f2;
  margin: 10px 0;
}

.paper-line.short {
  width: 60%;
}

.paper-block {
  height: 48px;
  margin: 13px 0;
  background: #e8eeff;
  border-radius: 5px;
}

.print-badge {
  position: absolute;
  bottom: 15px;
  right: -12px;
  padding: 10px 13px;
  border-radius: 8px;
  background: white;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 20px #22345c15;
}

.section,
.order-section {
  padding: 75px 8%;
}

.section-heading {
  text-align: center;
  margin: 0 auto 38px;
}

.section-heading h2,
.contact-section h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-heading > p:last-child,
.contact-section > p:not(.eyebrow) {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.service-card {
  padding: 27px;
  border: 1px solid #e7ebf3;
  border-radius: 15px;
  background: white;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #182a5010;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: var(--blue);
  border-radius: 12px;
  font-size: 25px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 9px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
}

.price-section {
  background: #ffffff;
}

.price-list {
  max-width: 680px;
  margin: auto;
  padding: 24px;
  border: 1px solid #e7ebf3;
  border-radius: 14px;
  box-shadow: 0 8px 25px #182a5008;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 4px;
  border-bottom: 1px solid #e9edf5;
}

.price-row:last-of-type {
  border-bottom: none;
}

.price-row span {
  font-size: 14px;
}

.price-row strong {
  color: var(--blue);
  font-size: 13px;
  text-align: right;
}

.order-section {
  background: var(--light);
}

.order-form {
  max-width: 580px;
  margin: auto;
  padding: 30px;
  border: 1px solid #e5eaf5;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 35px #182a5008;
}

.order-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 17px 0 7px;
}

.order-form label:first-child {
  margin-top: 0;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 12px;
  font: inherit;
  font-size: 14px;
  color: var(--dark);
  border: 1px solid #d9dfeb;
  border-radius: 8px;
  background: white;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: 2px solid #b9caff;
  border-color: var(--blue);
}

.order-form input[type="file"] {
  padding: 10px;
}

.small-text,
.file-list,
.form-message {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.full-width {
  width: 100%;
  margin-top: 22px;
}

.contact-section {
  text-align: center;
  padding: 75px 8%;
  background: var(--dark);
  color: white;
}

.contact-section .eyebrow {
  color: #a8beff;
}

.contact-section > p:not(.eyebrow) {
  color: #c1c9d9;
  margin-bottom: 23px;
}

.contact-details {
  margin: 25px 0;
}

.contact-details p {
  color: #e1e7f4;
  font-size: 14px;
  margin: 8px 0;
}

.btn-light {
  background: white;
  color: var(--dark);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 23px 8%;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .navbar {
    flex-direction: column;
    padding: 18px 5%;
  }

  nav {
    justify-content: center;
    gap: 12px 16px;
  }

  .hero {
    padding: 55px 7%;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-art {
    align-self: center;
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .order-section {
    padding: 55px 6%;
  }

  .order-form {
    padding: 22px;
  }
}

@media (max-width: 440px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .price-list {
    padding: 16px;
  }

  .price-row {
    align-items: flex-start;
  }
}