/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #374151;
  background: #ffffff;
}

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

/* Header */
.header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.15);
  backdrop-filter: blur(10px);
}

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

.logo-img {
  height: 45px;
  filter: brightness(1.1);
  transition: transform 0.3s ease;
}

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

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.nav a:hover::after {
  width: 100%;
}

.header-contact .cta-button {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.header-contact .cta-button:hover {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.phone {
  font-size: 0.875rem;
  opacity: 0.95;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 25%, #fed7aa 50%, #fecaca 100%);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d97706" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23f59e0b" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a8a 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.375rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.25);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #1e3a8a;
  padding: 1.25rem 2.5rem;
  border: 2px solid rgba(30, 58, 138, 0.2);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #1e3a8a;
  color: white;
  border-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.25);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Services Section */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fefce8 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a8a 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.375rem;
  color: #6b7280;
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.8);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.25);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(217, 119, 6, 0.35);
}

.service-icon i {
  font-size: 2.25rem;
  color: white;
}

.service-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1.25rem;
  font-family: "Montserrat", sans-serif;
}

.service-card p {
  color: #6b7280;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Benefits Section */
.benefits {
  padding: 120px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.benefits .section-header {
  position: relative;
  z-index: 1;
}

.benefits .section-header h2 {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
}

.benefits .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.benefit-icon i {
  font-size: 1.75rem;
  color: white;
}

.benefit-item h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  font-family: "Montserrat", sans-serif;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Catalog Section */
.catalog {
  padding: 120px 0;
  background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 2rem;
}

.product-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.75rem;
  font-family: "Montserrat", sans-serif;
}

.product-price {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.product-stock {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.product-actions {
  display: flex;
  gap: 1rem;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-outline {
  background: rgba(30, 58, 138, 0.1);
  color: #1e3a8a;
  border: 2px solid rgba(30, 58, 138, 0.2);
}

.btn-outline:hover {
  background: #1e3a8a;
  color: white;
  border-color: #1e3a8a;
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: linear-gradient(135deg, #fefce8 0%, #fed7aa 100%);
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(10px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.25);
}

.contact-icon i {
  font-size: 1.75rem;
  color: white;
}

.contact-item h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.contact-item p {
  color: #4b5563;
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 2px solid rgba(30, 58, 138, 0.1);
  border-radius: 12px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d97706;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerdots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerdots)"/></svg>');
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1.5rem;
  filter: brightness(1.2);
}

.footer-section h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: "Montserrat", sans-serif;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.footer-section ul li:hover {
  color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  margin: 3% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close {
  color: #6b7280;
  float: right;
  font-size: 32px;
  font-weight: bold;
  padding: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #d97706;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
}

.main-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thumbnail-images {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail.active {
  border-color: #d97706;
  transform: scale(1.05);
}

.thumbnail:hover {
  border-color: #f59e0b;
}

.modal-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  font-family: "Montserrat", sans-serif;
}

.modal-price {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.modal-stock {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.modal-description {
  color: #4b5563;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.modal-whatsapp {
  width: 100%;
  justify-content: center;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

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

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

  .modal-body {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

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

  .services-grid,
  .benefits-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .hero-text p,
  .section-header p {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .contact-form {
    padding: 2rem;
  }
}
