@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #face59;
  --secondary-color: #f8f8f8;
  --text-dark: #111827;
  --text-light: #6b7280;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.section__subheader {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--text-dark);
  background-color: var(--primary-color);
  border-radius: 2px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.3);
}

.btn__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

.btn__link span {
  font-size: 1.2rem;
  transition: 0.3s;
}

.btn__link:hover span {
  transform: translateX(10px);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

nav {
  position: fixed;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: var(--white);
  z-index: 99;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-dark);
}

.brand-logo__mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.18));
}

.brand-logo__text {
  font-family: var(--header-font);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
}

.brand-logo__accent {
  color: #4f46e5;
}

.nav__logo .brand-logo__text {
  font-size: 1.45rem;
}

.nav__links {
  position: absolute;
  left: 0;
  top: 68px;
  padding: 2rem;
  width: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.5s;
  background-color: rgba(255, 255, 255, 0.9);
}

.nav__links.open {
  transform: scaleY(1);
}

.link a {
  font-weight: 500;
  color: var(--text-light);
  transition: 0.3s;
}

.link a:hover {
  color: var(--text-dark);
}

.nav__links .link a {
  color: var(--text-dark);
  opacity: 0;
}

.nav__links.open .link a {
  opacity: 1;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.header__content {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.header__content h1 {
  font-size: 3.5rem;
  font-weight: 500;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.header__content__details p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.header__image {
  margin-top: 4rem;
  display: grid;
  grid-auto-rows: 400px;
  gap: 1rem;
}

.header__image img {
  height: 100%;
  object-fit: cover;
}

.header__image img:last-child {
  display: none;
}

.offer__container {
  padding-top: 2rem;
}

.offer__title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--header-font);
}

.offer__grid {
  display: grid;
  gap: 1rem;
}

.offer__card {
  padding: 2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid #d6e8df;
  border-radius: 24px;
  background-color: #e6f7f1;
}

.offer__card:nth-child(2) {
  background-color: #f9efcc;
  border-color: #ecdca8;
}

.offer__card:nth-child(3) {
  background-color: #eedff7;
  border-color: #dbc7e8;
}

.offer__card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  margin-top: 2px;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-dark);
}

.offer__card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
}

.offer__card p {
  color: var(--text-light);
  line-height: 1.5rem;
}

.about__header {
  display: grid;
  gap: 2rem;
}

.about__image img {
  max-width: 450px;
  margin: auto;
}

.about__content .paragraph {
  margin-block: 2rem;
  color: var(--text-light);
}

.about__grid {
  padding-block: 4rem;
  display: grid;
  gap: 2rem 1rem;
  border-bottom: 1px solid var(--text-light);
}

.about__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about__card span {
  padding: 8px 15px;
  font-size: 1.75rem;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  border-radius: 100%;
}

.about__card h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about__card p {
  color: var(--text-light);
}

.portfolio__header {
  display: grid;
  gap: 2rem;
}

.portfolio__header .paragraph {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.portfolio__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
}

.portfolio__card img {
  max-width: 400px;
  margin-inline: auto;
  border-radius: 5px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.client__header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.swiper {
  margin-top: 4rem;
  width: 100%;
}

.swiper-slide {
  max-width: 500px;
}

.client__card {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 18px;
  background-color: var(--secondary-color);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.client__card--lavender {
  background-color: #ddd6fe;
}

.client__card--mint {
  background-color: #bbf7d0;
}

.client__card--peach {
  background-color: #fecaca;
}

.client__card--blue {
  background-color: #bfdbfe;
}

.client__card img {
  max-width: 70px;
  border-radius: 100%;
}

.client__card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.client__ratings {
  color: goldenrod;
}

.client__card p {
  margin-top: 1rem;
  color: var(--text-light);
}

.news__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem;
}

.news__card {
  display: grid;
  gap: 1rem;
}

.news__card img {
  height: 100%;
  object-fit: cover;
}

.news__card h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.news__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.pricing {
  margin-top: 1.5rem;
  background-color: #ffffff;
  background-image: linear-gradient(
      rgba(15, 23, 42, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}

.pricing__container {
  padding-block: 2.75rem;
  text-align: center;
}

.pricing__subheader {
  color: var(--text-light);
}

.pricing__header {
  color: var(--text-dark);
}

.pricing__grid {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.35rem;
  justify-content: center;
}

.price__card {
  width: 100%;
  max-width: 290px;
  padding: 1.45rem 1rem 1rem;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 24px rgba(0, 0, 0, 0.3);
}

.price__card h3 {
  font-size: 1.65rem;
  font-weight: 600;
  font-family: var(--header-font);
}

.price__card > p {
  margin-top: 0.2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.price__panel {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 0.75rem 0.75rem;
  border-radius: 96px 96px 0 0;
  box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.12);
}

.price__panel::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  height: 150px;
  border-radius: 82px 82px 0 0;
  background: rgba(255, 255, 255, 0.14);
}

.price__panel::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 24px;
  height: 118px;
  border-radius: 68px 68px 0 0;
  background: rgba(255, 255, 255, 0.08);
}

.price__panel > * {
  position: relative;
  z-index: 1;
}

.price__panel h4 {
  margin-bottom: 0.85rem;
  font-size: 2.2rem;
  font-weight: 500;
  font-family: var(--header-font);
  color: var(--white);
}

.price__panel ul {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  text-align: left;
}

.price__panel li {
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 8px;
  font-size: 0.76rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #111827;
}

.price__panel li i {
  color: #374151;
  font-size: 0.82rem;
}

.price__btn {
  margin-top: 0.9rem;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--white);
  background: linear-gradient(145deg, #1a1e27, #06070a);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.price__card--essential {
  background: linear-gradient(160deg, #ff8895, #ef4f52);
}

.price__card--essential .price__panel {
  background: linear-gradient(180deg, #aa1119 0%, #84050a 100%);
}

.price__card--growth {
  max-width: 305px;
  padding-top: 1.95rem;
  padding-bottom: 1.3rem;
  z-index: 2;
  background: linear-gradient(160deg, #f9d78d, #efb24f);
}

.price__card--growth .price__panel {
  min-height: 392px;
  padding-top: 1.15rem;
  padding-bottom: 1rem;
  background: linear-gradient(180deg, #bb7d05 0%, #986201 100%);
}

.price__card--startup {
  background: linear-gradient(160deg, #8fd4ff, #4f94f2);
}

.price__card--startup .price__panel {
  background: linear-gradient(180deg, #0f4c98 0%, #003c8e 100%);
}

.contact {
  background-color: transparent;
  padding: 1rem;
}

.contact__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
  border-radius: 24px;
}

.contact__container .section__header {
  max-width: 800px;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--white);
}

.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__col h5 a {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.footer__col h5 .brand-logo__text {
  font-size: 1.35rem;
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.footer__col p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer__col form {
  margin-bottom: 2rem;
  padding: 10px;
  display: flex;
  align-items: center;
  border: 1px solid var(--text-light);
  border-radius: 5px;
}

.footer__col input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1rem;
}

.footer__col button {
  outline: none;
  border: none;
  font-size: 1.25rem;
  color: var(--primary-color);
  background-color: transparent;
  cursor: pointer;
}

.footer__socials h4 {
  margin-bottom: 5px;
}

.footer__socials div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  font-size: 1.75rem;
  color: var(--text-dark);
}

.footer__socials a:hover {
  color: var(--primary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

@media (width > 480px) {
  .offer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 1rem;
  }

  .news__card {
    grid-auto-rows: 1fr;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, minmax(220px, 290px));
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    box-shadow: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    width: fit-content;
    flex-direction: row;
    transform: none;
  }

  .nav__links .link a {
    opacity: 1;
  }

  .nav__menu__btn {
    display: none;
  }

  .header__content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    align-items: center;
  }

  .header__image {
    grid-template-columns: 2fr 1fr;
  }

  .header__image img:last-child {
    display: flex;
  }

  .about__header {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .offer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .portfolio__header {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client__header {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .news__card {
    grid-auto-rows: auto;
  }

  .news__card:first-child {
    grid-area: 1/1/3/2;
  }

  .news__card:not(:first-child) {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .pricing__grid {
    grid-template-columns: minmax(220px, 290px) minmax(250px, 305px) minmax(220px, 290px);
    align-items: center;
    column-gap: 1.8rem;
    row-gap: 1rem;
  }

  .contact__container {
    padding: 5rem 4rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .header__image {
    gap: 2rem;
  }

  .portfolio__grid {
    gap: 2rem;
  }

  .news__grid {
    gap: 4rem;
  }

  .news__card {
    gap: 2rem;
  }
}
