/* ==========================================================================
   PRASMIT CONSULTANCY & SERVICES - simple stylesheet
   Basic, clean, static. Flat colors: Navy + Green + White + Red.
   No animations, transitions, shadows, or hover effects.
   ========================================================================== */

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

:root {
  --navy: #121e36;
  --navy-dark: #0c1526;
  --navy-soft: #1c2c4d;
  --green: #25b14c;
  --green-dark: #1e9e4d;
  --red: #cc0000;
  --blue: #1f6feb;
  --text: #333a47;
  --text-light: #5c6878;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --gray-bg: #eef1f5;
  --border: #dde3eb;
  --border-soft: #e8ecf2;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   PRIMARY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--white);
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  padding: 6px 0;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
  transform: translateY(2px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-lockup-name,
.brand-lockup-sub {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.25;
}

.brand-part-navy {
  color: var(--blue);
}

.brand-part-red {
  color: var(--red);
}

.brand-tagline {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-top: 2px;
  text-transform: uppercase;
}

.main-nav {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav-links > li {
  position: relative;
}

.nav-link {
  position: relative;
  display: block;
  padding: 30px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.nav-link:hover {
  color: var(--navy-dark);
}

.nav-link.is-active {
  color: var(--navy-dark);
  border-bottom: 3px solid var(--green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* ==========================================================================
   SECONDARY SERVICES NAVIGATION
   ========================================================================== */
.services-nav {
  background: var(--navy);
}

@media (min-width: 641px) {
  .services-nav {
    position: sticky;
    top: 110px;
    z-index: 200;
  }
}

.services-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.services-label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 16px 8px 4px;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.services-label:hover {
  color: var(--white);
}

.services-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}

.svc-item {
  position: relative;
}

.svc-link {
  display: block;
  padding: 10px 11px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.svc-link:hover,
.svc-item:focus-within > .svc-link {
  background: var(--navy-dark);
  color: var(--green);
}

.caret {
  display: inline-block;
  font-size: 9px;
  margin-left: 3px;
}

.svc-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 400;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  opacity: 0;
  visibility: hidden;
}

.svc-item:hover .svc-dropdown,
.svc-item:focus-within .svc-dropdown {
  opacity: 1;
  visibility: visible;
}

.svc-dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--navy-dark);
  border-bottom: 1px solid var(--border-soft);
}

.svc-dropdown li a:hover {
  background: var(--off-white);
  color: var(--navy);
}

.svc-dropdown li:last-child a {
  border-bottom: none;
}

.svc-group-title {
  display: block;
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

/* Mobile-only services menu (shown in the 640px breakpoint) */
.services-mobile {
  display: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 3px;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: var(--navy-dark);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(18, 30, 54, 0.45);
}

.btn-outline:hover {
  background: var(--off-white);
}

/* ==========================================================================
   HERO (HOME)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--sticky-h, 124px));
  min-height: calc(100dvh - var(--sticky-h, 124px));
  padding: 40px 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 21, 38, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}

.hero-title .accent {
  color: var(--green);
}

.hero-desc {
  font-size: 17px;
  color: #e9eef5;
  max-width: 660px;
  margin: 0 auto 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   PAGE BANNER (inner pages)
   ========================================================================== */
.page-banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 40px 0 36px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--green);
}

.page-subtitle {
  color: #d5e2f2;
  font-size: 15.5px;
  max-width: 660px;
  margin-top: 14px;
}

.page-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ==========================================================================
   SECTIONS - GENERAL
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-title {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--green);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 15px;
  margin: 12px 0 28px;
}

/* ==========================================================================
   ICON CHIPS
   ========================================================================== */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: var(--green);
  color: var(--navy-dark);
}

.icon-chip svg {
  width: 24px;
  height: 24px;
}

.icon-chip-sm {
  width: 40px;
  height: 40px;
}

.icon-chip-sm svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  background: var(--white);
}

.about-text {
  max-width: 820px;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 15.5px;
  line-height: 1.8;
}

.domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.domain-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  padding: 24px 22px;
}

.domain-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.domain-head h3 {
  font-size: 17px;
  color: var(--navy-dark);
}

.domain-box p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.key-strengths,
.value-prop {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 26px;
  max-width: 820px;
}

.value-prop {
  margin-top: 20px;
}

.value-prop p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

.key-strengths-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.key-strengths-head h3 {
  font-size: 17px;
  color: var(--navy-dark);
}

.strengths-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.strengths-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 10px 12px;
}

.strengths-list li::before {
  content: "\2713";
  flex: 0 0 auto;
  color: var(--navy-dark);
  font-weight: 700;
}

/* ==========================================================================
   SERVICES (HOME PREVIEW)
   ========================================================================== */
.services {
  background: var(--off-white);
}

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

.preview-block {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px 20px;
}

.preview-block:hover {
  border-color: var(--green);
}

.preview-block .icon-chip {
  margin-bottom: 12px;
  background: var(--navy);
  color: var(--white);
}

.preview-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.preview-block p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ==========================================================================
   SERVICES DETAIL PAGE
   ========================================================================== */
.services-detail {
  background: var(--off-white);
}

.service-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  padding: 26px;
  margin-bottom: 24px;
  scroll-margin-top: 150px;
  scroll-snap-margin-top: 150px;
}

.service-cat-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.service-cat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 26px;
}

.service-cat-list li {
  position: relative;
  font-size: 14.5px;
  color: var(--text);
  padding: 7px 0 7px 22px;
  border-bottom: 1px solid var(--border-soft);
}

.service-cat-list li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  top: 7px;
  color: var(--green);
  font-size: 18px;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why {
  background: var(--white);
}

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

.why-item {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  padding: 24px 20px;
}

.why-item .icon-chip {
  margin-bottom: 14px;
}

.why-item h4 {
  font-size: 16px;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 13.5px;
  color: var(--text-light);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  background: var(--off-white);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.contact-info {
  margin-top: 26px;
}

.contact-media {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
}

.contact-media .contact-media-pic,
.contact-media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 26px;
}

.contact-info h3 {
  font-size: 19px;
  color: var(--navy-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.contact-address {
  font-size: 14px;
  color: var(--navy-dark);
  line-height: 1.75;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 7px 0;
  color: var(--navy-dark);
}

.contact-details li svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--navy);
  margin-top: 3px;
}

.contact-details .label {
  font-weight: 700;
  color: var(--navy);
}

.contact-details a {
  color: var(--blue);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--navy-dark);
  text-decoration: underline;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-dark);
}

.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
  display: none;
  border: 1px solid var(--border);
}

.form-status.success {
  display: block;
  background: #e7f6ec;
  color: #1c7a3d;
  border-color: #b7e3c4;
}

.form-status.error {
  display: block;
  background: #fdeced;
  color: #b0342f;
  border-color: #f2c2c0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--white);
  color: var(--text);
  border-top: 3px solid var(--green);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

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

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-qr-img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: var(--white);
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.footer-qr-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.footer-bottom {
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-light);
}

/* ==========================================================================
   FULL-PAGE BACKGROUNDS
   Each page's image is rendered as a fixed full-viewport <img> with
   object-fit: cover. Because it is sized to the VIEWPORT (100vh), not the
   tall document body, it is not zoomed/cropped as aggressively as a body
   background - far more of the original image stays visible. Responsive
   WebP/JPEG sources load only the size the screen needs.
   ========================================================================== */

/* Navy fallback behind everything while images load / as base color */
html {
  background-color: var(--navy);
}

/* Background image: fixed, covers the whole viewport, sits behind content */
body.bg-home,
body.bg-services,
body.bg-contact {
  background-color: transparent;
}

.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  pointer-events: none;
}

.page-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(12, 21, 38, 0.60);
  pointer-events: none;
}

/* ==========================================================================
   HOME TEXT READABILITY
   On the Home page, keep the photo clearly visible overall (lighter global
   overlay) and add subtle dark gradients directly behind the text so the
   white and safety-green text stands out without any solid box or card.
   ========================================================================== */

/* Lighter global dim on Home so the image stays clearly visible */
body.bg-home .page-bg-overlay {
  background: rgba(12, 21, 38, 0.35);
}

/* Hero: natural elliptical scrim behind the centered text, fading to clear */
body.bg-home .hero {
  position: relative;
}

body.bg-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 75% 58% at 50% 50%,
    rgba(8, 14, 28, 0.82) 0%,
    rgba(8, 14, 28, 0.55) 40%,
    rgba(8, 14, 28, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}

body.bg-home .hero-content {
  position: relative;
  z-index: 1;
}

/* Services & Why headings: faint top scrim behind the centered title + subtitle
   that fades downward so the rest of the photo stays fully visible */
body.bg-home .services,
body.bg-home .why {
  position: relative;
}

body.bg-home .services::before,
body.bg-home .why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(
    to bottom,
    rgba(8, 14, 28, 0.60) 0%,
    rgba(8, 14, 28, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

body.bg-home .section-title,
body.bg-home .section-subtitle {
  position: relative;
  z-index: 1;
}

/* Responsive: on narrow screens the hero text band is shorter but fills more
   width, so widen and soften the scrim so it lifts the text without washing
   out the photo. */
@media (max-width: 640px) {
  body.bg-home .hero::before {
    background: radial-gradient(
      ellipse 98% 58% at 50% 50%,
      rgba(8, 14, 28, 0.80) 0%,
      rgba(8, 14, 28, 0.52) 45%,
      rgba(8, 14, 28, 0) 75%
    );
  }

  body.bg-home .services::before,
  body.bg-home .why::before {
    height: 200px;
  }
}

/* Let the photo show through the page's main sections. The footer is
   deliberately NOT made transparent so it stays solid white on every page. */
body.bg-home .hero,
body.bg-home .services,
body.bg-home .why,
body.bg-services .page-banner,
body.bg-services .services-detail,
body.bg-contact .page-banner,
body.bg-contact .contact {
  background: transparent;
}

/* Text sitting directly on the photo stays light for readability */
body.bg-home .section-title,
body.bg-home .section-subtitle,
body.bg-services .page-title,
body.bg-contact .page-title,
body.bg-contact .section-subtitle {
  color: #ffffff;
}

/* Content cards stay (near-)solid so their text remains legible */
body.bg-services .service-section,
body.bg-contact .contact-info,
body.bg-contact .contact-form {
  background: rgba(255, 255, 255, 0.94);
}

/* Footer: always pure white with dark text, regardless of page background.
   Ensures it stays readable and matches the About page on every page. */
body.bg-home .footer,
body.bg-services .footer,
body.bg-contact .footer {
  background: var(--white);
  color: var(--text);
}

/* Narrow screens: use mobile-specific background behavior. The image fills
   the viewport via object-fit: cover, but is positioned so the important
   central part of each provided image stays visible instead of simply
   zooming the desktop layout. Guards against horizontal overflow. */
@media (max-width: 640px) {
  .page-bg {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .page-bg-overlay {
    width: 100vw;
    max-width: 100vw;
  }

  .page-bg-img {
    object-fit: cover;
    object-position: center;
  }
}

/* ==========================================================================
   REVEAL (kept inert - no animation, content always visible)
   ========================================================================== */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .domains {
    grid-template-columns: 1fr;
  }

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

  .strengths-list {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .contact-media .contact-media-img {
    height: auto;
    max-height: 440px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* Header: vertical centered brand lockup (logo above name) + right hamburger */
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 8px;
    position: relative;
    justify-content: center;
  }

  .brand {
    padding: 0;
    flex: none;
    min-width: 0;
    display: flex;
  }

  .brand-link {
    gap: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
  }

  .brand-logo {
    height: 72px;
    transform: none;
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .brand-lockup {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-lockup-name,
  .brand-lockup-sub {
    font-size: 20px;
    letter-spacing: 0.3px;
  }

  .nav-toggle {
    display: flex;
    padding: 8px;
    gap: 4px;
  }

  .main-nav {
    order: 0;
    width: auto;
    flex: 0 0 auto;
    margin-left: 0;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    display: none;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(12, 21, 38, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 13px 18px;
    font-size: 15px;
    border-bottom: 1px solid var(--border-soft);
    white-space: nowrap;
  }

  .nav-link.is-active {
    border-bottom: 3px solid var(--green);
  }

  /* Mobile Services menu replaces the horizontal nav */
  .services-nav-links {
    display: none;
  }

  .services-label {
    display: none;
  }

  .services-mobile {
    display: block;
    padding: 8px 0;
  }

  .services-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy-soft);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  .services-mobile-menu {
    display: none;
    margin-top: 6px;
    padding: 4px 0;
    background: var(--navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .services-mobile-menu.open {
    display: block;
    max-height: 62vh;
    overflow-y: auto;
  }

  .services-mobile-menu li + li a {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .services-mobile-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #d5e2f2;
  }

  .services-mobile-menu a:hover {
    background: var(--navy);
    color: var(--green);
  }

  /* Sections */
  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
    margin: 10px 0 24px;
  }

  /* Page banner */
  .page-banner {
    padding: 28px 0 24px;
  }

  .page-title {
    font-size: 25px;
  }

  .page-subtitle {
    font-size: 14.5px;
  }

  .page-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 26px;
  }

  .page-cta .btn {
    width: 100%;
  }

  /* Hero */
  .hero {
    padding: 20px 0;
  }

  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .about-text p {
    font-size: 15px;
  }

  .domains {
    gap: 14px;
  }

  .domain-box {
    padding: 20px 18px;
  }

  .key-strengths,
  .value-prop {
    padding: 20px 18px;
  }

  .strengths-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .services-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 26px;
  }

  .services-cta .btn {
    width: 100%;
  }

  .service-section {
    padding: 20px 16px;
    margin-bottom: 18px;
    scroll-margin-top: 130px;
  }

  .service-cat-title {
    font-size: 18px;
    gap: 11px;
  }

  .service-cat-list {
    grid-template-columns: 1fr;
  }

  .service-cat-list li {
    font-size: 14px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-wrap {
    gap: 18px;
  }

  .contact-info,
  .contact-form {
    padding: 20px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 12px;
    font-size: 16px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding: 26px 0;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-bottom p {
    font-size: 12.5px;
  }
}

@media (max-width: 400px) {
  .brand-link {
    gap: 5px;
  }

  .brand-logo {
    height: 62px;
    transform: none;
  }

  .brand-lockup {
    gap: 3px;
  }

  .brand-lockup-name,
  .brand-lockup-sub {
    font-size: 16px;
    letter-spacing: 0.2px;
  }

  .hero {
    padding: 16px 0;
  }

  .hero-title {
    font-size: 23px;
  }

  .section-title {
    font-size: 22px;
  }
}

@media (max-width: 350px) {
  .brand-link {
    gap: 4px;
  }

  .brand-logo {
    height: 55px;
    transform: none;
  }

  .brand-lockup {
    gap: 2px;
  }

  .brand-lockup-name,
  .brand-lockup-sub {
    font-size: 13px;
    letter-spacing: 0.1px;
  }

  .hero-title {
    font-size: 21px;
  }
}
