/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   GIDIÃƒÆ’O AUTO PEÃƒâ€¡AS Ã¢â‚¬â€ Portal Design System v4
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

/* Ã¢â€â‚¬Ã¢â€â‚¬ Design Tokens Ã¢â€â‚¬Ã¢â€â‚¬ */
:root {
  --font-sans: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --color-bg: #ffffff;
  --color-primary: #0b2c7a;
  --color-primary-dark: #081f58;
  --color-primary-light: #e8edf8;
  --color-primary-glow: rgba(11, 44, 122, 0.12);
  --color-secondary: #9ca3af;
  --color-accent: #ce0e2d;
  --color-gold: #f48b46;
  --color-text: #1a1a1a;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-surface: #f7f9fd;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 4px 24px rgba(11, 44, 122, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Reset & Base Ã¢â€â‚¬Ã¢â€â‚¬ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(11, 44, 122, 0.3);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

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

/* Ã¢â€â‚¬Ã¢â€â‚¬ Scroll Animations Ã¢â€â‚¬Ã¢â€â‚¬ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.photo-grid .animate-on-scroll:nth-child(2) { transition-delay: 120ms; }
.photo-grid .animate-on-scroll:nth-child(3) { transition-delay: 240ms; }

.contact-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.contact-grid .animate-on-scroll:nth-child(2) { transition-delay: 90ms; }
.contact-grid .animate-on-scroll:nth-child(3) { transition-delay: 180ms; }
.contact-grid .animate-on-scroll:nth-child(4) { transition-delay: 270ms; }

/* Reveal must never leave content stranded (reduced motion / headless / no-JS) */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   HEADER
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  transition: box-shadow var(--transition-base);
}

.site-header:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--color-primary);
}

.brand img {
  display: block;
  width: clamp(140px, 14vw, 200px);
  height: auto;
  transition: transform var(--transition-base);
}

.brand:hover img {
  transform: scale(1.03);
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

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

.brand.compact { min-width: 0; }
.brand.compact img { width: 110px; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  letter-spacing: 0.2px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   BUTTONS
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.entry-button,
.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 0;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.entry-button,
.primary-button {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 44, 122, 0.25);
}

.entry-button:hover,
.primary-button:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.entry-button:active,
.primary-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(11, 44, 122, 0.2);
}

.entry-button svg,
.primary-button svg {
  flex-shrink: 0;
}

.secondary-button {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.secondary-button:hover {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.secondary-button:active {
  transform: translateY(0);
}

.ghost-button {
  background: transparent;
  color: var(--color-primary);
  text-align: left;
  padding: 10px 16px;
}

.ghost-button:hover {
  background: var(--color-primary-light);
}

.full-button {
  width: 100%;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   TYPOGRAPHY
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  text-wrap: balance;
  color: var(--color-text);
}

h1 {
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.5px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.3;
}

p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   HERO
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: 1240px;
  min-height: auto;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px) clamp(18px, 3vw, 36px);
}

/* Ambient brand glow behind the hero */
.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(-80px, -6vw, -40px);
  right: -12%;
  width: min(680px, 62%);
  aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(11, 44, 122, 0.16), transparent 70%),
    radial-gradient(closest-side at 70% 80%, rgba(244, 139, 70, 0.14), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  bottom: -6%;
  width: min(420px, 44%);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(206, 14, 45, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  min-width: 0;
  max-width: 640px;
}

.hero-subtitle {
  max-width: 540px;
  color: #4b5563;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions .primary-button {
  padding: 12px 32px;
  font-size: 15px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(11, 44, 122, 0.08);
  background: linear-gradient(200deg, transparent 55%, rgba(8, 31, 88, 0.28));
  pointer-events: none;
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

/* Floating location badge over the hero image */
.hero-image-badge {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  padding: 8px 16px 8px 9px;
  box-shadow: 0 10px 28px rgba(8, 31, 88, 0.22);
}

.hero-image-badge-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
}

.hero-image-badge-text {
  display: grid;
  line-height: 1.1;
}

.hero-image-badge-text strong {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
}

.hero-image-badge-text small {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.portal-benefits-carousel {
  width: min(1240px, calc(100% - clamp(40px, 8vw, 96px)));
  min-width: 0;
  margin: clamp(0px, 1vw, 10px) auto clamp(18px, 3vw, 34px);
  border: 1px solid rgba(11, 44, 122, 0.12);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 16px;
  overflow: hidden;
}

.portal-benefits-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.portal-benefits-heading h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.portal-benefits-heading span {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.portal-benefits-viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38px, #000 calc(100% - 38px), transparent 100%);
}

.portal-benefits-marquee {
  display: flex;
  width: max-content;
  animation: portal-benefits-scroll 30s linear infinite;
}

.portal-benefits-carousel:hover .portal-benefits-marquee,
.portal-benefits-carousel:focus-within .portal-benefits-marquee {
  animation-play-state: paused;
}

.portal-benefits-set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.portal-benefit-card {
  flex: 0 0 220px;
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(11, 44, 122, 0.11);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 14px;
}

.portal-benefit-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.portal-benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.portal-benefit-card strong {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.2;
}

.portal-benefit-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.35;
}

@keyframes portal-benefits-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .portal-benefits-marquee {
    animation: none;
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
  }

  .portal-benefit-card {
    scroll-snap-align: center;
  }
}
/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   SECTION LAYOUT
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.content-band {
  background: var(--color-primary-light);
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   INSTITUTIONAL / ABOUT
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.institutional-section {
  background: var(--color-surface);
}

.institutional-section .section-inner {
  padding-top: clamp(32px, 4vw, 52px);
}

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

.photo-feature {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth);
}

.photo-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.photo-feature-image {
  position: relative;
  overflow: hidden;
}

.photo-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 31, 88, 0.30));
  opacity: 0.75;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.photo-feature:hover .photo-feature-image::after {
  opacity: 0.45;
}

.photo-feature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-feature:hover .photo-feature-image img {
  transform: scale(1.06);
}

.photo-feature-content {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.photo-feature h3 {
  margin-bottom: 0;
  color: var(--color-primary);
  font-size: 18px;
}

.photo-feature p {
  margin-bottom: 0;
  font-size: 14px;
}

.photo-kicker {
  width: fit-content;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   REDE ANCORA
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.services-band {
  background: #ffffff;
}

.services-band .section-inner {
  padding-top: 0;
}

.rede-ancora-section {
  display: grid;
  gap: 24px;
}

.rede-ancora-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.rede-ancora-brand {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 360px;
  overflow: hidden;
  border-right: 1px solid rgba(11, 44, 122, 0.1);
  background: #0b0d12;
  padding: 40px 34px;
}

.rede-ancora-brand::before,
.rede-ancora-brand::after {
  position: absolute;
  inset: 0;
  content: "";
}

.rede-ancora-brand::before {
  background:
    url("/portal/assets/pecasfundo.jpg") center / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.03);
}

.rede-ancora-brand::after {
  background:
    radial-gradient(120% 80% at 50% 12%, rgba(206, 14, 45, 0.30), transparent 55%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.46), rgba(8, 10, 14, 0.86)),
    linear-gradient(135deg, rgba(11, 44, 122, 0.34), transparent 60%);
}

.rede-ancora-brand img {
  position: relative;
  z-index: 2;
  width: min(300px, 70vw);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
}

.rede-ancora-tagline {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-align: center;
  text-transform: uppercase;
}

.rede-ancora-content {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 54px);
}

.rede-ancora-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border: 1px solid rgba(11, 44, 122, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
}

.rede-ancora-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(206, 14, 45, 0.18);
}

.rede-ancora-content h2 {
  margin-bottom: 0;
  color: var(--color-primary);
  font-size: 40px;
  line-height: 1.08;
  text-wrap: balance;
}

.rede-ancora-content p {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
}

.rede-ancora-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(11, 44, 122, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(11, 44, 122, 0.12);
}

.rede-ancora-facts div {
  min-width: 0;
  background: #ffffff;
  padding: 16px;
  transition: background var(--transition-fast);
}

.rede-ancora-facts div:hover {
  background: var(--color-primary-light);
}

.rede-ancora-facts dt {
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.rede-ancora-facts [data-slot-counter] {
  display: inline-block;
  min-width: 7ch;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.rede-ancora-facts [data-slot-counter].is-spinning {
  color: var(--color-primary-dark);
}

.rede-ancora-facts dd {
  margin: 5px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  text-transform: uppercase;
}

.rede-ancora-link {
  justify-self: start;
}

.rede-ancora-link svg {
  transition: transform var(--transition-base);
}

.rede-ancora-link:hover svg {
  transform: translate(2px, -2px);
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   CONTACT
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.contact-section {
  display: grid;
  gap: 28px;
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  border: 1px solid rgba(11, 44, 122, 0.1);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 18px;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.contact-card span {
  min-width: 0;
}

.contact-card strong,
.contact-card small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-card strong {
  color: var(--color-text);
  font-size: 16px;
}

.contact-card small {
  margin-top: 3px;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 13px;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
  transition: transform var(--transition-base);
}

.contact-card:hover .contact-icon {
  transform: scale(1.08);
}

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

.contact-icon .brand-logo {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: none;
}

.contact-icon .brand-logo-whatsapp {
  width: 27px;
  height: 27px;
}

.contact-card-whatsapp .contact-icon {
  background: #25d366;
  color: #ffffff;
}

.contact-card-instagram .contact-icon {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
}

.hours-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(11, 44, 122, 0.1);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 18px 22px;
}

.hours-strip-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hours-strip-label svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.hours-strip strong {
  color: var(--color-primary);
  font-size: 14px;
}

.hours-strip span {
  color: var(--color-text);
  font-weight: 700;
  font-size: 14px;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   LOCATION
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.location-section {
  background: #ffffff;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.location-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.location-card h2 {
  font-size: 24px;
}

.location-actions {
  display: grid;
  gap: 10px;
}

.location-actions .primary-button,
.location-actions .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.location-facts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.location-facts dt {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-facts dd {
  margin: 4px 0 0;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.45;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   FOOTER
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.site-footer {
  background: var(--color-primary);
  color: #ffffff;
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(22px, 3vw, 32px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  width: 150px;
  height: auto;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col strong {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   AUTH DIALOG
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.auth-dialog {
  width: min(460px, calc(100vw - 24px));
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: var(--radius-lg);
}

.auth-dialog::backdrop {
  background: rgba(7, 30, 84, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.auth-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.close-button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.auth-mode-tabs,
.auth-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-mode-tabs button,
.auth-links button {
  min-height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.auth-mode-tabs button:hover {
  color: var(--color-primary);
  border-color: rgba(11, 44, 122, 0.3);
}

.auth-mode-tabs button.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}

.auth-links {
  grid-template-columns: 1fr;
}

.auth-links button:hover {
  color: var(--color-primary);
  border-color: rgba(11, 44, 122, 0.3);
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   FORMS & INPUTS
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
label {
  display: grid;
  gap: 6px;
  color: var(--color-text);
  font-weight: 700;
}

label span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: #ffffff;
  color: var(--color-text);
  font-size: 15px;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

input::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

.muted-line,
.form-message {
  min-height: 22px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.form-message.error { color: var(--color-error); }
.form-message.success { color: var(--color-success); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   APP AREA (Authenticated)
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
body.portal-authenticated .site-header,
body.portal-authenticated .site-footer {
  display: none;
}

body.portal-authenticated {
  background: var(--color-surface);
}

body.portal-authenticated main {
  min-height: 100dvh;
}

body.portal-authenticated main > section:not(#app-area) {
  display: none;
}

.app-area {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100dvh - 85px);
  border-top: 1px solid var(--color-border);
}

.app-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100dvh;
  padding: 22px 16px;
  border-right: 1px solid var(--color-border);
  background: #ffffff;
}

.nav-button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text-muted);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.nav-button:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.nav-button.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 44, 122, 0.2);
}

.app-content {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px clamp(16px, 4vw, 42px);
  background: var(--color-surface);
}

/* Session Context */
.session-context {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -28px clamp(-42px, -4vw, -16px) 18px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px clamp(16px, 4vw, 42px);
}

.session-context strong,
.session-context small {
  display: block;
}

.session-context > div {
  flex: 1 1 auto;
  min-width: 0;
}

.session-context strong {
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.2;
}

.session-context small {
  margin-top: 3px;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 13px;
}

.customer-account-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 8px;
  max-width: min(100%, 640px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  transition:
    gap 220ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.customer-account-tab {
  display: grid;
  flex: 0 0 min(300px, calc(50% - 4px));
  min-width: 0;
  min-height: 70px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-text);
  padding: 10px 12px;
  text-align: left;
  transition: background var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.customer-account-tab:hover {
  border-color: rgba(11, 44, 122, 0.22);
  background: var(--color-primary-light);
}

.customer-account-tab[aria-selected="true"] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.customer-account-tab strong,
.customer-account-tab span,
.customer-account-tab small {
  color: inherit;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-account-tab strong {
  font-size: 14px;
}

.customer-account-tab span {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}

.customer-account-tab small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0.86;
}

/* Panels */
.portal-panel,
.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}

.portal-panel { padding: 24px; }
.service-card { padding: 24px; }
.service-card h3 { color: var(--color-primary); }

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.client-heading {
  align-items: flex-start;
}

.client-heading > div {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.client-heading h2 {
  margin-bottom: 0;
}

/* Segmented Control */
.segmented-control {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.segmented-control button {
  min-height: 40px;
  min-width: 110px;
  border: 0;
  border-right: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-text-muted);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.segmented-control button:last-child {
  border-right: 0;
}

.segmented-control button:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.segmented-control button.active {
  background: var(--color-primary);
  color: #ffffff;
}

/* Customer Card */
.customer-context {
  margin-bottom: 18px;
}

.customer-context .customer-card {
  min-height: auto;
  background: #ffffff;
}

.customer-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 110px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--color-primary-light);
}

.customer-card-main { background: #ffffff; }

.customer-card strong {
  color: var(--color-primary);
  font-size: 22px;
  line-height: 1.15;
}

.customer-card p {
  margin-bottom: 0;
  font-size: 13px;
}

.card-label {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Document Filters & Toolbar */
.document-filters {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(220px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.document-filters button {
  min-height: 44px;
  white-space: nowrap;
}

.document-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.document-toolbar strong {
  color: var(--color-text);
  font-size: 17px;
}

.document-toolbar p {
  margin-bottom: 0;
  font-size: 13px;
}

.document-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* Document List */
.document-list,
.module-list,
.admin-list {
  display: grid;
  gap: 10px;
}

.document-item,
.module-item,
.admin-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.document-item:hover {
  border-color: rgba(11, 44, 122, 0.15);
  box-shadow: var(--shadow-sm);
}

.document-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  background: #ffffff;
  overflow: hidden;
}

.document-item header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.document-title {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.document-title strong {
  color: var(--color-text);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.document-title small {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
}

.document-badge {
  width: fit-content;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge {
  display: inline-block;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Status colors */
.status-badge.status-aberto { background: #fff7ed; color: #9a3412; }
.status-badge.status-baixado,
.status-badge.status-finalizado,
.status-badge.status-autorizada { background: #ecfdf5; color: #166534; }
.status-badge.status-cancelado,
.status-badge.status-vencido { background: #fef2f2; color: #991b1b; }
.status-pago { background: #ecfdf5; color: #166534; }
.status-pendente { background: #eef2ff; color: var(--color-primary); }
.status-a-vencer { background: #fff7ed; color: #9a3412; }
.status-vencido { background: #fef2f2; color: #991b1b; }
.status-autorizada { background: #ecfdf5; color: #166534; }

.document-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
}

.document-facts > div {
  min-width: 0;
}

.document-facts dt {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.document-facts dd {
  margin: 3px 0 0;
  color: var(--color-text);
  font-weight: 700;
  white-space: nowrap;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 148px;
}

.document-meta {
  display: block;
  max-width: min(720px, 72vw);
  margin-top: 10px;
  overflow: visible;
  color: var(--color-text-muted);
  font-size: 12px;
  font-family: "Segoe UI Mono", "Consolas", monospace;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Document Card (horizontal layout) Ã¢â€â‚¬Ã¢â€â‚¬ */
.document-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  overflow: hidden;
}

.document-card .document-card-top {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 1.1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
}

.document-card .document-title {
  gap: 4px;
}

.document-card .document-facts {
  margin: 0;
  gap: 8px 18px;
}

.document-card .document-actions {
  min-width: 0;
  gap: 6px;
}

.document-card .document-actions .secondary-button,
.document-card .document-actions .primary-button {
  padding: 8px 16px;
  font-size: 12px;
  min-height: 38px;
}

.document-card-footer {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 10px 20px;
}

.document-card .document-meta {
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.document-invoice-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.document-invoice-notes strong {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.document-invoice-notes span {
  min-width: 0;
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
}

.document-financial-status,
.document-billing-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.document-billing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
}

.document-billing-notice {
  margin-left: auto;
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: anywhere;
}

.document-financial-status strong,
.document-billing-status strong {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.document-financial-status span,
.document-billing-status span {
  min-width: 0;
  color: var(--color-text-muted);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.document-financial-status.financial-paid strong,
.document-billing-status.billing-issued strong {
  background: #ecfdf5;
  color: #166534;
}

.document-financial-status.financial-open strong,
.document-billing-status.billing-waiting strong,
.document-billing-status.billing-missing strong {
  background: #fff7ed;
  color: #9a3412;
}

.document-financial-status.financial-missing strong {
  background: #eef2ff;
  color: var(--color-primary);
}

.document-billing-status.billing-paid strong {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Empty State */
.empty-state {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 2px dashed rgba(11, 44, 122, 0.15);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: center;
}

.empty-state strong {
  color: var(--color-primary);
  font-size: 17px;
}

.empty-state p {
  margin-bottom: 0;
}

/* Admin */
.admin-filter {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.admin-filter label {
  display: grid;
  gap: 6px;
}

.admin-filter-status {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-filter-status strong {
  color: var(--color-text);
  font-size: 15px;
}

.admin-filter-status p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--color-border);
}

.admin-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  padding: 9px 12px;
  font-weight: 800;
}

.admin-tab.active {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}

.admin-tab-panel {
  display: grid;
  gap: 12px;
}

.email-automation-panel {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(280px, 1.6fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: #fff;
}

.email-automation-panel h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.25;
}

.email-automation-panel p {
  margin: 4px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.email-automation-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 8px;
  margin: 0;
}

.email-automation-meta div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.email-automation-meta dt {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
}

.email-automation-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.report-option {
  display: grid;
  gap: 4px;
  min-height: 72px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  color: var(--color-text);
  text-align: left;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.report-option:hover {
  border-color: rgba(11, 44, 122, 0.28);
  background: var(--color-surface);
}

.report-option.active {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.report-option strong {
  font-size: 14px;
  line-height: 1.2;
}

.report-option span {
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.lead-time-summary,
.delivery-report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
}

.lead-time-metric {
  display: grid;
  gap: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  background: #fff;
}

.lead-time-metric span {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
}

.lead-time-metric strong {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.2;
}

.lead-time-report-list .email-report-row {
  grid-template-columns: minmax(90px, 0.7fr) minmax(96px, 0.7fr) minmax(96px, 0.7fr) minmax(96px, 0.7fr) minmax(96px, 0.7fr) minmax(120px, 0.9fr);
}

.client-module-tabs,
.collaborator-module-tabs,
.delivery-workspace-tabs {
  margin: 12px 0 10px;
}

.collaborator-delivery-panel,
.collaborator-delivery-panel [data-delivery-section-panel] {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.delivery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
}

.delivery-toolbar strong {
  color: var(--color-text);
  font-size: 15px;
}

.delivery-toolbar p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

.delivery-list,
.delivery-route-panel,
.delivery-admin-list {
  display: grid;
  gap: 8px;
}

.delivery-route-builder {
  position: sticky;
  bottom: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-top: 2px;
  padding: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.delivery-vehicle-choice {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: min(260px, 100%);
  margin: 0;
  border: 0;
  padding: 0;
}

.delivery-vehicle-choice legend {
  width: 100%;
  margin: 0 0 2px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.delivery-vehicle-choice label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  background: #fff;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 900;
}

.delivery-vehicle-choice input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--color-primary);
}

.delivery-route-builder span {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.delivery-route-builder strong {
  margin-right: auto;
  color: var(--color-text);
  font-size: 13px;
}

.delivery-location-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  background: #fff;
}

.delivery-location-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.delivery-location-form span {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.delivery-location-form input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--color-text);
}

.delivery-location-notes {
  grid-column: span 2;
}

.delivery-location-active {
  display: inline-flex !important;
  align-items: center;
  align-self: end;
  gap: 7px !important;
  min-height: 38px;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
}

.delivery-location-active input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 0;
  accent-color: var(--color-primary);
}

.delivery-location-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.delivery-row,
.delivery-route-card,
.delivery-admin-row,
.delivery-location-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.65fr) minmax(78px, 0.55fr) minmax(150px, 1.1fr) minmax(120px, 0.8fr) minmax(180px, 1.5fr) minmax(150px, 0.9fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  color: var(--color-text);
}

.delivery-select-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
}

.delivery-select-cell input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--color-primary);
}

.delivery-pin-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.delivery-pin-cell .secondary-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
}

.delivery-row strong,
.delivery-route-card strong,
.delivery-admin-row strong,
.delivery-location-row strong {
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.25;
}

.delivery-row small,
.delivery-route-card p,
.delivery-admin-row span,
.delivery-location-row span,
.delivery-location-row small {
  display: block;
  margin: 2px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}


.delivery-route-card {
  grid-template-columns: minmax(180px, 1fr) auto;
}

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

.delivery-route-stops {
  display: grid;
  gap: 8px;
}

.delivery-stop-row {
  display: grid;
  grid-template-columns: 70px minmax(84px, 0.6fr) minmax(160px, 1.2fr) auto minmax(150px, auto);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
}

.delivery-stop-row strong {
  display: block;
  color: var(--color-text);
  font-size: 13px;
}

.delivery-stop-row small {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
}

.delivery-stop-actions {
  display: inline-flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.delivery-stop-row .primary-button,
.delivery-stop-row .secondary-button,
.delivery-route-actions .primary-button,
.delivery-route-actions .secondary-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
}

.delivery-route-summary {
  grid-template-columns: minmax(180px, 1fr) minmax(220px, auto) auto;
  align-items: center;
}

.delivery-route-summary.is-live {
  border-color: rgba(22, 163, 74, 0.32);
  background: #f7fef9;
}

.delivery-route-metrics,
.delivery-stop-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 8px;
  margin: 0;
}

.delivery-route-metrics div,
.delivery-stop-facts div {
  min-width: 0;
}

.delivery-route-metrics dt,
.delivery-stop-facts dt {
  color: var(--color-text-muted);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.delivery-route-metrics dd,
.delivery-stop-facts dd {
  margin: 2px 0 0;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.delivery-route-live-list {
  display: grid;
  gap: 10px;
}

.delivery-stop-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: #fff;
}

.delivery-stop-card.is-delivered {
  background: #f8faf9;
}

.delivery-stop-card header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.delivery-stop-sequence {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.delivery-stop-card strong {
  display: block;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.25;
}

.delivery-stop-card small,
.delivery-stop-observation {
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.delivery-stop-observation {
  margin: 0;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.delivery-stop-card .delivery-stop-actions {
  justify-content: flex-end;
}

.delivery-parts-panel {
  display: grid;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 9px;
  background: #f8fafc;
}

.delivery-parts-head,
.delivery-parts-row {
  display: grid;
  grid-template-columns: minmax(82px, 0.8fr) minmax(150px, 1.5fr) minmax(84px, 0.9fr) minmax(54px, 0.45fr);
  gap: 8px;
  align-items: start;
}

.delivery-parts-head span {
  color: var(--color-text-muted);
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.delivery-parts-row {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 6px;
}

.delivery-parts-row span,
.delivery-parts-empty {
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.delivery-parts-row span:last-child {
  font-weight: 900;
  text-align: right;
}

.delivery-ranking-shell {
  display: grid;
  gap: 8px;
}

.delivery-ranking-shell > strong {
  color: var(--color-text);
  font-size: 14px;
}

.delivery-ranking-list,
.delivery-report-table {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.delivery-ranking-row,
.delivery-report-row {
  display: grid;
  gap: 10px;
  align-items: center;
  min-width: 720px;
  border-bottom: 1px solid var(--color-border);
  padding: 9px 10px;
  color: var(--color-text);
  font-size: 12px;
}

.delivery-ranking-row {
  grid-template-columns: minmax(180px, 1fr) minmax(90px, 0.5fr) minmax(120px, 0.6fr) minmax(120px, 0.6fr);
}

.delivery-report-row {
  grid-template-columns: minmax(92px, 0.55fr) minmax(170px, 1fr) minmax(145px, 0.8fr) minmax(105px, 0.6fr) minmax(105px, 0.6fr) minmax(105px, 0.6fr) minmax(110px, 0.65fr) minmax(76px, 0.45fr) minmax(220px, 1.2fr);
}

.delivery-ranking-row:last-child,
.delivery-report-row:last-child {
  border-bottom: 0;
}

.delivery-ranking-row.is-head,
.delivery-report-row.is-head {
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.delivery-report-row strong,
.delivery-ranking-row strong {
  color: var(--color-text);
  font-size: 12px;
}

.delivery-report-row small {
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.delivery-photo-button {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 11px;
}

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

.delivery-admin-section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.delivery-admin-row {
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1fr);
}

.delivery-location-row {
  grid-template-columns: minmax(150px, 0.85fr) minmax(180px, 1fr) auto auto;
}

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

.danger-button {
  min-height: 38px;
  border: 1px solid rgba(185, 28, 28, 0.32);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  background: #fff;
  color: #991b1b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.danger-button:hover,
.danger-button:focus-visible {
  border-color: rgba(185, 28, 28, 0.62);
  background: #fef2f2;
  color: #7f1d1d;
}

.delivery-pin-dialog {
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: hidden;
}

.delivery-pin-dialog .site-dialog-card {
  max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
}

.delivery-pin-map-shell {
  position: relative;
  height: clamp(220px, 42dvh, 360px);
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.delivery-pin-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  background: var(--color-surface);
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.delivery-pin-map .leaflet-tile,
.delivery-pin-map img.leaflet-tile,
.delivery-pin-map .leaflet-marker-icon,
.delivery-pin-map .leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
}

.delivery-pin-map .leaflet-control-layers,
.delivery-pin-map .leaflet-control-zoom {
  border: 0;
  box-shadow: var(--shadow-sm);
}

.delivery-pin-map .leaflet-control-layers-toggle,
.delivery-pin-map .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  line-height: 34px;
}

.delivery-pin-map .leaflet-control-layers-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  color: var(--color-primary);
}

.delivery-pin-map .leaflet-control-layers-toggle::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: 4px 4px 0 -1px #fff, 4px 4px 0 1px currentColor;
}

.delivery-pin-center-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 500;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--color-error);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.32);
  pointer-events: none;
  transform: translate(-50%, -100%) rotate(-45deg);
}

.delivery-pin-center-marker::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: #fff;
}

.delivery-proof-input {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.email-admin-filter {
  display: grid;
  gap: 10px;
}

.email-filter-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.email-filter-statuses label,
.email-select-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 9px;
  background: #fff;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.email-filter-statuses input[type="checkbox"],
.email-select-all input[type="checkbox"],
.email-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--color-primary);
}

.email-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.email-filter-grid label {
  display: grid;
  gap: 5px;
}

.email-filter-grid span {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.email-filter-grid input,
.email-filter-grid select {
  min-height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--color-text);
}

.email-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
}

.email-action-bar strong {
  margin-right: auto;
  color: var(--color-text);
  font-size: 14px;
}

.email-document-list {
  display: grid;
  align-content: start;
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.email-row,
.email-report-row {
  display: grid;
  grid-template-columns: 30px minmax(90px, 0.8fr) minmax(90px, 0.8fr) minmax(180px, 1.5fr) minmax(82px, 0.7fr) minmax(90px, 0.7fr) minmax(130px, 1fr) minmax(120px, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 11.5px;
  line-height: 1.25;
}

.email-report-row {
  grid-template-columns: minmax(110px, 0.8fr) minmax(120px, 0.8fr) minmax(210px, 1.35fr) minmax(240px, 1.6fr) minmax(105px, 0.7fr) minmax(120px, 0.8fr);
  gap: 12px;
  align-items: start;
  min-height: 58px;
  padding: 10px 12px;
}

.email-row:last-child,
.email-report-row:last-child {
  border-bottom: 0;
}

.email-row:hover,
.email-report-row:hover {
  background: var(--color-surface);
}

.email-row strong,
.email-report-row strong {
  color: var(--color-text);
  font-size: 11.5px;
}

.email-row > span,
.email-report-row > span {
  min-width: 0;
}

.email-row > span:not(.send-status) {
  overflow: hidden;
}

.email-row strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-row small,
.email-report-row small {
  display: block;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-report-row small {
  line-height: 1.35;
}

.email-report-row .report-message small,
.email-report-row .report-customer small,
.email-report-row .report-key small {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.email-report-row .report-message small {
  color: var(--color-text);
}

.email-report-row .report-status {
  justify-self: start;
}

.send-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  min-height: 22px;
  padding: 3px 7px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.send-status.pending { background: #e8edf8; color: var(--color-primary); }
.send-status.sending { background: #fef3c7; color: #92400e; }
.send-status.sent,
.send-status.manual_sent { background: #dcfce7; color: #166534; }
.send-status.failed,
.send-status.sem_email { background: #fee2e2; color: #991b1b; }

.site-dialog {
  width: min(430px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
  background: transparent;
  color: var(--color-text);
}

.site-dialog::backdrop {
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
}

.site-dialog-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.site-dialog-card h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 22px;
}

.site-dialog-message {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.site-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.admin-inline-state {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.admin-result {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.3fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  background: #ffffff;
}

.admin-result strong {
  color: var(--color-text);
}

.admin-result p {
  margin: 4px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.admin-result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 10px;
  margin: 0;
}

.admin-result dt {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-result dd {
  margin: 2px 0 0;
  color: var(--color-text);
  font-weight: 700;
}

.admin-item {
  display: grid;
  gap: 12px;
}

.admin-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-editor-header strong {
  display: block;
  color: var(--color-text);
  font-size: 17px;
}

.admin-editor-header p {
  margin: 4px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.admin-fields {
  display: grid;
  grid-template-columns: 1.2fr 160px 160px auto;
  gap: 10px;
  align-items: end;
}

.permission-section {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.permission-section > strong {
  color: var(--color-text);
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.permission-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  font-weight: 700;
}

.permission-grid input {
  width: 18px;
  min-height: 18px;
}

/* Collaborator */
.collaborator-launcher {
  display: grid;
  justify-items: start;
}

.collaborator-launcher h2 { margin-bottom: 8px; }

.stock-launch-button {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 460px);
  min-height: 170px;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  padding: 28px;
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow);
}

.stock-launch-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(11, 44, 122, 0.3);
}

.stock-launch-button:disabled { opacity: 0.7; }

.stock-launch-button > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
}

.stock-launch-button > span svg {
  stroke: #ffffff;
}

.stock-launch-button strong {
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.stock-launch-button small {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 13px;
}

.collaborator-link-form {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

/* Service icons (legacy) */
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

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

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   RESPONSIVE Ã¢â‚¬â€ TABLET
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
@media (max-width: 1024px) {
  .main-nav { display: none; }

  .hero-section,
  .two-column,
  .rede-ancora-card,
  .services-grid,
  .location-layout,
  .form-grid,
  .document-filters,
  .collaborator-launcher,
  .admin-filter,
  .admin-result,
  .admin-fields,
  .customer-overview {
    grid-template-columns: 1fr;
  }

  .document-card .document-card-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .document-card .document-actions {
    flex-direction: row;
  }

  .hero-section {
    min-height: auto;
    gap: 40px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-area {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    border-top: 0;
    background: var(--color-surface);
  }

  .app-content { display: contents; }

  .app-sidebar {
    order: 2;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 12px;
  }

  .app-sidebar .brand { grid-column: 1 / -1; }

  .nav-button {
    min-height: 48px;
    text-align: center;
  }

  .session-context {
    order: 1;
    margin: 0;
  }

  .document-toolbar { display: grid; }
  .document-toolbar-actions { justify-content: stretch; }
  .document-toolbar-actions .secondary-button { width: 100%; }
  .document-card .document-actions {
    min-width: 0;
    flex-direction: row;
  }
  .admin-result dl { grid-template-columns: 1fr; }
  .admin-editor-header { display: grid; }
  .email-automation-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .email-automation-meta {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .delivery-row,
  .delivery-route-card,
  .delivery-admin-row,
  .delivery-stop-row,
  .delivery-location-row {
    grid-template-columns: 1fr;
  }

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

  .delivery-location-notes,
  .delivery-location-actions {
    grid-column: 1 / -1;
  }

  .delivery-route-actions {
    justify-content: stretch;
  }

  .rede-ancora-brand {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 44, 122, 0.1);
  }

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

  .portal-panel {
    order: 3;
    margin-inline: 16px;
  }

  .portal-panel { margin-bottom: 16px; }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   RESPONSIVE Ã¢â‚¬â€ MOBILE
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
  }

  .brand img { width: 130px; }

  .entry-button,
  .primary-button,
  .secondary-button {
    padding-inline: 16px;
    font-size: 13px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  h2 { font-size: 22px; }

  .rede-ancora-content h2 {
    font-size: 30px;
  }

  .rede-ancora-content,
  .rede-ancora-brand {
    padding: 24px;
  }

  .rede-ancora-facts {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-inline: 20px;
    overflow: hidden;
  }

  .hero-copy,
  .hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 16px;
  }.panel-heading,
  .site-footer,
  .document-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .segmented-control {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .segmented-control button {
    min-width: 0;
  }

  .document-item header {
    grid-template-columns: 1fr;
  }

  .document-facts {
    flex-direction: column;
    gap: 8px;
  }

  .document-actions { min-width: 0; }

  .document-meta {
    max-width: calc(100vw - 86px);
  }

  .document-card .document-card-top {
    padding: 14px;
    gap: 12px;
  }

  .document-card-footer {
    padding: 10px 14px;
  }

  .document-billing-row {
    display: grid;
    justify-items: start;
  }

  .document-billing-notice {
    margin-left: 0;
    text-align: left;
  }

  .document-card .document-actions {
    flex-direction: column;
  }

  .document-card .document-actions .secondary-button,
  .document-card .document-actions .primary-button {
    width: 100%;
  }

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

  .session-context {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .session-context > div {
    width: 100%;
    max-width: 100%;
  }

  .app-area {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    width: 100%;
  }

  .app-sidebar {
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100vw;
    padding: 8px 10px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
  }

  .app-sidebar .brand {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    min-height: 30px;
  }

  .app-sidebar .brand img {
    width: 92px;
  }

  .app-sidebar .brand span {
    display: none;
  }

  .app-sidebar .nav-button {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 7px 4px;
    text-align: center;
    font-size: 11px;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .customer-account-tabs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
  }

  .customer-account-tab {
    flex-basis: min(220px, 70vw);
    min-height: 64px;
    padding: 9px 10px;
  }

  .portal-panel {
    margin-inline: 10px;
    padding: 14px;
    max-width: calc(100vw - 20px);
    overflow-x: hidden;
  }

  .client-module-tabs,
  .collaborator-module-tabs,
  .delivery-workspace-tabs,
  .document-tabs {
    max-width: 100%;
  }

  .delivery-toolbar,
  .delivery-route-builder,
  .delivery-location-form,
  .delivery-list,
  .delivery-route-panel {
    min-width: 0;
    max-width: 100%;
  }

  .delivery-toolbar .document-toolbar-actions,
  .delivery-toolbar .secondary-button,
  .delivery-route-builder .primary-button,
  .delivery-location-actions .primary-button,
  .delivery-location-actions .secondary-button,
  .delivery-location-row-actions .secondary-button,
  .delivery-location-row-actions .danger-button,
  .delivery-route-actions .primary-button,
  .delivery-route-actions .secondary-button {
    width: 100%;
  }

  .delivery-route-builder,
  .delivery-location-form {
    grid-template-columns: 1fr;
  }

  .delivery-route-builder {
    display: grid;
    align-items: stretch;
  }

  .delivery-route-builder strong,
  .delivery-location-notes,
  .delivery-location-actions {
    grid-column: auto;
  }

  .delivery-location-actions {
    display: grid;
    width: 100%;
    justify-content: stretch;
  }

  .delivery-location-row-actions {
    display: grid;
    width: 100%;
  }

  .delivery-location-actions .primary-button,
  .delivery-location-actions .secondary-button,
  .delivery-location-row-actions .secondary-button,
  .delivery-location-row-actions .danger-button {
    width: 100%;
  }

  .delivery-row,
  .delivery-route-card,
  .delivery-stop-row,
  .delivery-location-row {
    padding: 10px;
  }

  .delivery-pin-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 10px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .delivery-pin-dialog .site-dialog-card {
    max-height: calc(100dvh - 10px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    gap: 8px;
    padding: 10px;
  }

  .delivery-pin-dialog .eyebrow {
    display: none;
  }

  .delivery-pin-dialog .site-dialog-card h2 {
    font-size: 18px;
  }

  .delivery-pin-dialog .email-filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .delivery-pin-dialog .email-filter-grid label:nth-child(n+3) {
    grid-column: 1 / -1;
  }

  .delivery-pin-dialog .site-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .delivery-pin-dialog .site-dialog-actions .primary-button,
  .delivery-pin-dialog .site-dialog-actions .secondary-button {
    width: 100%;
    min-height: 38px;
  }

  .delivery-pin-map-shell {
    height: min(46dvh, 340px);
    min-height: 240px;
  }

  .delivery-pin-map {
    height: 100%;
    min-height: 240px;
  }

  .delivery-route-summary,
  .delivery-stop-card header {
    grid-template-columns: 1fr;
  }

  .delivery-route-metrics,
  .delivery-stop-facts {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-stop-card .delivery-stop-actions {
    display: grid;
    justify-content: stretch;
  }

  .delivery-stop-card .primary-button,
  .delivery-stop-card .secondary-button {
    width: 100%;
  }

  .hours-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .brand img,
  .main-nav a,
  .entry-button {
    transition-duration: 0.01ms !important;
  }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   PRINT
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .auth-dialog,
  .password-dialog { display: none; }
}
