:root {
  --bg: #f3f0e8;
  --surface: #fffdf7;
  --surface-alt: #f5edcf;
  --primary: #d7b437;
  --primary-dark: #171612;
  --accent: #d7b437;
  --accent-soft: #f5edcf;
  --text: #201e19;
  --muted: #625f56;
  --border: rgba(32, 30, 25, 0.13);
  --shadow: 0 24px 56px rgba(25, 23, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #faf8f2 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(18, 18, 17, 0.96);
  border-bottom: 1px solid var(--border);
  color: #fffdf7;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.1rem;
  color: #fffdf7;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #111;
  object-fit: contain;
}

.language-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(215, 180, 55, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fffdf7;
  font-size: 0.82rem;
  white-space: nowrap;
}

.language-label {
  padding: 0 6px 0 9px;
  color: #d5cfbf;
}

.language-button {
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fffdf7;
  cursor: pointer;
}

.language-button[aria-pressed="true"] {
  background: var(--accent);
  color: #171612;
  font-weight: 700;
}

.language-button:hover {
  background-color: rgba(215, 180, 55, 0.2);
}

.language-button[aria-pressed="true"]:hover {
  background-color: #e5c64b;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #d5efea);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #e4e0d4;
  font-size: 0.96rem;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fffdf7;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  align-items: center;
  gap: 44px;
}

@media (min-width: 861px) {
  .hero-copy {
    position: relative;
    top: -98px;
  }
}

.eyebrow {
  margin: 0 0 18px;
  color: #3d3d3d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-copy h1,
.section-copy h2,
.section-heading h2,
.cta-box h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  max-width: 620px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #e5c64b, var(--primary));
  color: #171612;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(29, 29, 29, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: linear-gradient(135deg, #f0d25c, #d0a922);
  transform: translateY(-1px);
}

.button-small {
  padding: 0.7rem 1.1rem;
}

.button-secondary {
  background: rgba(243, 216, 107, 0.18);
  border-color: rgba(31, 31, 31, 0.12);
  color: var(--text);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(243, 216, 107, 0.28);
}

.login-trigger {
  cursor: pointer;
  font-size: 0.96rem;
}

.login-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-modal.is-visible {
  display: flex;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
}

.login-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 34px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.login-dialog h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.login-intro {
  color: var(--muted);
  margin: 8px 0 24px;
}

.login-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.8rem;
  cursor: pointer;
}

#login-form,
#admin-login-form {
  display: grid;
  gap: 9px;
}

#login-form label,
#admin-login-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

#login-form input,
#admin-login-form input {
  width: 100%;
  margin-bottom: 8px;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
}

#login-form input:focus,
#admin-login-form input:focus {
  outline: 2px solid rgba(243, 216, 107, 0.35);
  border-color: var(--primary);
}

.login-submit {
  border: 0;
  cursor: pointer;
  margin-top: 8px;
}

.login-message {
  min-height: 24px;
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.login-message.success {
  color: #14804a;
}

.login-message.error {
  color: #c0392b;
}

.demo-hint {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-list li {
  position: relative;
  padding-left: 18px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card {
  position: relative;
  padding: 30px 28px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(223, 244, 238, 0.96));
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.scheduler-header {
  margin-bottom: 22px;
}

.scheduler-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.large-booking-form {
  display: grid;
  gap: 18px;
}

.scheduler-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.large-booking-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.large-booking-form input,
.large-booking-form select,
.large-booking-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 31, 31, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--text);
}

.large-booking-form input:focus,
.large-booking-form select:focus,
.large-booking-form textarea:focus {
  outline: 2px solid rgba(243, 216, 107, 0.35);
  border-color: var(--primary);
}

.schedule-button {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 0;
  background: linear-gradient(135deg, var(--accent), #dff4ee);
  color: var(--primary);
}

.scheduling-actions {
  display: grid;
  gap: 8px;
}

.reschedule-button {
  width: 100%;
  text-align: center;
}

.booking-status {
  margin: 0;
  color: #2d6d64;
  font-weight: 600;
}

.booking-status:empty {
  display: none;
}

.ai-assistant-trigger {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(157, 120, 0, 0.45);
  border-radius: 14px;
  background: #171612;
  color: #f7e59b;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ai-assistant-trigger:disabled,
.service-action-ai:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.ai-assistant-trigger:hover {
  background: #292517;
  transform: translateY(-1px);
}

.ai-assistant-widget {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(215, 180, 55, 0.55);
  border-radius: 20px;
  background: #fffdf7;
  box-shadow: 0 14px 32px rgba(25, 23, 16, 0.1);
}

.ai-assistant-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ai-assistant-header .eyebrow {
  margin-bottom: 5px;
}

.ai-assistant-header h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

/* Base control: sits inline wherever it's placed (in-page panels use normal flow) */
.panel-actions {
  display: flex;
}

/* Standalone pages (ads, login, consumer-info, credentials) pin it to the viewport corner */
.page-panel-actions {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 60;
}

/* The mobile-menu close/home control only makes sense inside the open dropdown nav */
.main-nav-actions {
  display: none;
}

.panel-home-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 16px 6px 10px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(22, 32, 51, 0.1);
}

.panel-home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(176, 147, 45, 0.14);
  font-size: 1.1rem;
  line-height: 1;
}

.panel-home-button:hover {
  border-color: rgba(176, 147, 45, 0.62);
  color: #705900;
}

.panel-home-button:hover .panel-home-icon {
  background: rgba(176, 147, 45, 0.28);
}

.ai-assistant-disclaimer {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.ai-chat-messages {
  display: grid;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  padding: 12px;
  border-radius: 14px;
  background: #f4f1e8;
}

.ai-message {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.ai-message-assistant {
  border: 1px solid rgba(215, 180, 55, 0.35);
  background: #fffdf7;
}

.ai-message-user {
  justify-self: end;
  background: #171612;
  color: #fffdf7;
}

.ai-assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 12px;
}

.ai-assistant-form input {
  min-width: 0;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-area-field {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(215, 180, 55, 0.5);
  border-radius: 18px;
  background: rgba(245, 237, 207, 0.45);
}

.contact-preference {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(215, 180, 55, 0.5);
  border-radius: 18px;
  background: rgba(245, 237, 207, 0.45);
}

.contact-preference-label {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-preference-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-preference-option {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(31, 31, 31, 0.16);
  border-radius: 14px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-preference-option:has(input[type="radio"]:checked) {
  border-color: #9d7800;
  box-shadow: 0 0 0 1px #9d7800;
}

.contact-preference-option-label {
  color: var(--muted);
  font-size: calc(0.72rem + 1px);
  font-weight: 600;
}

.contact-preference-option-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-preference-option-row input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #9d7800;
}

.contact-preference-option input:not([type="radio"]) {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(31, 31, 31, 0.16);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.contact-preference-option input:not([type="radio"]):disabled {
  background: rgba(31, 31, 31, 0.04);
  color: var(--muted);
}

.multi-service-fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(215, 180, 55, 0.5);
  border-radius: 18px;
  background: rgba(245, 237, 207, 0.45);
}

.multi-service-fieldset-label {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.multi-service-fieldset > p {
  margin: 0;
}

.multi-service-yes-no {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

#multi-service-picker {
  display: grid;
  gap: 12px;
}

.multi-service-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.large-booking-form label.multi-service-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.multi-service-option input[type="checkbox"],
.multi-service-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #9d7800;
}

.multi-service-option:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

.ron-requirements {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(215, 180, 55, 0.6);
  border-radius: 18px;
  background: rgba(245, 237, 207, 0.55);
}

.ron-requirements legend {
  padding: 0 8px;
  color: var(--text);
  font-weight: 700;
}

.ron-requirements > p {
  margin: 0;
}

.large-booking-form .ron-requirements .ron-check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.large-booking-form .ron-check input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #9d7800;
}

.notary-zoom-note {
  padding: 12px 14px;
  border: 1px solid rgba(176, 92, 35, 0.3);
  border-radius: 12px;
  background: rgba(255, 239, 224, 0.75);
  color: #7a3c12;
}

.service-area-field label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.service-area-field input {
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(31, 31, 31, 0.16);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.map-button {
  justify-self: start;
  padding: 0.65rem 1rem;
}

.map-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.map-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.service-area-fee-note {
  padding: 10px 12px;
  border: 1px solid rgba(176, 92, 35, 0.3);
  border-radius: 12px;
  background: rgba(255, 239, 224, 0.75);
  color: #7a3c12;
  font-weight: 600;
}

.map-placeholder,
.map-preview {
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(32, 30, 25, 0.16);
  border-radius: 14px;
}

.map-preview {
  position: relative;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #f9f6e9, #e9e2cb);
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
}

.map-pin {
  color: #9b7d0e;
  font-size: 2rem;
}

.map-preview iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
}

.map-service-radius {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(157, 120, 0, 0.75);
  border-radius: 50%;
  background: rgba(215, 180, 55, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  pointer-events: none;
}

.map-service-radius span {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #7a5f00;
  font-size: 0.72rem;
  font-weight: 700;
}

.stats {
  padding: 32px 0 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stats-grid div {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  letter-spacing: -0.06em;
}

.stats-grid span {
  color: var(--muted);
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: rgba(215, 180, 55, 0.09);
}


.section-copy h2,
.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 560px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.nick-portrait-frame {
  width: min(100%, 360px);
  margin: 0 0 28px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 55, 0.65);
  border-radius: 22px;
  background: #111;
  box-shadow: var(--shadow);
}

.nick-portrait {
  width: 100%;
  height: 390px;
  border-radius: 15px;
  object-fit: cover;
  object-position: left center;
}

.nick-portrait-frame figcaption {
  padding: 10px 8px 4px;
  color: #e8d27a;
  font-size: 0.86rem;
  font-weight: 600;
}

.nick-credentials-link {
  display: inline-block;
  margin: 0 0 18px;
  color: #705900;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nick-credentials-link:hover {
  color: #443700;
}

.nick-credentials-docs {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.nick-credentials-docs a {
  color: #705900;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nick-credentials-docs a:hover {
  color: #443700;
}

.cert-section {
  padding-top: 0;
}

.cert-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.cert-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: cert-scroll 60s linear infinite;
}

.cert-viewport:hover .cert-track {
  animation-play-state: paused;
}

@keyframes cert-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cert-scroll-item {
  flex: 0 0 auto;
  width: 96px;
  display: block;
}

.cert-scroll-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(22, 22, 18, 0.12);
}

.resume-text {
  margin-top: 18px;
  max-width: 760px;
}

.resume-text h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.resume-text .resume-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.resume-text .resume-subtitle,
.resume-text .resume-contact {
  margin: 2px 0;
  color: var(--muted);
}

.resume-text .resume-role {
  margin: 14px 0 4px;
  font-weight: 700;
}

.resume-text ul {
  margin: 0 0 8px;
  padding-left: 20px;
}

.portrait-fallback {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: radial-gradient(circle at 35% 30%, #514728, #171612 70%);
  color: #f7e6a0;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.section-copy p {
  color: var(--muted);
  max-width: 560px;
}

.consultation-button {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.info-panel {
  display: grid;
  gap: 18px;
}

@media (min-width: 861px) {
  .info-panel {
    position: relative;
    top: -106px;
  }
}

.info-item {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 12px 24px rgba(22, 32, 51, 0.04);
}

.info-item h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.info-item p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--primary);
  font-weight: 700;
}

.section-heading {
  margin-bottom: 32px;
}

.card-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 24px;
}

.card-grid {
  counter-reset: service-card;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  max-width: 1120px;
  margin-inline: auto;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-detail-card {
  padding: 32px;
  border: 1px solid rgba(215, 180, 55, 0.5);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 24px rgba(22, 22, 18, 0.06);
}

.service-detail-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.service-detail-card p:not(.eyebrow) {
  color: var(--muted);
}

.service-translation {
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-style: italic;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: #705900;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.service-actions .button {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 1rem;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
}

.service-actions .service-action-ai {
  border-color: rgba(176, 147, 45, 0.32);
  background: rgba(215, 180, 55, 0.13);
  box-shadow: none;
}

.service-actions .service-action-ai:hover {
  background: rgba(215, 180, 55, 0.24);
}

.nav-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(215, 180, 55, 0.55);
  background: rgba(215, 180, 55, 0.14);
  color: #f6e086;
  font-weight: 600;
}

.nav-promo-link:hover {
  background: rgba(215, 180, 55, 0.28);
  color: #fffdf7;
}

.promo-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(215, 180, 55, 0.16), transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(215, 180, 55, 0.12), transparent 42%);
}

.promo-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.promo-lead {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid rgba(215, 180, 55, 0.48);
  border-radius: 24px;
  background: linear-gradient(150deg, #fffefa 0%, #fffdf7 65%, #f7efd3 100%);
  box-shadow: 0 16px 34px rgba(25, 23, 16, 0.08);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(176, 147, 45, 0.78);
  box-shadow: 0 22px 44px rgba(25, 23, 16, 0.14);
}

.promo-card-featured {
  border-color: rgba(215, 180, 55, 0.85);
  background: linear-gradient(145deg, #1b1914 0%, #262218 100%);
  color: #fffdf7;
}

.promo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.promo-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d25c, var(--primary));
  color: #171612;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-code {
  padding: 4px 10px;
  border: 1px dashed rgba(157, 120, 0, 0.55);
  border-radius: 8px;
  background: rgba(215, 180, 55, 0.14);
  color: #705900;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.promo-card-featured .promo-code {
  border-color: rgba(240, 210, 92, 0.55);
  background: rgba(240, 210, 92, 0.12);
  color: #f6e086;
}

.promo-card h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.22;
}

.promo-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.promo-card-featured p {
  color: #dbd5c4;
}

.promo-perks {
  margin-bottom: 22px;
}

.promo-card-featured .promo-perks li {
  color: #e9e3d2;
}

.promo-card-featured .promo-perks li::before {
  color: #f0d25c;
}

.promo-actions {
  margin-top: auto;
  padding-top: 8px;
}

.promo-actions .button {
  width: 100%;
}

.promo-disclaimer {
  margin-top: 26px;
}

.ads-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(215, 180, 55, 0.48);
  border-radius: 28px;
  background: #171612;
  color: #fffdf7;
}

.ads-callout h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.ads-callout p:not(.eyebrow) {
  max-width: 560px;
  color: #d1ccbd;
}

.gallery-hero {
  padding: 76px 0 36px;
  background: radial-gradient(circle at 88% 20%, rgba(215, 180, 55, 0.18), transparent 35%);
}

.gallery-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.gallery-hero .lead {
  max-width: 680px;
}

.gallery-hero .lead a {
  color: #705900;
  font-weight: 700;
  text-decoration: underline;
}

.ad-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ad-card {
  overflow: hidden;
  border: 1px solid rgba(215, 180, 55, 0.45);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(22, 22, 18, 0.08);
}

.ad-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #151412;
}

.ad-image-fallback {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: #f8edbf;
  background: radial-gradient(circle at 50% 25%, #403718, #151412 70%);
}

.ad-image-fallback code {
  color: #f3d86b;
  overflow-wrap: anywhere;
}

.ad-caption {
  padding: 20px 22px 24px;
}

.ad-caption h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.ad-caption p,
.gallery-note {
  margin: 0;
  color: var(--muted);
}

.gallery-note {
  margin-top: 24px;
  font-size: 0.9rem;
}

.feature-card,
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(22, 32, 51, 0.04);
}

.feature-card {
  position: relative;
  isolation: isolate;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 238px;
  padding: 32px 26px;
  border-color: rgba(176, 147, 45, 0.28);
  background: linear-gradient(145deg, #fffefa 0%, #fffdf7 66%, #f8f0d6 100%);
  box-shadow: 0 14px 30px rgba(34, 29, 15, 0.08);
  counter-increment: service-card;
  overflow: auto !important;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.feature-card::before {
  position: absolute;
  z-index: -1;
  top: -48px;
  right: -42px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(176, 147, 45, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 180, 55, 0.2), transparent 70%);
  content: "";
  pointer-events: none;
}

.feature-card::after {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(112, 89, 0, 0.28);
  content: counter(service-card, decimal-leading-zero);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 147, 45, 0.62);
  box-shadow: 0 22px 42px rgba(34, 29, 15, 0.14);
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(176, 147, 45, 0.3);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff7d7, #f1dc8b);
  color: #705900;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(112, 89, 0, 0.12);
  transition: transform 220ms ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-5deg) scale(1.06);
}

.feature-card h3,
.work-body h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.feature-card p,
.work-body p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.service-compare-button {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #705900;
  box-shadow: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.service-compare-button:hover {
  background: transparent;
  color: #443700;
  box-shadow: none;
  transform: none;
}

.property-viewer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 110px;
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(176, 147, 45, 0.28);
}

.viewer-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.viewer-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #efe6c4 0%, #e4d8a8 100%);
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.viewer-slide.active {
  opacity: 1;
}

.property-viewer-link {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  margin-top: 14px;
  color: #705900;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.property-viewer-link:hover {
  color: #443700;
}

.reviews-viewport {
  position: relative;
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-scroll 24s linear infinite;
}

.reviews-viewport:hover .reviews-track {
  animation-play-state: paused;
}

.review-card {
  flex: 0 0 260px;
  padding: 20px 22px;
  border: 1px solid rgba(176, 147, 45, 0.28);
  border-radius: 16px;
  background: linear-gradient(145deg, #fffefa 0%, #fffdf7 66%, #f8f0d6 100%);
  box-shadow: 0 12px 24px rgba(22, 32, 51, 0.04);
}

.review-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.review-stars {
  color: #b0932d;
  letter-spacing: 2px;
}

.review-author {
  font-weight: 700;
  color: var(--text, #222);
}

.site-card-icon {
  font-size: 1.4rem;
}

@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.rate-compare-actions {
  justify-content: flex-end;
}

.rate-compare {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(176, 147, 45, 0.42);
  border-radius: 24px;
  background: linear-gradient(145deg, #fffefa, #f7f0d9);
  box-shadow: 0 16px 34px rgba(34, 29, 15, 0.09);
}

.rate-compare h3 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.rate-compare-description,
.rate-compare-note {
  margin: 0;
  color: var(--muted);
}

.rate-compare-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rate-compare-checklist li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border: 1px solid rgba(176, 147, 45, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.rate-compare-checklist li::before {
  position: absolute;
  left: 14px;
  color: #8a6d00;
  content: "✓";
  font-weight: 800;
}

.service-guarantees {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.service-guarantees li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.service-guarantees li::before {
  position: absolute;
  left: 0;
  color: #8a6d00;
  content: "✓";
  font-weight: 800;
}

.rate-compare-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.rate-compare-form label {
  grid-column: 1 / -1;
  font-weight: 700;
}

.rate-compare-form input {
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

.rate-compare-form button {
  min-height: 48px;
  white-space: nowrap;
}

.work-visual {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.visual-one {
  background: linear-gradient(135deg, #eaeaea, #b2c9c6 42%, #4f5c5c 100%);
}

.visual-two {
  background: linear-gradient(135deg, #edf7f3, #c9e8de 42%, #7cae9a 100%);
}

.visual-three {
  background: linear-gradient(135deg, #f9f0c7, #f3d86b 48%, #6d736b 100%);
}

.work-body {
  padding: 22px 22px 26px;
}

.site-footer {
  background: #171717;
  color: #f1f5f4;
  padding: 64px 0 24px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-bottom: 38px;
}

.brand-footer {
  margin-bottom: 14px;
}

.footer-site-link {
  display: block;
  margin-top: 14px;
  color: #f3d86b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px 22px;
  max-width: 420px;
}

.cta-box .eyebrow {
  color: #f3d86b;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  color: rgba(229, 236, 255, 0.75);
  font-size: 0.92rem;
}

.footer-bottom a {
  color: #f3d86b;
}

:focus-visible {
  outline: 3px solid #b28d05;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .hero-grid,
  .split-layout,
  .card-grid,
  .work-grid,
  .stats-grid,
  .service-detail-grid,
  .promo-grid,
  .ad-gallery,
  .footer-wrap,
  .scheduler-row,
  .contact-preference-options {
    grid-template-columns: 1fr;
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: 142px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: rgba(18, 18, 17, 0.98);
    border: 1px solid rgba(215, 180, 55, 0.35);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav-actions {
    position: static;
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  .login-trigger {
    padding-left: 0;
    padding-right: 0;
    border: 0;
    box-shadow: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav .button {
    color: #171612;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 0;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    order: 2;
  }

  .language-picker {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    order: 4;
  }

  .hero {
    padding-top: 52px;
  }

  .footer-wrap {
    display: grid;
  }

  .ads-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .nick-portrait {
    height: 330px;
  }
}

.login-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 20px;
}

.login-tab {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.login-tab[aria-selected="true"] {
  border-color: var(--primary);
  background: var(--accent-soft);
  color: var(--text);
}

#register-form {
  display: grid;
  gap: 9px;
}

#register-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

#register-form input {
  width: 100%;
  margin-bottom: 8px;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
}

#register-form input:focus {
  outline: 2px solid rgba(243, 216, 107, 0.35);
  border-color: var(--primary);
}

.profile-grid {
  display: flex;
  justify-content: center;
}

.profile-panel {
  width: min(100%, 640px);
  display: grid;
  gap: 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.profile-card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.profile-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.profile-list li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--accent-soft);
}

.inbox-subject {
  margin: 0 0 4px;
  font-weight: 700;
}

.dashboard-booking-form {
  display: grid;
  gap: 10px;
}

.dashboard-booking-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.dashboard-booking-form input,
.dashboard-booking-form select,
.dashboard-booking-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
}

.appointment-item {
  display: grid;
  gap: 8px;
}

.admin-booking-headline {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.admin-booking-details {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(176, 147, 45, 0.35);
  border-radius: 10px;
  background: #fffdf7;
  font-size: 0.88rem;
}

.admin-booking-detail-row {
  margin: 0;
  line-height: 1.45;
}

.admin-call-only-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #7a3c12;
  color: #fffdf7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.appointment-reschedule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.appointment-reschedule-row input {
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.calendar-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.calendar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.calendar-dot-morning {
  background: #4f9bd6;
}

.calendar-dot-afternoon {
  background: var(--primary);
}

.calendar-dot-evening {
  background: #5b4b8a;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 10px;
}

.calendar-header h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: capitalize;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 0;
}

.calendar-day {
  min-height: 60px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-day.is-empty {
  border-color: transparent;
  background: transparent;
}

.calendar-day-number {
  font-weight: 700;
  font-size: 0.8rem;
}

.calendar-day-dots {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
