:root {
  --azul-tinta: #1b3a5c;
  --rose-seco: #d4a5a5;
  --grafite: #2d2d2d;
  --porcelana: #f5f0eb;
  --lavanda: #c8b8d4;
  --salvia: #a8c0a0;
  --paper: #f5f0eb;
  --paper-strong: #ffffff;
  --blush: #eadbd7;
  --pitaya: #1b3a5c;
  --pitaya-dark: #122b45;
  --turquoise: #a8c0a0;
  --turquoise-dark: #526d55;
  --grape: #1b3a5c;
  --grape-soft: #e8dfed;
  --ink: #2d2d2d;
  --ink-soft: #68615d;
  --gold: #d4a5a5;
  --line: #ddd3ca;
  --success: #63805e;
  --whatsapp: #168d57;
  --shadow-soft: 0 24px 70px rgba(27, 58, 92, 0.11);
  --shadow-card: 0 10px 32px rgba(27, 58, 92, 0.09);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open { overflow: hidden; }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

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

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

svg { display: block; }

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

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  text-wrap: balance;
}

h1,
h2,
h3 { line-height: 1.05; }

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

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section { padding: 104px 0; }

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-logo-window {
  width: 176px;
  height: 62px;
  display: block;
  overflow: hidden;
}

.brand-logo-window img {
  width: 176px;
  max-width: none;
  height: auto;
  transform: translateY(-34px);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-small {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 0.82rem;
}

.button-primary {
  color: #fff;
  background: var(--azul-tinta);
  box-shadow: 0 10px 24px rgba(27, 58, 92, 0.2);
}

.button-primary:hover { background: #102f4e; }

.button-secondary {
  color: #fff;
  background: var(--grape);
  box-shadow: 0 9px 22px rgba(27, 58, 92, 0.18);
}

.button-quiet,
.button-outline {
  color: var(--azul-tinta);
  border: 1px solid rgba(27, 58, 92, 0.2);
  background: rgba(255, 255, 255, 0.55);
}

.button-whatsapp {
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 9px 22px rgba(22, 141, 87, 0.2);
}

.button-whatsapp svg,
.header-cta svg {
  width: 19px;
  fill: currentColor;
}

.button-full { width: 100%; }

.inline-count {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--rose-seco);
  font-size: 0.72rem;
}

@media (max-width: 820px) {
  :root { --container: min(100% - 30px, 680px); }
  html { scroll-padding-top: 134px; }
  .brand-logo-window { width: 154px; height: 54px; }
  .brand-logo-window img { width: 154px; transform: translateY(-30px); }
}

@media (max-width: 520px) {
  :root { --container: min(100% - 24px, 480px); }
  .section { padding: 66px 0; }
}

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