
:root {
  --nav-background: #ffffff;
  --text-color: #181818;
  --accent-color: #1743c0;
  --border-color: #e8e8e8;
  --dropdown-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  --navbar-height: 76px;
  --main-color: #152039;
  --icon-color: #00c8ff;
  --font-primary: "Momo Trust Display", sans-serif;
  --font-secondary: "Momo Trust Sans", sans-serif;
  --font-accent: "DM Sans", sans-serif;
  /* shared max content width for the navbar and every section */
  --container: 1332px;
}

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

body {
  color: var(--text-color);
  background: #ffffff;
}

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

button {
  font: inherit;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: transparent;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Scrolled state — solid main color, all content white */
.navbar.scrolled {
  background: var(--main-color);
  box-shadow: 0 6px 24px rgba(21, 32, 57, 0.18);
}

.navbar.scrolled .navbar-logo,
.navbar.scrolled .navbar-logo span,
.navbar.scrolled .navbar-link,
.navbar.scrolled .dropdown-toggle {
  color: #ffffff;
}

.navbar.scrolled .navbar-link:hover,
.navbar.scrolled .dropdown-toggle:hover,
.navbar.scrolled .navbar-item:focus-within > .dropdown-toggle {
  color: #ffffff;
  opacity: 0.75;
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
  background: #ffffff;
}

.navbar.scrolled .nav-button {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--main-color);
}

.navbar.scrolled .nav-button:hover {
  background: transparent;
  color: #ffffff;
}

.navbar-container {
  width: min(var(--container), calc(100% - 40px));
  min-height: var(--navbar-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Logo */
.navbar-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.7px;
  font-family: var(--font-primary);
}

/* logo mark: colour on light, white on dark backgrounds */
.logo-img {
  display: block;
  width: auto;
  height: 30px;
}

.logo-img--white {
  display: none;
}

.navbar.scrolled .logo-img--colour {
  display: none;
}

.navbar.scrolled .logo-img--white {
  display: block;
}

/* "exitech" in Ubuntu, lowercase; "Design" keeps the accent treatment */
.logo-exitech {
  font-family: "Ubuntu", sans-serif;
  text-transform: lowercase;
  font-weight: 500;
}

.navbar-logo .logo-design {
  color: var(--accent-color);
}

/* Desktop Navigation */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-item {
  position: relative;
}

.navbar-link,
.dropdown-toggle {
  min-height: 46px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-accent);
  transition:
    color 0.4s ease,
    background-color 0.4s ease;
}

.navbar-link:hover,
.dropdown-toggle:hover,
.navbar-item:focus-within > .dropdown-toggle {
  color: var(--accent-color);
  font-weight: 600;
}

.dropdown-arrow {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.4s ease;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1100;
  width: 230px;
  padding: 10px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--dropdown-shadow);
  font-family: var(--font-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

/* invisible bridge so the menu doesn't close while moving the cursor down to it */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

.dropdown-link {
  display: block;
  padding: 12px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition:
    color 0.4s ease,
    background-color 0.4s ease,
    padding-left 0.4s ease;
}

.dropdown-link:hover,
.dropdown-link:focus {
  padding-left: 17px;
  color: var(--accent-color);
  background: #f4fafe;
  outline: none;
}

.navbar-item:hover > .dropdown-menu,
.navbar-item:focus-within > .dropdown-menu,
.navbar-item.dropdown-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-item:hover > .dropdown-toggle .dropdown-arrow,
.navbar-item:focus-within > .dropdown-toggle .dropdown-arrow,
.navbar-item.dropdown-open > .dropdown-toggle .dropdown-arrow {
  transform: rotate(225deg);
}

/* Action Button */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid var(--main-color);
  border-radius: 999px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-primary);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-button:hover {
  color: var(--main-color);
  background: #ffffff;
  transform: translateY(-1px);
}

/* Mobile Toggle */
.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 40px;
  background: transparent;
  cursor: pointer;
}

.hamburger {
  position: relative;
  width: 24px;
  height: 2px;
  display: block;
  background: var(--text-color);
  transition: background-color 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  transition:
    top 0.2s ease,
    transform 0.2s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.menu-toggle.active .hamburger {
  background: transparent;
}

.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  /* pull the hero (and its corner graphics) up behind the transparent navbar */
  margin-top: calc(-1 * var(--navbar-height));
  padding: calc(70px + var(--navbar-height)) 20px 0;
  text-align: center;
}

/* Decorative corner graphics (icons + connector lines) */
.hero-deco {
  position: absolute;
  top: -82px;
  z-index: -1;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* homepage hero anchors the decorations at the very top instead */
.hero .hero-deco {
  top: 0px;
}

/* mobile-only corner graphics (hidden on desktop/tablet) */
.hero-deco-mobile {
  display: none;
  position: absolute;
  top: 0;
  z-index: -1;
  height: auto;
  opacity: 0.23;
  pointer-events: none;
  user-select: none;
}

.hero-deco-mobile--left {
  left: -20px;
}

.hero-deco-mobile--right {
  right: -20px;
}

/* left graphic: anchored top-left, bleeds off the top and left edges */
.hero-deco--left {
  left: 0px;
  width: 18%;
}

/* right graphic: anchored top-right, bleeds off the top and right edges */
.hero-deco--right {
  right: 0px;
  width: 18%;
}

/* Floating icon cards */
.hero-icon {
  position: absolute;
  z-index: 1;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(21, 32, 57, 0.12);
  color: var(--main-color);
}

.hero-icon svg {
  width: 30px;
  height: 30px;
}

.hero-icon--gauge {
  top: 175px;
  left: 195px;
}
.hero-icon--mobile {
  top: 470px;
  left: 50px;
}
.hero-icon--share {
  top: 265px;
  right: 195px;
}
.hero-icon--chart {
  top: 420px;
  right: 75px;
}

/* Hero content */

.hero-content-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  font-family: var(--font-primary);
}

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

.hero-text {
  max-width: 600px;
  color: #5a6275;
  font-size: 18px;
  line-height: 1.5;
  font-family: var(--font-accent);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-primary);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn--primary {
  background: var(--accent-color);
  color: #ffffff;
}

.btn--dark {
  background: var(--main-color);
  color: #ffffff;
}

.btn:hover {
  background: #ffffff;
  color: var(--main-color);
  border-color: var(--main-color);
  transform: translateY(-2px);
}

/* Stacked project showcase — one card in front, the rest tucked behind */
.hero-gallery {
  --card-w: 820px;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  height: 480px;
  margin: 70px auto 0;
}

.gallery-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: var(--card-w);
  margin-left: calc(var(--card-w) / -2);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: bottom center;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* slots: front-center is largest & on top; the rest sit behind, upright and in line */
.slot-center {
  transform: translateX(0) scale(1);
  z-index: 50;
}

.slot-mid-left {
  transform: translateX(-200px) scale(0.86);
  z-index: 40;
  filter: brightness(0.97);
}

.slot-mid-right {
  transform: translateX(200px) scale(0.86);
  z-index: 40;
  filter: brightness(0.97);
}

.slot-back-left {
  transform: translateX(-360px) scale(0.74);
  z-index: 30;
  filter: brightness(0.93);
}

.slot-back-right {
  transform: translateX(360px) scale(0.74);
  z-index: 30;
  filter: brightness(0.93);
}

.gallery-card:not(.slot-center):hover {
  filter: brightness(1);
}

@media (max-width: 1100px) {
  .hero-icon {
    display: none;
  }
  .hero-deco {
    display: none;
  }

  .hero-gallery {
    --card-w: 500px;
    height: 420px;
  }

  .slot-mid-left {
    transform: translateX(-120px) scale(0.86);
  }
  .slot-mid-right {
    transform: translateX(120px) scale(0.86);
  }
  .slot-back-left {
    transform: translateX(-215px) scale(0.74);
  }
  .slot-back-right {
    transform: translateX(215px) scale(0.74);
  }
}

@media (max-width: 760px) {
  /* show the corner graphics on mobile homepage hero */
  .hero-deco-mobile {
    display: block;
    width: 32%;
    max-width: 200px;
  }

  /* stack the showcase images vertically, still overlapping */
  .hero-gallery {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 560px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-card {
    position: static;
    width: 100%;
    margin-left: 0;
    filter: none;
    transform: none;
  }

  /* upper images only peek; the next one sits on top of them */
  .gallery-card:not(:last-child) {
    height: 56px;
    overflow: hidden;
  }

  /* slight overlap so each sits on top of the one above */
  .gallery-card + .gallery-card {
    margin-top: -12px;
  }

  .gallery-card:nth-child(1) { z-index: 1; }
  .gallery-card:nth-child(2) { z-index: 2; }
  .gallery-card:nth-child(3) { z-index: 3; }
  .gallery-card:nth-child(4) { z-index: 4; }
  .gallery-card:last-child { z-index: 5; }

  /* keep slot transforms from re-applying when cards are clicked/swapped */
  .slot-center,
  .slot-mid-left,
  .slot-mid-right,
  .slot-back-left,
  .slot-back-right {
    transform: none;
  }

  .gallery-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .btn {
    min-height: 50px;
    padding: 0 26px;
  }
}

/* ===== "A Website You'll Never Have to Stress About Again" ===== */
.stress {
  max-width: var(--container);
  margin: 120px auto 0;
  padding: 0 20px;
}

.stress-head {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.stress-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  color: #000000;
}

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

.stress-intro {
  margin-top: 22px;
  font-family: var(--font-accent), sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2b2f3a;
}

/* Bento grid: 2 wide cards on top, 3 cards below */
.stress-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.bento--responsive {
  grid-column: span 15;
}
.bento--speed {
  grid-column: span 9;
}
.bento--seo {
  grid-column: span 9;
}
.bento--ppc {
  grid-column: span 8;
}
.bento--templates {
  grid-column: span 7;
}

.bento {
  position: relative;
  overflow: hidden; /* clips the bleeding image rectangles */
  min-height: 530px;
  padding: 38px 36px;
  border-radius: 22px;
  background: #f2f3f5;
}

/* main-color fill that sweeps in diagonally from the top-left corner on hover */
.bento::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--main-color);
  clip-path: polygon(0 0, 0 0, 0 0);
  transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.bento:hover::before {
  clip-path: polygon(0 0, 200% 0, 0 200%);
}

/* keep all card content above the colour fill (without changing the
   containing block of the absolutely-positioned images) */
.bento-text-layout,
.bento-text {
  position: relative;
  z-index: 2;
}

.bento-img {
  z-index: 2;
}

/* text turns white as the colour sweeps across */
.bento:hover .bento-title,
.bento:hover .bento-copy,
.bento:hover .bento-link,
.bento:hover .bento-arrows {
  color: #ffffff;
}

.bento--templates {
  background-color: white;
  /* Dashed border with adjustable dash + gap (border can't do this).
     In each gradient: "0 10px" = 10px dash, "10px 22px" = 12px gap (22-10).
     The "2px" in background-size = border thickness. */
  background-image:
    repeating-linear-gradient(0deg,   var(--border-color) 0 10px, transparent 10px 22px),
    repeating-linear-gradient(90deg,  var(--border-color) 0 10px, transparent 10px 22px),
    repeating-linear-gradient(180deg, var(--border-color) 0 10px, transparent 10px 22px),
    repeating-linear-gradient(270deg, var(--border-color) 0 10px, transparent 10px 22px);
  background-size: 2px 100%, 100% 2px, 2px 100%, 100% 2px;
  background-position: 0 0, 0 0, 100% 0, 0 100%;
  background-repeat: no-repeat;
  border-radius: 14px;
}

.bento--center {
  text-align: center;
}

.bento-text-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-text {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.bento--responsive .bento-text {
  max-width: 46%;
}

.bento-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bento-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 26px;
  line-height: 1.15;
  color: #0c1322;
  transition: color 0.4s ease;
}

.bento--center .bento-title {
  margin: 0 auto;
}

.bento-copy {
  margin-top: 16px;
  font-family: var(--font-accent), sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #4a4f5b;
  transition: color 0.4s ease;
}

.bento-link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-accent), sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-color);
  transition: color 0.4s ease;
}

.bento-arrows {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--accent-color);
  transition: color 0.4s ease;
}

/* placeholder image rectangles */
.ph {
  position: absolute;
  display: block;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e3e6ec;
  box-shadow: 0 18px 40px rgba(21, 32, 57, 0.1);
}

/* bento images: absolutely placed inside their card, clipped by the card's overflow */
.bento-img {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
}

/* Card 1 — laptop + phone screenshot, bleeds off the card's right edge (clipped) */
.bento-img--responsive {
    right: -73px;
    bottom: 11px;
    width: 67%;
}

/* Card 2 — wide speed composite, bleeds off both side edges (clipped) */
.bento-img--speed {
  left: 50%;
  bottom: 28px;
  width: 660px;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
}

/* Card 3 — search screenshot, clipped at the bottom */
.bento-img--seo {
  left: 16px;
  bottom: -89px;
  width: calc(100% - 42px);
  height: auto;
}

/* Card 4 — google ads diagram, sits at the bottom */
.bento-img--ads {
  left: 50%;
  bottom: 2px;
  width: 95%;
  height: auto;
  transform: translateX(-50%);
}

/* Card 5 — template wireframe, clipped at the bottom */
.bento-img--templates {
  left: 70%;
  bottom: -40px;
  width: 100%;
  height: auto;
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .stress-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento--responsive,
  .bento--speed,
  .bento--seo,
  .bento--ppc,
  .bento--templates {
    grid-column: span 1;
  }

  /* laptop card: text full width, image flows in below the text */
  .bento--responsive {
    min-height: 0;
  }

  .bento--responsive .bento-text-layout {
    height: auto;
  }

  .bento--responsive .bento-text {
    max-width: 100%;
  }

  .bento-img--responsive {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 26px;
  }
}

@media (max-width: 640px) {
  .stress-grid {
    grid-template-columns: 1fr;
  }

  /* all cards share a fixed 500px height on mobile */
  .bento,
  .bento--responsive {
    min-height: 500px;
    height: 500px;
    padding: 30px 24px;
  }

  .bento--responsive .bento-text {
    max-width: 100%;
  }

  .bento-img--seo {
    bottom: -6%;
  }

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

/* ===== Pricing + founder / features ===== */
.pricing-head {
  max-width: 760px;
  margin: 110px auto 0;
  padding: 0 20px;
  text-align: center;
}

.pricing-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: #0c1322;
}

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

.pricing-intro {
  margin-top: 18px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #5a6172;
}

/* dark panel */
.pricing-body {
  margin-top: 56px;
  padding: 70px max(20px, 50% - 600px);
  background: var(--main-color);
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 56px;
  align-items: stretch;
}

/* founder photo card — stretches to match the feature column height */
.founder {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, #3b4ea8 0%, #8a6fc4 100%);
  min-height: 420px;
}

.founder-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-badge {
  position: absolute;
  right: 20px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 16px 24px 16px 90px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: right;
}

/* navy angled tab on the left edge of the badge */
.founder-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 84px;
  background: var(--main-color);
  clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%);
}

.founder-name {
  font-family: var(--font-primary), sans-serif;
  font-size: 17px;
  color: #0c1322;
}

.founder-role {
  font-family: var(--font-accent), sans-serif;
  font-size: 13px;
  color: #6b7280;
}

/* features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}

/* icon sits inline with the title; copy spans the full width below */
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
}

.feature-icon {
  display: inline-flex;
  color: var(--accent-color);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 19px;
  color: #ffffff;
}

.feature-copy {
  grid-column: 1 / -1;
  font-family: var(--font-accent), sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #aeb6c6;
}

.pricing-cta {
  margin-top: 44px;
  width: auto;
  min-width: 200px;
}

@media (max-width: 900px) {
  .pricing-body {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 56px 20px;
  }

  .founder {
    max-width: 360px;
    margin: 0 auto;
  }

  .pricing-cta {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== Portfolio / "Some of the work we've done" ===== */
.work {
  background: #f2f3f5;
  padding: 100px 20px 110px;
}

.work-head {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.work-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  color: #0c1322;
}

.work-intro {
  margin-top: 6px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6172;
}

.work-grid {
  max-width: var(--container);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work-card {
  display: flex;
  flex-direction: column;
}

.work-mockup {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 230px;
  margin-bottom: 26px;
}

.work-mockup img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.work-name {
  font-family: var(--font-primary), sans-serif;
  font-size: 22px;
  color: #0c1322;
}

.work-copy {
  margin-top: 14px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4f5b;
}

.work-copy strong {
  font-weight: 700;
  color: #2b2f3a;
}

.work-cta {
  margin-top: 26px;
  align-self: flex-start;
  width: auto;
  min-width: 190px;
}

@media (max-width: 900px) {
  .work-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Pricing packages ===== */
.pkgs {
  position: relative;
  overflow: hidden;
  padding: 90px 20px 0px;
}

/* navy rectangle + dashed connector graphic, anchored top-right */
.pkgs-deco {
  position: absolute;
  top: -118px;
  right: 0px;
  width: 300px;
  aspect-ratio: 376 / 1046;
  background: url("Assets/dark-group.webp") top right / contain no-repeat;
  z-index: 0;
}

.pkgs-head {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pkgs-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  color: #0c1322;
}

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

.pkgs-cta {
  margin-top: 24px;
  width: auto;
  min-width: 170px;
}

.pkgs-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.pkg {
  padding: 38px 34px;
  border-radius: 20px;
  background: #f2f3f5;
}

/* featured middle card: dark, lifted and taller */
.pkg--featured {
  margin-top: -28px;
  padding-top: 50px;
  padding-bottom: 50px;
  background: var(--main-color);
}

.pkg-name {
  font-family: var(--font-primary), sans-serif;
  font-size: 28px;
  color: #0c1322;
}

.pkg--featured .pkg-name {
  color: #ffffff;
}

.pkg-list {
  margin-top: 26px;
  list-style: none;
}

.pkg-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-family: var(--font-accent), sans-serif;
  font-size: 13.5px;
  color: #3b4150;
}

.pkg--featured .pkg-list li {
  color: #c4cbd8;
}

/* check / cross markers */
.tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tick--yes {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231743c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E");
}

.tick--no {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab0bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m15 9-6 6M9 9l6 6'/%3E%3C/svg%3E");
}

.pkg-price {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pkg-amount {
  font-family: var(--font-primary), sans-serif;
  font-size: 44px;
  line-height: 1;
  color: #0c1322;
}

.pkg--featured .pkg-amount {
  color: #ffffff;
}

.pkg-sub {
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
}

.pkg-btn {
  margin-top: 22px;
  width: auto;
  min-width: 150px;
  height: 48px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .pkgs-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 26px;
  }

  .pkg--featured {
    margin-top: 0;
  }
}

/* hide the decorative blue box + dashed outline on mobile */
@media (max-width: 760px) {
  .pkgs-deco {
    display: none;
  }
}

/* ===== Reviews ===== */
.reviews {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 20px 110px;
}

.reviews-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(28px, 3.6vw, 40px);
  text-align: center;
  color: #0c1322;
}

.reviews-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.reviews-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.review {
  display: flex;
  flex-direction: column;
  /* grow to fill the column so every card's top and bottom line up */
  flex: 1 1 auto;
  padding: 28px 26px;
  border-radius: 16px;
  background: #f2f3f5;
}

/* taller cards push the author toward the bottom */
.review--tall {
  min-height: 340px;
}

.review-quote {
  /* guaranteed gap below the quote (keeps space on mobile too) */
  margin: 0 0 24px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #3b4150;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  /* sit at the bottom of the card when there's extra room */
  margin-top: auto;
}

.rv-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--main-color);
  color: #ffffff;
  font-family: var(--font-primary), sans-serif;
  font-size: 16px;
}

.rv-avatar--blue {
  background: var(--accent-color);
}

.rv-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rv-name {
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0c1322;
}

.rv-role {
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  color: #8a90a0;
}

/* video review card */
.review--video {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 340px;
}

.review--video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-play {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent-color);
  color: #ffffff;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(23, 67, 192, 0.35);
  transition: transform 0.2s ease;
}

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

.rv-play-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.rv-play-icon svg {
  width: 11px;
  height: 11px;
  margin-left: 1px;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .review--tall {
    min-height: 0;
  }
}

/* ===== Footer ===== */
.btn--light {
  background: #ffffff;
  color: var(--main-color);
}

.footer {
  position: relative;
  overflow: hidden;
  background: var(--main-color);
  color: #ffffff;
}

/* decorative line graphic on the right, spanning the full footer height */
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 230px;
  background: url("Assets/footer-group.webp") top right / auto 100% no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* keep footer content above the decoration */
.footer-cta,
.footer-main {
  position: relative;
  z-index: 1;
}

/* hide the footer line graphic on mobile */
@media (max-width: 760px) {
  .footer::after {
    display: none;
  }
}

/* top CTA band with the angled blue tab */
.footer-cta {
  position: relative;
  overflow: hidden;
  padding: 56px max(20px, 50% - 600px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 150px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
}

.footer-cta-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-cta-btn {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 190px;
  flex-shrink: 0;
}

/* main footer columns */
.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 20px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-primary), sans-serif;
  font-size: 26px;
  color: #ffffff;
}

.footer-logo .logo-img {
  height: 30px;
}

/* keep the whole wordmark white on the dark footer */
.footer-logo .logo-design {
  color: #ffffff;
}

.footer-about {
  max-width: 300px;
  margin-top: 16px;
  font-family: var(--font-accent), sans-serif;
  font-size: 13.5px;
  line-height: 1.7;
  color: #aeb6c6;
}

.footer-brand-btn {
  margin-top: 30px;
  width: auto;
  min-width: 200px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-primary), sans-serif;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-link,
.footer-contact {
  font-family: var(--font-accent), sans-serif;
  font-size: 13.5px;
  color: #aeb6c6;
  padding: 7px 0;
}

.footer-link {
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-ico {
  display: inline-flex;
  color: var(--accent-color);
}

.footer-ico svg {
  width: 16px;
  height: 16px;
}

/* copyright bar */
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  color: #8a90a0;
}

@media (max-width: 900px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 540px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .navbar-container {
    width: min(100% - 28px, 1200px);
    min-height: 68px;
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-actions {
    margin-left: auto;
    margin-right: 8px;
  }

  .navbar-actions .nav-button {
    min-height: 40px;
    padding: 0 15px;
  }

  .navbar-menu {
    width: 100%;
    max-height: 0;
    display: block;
    overflow: hidden;
    order: 3;
    transition:
      max-height 0.35s ease,
      padding 0.35s ease;
  }

  .navbar-menu.active {
    max-height: 900px;
    padding: 12px 0 20px;
  }

  .navbar-item {
    width: 100%;
  }

  .navbar-link,
  .dropdown-toggle {
    width: 100%;
    min-height: 50px;
    padding: 0 12px;
    justify-content: space-between;
    border-radius: 7px;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 0 0 16px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
  }

  .navbar-item.dropdown-open > .dropdown-menu {
    max-height: 350px;
    padding-top: 5px;
    padding-bottom: 8px;
  }

  .dropdown-link {
    padding: 11px 13px;
    border-left: 2px solid var(--border-color);
    border-radius: 0 7px 7px 0;
  }

  .dropdown-link:hover {
    padding-left: 17px;
    border-left-color: var(--accent-color);
  }

  /* scrolled (blue) navbar: drop the white box behind the dropdowns so they
     blend into the navy bar, and make the inner links readable */
  .navbar.scrolled .dropdown-menu {
    background: transparent;
  }

  .navbar.scrolled .dropdown-link {
    color: #ffffff;
    border-left-color: rgba(255, 255, 255, 0.35);
  }

  .navbar.scrolled .dropdown-link:hover {
    color: #ffffff;
    background: transparent;
    border-left-color: #ffffff;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    font-size: 21px;
  }

  .navbar-actions .nav-button {
    display: none;
  }

  .navbar-actions {
    margin-right: 6px;
  }
}

/* ============================================================
   About page
   ============================================================ */
/* wrapper holds the decorations (outside <main>); no clipping so they show fully */
.about-hero-wrap {
  position: relative;
}

.about-hero {
  position: relative;
  padding: 74px 20px 56px;
  text-align: center;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.about-hero-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(34px, 4.4vw, 48px);
  color: #0c1322;
}

.about-hero-text {
  margin-top: 16px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6172;
}

@media (max-width: 760px) {
  .about-hero {
    padding-bottom: 10px;
  }
}

/* purpose & intent */
.purpose {
  padding: 16px 20px 0;
}

.purpose-card {
  /* full-bleed banner (20px gutters from .purpose padding); inner content capped at --container */
  margin: 0 auto;
  padding: 46px max(46px, calc((100% - var(--container)) / 2));
  border-radius: 24px;
  background: #f2f3f5;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 48px;
  align-items: center;
}

/* plain image, no card background or badge, sized larger */
.purpose-founder {
  margin: 0;
}

.purpose-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.purpose-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  color: #0c1322;
}

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

.purpose-text p {
  margin-top: 16px;
  font-family: var(--font-accent), sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #4a4f5b;
}

.purpose-btn {
  margin-top: 26px;
  width: auto;
  min-width: 170px;
}

/* we take care of everything */
.care {
  max-width: var(--container);
  margin: 0 auto;
  padding: 90px 20px;
}

.care-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.care-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  color: #0c1322;
}

.care-intro {
  font-family: var(--font-accent), sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #5a6172;
}

.care-body {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 50px;
  align-items: center;
}

.care-steps {
  list-style: none;
}

.step {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #f2f3f5;
}

.step--active {
  background: var(--main-color);
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #ffffff;
  font-family: var(--font-primary), sans-serif;
  font-size: 14px;
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.step--active .step-num {
  background: transparent;
  border: 1px solid var(--icon-color);
  color: var(--icon-color);
}

.step-text h3 {
  font-family: var(--font-primary), sans-serif;
  font-size: 18px;
  color: #0c1322;
}

.step-text p {
  margin-top: 8px;
  font-family: var(--font-accent), sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5a6172;
}

.step--active .step-text h3 {
  color: #ffffff;
}

.step--active .step-text p {
  color: #c4cbd8;
}

.care-media img {
  display: block;
  width: 95%;
  height: auto;
}

/* meet the team */
.team {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 20px 90px;
  text-align: center;
}

.team-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  color: #0c1322;
}

.team-intro {
  max-width: 760px;
  margin: 16px auto 0;
  font-family: var(--font-accent), sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #5a6172;
}

.team-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.member {
  margin: 0;
}

.member-photo {
  border-radius: 14px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.member-name {
  margin-top: 14px;
  font-family: var(--font-primary), sans-serif;
  font-size: 15px;
  color: #0c1322;
}

.member-role {
  margin-top: 4px;
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  color: #8a90a0;
}

/* see our top locations */
.locations {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  padding: 72px 20px 0;
  text-align: center;
  background: var(--main-color);
}

.locations-inner {
  position: relative;
  z-index: 2;
}

.locations-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  color: #ffffff;
}

.locations-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.locations-actions .btn {
  width: auto;
  min-width: 150px;
}

/* placeholder glowing globe (swap for a real globe image when available) */
.locations-globe {
  position: absolute;
  left: 50%;
  bottom: -52%;
  transform: translateX(-50%);
  width: 1100px;
  max-width: 160%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(43, 96, 224, 0.65), rgba(20, 40, 90, 0) 62%),
    radial-gradient(circle at 50% 50%, #25438a 0%, #16264c 70%);
  box-shadow: 0 0 120px rgba(43, 96, 224, 0.35) inset;
}

@media (max-width: 900px) {
  .purpose-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .purpose-founder {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .care-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .locations-actions {
    flex-wrap: wrap;
  }
}

/* Pricing page: show the group decorations fully (replaces the blue rectangle) */
.pkgs--groups {
  overflow: visible;
  padding-bottom: 110px;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.contact-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(36px, 4.6vw, 52px);
  text-align: center;
  color: #0c1322;
}

.contact-card {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 30px;
  /* full-bleed banner; inner content capped at --container */
  padding: 44px max(44px, calc((100% - var(--container)) / 2));
  border-radius: 24px;
  background: #f2f3f5;
}

.contact-info-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  color: #0c1322;
}

.contact-info-text {
  margin-top: 16px;
  max-width: 460px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4f5b;
}

.contact-list {
  margin-top: 36px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent-color);
  box-shadow: 0 10px 24px rgba(21, 32, 57, 0.08);
}

.contact-ico svg {
  width: 22px;
  height: 22px;
}

.contact-item-text h3 {
  font-family: var(--font-primary), sans-serif;
  font-size: 19px;
  color: #0c1322;
}

.contact-item-text p {
  margin-top: 2px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  color: #6b7280;
}

/* form card */
.contact-form {
  padding: 38px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(21, 32, 57, 0.08);
}

.contact-form-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  color: #0c1322;
}

.field {
  display: block;
  margin-top: 22px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-primary), sans-serif;
  font-size: 14px;
  color: #0c1322;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #fafbfc;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  color: #0c1322;
  resize: vertical;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa1b1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(23, 67, 192, 0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.contact-submit {
  margin-top: 26px;
  width: auto;
  min-width: 170px;
}

.form-actions .contact-submit {
  margin-top: 0;
}

.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(29, 140, 85, 0.2);
  border-radius: 10px;
  background: #f0fbf5;
  color: #145c38;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
}

.form-status:not([hidden]) {
  animation: formStatusIn 0.35s ease forwards;
}

.form-status-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: #1d8c55;
}

.form-status-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

@media (max-width: 860px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .contact-card {
    padding: 20px 15px;
  }

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

  .form-actions {
    align-items: stretch;
    gap: 12px;
  }

  .form-actions .contact-submit,
  .form-status {
    width: 100%;
  }
}

/* Reviews page: intro line + make the video card stretch to align with its column */
.reviews-intro {
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6172;
}

/* the video card grows to fill the column so its bottom aligns with the side cards */
.review--video {
  flex: 1;
}

/* ============================================================
   FAQs page
   ============================================================ */
.faqs {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 20px 90px;
}

.faqs-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(32px, 4.4vw, 48px);
  text-align: center;
  color: #0c1322;
}

.faqs-intro {
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6172;
}

.faqs-list {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: #f2f3f5;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq--open {
  background: #ffffff;
  border-color: #d7dbe4;
  box-shadow: 0 18px 40px rgba(21, 32, 57, 0.08);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary), sans-serif;
  font-size: 17px;
  color: #0c1322;
}

/* plus / minus icon */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--main-color);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq--open .faq-icon {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.faq--open .faq-icon::before,
.faq--open .faq-icon::after {
  background: #ffffff;
}

/* rotate the vertical bar away so it becomes a minus */
.faq--open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

/* answer: collapsed by default, expands when open */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq--open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 26px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4f5b;
  transition: padding 0.3s ease;
}

.faq--open .faq-a > p {
  padding: 0 26px 24px;
}

/* ============================================================
   Web Design service page
   ============================================================ */
.svc {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 80px 20px 90px;
}

.svc-eyebrow {
  text-align: center;
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #0c1322;
}

/* hero card — full-bleed banner; inner content capped at --container */
.svc-hero {
  margin-top: 80px;
  padding: 44px max(44px, calc((100% - var(--container)) / 2));
  border-radius: 24px;
  background: #f2f3f5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* web design page: container-capped card with the preview image flush to the
   card edges. padding lives on the content, never on the image. */
.svc-hero--media {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.svc-hero--media .svc-hero-text {
  padding: 44px;
  align-self: center;
}

.svc-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* development page: keep padding around the image instead of bleeding to edges */
.svc-hero--inset .svc-hero-img {
  padding: 32px;
  object-fit: contain;
}

.svc-hero-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  color: #0c1322;
}

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

.svc-hero-sub {
  margin-top: 16px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4f5b;
}

/* vertical benefits menu */
.svc-menu {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-menu-item {
  padding: 14px 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  font-family: var(--font-primary), sans-serif;
  font-size: 15px;
  color: #0c1322;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.svc-menu-item:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.svc-menu-item.is-active {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #ffffff;
}

/* hero preview rectangle (placeholder) */
.svc-hero-rect {
  width: 100%;
  min-height: 420px;
  height: 100%;
  border-radius: 16px;
  background:
    linear-gradient(150deg, #1b2c52 0%, #2a3a63 100%);
  box-shadow: 0 24px 60px rgba(21, 32, 57, 0.18);
}

/* content blocks + benefits sidebar */
.svc-content {
  margin: 56px auto 0;
  max-width: var(--container);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}

.svc-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-side-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  width: 100%;
  border-radius: 14px;
  background: #f2f3f5;
  font-family: var(--font-primary), sans-serif;
  font-size: 15px;
  line-height: 1.3;
  color: #0c1322;
  transition: background 0.2s ease, color 0.2s ease;
}

.svc-side-item:hover {
  background: #e8eaef;
}

.svc-side-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--main-color);
  color: #ffffff;
}

.svc-side-ico svg {
  width: 19px;
  height: 19px;
}

.svc-side-item.is-active {
  background: var(--main-color);
  color: #ffffff;
}

.svc-side-item.is-active .svc-side-ico {
  background: #ffffff;
  color: var(--main-color);
}

.svc-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.svc-block {
  scroll-margin-top: 100px;
}

.svc-block-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18;
  color: #0c1322;
  margin-bottom: 14px;
}

.svc-block p {
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #4a4f5b;
}

.svc-block p + p {
  margin-top: 14px;
}

@media (max-width: 860px) {
  .svc-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }

  /* web design page: stack text over image, image full-width natural height */
  .svc-hero--media {
    gap: 0;
    padding: 0;
  }

  .svc-hero--media .svc-hero-text {
    padding: 28px;
  }

  .svc-hero--media .svc-hero-img {
    height: auto;
  }

  /* stack the sidebar nav above the content instead of beside it */
  .svc-content {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .svc-side {
    position: static;
    top: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .svc-side-item {
    flex: 1 1 80px;
  }
}

@media (max-width: 520px) {
  /* one nav item per row on small phones */
  .svc-side {
    flex-direction: column;
  }
}

/* service content: heading icons, subheadings, bullet lists */
.svc-block-title {
  display: flex;
  align-items: center;
  gap: 13px;
}

.svc-block-ico {
  flex-shrink: 0;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f4fafe;
  color: var(--accent-color);
}

.svc-block-ico svg {
  width: 22px;
  height: 22px;
}

.svc-subhead {
  margin: 24px 0 8px;
  font-family: var(--font-primary), sans-serif;
  font-size: 17px;
  color: #0c1322;
}

.svc-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.svc-list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4f5b;
}

.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231743c0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Web design duplicate redesign */
.wd-redesign {
  display: grid;
  gap: 28px;
  max-width: var(--container);
  margin: 42px auto 0;
}

.wd-kicker {
  margin-bottom: 12px;
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.wd-speed-panel {
  padding: 42px;
  border-radius: 24px;
  background: var(--main-color);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
}

.wd-speed-copy h2,
.wd-section-head h2,
.wd-compare-copy h2,
.wd-cta-band h2 {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  color: #0c1322;
}

.wd-speed-copy h2,
.wd-speed-copy p,
.wd-cta-band h2,
.wd-cta-band p {
  color: #ffffff;
}

.wd-speed-copy p,
.wd-compare-copy p,
.wd-feature-grid p,
.wd-flow-grid p,
.wd-cta-band p {
  margin-top: 14px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.wd-speed-copy .btn {
  margin-top: 24px;
}

.wd-speed-stats {
  display: grid;
  gap: 14px;
}

.wd-speed-stats article {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.wd-speed-stats strong {
  display: block;
  font-family: var(--font-primary), sans-serif;
  font-size: 38px;
  color: #ffffff;
}

.wd-speed-stats span {
  display: block;
  margin-top: 5px;
  font-family: var(--font-accent), sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.wd-flow,
.wd-compare,
.wd-feature-grid {
  padding: 34px;
  border-radius: 20px;
  background: #f2f3f5;
}

.wd-section-head {
  max-width: 700px;
}

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

.wd-flow-grid {
  margin-top: 26px;
}

.wd-flow-grid article,
.wd-feature-grid article {
  padding: 24px;
  border: 1px solid #edeef2;
  border-radius: 16px;
  background: #ffffff;
}

.wd-flow-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(23, 67, 192, 0.1);
  font-family: var(--font-accent), sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-color);
}

.wd-flow-grid h3,
.wd-feature-grid h3,
.wd-compare-list strong {
  margin-top: 18px;
  font-family: var(--font-primary), sans-serif;
  font-size: 21px;
  line-height: 1.2;
  color: #0c1322;
}

.wd-flow-grid p,
.wd-feature-grid p,
.wd-compare-copy p {
  color: #4a4f5b;
}

.wd-compare {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #edeef2;
}

.wd-compare-list {
  display: grid;
  gap: 14px;
}

.wd-compare-list div {
  padding: 18px 20px;
  border-radius: 14px;
  background: #f2f3f5;
}

.wd-compare-list span {
  display: block;
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.wd-compare-list strong {
  display: block;
}

.wd-feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.wd-cta-band {
  padding: 40px;
  border-radius: 20px;
  background: var(--main-color);
  text-align: center;
}

.wd-cta-band p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.78);
}

.wd-cta-band .btn {
  margin-top: 24px;
}

@media (max-width: 1050px) {
  .wd-speed-panel,
  .wd-compare,
  .wd-flow-grid {
    grid-template-columns: 1fr;
  }

  .wd-speed-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .wd-speed-panel,
  .wd-flow,
  .wd-compare,
  .wd-feature-grid,
  .wd-cta-band {
    padding: 24px;
    border-radius: 18px;
  }

  .wd-speed-stats,
  .wd-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Portfolio page
   ============================================================ */
.pf {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 100px;
}

.pf-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pf-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  color: #0c1322;
}

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

.pf-intro {
  margin-top: 16px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5a6172;
}

/* filters */
.pf-filters {
  margin: 40px auto 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pf-filter {
  padding: 10px 22px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #4a4f5b;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pf-filter:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.pf-filter.is-active {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #ffffff;
}

/* grid */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #edeef2;
  box-shadow: 0 14px 30px rgba(21, 32, 57, 0.06);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.pf-card:hover,
.pf-card:focus-within {
  transform: translateY(-12px);
}

.pf-card:focus-within {
  outline: 3px solid rgba(23, 67, 192, 0.35);
  outline-offset: 4px;
}

.pf-card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
}

.pf-card-main:focus-visible {
  outline: none;
}

.pf-visit {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 67, 192, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(21, 32, 57, 0.12);
  transition: width 0.25s ease, gap 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.pf-visit svg {
  width: 18px;
  min-width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pf-visit span {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: width 0.25s ease, opacity 0.18s ease;
}

.pf-visit:hover,
.pf-visit:focus-visible {
  width: 138px;
  gap: 8px;
  background: #0c245f;
  color: #ffffff;
  outline: none;
}

.pf-visit:hover span,
.pf-visit:focus-visible span {
  width: 84px;
  opacity: 1;
}

.pf-hidden {
  display: none;
}

.pf-thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f2f3f5;
}

.pf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-thumb--contain {
  background: #f4f4f2;
}

.pf-thumb--contain img {
  object-fit: contain;
}

.pf-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 28px;
}

.pf-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(23, 67, 192, 0.1);
  font-family: var(--font-accent), sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.pf-name {
  margin-top: 14px;
  font-family: var(--font-primary), sans-serif;
  font-size: 21px;
  color: #0c1322;
}

.pf-desc {
  margin-top: 10px;
  font-family: var(--font-accent), sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #4a4f5b;
}

.pf-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  transition: gap 0.2s ease;
}

.pf-link:hover {
  gap: 12px;
}

/* portfolio detail pages */
.case-study {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px 100px;
}

.case-hero {
  padding: 46px max(34px, calc((100% - var(--container)) / 2));
  border-radius: 24px;
  background: #f2f3f5;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 46px;
  align-items: center;
}

.case-copy {
  font-family: var(--font-accent), sans-serif;
}

.case-title {
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  color: #0c1322;
}

.case-copy p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #4a4f5b;
}

.case-meta {
  margin: 24px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e5ec;
  font-family: var(--font-accent), sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #283044;
}

.case-media {
  margin: 0;
}

.case-media img,
.case-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(21, 32, 57, 0.14);
}

.case-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-grid article {
  padding: 26px;
  border: 1px solid #edeef2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(21, 32, 57, 0.06);
}

.case-grid h3 {
  font-family: var(--font-primary), sans-serif;
  font-size: 21px;
  color: #0c1322;
}

.case-grid p {
  margin-top: 10px;
  font-family: var(--font-accent), sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #4a4f5b;
}

.case-section {
  margin-top: 28px;
  padding: 34px 0;
  border-radius: 18px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1fr;
  gap: 34px;
  align-items: center;
}

.case-section > p {
  margin-top: 0;
  font-family: var(--font-accent), sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #4a4f5b;
}

.case-split {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.case-split article {
  padding: 30px;
  border-radius: 18px;
  background: #f2f3f5;
}

.case-split h3 {
  font-family: var(--font-primary), sans-serif;
  font-size: 24px;
  color: #0c1322;
}

.case-split p,
.case-split li {
  font-family: var(--font-accent), sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #4a4f5b;
}

.case-split p {
  margin-top: 10px;
}

.case-split ul {
  margin-top: 16px;
  padding-left: 18px;
}

.case-split li + li {
  margin-top: 8px;
}

.case-gallery {
  margin-top: 28px;
  padding: 34px 0;
  background: #ffffff;
}

.case-gallery-head {
  max-width: 620px;
  margin-bottom: 24px;
}

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

.case-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(15, 35, 65, 0.08);
  border-radius: 12px;
  background: #f2f3f5;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-gallery-grid img:only-child {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  padding: 28px;
  object-fit: contain;
}

.case-gallery-grid img:hover,
.case-gallery-grid img:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(21, 32, 57, 0.12);
  outline: none;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 25, 0.82);
}

.image-preview.is-open {
  display: flex;
}

.image-preview img {
  display: block;
  max-width: min(1120px, 100%);
  max-height: calc(100vh - 132px);
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
}

.image-preview-close,
.image-preview-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--main-color);
  cursor: pointer;
  font-family: var(--font-accent), sans-serif;
  font-size: 28px;
  line-height: 1;
}

.image-preview-close {
  top: 18px;
  right: 18px;
}

.image-preview-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
}

.image-preview-prev {
  left: 18px;
}

.image-preview-next {
  right: 18px;
}

@media (max-width: 960px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-hero,
  .case-grid,
  .case-section,
  .case-split {
    grid-template-columns: 1fr;
  }

  .case-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pf-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-gallery-grid {
    grid-template-columns: 1fr;
  }

  .image-preview {
    padding: 66px 18px 24px;
  }

  .image-preview-nav {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .case-study {
    padding-bottom: 70px;
  }

  .case-hero {
    padding: 32px 22px;
    border-radius: 18px;
  }

  .case-grid article {
    padding: 22px;
  }

  .case-split article {
    padding: 24px;
  }
}

/* Mobile only: every <section> gets a 40px top margin/spacing */
@media (max-width: 760px) {
  /* sections whose top gap comes from margin */
  .stress { margin-top: 40px; }
  .pricing-head { margin-top: 40px; }
  /* sections whose top gap comes from padding */
  .work { padding-top: 40px; }
  .pkgs { padding-top: 40px; }
  .reviews { padding-top: 40px; }
  .purpose { padding-top: 40px; }
  .care { padding-top: 40px; }
  .team { padding-top: 40px; }
  .contact { padding-top: 40px; }
  .faqs { padding-top: 40px; }
  .svc { padding-top: 40px; }
  .pf { padding-top: 40px; }
  .case-study { padding-top: 40px; }
}

/* ============================================================
   Animations
   ============================================================ */

/* scroll-reveal / hero entrance base (classes added by animations.js) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.pf-card.reveal.is-visible:hover,
.pf-card.reveal.is-visible:focus-visible,
.pf-card:hover,
.pf-card:focus-visible {
  transform: translateY(-12px);
}

/* hover micro-interactions */
.work-card {
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
}

.work-mockup {
  overflow: hidden;
}

.work-mockup img {
  transition: transform 0.5s ease;
}

.work-card:hover .work-mockup img {
  transform: scale(1.05);
}

.member-photo img {
  transition: transform 0.5s ease;
}

.member:hover .member-photo img {
  transform: scale(1.06);
}

/* Light polish for the Beer Timber portfolio page */
.beer-timber-case .case-hero {
  padding: 36px;
  border: 1px solid rgba(15, 35, 65, 0.08);
  border-radius: 24px;
  background: linear-gradient(135deg, #fdfefe 0%, #f4f7fb 100%);
  box-shadow: 0 18px 42px rgba(21, 32, 57, 0.06);
}

.beer-timber-case .case-media video {
  border: 1px solid rgba(15, 35, 65, 0.08);
  border-radius: 20px;
  background: #f4f6f9;
}

.beer-timber-case .case-grid article,
.beer-timber-case .case-split article {
  border: 1px solid rgba(15, 35, 65, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(21, 32, 57, 0.05);
}

.beer-timber-case .case-gallery {
  padding-top: 32px;
}

/* respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .work-card:hover {
    transform: none;
  }

  .work-card:hover .work-mockup img,
  .member:hover .member-photo img {
    transform: none;
  }
}

/* ── Floating "Free Audit" tab, fixed to the right edge ── */
.audit-fab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  writing-mode: vertical-rl;
  background: var(--accent-color);
  color: #ffffff;
  font-family: var(--font-accent), sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 18px 12px;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 4px 16px rgba(21, 32, 57, 0.25);
  transition: background 0.2s ease, padding-right 0.2s ease;
}

.audit-fab:hover,
.audit-fab:focus-visible {
  background: var(--main-color);
  padding-right: 18px;
}

@media (max-width: 900px) {
  .audit-fab {
    font-size: 0.85rem;
    padding: 14px 10px;
  }
}
