:root {
  --color-brand-yellow: #f5c518;
  --color-brand-yellow-dark: #ddb310;
  --color-brand-dark: #212121;
  --color-brand-dark-soft: #2c2c2c;
  --color-brand-blue: #2b4c9b;
  --color-brand-blue-dark: #1f3a7a;
  --color-white: #ffffff;
  --color-bg: #fafafa;
  --color-bg-alt: #f0f0f0;
  --color-text: #212121;
  --color-text-muted: #5c5c5c;
  --color-text-on-dark: rgba(255, 255, 255, 0.88);
  --color-text-muted-on-dark: rgba(255, 255, 255, 0.65);
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;
  --color-border: #e0e0e0;
  --color-error: #b42318;
  --color-success: #1a6b3c;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(33, 33, 33, 0.06);
  --shadow-md: 0 4px 16px rgba(33, 33, 33, 0.08);
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-brand-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-brand-blue-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.container {
  width: min(100% - 1.25rem, var(--max-width));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 2.5rem, var(--max-width));
  }
}

.container-narrow {
  max-width: 480px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-brand-dark);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  background: var(--color-brand-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

@media (min-width: 900px) {
  .header-inner {
    justify-content: space-between;
    position: static;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.1rem;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-brand-yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

@media (min-width: 480px) {
  .logo-name {
    font-size: 1.85rem;
  }

  .logo-sub {
    font-size: 0.8rem;
  }
}

@media (min-width: 900px) {
  .header-inner {
    padding: 0.85rem 0 0.5rem;
    gap: 1rem;
  }

  .logo {
    flex: initial;
  }

  .logo-name {
    font-size: 2.25rem;
  }

  .logo-sub {
    font-size: 0.9rem;
  }
}

.logo-mark {
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: cover;
}

.logo-sm .logo-name {
  font-size: 1.35rem;
}

@media (min-width: 600px) {
  .logo-sm .logo-name {
    font-size: 1.5rem;
  }
}

/* Desktop / mobile navigation */
.main-nav-desktop {
  display: none;
}

.nav-actions {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-share-site {
  color: var(--color-brand-yellow);
  border: 1px solid rgba(245, 197, 24, 0.35);
}

.btn-share-site:hover,
.btn-share-site:focus-visible {
  color: var(--color-brand-dark);
  background: var(--color-brand-yellow);
  border-color: var(--color-brand-yellow);
}

@media (max-width: 899px) {
  .btn-share-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .btn-share-site {
    padding: 0.55rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1.1rem;
  background: var(--color-brand-dark);
  color: var(--color-brand-yellow);
  border: 2px solid var(--color-brand-yellow);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (min-width: 900px) {
  .share-toast {
    bottom: 2rem;
  }
}

@media (max-width: 899px) {
  .mobile-nav {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .nav-actions {
    display: flex;
    padding: 0;
  }
}

.mobile-nav {
  position: relative;
  flex-shrink: 0;
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle::-webkit-details-marker {
  display: none;
}

.mobile-nav[open] .mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-brand-yellow);
  color: var(--color-brand-yellow);
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(18rem, calc(100vw - 1.25rem));
  background: var(--color-brand-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0.75rem;
  z-index: 200;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  color: var(--color-text-on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-brand-yellow);
}

.mobile-nav-link-accent {
  color: var(--color-brand-yellow);
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding-top: 0.85rem;
}

.mobile-nav-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 900px) {
  .main-nav-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1.5rem;
    padding: 0.35rem 0 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav {
    display: none;
    position: relative;
    top: auto;
    transform: none;
  }
}

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-on-dark);
  padding: 0.35rem 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover {
  color: var(--color-brand-yellow);
}

.nav-link-login {
  margin-left: auto;
  color: var(--color-brand-yellow);
  font-weight: 600;
}

/* Sticky mobile contact bar */
.has-mobile-cta {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

.mobile-sticky-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-brand-dark);
  border-top: 3px solid var(--color-brand-yellow);
  padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  gap: 0.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-white);
  -webkit-tap-highlight-color: transparent;
}

.mobile-sticky-call {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.mobile-sticky-whatsapp {
  background: var(--color-whatsapp);
}

@media (min-width: 900px) {
  .has-mobile-cta {
    padding-bottom: 0;
  }

  .mobile-sticky-cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--color-brand-blue);
  color: var(--color-white);
  border-color: var(--color-brand-blue);
}

.btn-primary:hover {
  background: var(--color-brand-blue-dark);
  border-color: var(--color-brand-blue-dark);
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
}

.btn-outline:hover {
  background: var(--color-brand-blue);
  color: var(--color-white);
}

.btn-light-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: var(--color-white);
}

.btn-danger {
  background: var(--color-error);
  color: var(--color-white);
}

/* Hero split — mobile first */
.hero-split {
  position: relative;
  overflow: hidden;
}

.hero-split-backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  pointer-events: none;
}

.hero-split-backdrop-brand {
  background: var(--color-brand-yellow);
}

.hero-split-backdrop-content {
  background: var(--color-brand-dark);
}

.hero-split-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-split-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.hero-split-brand-inner {
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.hero-logo {
  margin: 0 auto 1rem;
  width: min(160px, 45vw);
  height: auto;
  border-radius: var(--radius-lg);
}

.hero-brand-tag {
  letter-spacing: 0.12em;
}

.hero-split-content {
  display: flex;
  align-items: center;
  padding: 2rem 0 2.5rem;
}

.hero-split-content-inner {
  width: 100%;
  max-width: none;
}

.hero-split-content h1 {
  font-size: clamp(1.65rem, 6vw, 2.75rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-actions .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-split-backdrop {
    grid-template-columns: 2fr 3fr;
    grid-template-rows: 1fr;
  }

  .hero-split-layout {
    grid-template-columns: 2fr 3fr;
    min-height: 580px;
    align-items: center;
  }

  .hero-split-brand {
    justify-content: center;
    padding: 2.5rem 2rem 2.5rem 0;
  }

  .hero-split-content {
    padding: 2.5rem 0 2.5rem 2rem;
  }

  .hero-logo {
    width: min(200px, 100%);
    margin-bottom: 1.5rem;
  }

  .hero-brand-tag {
    letter-spacing: 0.2em;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
    white-space: nowrap;
  }
}

.hero-brand-role {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.25rem;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1;
}

.hero-brand-tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0.5rem 0 0;
  opacity: 0.75;
}

@media (min-width: 900px) {
  .hero-brand-tag {
    font-size: 1.35rem;
    letter-spacing: 0.2em;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-brand-yellow);
  margin: 0 0 0.75rem;
}

.eyebrow-dark {
  color: var(--color-brand-blue);
}

.hero-split-content h1 {
  font-size: clamp(1.65rem, 6vw, 2.75rem);
  color: var(--color-white);
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--color-text-on-dark);
  margin: 0 0 1.5rem;
  max-width: 48ch;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text-muted-on-dark);
  font-size: 0.95rem;
}

.hero-highlights svg {
  color: var(--color-brand-yellow);
  flex-shrink: 0;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--color-brand-yellow);
  padding: 2rem 0;
  border-bottom: 4px solid var(--color-brand-dark);
}

.page-hero-sm {
  padding: 2rem 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-brand-dark);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.page-hero .section-intro {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* Sections — mobile first */
.section {
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 2.5rem 0;
  }
}

.section-dark {
  background: var(--color-brand-dark);
  color: var(--color-text-on-dark);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-brand-dark);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.section-header-light h2 {
  color: var(--color-white);
}

.section-intro {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.section-header-light .section-intro {
  color: var(--color-text-muted-on-dark);
}

.section-cta {
  margin-top: 2rem;
}

.section-cta .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .section-cta {
    margin-top: 2.5rem;
  }

  .section-cta .btn {
    width: auto;
  }
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-service h3,
.card-service h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--color-brand-dark);
  text-transform: uppercase;
}

.card-service p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.card-service {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: start;
}

.card-service .card-icon-wrap {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.card-service h3,
.card-service h2 {
  grid-column: 2;
}

.card-service p {
  grid-column: 2;
}

@media (min-width: 768px) {
  .card-service {
    display: block;
  }

  .card-service .card-icon-wrap {
    margin-bottom: 1rem;
  }
}

.card-service-lg {
  display: block;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .card-service-lg {
    padding: 2rem;
  }
}

.card-service-lg .card-icon-wrap {
  margin-bottom: 1rem;
}

.card-service-lg h2 {
  font-size: 1.35rem;
}

.card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-brand-yellow);
  color: var(--color-brand-dark);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.card-service-lg .card-icon-wrap {
  width: 56px;
  height: 56px;
}

.card-highlight {
  margin-top: 2.5rem;
  border-left: 4px solid var(--color-brand-yellow);
  padding: 2rem;
}

.card-highlight h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  text-transform: uppercase;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps-flow {
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps-flow {
    gap: 1.5rem;
    align-items: stretch;
  }
}

.step {
  position: relative;
  padding: 1.5rem;
}

.step-flow {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}

.step-flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.25rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-brand-dark);
  background: var(--color-brand-yellow);
}

.step-flow-content {
  flex: 1;
  min-width: 0;
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-flow-content h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.step-flow-content p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.step-flow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.75rem;
  color: var(--color-brand-yellow);
  background: rgba(245, 197, 24, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .step-flow-num {
    width: 3.5rem;
    font-size: 2rem;
  }

  .step-flow-content {
    padding: 1.35rem 1.15rem;
  }

  .step-flow-content h3 {
    font-size: 1.1rem;
  }

  .step-flow-icon {
    width: 4.25rem;
  }
}

.step-bordered {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.section-dark .step {
  background: var(--color-brand-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-brand-yellow);
  color: var(--color-brand-dark);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-brand-yellow);
  letter-spacing: 0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.step-num-lg {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brand-blue);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}

.section-dark .step h3 {
  color: var(--color-white);
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.section-dark .step p {
  color: var(--color-text-muted-on-dark);
}

/* CTA banner */
.cta-banner {
  background: var(--color-brand-yellow);
  padding: 2rem 0;
  border-top: 4px solid var(--color-brand-dark);
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

.cta-banner .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 3rem 0;
  }

  .cta-banner-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .cta-banner .btn {
    width: auto;
  }
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-brand-dark);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.cta-banner p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 48ch;
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-logo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.prose {
  max-width: 65ch;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.prose-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.prose-card h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}

.prose-card h2:first-of-type {
  margin-top: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

/* Mobile: contato → formulário */
.contact-aside {
  order: 1;
}

.contact-form-slot {
  order: 2;
}

.contact-form {
  order: unset;
}

.contact-success-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  text-align: center;
  background: #e8f5ee;
  border: 1px solid var(--color-success);
}

.contact-success-message {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-success);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }

  .contact-aside {
    order: unset;
    grid-column: 1;
  }

  .contact-form-slot {
    order: unset;
    grid-column: 2;
  }

  .contact-form {
    order: unset;
    grid-column: unset;
    grid-row: unset;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item svg {
  color: var(--color-brand-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-brand-dark);
}

.contact-block {
  background: var(--color-brand-dark);
  color: var(--color-text-on-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
}

.contact-block h2 {
  font-size: 1.35rem;
  color: var(--color-white);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.contact-block p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted-on-dark);
}

/* Forms */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .form-card {
    padding: 2rem;
  }
}

.form-title {
  font-size: 1.2rem;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  color: var(--color-brand-dark);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.85rem;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(43, 76, 155, 0.15);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field-with-action {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .field-with-action {
    flex-direction: row;
    align-items: stretch;
  }

  .field-with-action input {
    flex: 1;
  }

  .field-with-action .btn {
    flex-shrink: 0;
    align-self: stretch;
    white-space: nowrap;
  }
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.checkbox-label input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: auto;
}

/* Login */
.login-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  transition: background 0.15s, color 0.15s;
}

.login-tab:last-child {
  border-right: none;
}

.login-tab.active {
  background: var(--color-brand-dark);
  color: var(--color-brand-yellow);
}

.login-tab:hover:not(.active) {
  background: var(--color-bg-alt);
  color: var(--color-brand-dark);
}

.login-description {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-brand-blue);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: var(--color-brand-dark);
  color: var(--color-white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(245, 197, 24, 0.06);
}

.address-waze-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(43, 76, 155, 0.35);
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.address-waze-link:hover,
.address-waze-link:focus {
  color: var(--color-brand-blue);
  text-decoration-color: currentColor;
}

.address-waze-link:focus {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.appointments-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.appointments-table-wrap {
  margin-bottom: 1rem;
}

.appointments-table {
  min-width: 0;
}

.appointments-table .col-pickup,
.appointments-table .col-destination,
.appointments-table .col-actions {
  display: none;
}

.appointment-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.appointment-row.is-selected td {
  background: rgba(43, 76, 155, 0.1);
}

.appointment-row:focus {
  outline: none;
}

.appointment-row:focus-visible td {
  box-shadow: inset 0 0 0 2px var(--color-brand-blue);
}

.appointment-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment-detail-panel {
  padding: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(33, 33, 33, 0.08);
}

.appointment-detail-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.appointment-detail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.appointment-detail-list {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 1rem;
}

.appointment-detail-item {
  margin: 0;
}

.appointment-detail-item dt {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.appointment-detail-item dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

@media (min-width: 768px) {
  .appointments-hint {
    display: none;
  }

  .appointments-table {
    min-width: 640px;
  }

  .appointments-table .col-pickup,
  .appointments-table .col-destination,
  .appointments-table .col-actions {
    display: table-cell;
  }

  .appointment-row.is-selected td {
    background: rgba(245, 197, 24, 0.12);
  }
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-left: 4px solid;
}

.alert-info {
  background: #eef2fa;
  color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
}

.alert-error {
  background: #fdecea;
  color: var(--color-error);
  border-color: var(--color-error);
}

.alert-success {
  background: #e8f5ee;
  color: var(--color-success);
  border-color: var(--color-success);
}

/* Footer */
.site-footer {
  background: var(--color-brand-dark);
  color: var(--color-text-on-dark);
  padding: 3rem 0 1rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-brand {
    flex-direction: row;
    align-items: center;
  }
}

.footer-logo-link {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  flex-shrink: 0;
  line-height: 0;
  border-radius: var(--radius-lg);
  text-decoration: none;
}

.footer-logo-link:hover .footer-logo,
.footer-logo-link:focus-visible .footer-logo {
  opacity: 0.92;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.45);
}

.footer-logo-link:focus {
  outline: none;
}

.footer-logo {
  display: block;
  border-radius: var(--radius);
  flex-shrink: 0;
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-brand-yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-role {
  color: var(--color-brand-blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.15rem 0;
}

.footer-location {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted-on-dark);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-yellow);
  margin: 0 0 0.75rem;
}

.footer-col p {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--color-text-on-dark);
}

.site-footer a:hover {
  color: var(--color-brand-yellow);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted-on-dark);
}

/* App layout */
.app-body {
  background: var(--color-bg);
  min-height: 100vh;
}

.app-header {
  background: var(--color-brand-dark);
  border-bottom: 3px solid var(--color-brand-yellow);
}

.app-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.app-header .logo-name {
  color: var(--color-brand-yellow);
}

.app-header-full-brand .app-header-inner {
  align-items: flex-start;
  padding: 0.75rem 0;
}

.app-header-full-brand .logo {
  flex: 1;
  min-width: 0;
}

.app-header .user-label {
  color: var(--color-text-muted-on-dark);
}

.app-nav {
  padding: 0 0 0.75rem;
  border-top: none;
}

.app-nav .nav-link.active {
  color: var(--color-brand-yellow);
  border-bottom-color: var(--color-brand-yellow);
}

.user-label {
  margin-left: auto;
  font-weight: 500;
  font-size: 0.9rem;
}

.app-main {
  padding: 1.5rem 0 2.5rem;
}

.client-contact-help {
  margin-top: 1.5rem;
  max-width: 24rem;
}

.client-contact-help p {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
}

.client-contact-help .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.client-appointments-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.client-appointments-empty {
  margin: 0;
  color: var(--color-text-muted);
}

.client-appointments-table-wrap {
  margin-bottom: 1rem;
}

.client-appointments-table {
  min-width: 0;
}

.client-appointments-table .col-pickup,
.client-appointments-table .col-destination,
.client-appointments-table .col-actions {
  display: none;
}

.client-appointment-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.client-appointment-row.is-selected td {
  background: rgba(43, 76, 155, 0.1);
}

.client-appointment-row:focus {
  outline: none;
}

.client-appointment-row:focus-visible td {
  box-shadow: inset 0 0 0 2px var(--color-brand-blue);
}

.client-appointment-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .client-appointments-hint,
  .client-appointment-details {
    display: none;
  }

  .client-appointments-table {
    min-width: 560px;
  }

  .client-appointments-table .col-pickup,
  .client-appointments-table .col-destination,
  .client-appointments-table .col-actions {
    display: table-cell;
  }

  .client-appointment-row {
    cursor: default;
  }

  .client-appointment-row.is-selected td {
    background: transparent;
  }
}

.page-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-header .btn {
  width: 100%;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  color: var(--color-brand-dark);
  text-transform: uppercase;
}

.page-header-sub {
  margin-bottom: 1.25rem;
}

.page-header-sub h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-brand-dark);
}

@media (min-width: 600px) {
  .page-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .page-header .btn {
    width: auto;
  }
}

.stat-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-brand-yellow);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--color-brand-blue);
  line-height: 1;
}

.stat-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.stat-card-link:hover,
.stat-card-link:focus-visible {
  border-color: var(--color-brand-blue);
  box-shadow: 0 4px 16px rgba(43, 76, 155, 0.12);
  transform: translateY(-1px);
}

.stat-card-link:focus {
  outline: none;
}

.stat-card-link:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-pending { background: #fff8e6; color: #8a6d00; }
.badge-confirmed { background: #e8f0fa; color: var(--color-brand-blue); }
.badge-completed { background: #e8f5ee; color: var(--color-success); }
.badge-cancelled { background: #fdecea; color: var(--color-error); }

.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;
}

.status-help {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.status-help summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-brand-dark);
}

.status-help ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.appointment-status-form {
  display: inline-block;
  min-width: 0;
}

.status-select {
  min-height: 36px;
  padding: 0.35rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  max-width: 100%;
}

.status-select-pending { background: #fff8e6; color: #8a6d00; border-color: #e8d48a; }
.status-select-confirmed { background: #e8f0fa; color: var(--color-brand-blue); border-color: #b8cceb; }
.status-select-completed { background: #e8f5ee; color: var(--color-success); border-color: #b9dcc8; }
.status-select-cancelled { background: #fdecea; color: var(--color-error); border-color: #f0c4c0; }

.status-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 76, 155, 0.15);
}

.appointments-table .appointment-status-form {
  width: 100%;
}

.appointments-table .status-select {
  width: 100%;
}

  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-end;
}

.filter-bar .form-group {
  margin-bottom: 0;
  min-width: 140px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.password-set-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.password-set-form input[type="password"] {
  min-width: 10rem;
  max-width: 12rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
}

.password-set-form-block {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.password-set-form-block input[type="password"] {
  min-width: 0;
  max-width: none;
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

.password-set-form-block .btn {
  width: 100%;
}

/* Access (admin/acesso) */
.access-section {
  margin-bottom: 3rem;
}

.access-section-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.access-form-card {
  margin-bottom: 1.5rem;
}

.access-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.access-empty {
  margin: 0;
  color: var(--color-text-muted);
}

.access-table-wrap {
  margin-bottom: 1rem;
}

.access-table {
  min-width: 0;
}

.access-table .col-created,
.access-table .col-password,
.access-table .col-address,
.access-table .col-contacts,
.access-table .col-actions {
  display: none;
}

.access-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.access-row.is-selected td {
  background: rgba(43, 76, 155, 0.1);
}

.access-row:focus {
  outline: none;
}

.access-row:focus-visible td {
  box-shadow: inset 0 0 0 2px var(--color-brand-blue);
}

.access-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.access-contacts-list {
  margin: 0;
  padding-left: 1rem;
}

.record-detail-panel {
  padding: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(33, 33, 33, 0.08);
}

.record-detail-header {
  margin-bottom: 1.25rem;
}

.record-detail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.record-detail-list {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 1rem;
}

.record-detail-item {
  margin: 0;
}

.record-detail-item dt {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.record-detail-item dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  word-break: break-word;
}

.record-detail-item a {
  color: var(--color-brand-blue);
  text-decoration: none;
}

.record-detail-item a:hover {
  text-decoration: underline;
}

.record-detail-contacts {
  margin: 0;
  padding-left: 1.1rem;
}

.record-detail-actions {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--color-border);
}

.record-detail-actions-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .access-hint,
  .access-details {
    display: none;
  }

  .access-table {
    min-width: 640px;
  }

  .access-table .col-created,
  .access-table .col-password,
  .access-table .col-address,
  .access-table .col-contacts,
  .access-table .col-actions {
    display: table-cell;
  }

  .access-row {
    cursor: default;
  }

  .access-row.is-selected td {
    background: transparent;
  }
}

/* Reports (admin/relatorios) */
.reports-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.reports-tab {
  display: block;
  text-align: center;
  padding: 0.8rem 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-brand-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.reports-tab:hover {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
  box-shadow: var(--shadow-sm);
}

.reports-tab:focus {
  outline: none;
}

.reports-tab:focus-visible {
  outline: 2px solid var(--color-brand-blue);
  outline-offset: 2px;
}

.reports-tab.is-active {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: var(--color-brand-yellow);
  box-shadow: var(--shadow-md);
}

.reports-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.reports-empty {
  margin: 0;
  color: var(--color-text-muted);
}

.reports-filter-bar {
  margin-bottom: 1.25rem;
}

.reports-stat-grid {
  margin-bottom: 1.5rem;
}

.reports-table-title {
  margin: 0;
  padding: 1rem 1rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-dark);
}

.reports-table-wrap {
  margin-bottom: 1.25rem;
}

.reports-table {
  min-width: 0;
}

.reports-table-compact {
  min-width: 0;
}

.reports-table .col-address,
.reports-table .col-created,
.reports-table .col-country,
.reports-table .col-region,
.reports-table .col-city,
.reports-table .col-pickup,
.reports-table .col-destination,
.reports-table .col-phone,
.reports-table .col-message,
.reports-table .col-device-name {
  display: none;
}

.reports-history-scroll {
  max-height: min(70vh, 560px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.reports-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.reports-pagination-info {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.reports-pagination [aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}

.report-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.report-row.is-selected td {
  background: rgba(43, 76, 155, 0.1);
}

.report-row:focus {
  outline: none;
}

.report-row:focus-visible td {
  box-shadow: inset 0 0 0 2px var(--color-brand-blue);
}

.reports-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.report-detail-panel .record-detail-title {
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .reports-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .reports-hint,
  .reports-details {
    display: none;
  }

  .reports-table {
    min-width: 640px;
  }

  .reports-table .col-address,
  .reports-table .col-created,
  .reports-table .col-country,
  .reports-table .col-region,
  .reports-table .col-city,
  .reports-table .col-pickup,
  .reports-table .col-destination,
  .reports-table .col-phone,
  .reports-table .col-message,
  .reports-table .col-device-name {
    display: table-cell;
  }

  .report-row {
    cursor: default;
  }

  .report-row.is-selected td {
    background: transparent;
  }
}

.hidden {
  display: none;
}

.wait-fields.hidden {
  display: none;
}

/* ── Mobile-first utilities & app area ── */

.app-header-inner {
  flex-wrap: wrap;
}

.app-header .user-label {
  order: 3;
  width: 100%;
  margin-left: 0;
  font-size: 0.85rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 600px) {
  .app-header-full-brand .app-header-inner {
    align-items: center;
    padding: 0.85rem 0;
  }

  .app-header .user-label {
    order: initial;
    width: auto;
    margin-left: auto;
    padding-top: 0;
    border-top: none;
  }
}

.app-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem 1.25rem;
  padding-bottom: 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.app-nav::-webkit-scrollbar {
  display: none;
}

.app-nav .nav-link {
  flex-shrink: 0;
  padding: 0.5rem 0.15rem;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .app-main {
    padding: 2rem 0 3rem;
  }
}

.table-wrap {
  -webkit-overflow-scrolling: touch;
}

table {
  min-width: 560px;
}

.filter-bar {
  flex-direction: column;
  align-items: stretch;
}

.filter-bar .form-group {
  width: 100%;
  min-width: 0;
}

.filter-bar .btn {
  width: 100%;
}

@media (min-width: 600px) {
  .filter-bar {
    flex-direction: row;
    align-items: flex-end;
  }

  .filter-bar .form-group {
    width: auto;
    min-width: 140px;
  }

  .filter-bar .btn {
    width: auto;
  }
}

.prose .hero-actions {
  flex-direction: column;
}

.prose .hero-actions .btn {
  width: 100%;
}

@media (min-width: 600px) {
  .prose .hero-actions {
    flex-direction: row;
  }

  .prose .hero-actions .btn {
    width: auto;
  }
}

.card-highlight {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .card-highlight {
    padding: 2rem;
  }
}

.site-footer {
  padding: 2.5rem 0 1rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 3rem 0 1rem;
  }
}

.inline-actions .btn {
  flex: 1 1 auto;
}

@media (min-width: 480px) {
  .inline-actions .btn {
    flex: initial;
  }
}
