/* ========================================
   BASE
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: #141414;
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}


/* ========================================
   NAVBAR
======================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
  height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: #5865f2;
}

.nav-links {
  display: flex;
  gap: 38px;
}

.nav-links a {
  color: #777;
  font-size: 14px;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111;
}

.nav-button {
  border: 1px solid #dedede;
  padding: 11px 18px;
  border-radius: 100px;

  font-size: 13px;
  font-weight: 600;

  transition: 0.25s;
}

.nav-button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.menu-button {
  display: none;

  background: none;
  border: none;

  font-size: 24px;
}


/* ========================================
   HERO
======================================== */

.hero {
  min-height: 760px;

  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;

  padding-top: 40px;
}

.hero-glow {
  position: absolute;

  width: 650px;
  height: 650px;

  border-radius: 50%;

  right: -200px;
  top: -200px;

  background: rgba(88, 101, 242, 0.08);

  filter: blur(20px);
}

.eyebrow,
.section-label {
  font-size: 11px;

  font-weight: 600;

  letter-spacing: 2px;

  color: #777;
}

.hero h1,
.page-hero h1,
.contact-intro h1 {
  max-width: 900px;

  margin-top: 24px;

  font-size: clamp(56px, 8vw, 100px);

  line-height: 0.98;

  letter-spacing: -6px;

  font-weight: 500;
}

.hero h1 span,
.page-hero h1 span,
.contact-intro h1 span {
  color: #9a9a9a;
}

.hero-description {
  max-width: 550px;

  margin-top: 35px;

  color: #696969;

  font-size: 18px;
}

.hero-buttons {
  display: flex;

  gap: 12px;

  margin-top: 42px;
}


/* ========================================
   BUTTON
======================================== */

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 15px;

  padding: 15px 22px;

  border-radius: 100px;

  font-size: 14px;

  transition: 0.25s;
}

.button-primary {
  background: #111;
  color: #fff;
}

.button-primary:hover {
  background: #5865f2;
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid #ddd;
}

.button-secondary:hover {
  border-color: #999;
}

.button-white {
  background: white;
  color: #111;
}

.button-white:hover {
  transform: translateY(-2px);
}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
  padding: 130px 0;
}

.section-light {
  background: #f7f7f5;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}

.section-number {
  color: #999;
  font-size: 13px;
  margin-bottom: 25px;
}

.section h2 {
  font-size: clamp(40px, 5vw, 62px);

  line-height: 1.05;

  letter-spacing: -3px;

  font-weight: 500;
}

.large-copy {
  font-size: clamp(30px, 4vw, 48px);

  line-height: 1.15;

  color: #777;

  letter-spacing: -2px;
}


/* ========================================
   SERVICES
======================================== */

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-bottom: 65px;
}

.section-header h2 {
  margin-top: 14px;
}

.section-header p {
  max-width: 380px;

  color: #777;
}

.service-grid {
  border-top: 1px solid #ddd;
}

.service-card {
  min-height: 190px;

  display: grid;

  grid-template-columns: 100px 1fr auto;

  align-items: center;

  gap: 30px;

  border-bottom: 1px solid #ddd;

  transition: 0.3s;
}

.service-card:hover {
  padding-left: 20px;
}

.service-index {
  color: #999;
  font-size: 12px;
}

.service-card h3 {
  font-size: 28px;

  margin-bottom: 9px;

  font-weight: 500;
}

.service-card p {
  color: #777;

  max-width: 500px;
}

.card-arrow {
  font-size: 25px;
}


/* ========================================
   PAGE HERO
======================================== */

.page-hero {
  min-height: 650px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid #eee;
}

.page-hero p {
  max-width: 520px;

  margin-top: 35px;

  color: #777;

  font-size: 18px;
}


/* ========================================
   ABOUT
======================================== */

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;
}

.about-grid h2 {
  margin-top: 18px;
}

.about-copy {
  padding-top: 34px;
}

.about-copy p {
  font-size: 20px;

  color: #676767;

  margin-bottom: 30px;
}

.principles {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  margin-top: 60px;

  gap: 60px;
}

.principles article {
  border-top: 1px solid #d5d5d5;

  padding-top: 26px;
}

.principles span {
  font-size: 12px;

  color: #999;
}

.principles h3 {
  margin: 40px 0 14px;

  font-size: 25px;

  font-weight: 500;
}

.principles p {
  color: #777;
}

.stats-section {
  padding: 100px 0;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.stats-grid strong {
  font-size: 48px;

  font-weight: 500;

  letter-spacing: -2px;
}

.stats-grid span {
  color: #777;
  font-size: 13px;
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
  padding: 130px 0;
}

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 0.8fr;

  gap: 100px;
}

.contact-intro h1 {
  font-size: clamp(52px, 7vw, 85px);
}

.contact-intro > p {
  margin-top: 30px;

  max-width: 450px;

  font-size: 18px;

  color: #777;
}

.contact-info {
  margin-top: 80px;

  display: grid;

  gap: 30px;
}

.contact-info div {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.contact-info span {
  font-size: 10px;

  color: #999;

  letter-spacing: 1.5px;
}

.contact-info a,
.contact-info p {
  font-size: 16px;
}

.contact-card {
  background: #f7f7f5;

  padding: 45px;

  border-radius: 20px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;

  margin-bottom: 9px;

  font-size: 13px;

  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;

  padding: 14px 0;

  border: none;

  border-bottom: 1px solid #d5d5d5;

  background: transparent;

  outline: none;

  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #111;
}

.form-button {
  width: 100%;

  border: none;

  margin-top: 8px;
}

.form-message {
  margin-top: 18px;

  font-size: 13px;

  text-align: center;
}


/* ========================================
   CTA
======================================== */

.cta-section {
  padding: 130px 0;

  background: #111;

  color: white;
}

.cta-content > span {
  color: #777;

  letter-spacing: 2px;

  font-size: 11px;
}

.cta-content h2 {
  margin: 25px 0 45px;

  font-size: clamp(45px, 6vw, 78px);

  line-height: 1;

  letter-spacing: -4px;

  font-weight: 500;
}


/* ========================================
   FOOTER
======================================== */

footer {
  padding: 40px 0;
}

.footer-content {
  display: flex;

  align-items: center;
  justify-content: space-between;

  font-size: 13px;
}

.footer-content p {
  color: #999;
}

.social-links {
  display: flex;

  gap: 24px;
}

.social-links a {
  color: #777;

  transition: 0.2s;
}

.social-links a:hover {
  color: #111;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {

  .container {
    width: min(100% - 32px, 1180px);
  }


  /* Navigation */

  .nav-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;

    left: 16px;
    right: 16px;

    top: 72px;

    background: white;

    border: 1px solid #eee;

    border-radius: 15px;

    padding: 20px;

    display: none;

    flex-direction: column;

    gap: 22px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }


  /* Hero */

  .hero {
    min-height: 650px;
  }

  .hero h1,
  .page-hero h1,
  .contact-intro h1 {
    letter-spacing: -3px;
  }


  /* Layout */

  .section {
    padding: 90px 0;
  }

  .split-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .section-header {
    align-items: flex-start;

    flex-direction: column;

    gap: 30px;
  }


  /* Services */

  .service-card {
    grid-template-columns: 40px 1fr auto;

    min-height: 180px;
  }


  /* Principles */

  .principles {
    grid-template-columns: 1fr;

    gap: 50px;
  }


  /* Stats */

  .stats-grid {
    grid-template-columns: 1fr 1fr;

    gap: 50px;
  }


  /* Contact */

  .contact-section {
    padding: 90px 0;
  }

  .contact-info {
    margin-top: 50px;
  }

  .contact-card {
    padding: 28px;
  }


  /* Footer */

  .footer-content {
    align-items: flex-start;

    flex-direction: column;

    gap: 25px;
  }

}


@media (max-width: 500px) {

  .hero h1,
  .page-hero h1,
  .contact-intro h1 {
    font-size: 50px;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .service-card {
    grid-template-columns: 1fr;

    padding: 30px 0;
  }

  .card-arrow {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

}