:root {
  /* Colores de la marca/bandera peruana */
  --peru-red: 0 76% 42%; /* #ce1126 */
  --peru-blue: 219 100% 17%; /* #00205b */
  --peru-white: 0 0% 100%; /* #ffffff */

  /* Variaciones de color */
  --peru-red-light: 0 76% 52%;
  --peru-red-dark: 0 76% 32%;
  --peru-blue-light: 219 100% 27%;
  --peru-blue-dark: 219 100% 7%;

  /* Colores originales (mantenidos para compatibilidad) */
  --mocha: 27 31% 33%; /* Mocha Mousse #6F4E37 */
  --mocha-light: 27 31% 43%;
  --mocha-dark: 27 31% 23%;

  --ivory: 60 33% 92%; /* Marfil suave #F5F5DC */
  --ivory-light: 60 33% 97%;
  --ivory-dark: 60 33% 87%;

  --tangerine: 33 100% 50%; /* Naranja oscuro #FF8C00 */
  --tangerine-light: 33 100% 60%;
  --tangerine-dark: 33 100% 40%;

  /* System colors */
  --background: 0 0% 100%;
  --foreground: 219 100% 17%;

  --card: 0 0% 100%;
  --card-foreground: 219 100% 17%;

  --popover: 0 0% 100%;
  --popover-foreground: 219 100% 17%;

  /* Primary is now Blue */
  --primary: var(--peru-blue);
  --primary-foreground: 0 0% 100%;
  --primary-light: var(--peru-blue-light);
  --primary-dark: var(--peru-blue-dark);

  /* Secondary is now White */
  --secondary: var(--peru-white);
  --secondary-foreground: 219 100% 17%;
  --secondary-light: 0 0% 95%;
  --secondary-dark: 0 0% 90%;

  /* Accent is now Red */
  --accent: var(--peru-red);
  --accent-foreground: 0 0% 100%;
  --accent-light: var(--peru-red-light);
  --accent-dark: var(--peru-red-dark);

  --muted: 219 10% 95%;
  --muted-foreground: 219 10% 45%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;

  --border: 219 10% 90%;
  --input: 219 10% 90%;
  --ring: 219 100% 17%;

  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

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

.section {
  padding: 4rem 0;
}

.btn-premium {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  transition: all 0.5s;
  background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--primary-light)) 100%);
  box-shadow: 0 4px 15px rgba(0, 32, 91, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-premium:hover {
  background: linear-gradient(90deg, hsl(var(--primary-dark)) 0%, hsl(var(--primary)) 100%);
  box-shadow: 0 6px 20px rgba(0, 32, 91, 0.3);
  transform: translateY(-2px);
}

.btn-premium::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-premium:hover::after {
  left: 100%;
}

.btn-accent {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  transition: all 0.5s;
  background: linear-gradient(90deg, hsl(var(--accent)) 0%, hsl(var(--accent-light)) 100%);
  box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-accent:hover {
  background: linear-gradient(90deg, hsl(var(--accent-dark)) 0%, hsl(var(--accent)) 100%);
  box-shadow: 0 6px 20px rgba(206, 17, 38, 0.3);
  transform: translateY(-2px);
}

.btn-accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-accent:hover::after {
  left: 100%;
}

.btn-outline {
  border: 1px solid hsl(var(--primary));
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  color: hsl(var(--primary));
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s;
}

.card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.gradient-text {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-divider {
  width: 6rem;
  height: 0.25rem;
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)));
  margin: 0 auto 3rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.9) 100%);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-card.primary {
  background: linear-gradient(135deg, hsla(var(--primary), 0.05) 0%, hsla(var(--primary), 0.2) 100%);
}

.product-card.accent {
  background: linear-gradient(135deg, hsla(var(--accent), 0.05) 0%, hsla(var(--accent), 0.2) 100%);
}

.product-card.secondary {
  background: linear-gradient(135deg, hsla(var(--secondary), 0.05) 0%, hsla(var(--secondary), 0.2) 100%);
}

.feature-card {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid hsla(var(--primary), 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, white, hsla(var(--secondary), 0.2));
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
  color: hsl(var(--primary));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: white;
  border-radius: 1rem;
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s;
}

.modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

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

.modal-body {
  padding: 1.5rem;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.close-button:hover {
  color: hsl(var(--primary));
}

.info-button {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: hsla(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--primary));
  cursor: pointer;
  transition: all 0.2s;
}

.info-button:hover {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.5s;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background-color: hsla(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: none;
}

.mobile-menu-button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  background-color: currentColor;
  transition: all 0.2s;
}

.mobile-menu-button span:nth-child(1) {
  width: 24px;
}

.mobile-menu-button span:nth-child(2) {
  width: 16px;
}

.mobile-menu-button span:nth-child(3) {
  width: 20px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 90;
  padding: 6rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-decoration: none;
  position: relative;
}

.mobile-nav-link.active {
  color: hsl(var(--primary));
}

.mobile-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: hsl(var(--primary));
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.product-card img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: hsl(var(--accent));
}

.hero-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: hsla(var(--primary), 0.8);
}

.hero-text p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.products {
  position: relative;
}

.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 32, 91, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-title {
  font-size: 1.5rem;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}

.product-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-link {
  display: inline-flex;
  align-items: center;
  color: hsl(var(--accent));
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.product-link:hover {
  color: hsl(var(--accent-dark));
}

.product-link svg {
  margin-left: 0.5rem;
  transition: transform 0.2s;
}

.product-link:hover svg {
  transform: translateX(4px);
}

.features {
  background: linear-gradient(to bottom, white, hsla(var(--secondary), 0.1));
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(0, 32, 91, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 32, 91, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}

.feature-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.footer {
  background-color: white;
  border-top: 1px solid hsl(var(--border));
  padding: 5rem 0 2.5rem;
}

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

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}

.footer-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  max-width: 20rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
}

.social-link:hover {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary));
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.footer-links h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: hsl(var(--primary));
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: hsl(var(--primary));
  transition: width 0.3s;
}

.footer-nav-link:hover::after {
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.contact-item svg {
  color: hsl(var(--accent));
}

.copyright {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: none;
  background: transparent;
}

.scroll-down span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.scroll-down-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: hsla(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: hsl(var(--accent));
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Marquee Section - Refined for seamless looping */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 1rem 0;
  background-color: hsla(var(--peru-blue), 0.02);
  position: relative;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5rem;
  height: 100%;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, hsla(var(--background), 1), hsla(var(--background), 0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, hsla(var(--background), 1), hsla(var(--background), 0));
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  margin-right: 3rem;
  color: hsl(var(--peru-blue));
  font-style: italic;
}

.marquee-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(to right, hsl(var(--peru-blue)), hsl(var(--peru-red)));
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.marquee-text {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.125rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, hsl(var(--primary-dark)), hsl(var(--primary)));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease-out;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-text {
  margin-bottom: 2rem;
  overflow: hidden;
}

.loading-text span {
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: white;
  transform: translateY(100%);
  opacity: 0;
}

.loading-tagline {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
}

.loading-tagline span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: hsl(var(--secondary));
}

.loading-bar {
  width: 240px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, hsl(var(--accent)), hsl(var(--secondary)), hsl(var(--accent)));
  transition: width 2.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reclamaciones Banner */
.reclamaciones-banner {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-light)) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 32, 91, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reclamaciones-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(30deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.reclamaciones-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.reclamaciones-banner p {
  margin-bottom: 1.5rem;
  max-width: 36rem;
  position: relative;
  z-index: 1;
}

.reclamaciones-btn {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  transition: all 0.5s;
  background: linear-gradient(90deg, hsl(var(--accent)) 0%, hsl(var(--accent-light)) 100%);
  box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1;
}

.reclamaciones-btn:hover {
  background: linear-gradient(90deg, hsl(var(--accent-dark)) 0%, hsl(var(--accent)) 100%);
  box-shadow: 0 6px 20px rgba(206, 17, 38, 0.3);
  transform: translateY(-2px);
}

.reclamaciones-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.reclamaciones-btn:hover::after {
  left: 100%;
}

/* Cascade Animation */
.cascade-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Media Queries */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

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

  .mobile-menu-button {
    display: none;
  }

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

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-text {
    text-align: left;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }
}

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

  .footer-grid {
    grid-template-columns: 6fr 6fr;
  }

  .hero-text h1 {
    font-size: 4rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

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

.nav-link.active {
  color: hsl(var(--primary));
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: hsl(var(--primary));
}

.tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.125rem;
  color: hsl(var(--primary));
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  display: none;
}

@media (min-width: 768px) {
  .tagline {
    display: block;
  }
}

/* Enhanced Navbar for Libro de Reclamaciones - Luxury Edition */
.navbar.reclamaciones-navbar {
  background: linear-gradient(
    to right,
    rgba(0, 32, 91, 0.97),
    rgba(0, 32, 91, 0.99) 30%,
    rgba(0, 32, 91, 0.99) 70%,
    rgba(0, 32, 91, 0.97)
  );
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reclamaciones-navbar .nav-links{
  left: 450px;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.reclamaciones-navbar .navbar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reclamaciones-navbar .logo-link {
  position: relative;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.reclamaciones-navbar .logo-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(206, 17, 38, 0.7), transparent);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.reclamaciones-navbar .logo-link:hover::after {
  width: 80%;
  opacity: 1;
}

.reclamaciones-navbar .logo {
  height: 2.75rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reclamaciones-navbar .logo-link:hover .logo {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.reclamaciones-navbar .tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  font-style: italic;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reclamaciones-navbar .nav-links {
  display: flex;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.reclamaciones-navbar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.5rem 0;
  text-decoration: none;
}

.reclamaciones-navbar .nav-link:hover {
  color: rgba(255, 255, 255, 1);
}

.reclamaciones-navbar .nav-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reclamaciones-navbar .nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.reclamaciones-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, rgba(206, 17, 38, 0.7), rgba(206, 17, 38, 1));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}

.reclamaciones-navbar .nav-link:hover::after {
  width: 100%;
}

.reclamaciones-navbar .nav-link.active {
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
}

.reclamaciones-navbar .nav-link.active::after {
  width: 100%;
  background: linear-gradient(to right, rgba(206, 17, 38, 0.8), rgba(206, 17, 38, 1));
  height: 2px;
}

/* Subtle glow effect for active link */
.reclamaciones-navbar .nav-link.active::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(206, 17, 38, 0.4);
  filter: blur(4px);
  transform: scaleX(1);
}

/* Mobile menu button refinements */
.reclamaciones-navbar .mobile-menu-button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 101;
  position: relative;
}

.reclamaciones-navbar .mobile-menu-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reclamaciones-navbar .mobile-menu-button:hover::before {
  transform: scale(1.5);
}

.reclamaciones-navbar .mobile-menu-button span {
  display: block;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}



.reclamaciones-navbar .mobile-menu-button:hover span {
  background-color: rgba(255, 255, 255, 1);
}

.reclamaciones-navbar .mobile-menu-button span:nth-child(1) {
  width: 24px;
}

.reclamaciones-navbar .mobile-menu-button span:nth-child(2) {
  width: 18px;
}

.reclamaciones-navbar .mobile-menu-button span:nth-child(3) {
  width: 21px;
}

.reclamaciones-navbar .mobile-menu-button:hover span:nth-child(2),
.reclamaciones-navbar .mobile-menu-button:hover span:nth-child(3) {
  width: 24px;
}

/* Refined mobile menu styling */
.reclamaciones-navbar + .mobile-menu {
  background: linear-gradient(135deg, rgba(0, 32, 91, 0.97), rgba(0, 32, 91, 0.99));
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.reclamaciones-navbar + .mobile-menu .tagline {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.reclamaciones-navbar + .mobile-menu .mobile-nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reclamaciones-navbar + .mobile-menu .mobile-nav-link:hover,
.reclamaciones-navbar + .mobile-menu .mobile-nav-link.active {
  color: rgba(255, 255, 255, 1);
}

.reclamaciones-navbar + .mobile-menu .mobile-nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, rgba(206, 17, 38, 0.7), rgba(206, 17, 38, 1));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reclamaciones-navbar + .mobile-menu .mobile-nav-link:hover::after {
  width: 40%;
}

.reclamaciones-navbar + .mobile-menu .mobile-nav-link.active::after {
  width: 60%;
  background: linear-gradient(to right, rgba(206, 17, 38, 0.8), rgba(206, 17, 38, 1));
}

/* Refined header for Libro de Reclamaciones */
.reclamaciones-header {
  background: linear-gradient(135deg, rgba(0, 32, 91, 0.95) 0%, rgba(0, 32, 91, 0.98) 100%);
  padding: 9rem 0 5rem;
  text-align: center;
  color: hsl(var(--peru-white));
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.reclamaciones-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: rotate(30deg);
  animation: shimmer 12s infinite;
}

.reclamaciones-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(206, 17, 38, 0.7), transparent);
}

.reclamaciones-header h1 {
  font-size: 3.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: 0.02em;
}

.reclamaciones-header .subtitle {
  font-size: 1.25rem;
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.peru-divider {
  background: linear-gradient(to right, rgba(206, 17, 38, 0.7), rgba(255, 255, 255, 0.9), rgba(206, 17, 38, 0.7));
  height: 1px;
  width: 120px;
  margin: 1.5rem auto 2rem;
  position: relative;
}

.peru-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* Add subtle decorative elements */
.reclamaciones-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .reclamaciones-navbar .tagline {
    display: none;
  }

  .reclamaciones-navbar .nav-links {
    display: none;
  }

  .reclamaciones-header h1 {
    font-size: 2.5rem;
  }
}

