/**
 * Estilos principales del tema Abogado Extranjería
 * Basado en el diseño React original con Tailwind
 */

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
  /* Colores principales - Paleta V&P Abogados */
  --color-primary: 211 51% 17%; /* #152C42 Azul Marino */
  --color-primary-foreground: 210 20% 98%;
  --color-secondary: 210 40% 96.1%;
  --color-secondary-foreground: 222.2 47.4% 11.2%;
  --color-accent: 43 52% 55%; /* #C9A84C Dorado */
  --color-accent-foreground: 0 0% 0%;
  
  /* Colores de fondo */
  --color-background: 0 0% 100%;
  --color-foreground: 222.2 47.4% 11.2%;
  --color-card: 0 0% 100%;
  --color-card-foreground: 222.2 47.4% 11.2%;
  
  /* Colores de UI */
  --color-muted: 210 40% 96.1%;
  --color-muted-foreground: 215.4 16.3% 46.9%;
  --color-border: 214.3 31.8% 91.4%;
  
  /* Fuentes */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* Transiciones */
  --transition-base: all 0.3s ease;
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: hsl(var(--color-foreground));
  background-color: hsl(var(--color-background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: hsl(var(--color-card));
  border-bottom: 1px solid hsl(var(--color-border));
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--color-foreground));
}

.nav-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.nav-brand i {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--color-accent));
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: hsl(var(--color-foreground));
  transition: var(--transition-base);
}

.nav-links a:hover {
  color: hsl(var(--color-accent));
}

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

/* ============================================
   UTILIDADES
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.text-accent {
  color: hsl(var(--color-accent));
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}

.btn-hero {
  background-color: hsl(var(--color-accent));
  color: hsl(var(--color-accent-foreground));
  border-color: hsl(var(--color-accent));
}

.btn-hero:hover {
  background-color: hsl(43 52% 45%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline, .btn-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
}

.btn-outline:hover, .btn-outline-white:hover {
  background-color: white;
  color: hsl(var(--color-primary));
}

.btn-primary {
  background-color: hsl(var(--color-accent));
  color: hsl(var(--color-accent-foreground));
  border-color: hsl(var(--color-accent));
}

.btn-primary:hover {
  background-color: hsl(43 52% 45%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit {
  width: 100%;
  background-color: hsl(var(--color-accent));
  color: hsl(var(--color-accent-foreground));
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-submit:hover {
  background-color: hsl(43 52% 45%);
  box-shadow: var(--shadow-lg);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('../images/hero-legal.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(21, 44, 66, 0.85), rgba(21, 44, 66, 0.85));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 4rem 1rem;
}

.hero-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  color: white;
  animation: fadeInUp 0.8s ease-out;
}

.hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 9rem;
  height: 9rem;
  object-fit: contain;
  mix-blend-mode: screen;
}

.hero-icon .lucide-icon {
  width: 4rem;
  height: 4rem;
  color: hsl(var(--color-accent));
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgb(229, 231, 235);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 480px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-footer {
  font-size: 0.875rem;
  color: rgb(209, 213, 219);
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, hsl(var(--color-background)), hsl(var(--color-muted)));
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--color-foreground));
}

@media (min-width: 480px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: hsl(var(--color-muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .section-subtitle {
    font-size: 1.125rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.service-card {
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: 1rem;
  padding: 1.5rem;
  transition: var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

@media (min-width: 640px) {
  .service-card {
    padding: 2rem;
  }
}

.service-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon-primary {
  background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(211 51% 27%));
}

.service-icon-secondary {
  background: linear-gradient(135deg, hsl(43 52% 55%), hsl(43 52% 65%));
}

.service-icon-accent {
  background: linear-gradient(135deg, hsl(210 40% 40%), hsl(210 40% 50%));
}

.lucide-icon-lg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--color-foreground));
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: hsl(var(--color-muted-foreground));
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--color-accent));
  font-weight: 700;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--color-accent));
  font-weight: 600;
}

.service-link:hover {
  gap: 0.75rem;
}

.link-icon {
  width: 1rem;
  height: 1rem;
}

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

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 5rem 0;
  background-color: hsl(var(--color-background));
}

.about-wrapper {
  max-width: 80rem;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-content {
  animation: fadeInUp 0.6s ease-out;
}

.about-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--color-foreground));
}

@media (min-width: 480px) {
  .about-title {
    font-size: 2.25rem;
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--color-muted-foreground));
}

@media (min-width: 640px) {
  .about-text p {
    font-size: 1.0625rem;
  }
}

@media (min-width: 768px) {
  .about-text p {
    font-size: 1.125rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

@media (min-width: 640px) {
  .stat-card {
    padding: 1.5rem;
  }
}

.stat-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(var(--color-accent));
  margin: 0 auto 0.75rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--color-foreground));
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .about-title {
    font-size: 3rem;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 5rem 0;
  background-color: hsl(var(--color-secondary));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 88rem;
  margin: 0 auto;
}

.testimonial-card {
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  transition: var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 2rem;
  }
}

.testimonial-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(var(--color-accent) / 0.2);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--color-accent));
}

.star-icon.filled {
  fill: hsl(var(--color-accent));
}

.testimonial-text {
  color: hsl(var(--color-muted-foreground));
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid hsl(var(--color-border));
  padding-top: 1rem;
}

.author-name {
  font-weight: 600;
  color: hsl(var(--color-foreground));
}

.author-service {
  font-size: 0.875rem;
  color: hsl(var(--color-accent));
}

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

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 5rem 0;
  background-color: hsl(var(--color-background));
}

.contact-wrapper {
  max-width: 80rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.form-card {
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .form-card {
    padding: 2rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: hsl(var(--color-foreground));
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--color-border));
  border-radius: 0.5rem;
  background-color: hsl(var(--color-background));
  color: hsl(var(--color-foreground));
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--color-accent));
  box-shadow: 0 0 0 3px hsl(var(--color-accent) / 0.1);
}

.form-footer {
  font-size: 0.875rem;
  text-align: center;
  color: hsl(var(--color-muted-foreground));
}

.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: hsl(142 71% 95%);
  color: hsl(142 76% 36%);
  border: 1px solid hsl(142 71% 85%);
}

.alert-error {
  background-color: hsl(0 71% 95%);
  color: hsl(0 76% 36%);
  border: 1px solid hsl(0 71% 85%);
}

.info-card {
  border-radius: 1rem;
  padding: 1.5rem;
  transition: var(--transition-base);
}

@media (min-width: 640px) {
  .info-card {
    padding: 2rem;
  }
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card-primary {
  background-color: hsl(var(--color-primary));
  color: hsl(var(--color-primary-foreground));
}

.info-card-accent {
  background-color: hsl(var(--color-accent) / 0.1);
  border: 1px solid hsl(var(--color-accent) / 0.2);
}

.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--color-accent));
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.info-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-value {
  color: hsl(var(--color-primary-foreground) / 0.9);
}

.info-meta {
  font-size: 0.875rem;
  color: hsl(var(--color-primary-foreground) / 0.7);
  margin-top: 0.25rem;
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--color-foreground));
}

.info-card-text {
  color: hsl(var(--color-muted-foreground));
  line-height: 1.75;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: hsl(var(--color-primary));
  color: hsl(var(--color-primary-foreground));
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--color-accent));
}

.footer-logo-img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-description {
  color: hsl(var(--color-primary-foreground) / 0.8);
  line-height: 1.6;
  max-width: 20rem;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: hsl(var(--color-primary-foreground) / 0.8);
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: hsl(var(--color-accent));
  padding-left: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--color-primary-foreground) / 0.8);
}

.footer-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: hsl(var(--color-accent));
  flex-shrink: 0;
}

.footer-contact a {
  color: hsl(var(--color-primary-foreground) / 0.8);
}

.footer-contact a:hover {
  color: hsl(var(--color-accent));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--color-primary-foreground) / 0.2);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copyright,
.footer-disclaimer {
  font-size: 0.875rem;
  color: hsl(var(--color-primary-foreground) / 0.6);
  margin-bottom: 0.5rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delays para animaciones escalonadas */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* ============================================
   MODALES
   ============================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  overflow-y: auto;
  padding: 1rem;
}

.modal.modal-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: hsl(var(--color-card));
  border-radius: 1rem;
  max-width: 48rem;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid hsl(var(--color-border));
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--color-foreground));
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: var(--transition-base);
  color: hsl(var(--color-muted-foreground));
}

.modal-close:hover {
  background-color: hsl(var(--color-muted) / 0.2);
  color: hsl(var(--color-foreground));
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-updated {
  color: hsl(var(--color-muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--color-foreground));
  margin-bottom: 0.75rem;
}

.modal-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--color-foreground));
  margin-bottom: 0.5rem;
}

.modal-section p {
  color: hsl(var(--color-muted-foreground));
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.modal-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: hsl(var(--color-muted-foreground));
  line-height: 1.6;
}

.modal-section ul li {
  margin-bottom: 0.5rem;
}

.cookie-type {
  margin-bottom: 1rem;
}

.link-primary {
  color: hsl(var(--color-primary));
  text-decoration: underline;
  cursor: pointer;
}

.link-primary:hover {
  color: hsl(var(--color-primary) / 0.8);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 1rem;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  max-width: 64rem;
  margin: 0 auto;
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--color-accent));
  margin-top: 0.25rem;
}

.cookie-text h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--color-foreground));
  margin-bottom: 0.5rem;
}

.cookie-text p {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-actions {
    width: 100%;
  }
  
  .cookie-actions button {
    flex: 1;
  }
}

/* ============================================
   CHECKBOX
   ============================================ */
.checkbox-group {
  padding: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
  line-height: 1.5;
}

.form-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  border: 2px solid hsl(var(--color-border));
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.125rem;
  transition: var(--transition-base);
}

.form-checkbox:checked {
  background-color: hsl(var(--color-primary));
  border-color: hsl(var(--color-primary));
}

.form-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--color-primary) / 0.1);
}

/* ============================================
   FOOTER LEGAL
   ============================================ */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--color-primary-foreground) / 0.2);
  text-align: center;
}

.footer-legal p {
  color: hsl(var(--color-primary-foreground) / 0.7);
  font-size: 0.875rem;
}

.footer-legal .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-legal .footer-links a {
  color: hsl(var(--color-primary-foreground) / 0.7);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.footer-legal .footer-links a:hover {
  color: hsl(var(--color-accent));
}

@media (min-width: 768px) {
  .footer-legal {
    flex-direction: row;
    justify-content: space-between;
  }
}
