:root {
  color-scheme: light;
  --brand-blue: #0b437a;
  --brand-blue-deep: #072f55;
  --brand-blue-soft: #eaf2f8;
  --brand-red: #dc343d;
  --brand-red-deep: #b72431;
  --brand-red-soft: #fff0f1;
  --whatsapp: #128c67;
  --paper: #f3f6f8;
  --surface: #ffffff;
  --ink: #102638;
  --muted: #617381;
  --line: #d9e3e9;
  --line-strong: #bdccd6;
  --focus: #f4c84a;
  --shadow-sheet: 0 -24px 70px rgba(7, 47, 85, 0.24);
  --font: "Manrope", "Segoe UI", Arial, sans-serif;
  --header-height: 94px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.sheet-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

img,
svg {
  display: block;
}

svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

h1,
h2,
p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 16px;
  color: #fff;
  background: var(--brand-blue-deep);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 40px;
  border-top: 6px solid var(--brand-red);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand-home {
  min-width: 0;
  display: inline-flex;
  align-items: center;
}

.brand-home img {
  width: auto;
  height: 62px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.official-mark {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid #b9d0e0;
  border-radius: 999px;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.official-mark svg {
  width: 18px;
  height: 18px;
}

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: #fff;
}

.portal {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(360px, 43%) minmax(0, 57%);
}

.brand-stage {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 64px 64px 48px;
  border-right: 10px solid var(--brand-red);
  color: #fff;
  background: var(--brand-blue);
  isolation: isolate;
}

.brand-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 64px;
  width: 88px;
  height: 10px;
  background: var(--brand-red);
}

.brand-stage__label {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
}

.brand-message {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 72px 0;
}

.kicker,
.eyebrow {
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-stage .kicker {
  color: #fff;
}

.brand-stage .kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  display: inline-block;
  margin: 0 10px 3px 0;
  background: var(--brand-red);
}

h1 {
  margin-top: 22px;
  color: #fff;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.02;
}

.brand-lead {
  max-width: 460px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.65;
}

.brand-signature {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.signal {
  width: 4px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 0;
  background: var(--brand-red);
}

.brand-signature strong,
.brand-signature small {
  display: block;
}

.brand-signature strong {
  font-size: 0.95rem;
}

.brand-signature small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.brand-watermark {
  position: absolute;
  right: 18px;
  bottom: 38px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.055);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
  user-select: none;
}

.service-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
}

.service-content {
  width: min(100%, 760px);
  margin: auto;
  padding: 34px 64px 24px;
}

.service-intro {
  margin-bottom: 22px;
}

h2 {
  margin-top: 9px;
  color: var(--brand-blue-deep);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.18;
}

.action-stack {
  display: grid;
  gap: 16px;
}

.primary-action {
  min-height: 96px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-red);
  box-shadow: 0 18px 40px rgba(183, 36, 49, 0.22);
}

.primary-action__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.primary-action__copy,
.primary-action__copy small,
.primary-action__copy strong,
.primary-action__copy span {
  min-width: 0;
  display: block;
}

.primary-action__copy small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-action__copy strong {
  font-size: 1.22rem;
  line-height: 1.25;
}

.primary-action__copy span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
}

.primary-action__arrow {
  width: 28px;
  height: 28px;
}

.action-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.action-row {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 10px 4px;
  text-align: left;
  background: transparent;
}

.action-row + .action-row {
  border-top: 1px solid var(--line);
}

.action-row__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.action-row__icon svg {
  width: 22px;
  height: 22px;
}

.action-row__copy strong,
.action-row__copy small {
  display: block;
}

.action-row__copy strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 750;
}

.action-row__copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.action-row__arrow {
  width: 20px;
  height: 20px;
  color: #8796a1;
}

.secondary-channels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.secondary-channels > span {
  font-weight: 700;
}

.secondary-channels div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.secondary-channels a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #aac2d4;
  text-underline-offset: 4px;
}

.service-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f9fbfc;
  font-size: 0.78rem;
}

.service-footer p {
  font-weight: 700;
}

.service-footer nav {
  display: flex;
  gap: 20px;
}

.service-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-blue);
  font-weight: 750;
}

.mobile-dock {
  display: none;
}

.location-sheet {
  width: min(720px, calc(100% - 32px));
  max-width: 720px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sheet);
}

.location-sheet::backdrop {
  background: rgba(4, 28, 51, 0.72);
  backdrop-filter: blur(3px);
}

.location-sheet[open] {
  animation: sheet-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.location-sheet__panel {
  overflow: auto;
  max-height: calc(100dvh - 32px);
  overscroll-behavior: contain;
}

.location-sheet__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.location-sheet__header h2 {
  font-size: 1.65rem;
}

.icon-button--close {
  color: var(--ink);
}

.location-list {
  padding: 0 28px 28px;
}

.location-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.location-row > svg {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
}

.location-row--branch {
  grid-template-columns: 50px minmax(0, 1fr) auto;
}

.location-row__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-action {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: #fff;
}

.location-action > svg {
  width: 18px;
  height: 18px;
}

.location-action--whatsapp {
  border-color: var(--whatsapp);
  color: #fff;
  background: var(--whatsapp);
}

.location-row__icon,
.location-row__number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.location-row__number {
  font-size: 0.76rem;
  font-weight: 800;
}

.location-row strong,
.location-row small {
  display: block;
}

.location-row strong {
  font-size: 0.96rem;
}

.location-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.location-row--delivery {
  min-height: 86px;
  margin: 20px 0 12px;
  padding: 0 18px;
  border: 1px solid rgba(18, 140, 103, 0.22);
  border-radius: var(--radius);
  background: #f2faf7;
}

.location-row--delivery .location-row__icon {
  color: #fff;
  background: var(--whatsapp);
}

.location-row--delivery > svg {
  color: var(--whatsapp);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue-deep);
  box-shadow: 0 16px 36px rgba(7, 47, 85, 0.26);
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast[data-visible="true"] {
  opacity: 1;
  transform: translate(-50%, 0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (hover: hover) {
  .icon-button,
  .primary-action,
  .action-row,
  .location-row,
  .service-footer a,
  .secondary-channels a {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .icon-button:hover {
    border-color: var(--brand-blue);
    background: var(--brand-blue-soft);
  }

  .primary-action:hover {
    background: var(--brand-red-deep);
    box-shadow: 0 20px 46px rgba(183, 36, 49, 0.3);
  }

  .action-row:hover {
    background: #f5f8fa;
  }

  .action-row:hover .action-row__arrow {
    color: var(--brand-red);
  }

  .location-row--branch:hover {
    background: #f5f8fa;
  }

  .location-action:hover {
    border-color: var(--brand-blue);
    background: var(--brand-blue-soft);
  }

  .location-action--whatsapp:hover {
    border-color: #0d7557;
    color: #fff;
    background: #0d7557;
  }

  .service-footer a:hover,
  .secondary-channels a:hover {
    color: var(--brand-red-deep);
  }
}

@media (max-width: 1020px) {
  .brand-stage {
    padding-right: 40px;
    padding-left: 40px;
  }

  .brand-stage::before {
    left: 40px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .service-content {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 80px;
  }

  .site-header {
    position: sticky;
    top: 0;
    min-height: var(--header-height);
    padding: 8px 18px;
    border-top-width: 5px;
  }

  .brand-home img {
    width: auto;
    height: 50px;
  }

  .official-mark {
    min-height: 38px;
    padding: 0 10px;
  }

  .header-tools {
    gap: 8px;
  }

  .icon-button {
    width: 44px;
    height: 44px;
  }

  .portal {
    display: block;
  }

  .brand-stage {
    min-height: 310px;
    padding: 38px 24px 32px;
    border-right: 0;
    border-bottom: 8px solid var(--brand-red);
  }

  .brand-stage::before {
    left: 24px;
    width: 64px;
    height: 8px;
  }

  .brand-message {
    padding: 24px 0 0;
  }

  h1 {
    margin-top: 16px;
    font-size: 2.8rem;
  }

  .brand-lead {
    max-width: 560px;
    margin-top: 20px;
    font-size: 1rem;
  }

  .brand-watermark {
    right: 18px;
    bottom: 12px;
    font-size: 3.5rem;
    writing-mode: horizontal-tb;
  }

  .brand-signature {
    display: none;
  }

  .service-panel {
    min-height: auto;
  }

  .service-content {
    width: 100%;
    padding: 32px 20px 120px;
  }

  h2 {
    font-size: 1.85rem;
  }

  .service-footer {
    display: none;
  }

  .mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    min-height: 72px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 5px 8px max(5px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -14px 34px rgba(7, 47, 85, 0.12);
  }

  .mobile-dock a,
  .mobile-dock button {
    min-width: 0;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    color: var(--muted);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 750;
  }

  .mobile-dock svg {
    width: 21px;
    height: 21px;
  }

  .mobile-dock .mobile-dock__primary {
    color: var(--brand-red-deep);
  }

  .toast {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .location-sheet {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
    margin: 0;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .location-sheet__panel {
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
    touch-action: pan-y;
  }

  .location-sheet__header {
    padding: 24px 20px 18px;
  }

  .location-list {
    padding: 0 20px calc(24px + env(safe-area-inset-bottom));
  }

  .location-sheet::backdrop {
    background: rgba(4, 28, 51, 0.64);
    backdrop-filter: none;
  }

  .location-sheet .icon-button--close:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
  }
}

@media (max-width: 520px) {
  .official-mark span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .official-mark {
    width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius);
  }

  .brand-home img {
    width: auto;
    height: 48px;
  }

  .brand-stage__label {
    font-size: 0.68rem;
  }

  .brand-stage {
    min-height: 300px;
  }

  .primary-action {
    min-height: 106px;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 18px 16px;
  }

  .primary-action__icon {
    width: 48px;
    height: 48px;
  }

  .primary-action__copy strong {
    font-size: 1.08rem;
  }

  .primary-action__copy span {
    font-size: 0.78rem;
  }

  .action-row {
    min-height: 78px;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 13px;
  }

  .secondary-channels {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .location-row--branch {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .location-row--delivery {
    padding: 0 14px;
  }

  .location-action {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .location-row__actions {
    gap: 6px;
  }
}

@media (max-width: 370px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-home img {
    width: auto;
    height: 44px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .brand-stage {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand-stage::before {
    left: 18px;
  }

  .primary-action__copy span {
    display: none;
  }
}

@media (max-width: 820px) and (orientation: landscape) {
  .brand-stage {
    min-height: 280px;
  }

  .brand-message {
    padding: 24px 0;
  }

  .brand-watermark {
    display: none;
  }
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
