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

@layer components {
:root {
  --navy: #282238;
  --navy-deep: #1b1729;
  --blue: #7862d5;
  --blue-dark: #5c49aa;
  --teal: #218c79;
  --turquoise: #41c7a8;
  --gold: #e8ad57;
  --ink: #292637;
  --muted: #6c6571;
  --surface: #f7f1e8;
  --white: #fffdf9;
  --border: #e8dfd7;
  --content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

.site-container {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.hero-actions,
.footer-content {
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
  color: var(--navy-deep);
  background: var(--turquoise);
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(48, 183, 168, 0.17));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-services {
  color: var(--turquoise);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.brand:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 4px;
}

.back-to-top {
  color: #d1dce8;
  font-size: 12px;
  transition: color 160ms ease;
}

.back-to-top:hover {
  color: var(--turquoise);
}

#primary-navigation > a:not([href="./contact.html"]) {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  transition: color 160ms ease;
}

#primary-navigation > a:not([href="./contact.html"])::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--turquoise);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

#primary-navigation > a:not([href="./contact.html"]):hover::after,
#primary-navigation > a:not([href="./contact.html"])[aria-current="page"]::after {
  transform: scaleX(1);
}

#primary-navigation > a[href="./contact.html"][aria-current="page"] {
  box-shadow: 0 0 0 2px var(--turquoise);
}

.section {
  padding: 104px 0;
  scroll-margin-top: 82px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 77px 0 94px;
  background: #f4f8fc;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 76px;
}

.hero-copy {
  max-width: 555px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 1.2;
}

h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2.7px;
}

h1 span {
  color: var(--blue);
}

.hero-intro {
  max-width: 500px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 27px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(40, 120, 199, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.text-link,
.card-link {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.text-link span,
.card-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 160ms ease;
}

.text-link:hover span,
.card-link:hover span {
  transform: translateX(4px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 36px;
  color: #748397;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(36, 169, 154, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 400px;
  padding: 0 12px 22px 0;
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 400px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(17, 35, 61, 0.18);
}

.visual-decoration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68%;
  height: 66%;
  border-radius: 13px;
  background: var(--teal);
}

.visual-caption {
  position: absolute;
  z-index: 2;
  right: -20px;
  bottom: 45px;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 290px;
  padding: 17px 19px;
  border: 1px solid rgba(229, 235, 242, 0.8);
  border-radius: 10px;
  color: var(--muted);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(17, 35, 61, 0.12);
  font-size: 12px;
  line-height: 1.6;
}

.visual-caption strong {
  color: var(--navy);
  font-size: 13px;
}

.caption-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue);
  background: #edf5fd;
  font-size: 20px;
}

.hero-shape {
  position: absolute;
  top: -180px;
  right: -200px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(40, 120, 199, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(40, 120, 199, 0.025), 0 0 0 110px rgba(40, 120, 199, 0.02);
}

.services-section {
  background: var(--white);
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.section-heading > p:last-child,
.about-copy > p:not(.eyebrow),
.contact-copy > p:last-child {
  color: var(--muted);
}

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

.service-card {
  min-height: 260px;
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(17, 35, 61, 0.08);
}

.service-icon {
  display: grid;
  width: 47px;
  height: 47px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: #edf5fd;
  font-size: 23px;
  font-weight: 700;
}

.service-icon-teal {
  color: #168b7e;
  background: #e9f8f6;
}

.service-icon-gold {
  color: #b57b24;
  background: #fff6e8;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.service-card p {
  min-height: 72px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 14px;
}

.card-link {
  font-size: 13px;
}

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

.about-content {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: center;
  gap: 86px;
}

.about-image {
  position: relative;
  padding: 0 0 19px 19px;
}

.about-image::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 65%;
  border-radius: 12px;
  background: #dcecf8;
  content: "";
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 370px;
  border-radius: 12px;
  object-fit: cover;
}

.image-label {
  position: absolute;
  z-index: 2;
  right: -20px;
  bottom: 0;
  padding: 13px 18px;
  border-radius: 7px;
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.about-copy h2 {
  max-width: 480px;
}

.about-copy > p:not(.eyebrow) {
  margin-bottom: 18px;
}

.about-copy .text-link {
  display: inline-block;
  margin-top: 7px;
}

.contact-section {
  color: var(--white);
  background: var(--navy);
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-copy {
  max-width: 650px;
}

.contact-copy .eyebrow {
  color: #7fc9ee;
}

.contact-copy h2 {
  margin-bottom: 12px;
  color: var(--white);
}

.contact-copy > p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: #becbda;
}

.button-light {
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--white);
}

.button-light:hover {
  background: #eaf3fb;
}

.site-footer {
  padding: 24px 0;
  background: var(--navy-deep);
}

.footer-content {
  justify-content: space-between;
  gap: 24px;
}

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

.footer-brand .brand-mark {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 19px;
}

.footer-brand .brand-name {
  font-size: 14px;
}

.footer-brand .brand-services {
  font-size: 8px;
}

.footer-content p {
  margin: 0;
  color: #a9b8c9;
  font-size: 12px;
}

.back-to-top {
  color: #d1dce8;
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-content {
    gap: 42px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-visual > img {
    height: 340px;
  }

  .visual-caption {
    right: -8px;
  }

  .about-content {
    gap: 52px;
  }
}

@media (max-width: 700px) {
  .site-container {
    width: min(var(--content-width), calc(100% - 36px));
  }

  .section {
    scroll-margin-top: 70px;
  }

  .section {
    padding: 75px 0;
  }

  .hero {
    padding: 68px 0 74px;
  }

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

  .hero-content {
    gap: 44px;
  }

  .hero-copy {
    max-width: 600px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-visual {
    width: calc(100% - 10px);
    min-height: 330px;
    margin: 0 10px 0 0;
  }

  .hero-visual > img {
    height: 330px;
  }

  .visual-caption {
    right: -8px;
    bottom: 37px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: 0;
  }

  .about-content {
    gap: 42px;
  }

  .about-image {
    max-width: 520px;
  }

  .about-image img {
    height: 310px;
  }

  .contact-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 27px;
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-content p {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 14px;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

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

  .visual-caption {
    right: -4px;
    max-width: 250px;
    padding: 13px;
  }
}

.home-process {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(48, 183, 168, 0.13), transparent 38%),
    var(--navy-deep);
}

.home-process-step {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.home-process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(48, 183, 168, 0.55);
  background: rgba(255, 255, 255, 0.075);
}

.home-process-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(48, 183, 168, 0.35);
  border-radius: 50%;
  color: var(--turquoise);
  background: rgba(48, 183, 168, 0.11);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.home-about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.home-about-link span {
  transition: transform 160ms ease;
}

.home-about-link:hover {
  color: var(--teal);
}

.home-about-link:hover span {
  transform: translateX(4px);
}

.home-hero {
  background-image:
    radial-gradient(ellipse at 82% 18%, rgba(48, 183, 168, 0.12), transparent 40%),
    linear-gradient(120deg, #f3f7f9 0%, #ffffff 68%, #edf7f5 100%);
}

.home-hero-image,
.home-about-image {
  border: 1px solid rgba(23, 51, 74, 0.08);
  box-shadow: 0 24px 55px rgba(23, 51, 74, 0.16);
}

.home-service-card {
  overflow: hidden;
  border-radius: 18px;
}

.home-service-image {
  width: calc(100% + 48px);
  max-width: none;
  height: 168px;
  flex: 0 0 168px;
  margin: -24px -24px 23px;
  border-radius: 18px 18px 0 0;
  object-fit: cover;
  transition: transform 320ms ease;
}

.home-service-card:hover .home-service-image {
  transform: scale(1.035);
}

#services a.group > img {
  transition: transform 320ms ease;
}

#services a.group:hover > img {
  transform: scale(1.035);
}

.home-about-link:focus-visible,
.home-project-button:focus-visible,
.home-email-link:focus-visible,
.home-page-links a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--turquoise);
  outline-offset: 4px;
}

.home-contact-section {
  background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 100%);
}

.home-cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(125deg, var(--navy-deep) 0%, var(--navy) 100%);
  box-shadow: 0 24px 60px rgba(13, 33, 51, 0.18);
}

.home-cta-card::before {
  position: absolute;
  z-index: -1;
  top: -190px;
  right: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 183, 168, 0.2), transparent 68%);
  content: "";
  pointer-events: none;
}

.home-cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.home-cta-copy {
  max-width: 650px;
}

.home-cta-eyebrow {
  margin-bottom: 12px;
  color: var(--turquoise);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.home-cta-copy h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.home-cta-copy > p:last-child {
  max-width: 570px;
  margin-bottom: 0;
  color: #c4d2e1;
  font-size: 17px;
  line-height: 1.8;
}

.home-cta-actions {
  display: grid;
  min-width: 190px;
  gap: 12px;
}

.home-project-button,
.home-email-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-project-button {
  color: var(--navy-deep);
  background: var(--turquoise);
  box-shadow: 0 10px 24px rgba(48, 183, 168, 0.2);
}

.home-project-button:hover {
  transform: translateY(-2px);
  background: #4cdbce;
}

.home-project-button span {
  transition: transform 160ms ease;
}

.home-project-button:hover span {
  transform: translateX(4px);
}

.home-email-link {
  border-color: rgba(255, 255, 255, 0.24);
  color: #eef5fb;
  background: rgba(255, 255, 255, 0.04);
}

.home-email-link:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
  background: rgba(255, 255, 255, 0.08);
}

.home-page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.home-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(17, 35, 61, 0.06);
}

.home-page-heading {
  flex: 0 0 auto;
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.home-page-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: #f3f7fb;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.home-page-links a:hover {
  border-color: rgba(48, 183, 168, 0.38);
  color: var(--navy-deep);
  background: rgba(48, 183, 168, 0.16);
}

@media (max-width: 700px) {
  .home-process-step {
    min-height: 190px;
    padding: 22px;
  }

  .home-cta-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-service-image {
    height: 158px;
    flex-basis: 158px;
  }

  .home-cta-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .home-page-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-process-step,
  .home-service-image,
  #services a.group > img,
  .home-about-link,
  .home-about-link span,
  .home-project-button,
  .home-project-button span,
  .home-email-link,
  .home-page-links a {
    transition: none;
  }

  .home-process-step:hover,
  #services a.group:hover > img,
  .home-about-link:hover span,
  .home-project-button:hover,
  .home-project-button:hover span {
    transform: none;
  }
}
}

:root {
  --color-brand-navy: #282238;
  --color-brand-turquoise: #41c7a8;
  --color-brand-coral: #ed765b;
  --color-brand-violet: #7862d5;
  --color-brand-amber: #e8ad57;
  --color-brand-mint: #8ed3b2;
  --color-slate-50: #f7f3ed;
  --color-slate-100: #f0eae3;
  --color-slate-200: #e8dfd7;
  --color-slate-300: #d8cdc4;
  --color-slate-400: #aa9d96;
  --color-slate-500: #837871;
  --color-slate-600: #6c6571;
  --color-slate-700: #4c4654;
  --color-slate-800: #353044;
  --color-slate-900: #282238;
  --color-paper: #fbf7f0;
}

body > header {
  position: sticky;
  z-index: 50;
  isolation: isolate;
  color: #f8fafc;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(139, 92, 246, 0.22), transparent 40%),
    radial-gradient(ellipse at 88% 100%, rgba(20, 184, 166, 0.18), transparent 42%),
    linear-gradient(112deg, #111827 0%, #1b1b2c 54%, #102b30 100%);
  box-shadow: 0 12px 30px rgba(6, 12, 24, 0.2);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body > header.is-scrolled {
  border-bottom-color: rgba(94, 234, 212, 0.2);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(139, 92, 246, 0.25), transparent 40%),
    radial-gradient(ellipse at 88% 100%, rgba(20, 184, 166, 0.21), transparent 42%),
    linear-gradient(112deg, rgba(10, 16, 29, 0.96), rgba(17, 24, 39, 0.96) 54%, rgba(11, 38, 42, 0.96));
  box-shadow: 0 16px 38px rgba(6, 12, 24, 0.34);
}

body > header > .site-container {
  position: relative;
  z-index: 1;
  min-height: 84px;
  gap: 20px;
  transition: min-height 220ms ease;
}

body > header.is-scrolled > .site-container {
  min-height: 74px;
}

body > header a[aria-label="Norahtech Services home"] {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f8fafc;
  text-decoration: none;
}

body > header a[aria-label="Norahtech Services home"] > span:first-child {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: #102331;
  background: linear-gradient(142deg, #68f0d7 0%, #2bb7b0 48%, #7869e8 100%);
  filter: drop-shadow(0 0 10px rgba(48, 215, 195, 0.38));
  transition: filter 220ms ease, transform 220ms ease;
}

body > header a[aria-label="Norahtech Services home"]:hover > span:first-child {
  filter: drop-shadow(0 0 15px rgba(48, 215, 195, 0.58));
  transform: rotate(4deg) scale(1.05);
}

body > header a[aria-label="Norahtech Services home"] > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

body > header a[aria-label="Norahtech Services home"] > span:nth-child(2) > span:first-child {
  color: #f8fafc;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

body > header a[aria-label="Norahtech Services home"] > span:nth-child(2) > span:last-child {
  color: #62e2d0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

body > header a[aria-label="Norahtech Services home"]:focus-visible,
body > header [data-menu-toggle]:focus-visible,
body > header #primary-navigation > a:focus-visible {
  outline: 2px solid #68f0d7;
  outline-offset: 4px;
}

body > header #primary-navigation {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 7px;
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 8px 22px rgba(4, 10, 20, 0.12);
  backdrop-filter: blur(16px);
}

body > header #primary-navigation[hidden] {
  display: none !important;
}

body > header #primary-navigation > a:not([href="./contact.html"]) {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 13px;
  border-radius: 11px;
  color: #d7e1ed;
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

body > header #primary-navigation > a:not([href="./contact.html"])::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d63e8, #4de0ca);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

body > header #primary-navigation > a:not([href="./contact.html"]):hover,
body > header #primary-navigation > a:not([href="./contact.html"])[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

body > header #primary-navigation > a:not([href="./contact.html"]):hover::after,
body > header #primary-navigation > a:not([href="./contact.html"])[aria-current="page"]::after {
  transform: scaleX(1);
}

body > header #primary-navigation > a[href="./contact.html"] {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid rgba(151, 255, 233, 0.28);
  border-radius: 12px;
  color: #f8ffff;
  background: linear-gradient(110deg, #644fce 0%, #246fa5 48%, #087d71 100%);
  box-shadow: 0 8px 20px rgba(36, 166, 167, 0.2), inset 0 1px rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 700;
  transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

body > header #primary-navigation > a[href="./contact.html"]:hover {
  box-shadow: 0 11px 26px rgba(42, 206, 184, 0.32), inset 0 1px rgba(255, 255, 255, 0.3);
  filter: saturate(1.15);
  transform: translateY(-2px);
}

body > header #primary-navigation > a[href="./contact.html"][aria-current="page"] {
  box-shadow: 0 0 0 2px rgba(104, 240, 215, 0.7), 0 8px 20px rgba(36, 166, 167, 0.2);
}

body > header [data-menu-toggle] {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 14px;
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

body > header [data-menu-toggle]:hover {
  border-color: rgba(104, 240, 215, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

body > header [data-menu-toggle] > span[aria-hidden="true"] {
  position: relative;
  display: block;
  width: 20px;
  height: 18px;
  color: currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  font-size: 0;
  line-height: 0;
  transition: background 180ms ease;
}

body > header [data-menu-toggle] > span[aria-hidden="true"] > span {
  display: none !important;
}

body > header [data-menu-toggle] > span[aria-hidden="true"]::before,
body > header [data-menu-toggle] > span[aria-hidden="true"]::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: top 180ms ease, bottom 180ms ease, transform 180ms ease;
}

body > header [data-menu-toggle] > span[aria-hidden="true"]::before {
  top: 2px;
}

body > header [data-menu-toggle] > span[aria-hidden="true"]::after {
  bottom: 2px;
}

body > header [data-menu-toggle][aria-expanded="true"] > span[aria-hidden="true"] {
  background: none;
}

body > header [data-menu-toggle][aria-expanded="true"] > span[aria-hidden="true"]::before {
  top: 8px;
  transform: rotate(45deg);
}

body > header [data-menu-toggle][aria-expanded="true"] > span[aria-hidden="true"]::after {
  bottom: 8px;
  transform: rotate(-45deg);
}

@media (max-width: 700px) {
  body > header > .site-container,
  body > header.is-scrolled > .site-container {
    min-height: 0;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  body > header [data-menu-toggle] {
    display: inline-flex;
  }

  body > header #primary-navigation {
    display: flex;
    width: 100%;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow: hidden;
    margin: 0;
    padding: 0 8px;
    border-color: transparent;
    border-radius: 16px;
    background: rgba(12, 20, 34, 0.88);
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition:
      max-height 260ms ease,
      margin 260ms ease,
      padding 260ms ease,
      border-color 180ms ease,
      opacity 180ms ease,
      transform 220ms ease,
      visibility 0s linear 260ms;
  }

  body > header #primary-navigation.is-open {
    max-height: 360px;
    margin-top: 3px;
    padding: 8px;
    border-color: rgba(104, 240, 215, 0.16);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 14px 28px rgba(4, 10, 20, 0.2);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  body > header #primary-navigation > a:not([href="./contact.html"]) {
    min-height: 46px;
    padding: 0 14px;
    font-size: 14px;
  }

  body > header #primary-navigation > a:not([href="./contact.html"])::after {
    right: 14px;
    left: 14px;
  }

  body > header #primary-navigation > a[href="./contact.html"] {
    min-height: 46px;
    margin-top: 4px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body > header,
  body > header > .site-container,
  body > header #primary-navigation,
  body > header #primary-navigation > a,
  body > header [data-menu-toggle],
  body > header [data-menu-toggle] > span[aria-hidden="true"],
  body > header [data-menu-toggle] > span[aria-hidden="true"]::before,
  body > header [data-menu-toggle] > span[aria-hidden="true"]::after {
    transition: none;
  }
}

:root {
  --site-ink: #292637;
  --site-paper: #fbf7f0;
  --site-lilac: #eee9f8;
  --site-peach: #fff0e7;
  --site-mint: #e4f3eb;
  --site-plum: #282238;
  --site-violet: #7862d5;
  --site-coral: #ed765b;
  --site-amber: #e8ad57;
  --site-mint-accent: #41c7a8;
}

body {
  color: var(--site-ink);
  background: var(--site-paper);
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.035em;
}

::selection {
  color: #fffdf9;
  background: #6654bf;
}

body > main > section {
  position: relative;
}

body:has(.home-hero) > main > section:nth-of-type(1) {
  background:
    radial-gradient(circle at 88% 14%, rgba(120, 98, 213, 0.15), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(237, 118, 91, 0.13), transparent 26%),
    linear-gradient(125deg, #fff4e3 0%, #f0eafa 54%, #e1f3eb 100%);
}

body:has(.home-hero) > main > section:nth-of-type(1) .site-container {
  position: relative;
}

.home-hero h1 {
  max-width: 700px;
  font-size: clamp(2.7rem, 5.3vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.home-hero h1 span {
  color: #765bd1;
}

.home-hero img {
  border: 8px solid rgba(255, 253, 249, 0.72);
  border-radius: 34px 34px 90px 34px;
  box-shadow: 0 34px 82px rgba(49, 39, 68, 0.2);
}

body:has(.home-hero) > main > section:nth-of-type(2) {
  background: #fffaf0;
}

body:has(.home-hero) > main > section:nth-of-type(3) {
  background: #eee9f7;
}

body:has(.home-hero) > main > section:nth-of-type(4) {
  background: #fff0e8;
}

body:has(.home-hero) > main > section:nth-of-type(5) {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(120, 98, 213, 0.28), transparent 34%),
    linear-gradient(120deg, #241d36 0%, #332744 60%, #382842 100%);
}

body:has(.home-hero) > main > section:nth-of-type(6) {
  background: #e5f3eb;
}

.home-service-card {
  --card-accent: var(--site-violet);
  overflow: hidden;
  border-color: rgba(67, 54, 91, 0.12);
  border-radius: 24px;
  border-top: 3px solid var(--card-accent);
  background: #fffdf9;
  box-shadow: 0 12px 28px rgba(48, 39, 62, 0.07);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 220ms ease;
}

.home-service-card:nth-child(4n + 2) {
  --card-accent: var(--site-coral);
}

.home-service-card:nth-child(4n + 3) {
  --card-accent: #d29a39;
}

.home-service-card:nth-child(4n) {
  --card-accent: #2a9c83;
}

.home-service-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 45%, white);
  box-shadow: 0 24px 48px rgba(48, 39, 62, 0.14);
  transform: translateY(-7px);
}

.home-service-image {
  width: calc(100% + 3rem);
  max-width: none;
  height: 174px;
  margin: -1.5rem -1.5rem 1.4rem;
  flex: 0 0 174px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.home-service-card:hover .home-service-image {
  filter: saturate(1.12);
  transform: scale(1.045);
}

body:has(.home-hero) > main > section:nth-of-type(4) article {
  min-height: 218px;
  border: 1px solid rgba(94, 65, 81, 0.1);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 12px 30px rgba(74, 49, 65, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

body:has(.home-hero) > main > section:nth-of-type(4) article:hover {
  box-shadow: 0 18px 40px rgba(74, 49, 65, 0.12);
  transform: translateY(-5px);
}

body:has(.home-hero) > main > section:nth-of-type(4) article:nth-child(4n + 1) span {
  color: #55439b;
  background: #ede8fb;
}

body:has(.home-hero) > main > section:nth-of-type(4) article:nth-child(4n + 2) span {
  color: #a64b37;
  background: #ffdfd3;
}

body:has(.home-hero) > main > section:nth-of-type(4) article:nth-child(4n + 3) span {
  color: #93601a;
  background: #ffedc9;
}

body:has(.home-hero) > main > section:nth-of-type(4) article:nth-child(4n) span {
  color: #1d7665;
  background: #d9f0e5;
}

.home-process-step {
  min-height: 205px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.home-process-step:hover {
  border-color: rgba(142, 211, 178, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.home-process-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: #f0ae88;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-about-image {
  border: 8px solid rgba(255, 253, 249, 0.76);
  border-radius: 88px 28px 28px 28px;
  box-shadow: 0 28px 68px rgba(37, 73, 58, 0.16);
}

.home-about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #267c68;
  font-weight: 800;
}

.home-about-link span,
.home-project-button span {
  transition: transform 220ms ease;
}

.home-about-link:hover span,
.home-project-button:hover span {
  transform: translateX(5px);
}

.home-contact-section {
  background: linear-gradient(145deg, #fff0e6 0%, #f4eafa 100%);
}

.home-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 92% 10%, rgba(237, 118, 91, 0.24), transparent 35%),
    linear-gradient(125deg, #282238 0%, #40304f 58%, #4f344e 100%);
  box-shadow: 0 32px 72px rgba(52, 36, 67, 0.23);
}

.home-cta-card::before {
  background: radial-gradient(circle, rgba(65, 199, 168, 0.22), transparent 68%);
}

.home-project-button {
  color: #281f32;
  background: linear-gradient(110deg, #ffc078, #ed765b);
  box-shadow: 0 12px 28px rgba(237, 118, 91, 0.24);
}

.home-project-button:hover {
  background: linear-gradient(110deg, #ffd08f, #f28367);
}

.home-page-nav {
  border-color: rgba(81, 61, 93, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.82);
}

.home-page-links a {
  color: #453b51;
  background: #f1eaf7;
}

.home-page-links a:nth-child(4n + 2) {
  background: #ffede3;
}

.home-page-links a:nth-child(4n + 3) {
  background: #e4f2e9;
}

.growth-studio {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 94% 14%, rgba(237, 118, 91, 0.19), transparent 23%),
    radial-gradient(circle at 4% 92%, rgba(120, 98, 213, 0.16), transparent 30%),
    #f8f2e9;
}

.growth-studio::before,
.growth-studio::after {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(95, 74, 143, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.growth-studio::before {
  top: 50px;
  right: -170px;
  box-shadow: 0 0 0 28px rgba(120, 98, 213, 0.035), 0 0 0 58px rgba(120, 98, 213, 0.025);
}

.growth-studio::after {
  bottom: -180px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-color: rgba(45, 136, 112, 0.15);
}

.growth-studio > .site-container {
  position: relative;
  z-index: 1;
}

.growth-studio__intro {
  max-width: 710px;
  margin: 0 auto 42px;
  text-align: center;
}

.growth-studio__eyebrow,
.growth-studio__panel-eyebrow {
  margin: 0 0 14px;
  color: #7058c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.growth-studio__intro h2 {
  margin: 0 0 15px;
  color: #282238;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  font-weight: 700;
  line-height: 1.06;
}

.growth-studio__intro > p:last-child {
  margin: 0;
  color: #6c6571;
  font-size: 17px;
}

.growth-studio__layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.35fr);
  gap: 18px;
  max-width: 970px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(71, 57, 91, 0.1);
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.64);
  box-shadow: 0 24px 60px rgba(54, 42, 66, 0.1);
  backdrop-filter: blur(14px);
}

.growth-studio__tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 8px;
}

.growth-studio__tab {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  min-height: 60px;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #625c69;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.growth-studio__tab:hover {
  color: #302941;
  background: rgba(120, 98, 213, 0.08);
  transform: translateX(3px);
}

.growth-studio__tab.is-active {
  border-color: rgba(120, 98, 213, 0.13);
  color: #312744;
  background: #fffdf9;
  box-shadow: 0 8px 20px rgba(55, 43, 69, 0.08);
}

.growth-studio__tab:focus-visible,
.growth-studio__link:focus-visible,
.growth-studio__fallback a:focus-visible {
  outline: 3px solid #7862d5;
  outline-offset: 3px;
}

.growth-studio__tab-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #5d49a8;
  background: #eee9fa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.growth-studio__tab:nth-child(2) .growth-studio__tab-number {
  color: #a34a37;
  background: #ffebe2;
}

.growth-studio__tab:nth-child(3) .growth-studio__tab-number {
  color: #8a5d19;
  background: #fff0d4;
}

.growth-studio__tab:nth-child(4) .growth-studio__tab-number {
  color: #207865;
  background: #e1f3e9;
}

.growth-studio__tab-arrow {
  color: #a49baa;
  font-size: 16px;
  transition: transform 180ms ease;
}

.growth-studio__tab.is-active .growth-studio__tab-arrow {
  color: #7058c7;
  transform: translate(2px, -2px);
}

.growth-studio__panel {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  background: linear-gradient(135deg, #e8e1f8, #f9f2ea);
  isolation: isolate;
  animation: growth-panel-enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.growth-studio__panel--coral {
  background: linear-gradient(135deg, #ffe2d5 0%, #fff4e8 55%, #f7e9f4 100%);
}

.growth-studio__panel--gold {
  background: linear-gradient(135deg, #fff0d2 0%, #fff8e9 55%, #efe8f8 100%);
}

.growth-studio__panel--mint {
  background: linear-gradient(135deg, #d9f0e4 0%, #f0f5e8 55%, #e8e5f7 100%);
}

.growth-studio__panel-orbit {
  position: absolute;
  z-index: -1;
  top: -105px;
  right: -83px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(94, 72, 143, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(94, 72, 143, 0.035), 0 0 0 54px rgba(94, 72, 143, 0.025);
  transition: transform 600ms ease;
}

.growth-studio__panel:hover .growth-studio__panel-orbit {
  transform: scale(1.08) rotate(12deg);
}

.growth-studio__panel-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.growth-studio__panel-eyebrow {
  color: #6853b4;
}

.growth-studio__panel--coral .growth-studio__panel-eyebrow {
  color: #a24e3d;
}

.growth-studio__panel--gold .growth-studio__panel-eyebrow {
  color: #91611d;
}

.growth-studio__panel--mint .growth-studio__panel-eyebrow {
  color: #277765;
}

.growth-studio__panel h3 {
  max-width: 500px;
  margin: 0 0 15px;
  color: #2c263c;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
}

.growth-studio__description {
  max-width: 500px;
  margin: 0 0 22px;
  color: #5e5868;
  font-size: 15px;
  line-height: 1.75;
}

.growth-studio__services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.growth-studio__services li {
  padding: 7px 11px;
  border: 1px solid rgba(80, 66, 104, 0.1);
  border-radius: 999px;
  color: #51485e;
  background: rgba(255, 253, 249, 0.66);
  font-size: 11px;
  font-weight: 700;
}

.growth-studio__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  border-radius: 13px;
  color: #fffdf9;
  background: #352b4b;
  box-shadow: 0 10px 24px rgba(52, 43, 75, 0.18);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.growth-studio__link:hover {
  background: #5946a4;
  box-shadow: 0 13px 28px rgba(52, 43, 75, 0.23);
  transform: translateY(-2px);
}

.growth-studio__link span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.growth-studio__link:hover span {
  transform: translate(2px, -2px);
}

.growth-studio__number {
  position: absolute;
  right: 28px;
  bottom: 5px;
  color: rgba(75, 60, 110, 0.12);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
}

.growth-studio__fallback {
  display: grid;
  max-width: 970px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.growth-studio__fallback a {
  display: flex;
  min-height: 112px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(71, 57, 91, 0.12);
  border-radius: 18px;
  color: #383047;
  background: rgba(255, 253, 249, 0.8);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.growth-studio__fallback a:hover {
  box-shadow: 0 14px 28px rgba(54, 42, 66, 0.12);
  transform: translateY(-4px);
}

.growth-studio__fallback a span {
  color: #7058c7;
}

@keyframes growth-panel-enter {
  from {
    opacity: 0.55;
    transform: translateY(8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body:not(:has(.home-hero)) > main > section {
  border-bottom: 1px solid rgba(72, 58, 81, 0.07);
}

body:not(:has(.home-hero)) > main > section#services {
  background:
    radial-gradient(circle at 8% 12%, rgba(237, 118, 91, 0.1), transparent 22%),
    linear-gradient(145deg, #f8f0e7 0%, #efe9f8 56%, #e6f3eb 100%);
}

body:not(:has(.home-hero)) #services .grid > a {
  --card-accent: var(--site-violet);
  border-color: rgba(72, 58, 81, 0.12);
  border-top: 4px solid var(--card-accent);
  border-radius: 25px;
  background: #fffdf9;
  box-shadow: 0 15px 34px rgba(50, 39, 66, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

body:not(:has(.home-hero)) #services .grid > a:nth-child(4n + 2) {
  --card-accent: var(--site-coral);
}

body:not(:has(.home-hero)) #services .grid > a:nth-child(4n + 3) {
  --card-accent: #d49b3f;
}

body:not(:has(.home-hero)) #services .grid > a:nth-child(4n) {
  --card-accent: #298f78;
}

body:not(:has(.home-hero)) #services .grid > a:hover {
  box-shadow: 0 24px 48px rgba(50, 39, 66, 0.15);
  transform: translateY(-6px);
}

body:not(:has(.home-hero)) #services .grid > a > img {
  height: 220px;
  transition: transform 500ms ease, filter 300ms ease;
}

body:not(:has(.home-hero)) #services .grid > a:hover > img {
  filter: saturate(1.12);
  transform: scale(1.04);
}

body:not(:has(.home-hero)) > main > section#about {
  background:
    radial-gradient(circle at 92% 15%, rgba(237, 118, 91, 0.16), transparent 24%),
    linear-gradient(125deg, #fff1e6 0%, #f0eafa 62%, #e5f3eb 100%);
}

body:not(:has(.home-hero)):has(main > section#about) > main > section:nth-of-type(2) {
  background: #e7f2eb;
}

body:not(:has(.home-hero)):has(main > section#about) > main > section:nth-of-type(2) article {
  border-color: rgba(41, 101, 82, 0.1);
  border-radius: 25px;
  background: rgba(255, 253, 249, 0.8);
  box-shadow: 0 16px 38px rgba(42, 70, 57, 0.07);
}

body:not(:has(.home-hero)):has(main > section#about) > main > section:nth-of-type(3) {
  background:
    radial-gradient(circle at 95% 0%, rgba(237, 118, 91, 0.2), transparent 25%),
    linear-gradient(125deg, #292238, #40304e);
}

body:not(:has(.home-hero)):has(main > section#about) > main > section:nth-of-type(3) article {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(12px);
}

body:not(:has(.home-hero)):has(main > section#about) > main > section:nth-of-type(4) {
  background: #fff0e7;
}

body:not(:has(.home-hero)):has(main > section#about) > main > section:nth-of-type(4) article {
  border-color: rgba(127, 79, 58, 0.13);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.76);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

body:not(:has(.home-hero)):has(main > section#about) > main > section:nth-of-type(4) article:hover {
  box-shadow: 0 16px 34px rgba(127, 79, 58, 0.1);
  transform: translateY(-5px);
}

body:not(:has(.home-hero)) > main > section#contact {
  background:
    radial-gradient(circle at 90% 12%, rgba(120, 98, 213, 0.13), transparent 25%),
    linear-gradient(130deg, #fff4e7, #f3ebf7 62%, #e8f3ec);
}

body:not(:has(.home-hero)) > main > section#contact aside {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 118, 91, 0.21), transparent 34%),
    linear-gradient(145deg, #292238, #46304e);
  box-shadow: 0 24px 58px rgba(47, 36, 59, 0.22);
}

body:not(:has(.home-hero)) > main > section#contact form {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(90, 72, 112, 0.12);
  border-radius: 25px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 18px 46px rgba(55, 44, 69, 0.09);
}

body:not(:has(.home-hero)) > main > section#contact input,
body:not(:has(.home-hero)) > main > section#contact select,
body:not(:has(.home-hero)) > main > section#contact textarea {
  border-color: #dfd6d5;
  border-radius: 13px;
  background-color: #fffefa;
}

body:not(:has(.home-hero)) > main > section#contact input:focus,
body:not(:has(.home-hero)) > main > section#contact select:focus,
body:not(:has(.home-hero)) > main > section#contact textarea:focus {
  border-color: #7862d5;
  box-shadow: 0 0 0 4px rgba(120, 98, 213, 0.13);
}

body:not(:has(.home-hero)) > main > section#contact + section {
  background: #e5f3eb;
}

body:has(main > section#service) > main > section#service {
  background:
    radial-gradient(circle at 92% 14%, rgba(237, 118, 91, 0.16), transparent 24%),
    linear-gradient(130deg, #fff1e5, #eee9f8 60%, #e2f2eb);
}

body:has(main > section#service) > main > section#service img {
  border: 8px solid rgba(255, 253, 249, 0.78);
  border-radius: 34px 34px 88px 34px;
  box-shadow: 0 28px 65px rgba(48, 37, 61, 0.18);
}

body:has(main > section#service) > main > section:nth-of-type(2) {
  background: #f7f1e8;
}

body:has(main > section#service) > main > section:nth-of-type(2) article {
  border: 1px solid rgba(79, 61, 95, 0.11);
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: 0 16px 38px rgba(50, 39, 66, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

body:has(main > section#service) > main > section:nth-of-type(2) article:nth-child(3n + 2) {
  background: #f0eafa;
}

body:has(main > section#service) > main > section:nth-of-type(2) article:nth-child(3n) {
  background: #e6f2eb;
}

body:has(main > section#service) > main > section:nth-of-type(2) article:hover {
  box-shadow: 0 22px 48px rgba(50, 39, 66, 0.13);
  transform: translateY(-5px);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(ellipse at 88% 0%, rgba(237, 118, 91, 0.17), transparent 28%),
    linear-gradient(115deg, #211c31, #30233e 66%, #263b3b);
}

.site-footer .brand-mark {
  color: #281f32;
  background: linear-gradient(135deg, #ffc078, #41c7a8 75%);
}

.site-footer p {
  color: #c9c1d0;
}

.back-to-top {
  color: #f7c09d;
}

.back-to-top:hover {
  color: #8fe1c3;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .growth-studio__layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 23px;
  }

  .growth-studio__tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 2px;
  }

  .growth-studio__tab {
    display: flex;
    min-height: 68px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px 3px;
    border-radius: 13px;
    font-size: 11px;
    text-align: center;
  }

  .growth-studio__tab:hover {
    transform: translateY(-2px);
  }

  .growth-studio__tab-number {
    width: 27px;
    height: 27px;
    border-radius: 9px;
    font-size: 9px;
  }

  .growth-studio__tab-arrow {
    display: none;
  }

  .growth-studio__panel {
    min-height: 390px;
    padding: 28px 22px;
    border-radius: 18px;
  }

  .growth-studio__services li {
    font-size: 10px;
  }

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

  .home-service-image {
    width: calc(100% + 2.5rem);
    height: 158px;
    margin: -1.25rem -1.25rem 1.25rem;
    flex-basis: 158px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

.site-chatbot {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 70;
  font-family: "DM Sans", sans-serif;
}

.site-chatbot button,
.site-chatbot input {
  font: inherit;
}

.site-chatbot button:focus-visible,
.site-chatbot a:focus-visible,
.site-chatbot input:focus-visible {
  outline: 3px solid #ed765b;
  outline-offset: 3px;
}

.site-chatbot__launcher {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  color: #fffdf9;
  background: linear-gradient(140deg, #ed765b 0%, #bd5b83 48%, #7862d5 100%);
  box-shadow: 0 15px 34px rgba(48, 34, 69, 0.3), inset 0 1px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-radius 200ms ease;
}

.site-chatbot__launcher:hover {
  border-radius: 50%;
  box-shadow: 0 19px 42px rgba(48, 34, 69, 0.38), inset 0 1px rgba(255, 255, 255, 0.48);
  transform: translateY(-3px) rotate(5deg);
}

.site-chatbot__launcher.is-open {
  border-radius: 50%;
}

.site-chatbot__launcher-icon {
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(42, 30, 58, 0.22);
}

.site-chatbot__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  display: flex;
  width: min(390px, calc(100vw - 32px));
  max-height: min(570px, calc(100dvh - 185px));
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 25px;
  background: #fffdf9;
  box-shadow: 0 25px 70px rgba(39, 31, 52, 0.3);
}

.site-chatbot__panel[hidden] {
  display: none;
}

.site-chatbot__panel.is-open {
  animation: chatbot-panel-enter 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.site-chatbot__header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  color: #fffdf9;
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 118, 91, 0.31), transparent 35%),
    linear-gradient(115deg, #282238 0%, #40304e 65%, #315349 100%);
}

.site-chatbot__title {
  margin: 0 0 3px;
  color: #fffdf9;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-chatbot__status {
  margin: 0;
  color: #ded8e5;
  font-size: 11px;
}

.site-chatbot__close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fffdf9;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background 160ms ease, transform 160ms ease;
}

.site-chatbot__close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

.site-chatbot__messages {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px 16px 10px;
  overscroll-behavior: contain;
  scrollbar-color: #cabee4 transparent;
  scrollbar-width: thin;
}

.site-chatbot__message {
  width: fit-content;
  max-width: 90%;
  padding: 11px 13px;
  border: 1px solid rgba(71, 57, 91, 0.08);
  border-radius: 5px 16px 16px 16px;
  color: #40394a;
  background: #f0ebf7;
  font-size: 13px;
  line-height: 1.55;
  animation: chatbot-message-enter 180ms ease both;
}

.site-chatbot__message--visitor {
  align-self: flex-end;
  border-color: rgba(39, 123, 102, 0.12);
  border-radius: 16px 5px 16px 16px;
  color: #183e35;
  background: #e2f2e9;
}

.site-chatbot__message-copy {
  margin: 0;
}

.site-chatbot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.site-chatbot__action {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(89, 69, 155, 0.16);
  border-radius: 999px;
  color: #59469f;
  background: rgba(255, 253, 249, 0.9);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-chatbot__action:hover {
  border-color: #7862d5;
  color: #352b4b;
  transform: translateY(-1px);
}

.site-chatbot__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 5px 15px 13px;
}

.site-chatbot__suggestion {
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid #e8dfd7;
  border-radius: 999px;
  color: #60566d;
  background: #fffaf0;
  cursor: pointer;
  font-size: 11px !important;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-chatbot__suggestion:hover {
  border-color: #edb2a1;
  background: #fff0e7;
  transform: translateY(-1px);
}

.site-chatbot__form {
  display: flex;
  gap: 8px;
  padding: 13px;
  border-top: 1px solid #eee6de;
  background: #fbf7f0;
}

.site-chatbot__input {
  width: 0;
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 0 13px;
  border: 1px solid #e3d9d4;
  border-radius: 13px;
  color: #292637;
  background: #fffdf9;
  font-size: 13px !important;
}

.site-chatbot__input::placeholder {
  color: #948a91;
}

.site-chatbot__input:focus {
  border-color: #7862d5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 98, 213, 0.14);
}

.site-chatbot__send {
  min-width: 64px;
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  border-radius: 13px;
  color: #fffdf9;
  background: linear-gradient(115deg, #7862d5, #4a8f7e);
  box-shadow: 0 6px 15px rgba(90, 73, 147, 0.2);
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 800;
  transition: filter 160ms ease, transform 160ms ease;
}

.site-chatbot__send:hover {
  filter: saturate(1.2);
  transform: translateY(-1px);
}

@keyframes chatbot-panel-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transform-origin: bottom right;
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatbot-message-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .site-chatbot {
    right: 16px;
    bottom: 82px;
  }

  .site-chatbot__launcher {
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }

  .site-chatbot__panel {
    width: min(390px, calc(100vw - 32px));
    max-height: calc(100dvh - 170px);
    min-height: min(400px, calc(100dvh - 170px));
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-chatbot__launcher,
  .site-chatbot__close,
  .site-chatbot__action,
  .site-chatbot__suggestion,
  .site-chatbot__send {
    transition: none;
  }

  .site-chatbot__panel.is-open,
  .site-chatbot__message {
    animation: none;
  }
}
