:root {
  --navy: #082d49;
  --navy-2: #061d30;
  --navy-3: #0e4167;
  --cream: #f4dfb6;
  --paper: #fffaf0;
  --red: #ad3218;
  --red-2: #d24a27;
  --ink: #10293e;
  --muted: #61717c;
  --line: #dfd7c9;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(4, 22, 36, 0.15);
  --shadow-dark: 0 26px 80px rgba(0, 0, 0, 0.28);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 82px;
  padding: 0 clamp(22px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 29, 48, 0.93);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 20px #0006;
}
.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font:
    800 20px "Libre Franklin",
    sans-serif;
}
.brand small {
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 9px;
  margin-top: 5px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.site-header nav > a:not(.nav-call) {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #d9e2e8;
  position: relative;
}
.site-header nav > a[aria-current="page"],
.site-header nav > a:hover {
  color: #fff;
}
.site-header nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--red-2);
}
.nav-call {
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.menu-toggle {
  display: none;
}
.button {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition:
    0.22s transform,
    0.22s box-shadow,
    0.22s background;
}
.button:hover {
  transform: translateY(-2px);
}
.button-red {
  background: linear-gradient(145deg, var(--red-2), var(--red));
  color: #fff;
  box-shadow:
    0 10px 22px rgba(173, 50, 24, 0.3),
    inset 0 1px #ffffff55;
}
.button-red:hover {
  box-shadow:
    0 15px 28px rgba(173, 50, 24, 0.38),
    inset 0 1px #ffffff55;
}
.button-ghost {
  color: #fff;
  border: 1px solid #ffffff4f;
  background: #ffffff0b;
}
.button-cream {
  background: var(--cream);
  color: var(--navy-2);
}
.button-navy {
  background: var(--navy);
  color: #fff;
}
.button-muted {
  background: #e8e5de;
  color: var(--ink);
}
.section-dark {
  background: var(--navy-2);
  color: #fff;
}
.hero {
  min-height: calc(100vh - 82px);
  padding: clamp(55px, 7vw, 105px) clamp(22px, 5vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, #174d7428, transparent 35%),
    linear-gradient(110deg, transparent 54%, #0c3a5d 54%);
  opacity: 0.85;
}
.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.16;
}
.glow-one {
  background: #d54d27;
  top: -190px;
  left: -80px;
}
.glow-two {
  background: #edcf91;
  bottom: -260px;
  right: 30%;
}
.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}
.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 11px;
}
.eyebrow {
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--red-2);
}
h1,
h2,
h3 {
  font-family: "Libre Franklin", sans-serif;
  line-height: 1.08;
  margin-top: 0;
}
.hero h1 {
  font-size: clamp(45px, 5.6vw, 82px);
  letter-spacing: -0.055em;
  margin: 23px 0;
}
.hero h1 em {
  color: var(--cream);
  font-style: italic;
}
.hero-copy > p {
  font-size: clamp(17px, 1.4vw, 21px);
  color: #c5d0d7;
  max-width: 650px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 31px 0 43px;
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid #ffffff23;
  padding-top: 23px;
}
.hero-proof div {
  display: flex;
  flex-direction: column;
}
.hero-proof b {
  font-size: 15px;
}
.hero-proof span {
  font-size: 11px;
  color: #9fb0bb;
  margin-top: 3px;
}
.hero-visual {
  perspective: 1000px;
}
.image-frame {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  border: 1px solid #ffffff28;
  transform: rotateY(-3deg) rotateX(1deg);
  background: var(--cream);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 2.1/1;
  object-fit: cover;
}
.float-card {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 17px;
  padding: 14px 17px;
  box-shadow: 0 20px 45px #0007;
  display: flex;
  gap: 11px;
  flex-direction: column;
}
.float-card b {
  font-size: 13px;
}
.float-card small {
  font-size: 11px;
  color: var(--muted);
}
.float-top {
  right: -18px;
  top: -27px;
  flex-direction: row;
  align-items: center;
}
.float-bottom {
  left: -25px;
  bottom: -33px;
}
.float-bottom b {
  color: var(--red);
}
.pulse-dot {
  width: 12px;
  height: 12px;
  background: #4fae70;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #4fae7022;
  animation: pulse 1.7s infinite;
}
.trust-ribbon {
  background: var(--cream);
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
}
.trust-ribbon i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.section {
  padding: clamp(70px, 8vw, 125px) clamp(22px, 7vw, 120px);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 45px;
}
.section-heading > div {
  max-width: 670px;
}
.section-heading > p {
  max-width: 510px;
  color: var(--muted);
  margin: 0;
}
.kicker {
  color: var(--red);
  margin: 0 0 14px;
}
.section h2,
.reviews-section h2,
.final-cta h2,
.values h3 {
  font-size: clamp(34px, 4.3vw, 60px);
  letter-spacing: -0.045em;
  margin-bottom: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card,
.detail-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 0 #e8dfd0;
  transition:
    0.25s transform,
    0.25s box-shadow;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 18px 0 #e8dfd0,
    0 30px 50px #0b29431c;
}
.service-icon {
  width: 53px;
  height: 53px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow:
    inset -4px -5px #0003,
    0 7px 14px #092c4730;
}
.service-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 20px;
  margin: 22px 0 9px;
}
.service-card p,
.detail-card p,
.long-copy p,
.policy p {
  color: var(--muted);
}
.card-link,
.text-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--red);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.center {
  text-align: center;
  margin-top: 35px;
}
.story-slab {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(45px, 8vw, 125px);
  background: #eee6d8;
}
.story-mark img {
  border-radius: 50%;
  box-shadow: 0 30px 70px #0d2a4133;
  border: 12px solid #f8f3e9;
}
.story-copy > p:not(.kicker) {
  color: var(--muted);
  font-size: 18px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 27px 0 32px;
}
.check-grid span::before {
  content: "✓";
  color: #fff;
  background: var(--red);
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin-right: 9px;
  font-size: 11px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-grid article {
  position: relative;
  padding: 32px;
  border-top: 3px solid var(--navy);
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
}
.step-grid b {
  color: var(--red);
  font-size: 13px;
}
.step-grid h3 {
  margin: 34px 0 10px;
}
.step-grid p {
  color: var(--muted);
}
.reviews-section {
  padding: clamp(70px, 8vw, 120px) clamp(22px, 7vw, 120px);
}
.section-heading.light p {
  color: #aebbc4;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reviews-grid article {
  background: #ffffff0c;
  border: 1px solid #ffffff1b;
  border-radius: var(--radius);
  padding: 28px;
}
.stars {
  color: #f2b43f;
  letter-spacing: 4px;
}
.reviews-grid p {
  font-size: 17px;
}
.reviews-grid small {
  color: var(--cream);
}
.final-cta {
  margin: clamp(25px, 5vw, 70px);
  border-radius: 32px;
  background: var(--cream);
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  box-shadow:
    inset 0 1px #fff,
    0 30px 70px #0d2a4124;
}
.final-cta p:not(.kicker) {
  color: #5c6770;
}
.final-cta > div:last-child {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
footer {
  background: #041522;
  color: #fff;
  padding: 65px clamp(22px, 6vw, 105px) 25px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  gap: 15px;
  align-items: center;
}
.footer-brand img {
  width: 76px;
  border-radius: 50%;
}
.footer-brand div {
  display: flex;
  flex-direction: column;
}
.footer-brand span {
  color: #91a3ae;
  font-size: 13px;
}
footer h3 {
  font-size: 13px;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
footer a,
footer div > span {
  display: block;
  color: #adbac2;
  text-decoration: none;
  font-size: 13px;
  margin: 8px 0;
}
.footer-bottom {
  border-top: 1px solid #ffffff14;
  margin-top: 42px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}
.portal-link {
  font-size: 10px !important;
  opacity: 0.55;
}
.inner-hero {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1.2fr 0.55fr;
  gap: 50px;
  align-items: center;
  padding: 80px clamp(22px, 8vw, 145px);
  overflow: hidden;
  position: relative;
}
.inner-hero::after {
  content: "";
  width: 600px;
  height: 600px;
  border: 1px solid #ffffff10;
  border-radius: 50%;
  position: absolute;
  right: -240px;
  top: -130px;
}
.inner-copy {
  position: relative;
  z-index: 2;
}
.inner-copy h1 {
  font-size: clamp(43px, 5.2vw, 76px);
  max-width: 950px;
  letter-spacing: -0.05em;
  margin: 18px 0;
}
.inner-copy > p:not(.eyebrow) {
  color: #b6c4cc;
  font-size: 18px;
  max-width: 720px;
}
.inner-copy > div {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.inner-mark {
  position: relative;
  z-index: 2;
}
.inner-mark img {
  border-radius: 50%;
  box-shadow: var(--shadow-dark);
  transform: rotate(5deg);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.detail-card {
  display: flex;
  gap: 23px;
}
.detail-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.diagnostic,
.location-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
  background: #efe7d8;
}
.diagnostic-card {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 15px 15px 0 #d2c5af;
}
.diagnostic-card span {
  color: var(--cream);
  font-weight: 800;
}
.diagnostic-card li {
  margin: 12px 0;
}
.about-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.portrait-card {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait-card img {
  aspect-ratio: 1.15/1;
  object-fit: cover;
  object-position: center;
}
.long-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
}
.signature {
  font: italic 800 25px "Libre Franklin";
  color: var(--navy);
  margin-top: 25px;
}
.signature span {
  display: block;
  font: 500 12px "DM Sans";
  color: var(--red);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px clamp(22px, 7vw, 120px);
}
.values span {
  color: var(--red-2);
  font-weight: 800;
}
.values h3 {
  font-size: 27px;
  margin: 30px 0 10px;
}
.values p {
  color: #a8b6bf;
}
.area-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.area-map {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fbf5e9 0 16%,
    #ead9ba 17% 33%,
    #f6edde 34% 50%,
    #e6d2ae 51% 67%,
    #f6ecdb 68%
  );
  box-shadow:
    inset 0 0 0 1px #d9c8aa,
    0 35px 60px #082d4920;
}
.map-ring {
  position: absolute;
  border: 1px dashed var(--red);
  border-radius: 50%;
  inset: 25%;
}
.ring-2 {
  inset: 8%;
  border-color: #0b4268;
}
.map-core {
  position: absolute;
  inset: 35%;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 10px 30px #082d4940;
}
.map-core img {
  width: 48%;
  border-radius: 50%;
}
.map-core b {
  font-size: 12px;
}
.map-core span {
  font-size: 9px;
  color: var(--muted);
}
.town {
  position: absolute;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 20px #082d4930;
}
.town-a {
  top: 15%;
  left: 45%;
}
.town-b {
  top: 44%;
  right: 2%;
}
.town-c {
  bottom: 10%;
  left: 28%;
}
.hours {
  margin: 25px 0;
}
.hours div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.hours dt {
  font-weight: 700;
}
.hours dd {
  margin: 0;
  color: var(--muted);
}
.fee-callout {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.fee-callout span {
  color: #bac7cf;
  font-size: 13px;
}
.location-panel address {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-style: normal;
}
.location-panel address > * {
  display: block;
  margin: 8px 0;
}
.policy {
  max-width: 900px;
  margin: auto;
}
.policy h2 {
  font-size: 28px;
  margin-top: 40px;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 30px;
  max-width: 980px;
  width: calc(100% - 28px);
  overflow: hidden;
  box-shadow: 0 40px 100px #0008;
}
dialog::backdrop {
  background: #03101dde;
  backdrop-filter: blur(8px);
}
.modal-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 590px;
}
.modal-intro {
  background: var(--navy);
  color: #fff;
  padding: 45px;
  position: relative;
  overflow: hidden;
}
.modal-intro::after {
  content: "";
  position: absolute;
  inset: auto -120px -190px auto;
  width: 390px;
  height: 390px;
  border: 55px solid #ffffff08;
  border-radius: 50%;
}
.modal-intro img {
  width: 96px;
  border-radius: 50%;
  margin-bottom: 36px;
}
.modal-intro h2 {
  font-size: 36px;
}
.modal-intro > p:not(.kicker) {
  color: #b6c5cd;
}
.modal-intro > div {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
}
.modal-intro a {
  color: var(--cream);
  font-weight: 800;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: #e8e6e0;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  font-size: 25px;
  z-index: 4;
  cursor: pointer;
}
#booking-form {
  padding: 44px;
  position: relative;
}
.form-progress {
  display: flex;
  align-items: center;
  margin-bottom: 34px;
}
.form-progress span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e3e2dd;
  color: #6d777d;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.form-progress span.active {
  background: var(--red);
  color: #fff;
}
.form-progress i {
  width: 50px;
  height: 1px;
  background: #ddd;
}
.modal-shell h3 {
  font-size: 25px;
  margin-bottom: 24px;
}
.modal-shell label,
.portal-main label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  margin: 14px 0;
  color: #4f606a;
}
.modal-shell label span {
  font-weight: 400;
  text-transform: none;
}
.modal-shell input,
.modal-shell select,
.modal-shell textarea,
.portal-main input,
.portal-main select,
.portal-main textarea {
  border: 1px solid #cfd3d4;
  background: #fff;
  border-radius: 12px;
  padding: 12px 13px;
  margin-top: 6px;
  color: var(--ink);
  outline: none;
}
.modal-shell input:focus,
.modal-shell select:focus,
.modal-shell textarea:focus,
.portal-main input:focus,
.portal-main select:focus,
.portal-main textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px #0b3f6520;
}
.modal-shell input[type="date"] {
  cursor: pointer;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.city-pair {
  grid-template-columns: 1.4fr 0.6fr;
}
.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.form-error {
  color: #a72713;
  font-size: 12px;
}
.hp {
  position: absolute !important;
  left: -9999px;
}
.booking-success {
  text-align: center;
  padding-top: 55px;
}
.success-icon {
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f4e7;
  color: #23753b;
  font-size: 32px;
}
.mobile-call {
  display: none;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    0.7s opacity,
    0.7s transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 13px #4fae7000;
  }
}
/* Portal */
.portal-body {
  background: #edf0f0;
  min-height: 100vh;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: var(--navy-2);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 60px;
}
.login-art > div {
  max-width: 540px;
}
.login-art img {
  width: 170px;
  border-radius: 50%;
  box-shadow: var(--shadow-dark);
  margin-bottom: 35px;
}
.login-art h1 {
  font-size: 50px;
}
.login-art p {
  color: #adbac3;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 30px;
}
.login-card {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  width: min(430px, 100%);
  box-shadow: var(--shadow);
}
.login-card h2 {
  font-size: 29px;
}
.login-card label {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 12px;
  margin: 18px 0;
}
.login-card input {
  border: 1px solid #d2d6d8;
  border-radius: 12px;
  padding: 13px;
  margin-top: 7px;
}
.login-card .button {
  width: 100%;
}
.portal-shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100vh;
}
.portal-sidebar {
  background: var(--navy-2);
  color: #fff;
  padding: 24px 17px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 7px 28px;
}
.portal-brand img {
  width: 48px;
  border-radius: 50%;
}
.portal-brand b {
  font-size: 14px;
  line-height: 1.2;
}
.portal-nav {
  display: grid;
  gap: 6px;
}
.portal-nav button {
  border: 0;
  background: transparent;
  color: #aebbc4;
  padding: 12px;
  text-align: left;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
}
.portal-nav button.active,
.portal-nav button:hover {
  color: #fff;
  background: #ffffff10;
}
.logout-form {
  margin-top: auto;
}
.portal-sidebar .logout {
  width: 100%;
  border: 1px solid #ffffff23;
  background: transparent;
  color: #aebbc4;
  padding: 12px;
  text-align: left;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
}
.portal-sidebar .logout:hover {
  color: #fff;
  background: #ffffff10;
}
.portal-main {
  padding: 34px clamp(22px, 4vw, 65px);
  overflow: hidden;
}
.portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.portal-top h1 {
  font-size: 32px;
  margin: 0;
}
.portal-top p {
  margin: 3px 0;
  color: var(--muted);
}
.portal-panel {
  display: none;
}
.portal-panel.active {
  display: block;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 5px 20px #10293e0d;
}
.metric-card small {
  color: var(--muted);
}
.metric-card strong {
  display: block;
  font: 800 34px "Libre Franklin";
  margin-top: 12px;
}
.portal-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 5px 20px #10293e0d;
  overflow: auto;
}
.portal-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.portal-card h2 {
  font-size: 20px;
  margin: 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.data-table th,
.data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e8e8;
  text-align: left;
  font-size: 13px;
}
.data-table th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: var(--muted);
}
.status {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-requested {
  background: #fbe9c9;
  color: #7f5510;
}
.status-confirmed {
  background: #dcecf9;
  color: #1c5a85;
}
.status-complete {
  background: #ddefe1;
  color: #286638;
}
.status-cancelled {
  background: #f2dedd;
  color: #812d28;
}
.payment-method {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.invoice-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 220px;
}
.invoice-actions .text-link {
  white-space: nowrap;
}
.invoice-actions .text-link:disabled {
  color: #98a2a7;
  cursor: not-allowed;
  text-decoration: none;
}
.action-dot {
  color: #aeb7bb;
}
.table-select {
  padding: 7px !important;
  margin: 0 !important;
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 35px;
}
.admin-modal {
  padding: 0;
  border-radius: 24px;
  width: min(680px, calc(100% - 24px));
}
.admin-modal form,
.admin-modal .modal-content {
  padding: 32px;
}
.admin-modal h2 {
  font-size: 25px;
}
.admin-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.invoice-items {
  display: grid;
  gap: 8px;
}
.invoice-row {
  display: grid;
  grid-template-columns: 1.6fr 0.4fr 0.6fr auto;
  gap: 8px;
  align-items: end;
}
.invoice-row button {
  height: 43px;
  width: 43px;
  border: 0;
  border-radius: 10px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.integration-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.integration-card p {
  color: var(--muted);
  font-size: 13px;
}
.connected {
  color: #247442;
  font-weight: 800;
}
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--navy-2);
  color: #fff;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 99;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.25s;
}
.toast.show {
  transform: none;
  opacity: 1;
}
@media (max-width: 980px) {
  .site-header nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    padding: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
    border: 1px solid #ffffff3b;
    background: transparent;
    color: #fff;
    border-radius: 9px;
    padding: 8px 12px;
  }
  .nav-call {
    text-align: center;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 100px;
  }
  .hero-visual {
    margin-top: 15px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-feature,
  .area-layout {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portal-shell {
    grid-template-columns: 76px 1fr;
  }
  .portal-brand span,
  .portal-nav button span,
  .portal-sidebar .logout span {
    display: none;
  }
  .portal-brand img {
    width: 43px;
  }
  .portal-nav button {
    text-align: center;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 70px;
    padding: 0 16px;
  }
  .brand img {
    width: 44px;
    height: 44px;
  }
  .brand strong {
    font-size: 16px;
  }
  .site-header nav {
    top: 70px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 55px 20px 88px;
  }
  .hero::before {
    background: radial-gradient(circle at 20% 20%, #174d7428, transparent 35%);
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-proof {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: 26px;
  }
  .image-frame img {
    aspect-ratio: 1.35/1;
  }
  .float-top {
    right: 4px;
  }
  .float-bottom {
    left: 5px;
  }
  .trust-ribbon {
    justify-content: start;
  }
  .section {
    padding: 68px 20px;
  }
  .portrait-card img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
  .service-grid,
  .step-grid,
  .detail-grid,
  .story-slab,
  .diagnostic,
  .location-panel,
  .about-feature,
  .values {
    grid-template-columns: 1fr;
  }
  .story-slab {
    gap: 45px;
  }
  .reviews-section {
    padding: 68px 20px;
  }
  .final-cta {
    margin: 20px;
    border-radius: 24px;
    padding: 40px 24px;
    flex-direction: column;
    align-items: start;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .inner-hero {
    grid-template-columns: 1fr;
    padding: 65px 20px;
  }
  .inner-mark {
    display: none;
  }
  .inner-copy h1 {
    font-size: 42px;
  }
  .area-map {
    max-width: 520px;
  }
  .modal-shell {
    grid-template-columns: 1fr;
  }
  .modal-intro {
    display: none;
  }
  #booking-form {
    padding: 48px 22px 28px;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mobile-call {
    display: block;
    position: fixed;
    z-index: 25;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: var(--red);
    color: #fff;
    border-radius: 999px;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 35px #0006;
  }
  .mobile-call span {
    font-weight: 500;
    margin-left: 6px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .portal-shell {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    height: auto;
    position: sticky;
    z-index: 10;
    bottom: 0;
    top: auto;
    order: 2;
    padding: 8px;
  }
  .portal-brand {
    display: none;
  }
  .portal-sidebar {
    flex-direction: row;
    align-items: stretch;
  }
  .portal-sidebar > nav.portal-nav {
    flex: 1;
  }
  .logout-form {
    display: flex;
    width: 48px;
    margin: 0 0 0 6px;
  }
  .portal-sidebar .logout {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 4px;
    font-size: 18px;
  }
  .portal-nav {
    grid-template-columns: repeat(5, 1fr);
  }
  .portal-nav button {
    font-size: 10px;
    padding: 9px 3px;
  }
  .portal-nav button span {
    display: block;
  }
  .portal-main {
    padding: 22px 14px 85px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-card strong {
    font-size: 27px;
  }
  .portal-top {
    align-items: start;
  }
  .invoice-row {
    grid-template-columns: 1fr 1fr;
  }
  .invoice-row label:first-child {
    grid-column: 1/-1;
  }
  .invoice-actions {
    min-width: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
