/* ============================================
   SparkVerve Inc — Design Tokens & Base
   Base design: 1440px
   Breakpoints: 1920, 1280, 1024, 768, 480
   ============================================ */

:root {
  --color-cyan: #17dff3;
  --color-cyan-dark: #0b9fb4;
  --color-navy: #061726;
  --color-navy-mid: #071827;
  --color-navy-dark: #020a12;
  --color-bg: #f5f8fc;
  --color-white: #ffffff;
  --color-nav-link: #d9f7fa;
  --color-body: #4d6074;
  --color-light-text: #c9d8e8;
  --color-section-light: #ebf6fd;
  --color-border: #dde8f3;
  --color-card-title: #081a2e;
  --color-card-body: #536579;
  --color-btn-text: #061522;

  --container-max: 1440px;
  --container-padding: 72px;
  --header-height: 70px;
  --radius-sm: 18px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --shadow-card: 0 16px 17px rgba(8, 33, 58, 0.08);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-navy-mid);
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 17px;
  margin-bottom: 16px;
}

.section-label--teal {
  color: var(--color-cyan-dark);
}

.section-label--cyan {
  color: var(--color-cyan);
}

/* ============================================
   Header
   ============================================ */

.header {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 100;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  padding: 0 29px;
  background: rgba(6, 21, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.header__brand {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 24px;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
}

.header__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-nav-link);
  line-height: 18px;
  transition: color 0.2s;
  white-space: nowrap;
}

.header__link:hover,
.header__link--active {
  color: var(--color-cyan);
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  background: var(--color-cyan);
  border-radius: 21px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-btn-text);
  line-height: 17px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.header__btn:hover {
  opacity: 0.9;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__backdrop {
  display: none;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  background: var(--color-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: url('../images/hero-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-navy) 0%, rgba(22, 85, 140, 0) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 168px;
  padding-bottom: 80px;
  flex: 1;
}

.hero__eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 19px;
  margin-bottom: 70px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.hero__title-cyan {
  display: block;
  font-size: 58px;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 61px;
}

.hero__title-white {
  display: block;
  font-size: 58px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 61px;
}

.hero__subtitle {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 36px;
  max-width: 756px;
  margin-bottom: 24px;
}

.hero__body {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-light-text);
  line-height: 28px;
  max-width: 756px;
}

/* ============================================
   About
   ============================================ */

.about {
  background: var(--color-white);
  padding: 92px 0 100px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 72px;
  align-items: start;
}

.about__title {
  font-size: 44px;
  font-weight: 800;
  color: var(--color-navy-mid);
  line-height: 51px;
  margin-bottom: 24px;
}

.about__body {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-body);
  line-height: 30px;
}

.about__panel {
  background: var(--color-navy-mid);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 420px;
}

.about__panel-icon {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-bottom: 20px;
}

.about__panel-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 19px;
  margin-bottom: 10px;
}

.about__panel-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 39px;
  margin-bottom: 20px;
}

.about__panel-body {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-light-text);
  line-height: 26px;
}

/* ============================================
   Categories
   ============================================ */

.categories {
  background: var(--color-section-light);
  padding: 94px 0 114px;
}

.categories__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-navy-mid);
  line-height: 48px;
  max-width: 620px;
  margin-bottom: 16px;
}

.categories__body {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-body);
  line-height: 29px;
  max-width: 620px;
  margin-bottom: 35px;
}

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

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 27px;
  min-height: 220px;
}

.card__icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  margin-bottom: 20px;
}

.card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-card-title);
  line-height: 26px;
  margin-bottom: 14px;
}

.card__body {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-card-body);
  line-height: 23px;
}

/* ============================================
   Contact
   ============================================ */

.contact {
  background: var(--color-navy);
  padding: 94px 0 106px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 80px;
  align-items: start;
}

.contact__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 48px;
  margin-bottom: 16px;
}

.contact__body {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-light-text);
  line-height: 29px;
  max-width: 620px;
  margin-bottom: 47px;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  background: var(--color-cyan);
  border-radius: 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy-mid);
  line-height: 17px;
  transition: opacity 0.2s;
}

.contact__btn:hover {
  opacity: 0.9;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 23px 27px;
}

.contact__card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-cyan);
  line-height: 16px;
  margin-bottom: 14px;
}

.contact__card-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 27px;
}

a.contact__card-value:hover {
  color: var(--color-cyan);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-navy-dark);
  padding: 68px 0;
}

.footer__text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 24px;
  text-align: center;
}

/* ============================================
   1920px — Large Desktop
   ============================================ */

@media (min-width: 1920px) {
  :root {
    --container-max: 1600px;
    --container-padding: 96px;
  }

  .hero__bg {
    inset: auto;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1920px;
    max-width: 1920px;
    transform: translateX(-50%);
  }

  .hero__title-cyan,
  .hero__title-white {
    font-size: 64px;
    line-height: 68px;
  }

  .hero__subtitle {
    font-size: 30px;
    line-height: 38px;
  }

  .about__title {
    font-size: 48px;
    line-height: 56px;
  }

  .categories__title,
  .contact__title {
    font-size: 46px;
    line-height: 52px;
  }

  .about__grid {
    grid-template-columns: 1fr 400px;
    gap: 96px;
  }

  .about__panel {
    min-height: 460px;
    padding: 48px;
  }

  .categories__cards {
    gap: 96px;
  }
}

/* ============================================
   1280px — Desktop
   ============================================ */

@media (max-width: 1280px) {
  :root {
    --container-padding: 56px;
  }

  .header__nav {
    gap: 36px;
  }

  .hero__title-cyan,
  .hero__title-white {
    font-size: 50px;
    line-height: 54px;
  }

  .hero__subtitle {
    font-size: 24px;
    line-height: 32px;
  }

  .about__title {
    font-size: 38px;
    line-height: 44px;
  }

  .categories__title,
  .contact__title {
    font-size: 36px;
    line-height: 42px;
  }

  .about__grid {
    grid-template-columns: 1fr 320px;
    gap: 48px;
  }

  .about__panel-title {
    font-size: 28px;
    line-height: 34px;
  }

  .categories__cards {
    gap: 40px;
  }

  .contact__grid {
    grid-template-columns: 1fr 400px;
    gap: 48px;
  }
}

/* ============================================
   1024px — Tablet Landscape
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --container-padding: 40px;
  }

  .header {
    top: 20px;
  }

  .header__bar {
    padding: 0 20px;
  }

  .hero {
    min-height: 640px;
  }

  .hero__content {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .hero__eyebrow {
    margin-bottom: 40px;
  }

  .hero__title-cyan,
  .hero__title-white {
    font-size: 42px;
    line-height: 48px;
  }

  .hero__subtitle {
    font-size: 22px;
    line-height: 30px;
  }

  .about__grid {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }

  .about__title {
    font-size: 32px;
    line-height: 38px;
  }

  .about__panel {
    padding: 28px;
    min-height: auto;
  }

  .about__panel-title {
    font-size: 24px;
    line-height: 30px;
  }

  .categories__title,
  .contact__title {
    font-size: 32px;
    line-height: 38px;
  }

  .categories__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .categories__cards .card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .contact__grid {
    grid-template-columns: 1fr 360px;
    gap: 32px;
  }
}

/* ============================================
   768px — Mobile navigation drawer
   ============================================ */

@media (max-width: 768px) {
  :root {
    --container-padding: 32px;
  }

  .header {
    z-index: 300;
  }

  .header__bar {
    position: relative;
    z-index: 270;
  }

  .header__toggle {
    display: flex;
    position: relative;
    z-index: 280;
  }

  .header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 23, 38, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 250;
  }

  .header__backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-height) + 48px) 32px 32px;
    background: rgba(6, 23, 38, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 260;
    overflow-y: auto;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__link,
  .header__btn {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
  }

  .header__btn {
    margin-top: 16px;
    justify-content: center;
    height: 48px;
  }

  .hero {
    min-height: 560px;
  }

  .hero__content {
    padding-top: 120px;
  }

  .hero__eyebrow {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .hero__title-cyan,
  .hero__title-white {
    font-size: 36px;
    line-height: 42px;
  }

  .hero__subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .hero__body {
    font-size: 16px;
    line-height: 26px;
  }

  .about {
    padding: 64px 0 72px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__title {
    font-size: 28px;
    line-height: 34px;
  }

  .about__panel {
    max-width: 100%;
  }

  .categories {
    padding: 64px 0 72px;
  }

  .categories__title {
    font-size: 28px;
    line-height: 34px;
  }

  .categories__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .categories__cards .card:last-child {
    max-width: 100%;
    justify-self: stretch;
  }

  .contact {
    padding: 64px 0 72px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__title {
    font-size: 28px;
    line-height: 34px;
  }

  .footer {
    padding: 48px 0;
  }

  .footer__text {
    font-size: 16px;
  }
}

/* ============================================
   480px — Mobile
   ============================================ */

@media (max-width: 480px) {
  :root {
    --container-padding: 20px;
  }

  .header {
    top: 12px;
  }

  .header__bar {
    height: 56px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .header__brand {
    font-size: 16px;
  }

  .hero {
    min-height: 480px;
  }

  .hero__content {
    padding-top: 100px;
    padding-bottom: 48px;
    text-align: center;
  }

  .hero__eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .hero__title {
    align-items: center;
  }

  .hero__title-cyan,
  .hero__title-white {
    font-size: 28px;
    line-height: 34px;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 26px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__body {
    font-size: 15px;
    line-height: 24px;
    margin-left: auto;
    margin-right: auto;
  }

  .about {
    padding: 48px 0 56px;
    text-align: center;
  }

  .about__title {
    font-size: 24px;
    line-height: 30px;
  }

  .about__body {
    font-size: 16px;
    line-height: 26px;
  }

  .about__panel {
    text-align: left;
    padding: 24px;
  }

  .about__panel-title {
    font-size: 22px;
    line-height: 28px;
  }

  .categories {
    padding: 48px 0 56px;
    text-align: center;
  }

  .categories__title {
    font-size: 24px;
    line-height: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .categories__body {
    font-size: 16px;
    line-height: 26px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .card {
    text-align: left;
    padding: 20px;
    min-height: auto;
  }

  .card__title {
    font-size: 20px;
  }

  .contact {
    padding: 48px 0 56px;
    text-align: center;
  }

  .contact__title {
    font-size: 24px;
    line-height: 30px;
  }

  .contact__body {
    font-size: 16px;
    line-height: 26px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact__btn {
    width: 100%;
    max-width: 280px;
  }

  .contact__info {
    text-align: left;
  }

  .contact__card-value {
    font-size: 17px;
    line-height: 24px;
    word-break: break-word;
  }

  .footer {
    padding: 36px 0;
  }

  .footer__text {
    font-size: 14px;
    line-height: 20px;
  }
}
