:root {
  --navy: #0d2330;
  --navy-light: #173747;
  --teal: #00b7a8;
  --teal-dark: #008b80;
  --white: #ffffff;
  --page-bg: #ccd8db;
  --mist: #e3eeee;
  --slate: #3e5660;
  --line: #b9cfd0;
  --heading: #092a38;
  --shadow: 0 18px 45px rgba(13, 35, 48, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 183, 168, 0.16), transparent 30rem),
    radial-gradient(circle at 90% 0%, rgba(0, 139, 128, 0.12), transparent 28rem),
    linear-gradient(180deg, #d7e2e4 0%, var(--page-bg) 46%, #bdcbd0 100%);
  background-attachment: fixed;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 27px 24px;
}

.home-site-header {
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(0, 183, 168, 0.45);
  border-radius: 18px;
  background: var(--navy);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.brand:hover {
  border-color: var(--teal);
  box-shadow: 0 7px 20px rgba(0, 183, 168, 0.15);
}

.brand-logo {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 13px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  padding: 9px 15px 9px 17px;
  border: 1px solid rgba(0, 183, 168, 0.38);
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(100deg, #f7fbfa, #e7f3f1);
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(13, 35, 48, 0.05);
  overflow: hidden;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

nav a::before {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  background: url("assets/company-shield.png") center / contain no-repeat;
  content: "";
}

nav a:hover,
.links a:hover {
  color: var(--white);
}

nav a:hover {
  border-color: var(--teal);
  background: var(--navy);
  box-shadow: 0 0 18px rgba(0, 183, 168, 0.22);
  transform: translateY(-1px);
}

nav a.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(0, 183, 168, 0.16), 0 0 20px rgba(0, 183, 168, 0.22);
}

nav a.active::before {
  filter: drop-shadow(0 0 4px rgba(229, 188, 72, 0.7));
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 28px 0 32px;
}

.home-logo-showcase {
  display: flex;
  justify-content: center;
  padding: 18px 0 10px;
}

.home-logo-showcase img {
  display: block;
  width: min(100%, 1080px);
  height: clamp(150px, 22vw, 265px);
  border: 1px solid rgba(0, 183, 168, 0.24);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(13, 35, 48, 0.12);
  object-fit: cover;
  object-position: center;
}

.home-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 48px 44px 34px;
  border: 1px solid rgba(0, 183, 168, 0.42);
  border-radius: 42px;
  background:
    radial-gradient(circle at 9% 50%, rgba(0, 183, 168, 0.16), transparent 27%),
    linear-gradient(105deg, #f8fcfb, var(--white));
  box-shadow: 0 20px 48px rgba(13, 35, 48, 0.1);
  overflow: hidden;
}

.home-hero-shell::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(0, 183, 168, 0.14);
  border-radius: 34px;
  content: "";
  pointer-events: none;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
}

.home-hero-shield {
  z-index: 1;
  display: block;
  width: 210px;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(0, 183, 168, 0.35);
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(13, 35, 48, 0.18);
  object-fit: contain;
}

.home-hero-copy .intro {
  margin-bottom: 37px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--heading);
  font-size: clamp(2.65rem, 5.5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 590px;
  margin: 0 0 37px;
  color: var(--slate);
  font-size: 1.16rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  min-width: 138px;
  padding: 13px 23px;
  border: 2px solid var(--teal);
  border-radius: 7px;
  text-align: center;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease;
}

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

.primary {
  color: var(--white);
  background: var(--teal);
}

.primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.secondary {
  color: var(--navy-light);
}

.secondary:hover {
  background: var(--mist);
}

.services {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 32px;
}

h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

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

.card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 9px;
  color: var(--heading);
  font-size: 1.18rem;
}

.card p {
  margin: 0;
  color: var(--slate);
}

.text-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--teal-dark);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.build-hero {
  max-width: 860px;
  padding: 72px 0 68px;
}

.page-hero {
  max-width: 850px;
  padding: 72px 0 62px;
}

.page-hero .intro {
  margin-bottom: 0;
}

.build-hero .intro {
  margin-bottom: 0;
}

.system-section {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}

.build-heading {
  max-width: 700px;
}

.section-copy {
  margin: 13px 0 0;
  color: var(--slate);
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.flow-card {
  min-height: 206px;
  padding: 25px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.flow-card.core {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.step-number {
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.flow-card.core .step-number {
  color: var(--teal);
}

.flow-card h3,
.space-card h3 {
  margin: 0 0 9px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.flow-card p:last-child {
  margin: 0;
  color: var(--slate);
}

.flow-card.core p:last-child {
  color: #cadae0;
}

.build-options {
  padding: 58px 0 64px;
  border-top: 1px solid var(--line);
}

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

.space-card {
  padding: 32px 30px 27px;
  border-radius: 16px;
  background: var(--mist);
}

.space-label {
  margin: 0 0 9px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.space-card ul {
  margin: 20px 0 0;
  padding-left: 19px;
  color: var(--slate);
}

.space-card li {
  margin-bottom: 11px;
}

.build-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin: 8px 0 65px;
  padding: 42px 47px;
  border-radius: 17px;
  color: var(--white);
  background: var(--navy);
}

.build-callout .eyebrow {
  color: var(--teal);
}

.build-callout h2,
.contact-panel h2,
.planner-contact h2,
.link-panel h2 {
  color: var(--white);
}

.build-callout p:not(.eyebrow) {
  max-width: 590px;
  margin: 12px 0 0;
  color: #cadae0;
}

.build-callout .button {
  flex-shrink: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 54px 0 62px;
  border-top: 1px solid var(--line);
}

.service-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card h2 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: var(--slate);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 18px;
  margin: 30px 0 65px;
  padding-top: 0;
}

.contact-main {
  position: relative;
  max-width: 1180px;
  margin-top: 26px;
  margin-bottom: 58px;
  padding: 58px 54px 1px;
  border: 1px solid rgba(0, 183, 168, 0.35);
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(0, 183, 168, 0.18), transparent 42%),
    linear-gradient(180deg, #051621, #071f2c 56%, #061722);
  box-shadow:
    0 0 0 1px rgba(0, 183, 168, 0.14),
    0 22px 60px rgba(13, 35, 48, 0.28);
  overflow: hidden;
}

.contact-main::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 255, 232, 0.28);
  border-radius: 26px;
  box-shadow: inset 0 0 34px rgba(0, 183, 168, 0.32);
  content: "";
  pointer-events: none;
}

.contact-main .contact-hero,
.contact-main .contact-showcase,
.contact-main .contact-layout {
  position: relative;
  z-index: 1;
}

.contact-hero {
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 32px;
  text-align: center;
}

.contact-hero .eyebrow {
  color: var(--teal);
  font-size: 1.55rem;
  letter-spacing: 0.22em;
  text-shadow: 0 0 18px rgba(0, 183, 168, 0.5);
}

.contact-hero h1 {
  color: var(--teal);
  text-shadow: 0 0 22px rgba(0, 183, 168, 0.45);
}

.contact-hero h1 span {
  color: var(--teal);
}

.contact-hero .intro {
  margin-left: auto;
  margin-right: auto;
  color: #d6e4e8;
}

.contact-showcase {
  margin: 0;
}

.contact-showcase img {
  display: block;
  width: 100%;
  border: 1px solid rgba(0, 255, 232, 0.28);
  border-radius: 20px;
  box-shadow: 0 0 34px rgba(0, 183, 168, 0.2);
}

.contact-house-form {
  position: relative;
  z-index: 1;
  aspect-ratio: 1121 / 1460;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(0, 255, 232, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(3, 18, 27, 0.02) 0%, rgba(3, 18, 27, 0.04) 54%, rgba(3, 18, 27, 0.18) 100%),
    url("assets/contact-house-clean.png") top center / 100% 100% no-repeat;
  box-shadow:
    inset 0 0 34px rgba(0, 183, 168, 0.22),
    0 0 34px rgba(0, 183, 168, 0.2);
  overflow: hidden;
}

.contact-house-form::before {
  position: absolute;
  inset: 60.6% 6% 15.8%;
  border-radius: 18px;
  background: rgba(2, 15, 24, 0.5);
  box-shadow: 0 22px 46px rgba(0, 183, 168, 0.18);
  content: "";
  pointer-events: none;
}

.contact-form-card {
  position: absolute;
  top: 61.6%;
  right: clamp(24px, 7vw, 82px);
  left: clamp(24px, 7vw, 82px);
  z-index: 1;
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  width: auto;
  margin: 0;
  padding: 9px 13px 10px;
  border: 1px solid rgba(0, 255, 232, 0.34);
  border-radius: 18px;
  color: var(--white);
  background: rgba(4, 24, 35, 0.84);
  box-shadow:
    0 0 0 1px rgba(0, 183, 168, 0.12),
    0 20px 44px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(0, 183, 168, 0.2);
  backdrop-filter: blur(8px);
}

.contact-form-card h1 {
  margin: 0 0 2px;
  color: var(--white);
  font-size: clamp(1.2rem, 1.75vw, 1.62rem);
  letter-spacing: -0.045em;
  text-shadow: 0 0 18px rgba(0, 183, 168, 0.42);
}

.contact-form-copy {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
  padding-top: 1px;
}

.contact-form-copy .eyebrow {
  margin-bottom: 1px;
  font-size: 0.58rem;
}

.contact-form-intro {
  max-width: 230px;
  margin: 0;
  color: #d6e4e8;
  font-size: 0.72rem;
  line-height: 1.24;
}

.contact-form-card label {
  display: grid;
  gap: 3px;
  margin-bottom: 5px;
  color: #d6f4f2;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-field-row {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: 1fr 1fr 0.82fr;
  gap: 8px;
}

.contact-form-card > label {
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: 176px 1fr;
  align-items: center;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 6px 7px;
  border: 1px solid rgba(0, 183, 168, 0.34);
  border-radius: 9px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: inset 0 1px 2px rgba(13, 35, 48, 0.08);
}

.contact-form-card textarea {
  height: 34px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--teal);
  box-shadow:
    0 0 0 3px rgba(0, 183, 168, 0.22),
    inset 0 1px 2px rgba(13, 35, 48, 0.08);
  outline: none;
}

.contact-form-actions {
  display: flex;
  grid-column: 2;
  grid-row: 3;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.contact-form-actions .button {
  min-width: 116px;
  padding: 7px 12px;
}

.contact-form-actions p {
  margin: 0;
  color: #bad2d8;
  font-size: 0.72rem;
  line-height: 1.35;
}

.contact-panel,
.contact-note {
  padding: 39px 38px;
  border-radius: 17px;
}

.contact-panel {
  color: var(--white);
  border: 1px solid rgba(0, 255, 232, 0.22);
  background: rgba(4, 24, 35, 0.78);
  box-shadow: 0 0 28px rgba(0, 183, 168, 0.14);
}

.contact-panel .eyebrow {
  color: var(--teal);
}

.contact-methods {
  display: grid;
  gap: 13px;
  margin-top: 29px;
}

.contact-methods a {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(125, 197, 207, 0.28);
  border-radius: 9px;
  font-size: 1.04rem;
  font-weight: 700;
  background: rgba(4, 26, 38, 0.58);
}

.contact-methods a:hover {
  border-color: var(--teal);
  box-shadow: 0 0 18px rgba(0, 183, 168, 0.14);
}

.contact-methods a strong {
  grid-row: span 2;
  align-self: center;
  color: var(--teal);
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 0 0 13px rgba(0, 183, 168, 0.6);
}

.contact-methods span {
  color: #a8c4ce;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-note {
  background: rgba(248, 253, 252, 0.93);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.16);
}

.contact-note p:not(.eyebrow) {
  color: var(--slate);
}

.contact-note ul {
  margin: 21px 0 0;
  padding-left: 19px;
  color: var(--slate);
}

.contact-note li {
  margin-bottom: 10px;
}

.about-hero {
  max-width: 880px;
  padding: 56px 0 66px;
}

.about-copy .intro {
  margin-bottom: 0;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 455px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center top;
}

.about-photo figcaption,
.story-photo figcaption {
  margin-top: 11px;
  color: var(--slate);
  font-size: 0.9rem;
}

.about-story-section {
  padding: 58px 0 64px;
  border-top: 1px solid var(--line);
}

.about-story-heading {
  max-width: 760px;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: center;
  margin-top: 24px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.story-card-alt {
  grid-template-columns: 300px minmax(0, 1fr);
}

.story-card-alt .story-copy {
  grid-column: 2;
}

.story-card-alt .story-photo {
  grid-column: 1;
  grid-row: 1;
}

.story-step {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-copy h3 {
  margin: 0 0 13px;
  color: var(--heading);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}

.story-copy p:not(.story-step) {
  margin: 0;
  color: var(--slate);
  font-size: 1.03rem;
}

.story-photo {
  margin: 0;
}

.story-photo img {
  display: block;
  width: 100%;
  height: 330px;
  border: 1px solid rgba(0, 183, 168, 0.2);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(13, 35, 48, 0.15);
  object-fit: cover;
}

.marine-photo img {
  object-position: center 18%;
}

.profile-proof img {
  object-position: center 20%;
}

.grad-photo img {
  object-position: center 18%;
}

.about-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  padding: 56px 0 62px;
  border-top: 1px solid var(--line);
}

.about-story {
  max-width: 650px;
  color: var(--slate);
  font-size: 1.05rem;
}

.about-story p {
  margin: 0 0 23px;
}

.about-story .welcome {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 700;
}

.experience-panel {
  padding: 31px 30px;
  border-radius: 16px;
  background: var(--mist);
}

.experience-panel h2 {
  margin-bottom: 22px;
}

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

.experience-panel li {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy-light);
  background: var(--white);
  font-weight: 700;
}

.manage-hero {
  max-width: 870px;
  padding: 70px 0 60px;
}

.manage-tagline {
  margin: 0;
  color: var(--slate);
  font-size: 1.3rem;
  font-weight: 700;
}

.manage-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  padding: 56px 0 62px;
  border-top: 1px solid var(--line);
}

.manage-copy {
  color: var(--slate);
  font-size: 1.04rem;
}

.manage-copy p {
  margin: 0 0 20px;
}

.manage-copy .manage-emphasis {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 700;
}

.manage-services {
  padding: 56px 0 62px;
  border-top: 1px solid var(--line);
}

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

.manage-card {
  padding: 31px 30px 27px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.manage-card h3 {
  margin: 0 0 18px;
  font-size: 1.22rem;
}

.manage-card ul {
  margin: 0;
  padding-left: 19px;
  color: var(--slate);
}

.manage-card li {
  margin-bottom: 8px;
}

.support-section {
  padding: 57px 0 65px;
  border-top: 1px solid var(--line);
}

.support-copy {
  max-width: 710px;
  margin-bottom: 34px;
}

.support-copy p:not(.eyebrow):not(.support-prompt) {
  color: var(--slate);
}

.support-prompt {
  margin-top: 25px;
  color: var(--navy);
  font-weight: 700;
}

.support-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.support-card {
  position: relative;
  overflow: hidden;
  min-height: 146px;
  padding: 26px 25px;
  border: 1px solid #c5d2d4;
  border-radius: 14px;
  background: #dfe8e9;
  box-shadow: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.support-card.essential {
  border-color: #c5d2d4;
  background: #dfe8e9;
  box-shadow: none;
}

.support-card.protected::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--teal), #e5bc48);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.support-card.protected:hover {
  border-color: rgba(0, 183, 168, 0.68);
  background:
    linear-gradient(135deg, rgba(0, 183, 168, 0.15), rgba(229, 188, 72, 0.28)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(13, 35, 48, 0.11);
  transform: translateY(-2px);
}

.support-card.protected:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.support-card.managed::before {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0, 255, 232, 0.55);
  border-radius: inherit;
  box-shadow:
    inset 0 0 24px rgba(0, 183, 168, 0.28),
    0 0 28px rgba(0, 183, 168, 0.3);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.support-card.managed {
  border-color: #c5d2d4;
  background: #dfe8e9;
}

.support-card.managed::after {
  position: absolute;
  inset: 9px;
  background: url("assets/company-shield.png") center / contain no-repeat;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.support-card.managed:hover {
  border-color: var(--teal);
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 183, 168, 0.32), transparent 58%),
    linear-gradient(135deg, #eefcf9, #c7e8e9);
  box-shadow:
    0 0 0 1px rgba(0, 183, 168, 0.25),
    0 0 26px rgba(0, 183, 168, 0.4),
    0 22px 48px rgba(13, 35, 48, 0.22);
  transform: translateY(-5px) scale(1.02);
}

.support-card.managed:hover::before {
  opacity: 1;
  transform: scale(1);
}

.support-card.managed:hover::after {
  opacity: 0.34;
  transform: scale(1.16);
}

.support-card.managed:hover .support-name,
.support-card.managed:hover p:not(.support-name) {
  display: table;
  padding: 2px 7px;
  border-radius: 7px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 14px rgba(0, 183, 168, 0.32);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.support-name {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 700;
}

.support-card p:not(.support-name) {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--slate);
}

.planner-main {
  max-width: 1320px;
}

.planner-hero {
  max-width: 850px;
  margin: 0 auto;
  padding: 66px 0 54px;
  text-align: center;
}

.planner-title {
  max-width: 920px;
  margin: 0 auto;
  color: var(--teal);
  font-size: clamp(2.25rem, 5.4vw, 4.95rem);
  line-height: 0.98;
  letter-spacing: 0.045em;
  text-shadow:
    -2px -2px 0 var(--navy),
    2px -2px 0 var(--navy),
    -2px 2px 0 var(--navy),
    2px 2px 0 var(--navy),
    0 8px 20px rgba(13, 35, 48, 0.18);
}

.planner-guide-image {
  display: block;
  width: min(100%, 920px);
  margin: 24px auto 34px;
  border: 1px solid #cfe0df;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.planner-hero .intro {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.planner {
  display: grid;
  grid-template-columns: 298px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 27px 0 68px;
  border-top: 1px solid var(--line);
}

.planner-tools {
  position: sticky;
  top: 18px;
  padding: 23px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.tool-section + .tool-section {
  margin-top: 30px;
}

.tool-heading {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-note {
  margin: -4px 0 17px;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.45;
}

.template-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 5px;
  border-radius: 9px;
  background: var(--mist);
}

.template-button {
  padding: 9px;
  border: 0;
  border-radius: 6px;
  color: var(--slate);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.template-button.active {
  color: var(--navy);
  background: #e5bc48;
}

.device-list {
  display: grid;
  gap: 9px;
}

.device-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  text-align: left;
  cursor: grab;
}

.device-option:hover,
.device-option.selected {
  border-color: var(--teal);
  background: #f5fbfa;
}

.device-option strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
}

.device-option small {
  display: block;
  color: var(--slate);
  font-size: 0.74rem;
}

.device-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 38px;
  border-radius: 7px;
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.device-symbol.ap,
.placed-device.ap {
  background: #008f85;
}

.device-symbol.camera,
.placed-device.camera {
  background: #e16635;
}

.device-symbol.jack,
.placed-device.jack {
  background: #306cad;
}

.device-symbol.nas,
.placed-device.nas {
  background: #6d4eb8;
}

.device-symbol.switch,
.placed-device.switch {
  background: var(--navy);
}

.planner-workspace {
  min-width: 0;
}

.workspace-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 17px;
}

.workspace-bar .tool-heading {
  margin-bottom: 6px;
}

.selection-message {
  margin: 0;
  color: var(--slate);
}

.workspace-actions {
  display: flex;
  gap: 8px;
}

.small-button {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy-light);
  background: var(--white);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.small-button:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.small-button:disabled {
  opacity: 0.46;
  cursor: default;
}

.design-surface {
  position: relative;
  width: 100%;
  min-height: 590px;
  padding: 27px;
  border: 2px dashed #bdcfcd;
  border-radius: 18px;
  background: #f4f8f7;
  overflow: hidden;
}

.design-surface.drop-ready {
  border-color: var(--teal);
  background: #eaf6f4;
}

.design-surface.moving-device {
  border-color: #df987d;
}

.design-surface.moving-device::after {
  position: absolute;
  right: 17px;
  bottom: 15px;
  padding: 7px 12px;
  border-radius: 18px;
  color: var(--white);
  background: #c85c36;
  content: "Drop outside this picture to delete";
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
}

.floorplan {
  display: grid;
  gap: 8px;
  height: 536px;
}

.floorplan[hidden] {
  display: none;
}

.home-plan {
  grid-template-columns: 1.08fr 0.94fr 1fr 0.9fr 0.88fr;
  grid-template-rows: 0.54fr 1fr 1fr 0.65fr;
  grid-template-areas:
    "front front front front front"
    "garage garage primary living living"
    "garage garage second kitchen dining"
    "back back back back back";
}

.office-plan {
  grid-template-columns: 1.06fr 1.04fr 0.76fr 1.04fr 1.06fr;
  grid-template-rows: 0.48fr 0.88fr 0.93fr 1.22fr 0.86fr;
  grid-template-areas:
    "officeoutside officeoutside officeoutside officeoutside officeoutside"
    "reception reception reception reception reception"
    "officeone officeone hall officetwo officetwo"
    "restroomone conference hall restroomtwo network"
    "cubicles cubicles cubicles break break";
}

.room {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  border: 2px solid #c9d8d7;
  border-radius: 7px;
  color: #75878d;
  background: var(--white);
  font-size: 0.91rem;
  font-weight: 700;
  text-align: center;
}

.yard {
  border-style: dashed;
  border-color: #b4cfba;
  color: #66806d;
  background: #e4f1e7;
}

.front-yard { grid-area: front; }
.garage { grid-area: garage; }
.primary-bedroom { grid-area: primary; }
.second-bedroom { grid-area: second; }
.kitchen { grid-area: kitchen; }
.living { grid-area: living; }
.dining { grid-area: dining; }
.back-yard { grid-area: back; }
.reception { grid-area: reception; }
.office-one { grid-area: officeone; }
.office-two { grid-area: officetwo; }
.center-hall { grid-area: hall; background: #f5f8f8; }
.restroom-one { grid-area: restroomone; }
.restroom-two { grid-area: restroomtwo; }
.conference { grid-area: conference; }
.network-closet { grid-area: network; }
.cubicles { grid-area: cubicles; }
.breakroom { grid-area: break; }
.office-exterior { grid-area: officeoutside; }

.placed-items {
  position: absolute;
  inset: 0;
}

.placed-device {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 35, 48, 0.23);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: move;
  transform: translate(-50%, -50%);
}

.placed-device.selected {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.design-summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  margin-top: 17px;
  padding: 24px 27px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.estimate-note {
  max-width: 390px;
  margin: 0;
  color: var(--slate);
  font-size: 0.89rem;
}

.equipment-summary {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.equipment-summary li {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 22px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
}

.equipment-summary li div {
  display: grid;
}

.equipment-summary li small {
  color: var(--slate);
  font-size: 0.78rem;
}

.equipment-summary strong {
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
}

.equipment-summary .empty-summary {
  justify-content: start;
  border-bottom: 0;
}

.estimate-details {
  min-width: 300px;
}

.estimate-line,
.estimate-total {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
}

.estimate-line {
  padding-top: 12px;
  font-size: 0.92rem;
}

.estimate-total {
  padding-top: 15px;
  font-size: 1.03rem;
}

.estimate-total strong {
  font-size: 1.16rem;
}

.planner-send {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.planner-send-button {
  width: 100%;
}

.planner-send p {
  margin: 10px 0 0;
  color: var(--slate);
  font-size: 0.84rem;
  text-align: center;
}

.planner-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 65px;
  padding: 42px 47px;
  border-radius: 17px;
  color: var(--white);
  background: var(--navy);
}

.planner-contact .eyebrow {
  color: var(--teal);
}

.planner-contact p:not(.eyebrow) {
  max-width: 610px;
  margin: 12px 0 0;
  color: #cadae0;
}

.link-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin: 54px 0 65px;
  padding: 43px 48px;
  border-radius: 17px;
  color: var(--white);
  background: var(--navy);
}

.link-panel .eyebrow {
  color: var(--teal);
}

.link-panel p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #cadae0;
}

.home-next-steps {
  display: grid;
  gap: 16px;
}

.next-step-row {
  padding: 20px 22px;
  border: 1px solid rgba(0, 183, 168, 0.24);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.next-step-row p {
  margin: 0;
  color: #d7e8ec;
  font-size: 1.05rem;
}

.next-step-row a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.next-step-row a:hover {
  color: var(--white);
}

.links {
  display: grid;
  gap: 8px;
  min-width: 220px;
  color: var(--white);
  font-weight: 700;
}

footer {
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  text-align: center;
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 18px;
    padding: 22px 20px;
  }

  nav {
    width: 100%;
    gap: 9px;
    flex-wrap: wrap;
  }

  nav a {
    min-height: 34px;
    padding: 8px 12px 8px 13px;
    font-size: 0.78rem;
  }

  nav a::before {
    width: 15px;
    height: 15px;
    margin-right: 7px;
  }

  .brand-logo {
    width: 74px;
    height: 74px;
  }

  main {
    padding: 0 20px;
  }

  .hero {
    padding: 22px 0 26px;
  }

  .home-logo-showcase {
    padding: 8px 0 0;
  }

  .home-logo-showcase img {
    height: clamp(105px, 35vw, 160px);
    border-radius: 16px;
  }

  .home-site-header {
    justify-content: center;
  }

  .home-hero-shell {
    display: block;
    padding: 31px 24px 34px;
    border-radius: 28px;
    text-align: center;
  }

  .home-hero-shell::after {
    border-radius: 22px;
  }

  .home-hero-shield {
    width: 118px;
    height: auto;
    margin-bottom: 25px;
  }

  .home-hero-copy .intro {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero-shell .actions {
    justify-content: center;
  }

  .build-hero {
    padding: 54px 0 54px;
  }

  .page-hero {
    padding: 54px 0 50px;
  }

  .planner-hero {
    padding: 48px 0 46px;
  }

  .planner-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .planner-guide-image {
    margin: 19px auto 27px;
    border-radius: 13px;
  }

  .cards,
  .system-flow,
  .space-cards,
  .service-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .link-panel,
  .build-callout {
    display: block;
    padding: 32px 26px;
  }

  .links {
    margin-top: 27px;
  }

  .build-callout .button {
    margin-top: 27px;
  }

  .contact-panel,
  .contact-note {
    padding: 31px 25px;
  }

  .contact-main {
    margin-top: 16px;
    margin-bottom: 36px;
    padding: 34px 14px 1px;
    border-radius: 20px;
  }

  .contact-main::before {
    border-radius: 20px;
  }

  .contact-hero {
    padding-bottom: 23px;
  }

  .contact-showcase img {
    border-radius: 14px;
  }

  .contact-house-form {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 17px;
    background: none;
    box-shadow: none;
    overflow: visible;
  }

  .contact-house-form::before {
    position: relative;
    display: block;
    inset: auto;
    aspect-ratio: 1121 / 1403;
    width: 100%;
    border: 1px solid rgba(0, 255, 232, 0.28);
    border-radius: 17px;
    background:
      linear-gradient(180deg, rgba(3, 18, 27, 0.02), rgba(3, 18, 27, 0.08)),
      url("assets/contact-house-clean.png") top center / cover no-repeat,
      #051621;
    box-shadow: 0 0 24px rgba(0, 183, 168, 0.18);
  }

  .contact-form-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 22px 17px;
    border-radius: 15px;
  }

  .contact-form-card h1 {
    font-size: 2rem;
    margin-bottom: 4px;
  }

  .contact-form-copy .eyebrow {
    margin-bottom: 0;
  }

  .contact-form-intro {
    max-width: none;
    margin-bottom: 15px;
    font-size: 0.95rem;
  }

  .contact-form-card label {
    gap: 6px;
    grid-template-columns: 1fr;
    align-items: stretch;
    margin-bottom: 14px;
    font-size: 0.74rem;
  }

  .contact-form-card input,
  .contact-form-card select,
  .contact-form-card textarea {
    padding: 11px 12px;
  }

  .contact-form-card textarea {
    height: auto;
  }

  .contact-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-actions {
    display: block;
  }

  .contact-form-actions .button {
    width: 100%;
  }

  .contact-form-actions p {
    margin-top: 14px;
  }

  .about-hero,
  .about-body,
  .story-card,
  .story-card-alt {
    display: block;
  }

  .about-hero {
    padding: 46px 0 53px;
  }

  .about-photo {
    margin-top: 37px;
  }

  .about-photo img {
    height: min(112vw, 485px);
  }

  .about-story-section {
    padding: 46px 0 53px;
  }

  .story-card,
  .story-card-alt {
    padding: 23px 20px;
  }

  .story-photo {
    margin-top: 25px;
  }

  .story-photo img {
    height: min(104vw, 420px);
  }

  .about-story {
    margin-bottom: 34px;
  }

  .manage-hero {
    padding: 50px 0 47px;
  }

  .manage-intro,
  .manage-grid,
  .support-levels {
    display: block;
  }

  .manage-copy {
    margin-top: 30px;
  }

  .manage-card,
  .support-card {
    margin-bottom: 16px;
  }

  .planner {
    display: block;
    padding-top: 24px;
  }

  .planner-tools {
    position: static;
    margin-bottom: 30px;
  }

  .workspace-bar,
  .design-summary,
  .planner-contact {
    display: block;
  }

  .workspace-actions {
    margin-top: 17px;
  }

  .design-surface {
    min-height: 440px;
    padding: 8px;
  }

  .floorplan {
    height: 420px;
    gap: 4px;
  }

  .room {
    padding: 4px;
    font-size: 0.68rem;
  }

  .placed-device {
    width: 38px;
    height: 38px;
    border-width: 2px;
  }

  .equipment-summary {
    margin-top: 22px;
  }

  .estimate-details {
    min-width: 0;
  }

  .planner-contact {
    padding: 32px 26px;
  }

  .planner-contact .button {
    margin-top: 27px;
  }
}

@media (max-width: 420px) {
  .planner-main {
    padding-left: 8px;
    padding-right: 8px;
  }

  .design-surface {
    padding: 6px;
  }

  .floorplan {
    height: 395px;
  }

  .room {
    font-size: 0.62rem;
  }
}
