:root {
  --forest: #12392b;
  --forest-2: #0a241c;
  --moss: #57785a;
  --teal: #006d68;
  --cerulean: #1685b7;
  --orange: #ff6f1a;
  --orange-2: #f24c16;
  --paper: #f6f2e9;
  --white: #ffffff;
  --ink: #10211d;
  --muted: #5c6e66;
  --line: rgba(18, 57, 43, 0.18);
  --shadow: 0 24px 70px rgba(10, 36, 28, 0.18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 12px clamp(18px, 5vw, 62px);
  color: var(--white);
  background: linear-gradient(90deg, var(--forest-2), var(--forest));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--forest);
  background: var(--orange);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.custom-nav-links {
  display: contents;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav a.active,
.nav a:hover {
  color: var(--orange);
}

.nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
}

.nav-toggle {
  display: none;
  min-width: 68px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: clamp(590px, calc(86vh - 84px), 820px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(54px, 8vw, 92px) clamp(22px, 7vw, 86px);
  color: var(--white);
  background: var(--forest);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 24, 19, 0.78), rgba(7, 24, 19, 0.22) 52%, rgba(7, 24, 19, 0.05)),
    linear-gradient(0deg, rgba(7, 24, 19, 0.38), rgba(7, 24, 19, 0));
  pointer-events: none;
}

.hero-image,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  background:
    radial-gradient(circle at 76% 45%, rgba(255, 111, 26, 0.7), transparent 20%),
    linear-gradient(140deg, #09241d 0%, #0d5f5a 48%, #ef6f1a 100%);
}

.admin-hotspot {
  position: absolute;
  z-index: 4;
  display: block;
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
}

.hero h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 14px 30px rgba(242, 76, 22, 0.25);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
}

.button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.button.danger {
  color: var(--white);
  background: #b43220;
}

.page-band {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 6vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.section-heading h2,
.about-copy h2,
.admin-card h2 {
  margin: 0 0 8px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.about-copy p,
.about-panel p,
.source-note,
.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.source-note {
  max-width: 420px;
  text-align: right;
  word-break: break-word;
}

.empty-state {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.portfolio-wrap,
.section-button-grid,
.service-grid,
.pricing-grid,
.accolades-list {
  max-width: 1180px;
  margin: 0 auto;
}

.home-buttons-band {
  background:
    linear-gradient(120deg, rgba(22, 133, 183, 0.08), transparent 42%),
    var(--paper);
}

.section-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.section-button {
  display: grid;
  gap: 10px;
  min-height: 142px;
  padding: 22px;
  color: var(--forest);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(10, 36, 28, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.section-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 111, 26, 0.55);
  box-shadow: 0 20px 54px rgba(10, 36, 28, 0.14);
}

.section-button strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.05;
}

.section-button span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.category-group {
  margin-top: 34px;
}

.category-group h3 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.photo-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(10, 36, 28, 0.1);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #dce7df;
}

.photo-info {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.photo-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.photo-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.service-band {
  background:
    linear-gradient(90deg, rgba(22, 133, 183, 0.08), transparent),
    var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 230px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--teal);
}

.service-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-band {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(10, 36, 28, 0.95), rgba(0, 109, 104, 0.92)),
    var(--forest);
}

.section-heading.invert h2,
.section-heading.invert p {
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.price-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.12;
}

.price-card p,
.know-list p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.price-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.price-meta strong {
  color: var(--orange);
  font-size: 24px;
}

.price-meta span {
  color: rgba(255, 255, 255, 0.72);
}

.know-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 22px auto 0;
}

.know-list p {
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}

.accolades-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.accolades-list article {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.accolades-list span {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.accolades-list p {
  margin: 0;
  line-height: 1.5;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.about-copy {
  padding: clamp(26px, 4vw, 46px);
}

.about-panel {
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(18, 57, 43, 0.94), rgba(22, 133, 183, 0.76)),
    var(--forest);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.about-panel p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.custom-page-band {
  background:
    linear-gradient(120deg, rgba(0, 109, 104, 0.08), rgba(255, 111, 26, 0.05)),
    var(--paper);
}

.custom-page-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(10, 36, 28, 0.08);
}

.custom-page-shell h2 {
  margin: 0 0 12px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.custom-page-description {
  margin: 0 0 28px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.custom-page-content p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.questions-band {
  background: var(--white);
}

.message-form,
.dialog-card,
.login-panel,
.admin-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(10, 36, 28, 0.08);
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 9px;
}

.inline-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--orange);
}

input,
textarea,
select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  color: var(--teal);
  font-weight: 700;
}

.request-dialog {
  width: min(680px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
}

.request-dialog::backdrop {
  background: rgba(10, 36, 28, 0.62);
}

.dialog-card {
  position: relative;
}

.dialog-card h2 {
  margin-top: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 760px);
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(90deg, var(--forest-2), #004957);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.site-footer p {
  margin: 0;
  line-height: 1.55;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 111, 26, 0.18), transparent 28%),
    linear-gradient(135deg, #09241d, #064c55 58%, #12392b);
}

.admin-shell {
  min-height: 100vh;
  padding: clamp(22px, 5vw, 54px);
}

.login-panel {
  color: var(--ink);
}

.login-panel h1,
.admin-topbar h1 {
  margin: 0 0 12px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
}

.login-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-dashboard {
  max-width: 1400px;
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
}

.admin-topbar p {
  margin: 0;
  color: var(--muted);
  word-break: break-word;
}

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

.admin-card {
  max-width: none;
  margin: 0;
}

.admin-card.wide {
  grid-column: 1 / -1;
}

.admin-card h2 {
  font-size: 28px;
}

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

.visibility-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 8px 0 18px;
  padding: 16px;
  background: rgba(246, 242, 233, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.visibility-controls h3 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--forest);
  font-size: 16px;
}

.visibility-controls label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  margin: 0;
}

.visibility-controls input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--orange);
}

.admin-photo-list,
.admin-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
}

.admin-photo-row,
.inbox-item,
.custom-page-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(246, 242, 233, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.inbox-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.custom-page-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-photo-row img {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-photo-row p,
.admin-photo-row small,
.inbox-item p,
.inbox-item small,
.custom-page-row p,
.custom-page-row small {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  word-break: break-word;
}

.fatal {
  max-width: 720px;
  margin: 10vh auto;
  padding: 32px;
}

[hidden] {
  display: none !important;
}

.is-loading [data-page],
.is-loading [data-home-buttons],
.is-loading [data-custom-page],
.is-loading [data-disabled-page] {
  display: none !important;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 72px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: var(--forest-2);
  }

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

  .nav a {
    padding: 14px 0;
  }

  .hero {
    min-height: clamp(620px, calc(84vh - 72px), 780px);
    align-items: end;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(7, 24, 19, 0.86), rgba(7, 24, 19, 0.18)),
      linear-gradient(90deg, rgba(7, 24, 19, 0.42), transparent);
  }

  .section-heading,
  .site-footer,
  .about-band,
  .admin-topbar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .source-note {
    text-align: left;
  }

  .service-grid {
    border-bottom: 0;
  }

  .service-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .visibility-controls {
    grid-template-columns: 1fr;
  }

  .admin-photo-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .admin-photo-row button {
    grid-column: 1 / -1;
  }
}
