:root {
  --ink: #111111;
  --paper: #f7f7f4;
  --blue: #36a9e1;
  --blue-deep: #0879b5;
  --line: rgba(17, 17, 17, 0.16);
  --muted: #686868;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lato", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: 50px 0 30px;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .13;
}

.ambient--one {
  width: 340px;
  height: 340px;
  top: -160px;
  right: -100px;
  background: var(--blue);
}

.ambient--two {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: -100px;
  background: var(--blue);
}

.masthead { padding-bottom: 48px; }

.brand {
  display: block;
  width: min(330px, 76vw);
  height: auto;
  margin: 0 auto 42px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 11vw, 78px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 900;
}

.intro {
  max-width: 470px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 4vw, 19px);
  line-height: 1.5;
}

.branches { border-top: 1px solid var(--ink); }

.branch {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
}

.branch__heading { display: flex; align-items: baseline; gap: 14px; }

.branch__number {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.branch h3 {
  margin: 0;
  font-size: clamp(24px, 5vw, 34px);
  letter-spacing: -.035em;
  font-weight: 900;
}

.branch__actions { display: grid; gap: 12px; }

.whatsapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.whatsapp:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateY(-2px);
}

.arrow { font-size: 20px; font-weight: 400; transition: transform .25s var(--ease); }
.whatsapp:hover .arrow { transform: translate(2px, -2px); }

.address {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.address:hover { color: var(--blue-deep); }

.pin {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.address__hint {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--index, 0) * 70ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 32px, 720px); padding-top: 34px; }
  .masthead { padding-bottom: 38px; }
  .brand { width: min(300px, 82vw); margin-bottom: 34px; }
  .branch { grid-template-columns: 1fr; gap: 20px; padding: 25px 0 27px; }
  .branch__heading { justify-content: space-between; }
  .branch__number { order: 2; }
  .whatsapp { min-height: 58px; }
}

@media (max-width: 370px) {
  .page-shell { width: min(100% - 24px, 720px); }
  h1 { font-size: 39px; }
  .intro { font-size: 15px; }
  .address { padding-inline: 5px; font-size: 13px; }
  .address__hint { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
