/* Restored base stylesheet (pre-responsive changes) */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #fefcf9;
  color: #2d1f14;
}

.navbar {
  background-color: #2d1f14;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo { height: 60px; }

nav ul { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; }
nav a { color: white; text-decoration: none; font-weight: bold; font-size: 1rem; transition: color 0.3s ease; }
nav a:hover { color: #e74c3c; }

.slider { background: #ffe4d1; padding: 20px; text-align: center; font-size: 1.3em; color: #a52a2a; font-weight: bold; }

.productes { padding: 50px 20px; text-align: center; background-color: #fff8f1; }
.productes h2 { font-family: 'Playfair Display', serif; font-size: 2.5em; margin-bottom: 40px; }

.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.product { background: white; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.1); width: 280px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.product:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.product img { width: 100%; height: 180px; object-fit: cover; }
.product h3 { margin: 15px 0 8px; font-size: 1.3em; }
.product p { color: #777; font-size: .9em; padding: 0 10px 15px; }

.historia, .experiencia { padding: 50px 20px; text-align: center; background-color: #f9f4ed; }
.historia h2, .experiencia h2 { font-family: 'Playfair Display', serif; font-size: 2.3em; margin-bottom: 20px; }
.historia p, .experiencia p { max-width: 800px; margin: 0 auto; font-size: 1.1em; color: #4a3a2a; }

footer { background-color: #2d1f14; color: white; text-align: center; padding: 30px 18px; font-size: .9em; }

/* Hero slider */
.hero-slider { position: relative; height: 80vh; overflow: hidden; }
.hero-slider .slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slider .slide.active { opacity: 1; z-index: 1; }
.hero-slider .hero-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; color: white; z-index: 2; padding: 20px; background: rgba(0,0,0,.4); border-radius: 10px; }
.hero-slider h1 { font-family: 'Playfair Display', serif; font-size: 3em; margin: 0; }
.hero-slider p { font-size: 1.5em; margin: 10px 0 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .cta-button { margin: 0; }
.hero-slider .cta-button { background-color: #c0392b; color: white; padding: 12px 25px; border: none; border-radius: 5px; font-size: 1rem; text-decoration: none; transition: background .3s; }
.hero-slider .cta-button:hover { background-color: #e74c3c; }

/* Global call-to-action button style (for links/buttons with class cta-button) */
.cta-button {
  background-color: #c0392b;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
}
.cta-button:hover { background-color: #e74c3c; color: #fff; text-decoration: none; }
.cta-button.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  box-shadow: none;
}
.cta-button.secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.9);
}

/* Center the CTA button inside product cards */
.product .cta-button {
  display: block;
  width: max-content;
  margin: 0 auto 16px;
}

/* Hide burger menu button (was introduced for mobile). Reverted to desktop only header. */
.menu-toggle { display: none; }

/* Product slider inside cards */
.product-slider { position: relative; width: 100%; height: 200px; overflow: hidden; border-top-left-radius: 12px; border-top-right-radius: 12px; }
.product-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease-in-out; }
.product-slider img.active { opacity: 1; }

/* Assistant CTA (AI helper spotlight) */
.assistant-cta {
  position: relative;
  padding: 90px 20px 80px;
  background: linear-gradient(140deg, #fff8f1 0%, #ffe9d8 50%, #ffd8bf 100%);
  overflow: hidden;
}
.assistant-cta::before,
.assistant-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
}
.assistant-cta::before { top: 12%; left: 8%; }
.assistant-cta::after { bottom: -6%; right: -4%; background: rgba(255, 255, 255, 0.22); }

.assistant-shell {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.assistant-copy {
  flex: 1 1 360px;
  color: #2d1f14;
}
.assistant-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin: 12px 0 18px;
}
.assistant-copy p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.assistant-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
}

.assistant-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.assistant-features .feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 600;
  color: #8c3b20;
  box-shadow: 0 10px 30px rgba(205, 92, 42, 0.18);
  backdrop-filter: blur(4px);
}
.assistant-features .feature i { font-size: 1.1rem; }

.assistant-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.assistant-actions .cta-button {
  font-size: 1rem;
  padding: 12px 26px;
  box-shadow: 0 12px 24px rgba(192, 57, 43, 0.25);
}
.assistant-note {
  font-size: 0.85rem;
  color: rgba(45, 31, 20, 0.78);
}

.assistant-preview {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}
.preview-card {
  width: 100%;
  max-width: 360px;
  background: #fffdfa;
  border-radius: 22px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 1px solid rgba(255, 198, 168, 0.55);
  animation: float 6s ease-in-out infinite;
}
.preview-header {
  background: linear-gradient(135deg, #c0392b, #e17055);
  color: #fff;
  padding: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7bed9f;
  box-shadow: 0 0 12px rgba(123, 237, 159, 0.8);
}
.preview-body {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bubble {
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}
.bubble-user {
  align-self: flex-end;
  background: #fbeaea;
  color: #9b3b2c;
}
.bubble-assistant {
  background: #fff7ef;
  color: #5a3a20;
}
.preview-footer {
  padding: 14px 20px;
  background: #fff0e3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8c3b20;
  font-weight: 600;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Minimal breakpoint (original) */
@media screen and (max-width: 768px) {
  .product-grid { flex-direction: column; align-items: center; }
  .navbar { flex-direction: column; align-items: flex-start; }
  nav ul { flex-direction: column; gap: 10px; margin-top: 10px; }
  .hero-slider h1 { font-size: 2em; }
  .hero-slider p { font-size: 1.2em; }
}

@media screen and (max-width: 980px) {
  .assistant-shell {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .assistant-copy p { max-width: none; }
  .assistant-features { justify-content: center; }
  .assistant-actions { justify-content: center; }
  .assistant-copy h2 { font-size: 2rem; }
}
