
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background-color: #020617;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to right, rgba(15,23,42,0.95), rgba(8,47,73,0.95));
  border-bottom: 1px solid rgba(148,163,184,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #38bdf8;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #e5f4ff;
}

.logo-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #facc15;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: #e2e8f0;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.nav a:hover {
  background-color: rgba(15,118,110,0.15);
  color: #f9fafb;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(248, 171, 62, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(248, 171, 62, 0.5);
}

.btn-outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(148,163,184,0.8);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(15,23,42,0.6);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(15,23,42,0.5);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: 78vh;
  color: #e5f4ff;
  display: flex;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/portada.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.25), transparent 55%),
              radial-gradient(circle at bottom right, rgba(249,115,22,0.4), transparent 55%),
              linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.95));
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  padding: 4.5rem 1.5rem 3.5rem;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.hero-text p {
  font-size: 0.98rem;
  max-width: 38rem;
  color: #cbd5f5;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.6rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.hero-list li::before {
  content: '✓';
  margin-right: 0.4rem;
  color: #facc15;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-location {
  font-size: 0.86rem;
  color: #bfdbfe;
  max-width: 32rem;
}

.hero-card {
  align-self: center;
  background: radial-gradient(circle at top left, rgba(248,250,252,0.18), transparent 55%),
              linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,23,42,0.92));
  border: 1px solid rgba(148,163,184,0.5);
  border-radius: 1.25rem;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 22px 50px rgba(15,23,42,0.9);
  max-width: 26rem;
}

.hero-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: #e2e8f0;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.highlight-list li::before {
  content: '•';
  margin-right: 0.4rem;
  color: #38bdf8;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-light {
  background: radial-gradient(circle at top, rgba(56,189,248,0.08), transparent 55%), #020617;
  color: #e5e7eb;
}

.section-dark {
  background: radial-gradient(circle at top, rgba(56,189,248,0.08), transparent 55%), #020617;
  border-top: 1px solid rgba(31,41,55,0.9);
  border-bottom: 1px solid rgba(31,41,55,0.9);
  color: #e5e7eb;
}

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

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: #f9fafb;
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5f5;
}

/* Products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: rgba(15,23,42,0.9);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(30,64,175,0.7);
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.product-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #e5f4ff;
}

.product-body p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.product-body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #cbd5f5;
  display: grid;
  gap: 0.25rem;
}

.brands {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.brands-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.brand-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  font-size: 0.8rem;
  background: rgba(15,23,42,0.7);
}

/* Benefits & social */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
  gap: 2.2rem;
  align-items: center;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #e5e7eb;
}

.benefits-list li::before {
  content: '✔';
  margin-right: 0.4rem;
  color: #22c55e;
}

.social-embed h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.fb-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.8);
}

.social-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #93c5fd;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 0.9rem;
  cursor: pointer;
  border: 1px solid rgba(148,163,184,0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 35px rgba(15,23,42,0.85);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.85);
  z-index: 60;
  padding: 1rem;
}

.lightbox img {
  max-height: 90vh;
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.9);
  box-shadow: 0 24px 55px rgba(15,23,42,0.95);
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 2rem;
  cursor: pointer;
}

/* Video */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.8);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr);
  gap: 2.2rem;
  align-items: start;
}

.contact-details p {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.contact-details a {
  color: #93c5fd;
}

.contact-form {
  margin-top: 1.4rem;
  background: rgba(15,23,42,0.9);
  border-radius: 1rem;
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid rgba(30,64,175,0.8);
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 0.6rem;
  border: 1px solid rgba(148,163,184,0.8);
  background: #020617;
  color: #e5e7eb;
  padding: 0.6rem 0.65rem;
  font-family: inherit;
  font-size: 0.86rem;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid #38bdf8;
  outline-offset: 1px;
  border-color: #38bdf8;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.map-wrapper {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.9);
  box-shadow: 0 18px 40px rgba(15,23,42,0.95);
  min-height: 320px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 35px rgba(22,163,74,0.9);
  font-size: 1.5rem;
  z-index: 55;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 22px 45px rgba(22,163,74,1);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(31,41,55,0.95);
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 0 2rem;
  font-size: 0.8rem;
}

.footer-inner {
  text-align: center;
  display: grid;
  gap: 0.4rem;
}

.footer a {
  color: #93c5fd;
}

/* Responsive */

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 4rem;
  }

  .hero-card {
    max-width: none;
    margin-top: 0.5rem;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-wrapper {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    align-items: center;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .header-actions {
    display: none;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
