@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #17201d;
  --muted: #66706b;
  --paper: #f3f0e9;
  --paper-light: #faf8f3;
  --line: #d9d6cf;
  --accent: #ff5b3d;
  --accent-dark: #dc3d24;
  --dark: #172b25;
  --lime: #c7dc88;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(24px, 5vw, 76px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--accent);
  font-size: 17px;
  font-weight: 700;
  transform: rotate(-5deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9a9f9c;
  font-size: 11px;
  font-weight: 600;
}

.language-switch button {
  padding: 4px 2px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--accent);
}

.main-nav a:not(.nav-contact) {
  transition: color 180ms ease;
}

.main-nav a:not(.nav-contact):hover {
  color: var(--accent);
}

.nav-contact {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: 180ms ease;
}

.nav-contact:hover {
  color: white;
  background: var(--ink);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(24px, 7vw, 110px) 80px;
}

.hero::before {
  position: absolute;
  top: -25vw;
  right: -22vw;
  width: 63vw;
  height: 63vw;
  border-radius: 50%;
  background: #e7e3d9;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
}

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(52px, 6.5vw, 104px);
  font-weight: 500;
  letter-spacing: -6px;
  line-height: 0.94;
}

h1 em,
h2 em {
  color: var(--accent);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -3px;
}

.hero-intro {
  max-width: 535px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 17px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.button-primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(255, 91, 61, 0.2);
  transition: 180ms ease;
}

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

.button span {
  font-size: 17px;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.text-link span {
  margin-left: 8px;
  color: var(--accent);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  place-items: center;
}

.phone {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 572px;
  padding: 9px;
  border: 2px solid #3e4643;
  border-radius: 48px;
  background: #101614;
  box-shadow: 0 45px 80px rgba(23, 32, 29, 0.22), inset 0 0 0 1px #6d7471;
  transform: rotate(5deg);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 58px 17px 22px;
  border-radius: 38px;
  background: #f7f4ec;
}

.dynamic-island {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 82px;
  height: 23px;
  border-radius: 20px;
  background: #101614;
  transform: translateX(-50%);
}

.app-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.mini-logo {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-size: 13px;
}

.app-card {
  border-radius: 20px;
}

.app-card-featured {
  position: relative;
  min-height: 266px;
  padding: 27px 23px;
  color: #f9f7ef;
  background: var(--dark);
  overflow: hidden;
}

.app-card-featured::after {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border: 28px solid var(--lime);
  border-radius: 50%;
  content: "";
  opacity: 0.95;
}

.app-card-featured small,
.app-card-small small {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.1px;
}

.app-card-featured strong {
  display: block;
  margin-top: 24px;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.15;
}

.app-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: var(--dark);
  background: #f7f4ec;
}

.app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.app-card-small {
  display: flex;
  height: 105px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  background: #e4dfd2;
}

.app-card-small.dark {
  color: white;
  background: var(--accent);
}

.app-card-small > span {
  font-family: Georgia, serif;
  font-size: 28px;
}

.home-indicator {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 85px;
  height: 4px;
  border-radius: 5px;
  background: #18201e;
  transform: translateX(-50%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(23, 32, 29, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: 510px;
  height: 510px;
}

.orbit-two {
  width: 650px;
  height: 650px;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 12px;
  background: rgba(250, 248, 243, 0.9);
  box-shadow: 0 12px 30px rgba(23, 32, 29, 0.12);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
}

.floating-note span {
  color: var(--accent);
}

.note-top {
  top: 115px;
  right: 0;
  animation: float 4s ease-in-out infinite;
}

.note-bottom {
  bottom: 110px;
  left: 0;
  animation: float 4s 1s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 35px;
  left: clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue > span:first-child {
  width: 1px;
  height: 30px;
  background: var(--muted);
}

.section {
  padding: 120px clamp(24px, 7vw, 110px);
}

.expertise {
  background: var(--paper-light);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  margin-bottom: 65px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 500;
  letter-spacing: -4px;
  line-height: 1.02;
}

.section-heading > p:last-child {
  max-width: 440px;
  align-self: end;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.service-card {
  position: relative;
  min-height: 455px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  box-shadow: 0 20px 50px rgba(23, 32, 29, 0.08);
  transform: translateY(-6px);
}

.service-card.featured {
  border-color: var(--dark);
  color: white;
  background: var(--dark);
}

.service-number {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #9c9f9c;
  font-size: 11px;
  letter-spacing: 1px;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 52px;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: #ebe7de;
}

.featured .service-icon {
  background: rgba(255, 255, 255, 0.1);
}

.icon-phone {
  width: 18px;
  height: 27px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.icon-diamond {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon-rocket {
  font-size: 29px;
  transform: rotate(35deg);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
}

.service-card p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-card.featured p {
  color: #aeb9b5;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 10px;
}

.service-card.featured li {
  border-color: rgba(255, 255, 255, 0.2);
  color: #c9d0cd;
}

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  color: white;
  background: var(--dark);
}

.eyebrow.light {
  color: #aeb9b5;
}

.approach-copy > p:last-child {
  max-width: 500px;
  margin: 32px 0 0;
  color: #aeb9b5;
  font-size: 17px;
  line-height: 1.7;
}

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

.steps li {
  display: grid;
  grid-template-columns: 45px 1fr;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.steps span {
  grid-row: 1 / 3;
  padding-top: 5px;
  color: var(--accent);
  font-size: 11px;
}

.steps strong {
  margin-bottom: 5px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 500;
}

.steps small {
  color: #8f9c97;
  font-size: 13px;
}

.contact {
  padding-top: 135px;
  padding-bottom: 135px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 8vw;
}

.contact-copy {
  align-self: end;
}

.contact-copy p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 clamp(24px, 7vw, 110px);
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer .brand {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr 0.8fr;
  }

  h1 {
    font-size: clamp(50px, 7vw, 72px);
    letter-spacing: -4px;
  }

  .hero-visual {
    transform: scale(0.82);
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    padding: 20px 22px;
  }

  .menu-button {
    z-index: 22;
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-button span {
    width: 17px;
    height: 1.5px;
    background: currentColor;
    transition: 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 21;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--paper);
    font-size: 22px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: 200ms ease;
  }

  .language-switch {
    margin-top: 4px;
    font-size: 14px;
  }

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

  .hero {
    display: block;
    padding: 140px 24px 75px;
  }

  .hero::before {
    top: 48%;
    right: -55vw;
    width: 150vw;
    height: 150vw;
  }

  h1 {
    font-size: clamp(48px, 15vw, 70px);
    letter-spacing: -4px;
  }

  .hero-intro {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-visual {
    min-height: 580px;
    margin: 45px -40px -40px;
    transform: scale(0.87);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 85px 24px;
  }

  .section-heading,
  .approach,
  .contact-layout {
    display: block;
  }

  h2 {
    font-size: clamp(40px, 12vw, 57px);
    letter-spacing: -3px;
  }

  .section-heading > p:last-child {
    margin: 28px 0 0;
  }

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

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 400px;
  }

  .approach-copy {
    margin-bottom: 55px;
  }

  .contact-copy {
    margin-top: 35px;
  }

  .contact-copy .button {
    width: 100%;
    gap: 14px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin: 0 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
