:root{
  --black: #1d1d1b;
  --accent: #a3b1a4;
  --bg: #ffffff;
  --max: 1100px;

  --radius: 18px;
  --shadow: 0 8px 30px rgba(29,29,27,0.08);
  --line: rgba(29,29,27,0.10);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
}

body.menu-open{
  overflow: hidden;
}

h1,h2,h3{
  font-family: "Sansita", Georgia, serif;
  margin: 0 0 10px 0;
}

a{
  color: var(--accent);
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

strong, b{
  color: var(--accent);
  font-weight: 800;
}

.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.section{
  padding: 32px 0;
}

.section-title{
  margin-top: 18px;
  text-align: center;
}

/* HEADER */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: none;
}

.header-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 0;
  gap: 14px;
  position: relative;
}

.nav-left,
.nav-right{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-left{ justify-content: flex-start; }
.nav-right{ justify-content: flex-end; }

.site-header a{
  color: var(--black);
  font-weight: 700;
}

.site-header a:hover{
  color: var(--accent);
}

.logo-center{
  justify-self: center;
}

.logo-center img{
  height: 86px;
  width: auto;
  display: block;
}

/* DROPDOWN DESKTOP */
.dropdown{
  position: relative;
}

.dropdown-btn{
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--black);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: inherit;
  line-height: inherit;
}

.dropdown-btn:hover{
  color: var(--accent);
}

.dropdown-btn .chev{
  margin-left: 6px;
}

.dropdown-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: 160ms ease;
}

.dropdown.is-open .dropdown-menu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--black);
  font-weight: 700;
}

.dropdown-menu a:hover{
  background: rgba(163,177,164,0.18);
  color: var(--black);
  text-decoration: none;
}

/* NAV ICONS + SEPARATOR */
.nav-sep{
  width: 1px;
  height: 18px;
  background: rgba(29,29,27,0.18);
  display: inline-block;
  margin: 0 2px;
}

.nav-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--black);
  border: 1px solid transparent;
  padding: 0;
  transition: background 160ms ease, transform 120ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-icon:hover{
  background: rgba(163,177,164,0.18);
  color: var(--black);
  border-color: rgba(29,29,27,0.10);
  transform: translateY(-1px);
}

.nav-icon svg{
  display: block;
}

/* HAMBURGUESA */
.menu-toggle{
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 999px;
}

/* MOBILE MENU */
.mobile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(29,29,27,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 110;
}

.mobile-menu{
  position: fixed;
  top: 0;
  left: 0;
  width: min(82vw, 340px);
  height: 100dvh;
  background: #fff;
  box-shadow: 0 10px 40px rgba(29,29,27,0.18);
  transform: translateX(-100%);
  transition: transform 220ms ease;
  z-index: 120;
  overflow-y: auto;
}

.mobile-menu-inner{
  padding: 22px 20px 28px;
}

.mobile-close{
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 34px;
  line-height: 1;
  padding: 0;
  margin: 0 0 18px 0;
  cursor: pointer;
}

.mobile-nav{
  display: grid;
  gap: 8px;
}

.mobile-nav > a,
.mobile-dropdown-btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mobile-dropdown{
  border-bottom: 1px solid rgba(29,29,27,0.08);
}

.mobile-nav > a{
  border-bottom: 1px solid rgba(29,29,27,0.08);
}

.mobile-submenu{
  display: none;
  padding: 0 0 8px 12px;
}

.mobile-submenu a{
  display: block;
  padding: 10px 0;
  color: rgba(29,29,27,0.86);
  font-weight: 600;
}

.mobile-dropdown.is-open .mobile-submenu{
  display: block;
}

.mobile-social{
  display: flex;
  gap: 10px;
  padding-top: 10px;
}

body.menu-open .mobile-overlay{
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .mobile-menu{
  transform: translateX(0);
}

/* PRODUCT GRID */
.product-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.product-card{
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px;
  box-shadow: var(--shadow);
  background: #fff;
}

.product-media{
  display: block;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.product-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: 220ms ease;
}

.product-card:hover .product-media img{
  transform: scale(1.04);
}

.product-card h3{
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 22px;
}

.product-card p{
  margin: 0;
  color: rgba(29,29,27,0.82);
}

/* SLIDER */
.hero-slider{
  width: 100%;
  padding: 0;
  margin-bottom: 18px;
}

.slider{
  position: relative;
  width: 100%;
  height: clamp(320px, 55vh, 620px);
  overflow: hidden;
  border-bottom: none;
}

.slides{
  height: 100%;
}

.slide{
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 500ms ease, transform 700ms ease;
  pointer-events: none;
  z-index: 0;
}

.slide.is-active{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(29,29,27,0.58) 0%,
    rgba(29,29,27,0.30) 55%,
    rgba(29,29,27,0.10) 100%
  );
  pointer-events: none;
}

.slide-content{
  position: relative;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 14px;
  max-width: 760px;
  padding: 28px 36px;
  color: #fff;
}

.slide-content h2{
  font-family: "Sansita", Georgia, serif;
  font-size: clamp(26px, 3.2vw, 48px);
  margin: 0;
}

.slide-content p{
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,0.92);
  max-width: 58ch;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(163,177,164,0.95);
  color: var(--black);
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  transition: transform 120ms ease, filter 180ms ease;
}

.btn:hover{
  text-decoration: none;
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.28);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 5;
}

.slider-btn:hover{
  background: rgba(0,0,0,0.38);
}

.slider-btn.prev{ left: 14px; }
.slider-btn.next{ right: 14px; }

.dots{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  z-index: 4;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}

.dot[aria-selected="true"]{
  background: rgba(163,177,164,0.95);
}

/* RESEÑAS */
.reviews-intro{
  text-align: center;
  font-family: "Nunito", system-ui, sans-serif;
  margin: 0 auto 22px;
}

.reviews{
  position: relative;
  margin-top: 18px;
  padding: 0 54px;
}

.reviews-viewport{
  overflow: hidden;
  width: 100%;
}

.reviews-track{
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.reviews-page{
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.review-card{
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.review-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.review-name{
  font-weight: 800;
  color: var(--black);
}

.review-date{
  font-size: 14px;
  color: rgba(29,29,27,0.60);
  white-space: nowrap;
}

.review-stars{
  letter-spacing: 1px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1;
}

.review-text{
  margin: 0;
  color: rgba(29,29,27,0.84);
}

.review-text a{
  color: var(--accent);
  font-weight: 800;
}

.review-text a:hover{
  text-decoration: underline;
}

.reviews-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--shadow);
  z-index: 3;
}

.reviews-btn:hover{
  background: rgba(163,177,164,0.14);
}

.reviews-btn.prev{ left: 0; }
.reviews-btn.next{ right: 0; }

.reviews-dots{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.reviews-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(29,29,27,0.20);
  cursor: pointer;
}

.reviews-dot[aria-selected="true"]{
  background: rgba(163,177,164,0.95);
}

.reviews-cta{
  margin-top: 14px;
  text-align: center;
  color: rgba(29,29,27,0.78);
}

/* NOSOTRAS */
.about-stack{
  margin-top: 18px;
  display: grid;
  gap: 26px;
}

.about-row{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border: none;
}

.about-row.reverse{
  grid-template-columns: 1fr 1.05fr;
}

.about-row.reverse .about-media{ order: 2; }
.about-row.reverse .about-text{ order: 1; }

.about-media{
  border: none;
  overflow: visible;
  background: none;
  display: flex;
}

.about-media img{
  width: 75%;
  height: auto;
  display: block;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 70%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 70%,
    rgba(0,0,0,0) 100%
  );
}

.about-text h3{
  font-family: "Sansita", Georgia, serif;
  font-size: 26px;
  margin: 0 0 10px 0;
}

.about-text p{
  margin: 0 0 10px 0;
  color: rgba(29,29,27,0.84);
}

.about-row .about-media{ justify-content: flex-start; }
.about-row.reverse .about-media{ justify-content: flex-end; }

/* CONTACTO */
.contact.section{
  padding-top: 32px;
}

.contact-hero{
  position: relative;
  width: 100%;
  height: clamp(220px, 38vh, 360px);
  overflow: hidden;
  margin-bottom: 24px;
}

.contact-hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(29,29,27,0.25) 0%,
    rgba(29,29,27,0.45) 70%,
    rgba(29,29,27,0.60) 100%
  );
}

.contact-hero-content{
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 0 0 22px 0;
  color: #fff;
  justify-items: center;
}

.contact-title{
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
}

.contact-hero-content p{
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,0.92);
  max-width: 44ch;
}

.contact-grid{
  padding: 16px 0 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.contact-info h3,
.contact-form h3{
  margin: 0 0 12px 0;
  font-size: 26px;
}

.contact-address{
  margin: 0 0 14px 0;
  color: rgba(29,29,27,0.84);
}

.contact-link{
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
  color: var(--accent);
}

.map-wrap{
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-wrap iframe{
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.contact-form form{
  display: grid;
  gap: 12px;
}

.field label{
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.field input,
.field textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--black);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(163,177,164,0.85);
}

.btn.btn-dark{
  border-radius: 14px;
  background: var(--black);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  width: fit-content;
}

.btn.btn-dark:hover{
  filter: brightness(1.05);
}

.form-msg{
  margin: 6px 0 0 0;
  font-weight: 700;
}

.form-msg.ok{ color: rgba(29,29,27,0.86); }
.form-msg.err{ color: #b42318; }

.hp{
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* FOOTER */
.site-footer{
  margin-top: 48px;
  padding: 36px 0 30px;
  background: linear-gradient(
    to bottom,
    rgba(163,177,164,0.10) 0%,
    rgba(163,177,164,0.16) 100%
  );
}

.footer-inner{
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.footer-links{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a{
  color: rgba(29,29,27,0.72);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover{
  color: var(--accent);
  text-decoration: underline;
}

.footer-links .sep{
  color: rgba(29,29,27,0.35);
}

.footer-legal{
  margin: 0;
  font-size: 14px;
  color: rgba(29,29,27,0.68);
}

.footer-legal a{
  color: var(--accent);
  font-weight: 800;
}

.footer-legal a:hover{
  text-decoration: underline;
}

.footer-cookie-link{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: rgba(29,29,27,0.72);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.footer-cookie-link:hover{
  color: var(--accent);
  text-decoration: underline;
}

/* COOKIE BANNER */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
}

.cookie-banner.is-visible{
  display: block;
}

.cookie-banner-inner{
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(29,29,27,0.14);
  backdrop-filter: blur(10px);
}

.cookie-banner-text h3{
  margin: 0 0 4px 0;
  font-size: 24px;
}

.cookie-banner-text p{
  margin: 0;
  color: rgba(29,29,27,0.84);
}

.cookie-banner-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn{
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--black);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease;
}

.cookie-btn:hover{
  transform: translateY(-1px);
}

.cookie-btn-primary{
  background: rgba(163,177,164,0.95);
  border-color: rgba(163,177,164,0.95);
}

.cookie-btn-secondary{
  background: #fff;
}

.map-consent-placeholder{
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: rgba(163,177,164,0.08);
  color: rgba(29,29,27,0.84);
}

.map-consent-placeholder p{
  margin: 0 0 14px 0;
  max-width: 34ch;
}

/* RESPONSIVE */
@media (max-width: 920px){
  .header-grid{
    grid-template-columns: 42px 1fr 42px;
    gap: 0;
    padding: 10px 0;
  }

  .menu-toggle{
    display: inline-flex;
    grid-column: 1;
    justify-self: start;
  }

  .logo-center{
    grid-column: 2;
  }

  .logo-center img{
    height: 72px;
  }

  .nav-left,
  .nav-right{
    display: none;
  }

  .product-grid{
    grid-template-columns: 1fr;
  }

  .reviews{
    padding: 0 16px;
  }

  .reviews-page{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .review-card{
    padding: 18px 20px;
  }

  .about-row,
  .about-row.reverse{
    grid-template-columns: 1fr;
  }

  .about-row.reverse .about-media,
  .about-row.reverse .about-text{
    order: initial;
  }

  .about-media img{
    width: 88%;
  }

  .contact-grid{
    grid-template-columns: 1fr;
    padding: 14px 0 30px;
  }

  .map-wrap iframe{
    height: 300px;
  }

  .cookie-banner-inner{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cookie-banner-actions{
    justify-content: flex-start;
  }
}

@media (max-width: 820px){
  .overlay{
    background: linear-gradient(
      180deg,
      rgba(29,29,27,0.62) 0%,
      rgba(29,29,27,0.34) 55%,
      rgba(29,29,27,0.20) 100%
    );
  }

  .slide-content{
    max-width: none;
    padding: 24px 22px 58px 22px;
    gap: 12px;
  }

  .slide-content p{
    max-width: 100%;
  }

  .slider-btn{
    display: none;
  }

  .dots{
    bottom: 10px;
  }

  .reviews-btn{
    display: none;
  }

  .reviews{
    padding: 0;
  }

  .review-card{
    padding: 18px 18px;
  }

  .site-footer{
    margin-top: 36px;
    padding: 30px 0 26px;
  }

  .cookie-banner{
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-banner-inner{
    padding: 16px;
    gap: 14px;
  }

  .cookie-banner-text h3{
    font-size: 22px;
  }

  .cookie-btn{
    width: 100%;
  }
}