/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #8b4513, #a0522d);
  color: white;
  border-color: #8b4513;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a0522d, #cd853f);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #8b4513;
  border-color: #8b4513;
}

.btn-secondary:hover {
  background: #8b4513;
  color: white;
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h2 {
  color: #8b4513;
  font-size: 2rem;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #8b4513;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #8b4513;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #8b4513;
  margin: 3px 0;
  transition: 0.3s;
}

/* =========================
   HERO SLIDER
   ========================= */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.hero-overlay h1 {
  font-family: "Raleway", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* oscurece toda la imagen */
  display: flex;
  justify-content: flex-start; /* 👈 alinea horizontalmente a la izquierda */
  align-items: center; /* 👈 centrado vertical */
  padding-left: 80px; /* margen desde el borde izquierdo */
}

.hero-overlay h1 {
  font-family: "Raleway", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-align: left; /* 👈 alineación de texto a la izquierda */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-text {
  text-align: center;
  color: white;
}

.hero-text h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
  backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
  background: white;
  color: #8b4513;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: #8b4513;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  color: #8b4513;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: #fff8dc;
  border-radius: 10px;
}

.stat h4 {
  font-size: 2.5rem;
  color: #8b4513;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #666;
  font-weight: 500;
  margin: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
  padding: 80px 0;
  background: #fafafa;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  color: #8b4513;
  margin-bottom: 1rem;
}

.product-info p {
  color: #666;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff8dc;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(139, 69, 19, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8b4513, #a0522d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.service-card h3 {
  color: #8b4513;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #fafafa;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.contact-item-a {
  text-decoration: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8b4513, #a0522d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-item h4 {
  color: #8b4513;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b4513;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #2c1810;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
  color: #d2b48c;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #d2b48c;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #999;
  margin: 0;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: #fafafa;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #fff8dc;
}

.faq-item.active .faq-question {
  background: #8b4513;
  color: white;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #8b4513;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
  color: white;
}

.faq-icon {
  transition: transform 0.3s ease, color 0.3s ease;
  color: #8b4513;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fff8dc;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 1.5rem 2rem;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-question {
    padding: 1rem 1.5rem;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .product-info,
  .service-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .faq-item.active .faq-answer {
    padding: 1rem;
  }

  .faq-answer p {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

/* Smooth transitions for all interactive elements */
* {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s
    ease;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid #8b4513;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .footer {
    display: none;
  }

  .hero {
    padding: 20px 0;
  }

  * {
    box-shadow: none !important;
  }
}

/* Modal */
.modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 24, 16, 0.75); /* mismo tono del footer, con opacidad */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none;
}

.modal-box {
  background: white;
  padding: 3rem 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: fadeInUp 0.4s ease-out;
}

.modal-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #8b4513;
  margin-bottom: 1rem;
}

.modal-box p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: #8b4513;
  font-weight: bold;
  cursor: pointer;
}
.aires-soft {
  font-weight: bold;
  background: linear-gradient(270deg, #169fb0, #65150a, #936757, #169fb0);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  cursor: pointer;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.aires-soft-link {
  font-weight: bold;
  background: linear-gradient(270deg, #169fb0, #65150a, #936757, #169fb0);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.aires-soft-link:hover {
  transform: scale(1.1);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Video Section Styles */
.video-section {
  padding: 80px 0;
  background: white;
}

.video-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  background: #f8f9fa;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  aspect-ratio: 9 / 16; /* Formato vertical */
}

.vertical-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* antes: cover */
  background-color: #000; /* para que las barras se vean negras */
  display: block;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-controls {
  opacity: 1;
}

.progress-container {
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #8b4513;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease;
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.play-pause-btn {
  background: rgba(139, 69, 19, 0.9);
  padding: 12px;
}

.play-pause-btn:hover {
  background: rgba(139, 69, 19, 1);
}

.hidden {
  display: none !important;
}

.time-display {
  color: white;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-slider {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #8b4513;
  border-radius: 50%;
  cursor: pointer;
}

.speed-btn .speed-text {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
}

.video-info {
  padding: 2rem 0;
}

.video-info h3 {
  color: #8b4513;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
}

.video-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2rem;
}

.video-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #8b4513;
  font-weight: 500;
}

.feature svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .video-section {
    padding: 60px 0;
  }

  .video-wrapper {
    border-radius: 15px;
    max-height: 400px;
  }

  .video-controls {
    padding: 15px;
  }

  .control-btn {
    padding: 6px;
  }

  .play-pause-btn {
    padding: 10px;
  }
}

/* Instagram Section */
.instagram {
  padding: 80px 0;
  background: #fafafa;
}

.instagram .section-header h2 {
  color: #8b4513;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.insta-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-item:hover img {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 480px) {
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Color Chart Section
   ========================= */

.color-chart {
  padding: 80px 0;
  background: white;
}

.color-categories {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.color-category {
  background: #fafafa;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}


.color-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.color-swatch:hover {
  transform: translateY(-8px);
}

.swatch-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 -2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.color-swatch:hover .swatch-circle {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* Efecto de brillo en hover */
.swatch-circle::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 20%;
  width: 30%;
  height: 30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.color-swatch:hover .swatch-circle::before {
  opacity: 1;
}

.swatch-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  transition: color 0.3s ease;
}

.color-swatch:hover .swatch-name {
  color: #8b4513;
  font-weight: 600;
}

.color-note {
  margin-top: 4rem;
  padding: 2rem;
  background: #fff8dc;
  border-left: 4px solid #8b4513;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.color-note p {
  margin: 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.color-note strong {
  color: #8b4513;
  font-weight: 600;
}

/* Responsive para carta de colores */
@media (max-width: 768px) {
  .color-chart {
    padding: 60px 0;
  }

  .color-category {
    padding: 2rem 1.5rem;
  }


  .color-swatches {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
  }

  .swatch-circle {
    width: 70px;
    height: 70px;
  }

  .swatch-name {
    font-size: 0.85rem;
  }

  .color-note {
    padding: 1.5rem;
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .color-swatches {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1.2rem;
  }

  .swatch-circle {
    width: 60px;
    height: 60px;
  }

  .swatch-name {
    font-size: 0.8rem;
  }

  .color-category {
    padding: 1.5rem 1rem;
  }

  .color-note {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* =========================
   Productos Galería (MEJORADO)
   ========================= */

.filter-buttons {
  text-align: center;
  margin-bottom: 2rem;
}

/* Botones con animación más "premium" */
.filter-btn {
  display: inline-block;
  margin: 0 8px 12px;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid #8b4513;
  color: #8b4513;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;

  transition:
    transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.filter-btn::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-60%) rotate(10deg);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.8s ease, opacity 0.25s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(139, 69, 19, 0.15);
}

.filter-btn:hover::after {
  opacity: 1;
  transform: translateX(60%) rotate(10deg);
}

.filter-btn:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 6px 14px rgba(139, 69, 19, 0.12);
}

.filter-btn:hover,
.filter-btn.active {
  background: #8b4513;
  color: #fff;
  border-color: #8b4513;
}

.products-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* =========================
   FILTRO FLUIDO SIN ESPACIOS BLANCOS
   ========================= */

.product-item {
  opacity: 1;
}

/* Animación SOLO al entrar (fade-in suave) */
.product-item.is-enter {
  animation: productFadeIn 220ms ease both;
}

@keyframes productFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}


/* ✅ Cuando queda solo 1 producto visible (evita que se vea gigante) */
.products-gallery.is-single {
  grid-template-columns: minmax(280px, 360px); /* ancho máximo del producto */
  justify-content: center; /* lo centra */
}

.products-gallery.is-single .product-item {
  width: 100%;
  max-width: 360px;
}

/* Controles de cambio de imagen para móvil/tablet */
.product-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.product-arrow span {
  font-size: 20px;
  line-height: 1;
}

.product-arrow--prev {
  left: 10px;
}

.product-arrow--next {
  right: 10px;
}

.product-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Estado alternativo activado por JS (equivalente al hover de escritorio) */
.product-item.is-alt .fabric-img {
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(0.95);
}

.product-item.is-alt .preview-clothing {
  opacity: 1;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.product-item.is-alt .overlay {
  opacity: 1;
  transform: translateY(0);
}

.product-item.is-alt .overlay span {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .product-arrow {
    display: flex;
  }
}

/* Cards: lift + brillo + swap más suave + overlay elegante */
.product-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateZ(0);
  will-change: transform, box-shadow;
  cursor: pointer;

  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* “shine” sutil al hover */
.product-item::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-65%) rotate(10deg);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.9s ease, opacity 0.25s ease;
}

/* borde/halo leve */
.product-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(139, 69, 19, 0.12);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-item .fabric-img {
  width: 100%;
  height: auto;
  display: block;

  /* swap */
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);

  transition: opacity 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.9, 0.2, 1), filter 0.85s
    cubic-bezier(0.2, 0.9, 0.2, 1);
}

.product-item .preview-clothing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);

  pointer-events: none;
  z-index: 2;

  transition: opacity 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), transform 0.95s cubic-bezier(0.2, 0.9, 0.2, 1), filter 0.95s
    cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* Overlay tipo “gradiente editorial”, aparece desde abajo */
.product-item .overlay {
  position: absolute;
  inset: 0;
  z-index: 4;

  display: flex;
  align-items: flex-end;
  justify-content: flex-start;

  padding: 18px 18px 16px;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(44, 24, 16, 0.86) 100%);

  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Texto con animación separada */
.product-item .overlay span {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
  letter-spacing: 0.2px;

  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);

  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.55s ease;
}

/* HOVER (desktop) */
@media (hover: hover) and (pointer: fine) {
  .product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16);
  }

  .product-item:hover::before {
    opacity: 1;
    transform: translateX(65%) rotate(10deg);
  }

  .product-item:hover::after {
    opacity: 1;
  }

  /* swap + zoom “cinematográfico” */
  .product-item:hover .fabric-img {
    opacity: 0;
    transform: scale(1.08);
    filter: saturate(0.95);
  }

  .product-item:hover .preview-clothing {
    opacity: 1;
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04);
  }

  .product-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .product-item:hover .overlay span {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accesibilidad: si alguien navega con teclado (por si después metés links/botones adentro) */
.product-item:focus-within {
  outline: 2px solid rgba(139, 69, 19, 0.45);
  outline-offset: 3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .filter-btn,
  .filter-btn::after,
  .product-item,
  .product-item::before,
  .product-item::after,
  .product-item .fabric-img,
  .product-item .preview-clothing,
  .product-item .overlay,
  .product-item .overlay span {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================
   MODAL SIMPLE PARA IMÁGENES
   ========================================= */

.simple-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.simple-modal--active {
  opacity: 1;
  pointer-events: all;
}

.simple-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.simple-modal__content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.simple-modal--active .simple-modal__content {
  transform: scale(1);
}

.simple-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.simple-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.simple-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e5e5;
}

.simple-modal__title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #8b4513;
  margin: 0;
}

.simple-modal__counter {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.simple-modal__body {
  position: relative;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.simple-modal__image-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-modal__image {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.simple-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(139, 69, 19, 0.9);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 5;
}

.simple-modal__nav:hover:not(:disabled) {
  background: rgba(139, 69, 19, 1);
  transform: translateY(-50%) scale(1.1);
}

.simple-modal__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.simple-modal__nav--prev {
  left: 16px;
}

.simple-modal__nav--next {
  right: 16px;
}

.simple-modal__thumbnails {
  display: flex;
  gap: 12px;
  padding: 16px 24px 20px;
  justify-content: center;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
}

.simple-modal__thumb {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  background: white;
}

.simple-modal__thumb:hover {
  border-color: #8b4513;
  transform: scale(1.05);
}

.simple-modal__thumb--active {
  border-color: #8b4513;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.simple-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .simple-modal {
    padding: 10px;
  }

  .simple-modal__content {
    max-width: 100%;
    border-radius: 12px;
  }

  .simple-modal__body {
    padding: 30px 50px;
    min-height: 300px;
  }

  .simple-modal__image {
    max-height: 400px;
  }

  .simple-modal__nav {
    width: 40px;
    height: 40px;
  }

  .simple-modal__nav--prev {
    left: 10px;
  }

  .simple-modal__nav--next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .simple-modal__header {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .simple-modal__title {
    font-size: 1.2rem;
  }

  .simple-modal__body {
    padding: 20px 40px;
    min-height: 250px;
  }

  .simple-modal__image {
    max-height: 300px;
  }

  .simple-modal__thumbnails {
    padding: 12px 16px;
    gap: 8px;
  }

  .simple-modal__thumb {
    width: 60px;
    height: 60px;
  }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
}

.whatsapp-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.35);
}


.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

/* Responsive para botón de WhatsApp */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}



/* =========================
   YouTube Video Section
   ========================= */

   .youtube-section {
    padding: 80px 0;
    background: #fafafa;
  }
  
  .youtube-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #000;
  }
  
  .youtube-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* Responsive ajustes */
  @media (max-width: 768px) {
    .youtube-section {
      padding: 60px 0;
    }
  
    .youtube-wrapper {
      border-radius: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .youtube-section {
      padding: 50px 0;
    }
  
    .youtube-wrapper {
      border-radius: 12px;
    }
  }
  