/*
Theme Name: Spacehance
Theme URI: https://spacehance.com
Author: Spacehance Furniture & Interiors LLC
Author URI: https://spacehance.com
Description: Custom theme for Spacehance Furniture & Interiors LLC.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: spacehance
*/
:root {
  --bg: #0f1a24;
  --bg-soft: #132433;
  --bg-card: #1b2d3d;
  --text: #f6f4ef;
  --text-dim: #c6ced6;
  --accent: #de7a2b;
  --accent-2: #9ac8d8;
  --line: #2d455b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* MEP reference page tuning */
.page-mep-services .service-hero-copy h1 {
  font-size: clamp(2rem, 4.7vw, 3.25rem);
  max-width: 11ch;
}

.page-mep-services .service-row-content h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.page-mep-services .service-row-content p {
  font-size: 0.96rem;
  line-height: 1.55;
}

.page-mep-services .service-band {
  padding: 0.9rem 0;
  min-height: 74px;
}

.page-mep-services .service-band .btn {
  min-width: 122px;
  padding: 0.56rem 1.15rem;
}

.mep-btn-primary {
  background: linear-gradient(135deg, #d1032f, #fd2c56) !important;
  color: #fff !important;
}

.page-mep-services .mep-inquiry h2 {
  margin-top: 0.35rem;
}

.mep-closing-cta {
  background:
    linear-gradient(100deg, rgba(5, 16, 28, 0.84), rgba(7, 19, 32, 0.86)),
    url("assets/images/call-to-action-image.webp") center/cover;
  border-top: 1px solid #2e4558;
  border-bottom: 1px solid #2e4558;
  padding: 3.2rem 0;
  text-align: center;
}

.mep-closing-cta h2 {
  max-width: 22ch;
  margin: 0 auto 0.6rem;
}

.mep-closing-cta p {
  max-width: 64ch;
  margin: 0 auto 1.2rem;
  color: #d7e0e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #183043 0, transparent 40%),
    radial-gradient(circle at 90% 30%, #3a2c20 0, transparent 35%),
    var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #9f0729, #c60c35 52%, #a6082c);
  color: #f7edf1;
  font-size: 0.9rem;
  border-bottom: 1px solid #8f0c2a;
}

.topbar p {
  margin: 0;
  padding: 0.6rem 0;
  text-align: center;
}

.topbar a {
  color: #fff;
}

.topbar a:hover {
  color: #ffe3ea;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 18, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ffb36b);
  color: #121212;
}

.brand-text {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-logo {
  height: 58px;
  width: auto;
  max-width: min(520px, 38vw);
  object-fit: contain;
  display: block;
}

.custom-logo-link,
.custom-logo {
  display: block;
}

.custom-logo {
  height: 54px;
  width: auto;
  max-width: min(460px, 52vw);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-weight: 600;
  margin-left: auto;
}

.nav a {
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

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

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.drop-toggle {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.78rem;
  cursor: pointer;
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  transform: translateY(1px);
}

.drop-toggle:hover,
.nav-item:hover > .drop-toggle,
.nav-item.open > .drop-toggle {
  color: var(--text);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 360px;
  background: rgba(7, 16, 24, 0.97);
  border: 1px solid #3d5060;
  box-shadow: var(--shadow);
  display: none;
  z-index: 60;
}

.dropdown-menu a {
  display: block;
  padding: 0.85rem 1rem;
  color: #e6edf3;
  border-bottom: 1px solid rgba(89, 114, 133, 0.35);
  white-space: nowrap;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover {
  background: #0f2638;
  color: #fff;
}

.nav-item:hover > .dropdown-menu,
.nav-item.open > .dropdown-menu {
  display: block;
}

@media (min-width: 981px) {
  .nav-item.has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
  }
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #f7a35d);
  color: #121212;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

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

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1.15;
}

section {
  padding: 5rem 0;
}

.hero {
  padding: 0;
}

.hero-slider {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(8, 14, 20, 0.82) 15%, rgba(8, 14, 20, 0.45) 50%, rgba(8, 14, 20, 0.72) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 84svh;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero h1,
.hero h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 5.5vw, 3.7rem);
}

.hero p {
  max-width: 55ch;
  color: #d5dde4;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quick-form,
.contact-form {
  background: rgba(19, 36, 51, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 1.3rem;
}

.quick-form h2 {
  font-size: 1.2rem;
}

.quick-form label,
.contact-form label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.quick-form input,
.quick-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #355068;
  background: #0f1f2c;
  color: var(--text);
  border-radius: 10px;
  padding: 0.56rem 0.78rem;
  line-height: 1.25;
  font: inherit;
}

.contact-inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.contact-inline-fields label {
  margin-bottom: 0.7rem;
}

.quick-form button,
.contact-form button {
  width: 100%;
  margin-top: 0.3rem;
}

.slider-controls {
  position: absolute;
  right: 2.2rem;
  bottom: 1.5rem;
  z-index: 5;
  display: flex;
  gap: 0.6rem;
}

.hero-fixed-form-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-fixed-form-wrap .container {
  display: flex;
  justify-content: flex-end;
}

.hero-fixed-form {
  width: min(390px, 100%);
  pointer-events: auto;
}

.slide-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(10, 16, 22, 0.7);
  color: #fff;
  cursor: pointer;
}

.trust-bar {
  padding: 2rem 0;
  background: linear-gradient(90deg, #132434, #1d3245);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-grid div {
  text-align: center;
}

.trust-grid strong {
  font-family: "Bricolage Grotesque", sans-serif;
  display: block;
  font-size: 1.8rem;
  color: #ffd7b5;
}

.trust-grid span {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.check-list li {
  margin-bottom: 0.5rem;
}

.image-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.image-stack img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.services,
.process,
.faq {
  background: linear-gradient(180deg, rgba(15, 26, 36, 0.5), rgba(15, 26, 36, 0.95));
}

.services .container {
  background: rgba(8, 23, 36, 0.62);
  border: 1px solid #2d455b;
  border-radius: 14px;
  padding: 0.9rem 0.9rem 1rem;
}

.card-grid,
.sector-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 1280px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sector-grid article,
.steps article,
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px 1fr;
  min-height: 100%;
  height: 100%;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(84, 117, 140, 0.45);
}

.card-content {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.services .service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px 1fr;
  min-height: 100%;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.services .service-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(84, 117, 140, 0.45);
  display: block;
}

.services .service-card-content {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--bg-card);
}

.card h3,
.sector-grid h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.card h3 {
  margin: 0;
  min-height: 2.45em;
}

.card p,
.sector-grid p {
  color: var(--text-dim);
  margin: 0;
}

.services .service-card h3 {
  margin: 0;
  min-height: 2.45em;
  font-size: 1.15rem;
  position: static;
  inset: auto;
  transform: none;
  z-index: auto;
}

.services .service-card p {
  color: var(--text-dim);
  margin: 0;
  position: static;
  inset: auto;
  transform: none;
  z-index: auto;
}

.steps {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2d4357;
  color: #ffe1c6;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.steps p {
  color: var(--text-dim);
}

.project-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1d29;
}

.project-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-grid figcaption {
  padding: 0.9rem;
  font-weight: 700;
}

.cta {
  padding: 3.6rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid #3a5166;
  border-radius: 16px;
  padding: 1.6rem;
  background:
    linear-gradient(120deg, rgba(222, 122, 43, 0.18), rgba(22, 34, 46, 0.8)),
    url("assets/images/call-to-action-image.webp") center/cover;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  color: var(--text-dim);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}

.contact-list li {
  margin-bottom: 0.55rem;
}

.site-footer {
  padding: 3rem 0 1.4rem;
  border-top: 1px solid var(--line);
  background: #0b141c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1.2rem;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.footer-grid p,
.footer-grid li,
.copyright {
  color: #b7c0c8;
  font-size: 0.92rem;
}

.social-links {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eaf0f5;
  background: #112333;
  border: 1px solid #2f495e;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-link:hover {
  background: #de7a2b;
  color: #09131c;
  transform: translateY(-1px);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.3rem;
}

.copyright {
  margin: 1.4rem 0 0;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #1b2b37;
}

.page-hero {
  padding: 4rem 0 2.3rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(10, 22, 32, 0.8), rgba(17, 28, 38, 0.8)),
    url("assets/images/call-to-action-image.webp") center/cover;
}

.breadcrumb {
  color: #d7dee5;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.7vw, 3.2rem);
  max-width: 18ch;
}

.page-hero p {
  color: #d8e0e8;
  max-width: 66ch;
}

.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.service-main,
.service-aside {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
}

.service-main h2 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-main p,
.service-main li {
  color: var(--text-dim);
}

.service-main ul {
  margin: 0.45rem 0 0;
  padding-left: 1.2rem;
}

.service-aside h3 {
  font-size: 1.1rem;
}

.service-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-links li + li {
  margin-top: 0.45rem;
}

.service-links a {
  display: block;
  border: 1px solid #3b5164;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  color: #dbe5ee;
}

.service-links a:hover,
.service-links a.active {
  background: #173047;
  color: #fff;
  border-color: #5f7991;
}

body.service-page .topbar {
  background: #d1032f;
}

body.service-page .topbar p {
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: #fff;
}

body.service-page .site-header {
  background: rgba(4, 15, 25, 0.94);
}

body.service-page .reveal {
  opacity: 1;
  transform: none;
}

body.service-page main > section {
  padding: 0;
}

body.service-page main {
  background: #081624;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

body.service-page main > section + section {
  margin-top: 0;
  padding-top: 0 !important;
}

.service-hero {
  position: relative;
  min-height: 510px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #32495d;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 15, 24, 0.8) 12%, rgba(8, 18, 28, 0.64) 46%, rgba(6, 15, 24, 0.86) 100%);
}

.service-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 510px;
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 1.5rem;
}

.service-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2rem, 5.1vw, 3.7rem);
  margin-bottom: 0.7rem;
}

.service-hero-copy p {
  max-width: 50ch;
  color: #d4dee7;
  margin-bottom: 1.1rem;
}

.service-hero-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.service-inquiry {
  background: rgba(7, 21, 34, 0.84);
  border: 1px solid #4d677f;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.service-inquiry h2 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.service-inquiry label {
  display: block;
  color: #c5d1dc;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
}

.service-inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.service-inquiry input,
.service-inquiry textarea,
.service-inquiry select {
  width: 100%;
  margin-top: 0.28rem;
  border: 1px solid #647f96;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f8fb;
  padding: 0.42rem 0.66rem;
  line-height: 1.25;
  font: inherit;
}

.service-inquiry .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.service-feature-rows {
  background: #0a1521;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

.service-row-content {
  background: #35495b;
  color: #eff4f9;
  padding: clamp(1.3rem, 2.6vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.service-row-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.service-row-content p {
  color: #e0e8ef;
}

.service-row-image {
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.service-process {
  background: #061220;
  padding: 5.4rem 0 4rem;
}

.service-process h2,
.service-process p {
  text-align: center;
}

.service-process p {
  color: #c8d2db;
  max-width: 72ch;
  margin: 0 auto 1.3rem;
}

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

.process-card {
  border: 1px solid #375069;
  border-radius: 12px;
  background: #122334;
  overflow: hidden;
}

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

.process-card .content {
  padding: 0.9rem;
}

.process-card .content h3 {
  margin-bottom: 0.4rem;
}

.process-card .content p {
  text-align: left;
  margin: 0;
  color: #ced8e0;
}

.service-portfolio {
  background: #081624;
  padding: 4.8rem 0 3.4rem;
}

.service-portfolio h2,
.service-portfolio p {
  text-align: center;
}

.service-portfolio p {
  color: #ced7df;
  max-width: 68ch;
  margin: 0 auto 1.4rem;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
}

.portfolio-strip img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  border-radius: 6px;
}

.service-value-grid {
  background: #081929;
  padding: 3.2rem 0;
}

.service-value-grid h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.value-item {
  background: #33495b;
  border: 1px solid #50677a;
  border-radius: 12px;
  padding: 1rem;
}

.value-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.value-item p {
  margin: 0;
  color: #d7e0e8;
}

.service-band {
  background: #d1032f;
  padding: 1.35rem 0;
  min-height: 88px;
  display: flex;
  align-items: center;
}

.service-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-band h3 {
  margin: 0;
}

.service-faq-section {
  background: #071524;
  padding: 3.2rem 0;
}

.service-faq-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.service-faq {
  border: 1px solid #354e65;
  border-radius: 12px;
  overflow: hidden;
  background: #112536;
}

.service-faq details {
  border-bottom: 1px solid #334d63;
}

.service-faq details:last-child {
  border-bottom: 0;
}

.service-faq summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.service-faq p {
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: #d1dbe4;
}

.service-contact-section {
  background: #061220;
  padding: 3.2rem 0;
}

.service-contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  background: #2e4253;
  border: 1px solid #4e6579;
  border-radius: 14px;
  padding: 1.1rem;
}

.service-contact-left h2 {
  font-size: 1.5rem;
}

.service-contact-left p,
.service-contact-right p {
  color: #dce5ec;
}

.service-contact-right {
  border-left: 1px solid #526b80;
  padding-left: 1rem;
}

.service-contact-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.service-contact-mini textarea {
  grid-column: 1 / -1;
}

.service-contact-mini input,
.service-contact-mini textarea {
  border: 1px solid #6b8498;
  border-radius: 9px;
  padding: 0.6rem 0.7rem;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.service-contact-mini .btn {
  grid-column: 1 / -1;
}

.service-end-cta {
  position: relative;
  padding: 4rem 0;
  background-size: cover;
  background-position: center;
}

.service-end-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 15, 25, 0.84), rgba(6, 15, 25, 0.56));
}

.service-end-cta-inner {
  position: relative;
  z-index: 2;
}

.service-end-cta h2 {
  max-width: 17ch;
}

.service-end-cta p {
  max-width: 60ch;
  color: #d4dee6;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0d1821;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    margin-left: 0;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-top: 1px solid #1a2a37;
  }

  .nav-item {
    display: block;
  }

  .drop-toggle {
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: #0d2233;
    margin-top: 0;
  }

  .dropdown-menu a {
    border-top: 1px solid #20394c;
    border-bottom: 0;
    padding-left: 1.45rem;
  }

  .nav-item:hover > .dropdown-menu {
    display: none;
  }

  .nav-item.open > .dropdown-menu {
    display: block;
  }

  .nav.open {
    max-height: 480px;
  }

  .hero-grid,
  .two-col,
  .card-grid,
  .sector-grid,
  .steps,
  .project-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-inline-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-grid {
    padding: 6.5rem 0 2.5rem;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 44px;
    max-width: min(340px, 62vw);
  }

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

  .service-hero-inner,
  .service-row,
  .process-pair,
  .portfolio-strip,
  .value-grid,
  .service-band-inner,
  .service-contact-wrap,
  .service-contact-mini {
    grid-template-columns: 1fr;
  }

  .service-inline-fields {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: auto;
    padding: 5rem 0 2rem;
  }

  body.service-page main > section + section {
    margin-top: 0;
    padding-top: 0 !important;
  }

  body.service-page main {
    gap: 16px;
  }

  .service-hero-inner {
    min-height: auto;
  }

  .service-row-content {
    order: 2;
  }

  .service-row-image {
    order: 1;
    min-height: 260px;
  }

  .service-band-inner {
    text-align: center;
  }

  .service-contact-right {
    border-left: 0;
    border-top: 1px solid #526b80;
    padding-left: 0;
    padding-top: 1rem;
  }

  .hero-slider {
    min-height: auto;
    overflow: visible;
  }

  .hero-fixed-form-wrap {
    position: static;
    inset: auto;
    pointer-events: auto;
    padding: 0 0 2rem;
  }

  .hero-fixed-form-wrap .container {
    justify-content: stretch;
  }

  .hero-fixed-form {
    width: 100%;
  }

  .slide {
    position: relative;
    min-height: auto;
    display: none;
  }

  .slide.is-active {
    display: block;
  }

  .slider-controls {
    right: 1rem;
    bottom: 1rem;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.4rem 0;
  }

  .topbar p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}
