
* {
  box-sizing: border-box;
}

:root {
  --ink: #493844;
  --muted: #806b79;
  --pink: #d96b9e;
  --rose: #f8e6ef;
  --cream: #fffafc;
  --line: #f0dce6;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Cairo", sans-serif;
  line-height: 1.8;
}

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

.topbar {
  max-width: 1120px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
}

.logo span {
  color: var(--pink);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  max-width: 1120px;
  margin: 32px auto 110px;
  padding: 55px 7%;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  min-height: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
}

.eyebrow {
  color: var(--pink);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.35;
  margin: 0 0 18px;
  font-weight: 800;
}

h1 span,
h2 span {
  color: var(--pink);
}

.intro {
  max-width: 510px;
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 28px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--ink);
  color: #fff;
  padding: 12px 23px;
  border-radius: 999px;
  font-size: 14px;
  transition: .2s;
}

.primary-btn:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.hero-art {
  height: 300px;
  position: relative;
  border-radius: 28px;
  background: linear-gradient(140deg, #f8dce9, #f3c9dd, #fbeaf1);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sun {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #fff4f8;
}

.flower {
  position: relative;
  font-size: 150px;
  color: #d96b9e;
  text-shadow: 8px 12px 0 #e99aba;
}

.art-note {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-size: 10px;
  letter-spacing: 3px;
  color: #9d577a;
}

.section {
  max-width: 1120px;
  margin: 0 auto 110px;
  padding: 0 28px;
}

.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: 34px;
  margin: 0 0 8px;
}

.section-heading > p:last-child {
  color: var(--muted);
}

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

.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: .25s;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px #6c3b5512;
}

.mockup {
  height: 210px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.mockup > span {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 12px;
  color: #9e6a84;
}

.mockup-one {
  background: #f7e2eb;
}

.mock-window {
  width: 68%;
  height: 130px;
  background: #fff;
  border-radius: 12px;
  padding: 13px;
  box-shadow: 0 12px 25px #8c55701c;
}

.mock-window i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e7a6c1;
  margin-left: 4px;
}

.mock-window b {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 23px;
  line-height: 1.4;
  color: #b65e86;
}

.mockup-two {
  background: #f2e8ee;
}

.mini-card {
  background: #fff;
  width: 65%;
  height: 135px;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  box-shadow: 8px 8px 0 #dfb7ca;
  transform: rotate(-4deg);
}

.mini-card strong {
  display: block;
  font-size: 21px;
  line-height: 1.4;
  color: #8e5573;
}

.mini-card small {
  color: #b77b98;
  font-size: 10px;
}

.mockup-three {
  background: #f4dce8;
}

.circle-art {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #c56591;
  font-family: Georgia, serif;
  font-size: 48px;
  box-shadow: 0 0 0 12px #ffffff55;
}

.line-art {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #d98bae;
  border-radius: 50%;
  transform: scaleX(1.6) rotate(35deg);
}

.card-body {
  padding: 20px 22px 24px;
}

.tag {
  font-size: 11px;
  color: var(--pink);
  background: #fff0f6;
  padding: 5px 11px;
  border-radius: 30px;
}

.card-body h3 {
  font-size: 18px;
  margin: 12px 0 5px;
}

.card-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.note {
  text-align: center;
  font-size: 12px;
  color: #9a8290;
  margin-top: 20px;
}

.about {
  max-width: 1064px;
  margin: 0 auto 100px;
  padding: 42px 55px;
  display: flex;
  align-items: center;
  gap: 35px;
  background: #f8e8ef;
  border-radius: 28px;
}

.about-mark {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--pink);
  font-size: 54px;
  flex-shrink: 0;
}

.about h2 {
  font-size: 28px;
}

.about p:last-child {
  color: var(--muted);
  margin: 0;
}

.contact {
  text-align: center;
  padding: 65px 20px 80px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.contact > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 24px;
}

footer {
  max-width: 1120px;
  margin: auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  color: #9b8793;
  font-size: 12px;
}

@media (max-width: 760px) {
  .topbar {
    padding: 16px 20px;
  }

  nav {
    gap: 12px;
    font-size: 11px;
  }

  .hero {
    margin: 18px 14px 75px;
    padding: 32px 24px;
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-art {
    height: 230px;
  }

  .flower {
    font-size: 120px;
  }

  .section {
    padding: 0 16px;
    margin-bottom: 75px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mockup {
    height: 190px;
  }

  .about {
    margin: 0 14px 70px;
    padding: 28px 23px;
    gap: 18px;
    align-items: flex-start;
  }

  .about-mark {
    width: 65px;
    height: 65px;
    font-size: 36px;
    border-radius: 18px;
  }

  .about h2 {
    font-size: 23px;
  }

  .contact {
    padding: 50px 18px 60px;
  }

  footer {
    padding: 18px;
    gap: 10px;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  nav {
    gap: 8px;
  }

  .logo {
    font-size: 25px;
  }
}
