:root {
  --bg-dark: #0a0d2b;
  --bg-dark-2: #102f3d;
  --card-dark: #0f2f3e;
  --text-main: #121323;
  --text-muted: #717582;
  --surface: #f3f4f6;
  --white: #ffffff;
  --accent: #ff4b26;
  --accent-dark: #d63a1c;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(9, 13, 32, 0.12);

  --heading-min-height: 72px
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text-main);
  background: var(--surface);
  line-height: 1.45;
}

#top {
  position: relative;
  top: calc(var(--heading-min-height) * -1);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

#main-content {
  scroll-margin-top: var(--heading-min-height);
}

.button-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-link {
  color: #d1dde5;
}

.footer-link:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  background: rgba(10, 13, 43, 0.98);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(3, 6, 18, 0.32);
  padding: 1rem;
}

.cookie-banner__content {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner h2 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.cookie-banner p {
  color: #d1d7e4;
  margin-bottom: 0;
  max-width: 62ch;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.privacy-section {
  border-top: 1px solid var(--border);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.privacy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.privacy-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.02rem;
}

.privacy-card ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: #4f5663;
}

.privacy-card li+li {
  margin-top: 0.35rem;
}

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

.container {
  width: min(1150px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(8, 11, 40, 0.95);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--heading-min-height);
}

.logo {
  line-height: 0;
}

.logo img {
  height: 24px;
  width: auto;
}

footer .logo img {
  margin-bottom: 24px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  color: #d5d8e3;
  font-size: 0.95rem;
}

.desktop-nav a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.78rem 1.2rem;
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(255, 75, 38, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

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

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

.btn-nav {
  padding: 0.62rem 0.95rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 4px;
}

.mobile-nav-panel {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  background: #0a0d2b;
  z-index: 45;
  text-align: center;
  min-height: calc(100dvh - 72px);
  overflow-y: auto;
  padding: 3.5rem 1.5rem 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

body.menu-open .mobile-nav-panel {
  display: flex;
}

.hero {
  margin-top: var(--heading-min-height);
  min-height: 600px;
  background-image: url("./assets/1_Lost\ In\ Tech_Brand\ Background.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1280px;
}

.eyebrow,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: #ffd9d1;
  background: rgba(25, 54, 67, 0.5);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.9vw, 4.1rem);
  line-height: 1.04;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.95rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.hero-copy {
  color: #d8dbea;
  max-width: 540px;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section {
  padding: 80px 0;
}

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

.section-dark {
  background: #123e53;
  color: #f3f6f9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.3rem;
  align-items: center;
}

.about-visual {
  background: #efeff2;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1rem;
  max-width: 260px;
}

.process-card:nth-child(2) {
  margin-left: 2rem;
}

.process-card:nth-child(3) {
  margin-left: 4rem;
}

.process-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.process-card span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.about-content p:not(.section-label) {
  color: #666b78;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li {
  color: #4f5460;
  display: flex;
  align-items: flex-start;

}

.feature-list .list-icon {
  background-color: rgba(239, 70, 35, 0.1);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
}

.feature-list .list-icon img {
  display: flex;
  align-items: flex-start;
  width: 20px;


}

.services-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}

.service-card {
  background: #0d2d3c;
  border-radius: 12px;
  border-bottom: 2px solid var(--accent);
  padding: 1.6rem;
  flex: 1 0;
}

.service-card .service-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.service-card .service-header img {
  height: 20px;
  width: 20px;
}


.service-card:last-child {
  grid-column: 1 / -1;
}

.service-card h3 {
  color: var(--white);
  margin: 0;
}

.service-card p {
  color: #adc0cb;
}

.center {
  text-align: center;
}

.subtitle {
  color: #7f8592;
  margin-bottom: 2rem;
}

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

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-card .seperator {
  height: 3px;
  background: var(--accent);
  width: 60px;
}

.why-card .icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 75, 38, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card .icon svg {
  height: 28px;
}


.why-card p {
  color: #646b79;
}

.metrics {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.metrics>div {
  text-align: center;
  padding: 1.35rem 0.8rem;
}

.metrics>div+div {
  border-left: 1px solid var(--border);
}

.metrics strong {
  display: block;
  font-size: 2rem;
}

.metrics span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.accent {
  color: var(--accent);
}

.testimonials {
  background: linear-gradient(180deg, #0a0d2b, #08142f);
  color: var(--white);
}

.testimonials-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  background: #164457;
  border-radius: 12px;
  padding: 1.35rem;
  min-height: 220px;
}

.testimonial-card p {
  color: #d2deea;
}

.testimonial-card footer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-card footer span {
  color: #9fb3c2;
  font-size: 0.88rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: #4f5663;
  display: grid;
  gap: 0.42rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.78rem 0.85rem;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.contact-form-status {
  min-height: 1.2rem;
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #4f5663;
}

.contact-form-status.is-success {
  color: #176a3a;
}

.contact-form-status.is-error {
  color: #9d1b1b;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-panel {
  background: #eceff1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.contact-panel h3 {
  margin-bottom: 0.8rem;
}

.contact-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: #505766;
}

.divider {
  border-top: 1px solid #d4d8dd;
  margin: 1.2rem 0;
}

.site-footer {
  background: #123e53;
  color: #d1dde5;
  padding: 3.3rem 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.site-footer h4 {
  margin: 0 0 0.4rem;
  color: var(--white);
}

@media (max-width: 1024px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ── ServiceM8 Page ── */
.sm8-partner-badge {
  height: 64px;
  width: auto;
  margin-bottom: 1.2rem;
  display: block;
}

.sm8-services-grid {
  margin-top: 2rem;
  color: #d0dde6;
}

.sm8-service-block h3 {
  color: var(--white);
  margin-bottom: 0.7rem;
}

.sm8-service-block p {
  color: #adc0cb;
  margin-bottom: 0.8rem;
}

.sm8-service-block--light h3 {
  color: var(--text-main);
}

.sm8-service-block--light p {
  color: #4f5663;
}

.sm8-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  color: #adc0cb;
}

.sm8-service-list li::before {
  content: "→ ";
  color: var(--accent);
  font-weight: 700;
}

.sm8-service-list--light {
  color: #4f5663;
}

.sm8-packages-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sm8-package-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sm8-package-card.sm8-package-featured {
  background: rgba(255, 75, 38, 0.12);
  border-color: var(--accent);
}

.sm8-package-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.9rem;
  margin-bottom: 0.2rem;
}

.sm8-package-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.sm8-package-card h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.15rem;
}

.sm8-package-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  color: #b8cdd8;
  font-size: 0.9rem;
}

.sm8-package-card ul li::before {
  content: "✓  ";
  color: var(--accent);
  font-weight: 700;
}

/* ── End ServiceM8 Page ── */

@media (max-width: 768px) {
  .container {
    width: min(1290px, calc(100% - 64px));
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav-panel {
    gap: 1.8rem;
  }

  .mobile-nav-panel a {
    color: #cfd5de;
    font-size: clamp(2rem, 8vw, 2.4rem);
    font-weight: 500;
    line-height: 1.1;
  }

  .mobile-nav-panel .btn {
    margin-top: 1.2rem;
    font-size: 1.45rem;
    padding: 0.95rem 1.7rem;
    min-width: min(86vw, 320px);
  }

  .hero {
    min-height: 560px;
  }

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

  .section {
    padding: 3.4rem 0;
  }

  .services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
  }

  .why-grid,
  .testimonials-grid,
  .metrics,
  .sm8-packages-grid {
    grid-template-columns: 1fr;
  }


  .metrics>div+div {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .process-card:nth-child(2),
  .process-card:nth-child(3) {
    margin-left: 0;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .mobile-nav-panel {
    display: none !important;
  }
}