
/* =========================
   TOKENS & GLOBAL
   ========================= */

:root {
  --neutral-50:  #F5F6F9;
  --neutral-100: #E6E9F0;
  --neutral-200: #D7DBE6;
  --neutral-300: #C9CEDD;
  --neutral-400: #BAC1D4;
  --neutral-500: #9CA6C1;
  --neutral-600: #818EB0;
  --neutral-700: #546286;
  --neutral-800: #323B50;
  --neutral-900: #11141B;

  --primary-50:  #F4F8FF;
  --primary-100: #DEEAFF;
  --primary-200: #BCD6FF;
  --primary-300: #9BC1FF;
  --primary-400: #7AADFF;
  --primary-500: #FE730A;
  --primary-600: #0060FC;
  --primary-700: #0045B4;
  --primary-800: #00296C;
  --primary-900: #000E24;

  --secondary-50:  #FEF4F5;
  --secondary-100: #FDDFE1;
  --secondary-200: #FCC0C3;
  --secondary-300: #FAA0A5;
  --secondary-400: #F88088;
  --secondary-500: #F42C38;
  --secondary-600: #F00C1A;
  --secondary-700: #AB0913;
  --secondary-800: #67050B;
  --secondary-900: #220204;

  --white: #FFFFFF;
  --black: #000000;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 45px rgba(0, 14, 36, 0.16);
  --shadow-card: 0 12px 24px rgba(17, 20, 27, 0.08);

  --container-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--neutral-900);
  background-color: var(--white);
  line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

.container {
  width: min(var(--container-width), 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section--light {
  background-color: var(--neutral-50);
}

.section__header {
  margin-bottom: 2.5rem;
}

.section__header--center {
  text-align: center;
}

.section__title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--neutral-900);
}

.section__text {
  margin-top: 0.75rem;
  color: var(--neutral-600);
  font-size: 16px;
  line-height: 19px;
}

.section__text--narrow {
  max-width: 640px;
  margin-inline: auto;
}

.eyebrow {
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

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

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.9rem;
  box-shadow: var(--shadow-card);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(0, 14, 36, 0.35);
}

.btn--accent {
  background: var(--primary-500);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn--accent:hover {
  background: #ff8b32;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--full {
  width: 100%;
}

.text-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-600);
}

.divider {
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.4);
}

.topbar {
  background-color: var(--primary-900);
  color: var(--white);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
  gap: 1rem;
}

.topbar__info {
  opacity: 0.9;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__contact a {
  color: var(--white);
  opacity: 0.9;
}

.topbar__contact a:hover {
  opacity: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, var(--primary-900), var(--primary-800));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.logo__mark {
  color: var(--primary-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__link {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.nav__link--active,
.nav__link:hover {
  color: #ffffff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--white);
}

.hero {
  position: relative;
  padding: 4rem 0 5rem;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(0, 14, 36, 0.95), rgba(0, 41, 108, 0.8)),
    url("assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: flex-start;
}

.hero__title {
  font-size: 48px;
  line-height: 58px;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 23px;
  max-width: 520px;
  opacity: 0.9;
}

.hero__cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-form {
  background-color: var(--white);
  color: var(--neutral-900);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  max-width: 520px;
  margin-left: auto;
}

.hero-form__eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-600);
}

.hero-form__title {
  font-size: 24px;
  line-height: 30px;
  margin-top: 0.4rem;
  margin-bottom: 1.3rem;
}

.form__row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 13px;
  color: var(--neutral-700);
  font-weight: 500;
}

input,
textarea {
  font: inherit;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input:focus,
textarea:focus {
  border-color: var(--primary-600);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 96, 252, 0.15);
}

.grid--services .service-card {
  text-align: left;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background-color: var(--primary-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 24px;
}

.service-card__title {
  margin-top: 1.1rem;
  font-size: 20px;
  line-height: 24px;
}

.service-card__text {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 18px;
  color: var(--neutral-600);
  margin-bottom: 0.8rem;
}

.section--split {
  background-color: var(--neutral-50);
}

.section--split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.section--split__content .section__title {
  margin-bottom: 0.8rem;
}

.section--split__content .section__text {
  margin-bottom: 1.2rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--neutral-700);
  margin-bottom: 0.35rem;
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: #dcfce7;
  border: 1px solid #16a34a;
}

.img-placeholder {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 14px;
}

.img-placeholder--sink {
  height: 260px;
}

.billing-toggle {
  margin-top: 1.3rem;
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background-color: var(--neutral-100);
}

.billing-toggle__btn {
  border: none;
  background: transparent;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 14px;
  cursor: pointer;
  color: var(--neutral-600);
}

.billing-toggle__btn--active {
  background-color: var(--white);
  color: var(--primary-600);
  box-shadow: 0 4px 10px rgba(17, 20, 27, 0.12);
}

.grid--pricing .pricing-card__title {
  font-size: 20px;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 16px;
  color: var(--neutral-700);
  margin-bottom: 1rem;
}

.pricing-card__price span {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-600);
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  font-size: 14px;
  color: var(--neutral-600);
}

.pricing-card__list li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.pricing-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-600);
}

.pricing-card--featured {
  border: 2px solid var(--primary-600);
  box-shadow: 0 18px 40px rgba(0, 96, 252, 0.2);
}

.projects-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.projects-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.project-card {
  min-width: 260px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-card);
}

.project-card__image {
  height: 170px;
}

.project-card__content {
  padding: 1.2rem 1.5rem 1.5rem;
}

.project-card__tag {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: 0.3rem;
}

.project-card__title {
  font-size: 18px;
}

.slider__arrow {
  border-radius: 999px;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  color: var(--primary-700);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.tabs {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.tabs__btn {
  border-radius: 999px;
  border: 1px solid var(--neutral-200);
  padding: 0.4rem 1.3rem;
  font-size: 14px;
  background: var(--white);
  cursor: pointer;
  color: var(--neutral-700);
}

.tabs__btn--active {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
}

.stats-bar {
  position: relative;
  padding: 3rem 0;
  color: var(--white);
  background-image: url("assets/img/stats-bg.jpg");
  background-size: cover;
  background-position: center;
}

.stats-bar__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 14, 36, 0.92), rgba(0, 41, 108, 0.85));
}

.stats-bar__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.stats-bar__text h2 {
  font-size: 28px;
  line-height: 34px;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-item__value {
  font-size: 24px;
  font-weight: 700;
}

.stat-item__label {
  font-size: 13px;
  opacity: 0.85;
}

.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: center;
}

.img-placeholder--round {
  border-radius: 999px;
  width: 240px;
  height: 240px;
  margin-inline: auto;
}

.testimonial__text {
  margin-top: 1rem;
  font-size: 16px;
  line-height: 19px;
  color: var(--neutral-600);
}

.testimonial__author {
  margin-top: 0.9rem;
  font-weight: 600;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.faq-item {
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  padding: 0.85rem 1rem;
  background-color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.faq-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 15px;
  font-weight: 500;
}

.faq-item__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.faq-item__body {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--neutral-600);
  display: none;
}

.faq-item.active {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-card);
}

.faq-item.active .faq-item__body {
  display: block;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-cta {
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-lg);
  background-color: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.faq-cta__text h3 {
  font-size: 20px;
  margin-bottom: 0.2rem;
}

.faq-cta__text p {
  font-size: 14px;
  color: var(--neutral-600);
}

.contact-cta {
  background-color: var(--neutral-900);
  color: var(--white);
}

.contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: flex-start;
}

.contact-cta__info h2 {
  font-size: 28px;
  margin-bottom: 0.5rem;
}

.contact-cta__info p {
  font-size: 16px;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.contact-list li {
  margin-bottom: 0.45rem;
}

.contact-list a {
  color: var(--primary-100);
}

.newsletter h3 {
  font-size: 20px;
  margin-bottom: 0.4rem;
}

.newsletter p {
  font-size: 14px;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter__form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-pill);
  border: none;
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.footer {
  background-color: #050711;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 2rem;
  font-size: 14px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer__logo {
  margin-bottom: 0.6rem;
}

.footer__text {
  max-width: 360px;
  margin-bottom: 1rem;
}

.footer__heading {
  font-size: 16px;
  margin-bottom: 0.7rem;
  color: #ffffff;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.35rem;
}

.footer__links a:hover {
  color: var(--primary-100);
}

.footer__copy {
  margin-top: 0.7rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-form {
    margin: 2rem auto 0;
    max-width: 480px;
  }

  .section--split__inner,
  .stats-bar__inner,
  .contact-cta__inner,
  .testimonial {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 767px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header__inner {
    padding-block: 0.7rem;
  }

  .nav {
    position: absolute;
    inset: 64px 0 auto 0;
    flex-direction: column;
    padding: 0.85rem 1.7rem 1.1rem;
    background: linear-gradient(90deg, var(--primary-900), var(--primary-800));
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav.nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header__actions .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 19px;
  }

  .form__row {
    flex-direction: column;
  }

  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-bar__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter__form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
