/* ===== VARIABLES ===== */
:root {
  --yellow: #ffc107;
  --yellow-dark: #e6a700;
  --yellow-soft: #fff8e1;
  --black: #111111;
  --black-soft: #1d1d1d;
  --gray: #6b7280;
  --gray-light: #f5f6f8;
  --border: #ececec;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}



/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
}

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

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--black-soft);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--black);
}

.btn--ghost:hover {
  color: var(--yellow-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--black);
}

.btn--outline:hover {
  border-color: var(--yellow);
  background: var(--yellow-soft);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
  padding: 8px 0;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  width: 250px;
}

.logo img {
  height: 80px;
  position: absolute;
  top: -20px;
  left: 0px;
  z-index: 6;
}

.logo__mark {
  width: 38px;
  height: 38px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.rotate-animantion {
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.footer-logo {
  position: relative;
  height: 130px;
}

.footer-logo img {
  position: absolute;
}

.logo__accent {
  color: var(--yellow-dark);
}

.logo--light {
  color: var(--white);
}

.logo--light .logo__accent {
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav__link {
  font-weight: 500;
  color: #333;
  position: relative;
  padding: 4px 0;
  font-size: 15px;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.2s;
}

.nav__link:hover {
  color: var(--black);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__actions .btn {
  padding: 8px 16px;
  font-weight: 600;
  font-size: 15px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
  color: var(--white);

  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.25), transparent 70%);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}



.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 193, 7, 0.15);
  color: var(--yellow);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 15px;
}

.hero__title .hl {
  color: var(--yellow);
}

.hero__text {
  font-size: 16px;
  color: #cfcfcf;
  margin-bottom: 32px;
}

.banner-img {
  max-width: 750px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: url("../images/banner-bg.png") no-repeat;
  background-size: contain;
  background-position: bottom center;


}

.animation-float {
  animation: float 3000ms linear 500ms infinite alternate both;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(20px);
  }
}


/* search */
.search {
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.search__field i {
  color: var(--gray);
}

.search__field--loc {
  flex: 0 0 30%;
  border-left: 1px solid var(--border);
}

.search__field input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 0;
  color: var(--black);
}

.search__btn {
  flex-shrink: 0;
}

.hero__tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero__tags span {
  color: #aaa;
  font-size: 14px;
}

.hero__tags a {
  font-size: 14px;
  color: #ddd;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: 50px;
  transition: all 0.2s;
}

.hero__tags a:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* hero stats */
.hero__stats {
  display: flex;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--yellow);
  line-height: normal;
}

.stat span {
  color: #bbb;
  font-size: 15px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gray-light);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 20px;
}

.section__head--center {
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--yellow-dark);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.section__sub {
  color: var(--gray);
  margin-top: 10px;
  font-size: 16px;
}

.star {
  color: var(--yellow);
  font-size: 14px;
}

/* ===== CATEGORIES ===== */
/* .cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
} */

.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  margin: 10px 0;
}

.cat-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.cat-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--yellow-soft);
  color: var(--yellow-dark);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  transition: all 0.25s;
}

.cat-card:hover .cat-card__icon {
  background: var(--yellow);
  color: var(--black);
}

.cat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0px;
}

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

/* ===== SERVICES ===== */
.service-grid {
  /* display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  */
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  margin: 10px 0;
}

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

.service-card__img {
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.service-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}

.service-card__fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--black);
  cursor: pointer;
}

.service-card__fav:hover {
  background: var(--yellow);
}

.service-card__body {
  padding: 18px;
}

.service-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}

.service-card__rating .star {
  font-size: 13px;
}

.service-card .service-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 48px;
}

.service-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.service-card__provider {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.service-card__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.service-card__price {
  font-weight: 800;
  font-size: 18px;
}

.service-card__price small {
  color: var(--gray);
  font-weight: 500;
  font-size: 13px;
}

/* ===== HOW IT WORKS ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.how-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.25s;
}

.how-step:hover {
  box-shadow: var(--shadow);
  border-color: var(--yellow);
}

.how-step__num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 40px;
  font-weight: 800;
  color: var(--yellow-soft);
}

.how-step__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: var(--black);
  color: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.how-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-step p {
  color: var(--gray);
}

/* ===== BANNER ===== */
.banner {
  background: var(--yellow);
  padding: 70px 0;
}

.banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.banner__content {
  max-width: 560px;
}

.banner__content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}

.banner__content p {
  font-size: 17px;
  color: #3a3a2e;
  margin-bottom: 26px;
}

.banner__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.bstat {
  text-align: center;
}

.bstat i {
  font-size: 26px;
  background: var(--black);
  color: var(--yellow);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

.bstat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
}

.bstat span {
  color: #3a3a2e;
  font-size: 14px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-swiper {
  padding: 10px 4px 60px;
}

.testimonial-swiper .swiper-slide {
  height: auto;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
}

.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--black);
  border: none;
}

.testimonial-swiper .swiper-button-prev:after,
.testimonial-swiper .swiper-button-next:after {
  font-size: 16px;
  font-weight: 700;
}

.testimonial-swiper .swiper-pagination-bullet {
  background: var(--black);
  opacity: .25;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--yellow);
  opacity: 1;
}

.testimonial__quote {
  font-size: 40px;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  display: none;
}

.testimonial__stars {
  color: var(--yellow);
  margin-bottom: 14px;
}

.testimonial p {
  color: #444;
  margin-bottom: 22px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonial__author strong {
  display: block;
  font-size: 15px;
}

.testimonial__author span {
  color: var(--gray);
  font-size: 13px;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-card__date {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.blog-card__date i {
  color: var(--yellow-dark);
  margin-right: 5px;
}

.blog-card__body {
  padding: 22px;
}

.blog-card__tag {
  color: var(--yellow-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 8px 0 12px;
  line-height: 1.4;
}

.blog-card a.read {
  color: var(--black);
  font-weight: 600;
  font-size: 14px;
}

.blog-card a.read:hover {
  color: var(--yellow-dark);
}

.blog-card a.read i {
  transition: transform 0.2s;
}

.blog-card a.read:hover i {
  transform: translateX(4px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: #bbb;
  padding: 70px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.6fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  margin: 18px 0;
  max-width: 280px;
  font-size: 15px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ddd;
  transition: all 0.2s;
}

.socials a:hover {
  background: var(--yellow);
  color: var(--black);
}

.footer__col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
}

.footer__col a {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--yellow);
}

.footer__news p {
  font-size: 15px;
  margin-bottom: 16px;
}

.news {
  display: flex;
  gap: 8px;
}

.news input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font);
  outline: none;
}

.news input::placeholder {
  color: #888;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__brand,
  .footer__news {
    grid-column: span 3;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero__inner {
    padding: 45px 0;
  }

  .nav--open {
    display: flex;
    position: absolute;
    top: 53px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 35px 20px 20px 20px;
    gap: 14px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
  }

  .nav__toggle {
    display: block;
  }

  .header__actions .btn--ghost {
    display: none;
  }

  .hero__badge {
    margin-bottom: 14px;
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__tags span {
    font-size: 12px;
  }

  .hero__tags a {
    font-size: 12px;
    padding: 5px 10px;
  }

  .banner-img {
    display: none;
  }

  .search {
    flex-direction: column;
  }

  .search__field--loc {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .how-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

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

  .eyebrow {
    font-size: 12px;
  }

  .section__title {
    font-size: 18px;
  }

  .section {
    padding: 40px 0;
  }

  .section__head .btn {
    padding: 6px 10px;
    font-weight: 600;
    font-size: 12px;
  }

  .cat-card {
    padding: 15px;
    margin: 8px 0;
  }

  .cat-card__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 9px;
    border-radius: 8dvh;
    font-size: 16px;
    transition: all 0.25s;
  }

  .cat-card h3 {
    font-size: 14px;
  }

  .banner__stats {
    gap: 30px;
  }
}

@media (max-width: 540px) {

  .cat-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 28px;
  }

  .stat strong {
    font-size: 26px;
  }

  .section__head {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand,
  .footer__news {
    grid-column: span 2;
  }
}