:root {
  --bg: #050816;
  --bg-2: #0b1020;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #4f8cff;
  --cyan: #22d3ee;
  --purple: #a855f7;
  --orange: #f97316;
  --shadow: rgba(34, 211, 238, 0.18);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(79, 140, 255, 0.09), transparent 26%),
    linear-gradient(240deg, rgba(249, 115, 22, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg), #070b19 44%, #050816);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), transparent 82%);
}

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

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-band {
  position: relative;
  padding: 88px 0;
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange));
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 8, 22, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(79, 140, 255, 0.7);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(79, 140, 255, 0.28), rgba(34, 211, 238, 0.08));
  box-shadow: 0 0 26px rgba(79, 140, 255, 0.24);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cyan);
}

.nav-links a.is-current {
  color: var(--cyan);
}

.nav-links a.is-current:not(.nav-cta) {
  position: relative;
}

.nav-links a.is-current:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

.nav-cta {
  padding: 12px 16px;
  border: 1px solid rgba(34, 211, 238, 0.36);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

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

.hero {
  padding-top: 54px;
  padding-bottom: 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(480px, 1.04fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 740px;
  font-size: 3.1rem;
  line-height: 1.03;
}

h2 {
  font-size: 2.65rem;
  line-height: 1.09;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg,
.nav-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #031225;
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.25);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 0 42px rgba(79, 140, 255, 0.35);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.proof-strip span {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-width: 0;
  justify-self: end;
  width: min(100%, 620px);
}

.hero-visual img,
.audit-image img,
.portfolio-image {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42), 0 0 38px rgba(79, 140, 255, 0.16);
}

.hero-visual img {
  max-height: 520px;
  padding: 10px;
  object-fit: contain;
}

.trust-band {
  padding: 28px 0 56px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-grid div {
  min-height: 116px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.trust-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.home-overview {
  background: rgba(11, 16, 32, 0.24);
}

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

.overview-card {
  position: relative;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(79, 140, 255, 0.14), transparent 44%),
    linear-gradient(240deg, rgba(249, 115, 22, 0.1), transparent 35%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.overview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange));
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: transform 240ms ease;
}

.overview-card:hover,
.overview-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3), 0 0 42px rgba(79, 140, 255, 0.16);
}

.overview-card:hover::before,
.overview-card:focus-visible::before {
  transform: scaleX(1);
}

.overview-card span {
  margin-bottom: auto;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
}

.overview-card p {
  margin-bottom: 0;
}

.tab-section {
  background: rgba(11, 16, 32, 0.3);
}

.tabs-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(5, 8, 22, 0.68);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  padding: 14px;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(5, 8, 22, 0.66);
}

.tab-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(248, 250, 252, 0.72);
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tab-button:hover,
.tab-button:focus-visible,
.tab-button.is-active {
  border-color: rgba(34, 211, 238, 0.34);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(34, 211, 238, 0.1));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.tab-panels {
  margin-top: 14px;
}

.tab-panel {
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(79, 140, 255, 0.12), transparent 38%),
    linear-gradient(240deg, rgba(249, 115, 22, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.045);
}

.tab-panel[hidden] {
  display: none;
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(249, 115, 22, 0.32);
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.1);
  color: #ffd2b3;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tab-panel h3 {
  font-size: 1.8rem;
}

.tab-panel p {
  margin: 14px 0 0;
}

.improvement-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.improvement-list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(248, 250, 252, 0.86);
  line-height: 1.5;
}

.improvement-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
}

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

.service-card,
.profile-card,
.timeline-step,
.portfolio-card,
.why-card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card,
.profile-card,
.portfolio-card,
.why-card {
  padding: 24px;
}

.service-card:hover,
.profile-card:hover,
.portfolio-card:hover,
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.32);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24), 0 0 34px var(--shadow);
}

.icon-wrap {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(79, 140, 255, 0.38);
  border-radius: 8px;
  background: rgba(79, 140, 255, 0.12);
  color: var(--blue);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accent-cyan {
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(34, 211, 238, 0.11);
  color: var(--cyan);
}

.accent-purple {
  border-color: rgba(168, 85, 247, 0.38);
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
}

.accent-orange {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.11);
  color: var(--orange);
}

.service-card p,
.profile-card p,
.portfolio-card p,
.why-card p {
  margin: 12px 0 0;
}

.split-section {
  background: rgba(11, 16, 32, 0.36);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

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

.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.profile-top p {
  margin: 4px 0 0;
  color: var(--cyan);
  font-weight: 700;
}

.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.2), rgba(79, 140, 255, 0.1));
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.avatar-alt {
  border-color: rgba(249, 115, 22, 0.45);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.2), rgba(168, 85, 247, 0.12));
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.skill-list span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.42), rgba(249, 115, 22, 0.32), transparent);
}

.timeline-step {
  position: relative;
  padding: 22px 22px 22px 72px;
}

.timeline-step span {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
}

.timeline-step p {
  margin: 10px 0 0;
}

.portfolio-section {
  background: rgba(11, 16, 32, 0.28);
}

.portfolio-grid,
.audit-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.portfolio-image {
  margin-top: 28px;
  max-height: 430px;
  object-fit: contain;
}

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

.portfolio-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-section {
  background:
    linear-gradient(180deg, rgba(79, 140, 255, 0.055), rgba(5, 8, 22, 0)),
    rgba(11, 16, 32, 0.24);
}

.book-phase,
.featured-label {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.book-phase {
  margin-bottom: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  text-transform: uppercase;
}

.featured-label {
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid rgba(249, 115, 22, 0.34);
  color: #ffd4b8;
  background: rgba(249, 115, 22, 0.12);
}

.pricing-note {
  max-width: 760px;
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.price-guide {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(249, 115, 22, 0.06)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.2);
}

.price-guide h3 {
  font-size: 1.45rem;
}

.price-guide p:not(.eyebrow) {
  margin: 12px 0 0;
}

.price-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.price-chip-grid span {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(5, 8, 22, 0.42);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.price-chip-grid strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 250, 252, 0.74);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.maintenance-card {
  position: relative;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(79, 140, 255, 0.12), rgba(34, 211, 238, 0.05)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.22);
}

.maintenance-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange));
}

.maintenance-card.featured {
  border-color: rgba(34, 211, 238, 0.34);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.14), rgba(249, 115, 22, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.maintenance-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.maintenance-card h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.maintenance-card p {
  margin: 12px 0 18px;
}

.maintenance-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maintenance-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(248, 250, 252, 0.84);
  line-height: 1.45;
}

.maintenance-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.32);
}

.book-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.package-book {
  position: relative;
  min-height: 355px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.13), transparent 18%),
    linear-gradient(145deg, rgba(79, 140, 255, 0.12), rgba(168, 85, 247, 0.08) 52%, rgba(249, 115, 22, 0.07)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.package-book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), var(--orange));
}

.package-book::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.08), transparent 56%);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity 220ms ease, transform 360ms ease;
}

.package-book:hover,
.package-book:focus-visible,
.package-book:focus-within,
.package-book.is-open {
  transform: translateY(-7px);
  border-color: rgba(34, 211, 238, 0.42);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.18), transparent 19%),
    linear-gradient(145deg, rgba(79, 140, 255, 0.18), rgba(34, 211, 238, 0.08) 46%, rgba(249, 115, 22, 0.1)),
    rgba(255, 255, 255, 0.075);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.36), 0 0 46px rgba(79, 140, 255, 0.18);
}

.package-book:hover::after,
.package-book:focus-visible::after,
.package-book:focus-within::after,
.package-book.is-open::after {
  opacity: 1;
  transform: translateX(36%);
}

.package-book.featured {
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: 0 26px 86px rgba(0, 0, 0, 0.32), 0 0 42px rgba(34, 211, 238, 0.14);
}

.book-cover,
.book-details {
  position: relative;
  z-index: 1;
}

.book-cover {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px 34px;
}

.book-cover h3 {
  margin-top: 4px;
  font-size: 1.4rem;
}

.book-cover p {
  margin: 14px 0 0;
}

.book-cover strong {
  display: block;
  margin-top: auto;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.32rem, 2vw, 1.78rem);
  line-height: 1.12;
}

.book-details {
  max-height: 0;
  margin: 0 20px 0 34px;
  padding: 0 0 0;
  opacity: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0);
  transition: max-height 320ms ease, opacity 220ms ease, margin 220ms ease, padding 220ms ease, border-color 220ms ease;
}

.package-book:hover .book-details,
.package-book:focus-visible .book-details,
.package-book:focus-within .book-details,
.package-book.is-open .book-details {
  max-height: 520px;
  margin-top: -10px;
  padding: 18px 0 24px;
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.12);
}

.book-details h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.book-details ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.book-details li {
  position: relative;
  min-height: 24px;
  padding-left: 18px;
  color: rgba(248, 250, 252, 0.84);
  line-height: 1.45;
}

.book-details li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.34);
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  padding: 32px;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--orange));
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.06), transparent 38%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.why-card > * {
  position: relative;
  z-index: 1;
}

.why-card:hover,
.why-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32), 0 0 44px rgba(79, 140, 255, 0.17);
}

.why-card:hover::before,
.why-card:focus-within::before {
  transform: scaleX(1);
}

.why-card:hover::after,
.why-card:focus-within::after {
  transform: translateX(120%);
}

.why-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.why-detail {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: rgba(248, 250, 252, 0.76);
  font-weight: 700;
  line-height: 1.55;
}

.audit-section {
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.06), rgba(249, 115, 22, 0.05));
}

.audit-grid {
  align-items: center;
}

.audit-image {
  justify-self: end;
  width: min(100%, 620px);
}

.audit-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px 0 26px;
}

.audit-image img {
  max-height: 500px;
  padding: 10px;
  object-fit: contain;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-note {
  margin-top: 26px;
  padding: 18px;
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.08);
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.65;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form .honeypot {
  display: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 8, 22, 0.64);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(148, 163, 184, 0.76);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--cyan);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 6, 18, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 26px;
  padding: 48px 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

.footer-grid p {
  max-width: 320px;
  margin: 14px 0 0;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--cyan);
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1080px) {
  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-grid,
  .split-grid,
  .portfolio-grid,
  .audit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 860px;
    justify-self: center;
  }

  .hero-visual img,
  .audit-image img,
  .portfolio-image {
    max-height: none;
  }

  .audit-image {
    justify-self: center;
  }

  .services-grid,
  .overview-grid,
  .book-library,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(5, 8, 22, 0.96);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  }

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

  .nav-links a {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .nav-links a.is-current:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .tab-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .trust-grid,
  .profile-grid,
  .portfolio-list,
  .services-grid,
  .overview-grid,
  .price-chip-grid,
  .maintenance-grid,
  .book-library,
  .why-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline-step {
    padding-left: 64px;
  }

  .timeline-step span {
    left: 16px;
  }

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

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

@media (max-width: 560px) {
  .container,
  .nav-shell,
  .footer-bottom {
    width: min(100% - 28px, 1160px);
  }

  .section-band {
    padding: 64px 0;
  }

  .hero {
    padding-top: 54px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 2.18rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.72rem;
    line-height: 1.14;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-grid,
  .audit-grid,
  .portfolio-grid {
    gap: 24px;
  }

  .hero-visual {
    display: block;
    width: 100%;
    margin-top: 6px;
  }

  .hero-visual img,
  .audit-image img {
    padding: 6px;
  }

  .portfolio-image {
    margin-top: 20px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-left: 14px;
    padding-right: 14px;
  }

  .proof-strip span {
    width: 100%;
  }

  .tabs-shell {
    padding: 10px;
  }

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

  .tab-panel {
    min-height: 0;
    padding: 20px;
  }

  .tab-panel h3 {
    font-size: 1.35rem;
  }

  .overview-card {
    min-height: 210px;
  }

  .price-guide {
    padding: 20px;
  }

  .package-book {
    min-height: 0;
    transform: none;
  }

  .book-cover {
    min-height: 0;
    padding: 22px 22px 24px 32px;
  }

  .book-details {
    max-height: none;
    margin: 0 20px 0 32px;
    padding: 18px 0 24px;
    opacity: 1;
    overflow: visible;
  }

  .package-book:hover .book-details,
  .package-book:focus-visible .book-details,
  .package-book:focus-within .book-details,
  .package-book.is-open .book-details {
    max-height: none;
    margin: 0 20px 0 32px;
    padding: 18px 0 24px;
  }

  .service-card,
  .profile-card,
  .portfolio-card,
  .why-card,
  .contact-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
