:root {
  --ink: #10223f;
  --ink-2: #24405f;
  --teal: #0f8a8a;
  --green: #6dbb3f;
  --coral: #f06b4f;
  --gold: #f0b94c;
  --sky: #dff5f4;
  --paper: #fbfcf8;
  --muted: #eef3ed;
  --white: #ffffff;
  --line: rgba(16, 34, 63, 0.13);
  --shadow: 0 24px 70px rgba(16, 34, 63, 0.16);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-muted {
  background: linear-gradient(180deg, var(--muted), #f9fbf6);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 34, 63, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(251, 252, 248, 0.95);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(16, 34, 63, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 168px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a {
  opacity: 0.88;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:hover {
  color: var(--green);
  opacity: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 70;
  display: grid;
  min-width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-submenu a:hover {
  color: var(--ink);
  background: #eef7e8;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn-primary {
  color: #09202e;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(109, 187, 63, 0.26);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 34, 63, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(16, 34, 63, 0.94) 0%, rgba(16, 34, 63, 0.84) 48%, rgba(15, 138, 138, 0.64) 100%),
    url("../images/hero-brands-results.png") center/cover;
  transform: scale(1.03);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 52px;
  align-items: center;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.device-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.device-shell img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.floating-note {
  position: absolute;
  width: min(260px, 52%);
  padding: 16px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.floating-note strong {
  display: block;
}

.floating-note span {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.note-one {
  left: -22px;
  bottom: 52px;
  border-left: 5px solid var(--green);
}

.note-two {
  right: -10px;
  top: 52px;
  border-left: 5px solid var(--coral);
}

.trust-strip {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  align-items: center;
  gap: 24px;
}

.trust-grid p {
  margin: 0;
  font-weight: 800;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-logos img {
  max-width: 138px;
  max-height: 54px;
  object-fit: contain;
  filter: saturate(0.85);
}

.trust-logos span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  color: var(--ink-2);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-heading h2,
.split-copy h2,
.content-card h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.content-card p,
.contact-copy p {
  color: var(--ink-2);
  font-size: 1.04rem;
}

.section-dark .contact-copy p,
.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.service-grid,
.industry-grid,
.case-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.industry-card,
.case-card,
.blog-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.industry-card:hover,
.case-card:hover,
.blog-card:hover,
.portfolio-card:hover,
.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 138, 138, 0.28);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: #09202e;
  background: linear-gradient(135deg, var(--green), var(--gold));
  font-weight: 900;
}

.service-card h3,
.industry-card h3,
.case-card h3,
.blog-card h3,
.tech-card h3,
.portfolio-card h3 {
  margin: 0 0 12px;
  line-height: 1.16;
  font-size: 1.22rem;
}

.service-card p,
.industry-card p,
.case-card p,
.blog-card p,
.tech-card p,
.portfolio-card p {
  color: var(--ink-2);
}

.service-card ul,
.case-card ul {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-card li,
.case-card li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  color: var(--ink-2);
}

.service-card li::before,
.case-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: start;
}

.split-copy {
  position: sticky;
  top: 112px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

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

.tech-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.tech-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tech-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.tech-card h3,
.tech-card p {
  padding-inline: 24px;
}

.tech-card p {
  padding-bottom: 24px;
}

.tech-card.wide {
  grid-row: span 2;
}

.tech-card.wide img {
  height: 390px;
}

.stats {
  padding: 54px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.76);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: #09202e;
  background: var(--gold);
  border-color: transparent;
}

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

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.06);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  background: var(--muted);
}

.portfolio-card div {
  padding: 20px;
}

.portfolio-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.portfolio-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 1000;
}

.portfolio-card-link::after {
  content: "";
  width: 24px;
  height: 2px;
  margin-left: 10px;
  background: var(--green);
  transition: width 180ms ease;
}

.portfolio-card:hover .portfolio-card-link::after {
  width: 38px;
}

.portfolio-card-link.external {
  color: var(--teal);
}

.portfolio-card-link.external::after {
  background: var(--teal);
}

.portfolio-card span,
.case-card span,
.blog-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-step span {
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 900;
}

.process-step h3 {
  margin: 14px 0 8px;
}

.process-step p {
  color: var(--ink-2);
  margin: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #f8faf5;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-bottom: 0;
}

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 42vw;
  height: 42vw;
  background: linear-gradient(135deg, rgba(109, 187, 63, 0.22), rgba(240, 107, 79, 0.18));
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-methods a,
.contact-methods span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
}

.footer {
  padding: 48px 0;
  background: #08182c;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 30px;
}

.footer img {
  width: 260px;
  margin-bottom: 14px;
}

.whatsapp-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #25d366;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.34);
}

.whatsapp-chat::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 9px;
  border-radius: 50%;
  background: #ffffff;
}

.page-hero {
  padding: 150px 0 80px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.page-content {
  max-width: 920px;
}

.page-featured {
  width: 100%;
  max-height: 520px;
  margin-bottom: 28px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rich-text h2,
.rich-text h3 {
  line-height: 1.12;
}

.rich-text a {
  color: var(--teal);
  font-weight: 800;
}

.about-page-content {
  max-width: var(--max);
}

.digital-marketing-page-content {
  max-width: var(--max);
}

.hospitality-technology-page-content {
  max-width: var(--max);
}

.us-hero { padding: 132px 0 88px; overflow: hidden; }
.us-hero-grid, .us-opportunity-grid, .us-faq-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: 64px; align-items: center; }
.us-hero h1 { max-width: 820px; margin: 12px 0 22px; font-size: clamp(2.7rem, 5.6vw, 5.7rem); line-height: .96; letter-spacing: -.045em; }
.us-hero-lede { max-width: 720px; color: rgba(255,255,255,.78); font-size: 1.18rem; }
.us-proof-list { display: grid; gap: 9px; padding: 0; margin: 30px 0 0; list-style: none; color: rgba(255,255,255,.78); }
.us-proof-list li::before { content: "✓"; margin-right: 10px; color: var(--green); font-weight: 1000; }
.us-hero-panel { padding: 34px; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(15,138,138,.18)); box-shadow: 0 26px 80px rgba(0,0,0,.2); }
.us-hero-panel > span, .us-work-grid span { color: var(--green); font-size: .78rem; font-weight: 1000; letter-spacing: .12em; text-transform: uppercase; }
.us-hero-panel h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
.us-hero-panel strong { color: var(--green); }
.us-hero-panel p { margin: 2px 0 16px; color: rgba(255,255,255,.72); }
.us-market-strip { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.us-market-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.us-market-strip p { margin-right: 10px; font-weight: 1000; }
.us-market-strip span { padding: 7px 12px; border-radius: 999px; background: var(--muted); font-weight: 800; font-size: .88rem; }
.us-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.us-service-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 16px 45px rgba(16,34,63,.06); }
.us-service-grid article > span, .us-process-grid span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--white); background: var(--teal); font-weight: 1000; }
.us-service-grid h3 { margin: 18px 0 8px; font-size: 1.28rem; }
.us-service-grid ul { padding-left: 20px; }
.us-service-grid li { margin: 6px 0; }
.us-opportunity-grid { align-items: start; }
.us-opportunity-grid h2, .us-faq-layout h2 { font-size: clamp(2.2rem,4.4vw,4.6rem); line-height: .98; }
.us-outcome-list { display: grid; gap: 12px; }
.us-outcome-list article { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.us-outcome-list strong { color: var(--teal); }
.us-outcome-list h3, .us-outcome-list p { margin: 0; }
.us-work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.us-work-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 16px 45px rgba(16,34,63,.07); }
.us-work-grid img { width: 100%; height: 230px; object-fit: cover; object-position: top; }
.us-work-grid article > div { padding: 22px; }
.us-work-grid h3 { margin: 7px 0; }
.us-work-grid a { color: var(--teal); font-weight: 1000; }
.us-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding: 0; list-style: none; counter-reset: none; }
.us-process-grid li { padding: 24px; border-top: 3px solid var(--teal); background: var(--white); box-shadow: 0 14px 36px rgba(16,34,63,.05); }
.us-faq-layout { align-items: start; }
.us-faq-list { display: grid; gap: 12px; }
.us-faq-list details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.us-faq-list summary { cursor: pointer; font-weight: 1000; }
.us-faq-list p { margin-bottom: 0; color: var(--ink-2); }
.us-pathways { padding-top: 72px; }
.us-pathway-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
.us-pathway-grid a { grid-column: span 2; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 14px 40px rgba(16,34,63,.05); transition: transform 180ms ease, border-color 180ms ease; }
.us-pathway-grid a:nth-child(4), .us-pathway-grid a:nth-child(5) { grid-column: span 3; }
.us-pathway-grid a:nth-child(6), .us-pathway-grid a:nth-child(7) { grid-column: span 3; }
.us-pathway-grid a:hover { transform: translateY(-4px); border-color: var(--teal); }
.us-pathway-grid span, .us-related-grid span { color: var(--teal); font-size: .76rem; font-weight: 1000; letter-spacing: .1em; text-transform: uppercase; }
.us-pathway-grid h3, .us-related-grid h3 { margin: 8px 0; }
.us-detail-hero { padding: 116px 0 84px; }
.us-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 42px; color: rgba(255,255,255,.66); font-size: .86rem; }
.us-breadcrumb a:hover { color: var(--green); }
.us-detail-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 64px; align-items: center; }
.us-detail-hero h1 { max-width: 900px; margin: 10px 0 20px; font-size: clamp(2.6rem,5vw,5.25rem); line-height: .97; letter-spacing: -.04em; }
.us-detail-hero-grid > div > p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.76); font-size: 1.15rem; }
.us-detail-hero aside { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.08); }
.us-detail-hero aside > span { color: var(--green); font-weight: 1000; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.us-detail-hero aside ul { display: grid; gap: 9px; padding: 0; list-style: none; }
.us-detail-hero aside li { padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.12); }
.us-problem-grid, .us-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.us-problem-grid article, .us-related-grid a { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 14px 40px rgba(16,34,63,.05); }
.us-problem-grid article > span { color: var(--teal); font-weight: 1000; }
.us-included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.us-included-grid h2 { font-size: clamp(2.2rem,4vw,4.3rem); line-height: .98; }
.us-included-grid ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.us-included-grid li { padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-weight: 900; }
.us-detail-process ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding: 0; list-style: none; }
.us-detail-process li { padding: 24px; border-top: 3px solid var(--teal); background: var(--white); box-shadow: 0 14px 36px rgba(16,34,63,.05); }
.us-detail-process li > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--white); background: var(--teal); font-weight: 1000; }
.us-state-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.us-state-service-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 14px 40px rgba(16,34,63,.05); }
.us-state-service-grid h3 { margin-top: 0; }

.about-modern {
  display: grid;
  gap: 96px;
}

.about-modern h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  line-height: 0.95;
}

.about-modern h3 {
  margin: 0;
  color: var(--ink);
}

.about-modern p {
  color: var(--ink-2);
  font-size: 1.03rem;
}

.about-intro-grid,
.about-vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}

.about-image-stack {
  position: relative;
  min-height: 520px;
}

.about-image-stack img,
.about-vision-media img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image-stack img:first-child {
  height: 420px;
}

.about-image-stack img:last-child {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 48%;
  height: 230px;
  border: 8px solid var(--white);
}

.about-lead-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.08);
}

.about-stat-grid,
.about-method-grid,
.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-stat,
.about-method,
.about-process-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.05);
}

.about-stat strong {
  display: block;
  color: var(--teal);
  font-size: 2.4rem;
  line-height: 1;
}

.about-stat span,
.about-process-step span {
  color: var(--ink);
  font-weight: 1000;
}

.about-method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-method img {
  width: 100%;
  height: 190px;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 8px;
}

.about-process-step span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
}

.about-vision {
  padding: 42px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #10223f, #0b6b86);
}

.about-vision h2,
.about-vision h3 {
  color: var(--white);
}

.about-vision p,
.about-vision li {
  color: rgba(255, 255, 255, 0.78);
}

.about-vision ul {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.about-vision li {
  padding-left: 24px;
  position: relative;
}

.about-vision li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.about-cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: #eef7e8;
}

.dm-landing {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 90px;
}

.dm-landing h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.8vw, 5rem);
  line-height: 0.96;
}

.dm-landing p {
  color: var(--ink-2);
}

.dm-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #10223f 0%, #0b6b86 100%);
  box-shadow: var(--shadow);
}

.dm-hero h2,
.dm-hero p {
  color: var(--white);
}

.dm-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.dm-hero img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.dm-actions,
.dm-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.dm-intro {
  max-width: 980px;
}

.dm-service-grid,
.dm-feature-grid,
.dm-portfolio-grid,
.dm-faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dm-service-grid article,
.dm-feature-grid article,
.dm-portfolio-grid article,
.dm-faq-grid details {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.05);
}

.dm-service-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 1000;
}

.dm-service-grid h3,
.dm-feature-grid h3,
.dm-portfolio-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.dm-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  padding: 34px;
  border-radius: 8px;
  background: #eef7e8;
}

.dm-split.reverse {
  background: #f7fafb;
}

.dm-split ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dm-split li,
.dm-pill-grid span {
  padding: 12px 14px;
  border: 1px solid rgba(15, 138, 138, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
}

.dm-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dm-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dm-portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dm-portfolio-grid img {
  width: 100%;
  height: 220px;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}

.dm-portfolio-grid a,
.dm-contact-line a {
  color: var(--teal);
  font-weight: 1000;
}

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

.dm-faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 1000;
}

.dm-final-cta {
  padding: 42px;
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, #10223f, #0b6b86);
}

.dm-final-cta h2,
.dm-final-cta p {
  color: var(--white);
}

.dm-final-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.78);
}

.dm-final-cta .dm-contact-line {
  justify-content: center;
}

.dm-final-cta .dm-contact-line a {
  color: var(--white);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
  max-width: none;
}

.blog-card a {
  color: var(--teal);
  font-weight: 900;
}

.blog-article {
  font-size: 1.08rem;
}

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

.testimonial-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 54, 68, 0.08);
}

.testimonial-card p {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--ink-2);
}

.pagination-wrap {
  margin-top: 32px;
}

.pagination-wrap nav {
  display: flex;
  gap: 10px;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
}

.admin-button.small {
  padding: 8px 12px;
  font-size: 0.86rem;
}

.recaptcha-form-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #b33a2b;
  color: #712217;
  background: #fff1ee;
  font-size: 0.9rem;
  font-weight: 800;
}

.recaptcha-form-error:empty {
  display: none;
}

.ht-landing {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 76px;
}

.ht-landing h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
}

.ht-landing h3 {
  margin: 0 0 12px;
  color: var(--ink);
}

.ht-landing p {
  color: var(--ink-2);
}

.ht-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid rgba(0, 87, 112, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 248, 246, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ht-hero > div {
  align-self: center;
  padding: clamp(18px, 3vw, 42px);
}

.ht-hero img,
.ht-media-band img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.ht-hero picture {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 54, 68, 0.2);
}

.ht-intro {
  max-width: 920px;
}

.ht-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ht-service-grid article,
.ht-feature-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(0, 87, 112, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 54, 68, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ht-service-grid article:hover,
.ht-feature-grid article:hover,
.ht-portfolio-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 198, 63, 0.52);
  box-shadow: 0 20px 46px rgba(0, 54, 68, 0.13);
}

.ht-service-grid span:first-child {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(140, 198, 63, 0.14);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.ht-service-grid a,
.ht-portfolio-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

.ht-split,
.ht-media-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.ht-split.reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.ht-split.reverse > div {
  order: 2;
}

.ht-split ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ht-split li,
.ht-chip-grid span,
.ht-pill-grid span,
.ht-benefit-grid span {
  padding: 13px 15px;
  border: 1px solid rgba(0, 87, 112, 0.13);
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
}

.ht-media-band {
  padding: 22px;
  background: #062833;
  color: #ffffff;
  overflow: hidden;
}

.ht-media-band h2,
.ht-media-band p,
.ht-final-cta h2,
.ht-final-cta p,
.ht-final-cta a {
  color: #ffffff;
}

.ht-media-band img {
  min-height: 360px;
}

.ht-chip-grid,
.ht-pill-grid,
.ht-benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ht-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ht-benefit-grid span {
  background: linear-gradient(135deg, rgba(140, 198, 63, 0.13), rgba(0, 105, 130, 0.08));
}

.ht-dynamic-portfolio {
  margin-top: 76px;
}

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

.ht-portfolio-grid article {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 112, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 54, 68, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ht-portfolio-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ht-portfolio-grid article > div {
  padding: 20px;
}

.ht-portfolio-grid p {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ht-portfolio-grid span {
  color: var(--ink-2);
}

.ht-final-cta {
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(135deg, #062833, #005770);
  box-shadow: var(--shadow);
}

.ht-final-cta .dm-contact-line {
  justify-content: center;
}

.admin-body {
  min-height: 100vh;
  background: #eef3ed;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  color: var(--white);
  background: var(--ink);
}

.admin-header a,
.admin-header button {
  color: var(--white);
  font-weight: 900;
}

.admin-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-header form {
  margin: 0;
}

.admin-header button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.admin-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.08);
}

.admin-card:first-child {
  grid-row: span 2;
}

.admin-card h1,
.admin-card h2 {
  margin-top: 0;
  line-height: 1.1;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #f9fbf6;
}

.admin-form small {
  color: var(--ink-2);
  font-weight: 600;
}

.admin-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.admin-check input {
  width: auto;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-list a {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbf6;
}

.admin-list span {
  font-weight: 900;
}

.admin-list small {
  color: var(--ink-2);
}

.admin-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #12310c;
  background: #dff5d7;
  font-weight: 800;
}

.admin-alert.error {
  color: #5d170b;
  background: #ffe3da;
}

.admin-alert p {
  margin: 0;
}

.admin-thumb {
  max-width: 260px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.login-card {
  max-width: 520px;
  margin: 90px auto;
}

.admin-login-body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(6, 14, 28, 0.78), rgba(6, 14, 28, 0.42)),
    url("../images/hero-banner.png") center / cover no-repeat fixed;
}

.admin-login-shell {
  display: grid;
  place-items: center;
  width: min(1040px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
}

.admin-login-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 72px;
  align-items: center;
  width: 100%;
  color: var(--white);
}

.admin-login-welcome {
  max-width: 480px;
}

.admin-login-welcome img {
  width: 220px;
  max-width: 100%;
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
}

.admin-login-welcome h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.admin-login-welcome p {
  max-width: 360px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.admin-login-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-login-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 900;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.52);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.admin-login-form h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
}

.admin-login-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 900;
}

.admin-login-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 0 12px;
  color: #10223f;
  background: rgba(255, 255, 255, 0.94);
}

.admin-login-form input:focus {
  outline: 3px solid rgba(140, 195, 71, 0.35);
  border-color: var(--green);
}

.admin-login-remember {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.admin-login-remember input {
  width: 15px;
  min-height: 15px;
}

.admin-login-form .btn {
  min-height: 46px;
  width: max-content;
  min-width: 130px;
  border-radius: 4px;
}

.admin-login-form small {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.admin-brand {
  letter-spacing: 0;
}

.admin-top-nav {
  flex-wrap: wrap;
}

.admin-sidebar {
  position: sticky;
  top: 66px;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 10px 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.admin-sidebar a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  border-color: rgba(140, 195, 71, 0.5);
  background: #eff7e8;
}

.admin-hero-panel {
  padding: 30px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #10223f 0%, #0b6b86 100%);
  box-shadow: var(--shadow);
}

.admin-hero-panel p,
.admin-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-detail-hero {
  min-height: 760px;
  padding: 150px 0 90px;
  overflow: hidden;
}

.portfolio-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: center;
}

.portfolio-detail-copy h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(3rem, 6.4vw, 7.2rem);
  line-height: 0.9;
}

.portfolio-detail-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.portfolio-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portfolio-detail-media {
  position: relative;
}

.portfolio-detail-media::before {
  content: "";
  position: absolute;
  inset: -22px 26px 26px -22px;
  border: 1px solid rgba(140, 195, 71, 0.48);
  border-radius: 8px;
}

.portfolio-detail-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.portfolio-meta-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.portfolio-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.portfolio-meta-grid div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--white);
}

.portfolio-meta-grid span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.portfolio-meta-grid strong {
  color: var(--ink);
  line-height: 1.2;
}

.portfolio-story-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.portfolio-services-panel {
  position: sticky;
  top: 110px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.06);
}

.portfolio-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-service-tags span {
  padding: 10px 12px;
  border: 1px solid rgba(15, 138, 138, 0.24);
  border-radius: 999px;
  color: var(--ink);
  background: #f3faf2;
  font-weight: 900;
}

.portfolio-story h2 {
  max-width: 840px;
  margin-top: 0;
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  line-height: 0.98;
}

.portfolio-story p {
  max-width: 780px;
  color: var(--ink-2);
  font-size: 1.05rem;
}

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

.case-study-step {
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 34, 63, 0.05);
}

.case-study-step span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 1000;
}

.case-study-step h2 {
  margin: 0 0 14px;
  font-size: 2rem;
}

.case-study-step p {
  color: var(--ink-2);
}

.portfolio-showcase-section {
  padding-top: 0;
}

.portfolio-showcase-frame {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #10223f, #0b6b86);
  box-shadow: var(--shadow);
}

.portfolio-showcase-frame img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  background: var(--muted);
}

.portfolio-grid.compact .portfolio-card img {
  height: 220px;
}

.portfolio-cta {
  max-width: 820px;
  text-align: center;
}

.portfolio-cta h2 {
  margin: 0 auto 18px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.portfolio-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.admin-hero-panel h1 {
  max-width: 900px;
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.admin-hero-panel span,
.admin-muted {
  color: var(--ink-2);
}

.admin-hero-panel span {
  color: rgba(255, 255, 255, 0.76);
}

.admin-stat-grid,
.admin-section-grid,
.security-grid,
.admin-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.admin-section-grid,
.security-grid,
.admin-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-stat-card,
.admin-section-card,
.security-grid div,
.admin-preview-grid div {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(16, 34, 63, 0.08);
}

.admin-stat-card strong {
  color: var(--teal);
  font-size: 2.2rem;
  line-height: 1;
}

.admin-stat-card span,
.admin-section-card span,
.security-grid strong {
  color: var(--ink);
  font-weight: 1000;
}

.admin-section-card small,
.security-grid span {
  color: var(--ink-2);
  font-weight: 700;
}

.admin-wide {
  grid-row: auto !important;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-form-grid .span-2 {
  grid-column: 1 / -1;
}

.admin-fieldset {
  display: grid;
  gap: 14px;
  margin: 12px 0;
  padding: 18px;
  border: 1px solid rgba(11, 107, 134, 0.22);
  border-radius: var(--radius);
  background: #f6fbf4;
}

.admin-fieldset legend {
  padding: 0 8px;
  color: var(--teal);
  font-weight: 1000;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbf6;
}

.admin-table-row.head {
  color: var(--ink);
  background: #e8f2e2;
  font-weight: 1000;
}

.admin-table-row span {
  display: grid;
  gap: 2px;
}

.admin-table-row small {
  color: var(--ink-2);
  font-weight: 700;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer h3 {
  margin: 0 0 12px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 6px 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-grid,
  .split,
  .us-hero-grid,
  .us-opportunity-grid,
  .us-faq-layout,
  .us-detail-hero-grid,
  .us-included-grid,
  .content-grid,
  .contact-grid,
  .portfolio-detail-grid,
  .portfolio-story-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-detail-hero {
    min-height: auto;
  }

  .portfolio-services-panel {
    position: static;
  }

  .portfolio-meta-grid,
  .case-study-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-copy {
    position: static;
  }

  .hero-visual {
    min-height: auto;
  }

  .device-shell img {
    height: 360px;
  }

  .service-grid,
  .us-service-grid,
  .us-process-grid,
  .us-pathway-grid,
  .us-detail-process ol,
  .us-state-service-grid,
  .portfolio-grid,
  .case-grid,
  .blog-grid,
  .stats-grid,
  .testimonial-grid,
  .ht-service-grid,
  .ht-feature-grid,
  .ht-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-hero,
  .ht-split,
  .ht-split.reverse,
  .ht-media-band {
    grid-template-columns: 1fr;
  }

  .ht-split.reverse > div {
    order: initial;
  }

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

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

  .trust-logos {
    justify-content: flex-start;
  }

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

  .us-pathway-grid a,
  .us-pathway-grid a:nth-child(4),
  .us-pathway-grid a:nth-child(5),
  .us-pathway-grid a:nth-child(6),
  .us-pathway-grid a:nth-child(7) {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 70px 0;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 140px;
  }

  .hero {
    padding-bottom: 60px;
  }

  .hero-actions,
  .hero-proof {
    flex-direction: column;
  }

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

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .service-grid,
  .us-service-grid,
  .us-work-grid,
  .us-process-grid,
  .us-pathway-grid,
  .us-problem-grid,
  .us-related-grid,
  .us-detail-process ol,
  .us-state-service-grid,
  .industry-grid,
  .portfolio-grid,
  .case-grid,
  .blog-grid,
  .stats-grid,
  .portfolio-meta-grid,
  .case-study-steps,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-detail-hero {
    padding: 112px 0 64px;
  }

  .portfolio-detail-actions {
    flex-direction: column;
  }

  .portfolio-detail-actions .btn {
    width: 100%;
  }

  .about-modern {
    gap: 64px;
  }

  .about-intro-grid,
  .about-vision-grid,
  .about-cta-panel,
  .dm-hero,
  .us-hero-grid,
  .us-opportunity-grid,
  .us-faq-layout,
  .us-detail-hero-grid,
  .us-included-grid,
  .dm-split,
  .ht-hero,
  .ht-split,
  .ht-split.reverse,
  .ht-media-band {
    grid-template-columns: 1fr;
  }

  .about-stat-grid,
  .about-method-grid,
  .about-process-grid,
  .dm-service-grid,
  .dm-feature-grid,
  .dm-portfolio-grid,
  .dm-faq-grid,
  .testimonial-grid,
  .dm-split ul,
  .ht-service-grid,
  .ht-feature-grid,
  .ht-portfolio-grid,
  .ht-split ul {
    grid-template-columns: 1fr;
  }

  .dm-landing,
  .ht-landing {
    gap: 64px;
  }

  .dm-hero,
  .dm-split,
  .dm-final-cta,
  .ht-hero,
  .ht-media-band,
  .ht-final-cta {
    padding: 24px;
  }

  .ht-hero img,
  .ht-media-band img {
    min-height: 260px;
  }

  .about-image-stack {
    min-height: auto;
  }

  .about-image-stack img:first-child,
  .about-image-stack img:last-child {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .about-image-stack img:last-child {
    margin-top: 14px;
  }

  .about-vision {
    padding: 24px;
  }

  .portfolio-detail-media::before {
    inset: -10px 12px 12px -10px;
  }

  .portfolio-meta-grid div {
    padding: 18px;
  }

  .case-study-step {
    min-height: auto;
  }

  .case-study-step span {
    margin-bottom: 28px;
  }

  .tech-card.wide img,
  .tech-card img,
  .portfolio-card img {
    height: 230px;
  }

  .lead-form {
    padding: 20px;
  }

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

  .admin-card:first-child {
    grid-row: auto;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-sidebar {
    top: 106px;
    padding: 8px 14px;
  }

  .admin-stat-grid,
  .admin-section-grid,
  .security-grid,
  .admin-preview-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-table-row,
  .admin-table-row.head {
    grid-template-columns: 1fr;
  }

  .admin-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-login-shell {
    width: min(100% - 28px, 1040px);
    min-height: auto;
    padding: 42px 0;
  }

  .admin-login-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .admin-login-welcome img {
    width: 170px;
    margin-bottom: 22px;
  }

  .admin-login-welcome h1 {
    font-size: 3.1rem;
  }

  .admin-login-form {
    padding: 24px;
  }

  .admin-login-form .btn {
    width: 100%;
  }
}
