:root {
  color-scheme: light;
  font-family: 'Roboto', 'Roboto Slab', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --color-primary: #1e3a5f;
  --color-primary-dark: #0f2a47;
  --color-accent: #d4a574;
  --color-sand: #d4a574;
  --color-navy: #1e3a5f;
  --color-border: #dee2e6;
  --color-muted: #6c757d;
  --color-heading: #1e3a5f;
  --color-background: #f0f2f5;
  --color-surface: #ffffff;
  --container-max-width: 1100px;
  --container-padding: 1.5rem;
}

/* Mejorar dimensiones en desktop */
@media (min-width: 1024px) {
  :root {
    --container-padding: 2.5rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-padding: 3rem;
  }
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* Skip link: accesibilidad para navegación por teclado */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--color-navy);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Focus visible: contorno claro solo con navegación por teclado */
:focus {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #fafbfc 0%, #f5f7fa 100%);
  font-family: 'Roboto', 'Roboto Slab', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--color-heading);
  font-size: 1rem;
  overflow-x: hidden;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset de elementos HTML */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-heading);
}

p {
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

dl, dt, dd {
  margin: 0;
  padding: 0;
}

/* Contenedor principal */
.public-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

.public-content > * {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

/* Reducir padding del container en landing page */
body .main-content .container-fluid {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (min-width: 768px) {
  body .main-content .container-fluid {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

.min-h-screen {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.bg-surface {
  background: var(--color-background);
  width: 100%;
}

/* Navbar */
.site-navbar {
  margin: 0;
  width: 100%;
  left: 0;
  right: 0;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  width: 100%;
  margin: 0;
  padding: 0;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
}

.site-navbar__container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 1rem var(--container-padding);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-navbar__container {
    padding: 1.25rem var(--container-padding);
  }
}

.site-navbar__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #111827;
  font-weight: 600;
}

.site-navbar__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-navbar__toggle {
  display: none;
  border: none;
  background: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #1f2937;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 50;
  -webkit-tap-highlight-color: transparent;
}

.site-navbar__toggle:hover {
  background-color: rgba(212, 165, 116, 0.1);
  color: var(--color-navy);
}

.site-navbar__toggle:focus {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

.site-navbar__toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

.site-navbar__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex: 1;
}

.site-navbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-navbar__actions .site-navbar__link {
  font-weight: 500;
}

.site-navbar__actions .site-navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-navbar__link {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-navbar__link:hover {
  background: rgba(212, 165, 116, 0.15);
  color: var(--color-navy);
}

.site-navbar__link--active {
  background: rgba(212, 165, 116, 0.2);
  color: var(--color-navy);
}

.site-navbar__cta {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-navbar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -12px rgba(30, 58, 95, 0.5);
}

/* Hero Section */
.hero {
  padding-top: 4rem;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
    min-height: 60vh;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 5rem;
    min-height: 70vh;
  }
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(30, 58, 95, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(212, 165, 116, 0.06) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.hero__pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  pointer-events: none;
  color: var(--color-navy);
  mix-blend-mode: normal;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.02) 0%, rgba(212, 165, 116, 0.02) 100%);
}

.hero__pattern svg {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  filter: blur(0.5px);
  position: relative;
  z-index: 4;
}

.legal-pattern-svg {
  animation: patternFloat 40s ease-in-out infinite;
}

.legal-pattern-svg pattern {
  color: var(--color-navy);
}

/* Gradientes orbes animados */
.hero__gradient-live {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: orbFloat 20s ease-in-out infinite;
}

.gradient-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.3) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: orbFloat1 25s ease-in-out infinite;
}

.gradient-orb--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.25) 0%, transparent 70%);
  bottom: -250px;
  right: -250px;
  animation: orbFloat2 30s ease-in-out infinite;
  animation-delay: -10s;
}

.gradient-orb--3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 22s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes orbFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  33% {
    transform: translate(150px, 100px) scale(1.2);
    opacity: 0.6;
  }
  66% {
    transform: translate(-100px, 150px) scale(0.9);
    opacity: 0.5;
  }
}

@keyframes orbFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-200px, -150px) scale(1.3);
    opacity: 0.5;
  }
}

@keyframes orbFloat3 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4) rotate(180deg);
    opacity: 0.55;
  }
}

/* Ondas fluidas */
.hero__fluid-waves {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0.4;
}

.fluid-wave-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.wave-path {
  animation: waveMove 8s ease-in-out infinite;
}

.wave-path--1 {
  animation: waveMove1 10s ease-in-out infinite;
}

.wave-path--2 {
  animation: waveMove2 12s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes waveMove1 {
  0%, 100% {
    d: path("M0,300 Q300,250 600,300 T1200,300 L1200,600 L0,600 Z");
    opacity: 0.3;
  }
  50% {
    d: path("M0,320 Q300,270 600,320 T1200,320 L1200,600 L0,600 Z");
    opacity: 0.5;
  }
}

@keyframes waveMove2 {
  0%, 100% {
    d: path("M0,350 Q300,300 600,350 T1200,350 L1200,600 L0,600 Z");
    opacity: 0.2;
  }
  50% {
    d: path("M0,330 Q300,280 600,330 T1200,330 L1200,600 L0,600 Z");
    opacity: 0.4;
  }
}

/* Canvas del fondo live */
.live-background-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0.7;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.particle--1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 15%;
  animation: particleFloat1 20s ease-in-out infinite;
}

.particle--2 {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 70%;
  animation: particleFloat2 25s ease-in-out infinite;
  animation-delay: -5s;
}

.particle--3 {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 80%;
  animation: particleFloat3 22s ease-in-out infinite;
  animation-delay: -10s;
}

.particle--4 {
  width: 60px;
  height: 60px;
  top: 75%;
  left: 20%;
  animation: particleFloat4 18s ease-in-out infinite;
  animation-delay: -3s;
}

.particle--5 {
  width: 90px;
  height: 90px;
  top: 45%;
  left: 5%;
  animation: particleFloat1 24s ease-in-out infinite;
  animation-delay: -8s;
}

.particle--6 {
  width: 70px;
  height: 70px;
  top: 20%;
  left: 50%;
  animation: particleFloat2 21s ease-in-out infinite;
  animation-delay: -12s;
}

.particle--7 {
  width: 110px;
  height: 110px;
  top: 80%;
  left: 60%;
  animation: particleFloat3 23s ease-in-out infinite;
  animation-delay: -7s;
}

.particle--8 {
  width: 85px;
  height: 85px;
  top: 5%;
  left: 40%;
  animation: particleFloat4 19s ease-in-out infinite;
  animation-delay: -15s;
}

@keyframes particleFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(50px, -80px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-30px, -120px) scale(0.9);
    opacity: 0.4;
  }
  75% {
    transform: translate(40px, -60px) scale(1.05);
    opacity: 0.45;
  }
}

@keyframes particleFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.25;
  }
  33% {
    transform: translate(-60px, 70px) scale(1.15) rotate(120deg);
    opacity: 0.4;
  }
  66% {
    transform: translate(40px, 100px) scale(0.85) rotate(240deg);
    opacity: 0.35;
  }
}

@keyframes particleFloat3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  20% {
    transform: translate(70px, -50px) scale(1.2);
    opacity: 0.5;
  }
  40% {
    transform: translate(-40px, -90px) scale(0.8);
    opacity: 0.25;
  }
  60% {
    transform: translate(30px, 60px) scale(1.1);
    opacity: 0.45;
  }
  80% {
    transform: translate(-20px, 40px) scale(0.95);
    opacity: 0.35;
  }
}

@keyframes particleFloat4 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.28;
  }
  50% {
    transform: translate(-50px, -100px) scale(1.3) rotate(180deg);
    opacity: 0.5;
  }
}

/* Ondas animadas */
.hero__waves {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(30, 58, 95, 0.08);
  pointer-events: none;
}

.wave--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation: waveExpand1 15s ease-in-out infinite;
}

.wave--2 {
  width: 600px;
  height: 600px;
  bottom: -150px;
  right: -150px;
  animation: waveExpand2 18s ease-in-out infinite;
  animation-delay: -5s;
}

.wave--3 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: waveExpand3 20s ease-in-out infinite;
  animation-delay: -10s;
}

@keyframes waveExpand1 {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.1;
  }
}

@keyframes waveExpand2 {
  0%, 100% {
    transform: scale(1);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.08;
  }
}

@keyframes waveExpand3 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0.05;
  }
}

/* Círculos concéntricos */
.hero__circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.circle--1 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 10%;
  animation: circlePulse1 12s ease-in-out infinite;
}

.circle--2 {
  width: 250px;
  height: 250px;
  bottom: 15%;
  left: 15%;
  animation: circlePulse2 14s ease-in-out infinite;
  animation-delay: -4s;
}

.circle--3 {
  width: 350px;
  height: 350px;
  top: 60%;
  right: 30%;
  animation: circlePulse3 16s ease-in-out infinite;
  animation-delay: -8s;
}

@keyframes circlePulse1 {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.4;
  }
}

@keyframes circlePulse2 {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.15;
  }
  33% {
    transform: scale(1.2) translate(30px, -30px);
    opacity: 0.3;
  }
  66% {
    transform: scale(1.1) translate(-20px, 20px);
    opacity: 0.25;
  }
}

@keyframes circlePulse3 {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.18;
  }
  50% {
    transform: scale(1.4) rotate(180deg);
    opacity: 0.35;
  }
}

/* Animación sutil del patrón SVG */
@keyframes patternFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  33% {
    transform: translate(15px, -15px) scale(1.02);
    opacity: 0.6;
  }
  66% {
    transform: translate(-10px, 10px) scale(0.98);
    opacity: 0.55;
  }
}

/* Efecto parallax sutil en el patrón */
@media (prefers-reduced-motion: no-preference) {
  .hero__pattern {
    will-change: transform, opacity;
  }
  
  .particle,
  .wave,
  .circle {
    will-change: transform, opacity;
  }
}

/* Desactivar animaciones de fondo en desktop */
@media (min-width: 1024px) {
  .gradient-orb,
  .particle,
  .wave,
  .circle,
  .wave-path,
  .gradient-orb--1,
  .gradient-orb--2,
  .gradient-orb--3 {
    animation: none !important;
  }
  
  .hero__gradient-live,
  .hero__fluid-waves,
  .hero__waves,
  .hero__circles {
    opacity: 0.3 !important;
  }
}

/* Reducir animaciones para accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .gradient-orb,
  .wave-path,
  .legal-pattern-svg,
  .live-background-canvas {
    animation: none !important;
  }
  
  .live-background-canvas {
    display: none;
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(2deg); }
  66% { transform: translate(-20px, 20px) rotate(-2deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

@media (min-width: 768px) {
  .hero__content {
    max-width: 800px;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    max-width: 900px;
  }
}

.hero__visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 400px;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.hero__illustration {
  width: 100%;
  height: 100%;
  filter: blur(1px);
}

@media (max-width: 1200px) {
  .hero__visual {
    display: none;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: rgba(212, 165, 116, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 165, 116, 0.2);
  color: var(--color-navy);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 4.5rem);
  margin: 0 0 1.5rem 0;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.05;
  font-family: 'Roboto Slab', serif;
}

.hero__subtitle {
  margin: 0 0 2.5rem 0;
  color: var(--color-muted);
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.hero__stat {
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px -16px rgba(30, 58, 95, 0.12), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero__stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
  transition: left 0.6s ease;
}

.hero__stat:hover::before {
  left: 100%;
}

.hero__stat:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 56px -20px rgba(30, 58, 95, 0.25), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  border-color: rgba(212, 165, 116, 0.5);
  background: rgba(255, 255, 255, 0.8);
}

.hero__stat dt {
  margin: 0 0 0.5rem;
  font-weight: 500;
  color: var(--color-muted);
}

.hero__stat dd {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-heading);
}

.hero__stat span {
  color: var(--color-sand);
  font-weight: 500;
}

/* Messages */
.messages {
  margin-bottom: 2rem;
  display: grid;
  gap: 0.75rem;
}

.messages__item {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-weight: 500;
  background: rgba(212, 165, 116, 0.15);
  color: var(--color-navy);
  border: 1px solid rgba(212, 165, 116, 0.3);
}

.messages__item--error {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.2);
}

.messages__item--success {
  background: rgba(34, 197, 94, 0.08);
  color: #047857;
  border-color: rgba(34, 197, 94, 0.2);
}

/* Sections */
.section {
  margin-top: 0;
  margin-bottom: 4rem;
  padding-top: 3rem;
  padding-bottom: 0;
  opacity: 1;
  transform: none;
  transition: none;
  position: relative;
  clear: both;
}

@media (min-width: 768px) {
  .section {
    margin-bottom: 5rem;
    padding-top: 4rem;
  }
}

@media (min-width: 1024px) {
  .section {
    margin-bottom: 6rem;
    padding-top: 5rem;
  }
}

.section.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.section::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--color-sand), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.section.section-visible::before {
  opacity: 0.5;
}

.section:last-child {
  margin-bottom: 0;
}

.cta:last-child {
  margin-bottom: 0;
}

/* Asegurar que las secciones no se superpongan */
.section + .section {
  margin-top: 0;
}

.section--alt + .section {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

/* Hero spacing */
.hero {
  margin-bottom: 0;
}

.hero + .section {
  margin-top: 0;
}

.section--alt {
  background: linear-gradient(to bottom, rgba(212, 165, 116, 0.04) 0%, rgba(212, 165, 116, 0.02) 100%);
  padding: 4rem 0;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 4rem;
  max-width: 100%;
  width: 100%;
  position: relative;
  transition: background 0.6s ease;
  overflow: visible;
  clear: both;
}

@media (min-width: 768px) {
  .section--alt {
    padding: 5rem 0;
    margin-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section--alt {
    padding: 6rem 0;
    margin-bottom: 6rem;
  }
}

.section--alt:hover {
  background: linear-gradient(to bottom, rgba(212, 165, 116, 0.06) 0%, rgba(212, 165, 116, 0.03) 100%);
}

.section--alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 165, 116, 0.2), transparent);
}

.section--alt > * {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
  position: relative;
}

.section--alt > .grid {
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.section--intro {
  max-width: 800px;
  text-align: center;
  margin: 0 auto 4rem;
}

.section--intro h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-family: 'Roboto Slab', serif;
  margin-bottom: 1.5rem;
  color: var(--color-heading);
}

.section--intro .section__lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--color-muted);
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .section__header {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section__header {
    margin-bottom: 3rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

.section__header h2 {
  margin: 0 0 0.75rem 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.15;
  flex: 1;
  min-width: 200px;
  letter-spacing: -0.03em;
  font-family: 'Roboto Slab', serif;
  width: 100%;
}

@media (min-width: 1024px) {
  .section__header h2 {
    flex: none;
    width: 100%;
  }
}

.section__subtitle {
  color: var(--color-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0.5rem 0 0 0;
  max-width: 800px;
  font-weight: 300;
  letter-spacing: -0.01em;
  width: 100%;
}

@media (min-width: 1024px) {
  .section__subtitle {
    width: 100%;
    max-width: 100%;
  }
}

.section__footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(30, 58, 95, 0.08);
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .section__footer {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section__footer {
    margin-top: 4rem;
    padding-top: 3rem;
  }
}

.section__footer strong {
  color: var(--color-heading);
  font-weight: 600;
}

.section__lead {
  color: var(--color-muted);
  font-size: 1.1rem;
}

.section__link {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .section__link {
    margin-top: 1rem;
  }
}

.section__link:hover {
  color: var(--color-sand);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid {
    gap: 1.75rem;
  }
  
  .grid--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .grid {
    gap: 2rem;
  }
  
  .grid--three {
    gap: 2rem;
  }
}

.grid--three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px -16px rgba(30, 58, 95, 0.1), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  display: grid;
  gap: 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .card {
    padding: 2rem;
    border-radius: 28px;
  }
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 64px -20px rgba(30, 58, 95, 0.25), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  border-color: rgba(212, 165, 116, 0.3);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-family: 'Roboto Slab', serif;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.card__category {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  font-weight: 600;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.card__action {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(30, 58, 95, 0.08);
}

.card__action .button {
  width: 100%;
  justify-content: center;
}

.card__features {
  margin: 1.25rem 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.card__features li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-sand);
  font-weight: 700;
  font-size: 1rem;
}

.card__action-link {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.card__action-link:hover {
  color: var(--color-sand);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(212, 165, 116, 0.15);
  color: var(--color-navy);
  transition: transform 0.3s ease, background 0.3s ease;
}

.card__icon--active {
  background: rgba(212, 165, 116, 0.3);
  color: var(--color-navy);
  transform: translateY(-4px);
}

.card--service {
  text-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card__visual {
  position: relative;
  margin-bottom: 1.5rem;
}

.card--service .card__icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  position: relative;
  z-index: 2;
}

.card__pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.card--service:hover .card__pattern {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.card--service h3 {
  margin-top: 0.75rem;
}

.card--law,
.card--article {
  cursor: pointer;
}

.card--law,
.card--article {
  position: relative;
  overflow: hidden;
}

.card--law::before,
.card--article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(212, 165, 116, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card--law:hover::before,
.card--article:hover::before {
  opacity: 1;
}

.card--law:hover,
.card--article:hover {
  border-color: var(--color-sand);
}

/* Lists */
.list {
  display: grid;
  gap: 1rem;
}

.list__item {
  background: white;
  padding: 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.list__meta {
  min-width: 200px;
  display: grid;
  gap: 0.5rem;
  text-align: right;
  color: var(--color-muted);
}

.list__category {
  font-weight: 600;
  color: var(--color-muted);
}

.list--topics {
  display: grid;
  gap: 1rem;
}

.list--topics .topic {
  width: 100%;
}

/* Status */
.status {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.status--vigente {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.status--en-revision {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.status--reformada {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 1.5rem;
  position: relative;
  padding-left: 0;
}

.timeline__item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.timeline__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 55px;
  top: calc(1.25rem + 0.5rem);
  width: 2px;
  height: calc(1.5rem + 1.25rem);
  background: linear-gradient(to bottom, rgba(212, 165, 116, 0.25), rgba(212, 165, 116, 0.15));
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .timeline__item:not(:last-child)::after {
    display: none;
  }
}

.timeline__date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  padding: 0.5rem 1rem;
  margin: 0;
  width: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(212, 165, 116, 0.2);
  min-height: 2.5rem;
  box-sizing: border-box;
}

.timeline__content {
  background: white;
  padding: 1.4rem 1.8rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 0.6rem;
  flex: 1;
  position: relative;
}

.timeline__content h3 {
  margin: 0 0 0.4rem 0;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.timeline__content p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.timeline__item--empty .timeline__content {
  border-style: dashed;
  text-align: center;
  gap: 0.4rem;
}

.timeline--secondary .timeline__content {
  background: rgba(248, 250, 252, 0.75);
}

.timeline--secondary .badge {
  background: rgba(148, 163, 184, 0.2);
  color: #475569;
}

.timeline__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-weight: 500;
}

/* Badge */
.badge {
  background: rgba(212, 165, 116, 0.2);
  color: var(--color-navy);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge--muted {
  background: rgba(148, 163, 184, 0.25);
  color: #475569;
}

/* Panel */
.panel {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: white;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  text-align: center;
  color: var(--color-muted);
}

.panel--detail {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel__placeholder {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  margin-top: 4rem;
  margin-bottom: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: rgba(30, 58, 95, 0.85);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 28px;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  color: white;
  align-items: stretch;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  clear: both;
  box-shadow: 0 20px 60px -30px rgba(30, 58, 95, 0.4), 0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
}

@media (min-width: 768px) {
  .cta {
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .cta {
    margin-top: 6rem;
    margin-bottom: 6rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    border-radius: 32px;
  }
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px -32px rgba(30, 58, 95, 0.5), 0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
}

.cta:hover::before {
  opacity: 1.2;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__content h2 {
  margin: 0 0 1rem 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-family: 'Roboto Slab', serif;
}

.cta__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.cta__form {
  display: grid;
  gap: 1.25rem;
  min-width: 100%;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .cta__form {
    min-width: 380px;
    max-width: 450px;
  }
}

.cta__form label {
  font-weight: 500;
}

.cta__form input {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cta__form input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.cta__form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.cta--secondary {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #0f172a;
}

.cta--primary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Buttons */
.button {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.button--primary {
  background: var(--color-navy);
  color: white;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px -4px rgba(30, 58, 95, 0.3);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.button--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.button--primary:hover::before {
  width: 300px;
  height: 300px;
}

.button--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -6px rgba(30, 58, 95, 0.5);
  background: var(--color-primary-dark);
}

.button--primary:active {
  transform: translateY(0) scale(0.98);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-navy);
  border: 1px solid rgba(30, 58, 95, 0.12);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.button--ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
  transition: left 0.5s ease;
}

.button--ghost:hover::after {
  left: 100%;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(212, 165, 116, 0.3);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px -6px rgba(212, 165, 116, 0.3);
}

.button--ghost:active {
  transform: translateY(0) scale(0.98);
}

.button--disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Forms */
.form {
  display: grid;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px -16px rgba(30, 58, 95, 0.1), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
  margin: 0;
}

.form-group input,
.form-group textarea,
.cta__form input,
.cta__form textarea,
.search input {
  border-radius: 14px;
  border: 1px solid rgba(30, 58, 95, 0.12);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  width: 100%;
  font-family: inherit;
  margin: 0;
  box-shadow: 0 1px 2px rgba(30, 58, 95, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1), 0 2px 4px rgba(30, 58, 95, 0.08);
}

.form-group input:focus,
.form-group textarea:focus,
.cta__form input:focus,
.cta__form textarea:focus,
.search input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
}

.cta__form input {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta__form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.cta__form input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.cta__form label {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.form-feedback,
#demo-response,
#newsletter-feedback {
  min-height: 1.6rem;
  color: white;
}

.alert {
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  font-weight: 500;
}

.alert--success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

/* Search */
.search {
  display: grid;
  gap: 0.8rem;
  background: white;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  margin-top: 2rem;
}

.search__label {
  font-weight: 500;
  color: var(--color-muted);
}

/* Layout */
.layout {
  display: grid;
  gap: 2.5rem;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-padding);
}

.layout__sidebar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  gap: 1.25rem;
  box-shadow: 0 8px 32px -16px rgba(30, 58, 95, 0.1), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
}

.layout__content {
  display: grid;
  gap: 1.5rem;
}

.layout--contact {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  position: relative;
}

.contact__visual {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.contact__illustration {
  width: 100%;
  height: 100%;
  filter: blur(2px);
}

.layout__content {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .contact__visual {
    display: none;
  }
}

/* Pill List */
.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pill-list__item button {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(248, 250, 252, 0.9);
  font-weight: 600;
  cursor: pointer;
}

.pill-list__item button.is-open {
  border-color: var(--color-sand);
  background: rgba(212, 165, 116, 0.2);
  color: var(--color-navy);
}

.pill-list__item p {
  margin: 0.8rem 0 0;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 4rem 0 2.5rem;
    margin-top: 6rem;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 5rem 0 2.5rem;
    margin-top: 7rem;
  }
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 165, 116, 0.3), transparent);
}

.site-footer__container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (min-width: 768px) {
  .site-footer__container {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .site-footer__container {
    gap: 3rem;
  }
}

.site-footer__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

.site-footer__headline {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.site-footer__muted {
  color: rgba(255, 255, 255, 0.7);
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer__form {
  display: grid;
  gap: 0.6rem;
}

.site-footer__form input {
  border-radius: 14px;
  border: none;
  padding: 0.7rem 1rem;
}

.site-footer__form button {
  border-radius: 14px;
  background: white;
  color: #0f172a;
  padding: 0.6rem 1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.site-footer__bottom {
  margin-top: 3rem;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.site-footer__legal {
  display: flex;
  gap: 1rem;
}

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

/* Support */
.support {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.support h3 {
  margin-bottom: 0.3rem;
}

.support a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
}

.support a:hover {
  color: var(--color-sand);
}

.support-section {
  margin-bottom: 2.5rem;
}

.support-section:last-child {
  margin-bottom: 0;
}

.support-section h2 {
  margin: 0 0 1.25rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-heading);
  font-family: 'Roboto Slab', serif;
}

.support-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 165, 116, 0.2);
  box-shadow: 0 4px 16px -8px rgba(30, 58, 95, 0.1);
}

.support-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-heading);
}

.support-card p {
  margin: 0 0 1rem 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.support-card p:last-of-type {
  margin-bottom: 0;
}

.support-card ul {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.support-card ul li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.support-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-navy);
  font-weight: 600;
}

.support-card strong {
  color: var(--color-heading);
  font-weight: 600;
}

/* Topic */
.topic {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px -8px rgba(30, 58, 95, 0.1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

.topic::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.08), transparent);
  transition: left 0.6s ease;
}

.topic:hover::after {
  left: 100%;
}

.topic:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px -16px rgba(30, 58, 95, 0.18);
  border-color: rgba(255, 255, 255, 0.8);
}

.topic h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.topic p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.topic__link {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.topic__link:hover {
  color: var(--color-sand);
}

.topic__link:hover {
  text-decoration: underline;
}

.topic__meta {
  display: grid;
  gap: 0.4rem;
  text-align: right;
  color: var(--color-muted);
}

/* Empty */
.empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 24px;
  border: 1px dashed rgba(148, 163, 184, 0.5);
}

/* Auth Styles */
.auth {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 4rem;
}

.auth__container {
  width: min(100%, 420px);
}

.auth__card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 60px -40px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 1.5rem;
}

.auth__title {
  margin: 0;
  font-size: 1.75rem;
  color: #0f172a;
  font-weight: 600;
}

.auth__subtitle {
  margin: 0;
  color: var(--color-muted);
}

.auth__form {
  display: grid;
  gap: 1.2rem;
}

.auth__field {
  display: grid;
  gap: 0.4rem;
}

.auth__field label {
  font-weight: 600;
  color: #1f2937;
}

.auth__input,
.auth__field input[type='text'],
.auth__field input[type='email'],
.auth__field input[type='password'] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #f9fafb;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth__input:focus,
.auth__field input[type='text']:focus,
.auth__field input[type='email']:focus,
.auth__field input[type='password']:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
  background: white;
}

.auth__help {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.auth__errors {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-size: 0.9rem;
}

.auth__errors p {
  margin: 0;
}

.auth__field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.auth__checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.auth__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.auth__submit {
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -15px rgba(44, 94, 94, 0.8);
}

.auth__submit--danger {
  background: #dc2626;
}

.auth__submit--danger:hover {
  box-shadow: 0 12px 20px -14px rgba(220, 38, 38, 0.6);
}

.auth__link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.auth__link:hover {
  text-decoration: underline;
}

.auth__meta {
  margin: 0;
  text-align: center;
  color: #1f2937;
}

/* Pricing */
.pricing {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6rem;
  padding: 0 var(--container-padding);
  display: grid;
  gap: 4rem;
}

.pricing__header {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.pricing__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--color-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-family: 'Roboto Slab', serif;
}

.pricing__subtitle {
  margin: 1rem auto 0;
  max-width: 680px;
  color: var(--color-muted);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.pricing__status {
  padding: 1rem 1.5rem;
  border-radius: 16px;
  background: rgba(212, 165, 116, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 165, 116, 0.2);
  color: var(--color-navy);
  font-weight: 500;
  font-size: 0.95rem;
}

.pricing__status--pending {
  background: rgba(250, 204, 21, 0.18);
  color: #92400e;
}

.pricing__status--approved {
  background: rgba(34, 197, 94, 0.12);
  color: #047857;
}

.pricing__grid {
  display: grid;
  gap: 1.5rem;
}

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

.pricing__card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px -16px rgba(30, 58, 95, 0.1), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing__card:hover::before {
  opacity: 1;
}

.pricing__card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px -24px rgba(30, 58, 95, 0.2), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
}

.pricing__card-visual {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  opacity: 0.3;
  z-index: 1;
}

.pricing__card-icon {
  width: 100%;
  height: 100%;
  filter: blur(0.5px);
}

.pricing__card-icon svg {
  width: 100%;
  height: 100%;
}

.pricing__card--highlight {
  border-color: rgba(212, 165, 116, 0.4);
  box-shadow: 0 16px 48px -20px rgba(212, 165, 116, 0.25), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(212, 165, 116, 0.08) 100%);
  position: relative;
}

.pricing__card--highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-sand), rgba(212, 165, 116, 0.5));
  border-radius: 28px 28px 0 0;
}

.pricing__card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.pricing__card-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: 'Roboto Slab', serif;
  color: var(--color-heading);
}

.pricing__card-price {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  font-family: 'Roboto Slab', serif;
}

.pricing__card-currency {
  font-size: 1rem;
  color: var(--color-muted);
  margin-right: 0.25rem;
}

.pricing__card-description {
  margin: 0;
  color: var(--color-muted);
  min-height: 3rem;
}

.pricing__card-features {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.pricing__card-features li {
  margin: 0;
  line-height: 1.5;
}

.pricing__card-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  background: var(--color-navy);
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px -4px rgba(30, 58, 95, 0.3);
  margin-top: 0.5rem;
}

.pricing__card-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(30, 58, 95, 0.4);
  background: var(--color-primary-dark);
}

.pricing__empty {
  margin: 0 auto;
  text-align: center;
  color: var(--color-muted);
}

.pricing__details {
  background: rgba(212, 165, 116, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  display: grid;
  gap: 2rem;
  border: 1px solid rgba(212, 165, 116, 0.15);
  box-shadow: 0 8px 32px -16px rgba(30, 58, 95, 0.08);
}

.pricing__details-title {
  margin: 0;
  font-size: 2rem;
  color: var(--color-heading);
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: 'Roboto Slab', serif;
}

.pricing__details-card {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.pricing__bank-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  width: 100%;
  margin: 0;
}

.pricing__bank-data div {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.05);
}

.pricing__bank-data dt {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: #1f2937;
}

.pricing__bank-data dd {
  margin: 0;
  color: var(--color-muted);
  font-weight: 500;
}

.pricing__bank-account {
  font-family: 'Fira Code', 'SFMono-Regular', ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  letter-spacing: 0.03em;
}

.pricing__instructions {
  margin: 0;
  max-width: 680px;
  text-align: center;
  color: #334155;
}

/* Payment Form */
.payment-form {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
  padding: 0 var(--container-padding);
  display: grid;
  gap: 2rem;
}

.payment-form__intro {
  text-align: center;
  display: grid;
  gap: 1rem;
}

.payment-form__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.4rem);
  color: #0f172a;
}

.payment-form__subtitle {
  margin: 0 auto;
  max-width: 680px;
  color: var(--color-muted);
}

.payment-form__layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .payment-form__layout {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}

.payment-form__panel,
.payment-form__sidebar {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 60px -40px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.payment-form__form {
  display: grid;
  gap: 1.2rem;
}

.payment-form__field {
  display: grid;
  gap: 0.4rem;
}

.payment-form__field label {
  font-weight: 600;
  color: #1f2937;
}

.payment-form__field input,
.payment-form__field textarea,
.payment-form__field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #f9fafb;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-form__field input:focus,
.payment-form__field textarea:focus,
.payment-form__field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
  background: white;
}

.payment-form__help {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.payment-form__errors {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-size: 0.9rem;
}

.payment-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.payment-form__submit {
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -18px rgba(30, 58, 95, 0.5);
}

.payment-form__link {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 600;
}

.payment-form__link:hover {
  color: var(--color-primary);
}

.payment-methods-list {
  display: grid;
  gap: 1.5rem;
}

.payment-form__bank {
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.75);
  border-radius: 20px;
  display: grid;
  gap: 1rem;
}

.payment-form__bank h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
}

.payment-data-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-data-card {
  background: white;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.payment-data-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.payment-data-card__copy {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #94a3b8;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.payment-data-card:hover .payment-data-card__copy {
  opacity: 1;
}

.payment-data-card__copy:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
}

.payment-data-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.15);
  border-color: var(--color-sand);
}

.payment-data-card--highlight {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(30, 58, 95, 0.08) 100%);
  border-color: rgba(30, 58, 95, 0.25);
}

.payment-data-card--highlight:hover {
  border-color: rgba(30, 58, 95, 0.4);
  box-shadow: 0 4px 12px -4px rgba(30, 58, 95, 0.2);
}

.payment-data-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.payment-data-card__value {
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  word-break: break-word;
}

.payment-data-card--highlight .payment-data-card__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3a5f;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

.payment-form__instructions {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.payment-form__instructions p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.payment-form__empty {
  margin: 0;
  color: var(--color-muted);
}

/* Payment Confirmation */
.payment-confirmation {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
  padding: 0 var(--container-padding);
}

.payment-confirmation__card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 60px -40px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.payment-confirmation__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.4rem);
  color: #0f172a;
}

.payment-confirmation__subtitle {
  margin: 0;
  color: var(--color-muted);
}

.payment-confirmation__details {
  text-align: left;
  display: grid;
  gap: 0.5rem;
  color: var(--color-muted);
}

.payment-confirmation__details ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.4rem;
}

.payment-confirmation__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-confirmation__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -18px rgba(30, 58, 95, 0.5);
}

/* Responsive Design */
@media (max-width: 640px) {
  .auth__card {
    padding: 2rem 1.5rem;
  }

  .auth__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth__actions .auth__link {
    text-align: center;
  }
}

@media (max-width: 960px) {
  .site-navbar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-navbar__links {
    position: absolute;
    top: 72px;
    right: var(--container-padding);
    left: var(--container-padding);
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 18px 45px -35px rgba(15, 23, 42, 0.5);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    min-width: 220px;
    width: calc(100% - (var(--container-padding) * 2));
  }

  .site-navbar__links--open {
    display: flex;
  }

  .site-navbar__actions {
    margin-left: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .site-navbar__actions .site-navbar__link,
  .site-navbar__actions .site-navbar__cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 4rem var(--container-padding) 3rem;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .section {
    padding: 0 1rem;
  }

  .section--alt {
    padding: 3rem 0;
  }

  .section--alt .section__header,
  .section--alt .grid,
  .section--alt .timeline,
  .section--alt .list {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__header h2 {
    font-size: 1.5rem;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .timeline__date {
    font-size: 1.2rem;
  }

  .cta {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
    margin-left: var(--container-padding);
    margin-right: var(--container-padding);
    width: calc(100% - calc(var(--container-padding) * 2));
  }

  .cta__form {
    width: 100%;
  }

  .topic,
  .list__item {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .list__meta,
  .topic__meta {
    text-align: left;
  }

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

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

  .site-footer__container,
  .site-footer__bottom {
    padding: 0 1rem;
  }
}

/* Panel interno (Material Dashboard) */
.panel-empty-state {
  border: 1px dashed rgba(15, 23, 42, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  background-color: rgba(248, 250, 252, 0.8);
}

.panel-card-scroll {
  max-height: 22rem;
  overflow-y: auto;
}

.panel-activity .list-group-item {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.law-text {
  max-height: 480px;
  overflow-y: auto;
  white-space: pre-line;
}

/* Cookie Consent Banner Styles - Subtle bottom banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 250px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.cookie-consent-text a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

.cookie-consent-text a:hover {
  opacity: 0.8;
}

.cookie-consent-link {
  margin-left: 0.5rem;
  font-weight: 500;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent-banner .btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookie-consent-banner .btn-light {
  background-color: rgba(255, 255, 255, 0.95);
  color: #1e3a5f;
  border: none;
}

.cookie-consent-banner .btn-light:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-consent-banner .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.9);
  background-color: transparent;
}

.cookie-consent-banner .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

/* Animation for banner appearance */
@keyframes cookieConsentSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-banner[style*="display: block"] {
  animation: cookieConsentSlideUp 0.4s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-consent-container {
    padding: 1rem;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .cookie-consent-text {
    text-align: center;
    min-width: auto;
  }
  
  .cookie-consent-actions {
    justify-content: center;
    width: 100%;
  }
  
  .cookie-consent-banner .btn {
    flex: 1;
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  .cookie-consent-text {
    font-size: 0.8125rem;
  }
  
  .cookie-consent-banner .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
}
