/* ===================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   =================================== */
:root {
  /* Paleta inspirada en el verde del logo */
  --green-900: #0f2a18;
  --green-800: #163a22;
  --green-700: #1f4d2e;
  --green-600: #2c6a3f;
  --green-500: #3d8554;

  --bg: #fbfbfa;
  --card: #ffffff;
  --text: #172019;
  --muted: #5b6a60;

  --border: rgba(15, 42, 24, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.12);

  --radius: 18px;
  --max: 1100px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   HEADER Y NAVEGACIÓN
   =================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: saturate(1.4) blur(15px);
  background: rgba(251, 251, 250, 0.85);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  transform: translateY(0);
}

header.hidden {
  transform: translateY(-100%);
}

header.scrolled {
  background: rgba(251, 251, 250, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  transition: var(--transition);
}

.brand:hover {
  opacity: 0.8;
}

/* Logo principal de García */
.logo-garcia {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  padding: 0;
  transition: var(--transition);
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.1) brightness(1.05);
  flex-shrink: 0;
}

.brand:hover .logo-garcia {
  transform: scale(1.05);
}

/* Logo pequeño de Ratti */
.logo-ratti {
  width: 39px;
  height: 39px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  transition: var(--transition);
}

.logo-ratti:hover {
  transform: scale(1.2);
}

/* Link en logo Ratti */
.brand-subtitle a,
.collaboration-logo a {
  display: inline-block;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.brand-subtitle a:hover,
.collaboration-logo a:hover {
  opacity: 0.8;
}

.brand-subtitle a img,
.collaboration-logo a img {
  display: block;
}

/* Contenedor de textos del brand */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

/* Textos del brand */
.brand-title {
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 18px;
  line-height: 1.1;
  display: block;
  margin: 0;
  padding: 0;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1.1;
  white-space: nowrap;
}

.ratti-link {
  display: inline-flex;
  align-items: center;
}

.navlinks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.navlinks a {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.navlinks a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--green-600);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navlinks a:hover {
  background: rgba(31, 77, 46, 0.08);
  color: var(--green-800);
}

.navlinks a:hover::after {
  transform: scaleX(1);
}

.navlinks a.active {
  color: var(--green-800);
  background: rgba(31, 77, 46, 0.1);
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.hamburger {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text);
  position: relative;
  transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text);
  position: absolute;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Animación del menú hamburguesa cuando está activo */
.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ===================================
   HERO SECTION CON CARRUSEL
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

/* Carrusel de fondo */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay oscuro sobre el carrusel */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 42, 24, 0.85) 0%,
    rgba(31, 77, 46, 0.75) 50%,
    rgba(15, 42, 24, 0.85) 100%
  );
  z-index: 1;
}

/* Contenido del hero */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.hero-main {
  animation: fadeInUp 0.8s ease-out;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3),
               0 0 20px rgba(0, 0, 0, 0.2);
}

.lead {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.badge {
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  transition: var(--transition);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  min-height: 50px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: white;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(31, 77, 46, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(31, 77, 46, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Botones ghost en secciones de contenido (fuera del hero) */
section:not(.hero) .btn-ghost {
  background: rgba(31, 77, 46, 0.05);
  color: var(--green-900);
  border: 2px solid var(--green-600);
  text-shadow: none;
  font-weight: 600;
}

section:not(.hero) .btn-ghost:hover {
  background: var(--green-600);
  color: white;
  border-color: var(--green-700);
  box-shadow: 0 4px 15px rgba(31, 77, 46, 0.3);
}

/* Sidebar del hero */
.hero-side {
  display: grid;
  gap: 16px;
  animation: fadeInRight 0.8s ease-out 0.6s both;
}

.mini {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mini:hover {
  transform: translateX(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.mini h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.mini p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mini .small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Indicadores del carrusel */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.active {
  background: rgba(255, 255, 255, 1);
  width: 30px;
  border-radius: 6px;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ===================================
   SECCIONES GENERALES
   =================================== */
section {
  padding: 80px 0;
  position: relative;
}

section.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 40px;
}

.section-title h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.3px;
  color: var(--green-900);
  position: relative;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--green-500));
  border-radius: 2px;
}

.section-title span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* ===================================
   GRIDS Y CARDS
   =================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--green-600), var(--green-500));
  transition: height 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
  height: 100%;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--green-900);
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.highlight {
  border-left: 4px solid var(--green-600);
  padding-left: 16px;
}

/* ===================================
   SECCIÓN DE SERVICIOS
   =================================== */
#servicios {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(31, 77, 46, 0.03) 100%
  );
}

/* ===================================
   SECCIÓN DE COLABORACIÓN
   =================================== */
#colaboracion .card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(31, 77, 46, 0.02)
  );
}

.collaboration-card {
  display: flex;
  align-items: center;
  gap: 30px;
}

.collaboration-content {
  flex: 1;
}

.collaboration-logo {
  flex-shrink: 0;
}

.collaboration-logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.collaboration-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 700px) {
  .collaboration-card {
    flex-direction: column;
    text-align: center;
  }

  .collaboration-logo img {
    width: 110px;
    height: 110px;
  }
}

/* ===================================
   SECCIÓN DE CONTACTO
   =================================== */
#contacto {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(31, 77, 46, 0.04) 100%
  );
}

/* Contenedor del mapa responsive */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* Ratio 4:3 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  padding: 50px 0;
  color: var(--muted);
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.8);
}

.footer-card {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand {
  color: white;
  font-weight: 700;
  font-size: 18px;
}

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

.social a {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.social a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.note {
  font-size: 13px;
  opacity: 0.8;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Efecto parallax suave */
.parallax {
  transition: transform 0.5s ease-out;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(31, 77, 46, 0.4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(31, 77, 46, 0.5);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-card {
    padding: 30px;
  }

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

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

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

  h1 {
    font-size: 32px;
  }

  section {
    padding: 50px 0;
  }

  .navlinks {
    font-size: 13px;
  }

  .navlinks a {
    padding: 8px 12px;
  }

  /* Header responsive */
  .logo-garcia {
    width: 55px;
    height: 55px;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .logo-ratti {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .hero-card {
    padding: 24px;
  }

  .card {
    padding: 20px;
  }

  .cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-card {
    flex-direction: column;
    text-align: center;
  }

  .carousel-indicators {
    bottom: 15px;
  }

  /* Header más compacto en móviles */
  .nav {
    padding: 10px 0;
  }

  .brand {
    gap: 10px;
  }

  .logo-garcia {
    width: 45px;
    height: 45px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-subtitle {
    font-size: 9px;
    margin-top: 2px;
  }

  .logo-ratti {
    width: 9px;
    height: 9px;
    margin-left: 3px;
  }

  /* Mostrar menú hamburguesa en móviles */
  .menu-toggle {
    display: block;
  }

  .navlinks {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .navlinks.active {
    right: 0;
  }

  .navlinks a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .navlinks a:last-child {
    border-bottom: none;
  }

  /* Overlay para cerrar el menú */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
  }

  .badges {
    gap: 8px;
  }

  .badge {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ===================================
   UTILIDADES
   =================================== */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

/* ===================================
   BANNER DE COOKIES
   =================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 2px solid var(--primary);
  padding: 16px;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-banner-text a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.cookie-banner-buttons .btn {
  font-size: 13px;
  padding: 10px 20px;
  white-space: nowrap;
}

/* Responsive para mobile */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 12px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-text {
    min-width: 100%;
  }

  .cookie-banner-text p {
    font-size: 13px;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner-buttons .btn {
    flex: 1;
    text-align: center;
  }
}

