@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f0f7ff;
  --bg-wave: #d8e6f5;
  --text: #0a0a0a;
  --text-muted: #5a6472;
  --white: #ffffff;
  --blue: #2b7fff;
  --blue-dark: #1a5fd4;
  --black: #000000;
  --border: rgba(0, 0, 0, 0.12);
  --radius-pill: 999px;
  --radius-card: 32px;
  --radius-sm: 16px;
  --shadow-card: 0 24px 60px rgba(15, 40, 80, 0.12);
  --header-h: 88px;
  --pad-x: 32px;
  --pad-section: 80px;
  --touch-min: 44px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1200px;
  --article-read: 880px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  font-synthesis: weight;
}

.valores-section,
.stats-section,
#articulos {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

body[data-page="articulos"] .content-block .article-widget,
body[data-page="articulos"] .content-block h2 {
  content-visibility: auto;
  contain-intrinsic-size: auto 240px;
}

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

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

ul {
  list-style: none;
}

.bg-waves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-waves svg {
  position: absolute;
  width: 140%;
  height: auto;
  top: 8%;
  left: -20%;
  opacity: 0.55;
  animation: wave-drift 28s ease-in-out infinite alternate;
}

@keyframes wave-drift {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(3%) translateY(2%);
  }
}

.page-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header--scrolled {
  background: rgba(240, 247, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.site-header--menu-open {
  background: var(--bg);
  backdrop-filter: none;
  box-shadow: 0 1px 0 var(--border);
  z-index: 101;
}

.site-header--menu-open .header-inner {
  background: var(--bg);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
}

.logo-tri {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.logo-tri--blue {
  top: 2px;
  left: 0;
  border-width: 0 0 22px 14px;
  border-color: transparent transparent var(--blue) transparent;
  transform: skewX(-8deg);
}

.logo-tri--dark {
  bottom: 0;
  right: 0;
  border-width: 22px 14px 0 0;
  border-color: var(--black) transparent transparent transparent;
  transform: skewX(-8deg);
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 36px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--touch-min);
  padding: 4px 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.25s var(--ease);
}

.nav-link:hover {
  opacity: 0.65;
}

.nav-link--active::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black);
}

.nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--nav-mobile {
  display: none;
  width: 100%;
  margin-top: 8px;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--primary:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.btn--header {
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 0.875rem;
}

.hero {
  padding: calc(var(--header-h) + 48px) 32px 0;
  text-align: center;
  position: relative;
}

.hero-animate .hero-title,
.hero-animate .hero-subtitle,
.hero-animate .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .hero-animate .hero-title,
.js-ready .hero-animate .hero-subtitle,
.js-ready .hero-animate .hero-actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js-ready .hero-animate--ready .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.js-ready .hero-animate--ready .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.js-ready .hero-animate--ready .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  padding: 0 0 80px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: visible;
}

.hero-card {
  position: relative;
  flex-shrink: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.js-ready .hero-card {
  opacity: 0;
  transform: translateY(40px);
  animation: card-rise 0.9s var(--ease) forwards;
}

@keyframes card-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px rgba(15, 40, 80, 0.18);
}

.hero-card--sm {
  width: 200px;
  height: 280px;
}

.hero-card--md {
  width: 220px;
  height: 320px;
}

.hero-card--phone {
  width: 200px;
  height: 380px;
  background: linear-gradient(160deg, #e8f4ff 0%, #c5dff5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-card--edge-left {
  margin-left: -60px;
}

.hero-card--edge-right {
  margin-right: -60px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mock {
  width: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.phone-mock__badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 4px 10px;
  background: #e8f4ff;
  border-radius: var(--radius-pill);
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.phone-mock__growth {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.phone-mock__amount {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone-mock__chart {
  margin-top: 16px;
  height: 60px;
  background: linear-gradient(180deg, transparent 40%, rgba(43, 127, 255, 0.15) 100%);
  border-radius: 8px;
  position: relative;
}

.phone-mock__chart::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  clip-path: polygon(0 100%, 15% 60%, 35% 75%, 55% 40%, 75% 55%, 100% 20%, 100% 100%);
}

.card-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-overlay__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-overlay__value {
  font-size: 0.9rem;
  font-weight: 600;
}

.card-overlay__bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 28px;
  margin-top: 8px;
}

.card-overlay__bars span {
  flex: 1;
  background: var(--blue);
  border-radius: 3px;
  opacity: 0.7;
}

.card-overlay__bars span:nth-child(1) {
  height: 40%;
}
.card-overlay__bars span:nth-child(2) {
  height: 70%;
}
.card-overlay__bars span:nth-child(3) {
  height: 55%;
}
.card-overlay__bars span:nth-child(4) {
  height: 90%;
}

.valores-section {
  padding: 80px 32px 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.valores-inner {
  width: 100%;
}

.valores-header {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 40px 64px;
  align-items: start;
  margin-bottom: 56px;
}

.valores-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding-top: 8px;
}

.valores-heading {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
  max-width: 720px;
  margin-left: auto;
}

.valores-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(260px, 340px) 1fr;
  gap: 28px;
  align-items: stretch;
}

.valores-image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-card);
}

.valores-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.valores-chart-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 40, 80, 0.08);
}

.valores-chart-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.valores-chart-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.valores-chart-note {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 16px;
  line-height: 1.4;
}

.valores-chart-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.valores-trend {
  display: block;
  width: 100%;
  height: 56px;
  flex-shrink: 0;
  pointer-events: none;
}

.valores-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  height: 168px;
  padding-top: 0;
}

.valores-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.valores-bar__fill {
  width: 100%;
  max-width: 56px;
  height: var(--bar-h);
  background: #b8c9dc;
  border-radius: 12px 12px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: bottom;
  transform: scaleY(1);
}

.js-ready .valores-bar__fill {
  transform: scaleY(0);
  transition: transform 0.9s var(--ease);
}

.js-ready .reveal--visible .valores-bar__fill {
  transform: scaleY(1);
}

.reveal--visible .valores-bar:nth-child(1) .valores-bar__fill {
  transition-delay: 0.1s;
}

.reveal--visible .valores-bar:nth-child(2) .valores-bar__fill {
  transition-delay: 0.2s;
}

.reveal--visible .valores-bar:nth-child(3) .valores-bar__fill {
  transition-delay: 0.35s;
}

.reveal--visible .valores-bar:nth-child(4) .valores-bar__fill {
  transition-delay: 0.45s;
}

.valores-bar--active .valores-bar__fill {
  background: var(--blue);
}

.valores-bar__pct {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  writing-mode: horizontal-tb;
}

.valores-bar--active .valores-bar__pct {
  color: var(--white);
}

.valores-bar__month {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 500;
}

.valores-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.valores-stat {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.valores-stat-caption {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.valores-stat-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 380px;
}

.valores-stats .btn {
  align-self: flex-start;
}

.stats-section {
  background: #f2f5f8;
  padding: 88px 32px 96px;
  margin: 0;
  max-width: none;
  width: 100%;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.stats-header {
  max-width: 820px;
  margin-bottom: 72px;
}

.stats-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.stats-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stats-col {
  padding: 8px 40px 8px 0;
  border-right: 1px dotted #b8c4d0;
}

.stats-col:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 40px;
}

.stats-col:first-child {
  padding-left: 0;
}

.stats-col:nth-child(2) {
  padding-left: 40px;
}

.stats-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #e4edf6;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.stats-number {
  font-size: clamp(3.25rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--text);
}

.stats-unit {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: -0.02em;
}

.stats-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.articulos-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 80px;
}

.articulos-page .page-hero {
  padding-top: calc(var(--header-h) + 48px);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 56px;
  position: sticky;
  top: calc(var(--header-h) - 8px);
  z-index: 10;
  padding: 12px 0;
  background: rgba(240, 247, 255, 0.92);
  backdrop-filter: blur(10px);
}

.category-nav__link {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 2px solid var(--border);
  background: var(--white);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.category-nav__link:hover,
.category-nav__link--active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.category-section {
  margin-bottom: 80px;
  scroll-margin-top: calc(var(--header-h) + 72px);
}

.category-section__head {
  margin-bottom: 36px;
  max-width: 640px;
}

.category-section__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.category-section__head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.category-section__head p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section {
  padding: 80px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(15, 40, 80, 0.16);
}

.article-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.article-card:hover .article-card__image img {
  transform: scale(1.04);
}

.article-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.article-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 20px;
}

.article-card__link {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease);
}

.article-card:hover .article-card__link {
  gap: 10px;
}

.page-hero {
  padding: calc(var(--header-h) + 64px) 32px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.article-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-related h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-related ul {
  margin: 0 0 20px 20px;
}

.article-related li {
  list-style: disc;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.article-related a:hover {
  opacity: 0.65;
}

.content-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

body[data-page="articulos"] .content-block,
body[data-page="articulos"] .breadcrumb {
  max-width: var(--article-read);
}

body[data-page="articulos"] .page-hero {
  max-width: min(920px, calc(var(--article-read) + 40px));
}

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}

.content-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
}

.content-block p {
  margin-bottom: 16px;
  color: var(--text);
}

.content-block ul,
.content-block ol {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.content-block li {
  margin-bottom: 8px;
  list-style: disc;
}

.content-block img {
  border-radius: var(--radius-card);
  margin: 32px 0;
  box-shadow: var(--shadow-card);
}

/* Rich article widgets */
.article-widget {
  margin: 32px 0;
}

.article-widget__caption {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(15, 40, 80, 0.06);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 480px;
}

.article-table th,
.article-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.article-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.article-table tbody tr:last-child td {
  border-bottom: none;
}

.article-table tbody tr:hover td {
  background: rgba(43, 127, 255, 0.04);
}

.article-chart {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(15, 40, 80, 0.06);
}

.article-chart__row {
  display: grid;
  grid-template-columns: minmax(100px, 1.2fr) 1fr auto;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 14px;
}

.article-chart__row:last-child {
  margin-bottom: 0;
}

.article-chart__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.article-chart__track {
  height: 10px;
  background: var(--bg);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.article-chart__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #5ba3ff);
  border-radius: var(--radius-pill);
  transition: width 0.6s var(--ease);
}

.article-chart__value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-dark);
  min-width: 2.5rem;
  text-align: right;
}

.article-callout {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(15, 40, 80, 0.07);
}

.article-callout--tip {
  background: linear-gradient(135deg, #f0faf5 0%, var(--white) 100%);
}

.article-callout--warn {
  background: linear-gradient(135deg, #fffbf0 0%, var(--white) 100%);
}

.article-callout--info {
  background: linear-gradient(135deg, var(--bg) 0%, var(--white) 100%);
}

.article-callout--key {
  background: linear-gradient(135deg, #f5f0ff 0%, var(--white) 100%);
}

.article-callout__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.article-callout__body p {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.article-callout__body p:last-child {
  margin-bottom: 0;
}

.article-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.article-checklist__item {
  list-style: none;
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.article-checklist__item:last-child {
  border-bottom: none;
}

.article-checklist__toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: background 0.15s ease;
}

.article-checklist__toggle:hover {
  background: rgba(43, 127, 255, 0.06);
}

.article-checklist__toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.article-checklist__toggle[aria-pressed="true"] .article-checklist__text {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(43, 127, 255, 0.45);
}

.article-checklist__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  margin-top: 2px;
  background: rgba(43, 127, 255, 0.08);
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.article-checklist__toggle[aria-pressed="true"] .article-checklist__box {
  background: var(--blue);
  border-color: var(--blue);
}

.article-checklist__toggle[aria-pressed="true"] .article-checklist__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.article-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.article-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
  margin: 0;
}

.article-steps li:last-child {
  border-bottom: none;
}

.article-steps__num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  font-size: 1rem;
}

.article-steps li p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.article-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.article-stats__item {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 40, 80, 0.06);
}

.article-stats__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.article-stats__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

.article-timeline {
  position: relative;
  padding-left: 0;
  margin-left: 0;
}

.article-timeline li {
  list-style: none;
  margin: 0 0 28px;
  padding-left: 28px;
  position: relative;
}

.article-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--bg);
}

.article-timeline__time {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.article-timeline li p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.article-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.article-compare__col {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.article-compare__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
}

.article-compare ul {
  margin: 0;
  padding-left: 18px;
}

.article-compare li {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  list-style: disc;
}

.article-quote {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.article-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
}

.article-faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.article-faq__item {
  border-bottom: 1px solid var(--border);
}

.article-faq__item:last-child {
  border-bottom: none;
}

.article-faq__item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-faq__item summary::-webkit-details-marker {
  display: none;
}

.article-faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue);
  font-weight: 400;
}

.article-faq__item[open] summary::after {
  content: "−";
}

.article-faq__item p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.article-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.article-card-mini {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.article-card-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.article-card-mini h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.article-card-mini p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.article-toc {
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.article-toc__title {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-toc ol {
  margin: 0;
  padding-left: 20px;
}

.article-toc li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

.article-toc a:hover {
  color: var(--blue);
}

.article-pull-list {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--white) 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.article-pull-list__items {
  margin: 0;
  padding-left: 20px;
}

.article-pull-list__items li {
  margin-bottom: 10px;
  color: var(--text);
}

.content-block .article-widget + h2 {
  margin-top: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 80px;
}

.about-grid img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.about-grid ul {
  margin: 16px 0 0 20px;
  color: var(--text-muted);
}

.about-grid li {
  list-style: disc;
  margin-bottom: 8px;
}

.about-grid h2,
.about-grid h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-grid h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.about-grid h3 {
  font-size: 1.2rem;
  margin: 24px 0 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 80px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.contact-info h2 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.contact-info dl {
  display: grid;
  gap: 20px;
}

.contact-info dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info dd {
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.contact-form__success {
  display: none;
  padding: 16px;
  background: #e8f8ef;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 0.9375rem;
}

.contact-form__success--show {
  display: block;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-content ul {
  margin-left: 24px;
}

.legal-content ol {
  margin-left: 24px;
}

.legal-content li {
  list-style: disc;
}

.legal-notice {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.legal-notice p {
  margin-bottom: 10px;
}

.legal-notice p:last-child {
  margin-bottom: 0;
}

.legal-notice__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content dl {
  margin: 16px 0 24px;
}

.legal-content dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 12px;
}

.legal-content dd {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.legal-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-nav h2 {
  font-size: 1.1rem;
  margin-top: 0;
}

.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-nav li {
  list-style: none;
  margin: 0;
}

.site-footer {
  background: #f2f5f8;
  border-top: 1px solid var(--border);
  margin-top: auto;
  overflow: hidden;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr 1fr;
  gap: 0;
  padding: 72px 0 56px;
}

.footer-cell {
  padding: 0 40px;
  border-right: 1px solid #d4dde6;
}

.footer-cell:first-child {
  padding-left: 0;
}

.footer-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-cell--brand {
  padding-right: 48px;
}

.footer-desc {
  margin: 20px 0 28px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 320px;
}

.footer-cta {
  font-size: 0.875rem;
  padding: 12px 26px;
}

.footer-block {
  margin-bottom: 28px;
}

.footer-block:last-child {
  margin-bottom: 0;
}

.footer-cell h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-cell p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.footer-cell p a {
  transition: opacity 0.25s var(--ease);
}

.footer-cell p a:hover {
  opacity: 0.65;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: opacity 0.25s var(--ease);
}

.footer-links a:hover {
  opacity: 0.65;
}

.footer-disclaimer {
  padding: 40px 0 48px;
  border-top: 1px solid #d4dde6;
  max-width: 880px;
}

.footer-disclaimer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer strong {
  color: var(--text);
  font-weight: 600;
}

.footer-disclaimer__notice {
  margin: 20px 0 18px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(15, 40, 80, 0.05);
}

.footer-disclaimer__notice p {
  margin-bottom: 10px;
}

.footer-disclaimer__notice p:first-child {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c45c26;
  margin-bottom: 8px;
}

.footer-disclaimer__notice p:first-child strong {
  color: inherit;
  font-weight: inherit;
}

.footer-disclaimer__marks {
  font-size: 0.8125rem;
  color: #8a96a3;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #d4dde6;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  padding: 28px 0 40px;
  border-top: 1px solid #d4dde6;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-meta__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.footer-meta__sep {
  color: #b8c4d0;
  user-select: none;
}

.footer-meta a {
  transition: opacity 0.25s var(--ease);
}

.footer-meta a:hover {
  opacity: 0.65;
}

.footer-wordmark {
  font-size: clamp(4.5rem, 16vw, 11.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-align: center;
  color: var(--black);
  padding: 16px 0 56px;
  margin: 0 -8px;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.logo--footer {
  margin-bottom: 4px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.cookie-banner__text h2 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.cookie-banner__text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 520px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cookie-link {
  font-size: 0.875rem;
  text-decoration: underline;
  margin-left: 8px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-ready .reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.article-meta {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.breadcrumb {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 24px) 32px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

@media (max-width: 1100px) {
  .valores-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .valores-heading {
    margin-left: 0;
    max-width: none;
  }

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

  .valores-stats {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 16px;
  }

  .hero-gallery {
    gap: 12px;
    padding-bottom: 48px;
  }

  .hero-card--edge-left,
  .hero-card--edge-right {
    display: none;
  }

  .hero-card--sm {
    width: 160px;
    height: 220px;
  }

  .hero-card--md {
    width: 180px;
    height: 260px;
  }

  .hero-card--phone {
    width: 170px;
    height: 300px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 56px 0 40px;
  }

  .footer-cell {
    border-right: none;
    padding: 0 0 40px;
  }

  .footer-cell--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    border-bottom: 1px solid #d4dde6;
    padding-bottom: 40px;
  }

  .footer-cell:nth-child(3),
  .footer-cell:nth-child(4) {
    padding-top: 8px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 76px;
    --pad-x: 24px;
    --pad-section: 64px;
    --radius-card: 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .btn--header {
    display: none;
  }

  .btn--nav-mobile {
    display: inline-flex;
  }

  .nav-main {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px var(--pad-x) calc(32px + var(--safe-bottom));
    gap: 8px;
    transform: translateX(100%);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.35s var(--ease);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
  }

  .site-header--menu-open {
    background: var(--bg);
    backdrop-filter: none;
    box-shadow: 0 1px 0 var(--border);
  }

  .site-header--menu-open .header-inner {
    background: var(--bg);
  }

  .nav-main--open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.0625rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-link--active::before {
    top: 50%;
    left: auto;
    right: 0;
    transform: translateY(-50%);
  }

  .site-header--menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header--menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header--menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

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

  .articulos-page {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-col,
  .stats-col:nth-child(2),
  .stats-col:last-child {
    padding: 0 0 48px;
    border-right: none;
    border-bottom: 1px dotted #b8c4d0;
  }

  .stats-col:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .stats-desc {
    max-width: none;
  }

  .stats-header {
    margin-bottom: 48px;
  }

  .category-nav {
    top: calc(var(--header-h) - 4px);
  }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 20px;
    --pad-section: 56px;
  }

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

  .valores-stats {
    padding-left: 0;
  }

  .valores-stat-text {
    max-width: none;
  }

  .valores-image {
    min-height: 280px;
  }

  .valores-image img {
    min-height: 280px;
  }

  .valores-section {
    padding: var(--pad-section) var(--pad-x) 72px;
  }

  .valores-chart-note {
    font-size: 0.75rem;
  }

  .valores-bars {
    height: 140px;
  }

  .valores-trend {
    height: 48px;
  }

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

  .articulos-page {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .page-hero {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .content-block {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .breadcrumb {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .legal-content {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .about-grid,
  .contact-grid {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .stats-section {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
    --pad-x: 16px;
    --pad-section: 48px;
    --radius-card: 20px;
    --radius-sm: 14px;
  }

  .bg-waves svg {
    width: 200%;
    opacity: 0.35;
  }

  .header-inner {
    padding: 12px var(--pad-x);
    gap: 16px;
  }

  .logo-text {
    font-size: 1.0625rem;
  }

  .stats-section {
    padding: var(--pad-section) var(--pad-x);
  }

  .stats-heading {
    font-size: 1.5rem;
  }

  .stats-number {
    font-size: 3.25rem;
  }

  .hero {
    padding: calc(var(--header-h) + 12px) var(--pad-x) 0;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin-bottom: 36px;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-gallery {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 var(--pad-x) 32px;
    margin: 0 calc(-1 * var(--pad-x));
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-gallery::-webkit-scrollbar {
    display: none;
  }

  .hero-card {
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .hero-card--sm {
    width: 140px;
    height: 200px;
  }

  .hero-card--md {
    width: 150px;
    height: 220px;
  }

  .hero-card--phone {
    width: 148px;
    height: 250px;
    padding: 12px;
  }

  .phone-mock__amount {
    font-size: 1.2rem;
  }

  .hero-card--edge-left,
  .hero-card--edge-right {
    display: flex;
    margin: 0;
  }

  .valores-section {
    padding-top: var(--pad-section);
    padding-bottom: var(--pad-section);
  }

  .valores-header {
    margin-bottom: 32px;
  }

  .valores-heading {
    font-size: 1.35rem;
  }

  .valores-stat {
    font-size: 3rem;
  }

  .valores-stats .btn {
    width: 100%;
  }

  .section {
    padding: var(--pad-section) var(--pad-x);
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-cta {
    margin-top: 32px;
  }

  .section-cta .btn {
    width: 100%;
  }

  .article-card__body {
    padding: 20px;
  }

  .category-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
    padding: 8px var(--pad-x) 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav__link {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .category-section {
    margin-bottom: 48px;
    scroll-margin-top: calc(var(--header-h) + 52px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 48px 0 32px;
  }

  .footer-cell {
    padding: 0 0 32px;
    border-bottom: 1px solid #d4dde6;
  }

  .footer-cell:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-cell--brand {
    border-bottom: 1px solid #d4dde6;
    padding-bottom: 32px;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-disclaimer {
    padding: 32px 0 36px;
    max-width: none;
  }

  .footer-disclaimer__notice {
    padding: 16px 18px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0 32px;
  }

  .footer-meta__social {
    gap: 8px 12px;
  }

  .footer-wordmark {
    font-size: clamp(3rem, 22vw, 5rem);
    padding: 8px 0 calc(40px + var(--safe-bottom));
    white-space: normal;
    word-break: break-word;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .cookie-banner {
    padding: 10px var(--pad-x) calc(10px + var(--safe-bottom));
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius-sm);
  }

  .cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .cookie-link {
    margin-left: 0;
    text-align: center;
    display: block;
    padding: 10px;
    min-height: var(--touch-min);
  }

  .contact-info,
  .contact-form {
    padding: 22px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }

  .content-block img {
    border-radius: var(--radius-sm);
  }

  .page-hero h1 {
    font-size: clamp(1.625rem, 7vw, 2rem);
  }
}

@media (max-width: 380px) {
  .hero-card--phone {
    width: 128px;
    height: 228px;
  }

  .card-overlay {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
  }

  .valores-bar__fill {
    max-width: 40px;
  }

  .valores-bar__pct {
    font-size: 0.7rem;
  }
}

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

  .bg-waves svg {
    animation: none;
  }

  .hero-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .js-ready .reveal,
  .js-ready .hero-animate .hero-title,
  .js-ready .hero-animate .hero-subtitle,
  .js-ready .hero-animate .hero-actions {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-main {
    transition: none;
  }
}
