/* Standalone cPanel build: native form controls and server-rendered pages. */
html { scroll-behavior: smooth; }
body { font-family: "Estedad Variable", Tahoma, sans-serif; }
button, input, select, textarea { font-family: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid rgba(31, 87, 78, .25); outline-offset: 2px; }

.skip-link { position: fixed; z-index: 999; top: 8px; right: 8px; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.mobile-menu[hidden] { display: none !important; }
.menu-button { font-size: 20px; line-height: 1; }

/* Desktop quick navigation: compact by default, labeled on hover or keyboard focus. */
.side-rail {
  width: 76px;
  padding: 42px 10px 18px;
  align-items: stretch;
  gap: 5px;
  overflow: hidden;
  border-left-color: rgba(24, 34, 31, .09);
  box-shadow: -8px 0 28px rgba(24, 34, 31, .035);
  transition: width 220ms ease, box-shadow 220ms ease;
}
.side-rail:hover,
.side-rail:focus-within {
  width: 190px;
  box-shadow: -16px 0 36px rgba(24, 34, 31, .08);
}
.side-rail > a {
  display: flex;
  width: 100%;
  height: 48px;
  padding: 0 15px;
  gap: 13px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 10px;
  white-space: nowrap;
}
.side-rail > a::after { content: none; }
.side-rail > a:hover,
.side-rail > a:focus-visible {
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.side-rail .rail-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.side-rail .rail-label {
  opacity: 0;
  transform: translateX(7px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  transition: opacity 160ms ease 40ms, transform 180ms ease 40ms;
}
.side-rail:hover .rail-label,
.side-rail:focus-within .rail-label {
  opacity: 1;
  transform: translateX(0);
}
.side-rail .rail-active {
  top: 42px;
  height: 48px;
}
.page-content { margin-right: 76px; }

.service-icon, .badge-icon { display: grid; place-items: center; font-family: Arial, sans-serif; font-style: normal; }
.service-kicker i, .service-hero li i, .service-deliverables li i, .service-faq header > i, .service-related i,
.case-summary li i, .case-next i, .admin-stats i, .admin-empty > i { font-style: normal; }
.service-kicker i { font-size: 15px; }
.service-hero li i, .service-deliverables li i, .case-summary li i { display: grid; width: 18px; height: 18px; margin-top: 4px; padding: 1px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 11px; }
.service-deliverables li i { margin-top: 0; }
.service-faq header > i { display: block; margin-bottom: 16px; color: var(--brand); font-size: 34px; }
.service-related i { color: var(--brand); font-size: 18px; }
.case-next i { color: var(--brand); font-size: 30px; }
.service-actions > a:last-child { display: inline-flex; align-items: center; }

.order-panel input:not([type="checkbox"]), .order-panel textarea, .order-panel select,
.installer-form input, .admin-login-form input, .admin-filter, .admin-status select {
  width: 100%; border: 1px solid rgba(24, 34, 31, .13); border-radius: 9px; background: #f7f8f7; color: var(--ink); box-shadow: none; transition: border-color 160ms ease, background 160ms ease;
}
.order-panel input:not([type="checkbox"]), .order-panel select, .installer-form input, .admin-login-form input, .admin-filter, .admin-status select { min-height: 48px; padding: 10px 13px; }
.order-panel textarea { min-height: 132px; padding: 13px; resize: vertical; }
.order-panel select, .admin-filter, .admin-status select { appearance: auto; }
.order-panel input:focus, .order-panel textarea:focus, .order-panel select:focus,
.installer-form input:focus, .admin-login-form input:focus, .admin-filter:focus, .admin-status select:focus { border-color: var(--brand); background: #fff; outline: 3px solid rgba(31, 87, 78, .1); }
.order-panel input::placeholder, .order-panel textarea::placeholder { color: #8a918e; }
.privacy-consent { cursor: pointer; }
.privacy-consent input { appearance: auto; width: 17px; height: 17px; margin-top: 4px; flex: 0 0 auto; accent-color: var(--brand); }
.privacy-consent > span { color: var(--muted); font-size: 12px; line-height: 1.8; }
.form-submit button { border: 0; padding-inline: 19px; justify-content: center; }
.form-message { display: none; padding: 11px 13px; border-radius: 9px; font-size: 12px; line-height: 1.8; }
.form-message:not(:empty) { display: block; }
.form-message.pending { background: var(--brand-soft); color: var(--brand); }
.form-message.error { background: #fff0ef; color: #9c2f29; }
.success-state { padding: 24px; }
.success-state h3 { margin-top: 0; }
.success-state > .success-actions { display: flex; width: auto; height: auto; margin-bottom: 14px; gap: 9px; border-radius: 0; background: transparent; color: inherit; flex-wrap: wrap; justify-content: center; }

.setup-page { min-height: 100vh; background: radial-gradient(circle at 10% 10%, rgba(185, 130, 72, .13), transparent 28rem), var(--canvas); }
.installer-shell { display: grid; min-height: 100vh; padding: 34px 20px; place-items: center; }
.installer-card { width: min(100%, 780px); padding: clamp(26px, 6vw, 58px); border: 1px solid var(--line); border-radius: 22px 22px 22px 7px; background: #fff; box-shadow: var(--shadow); }
.installer-brand { width: max-content; margin-bottom: 38px; }
.installer-step { color: var(--accent); font-size: 12px; font-weight: 720; }
.installer-card h1 { margin: 8px 0 9px; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.35; }
.installer-card > p { margin: 0 0 30px; color: var(--muted); line-height: 2; }
.installer-form { display: grid; gap: 17px; margin-top: 28px; }
.installer-form label, .admin-login-form label { display: grid; gap: 7px; text-align: right; }
.installer-form label > span, .admin-login-form label > span { color: #384440; font-size: 12px; font-weight: 650; }
.installer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.installer-form hr { margin-block: 5px; border: 0; border-top: 1px solid var(--line); }
.installer-form button, .admin-login-form button, .installer-primary { display: inline-flex; min-height: 49px; padding-inline: 20px; border: 0; border-radius: 10px 10px 10px 3px; background: var(--brand); color: #fff; align-items: center; justify-content: center; gap: 8px; font-weight: 680; }
.installer-errors, .admin-flash { padding: 14px 16px; border: 1px solid #e9b7b3; border-radius: 10px; background: #fff3f2; color: #8f2d28; font-size: 12px; line-height: 1.9; }
.installer-errors ul { margin: 6px 18px 0 0; list-style: disc; }
.installer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.installer-actions > a:not(.installer-primary) { display: inline-flex; min-height: 49px; padding-inline: 20px; border: 1px solid var(--line); border-radius: 10px; align-items: center; justify-content: center; }

.admin-shield { display: grid !important; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 16px 16px 16px 5px; background: var(--brand-soft); color: var(--brand); place-items: center; font-size: 25px; font-weight: 800; }
.admin-login-form { display: grid; width: min(100%, 410px); margin: 24px auto 13px; gap: 14px; }
.admin-login-form button { width: 100%; }
.access-page .admin-back-link { min-height: auto; padding: 8px; background: transparent; color: var(--muted); }
.access-page .admin-flash { display: block; margin: 12px auto; text-align: right; }
.admin-flash.success { border-color: #a7d8c3; background: #eaf7f1; color: #21624a; }
.admin-topbar form { margin: 0; }
.admin-topbar button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--brand); font-size: 12px; font-weight: 680; }
.admin-view-site { display: inline-flex; min-height: 42px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--brand); align-items: center; font-size: 12px; font-weight: 680; }
.admin-stats article > i { display: grid; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px; background: var(--brand-soft); color: var(--brand); place-items: center; }
.admin-panel { overflow: hidden; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; }
.admin-table thead { background: #f8faf9; color: var(--muted); font-size: 11px; }
.admin-table tr + tr { border-top: 1px solid var(--line); }
.admin-filter { min-height: 39px; padding-block: 6px; }
.admin-status > span { display: inline-flex; width: max-content; padding: 5px 8px; border-radius: 999px; font-size: 10px; }
.admin-status select { min-height: 35px; padding: 6px 9px; font-size: 11px; }
.admin-empty > i { color: var(--brand); font-size: 42px; }

@media (max-width: 1100px) {
  .page-content { margin-right: 0; }
}

@media (max-width: 900px) {
  .service-back > span { display: inline-block; font-size: 22px; }
}

@media (max-width: 700px) {
  .installer-grid { grid-template-columns: 1fr; }
  .installer-card { padding: 26px 20px; }
  .installer-actions { display: grid; }
  .admin-topbar > div > span { display: none; }
  .admin-stats article > i { display: none; }
  .service-back > span, .project-back > span, .legal-topbar > a:last-child > span { display: inline-block; font-size: 22px; }
}
