.page-container {
  width: min(var(--app-content-width, 1280px), calc(100% - (2 * var(--app-page-gutter, 22px))));
  margin-inline: auto;
}

.avatar-fallback {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.fallback-logo {
  width: 78%;
  height: 78%;
  position: absolute;
  inset: 11%;
  z-index: 0;
}

.fallback-building,
.fallback-windows {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fallback-building {
  stroke-width: 5.5;
}

.fallback-windows {
  opacity: .72;
  stroke-width: 7;
}

.fallback-plus {
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-width: 5;
}

.site-footer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-footer-links {
  display: grid;
  gap: 8px;
  padding-block: 17px;
}

.site-footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 14px;
}

.site-footer-actions p {
  margin: 0;
}

.site-footer-actions a,
.site-footer-legal a,
.site-footer-legal button,
.request-company-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(36, 87, 255, .3);
  text-underline-offset: 4px;
}

.site-footer-legal a,
.site-footer-legal button {
  color: var(--muted);
  font: inherit;
  font-weight: 750;
}

.site-footer-legal button {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-footer-legal a:hover,
.site-footer-legal button:hover {
  color: var(--blue);
}

.site-footer-credit a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.site-footer-credit a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.request-company-link {
  display: block;
  margin-top: 17px;
  text-align: center;
  font-size: .72rem;
}

.report-company-link {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  padding: 16px;
  background: color-mix(in srgb, var(--theme-soft-surface) 75%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
  border-radius: 4px;
  line-height: 1.55;
}

.legal-consent input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.legal-consent a { color: var(--blue); font-weight: 800; }

.request-hero {
  padding: 31px 0 45px;
  background: radial-gradient(circle at 85% 0, #dfe8ff 0, transparent 26%), linear-gradient(145deg, #f9fbff, #edf3ff);
  border-bottom: 1px solid #dfe7f8;
}

.request-hero h1 {
  max-width: 850px;
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.request-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.request-content {
  padding-block: 34px 75px;
}

.request-form {
  width: min(820px, 100%);
}

.request-form h2 {
  margin: 0 0 27px;
}

.verification-intro {
  max-width: 650px;
  margin: -17px 0 27px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.65;
}

.verified-company {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: -8px 0 25px;
  padding: 14px 16px;
  color: var(--blue-strong);
  background: var(--blue-soft);
  border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-radius: 12px;
}

.verified-company > .icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.verified-company div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.verified-company strong {
  color: var(--ink);
  font-size: .84rem;
}

.verified-company span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: .7rem;
}

.request-form input[readonly] {
  color: var(--muted);
  background: var(--theme-soft-surface);
  cursor: not-allowed;
}

.request-reset-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue-strong);
  font-size: .72rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.verification-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.55;
}

.verification-note .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--blue);
}

.request-form select {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #ccd7e8;
  border-radius: 10px;
}

.request-success {
  min-height: 260px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(28px, 5vw, 52px);
  color: #086c4b;
  background: #e8f9f2;
  border: 1px solid #b7ead6;
  border-radius: 18px;
}

.request-success > .icon {
  width: 42px;
  height: 42px;
}

.request-success h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 1.8rem;
}

.request-success p {
  margin: 0 0 24px;
}

.admin-body {
  min-height: 100vh;
  background: #f4f7fc;
}

.admin-topbar {
  background: #0f1d3a;
  color: white;
}

.admin-topbar-inner {
  width: min(var(--app-content-width, 1280px), calc(100% - 44px));
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-inline: auto;
}

.admin-topbar .brand {
  color: white;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-nav a {
  padding: 10px 13px;
  color: #c9d3e8;
  border-radius: 9px;
  font-size: .76rem;
  font-weight: 750;
}

.admin-nav a:hover,
.admin-nav .active {
  color: white;
  background: rgba(255,255,255,.1);
}

.admin-nav .admin-logout {
  color: var(--lime);
}

.admin-main {
  width: min(var(--app-content-width, 1280px), calc(100% - 44px));
  margin-inline: auto;
  padding-block: 34px 75px;
}

.admin-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}

.admin-page-heading h1 {
  margin: 7px 0 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  letter-spacing: -.055em;
}

.admin-page-heading p {
  margin: 7px 0 0;
  color: var(--muted);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}

.admin-stat {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.admin-stat span,
.admin-table th {
  color: #77849a;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
}

.admin-panel {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(34, 62, 120, .05);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 15px 17px;
  text-align: left;
  border-bottom: 1px solid #edf0f6;
}

.admin-table td {
  color: #4f5d74;
  font-size: .78rem;
}

.admin-table td strong {
  color: var(--ink);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.admin-actions form {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.admin-button {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #c8d4fb;
  border-radius: 8px;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 800;
}

.admin-button.success {
  color: #08704e;
  background: #e8f9f2;
  border-color: #b7ead6;
}

.admin-button.muted {
  color: #68758b;
  background: #f2f4f8;
  border-color: #dce2eb;
}

.status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
}

.status-pending { color: #9a5b00; background: #fff3d8; }
.status-resolved { color: #08704e; background: #e4f8ef; }
.status-dismissed { color: #68758b; background: #edf0f5; }

.email-verified-badge,
.email-missing-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 800;
  line-height: 1;
}

.email-verified-badge {
  color: #08704e;
  background: #e4f8ef;
}

.email-verified-badge .icon {
  width: 12px;
  height: 12px;
}

.email-missing-badge {
  color: #9a5b00;
  background: #fff3d8;
}

.company-email {
  overflow-wrap: anywhere;
}

.admin-form {
  padding: clamp(22px, 4vw, 40px);
}

.admin-form .form-grid {
  margin-top: 24px;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #536178;
  font-size: .78rem;
  font-weight: 700;
}

.admin-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background: radial-gradient(circle at 15% 10%, #dfe8ff, transparent 34%), #f5f7fb;
}

.admin-login-card {
  width: min(480px, 100%);
  padding: 34px;
  background: white;
  border: 1px solid #bdcbf7;
  border-radius: 18px;
  box-shadow: 0 22px 65px rgba(32, 64, 130, .13);
}

.admin-login-card .brand {
  margin-bottom: 27px;
}

.admin-login-card h1 {
  margin: 5px 0 8px;
  font-size: 2rem;
  letter-spacing: -.045em;
}

.admin-login-card > p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.pin-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pin-field input {
  width: 100%;
  height: 56px;
  text-align: center;
  color: var(--ink);
  border: 1px solid #cbd6e8;
  border-radius: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .28em;
}

.request-text {
  max-width: 560px;
  white-space: pre-wrap;
  line-height: 1.6;
}

.admin-theme-panel {
  margin-bottom: 22px;
}

.admin-theme-form {
  padding: clamp(22px, 4vw, 40px);
}

.admin-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.admin-section-heading.compact {
  margin-bottom: 0;
}

.admin-section-heading h2 {
  margin: 7px 0 6px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -.04em;
}

.admin-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}

.theme-count {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: var(--blue-strong);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
}

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

.theme-option {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.theme-option:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.theme-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.theme-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-preview {
  width: 64px;
  height: 48px;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--preview-surface);
  border: 1px solid rgba(15, 29, 58, .12);
  border-radius: 10px;
}

.theme-preview i {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.theme-preview-main {
  width: 33px;
  height: 33px;
  left: 7px;
  top: 7px;
  background: var(--preview-primary);
}

.theme-preview-accent {
  width: 20px;
  height: 20px;
  right: 6px;
  top: 6px;
  background: var(--preview-accent);
}

.theme-preview-surface {
  width: 29px;
  height: 8px;
  right: 5px;
  bottom: 6px;
  background: color-mix(in srgb, var(--preview-accent) 35%, var(--preview-surface));
}

.theme-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .82rem;
}

.theme-copy small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .65rem;
}

.theme-check {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: var(--button-text, white);
  background: var(--blue);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .18s ease, transform .18s ease;
  font-size: .72rem;
  font-weight: 900;
}

.theme-option:has(input:checked) .theme-check {
  opacity: 1;
  transform: scale(1);
}

.theme-submit {
  min-width: 260px;
  margin-top: 22px;
}

.admin-pin-panel {
  margin-top: 0;
}

.admin-button .icon {
  width: 14px;
  height: 14px;
}

.admin-button.danger {
  color: #b4233a;
  background: #fff0f2;
  border-color: #ffc7d0;
}

.admin-button.danger:hover {
  background: #ffe4e8;
  border-color: #f59aaa;
}

.admin-notice {
  margin-bottom: 22px;
}

.delete-company-panel {
  padding: clamp(23px, 4vw, 42px);
}

.delete-company-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.delete-company-summary .company-avatar {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

.delete-company-summary h2 {
  margin: 7px 0 6px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: -.045em;
}

.delete-company-summary p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
}

.delete-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 26px 0;
  padding: 18px;
  color: #a51f35;
  background: #fff1f3;
  border: 1px solid #ffc8d1;
  border-radius: 12px;
}

.delete-warning > .icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.delete-warning strong {
  display: block;
  margin-bottom: 4px;
  color: #87182b;
}

.delete-warning p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.65;
}

.delete-company-form {
  width: min(700px, 100%);
}

.delete-company-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}

.delete-company-button {
  min-height: 45px;
  padding-inline: 17px;
}

.contact-page {
  min-height: 100vh;
}

.contact-hero {
  background: radial-gradient(circle at 88% 8%, var(--theme-glow) 0, transparent 30%), linear-gradient(145deg, var(--theme-hero-start), var(--theme-hero-end));
  border-bottom: 1px solid var(--line);
}

.contact-hero-grid {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  align-items: center;
  gap: clamp(35px, 7vw, 95px);
  padding-block: 42px 54px;
}

.contact-hero .breadcrumb {
  margin-bottom: 31px;
}

.contact-hero h1 {
  max-width: 800px;
  margin: 10px 0 17px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .99;
  letter-spacing: -.065em;
}

.contact-hero-copy > p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: clamp(22px, 3vw, 30px);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-radius: 18px;
  box-shadow: 0 20px 50px var(--theme-shadow);
  backdrop-filter: blur(12px);
}

.contact-note-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue-strong);
  background: var(--blue-soft);
  border-radius: 13px;
}

.contact-note-icon .icon {
  width: 25px;
  height: 25px;
}

.contact-hero-note strong {
  display: block;
  margin: 2px 0 6px;
  font-size: .88rem;
}

.contact-hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.65;
}

.contact-content {
  padding-block: 48px 80px;
}

.contact-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.contact-section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -.05em;
}

.contact-section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.65;
  text-align: right;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.contact-method-card {
  min-width: 0;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 12px 32px var(--theme-shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-method-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--blue) 58%, var(--line));
  box-shadow: 0 20px 42px color-mix(in srgb, var(--blue) 15%, var(--theme-shadow));
}

.contact-method-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--blue-strong);
  background: var(--blue-soft);
  border-radius: 14px;
}

.contact-method-icon .icon {
  width: 27px;
  height: 27px;
}

.contact-method-whatsapp .contact-method-icon {
  color: #087348;
  background: #e0f7ea;
}

.contact-method-label {
  color: var(--blue-strong);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.contact-method-card > strong {
  max-width: 100%;
  margin: 8px 0 10px;
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -.035em;
}

.contact-method-card > p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.65;
}

.contact-method-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue-strong);
  font-size: .73rem;
  font-weight: 800;
}

.contact-method-action .icon {
  width: 17px;
  height: 17px;
}

.contact-bottom-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  padding: 15px 18px;
  color: var(--muted);
  background: var(--theme-soft-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .72rem;
}

.contact-bottom-note .icon {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.contact-bottom-note p {
  margin: 0;
}

.contact-bottom-note .operator-identity {
  margin-top: 7px;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .contact-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .contact-hero-note {
    max-width: 650px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method-card {
    min-height: 270px;
  }
}

@media (max-width: 760px) {
  .site-footer-actions {
    flex-direction: column;
    gap: 7px;
  }

  .request-hero {
    padding-block: 24px 34px;
  }

  .admin-topbar-inner {
    width: calc(100% - 28px);
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 15px;
  }

  .admin-nav {
    width: 100%;
    overflow-x: auto;
  }

  .admin-main {
    width: calc(100% - 28px);
    padding-top: 24px;
  }

  .admin-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .admin-login-card {
    padding: 25px 19px;
  }

  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .theme-submit {
    width: 100%;
    min-width: 0;
  }

  .delete-company-summary {
    align-items: flex-start;
  }

  .delete-company-summary .company-avatar {
    width: 72px;
    height: 72px;
  }

  .delete-company-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .delete-company-actions .admin-button {
    width: 100%;
  }

  .contact-hero-grid {
    padding-block: 26px 38px;
  }

  .contact-hero h1 {
    font-size: 2.65rem;
  }

  .contact-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .contact-section-heading > p {
    text-align: left;
  }

  .contact-method-card {
    min-height: 250px;
  }

  .contact-bottom-note {
    align-items: flex-start;
  }
}

.privacy-content {
  width: min(980px, calc(100% - 44px));
  margin: -18px auto 60px;
  position: relative;
}

.privacy-card h2 {
  margin: 30px 0 8px;
  font-size: 1.2rem;
}

.privacy-card h2:first-child { margin-top: 0; }
.privacy-card p { color: var(--muted); line-height: 1.75; }
.privacy-card a { color: var(--blue); font-weight: 750; }
.privacy-updated { margin-top: 34px; font-size: .72rem; }

.cookie-banner {
  position: fixed;
  z-index: 9999;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1040px, calc(100% - 44px));
  margin: 0 auto;
  padding: 18px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 70px color-mix(in srgb, var(--ink) 20%, transparent);
  backdrop-filter: blur(18px);
}

.cookie-banner-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--blue);
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 900;
}

.cookie-banner-copy strong { display: block; margin-bottom: 4px; font-size: .9rem; }
.cookie-banner-copy p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.55; }
.cookie-banner-copy a { display: inline-block; margin-top: 5px; color: var(--blue); font-size: .67rem; font-weight: 750; }
.cookie-banner-links { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-banner-actions .button { min-height: 42px; padding-inline: 15px; font-size: .72rem; white-space: nowrap; }

@media (max-width: 760px) {
  .privacy-content { width: calc(100% - 28px); margin-top: -10px; }
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    width: auto;
    gap: 12px;
    padding: 16px;
  }
  .cookie-banner-mark { display: none; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Documente juridice și raportări */
.legal-hero h1 {
  max-width: 900px;
  margin: 8px 0 12px;
  font-size: clamp(2.35rem, 4.4vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.legal-hero p {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content {
  max-width: 1040px;
  padding-block: 34px 76px;
}

.legal-document {
  padding: clamp(26px, 5vw, 58px);
}

.legal-document h2 {
  margin: 38px 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -.025em;
}

.legal-document h2:first-of-type { margin-top: 28px; }
.legal-document p,
.legal-document li { color: var(--muted); font-size: .84rem; line-height: 1.78; }
.legal-document p { margin: 0 0 13px; }
.legal-document ul { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 22px; }
.legal-document a { color: var(--blue); font-weight: 800; }
.legal-document code { color: var(--blue-strong); background: var(--theme-soft-surface); padding: 2px 5px; border-radius: 3px; }

.legal-summary {
  padding: 19px 21px;
  color: var(--blue-strong);
  background: color-mix(in srgb, var(--blue-soft) 72%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
  border-left: 4px solid var(--blue);
  border-radius: 4px;
}

.legal-summary strong { display: block; margin-bottom: 5px; }
.legal-summary p { margin: 0; }
.legal-table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 4px; }
.legal-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--ink); background: var(--theme-soft-surface); font-size: .72rem; }
.legal-table td { color: var(--muted); font-size: .78rem; line-height: 1.6; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-updated { margin-top: 42px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: .72rem !important; }
.report-form { width: min(880px, 100%); margin-inline: auto; }

.reports-list { display: grid; gap: 0; background: transparent; border: 0; box-shadow: none; }
.admin-report-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 10px 30px var(--theme-shadow); }
.admin-report-card + .admin-report-card { margin-top: 16px; }
.admin-report-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-report-card h2 { margin: 8px 0 3px; }
.admin-report-card header p { margin: 0; color: var(--muted); font-size: .7rem; }
.report-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 18px 0; padding: 13px; background: var(--theme-soft-surface); border-radius: 4px; font-size: .74rem; }
.report-meta a { color: var(--blue); font-weight: 800; }
.report-meta span { width: 100%; overflow-wrap: anywhere; color: var(--muted); }
.admin-report-card .request-text { padding: 17px; border: 1px solid var(--line); border-radius: 4px; }
.admin-report-card .request-text p, .report-decision p { margin: 7px 0 15px; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.report-decision { margin-top: 13px; padding: 16px; color: #086c4b; background: #e8f9f2; border: 1px solid #b7ead6; border-radius: 4px; }
.report-decision-form { margin-top: 17px; }
.report-decision-form .admin-actions { margin-top: 12px; }
.status-rejected { color: #8a1824; background: #ffe8eb; }

@media (max-width: 760px) {
  .site-footer-links { padding-block: 5px; }
  .site-footer-actions, .site-footer-legal { flex-direction: column; gap: 7px; }
  .legal-hero h1 { font-size: 2.25rem; }
  .legal-content { padding-block: 20px 48px; }
  .legal-document { padding: 23px 18px; }
  .admin-report-card > header { flex-direction: column; }
  .report-decision-form .admin-actions { align-items: stretch; flex-direction: column; }
  .report-decision-form .admin-button { width: 100%; justify-content: center; }
}

/* CAEN Rev.3 lookup */
.caen-field {
  gap: 9px;
  padding: 17px;
  border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--theme-soft-surface) 72%, var(--paper));
}

.caen-controls {
  display: grid;
  grid-template-columns: 165px minmax(150px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.caen-revision,
.caen-code,
.caen-result,
.caen-choice label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.caen-revision > span,
.caen-code > span,
.caen-result > span,
.caen-choice label > span {
  color: var(--muted);
  font-size: .66rem;
  font-weight: 750;
}

.caen-controls select,
.caen-choice select {
  width: 100%;
  height: 49px;
  padding: 0 38px 0 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.caen-code input {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.caen-extract-button {
  min-height: 49px;
  padding-inline: 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--blue) 22%, transparent);
  white-space: nowrap;
}

.caen-help {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 600;
  line-height: 1.55;
}

.caen-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.5;
}

.caen-status:empty {
  display: none;
}

.caen-status.is-success {
  color: #086c4b;
  background: #e8f9f2;
  border: 1px solid #b7ead6;
}

.caen-status.is-error {
  color: #ae2439;
  background: #fff0f2;
  border: 1px solid #ffcbd3;
}

.caen-status.is-info {
  color: var(--blue-strong);
  background: var(--blue-soft);
  border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
}

.caen-choice[hidden] {
  display: none !important;
}

.caen-choice {
  padding-top: 2px;
}

.caen-result textarea[readonly] {
  height: auto;
  min-height: 72px;
  padding: 11px 13px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 78%, var(--theme-soft-surface));
  cursor: default;
  resize: none;
}

.company-classification {
  display: flex;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.company-classification .category-pill {
  max-width: min(100%, 620px);
  min-height: 0;
  padding-block: 6px;
  line-height: 1.4;
  white-space: normal;
}

.classification-mobile {
  display: none;
}

.company-card .classification-desktop {
  margin-bottom: 8px;
}

.detail-classification-mobile {
  display: none;
}

@media (min-width: 761px) {
  .detail-identity h1 {
    margin-top: 0;
    margin-bottom: 14px;
  }
}

.caen-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  color: var(--ink);
  background: color-mix(in srgb, var(--lime) 54%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--lime) 68%, var(--line));
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 850;
  white-space: nowrap;
}

.legal-grid .legal-wide {
  grid-column: 1 / -1;
}

.admin-domain,
.admin-caen-code,
.admin-caen-missing {
  display: block;
}

.admin-caen-code,
.admin-caen-missing {
  margin-top: 5px;
  font-size: .64rem;
  font-weight: 750;
}

.admin-caen-code {
  color: var(--blue-strong);
}

.admin-caen-missing {
  color: var(--muted);
}

@media (max-width: 760px) {
  .detail-identity {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 15px 17px;
  }

  .detail-identity > .company-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .detail-identity > div {
    display: contents;
  }

  .detail-identity h1 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .detail-classification-desktop {
    display: none;
  }

  .detail-classification-mobile {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: stretch;
    gap: 17px;
  }

  .detail-classification-mobile .category-pill {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: .65rem;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .company-card .classification-desktop {
    display: none;
  }

  .company-card .classification-mobile {
    width: 100%;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: stretch;
    gap: 15px;
  }

  .company-card .classification-mobile .category-pill {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: .61rem;
    line-height: 1.42;
    letter-spacing: .015em;
    overflow-wrap: anywhere;
  }

  .mobile-caen-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 5px;
    text-align: center;
    white-space: normal;
  }

  .mobile-caen-card span {
    font-size: .54rem;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1.1;
  }

  .mobile-caen-card strong {
    font-size: .76rem;
    font-weight: 900;
    line-height: 1.15;
  }

  .mobile-category-card {
    min-width: 0;
    height: 100%;
  }

  .caen-field {
    padding: 14px;
  }

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

  .caen-extract-button {
    width: 100%;
  }
}
/* Identitatea AfaceriX.ro: wordmark flexibil pentru toate temele. */
.brand-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-word > span {
  color: var(--blue);
}

.brand-word > small {
  margin-left: .04em;
  color: var(--muted);
  font-size: .46em;
  font-weight: 800;
  letter-spacing: -.02em;
}

/* Distribuire socială în pagina individuală a firmei. */
.company-share-panel {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.company-share-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
}

.company-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.company-share-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  color: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 7px 17px rgba(15, 29, 58, .12);
  cursor: pointer;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.company-share-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 22px rgba(15, 29, 58, .18);
}

.company-share-action .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.share-facebook { background: #1877f2; }
.share-instagram { background: linear-gradient(135deg, #833ab4, #e1306c 52%, #f59b31); }
.share-whatsapp { background: #128c7e; }
.share-linkedin { background: #0a66c2; }
.share-x { background: #111; }
.share-copy { background: linear-gradient(135deg, var(--blue), var(--blue-strong)); }

.company-share-feedback {
  min-height: 18px;
  margin: 10px 0 -8px;
  color: var(--success);
  font-size: .68rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .18s ease, transform .18s ease;
}

.company-share-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.company-share-feedback.is-error { color: var(--danger); }

@media (max-width: 760px) {
  .company-share-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-share-action {
    width: 100%;
    padding-inline: 10px;
  }
}

/* Localizare și program de lucru */
.field > select,
.schedule-time select {
  width: 100%;
  height: 49px;
  padding: 0 40px 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--blue));
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.field > select:focus,
.schedule-time select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 9%, transparent);
  outline: 0;
}

.work-schedule-editor {
  padding: 20px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 93%, var(--theme-soft-surface));
  border: 1px solid color-mix(in srgb, var(--line) 84%, var(--blue));
  border-radius: 15px;
}

.work-schedule-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.work-schedule-heading > div {
  display: grid;
  gap: 4px;
}

.work-schedule-heading > div > span {
  font-size: .9rem;
  font-weight: 850;
}

.work-schedule-heading small {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
}

.schedule-master,
.schedule-open-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.schedule-master input,
.schedule-open-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.schedule-master span {
  color: var(--blue-strong);
  font-size: .72rem;
  font-weight: 800;
}

.work-schedule-days {
  display: grid;
  gap: 8px;
  padding-top: 14px;
}

.work-schedule-row {
  display: grid;
  grid-template-columns: 90px 105px minmax(125px, 1fr) minmax(125px, 1fr);
  align-items: end;
  gap: 10px;
  min-height: 57px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--paper) 86%, var(--theme-soft-surface));
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  border-radius: 11px;
  transition: opacity .18s ease, background .18s ease;
}

.schedule-day,
.schedule-open-toggle {
  align-self: center;
}

.schedule-day {
  font-size: .78rem;
}

.schedule-open-toggle span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 750;
}

.schedule-time {
  display: grid;
  gap: 4px;
}

.schedule-time > span {
  color: var(--muted);
  font-size: .61rem;
  font-weight: 750;
}

.schedule-time select {
  height: 40px;
  padding-left: 11px;
  font-size: .74rem;
  font-weight: 750;
}

.schedule-closed {
  display: none;
  align-self: center;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
}

.work-schedule-row.is-closed {
  grid-template-columns: 90px 105px 1fr;
  background: color-mix(in srgb, var(--canvas) 82%, var(--paper));
}

.work-schedule-row.is-closed .schedule-time {
  display: none;
}

.work-schedule-row.is-closed .schedule-closed {
  display: block;
}

.work-schedule-editor.is-disabled .work-schedule-days {
  opacity: .48;
}

.company-card h2 a {
  transition: color .18s ease;
}

.company-card h2 a:hover,
.company-card h2 a:focus-visible {
  color: var(--blue-strong);
}

.company-meta-mobile {
  display: none;
}

.company-meta .icon {
  width: 14px;
  height: 14px;
}

.work-hours-card {
  align-items: flex-start;
  cursor: default;
}

.contact-note.call-note {
  margin-top: 8px;
}

.work-hours-card > .icon {
  margin-top: 2px;
  color: var(--lime);
}

.work-hours-content {
  min-width: 0;
  flex: 1;
}

.work-hours-content > small {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .78);
  font-size: .66rem;
  font-weight: 700;
}

.work-hours-list {
  display: grid;
  gap: 5px;
}

.work-hours-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid color-mix(in srgb, var(--button-text) 16%, transparent);
  font-size: .71rem;
}

.work-hours-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.work-hours-list > div.is-today {
  margin-inline: -8px;
  padding: 7px 8px;
  background: color-mix(in srgb, var(--button-text) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--button-text) 24%, transparent);
  border-radius: 9px;
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--lime) 84%, var(--button-text));
}

.work-hours-list span {
  color: color-mix(in srgb, var(--button-text) 80%, transparent);
}

.work-hours-list strong {
  color: var(--button-text);
  font-size: .71rem;
  font-weight: 800;
}

.work-hours-list > div.is-today span,
.work-hours-list > div.is-today strong {
  color: var(--button-text);
}

.work-hours-empty {
  margin: 0;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
}

@media (min-width: 761px) {
  .detail-main .legal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .work-schedule-editor {
    padding: 16px 13px;
  }

  .work-schedule-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .work-schedule-row,
  .work-schedule-row.is-closed {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 12px;
  }

  .schedule-time {
    grid-column: auto;
  }

  .work-schedule-row:not(.is-closed) .schedule-time {
    grid-row: 2;
  }

  .work-schedule-row.is-closed .schedule-closed {
    grid-column: 1 / -1;
  }

  .company-card .company-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 12px;
  }

  .company-card .company-meta .meta-desktop-only {
    display: none;
  }
}

@media (max-width: 760px) {
  .company-card {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto;
    align-items: center;
    gap: 14px 15px;
  }

  .company-card .company-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .company-card-content {
    display: contents;
  }

  .company-card h2 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .company-card .classification-mobile {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .company-card .company-card-content > p {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
  }

  .company-card .company-meta {
    display: none;
  }

  .company-card .company-meta-mobile {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin: 0;
  }

  .company-meta-mobile span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    color: var(--muted);
    background: color-mix(in srgb, var(--canvas) 78%, var(--paper));
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: .64rem;
    font-weight: 750;
    overflow-wrap: anywhere;
  }

  .company-meta-mobile .icon {
    width: 15px;
    height: 15px;
    color: var(--blue);
  }

  .company-card > .button-outline {
    grid-column: 1 / -1;
    grid-row: 5;
  }
}

/* Pe desktop, prezentarea din stânga urmărește începutul formularului lung. */
@media (min-width: 1101px) {
  .home-intro {
    align-items: flex-start;
    padding-top: calc(clamp(35px, 4vw, 72px) + 10px);
  }
}
