﻿﻿﻿﻿:root {
  --watya-bg: #f6f0e8;
  --watya-dark: #1f1b18;
  --watya-brown: #5a3427;
  --watya-accent: #b6743c;
  --watya-light: #fdfbf7;
}

body {
  color: var(--watya-dark);
}

#wrapper {
  min-height: 100vh;
}

#wrapper > .bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #6b4a2b;
  background-image: linear-gradient(0deg, rgba(31, 27, 24, 0.55), rgba(31, 27, 24, 0.35)), url('../img/hero/fondo4.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.65s ease;
  transform: none !important;
}

#nav {
  overflow: visible;
  z-index: 50;
}

#nav ul.links > li {
  position: relative;
}

#nav ul.links > li.has-submenu > a::after {
  content: " \25BE";
  font-size: 0.65rem;
  vertical-align: middle;
}

#nav ul.links .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 15rem;
  background: rgba(31, 27, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 0;
  display: none;
  z-index: 60;
}

#nav ul.links .submenu li a {
  line-height: 1.2;
  padding: 0.9rem 1rem;
  font-size: 0.72rem;
}

#nav ul.links > li.has-submenu:hover > .submenu,
#nav ul.links > li.has-submenu:focus-within > .submenu {
  display: block;
}

#nav ul.links > li.has-submenu.active > a {
  color: #1e252d;
}

#nav ul.links .submenu li.active {
  background: rgba(255, 255, 255, 0.12);
}

#nav ul.links .submenu li.active a {
  color: #fff;
}

.logo-img {
  height: 2.2rem;
  width: auto;
  vertical-align: middle;
}
#intro .logo-img {
  height: 6.6rem;
}


.post .image.main img,
.posts .image.fit img {
  height: 18rem;
  object-fit: cover;
}

.post.featured .image.main img {
  height: 26rem;
}

#main > .posts > * {
  width: 33.3333%;
}

#main > .posts > article:nth-child(2n - 1) {
  border-left-width: 2px;
}

#main > .posts > article:nth-child(-n + 2) {
  border-top-width: 2px;
}

#main > .posts > article:nth-child(3n - 2) {
  border-left-width: 0;
}

#main > .posts > article:nth-child(-n + 3) {
  border-top-width: 0;
}

#intro h1,
.post header h2,
.post.featured header h2 a,
#nav ul.links li a,
#footer h3 {
  letter-spacing: 0.06em;
}

#intro {
  min-height: 100vh;
  background-color: transparent;
  background-image: linear-gradient(0deg, rgba(31, 27, 24, 0.5), rgba(31, 27, 24, 0.5));
  background-size: cover;
  background-position: center;
}

#intro .actions .button,
.actions.special .button,
input[type="submit"],
.button {
  box-shadow: none !important;
}

.button,
input[type="submit"] {
  background-color: var(--watya-accent);
  border-color: var(--watya-accent) !important;
  color: #fff !important;
}

.button:hover,
input[type="submit"]:hover {
  background-color: #995d2d !important;
}

.section-note {
  margin: 0 0 2rem 0;
  font-size: 0.95rem;
  color: rgba(31, 27, 24, 0.7);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  padding: 1.5rem;
  border: 1px solid rgba(31, 27, 24, 0.12);
  background: #fff;
}

.kpi {
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--watya-brown);
}

.category-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.category-btn {
  border: 1px solid rgba(31, 27, 24, 0.25);
  background: #fff;
  color: var(--watya-dark);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.category-btn.active {
  background: var(--watya-accent);
  border-color: var(--watya-accent);
  color: #fff;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(31, 27, 24, 0.12);
  background: #fff;
}

.blog-card img {
  height: 14rem;
  object-fit: cover;
}

.form-stack > * {
  margin-bottom: 1rem;
}

.form-stack label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--watya-dark);
}

.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
}

.map-frame {
  width: 100%;
  height: 28rem;
  border: 0;
}

.slider-wrap {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 0;
  background: rgba(31, 27, 24, 0.8);
  color: #fff;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.slider-btn.prev { left: 0.5rem; }
.slider-btn.next { right: 0.5rem; }

.slider-container { overflow: hidden; }
.slider-track { display: flex; transition: transform 0.4s ease; }
.gallery-item { padding: 0.5rem; box-sizing: border-box; }
.gallery-item img { width: 100%; height: 14rem; object-fit: cover; }

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.floating-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 9.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.floating-action-btn.reserve {
  background-color: var(--watya-accent) !important;
}

.floating-action-btn.reserve:hover {
  background-color: #995d2d !important;
}

.floating-action-btn.whatsapp {
  background: #25d366;
}

.floating-action-btn.whatsapp:hover {
  background: #1da851;
}

.chef-card {
  text-align: center;
}

.chef-photo {
  width: 12.5rem;
  height: 12.5rem;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  overflow: hidden;
}

.chef-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chef-social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding: 0;
  margin: 0 0 1rem 0;
}

.chef-social-links a {
  color: var(--watya-dark);
  text-decoration: none;
}

.chef-social-links a:hover {
  color: var(--watya-accent);
}

.team-section {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.container-xxl,
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.team-section .text-center {
  text-align: center;
}

.team-section .section-title {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--watya-accent);
}

.team-section .ff-secondary {
  letter-spacing: 0.08em;
}

.team-section .fw-normal {
  font-weight: 500;
}

.team-section .mb-5 {
  margin-bottom: 2.2rem;
}

.team-section .mb-0 {
  margin-bottom: 0;
}

.team-section .mt-3 {
  margin-top: 0.85rem;
}

.team-section .m-4 {
  margin: 1rem;
}

.team-section .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.team-section .g-4 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: 1.5rem;
}

.team-section .col-lg-3 {
  width: 25%;
}

.team-section .col-md-6 {
  width: 50%;
}

.team-section .rounded {
  border-radius: 0.75rem;
}

.team-section .rounded-circle {
  border-radius: 50%;
}

.team-section .overflow-hidden {
  overflow: hidden;
}

.team-item {
  background: #fff;
  border: 1px solid rgba(31, 27, 24, 0.12);
  padding: 1.25rem 1rem;
  height: 100%;
}

.team-item .rounded-circle {
  width: 11rem;
  height: 11rem;
  margin-left: auto;
  margin-right: auto;
}

.team-item .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-item small {
  display: block;
  margin-top: 0.35rem;
}

.team-section .d-flex {
  display: flex;
}

.team-section .justify-content-center {
  justify-content: center;
}

.team-section .mx-1 {
  margin-left: 0.2rem;
  margin-right: 0.2rem;
}

.team-section .btn-square {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.team-section .btn-primary {
  background: var(--watya-accent);
  border: 1px solid var(--watya-accent);
  color: #fff !important;
}

.team-section .btn-primary:hover {
  background: #995d2d;
  border-color: #995d2d;
}

@media screen and (max-width: 980px) {
  #nav ul.links .submenu {
    position: static;
    display: block;
    min-width: 0;
    background: transparent;
    border: 0;
  }

  #nav ul.links .submenu li a {
    font-size: 0.75rem;
    padding: 0.2rem 0 0.2rem 1.2rem;
  }

  #nav ul.links > li.has-submenu > a::after {
    content: "";
  }

  #navPanel .links .submenu {
    margin-bottom: 0.6rem;
  }

  #navPanel .links .submenu li a {
    padding-left: 1.6rem;
    opacity: 0.9;
    font-size: 0.85rem;
  }

  #main > .posts > * {
    width: 50%;
    padding: 2.5rem;
  }

  #main > .posts > article:nth-child(3n - 2) {
    border-left-width: 2px;
  }

  #main > .posts > article:nth-child(-n + 3) {
    border-top-width: 2px;
  }

  #main > .posts > article:nth-child(2n - 1) {
    border-left-width: 0;
  }

  #main > .posts > article:nth-child(-n + 2) {
    border-top-width: 0;
  }

  .info-grid { grid-template-columns: 1fr; }
  .post .image.main img,
  .posts .image.fit img,
  .post.featured .image.main img,
  .blog-card img,
  .gallery-item img {
    height: 13rem;
  }

  .chef-photo {
    width: 11rem;
    height: 11rem;
  }

  .team-section .col-lg-3,
  .team-section .col-md-6 {
    width: 50%;
  }
}

@media screen and (max-width: 736px) {
  #main > .posts > * {
    width: 100%;
    padding: 2rem;
  }

  #main > .posts > article:nth-child(2n - 1) {
    border-left-width: 2px;
  }

  #main > .posts > article:nth-child(-n + 2) {
    border-top-width: 2px;
  }

  #main > .posts > article:nth-child(n) {
    border-left-width: 0;
  }

  #main > .posts > article:nth-child(-n + 1) {
    border-top-width: 0;
  }

  .team-section .col-lg-3,
  .team-section .col-md-6 {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-action-btn {
    min-width: auto;
    padding: 0.62rem 0.82rem;
    font-size: 0.85rem;
  }
}

/* --- Menú Móvil Acordeón --- */
@media screen and (max-width: 980px) {
  /* Ocultar submenús por defecto en el panel móvil */
  #navPanel .links .submenu {
    display: none;
  }
  /* Mostrar submenú cuando tenga la clase 'open' */
  #navPanel .links .submenu.open {
    display: block;
  }
  /* Indicador (+) para desplegar */
  #navPanel .links li.has-submenu > a::after {
    content: '+';
    float: right;
    font-weight: bold;
    margin-left: 10px;
  }
  /* Indicador (-) cuando está desplegado */
  #navPanel .links li.has-submenu > a.active-toggle::after {
    content: '-';
  }
}
