:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --ink: #10243d;
  --muted: #4a6a8c;
  --accent: #2f7de0;
  --accent-2: #7dd3fc;
  --accent-warm: #f6b77a;
  --line: rgba(16, 36, 61, 0.12);
  --shadow: 0 20px 40px rgba(16, 36, 61, 0.12);
  --page-pad: clamp(12px, 6vw - 70px, 6vw);
  --page-pad-wide: clamp(14px, 8vw - 70px, 8vw);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #dbeafe 0%, var(--bg) 52%, #f8fbff 100%);
}
a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(31, 111, 235, 0.6);
  outline-offset: 3px;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  display: block;
}

.page-hero {
  padding: 28px var(--page-pad) 16px;
  background: linear-gradient(120deg, rgba(31, 111, 235, 0.12), rgba(125, 211, 252, 0.16));
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.page-hero p {
  color: var(--muted);
  max-width: 680px;
}

.page-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(transparent 98%, rgba(16, 36, 61, 0.05) 99%),
    linear-gradient(90deg, transparent 98%, rgba(16, 36, 61, 0.05) 99%);
  background-size: 90px 90px;
  pointer-events: none;
  z-index: -1;
}

.utility-bar {
  background: #0f2a4a;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 8px var(--page-pad-wide);
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.utility-links {
  display: flex;
  gap: 16px;
  font-weight: 600;
  flex-wrap: wrap;
  align-items: center;
}

.utility-links a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.utility-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px var(--page-pad) 16px;
  position: sticky;
  top: 0;
  background: #ffffff;
  backdrop-filter: none;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  flex-direction: column;
  box-shadow: 0 8px 18px rgba(16, 36, 61, 0.08);
}

.feature-banner {
  margin: 16px var(--page-pad) 0;
  border-radius: 26px;
  overflow: hidden;
  min-height: 435px;
  background-color: #0f2a4a;
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
  box-shadow: var(--shadow);
  transition: background-image 0.6s ease-in-out;
}

.image-rotator {
  background-size: cover;
  background-position: center;
}

.feature-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 36, 61, 0.39), rgba(31, 111, 235, 0.12));
}

.feature-banner-overlay {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding: 34px 36px;
  max-width: 640px;
  display: grid;
  gap: 10px;
}

.feature-banner-overlay h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.feature-banner-title {
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  font-weight: 700;
  line-height: 1.02;
  text-shadow: 0 18px 40px rgba(15, 42, 61, 0.4);
}

.feature-banner-title::after {
  content: "";
  display: block;
  width: 140px;
  height: 3px;
  margin-top: 12px;
  background: #ffffff;
  opacity: 0.7;
}

.feature-banner-overlay p {
  color: rgba(255, 255, 255, 0.85);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 0;
}

.brand-mark {
  width: 191px;
  height: 191px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  margin-top: -20px;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: none;
  gap: 18px;
  flex-direction: column;
  width: 100%;
  font-size: 1.06rem;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.topbar.nav-open .nav {
  display: flex;
}

.nav-overlay,
.nav-contact {
  display: none;
}

.nav a,
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

.nav-work-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--accent);
  margin-left: auto;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.topbar.work-menu-open .nav-work-toggle::after {
  transform: translateY(2px) rotate(180deg);
}


.nav a::after,
.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after,
.nav-link:hover::before,
.nav-link:focus::before {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
}

/* removed generic nav arrow */


.work-menu {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  gap: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.work-menu a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 0;
  background: transparent;
  border: none;
  transition: background 0.2s ease;
}

.work-menu a:hover,
.work-menu a:focus {
  transform: none;
  box-shadow: none;
  background: rgba(31, 111, 235, 0.08);
}

.topbar.work-menu-open .work-menu {
  display: flex;
  max-height: 500px;
  opacity: 1;
}


.btn {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(31, 111, 235, 0.22);
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}

.btn-soft {
  background: linear-gradient(135deg, rgba(74, 168, 255, 0.4) 0%, rgba(31, 111, 235, 0.4) 55%, rgba(15, 74, 166, 0.4) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 30px rgba(15, 42, 74, 0.32);
  position: relative;
  overflow: hidden;
}

.btn-soft::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  opacity: 0.8;
  pointer-events: none;
}

.btn-soft:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(15, 42, 74, 0.38);
}

.feature-banner-overlay .btn-soft {
  width: auto;
  padding: 14px 22px;
  font-size: 1.18rem;
  align-self: flex-start;
}

.btn-white {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 22px rgba(15, 42, 74, 0.18);
}

.feature-banner-overlay .btn-white {
  width: auto;
  padding: 14px 26px;
  font-size: 1.05rem;
  align-self: flex-start;
}

.topbar > .btn-ghost {
  margin-left: 0;
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 48px var(--page-pad) 40px;
  align-items: center;
}

.hero > * {
  min-width: 0;
}

.hero-content h1 {
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  font-family: "Cormorant Garamond", serif;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  text-shadow: 0 14px 30px rgba(15, 42, 61, 0.18);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.8rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-quick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  flex-direction: column;
  align-items: flex-start;
}

.hero-quick-title {
  font-weight: 600;
  font-size: 0.96rem;
}

.hero-quick-text {
  color: var(--muted);
}

.hero-quick-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.hero-quick-links a {
  text-decoration: none;
  color: var(--accent);
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--panel);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--line);
}

.metric-number {
  font-size: 1.6rem;
  font-weight: 700;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--panel);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.hero-image {
  min-height: 260px;
  background-image: url("../images/hero-01.jpg");
  background-size: cover;
  background-position: center;
}

.hero-card-content {
  padding: 22px;
}

.checklist {
  list-style: none;
  margin-top: 12px;
}

.checklist li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
}

.checklist li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 6px;
}

.section {
  padding: 56px var(--page-pad);
}

.section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  max-width: 640px;
}

.stats-strip {
  padding: 0 var(--page-pad) 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.stats-strip > * {
  min-width: 0;
}

.stat-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card h3 {
  margin-bottom: 8px;
}

.stat-card p {
  color: var(--muted);
}

.trust {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  background: #0f2a4a;
  color: #ffffff;
  padding: 22px var(--page-pad);
  flex-wrap: wrap;
}

.trust-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-badges span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.service-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-grid > * {
  min-width: 0;
}

.service-card {
  background: var(--panel);
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-cta {
  text-align: center;
  display: grid;
  gap: 12px;
  place-items: center;
}

.service-cta .btn {
  width: auto;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card ul {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
}

.split-section {
  background: #eef4ff;
}

.split-row {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.split-row > * {
  min-width: 0;
}

.split-row.reverse {
  direction: rtl;
}

.split-row.reverse > * {
  direction: ltr;
}

.split-image {
  min-height: 260px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.split-content {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-content ul {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
}

.highlights {
  background: #eef4ff;
}

.highlight-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.highlight-grid > * {
  min-width: 0;
}

.highlight-card {
  background: var(--panel);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.highlight-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.highlight-card h3 {
  padding: 16px 18px 6px;
}

.highlight-card p {
  padding: 0 18px 18px;
  color: var(--muted);
}

.categories {
  background: #eef4ff;
}

.category-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.category-grid > * {
  min-width: 0;
}

.category-card {
  background: var(--panel);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.category-card ul {
  margin-top: 6px;
  padding-left: 18px;
  color: var(--muted);
}

.category-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}

.category-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  color: var(--accent-2);
  font-weight: 600;
}

.benefits {
  background: #eef4ff;
}

.benefit-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.benefit-grid > * {
  min-width: 0;
}

.benefit-grid article {
  background: var(--panel);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.benefit-grid h3 {
  margin-bottom: 8px;
}

.process {
  background: linear-gradient(120deg, rgba(31, 111, 235, 0.12), rgba(125, 211, 252, 0.16));
}

.brands {
  background: #eef4ff;
}

.brand-sections {
  margin-top: 30px;
  display: grid;
  gap: 26px;
}

.brand-block {
  background: var(--panel);
  border-radius: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.brand-block-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.brand-block-header p {
  color: var(--muted);
  max-width: 620px;
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  align-items: center;
}

.logo-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(16, 36, 61, 0.1);
  padding: 14px 16px;
  display: grid;
  place-items: center;
  min-height: 72px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-card img {
  max-height: 42px;
  width: 100%;
  object-fit: contain;
  filter: saturate(0.85);
}

.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(16, 36, 61, 0.14);
}

.brand-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.brand-gallery figure {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 61, 0.1);
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 14px 28px rgba(16, 36, 61, 0.12);
}

.brand-gallery img {
  aspect-ratio: 4 / 3;
}

.brand-gallery figcaption {
  padding: 12px 14px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.logo-strip {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 600;
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.process-steps > * {
  min-width: 0;
}

.process-steps div {
  background: var(--panel);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.process-steps span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.work-overview {
  background: #eef4ff;
}

.work-category-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.work-category-grid > * {
  min-width: 0;
}

.work-card {
  background: var(--panel);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
}

.work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.work-card-content {
  padding: 18px 20px 20px;
  display: grid;
  gap: 8px;
}

.work-card-content a {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}

.work-detail {
  background: linear-gradient(120deg, rgba(31, 111, 235, 0.12), rgba(125, 211, 252, 0.12));
}

.work-detail .section-heading {
  margin-bottom: 24px;
}

.work-detail .section-heading h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
}

.work-detail .section-heading p {
  color: var(--muted);
  max-width: 640px;
}

.work-hero-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  align-items: stretch;
}

.work-hero-layout > * {
  min-width: 0;
}

.work-hero-image,
.work-process-image {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.work-hero-content {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.work-hero-content h3,
.work-process-text h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.work-hero-content p,
.work-process-text p {
  color: var(--muted);
  font-size: 1rem;
}

.work-hero-content .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18rem;
}

.work-hero-content .eyebrow,
.work-process-text h3 {
  color: var(--accent);
}

.work-list {
  padding-left: 18px;
  color: var(--muted);
}

.work-list li {
  margin-bottom: 8px;
}

.work-list li::marker {
  color: var(--accent);
}

.work-process {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  align-items: center;
}

.work-process > * {
  min-width: 0;
}

.work-process-text {
  padding: 24px;
}

.work-hero-layout,
.work-process {
  background: var(--panel);
  border-radius: 22px;
  border: 1px solid rgba(16, 36, 61, 0.08);
  box-shadow: 0 18px 34px rgba(16, 36, 61, 0.12);
  overflow: hidden;
}

.work-hero-layout::before,
.work-process::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
}

.work-hero-layout,
.work-process {
  position: relative;
}

.work-hero-image::after,
.work-process-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 42, 74, 0.12), rgba(15, 42, 74, 0));
}

.work-hero-image,
.work-process-image {
  position: relative;
}

.gallery {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.gallery > * {
  min-width: 0;
}

.gallery figure {
  background: var(--panel);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  cursor: pointer;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(92vw, 980px);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-nav,
.lightbox-close {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.no-scroll {
  overflow: hidden;
}

.gallery figcaption {
  padding: 14px 16px 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.testimonials {
  background: #0f2a4a;
  color: #ffffff;
}

.testimonials .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.testimonial-grid > * {
  min-width: 0;
}

.testimonial-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-name {
  margin-top: 12px;
  font-weight: 600;
}

.about-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-grid > * {
  min-width: 0;
}

.about-list {
  margin-top: 14px;
  padding-left: 18px;
  color: var(--muted);
}

.about-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact {
  background: #0f2a4a;
  color: #ffffff;
}

.contact .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-grid > * {
  min-width: 0;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.contact-details {
  margin-top: 12px;
  line-height: 1.8;
}

.contact-highlight {
  margin-top: 16px;
  padding: 14px;
  background: rgba(31, 111, 235, 0.2);
  border-radius: 12px;
}

.contact-form {
  background: #f2f4f7;
  padding: 24px;
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
}

.faq {
  background: #eef4ff;
}

.faq-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.faq-grid > * {
  min-width: 0;
}

.faq details {
  background: var(--panel);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.cta-band {
  margin: 28px auto 0;
  width: min(100% - (var(--page-pad) * 2), 1100px);
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(120deg, #0f2a4a, #1f6feb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-band .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer {
  padding: 32px var(--page-pad);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: #eef4ff;
}

.footer a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 899px) {
  /* Typography */
  html {
    font-size: 16px;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  /* Header and Navigation */
  .topbar {
    padding: 0 var(--page-pad);
    gap: 2px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .topbar.is-compact {
     padding: 0 var(--page-pad);
     gap: 0;
     background: rgba(255, 255, 255, 0.98);
  }

  .brand {
    gap: 8px;
    flex-shrink: 0;
    justify-content: flex-start;
    width: auto;
    order: 2;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-45px);
  }

  .brand-mark {
    width: 191px;
    height: 191px;
    margin-top: -20px;
  }

  .topbar.is-compact .brand-mark {
     width: 160px;
     height: 160px;
     margin-top: -12px;
     opacity: 0.75;
  }

  .topbar.is-compact .nav-toggle {
    margin-top: 45px;
    min-height: 40px;
    padding: 6px 4px;
    font-size: 1.2rem;
  }

  .nav-toggle {
    padding: 6px 4px;
    font-size: 1.2rem;
    min-height: 40px;
    min-width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    border: 1px solid var(--accent);
    background: rgba(31, 111, 235, 0.06);
    border-radius: 10px;
    font-weight: 700;
    color: var(--accent);
    align-self: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    order: 1;
    align-self: flex-start;
    margin-top: 18px;
  }

  .topbar > .btn-ghost {
    display: none;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 111, 235, 0.18);
    background: rgba(31, 111, 235, 0.14);
  }

  .nav {
    display: flex;
    gap: 0;
    flex-direction: column;
    width: min(82vw, 320px);
    height: 100vh;
    font-size: 1rem;
    white-space: normal;
    padding: 88px 20px 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(16, 36, 61, 0.12);
    box-shadow: 18px 0 30px rgba(16, 36, 61, 0.12);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav-contact {
    display: grid;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 36, 61, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9;
    display: block;
  }

  .topbar.nav-open + .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .topbar.nav-open .nav {
    transform: translateX(0);
  }

  .nav a {
    padding: 14px 12px;
    font-size: 1.02rem;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    white-space: normal;
    border-radius: 10px;
    background: transparent;
    border: none;
    width: 100%;
    justify-content: flex-start;
    border: 1px solid rgba(16, 36, 61, 0.12);
    background: rgba(255, 255, 255, 0.7);
  }

  .nav a::after {
    display: none;
  }

  .nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-work-toggle {
    min-height: 50px;
    min-width: 0;
    padding: 14px 12px;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 10px;
    border: 1px solid rgba(16, 36, 61, 0.12);
    background: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
  }

  .nav-work-toggle::-ms-expand {
    display: none;
  }


  .topbar.nav-open + .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-contact {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(16, 36, 61, 0.12);
    display: grid;
    gap: 10px;
  }

  .nav-contact a {
    font-weight: 600;
  }

  .home .utility-social {
    display: none;
  }


  .work-menu {
    display: none;
    flex-direction: column;
    position: static;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 6px 0 0;
    margin: 0;
    background: rgba(16, 36, 61, 0.04);
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .topbar.work-menu-open .work-menu {
    display: flex;
    max-height: 400px;
    opacity: 1;
  }

  .work-menu a {
    padding: 12px 22px;
    font-size: 0.98rem;
    min-height: 46px;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    border: 1px solid rgba(16, 36, 61, 0.08);
    color: var(--ink);
  }

  .nav-contact {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(16, 36, 61, 0.12);
    display: grid;
    gap: 10px;
  }

  .nav-contact a {
    font-weight: 600;
  }

  .work-menu a:last-child {
    border-bottom: none;
  }

  /* Utility bar */
  .utility-bar {
    font-size: 0.8rem;
    padding: 10px var(--page-pad);
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .utility-links {
    gap: 8px;
    flex-wrap: wrap;
  }

  .utility-links a {
    gap: 4px;
  }

  /* Header */
  .topbar {
    padding: 14px var(--page-pad);
    gap: 12px;
  }

  .nav {
    gap: 12px;
    padding: 16px 0;
  }

  .nav a {
    font-size: 0.95rem;
  }

  /* Page hero */
  .page-hero {
    padding: 24px var(--page-pad) 20px;
  }

  .page-hero-inner {
    gap: 20px;
  }

  .page-hero p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Buttons */
  .btn {
    padding: 14px 20px;
    font-size: 0.95rem;
    width: 100%;
    min-height: 48px;
  }

  .topbar > .btn-ghost {
    width: auto;
    padding: 12px 16px;
    min-height: 48px;
    font-size: 0.9rem;
  }

  .hero-actions,
  .page-hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  /* Hero section */
  .hero {
    gap: 28px;
    padding: 36px var(--page-pad) 28px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .hero-quick {
    padding: 16px;
    gap: 14px;
  }

  .hero-quick-title {
    font-size: 1rem;
  }

  /* Mobile layout refinements */
  h1,
  h2,
  h3 {
    letter-spacing: -0.01em;
  }

  .hero-content h1,
  .page-hero h1 {
    line-height: 1.15;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .feature-banner {
    min-height: 320px;
  }

  .feature-banner-title {
    letter-spacing: 0.18rem;
  }

  .service-grid,
  .brand-sections,
  .gallery-grid,
  .about-grid,
  .highlight-grid,
  .split-row {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 200px;
  }

  .hero-quick {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gallery-grid img {
    border-radius: 16px;
  }

  /* Mobile polish */
  .feature-banner {
    border-radius: 18px;
  }

  .feature-banner-overlay {
    padding: 26px 22px;
  }

  .hero-quick,
  .service-card,
  .about-card,
  .contact-card,
  .split-content,
  .cta-band {
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(16, 36, 61, 0.08);
  }

  .service-card,
  .about-card,
  .contact-card,
  .split-content {
    border: 1px solid rgba(16, 36, 61, 0.08);
  }

  .contact-form {
    border-radius: 16px;
    border: 1px solid rgba(16, 36, 61, 0.08);
  }

  .footer {
    border-radius: 18px 18px 0 0;
  }

  /* Section spacing */
  .section {
    padding: 44px var(--page-pad);
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  /* Grids */
  .service-grid,
  .brand-sections,
  .gallery-grid {
    gap: 20px;
  }

  .about-grid {
    gap: 20px;
  }

  .about-card {
    padding: 18px;
  }

  /* Contact section */
  .contact-grid {
    gap: 20px;
    margin-top: 24px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .contact-form {
    background: #f2f4f7;
    padding: 20px;
    gap: 12px;
  }

  .contact-form label {
    font-size: 0.9rem;
    gap: 5px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 1rem;
    padding: 14px 12px;
    border-radius: 10px;
    min-height: 44px;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  /* CTA band */
  .cta-band {
    padding: 24px 18px;
    gap: 16px;
  }

  .cta-band h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .cta-band p {
    font-size: 0.9rem;
  }

  /* FAQ */
  .faq details {
    padding: 14px 16px;
  }

  .faq summary {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 28px var(--page-pad);
    gap: 18px;
  }

  .footer p {
    font-size: 0.9rem;
  }

  /* Brand images */
  .brand-logos {
    margin-top: 16px;
  }

  /* Form note */
  .form-note {
    font-size: 0.8rem;
    margin-top: 8px;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

}

@media (min-width: 720px) and (max-width: 899px) {
  .nav-toggle {
    padding: 4px 18px;
    font-size: 1.05rem;
    min-height: 60px;
    min-width: 100px;
    border-radius: 10px;
  }
}

@media (min-width: 900px) {
  .utility-inner {
    flex-direction: row;
    align-items: center;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    padding: 6px var(--page-pad-wide) 4px;
  }

  .topbar.is-compact {
    padding: 4px var(--page-pad-wide) 4px;
  }



  .brand-mark {
    width: 191px;
    height: 191px;
  }

  .topbar.is-compact .brand-mark {
    width: 160px;
    height: 160px;
  }

  .feature-banner {
    margin: 24px var(--page-pad-wide) 0;
    min-height: 580px;
  }

  .feature-banner-overlay {
    padding: 36px 40px;
  }

  .nav {
    display: flex;
    flex-direction: row;
    gap: 26px;
    width: auto;
    margin: 0 auto;
    justify-content: center;
  }

  .nav-item {
    width: auto;
  }

  .work-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 260px;
    margin: 0;
    max-height: none;
    overflow: visible;
    opacity: 1;
    padding: 14px;
    background: #f2f7ff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    gap: 10px;
  }

  .work-menu a {
    padding: 8px 10px;
    font-size: 0.9rem;
    min-height: auto;
    background: #ffffff;
    border: 1px solid rgba(16, 36, 61, 0.08);
    border-bottom: none;
    border-radius: 12px;
  }

  .work-menu a:hover,
  .work-menu a:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(16, 36, 61, 0.12);
  }

  .topbar.work-menu-open .work-menu {
    display: grid;
  }

  .nav-toggle {
    display: none;
  }

  .topbar > .btn-ghost {
    margin-left: auto;
    width: auto;
  }

  .btn {
    width: auto;
  }

  .hero {
    padding: 80px var(--page-pad-wide) 60px;
  }

  .hero-quick {
    flex-direction: row;
    align-items: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .section {
    padding: 70px var(--page-pad-wide);
  }

  .stats-strip {
    padding: 0 var(--page-pad-wide) 40px;
  }

  .trust {
    padding: 26px var(--page-pad-wide);
  }

  .cta-band {
    margin: 40px auto 0;
    width: min(100% - (var(--page-pad-wide) * 2), 1100px);
    padding: 32px;
  }

  .footer {
    padding: 36px var(--page-pad-wide);
  }
}
