:root {
  --white: #ffffff;
  --eggshell: #ECEBE7;
  --off: #f8f6f3;
  --light: #ede9e2;
  --mid: #b0a99a;
  --dark: #3a3530;
  --black: #1a1714;
  --red: #c0392b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', Helvetica, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--eggshell);
}

a {
  color: var(--dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================
   TOPBAR
   ============================================ */

.topbar {
  background: var(--black);
  color: var(--mid);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 1rem;
}

.hidden {
  display: none !important
}
.topbar a {
  color: var(--white);
  text-decoration: underline;
}

/* ============================================
   HEADER
   ============================================ */

header {
  border-bottom: 1px solid var(--light);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;

}

.historia-footer
{
  text-align: center;
  margin-top: 2rem;
  background-color: #c3a275;
  padding: 2rem;
}

.actividades-list li {
  font-size: 18px;
  line-height: 34px;
}


.collection-img {
  max-width: 100%;
  height: auto;
}

.logo-img {
  max-width: 120px;
  height: auto;
}

.actividades-list {
  text-align: left;
  max-width: 800px;
  line-height: 2rem;
  padding-left: 1.2rem;
  padding-top: 1.2rem;
  margin: 0 auto;
}
.logo-label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.3;
}

.logo-label small {
  display: block;
  font-weight: 300;
  font-size: 10px;
  color: var(--mid);
  letter-spacing: .1em;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color .2s;
}

nav a:hover {
  color: var(--red);
  text-decoration: none;
}

.nav-sister {
  border: 1px solid var(--light);
  padding: 6px 14px;
  font-size: 11px !important;
  color: var(--mid) !important;
}

.nav-sister:hover {
  border-color: var(--dark) !important;
  color: var(--dark) !important;
}

.hamburger {
  display: none;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-bottom: 1px solid var(--light);
}

.hero-img {
  background: var(--off);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-content {
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.hero-content h1 em {
  font-style: italic;
}

.hero-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--dark);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: background .2s;
  text-decoration: none;
}

.btn:hover {
  background: var(--red);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.hero-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 80%;
  margin: 0;
}

.hero-icon-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1rem 0.5rem;
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 560px) {
  .hero-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ph-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: .7rem;
  text-align: center;
}

/* ============================================
   SECTIONS
   ============================================ */

.section-wrap {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}

.section-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--light);
  padding-bottom: 1.5rem;
  text-align: center;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--black);
}

.section-header p {
  font-size: 13px;
  color: var(--mid);
  margin-top: .4rem;
  letter-spacing: .06em;
}

/* ============================================
   COLECCIONES TABS
   ============================================ */

.tab-bar {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  cursor: pointer;
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
  transition: background .2s, color .2s;
}

.tab-btn:hover {
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
}

#colecciones {
  scroll-margin-top: 170px;
}

.tab-btn.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.tab-panel[hidden] {
  display: none;
}

/* ============================================
   PRODUCTS
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 2px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--light);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
}

.product-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

/* ============================================
   CAROUSEL
   ============================================ */

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide .collection-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ============================================
   HOVER SWAP
   ============================================ */

.hover-swap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-swap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
  transition: opacity 0.35s ease;
}

.hover-swap img:first-child {
  opacity: 1;
}

.hover-swap img:last-child {
  opacity: 0;
}

.product-thumb:hover .hover-swap img:first-child {
  opacity: 0;
}

.product-thumb:hover .hover-swap img:last-child {
  opacity: 1;
}

.product-thumb {
  background: var(--off);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.coming-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.product-info {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-sku {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: .6rem;
}

.product-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.2rem;
}

.product-price {
  font-size: 13px;
  color: var(--mid);
  letter-spacing: .06em;
}

.notify-btn {
  margin-top: .8rem;
  width: 100%;
  background: var(--off);
  border: 1px solid var(--light);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 11px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: 'Lato', sans-serif;
}

.notify-btn:hover {

  border-color: var(--black);
}

a.notify-btn {
  display: block;
  text-align: center;
  text-decoration: none;
}

/* ============================================
   QUOTE
   ============================================ */

.quote-section {
  background: var(--black);
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.quote-section blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.quote-section cite {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ============================================
   HISTORIA
   ============================================ */

#historia {
  background: var(--off);
}

.historia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.historia-body h3,  .historia-footer h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: .8rem;
  margin-top: 2rem;
}

.historia-body h3:first-child {
  margin-top: 0;
}

.historia-body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.85;
  margin-bottom: .9rem;
}

.historia-body strong {
  font-weight: 700;
  color: var(--black);
}

.historia-aside {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fact-item {
  background: var(--white);
  padding: 1.5rem;
  border-left: 3px solid var(--black);
}

.fact-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.fact-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.fact-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.6;
}

/* ============================================
   EVENTOS
   ============================================ */

.eventos-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}

.evento-card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--light);
  padding: 1.25rem;
  transition: box-shadow .25s;
}

.evento-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.evento-fecha {
  flex-shrink: 0;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light);
  background: var(--off);
  padding: 0.6rem 0.4rem;
  text-align: center;
}

.evento-mes {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2px;
}

.evento-dia {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--black);
}

.evento-sep {
  width: 24px;
  height: 1px;
  background: var(--mid);
  margin: 6px 0;
}

.evento-ano {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--mid);
}

.evento-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.evento-titulo {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.evento-lugar {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
}

.evento-hora {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
}

.eventos-vacio {
  text-align: center;
  color: var(--mid);
  font-size: 15px;
  padding: 3rem 1rem;
}

@media (max-width: 560px) {
  .eventos-lista {
    grid-template-columns: 1fr;
  }

  .evento-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .evento-fecha {
    width: 76px;
    padding: 0.5rem 0.3rem;
  }

  .evento-dia {
    font-size: 1.6rem;
  }
}

/* ============================================
   NEWSLETTER
   ============================================ */

#contacto {
  background: var(--white);
  border-top: 1px solid var(--light);
}

.newsletter-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-wrap h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: .8rem;
}

.newsletter-wrap p {
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.newsletter-form .h-captcha {
  align-self: center;
}

.captcha-error {
  display: none;
  color: var(--red);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.email-row {
  display: flex;
  border: 1px solid var(--dark);
}

.email-row input {
  flex: 1;
  padding: 13px 16px;
  border: none;
  outline: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 300;
  background: var(--white);
  color: var(--black);
}

.email-row input::placeholder {
  color: var(--mid);
}

.email-row button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 13px 22px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.email-row button:hover {
  background: var(--red);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--black);
  color: var(--mid);
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(176, 169, 154, .65);
  max-width: 260px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

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

.footer-col ul li {
  margin-bottom: .5rem;
}

.footer-col ul li a {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  text-decoration: none;
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(176, 169, 154, .45);
}

.footer-bottom a:hover {
  color: var(--mid);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-img {
    min-height: 320px;
  }

  .logo-img {
    max-width: 80px;
    height: auto;
  }

  .historia-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   TOAST
   ============================================ */

.toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 16px 1rem;
  font-size: 14px;
  font-weight: 400;
  transform: translateY(-100%);
  transition: transform .4s ease;
}
.toast.show {
  transform: translateY(0);
}
.toast strong {
  color: var(--white);
  font-weight: 700;
}
.toast-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--mid);
  font-size: 18px;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  line-height: 1;
  padding: 4px;
}
.toast-close:hover {
  color: var(--white);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  background: #c3a275;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(195, 162, 117, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  animation: whatsapp-in 0.5s ease 0.4s both;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(195, 162, 117, 0.5);
  background: #a8895d;
  text-decoration: none;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 3px;
}

.whatsapp-float:active {
  transform: scale(0.94);
}

.whatsapp-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.whatsapp-label::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--dark);
}

.whatsapp-float:hover .whatsapp-label,
.whatsapp-float:focus-visible .whatsapp-label {
  opacity: 1;
}

@keyframes whatsapp-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-label {
    display: none;
  }
}

@supports (padding: max(0px)) {
  .whatsapp-float {
    bottom: max(24px, env(safe-area-inset-bottom, 16px));
    right: max(24px, env(safe-area-inset-right, 16px));
  }
}

@supports (padding: max(0px)) and (max-width: 560px) {
  .whatsapp-float {
    bottom: max(16px, env(safe-area-inset-bottom, 10px));
    right: max(16px, env(safe-area-inset-right, 10px));
  }
}

@media (max-width: 560px) {

  header {
    height: auto;
    padding: 0.75rem clamp(1rem, 4vw, 1.5rem);
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 210;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 1px;
    transition: transform .3s ease, opacity .3s ease;
  }

  .nav-open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 200;
  }

  .nav-open nav {
    opacity: 1;
    pointer-events: auto;
  }

  nav a {
    font-size: 1.1rem;
  }

  .nav-sister {
    font-size: .85rem !important;
  }

  .logo-img {
    max-width: 60px;
    height: auto;
  }

  .hero-img {
    min-height: 260px;
  }

  .hero-img img {
    max-width: 85%;
  }

  .collection-img {
    max-width: 85%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .email-row {
    flex-direction: column;
    border: none;
    gap: .5rem;
  }

  .email-row input {
    border: 1px solid var(--dark);
  }

  .email-row button {
    border: 1px solid var(--black);
  }
}
