:root {
  --surface: #f7fafc;
  --surface-dim: #d7dadc;
  --surface-low: #f1f4f6;
  --surface-container: #ebeef0;
  --surface-high: #e5e9eb;
  --white: #ffffff;
  --ink: #181c1e;
  --ink-strong: #1a1a1a;
  --ink-muted: #4a5568;
  --ink-soft: #514532;
  --yellow: #ffb800;
  --yellow-deep: #7c5800;
  --yellow-press: #6b4c00;
  --yellow-bright: #ffba20;
  --outline: #e2e8f0;
  --outline-warm: #d5c4ab;
  --border-strong: #1a1a1a;
  --whatsapp: #1f9e4b;
  --whatsapp-deep: #167a38;
  --max: 1280px;
  --gutter: 24px;
  --margin: 48px;
  --radius: 0.25rem;
  --radius-sm: 0.125rem;
  --shadow-hard: 4px 4px 0 rgba(26, 26, 26, 0.22);
  --shadow-hard-strong: 4px 4px 0 #1a1a1a;
  --font-head: "IBM Plex Sans", sans-serif;
  --font-body: Inter, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink-strong);
  padding: 8px 12px;
  font-family: var(--font-head);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 900px) {
  .wrap {
    width: min(var(--max), calc(100% - 96px));
  }
}

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--yellow-deep);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 28px;
  background: var(--yellow);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-transform: uppercase;
}

h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

@media (min-width: 900px) {
  h1 {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

.lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-muted);
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--border-strong);
  border-bottom-width: 4px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink-strong);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  box-shadow: var(--shadow-hard);
  transform: translate(-1px, -1px);
}

.btn:active {
  transform: translate(1px, 2px);
  box-shadow: none;
  border-bottom-width: 2px;
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--ink-strong);
  color: var(--yellow);
  border-color: var(--ink-strong);
}

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

.btn-wa:hover {
  background: #23b154;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 252, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  color: var(--ink);
  border-bottom: 3px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  border-bottom-color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: flex;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--ink-muted);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--ink-strong);
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-strong);
  background: var(--white);
  border-radius: var(--radius);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-strong);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.header-cta {
  display: none;
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }
}

.mobile-nav {
  display: none;
  padding: 8px 0 20px;
  border-top: 1px solid var(--outline);
}

.mobile-nav.is-open {
  display: grid;
  gap: 4px;
}

.mobile-nav a,
.mobile-nav .btn {
  text-decoration: none;
}

.mobile-nav a:not(.btn) {
  display: block;
  padding: 12px 4px;
  font-family: var(--font-head);
  font-weight: 600;
  border-bottom: 1px solid var(--outline);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.28) 0%, rgba(26, 26, 26, 0.78) 72%),
    var(--ink-strong) url("../assets/hero.jpg") center 62% / cover no-repeat;
}

.hero-inner {
  padding: 96px 0 64px;
}

.hero h1 {
  color: var(--yellow);
  text-transform: uppercase;
  max-width: 16ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero .lede {
  color: #f1f4f6;
  margin: 16px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 64px 0;
}

.band {
  background: var(--surface-low);
}

.band-white {
  background: var(--white);
  border-top: 2px solid var(--outline);
}

.section-head {
  margin-bottom: 32px;
}

.section-head .label {
  color: var(--ink-muted);
  margin: 0;
}

.grid-3 {
  display: grid;
  gap: var(--gutter);
}

.cards-2 {
  display: grid;
  gap: var(--gutter);
  margin-top: 24px;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

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

  .cards-2,
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 80px 0;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--border-strong);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card p {
  color: var(--ink-muted);
  flex: 1;
}

.card-tag {
  margin-top: 16px;
  display: inline-flex;
  align-self: flex-start;
  background: var(--ink-strong);
  color: var(--yellow);
  padding: 8px 12px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  padding-right: 18px;
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .copy {
    order: 2;
  }
}

.media {
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-hard-strong);
  overflow: hidden;
  background: var(--surface-high);
}

.media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.stat {
  border: 1px solid var(--border-strong);
  background: var(--white);
  padding: 16px;
}

.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 32px;
}

.contact {
  background: var(--surface-low);
  border-top: 2px solid var(--outline);
  border-bottom: 2px solid var(--outline);
}

.contact-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: stretch;
  }
}

.phone-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.phone-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-hard);
  padding: 16px 18px;
  text-decoration: none;
}

.phone-card:hover {
  background: #fffdf5;
}

.phone-card svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.phone-card span {
  display: block;
}

.phone-card .num {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.quote-panel {
  background: var(--white);
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-hard-strong);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-panel h3 {
  text-transform: uppercase;
  margin-bottom: 12px;
}

.quote-panel p {
  color: var(--ink-muted);
}

.quote-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.site-footer {
  background: #2d3133;
  color: #eef1f3;
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.8fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
}

.site-footer a {
  color: var(--yellow);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  color: #c8c6c5;
  font-size: 14px;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--whatsapp);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-hard-strong);
  text-decoration: none;
}

.wa-float:hover {
  background: #23b154;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.about-copy {
  max-width: 880px;
}

.footer-location {
  margin-top: 12px;
}

.page-legal {
  padding: 48px 0 80px;
}

.page-legal .card {
  max-width: 800px;
}

.page-legal h1 {
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-legal h2 {
  font-size: 20px;
  text-transform: none;
  margin: 28px 0 8px;
}

.page-legal p,
.page-legal li {
  color: var(--ink-muted);
}

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

  .btn {
    transition: none;
  }
}
