/* Las Delicias II — homepage premium layout (index1) */

.wh-home {
  --wh-green: #C41E3A;
  --wh-green-dark: #9B1830;
  --wh-green-soft: #FFF0E8;
  --ld-gold: #D4AF37;
  --wh-text: #3d1a1a;
  --wh-muted: #6b5c5c;
  --wh-radius: 20px;
  --wh-radius-lg: 24px;
  --wh-shadow: 0 12px 40px rgba(26, 46, 29, 0.07);
  --wh-shadow-hover: 0 20px 50px rgba(26, 46, 29, 0.12);
}

/* —— Hero —— */
.wh-hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
}

.wh-hero .swiper-container,
.wh-hero .swiper-wrapper,
.wh-hero .swiper-slide {
  min-height: 88vh;
}

.wh-hero .parallax-bg.bg {
  transform: scale(1.05);
}

.wh-hero .parallax-bg.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(60, 10, 15, 0.78) 0%,
    rgba(60, 10, 15, 0.42) 45%,
    rgba(60, 10, 15, 0.18) 100%
  );
  z-index: 1;
}

.wh-hero .table-view {
  position: relative;
  z-index: 2;
}

.wh-hero__inner {
  max-width: 640px;
  text-align: left;
  padding: 2rem 0 4rem;
}

.wh-hero__badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wh-green-dark);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.wh-hero .first-div.title.h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.wh-hero .sub-title {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--wh-green) !important;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.wh-hero .simple-sub-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: 520px;
}

.wh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.wh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.wh-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.wh-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #C41E3A 0%, #9B1830 100%);
  box-shadow: 0 12px 28px rgba(90, 184, 104, 0.4);
}

.wh-btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 36px rgba(90, 184, 104, 0.5);
}

.wh-btn--ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.wh-btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.wh-hero .pagination.swiper-pagination-2 {
  bottom: 2rem !important;
}

.wh-hero .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  width: 8px;
  height: 8px;
}

.wh-hero .swiper-pagination-bullet-active {
  background: var(--wh-green);
  width: 24px;
  border-radius: 4px;
}

/* —— Section header —— */
.wh-section {
  padding: 5rem 0;
}

.wh-section--soft {
  background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
}

.wh-section__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wh-green);
  margin-bottom: 0.75rem;
}

.wh-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--wh-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.wh-section__title .main-col {
  color: var(--wh-green-dark) !important;
}

.wh-section__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--wh-muted);
  max-width: 560px;
  margin: 0 auto;
}

.wh-section__head {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.wh-section__head--left {
  text-align: left;
  margin-bottom: 1.25rem;
}

.wh-section__head--left .wh-section__desc {
  margin-left: 0;
}

/* —— Menu grid: uniform 2×2 —— */
.wh-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .wh-menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.wh-menu-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--wh-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--wh-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wh-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wh-shadow-hover);
}

.wh-menu-card--featured {
  border: 2px solid var(--wh-green);
}

.wh-menu-card__media {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.wh-menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.wh-menu-card:hover .wh-menu-card__media img {
  transform: scale(1.05);
}

.wh-menu-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.35rem;
  min-height: 148px;
}

.wh-menu-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wh-green-dark);
  background: var(--wh-green-soft);
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.55rem;
}

.wh-menu-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--wh-text);
  line-height: 1.3;
}

.wh-menu-card__title a {
  color: inherit;
  text-decoration: none;
}

.wh-menu-card__title a:hover {
  color: var(--wh-green-dark);
}

.wh-menu-card__sub {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--wh-muted);
  margin: 0;
  flex: 1;
}

.wh-menu-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wh-green-dark);
  text-decoration: none;
}

.wh-menu-card__link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.wh-menu-card:hover .wh-menu-card__link::after {
  transform: translateX(4px);
}

.wh-menu-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding: 0 1rem;
}

/* —— CTA banner —— */
.wh-cta {
  position: relative;
  margin: 0 auto 5rem;
  max-width: 1100px;
  border-radius: var(--wh-radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.wh-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.wh-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 40, 25, 0.88) 0%, rgba(20, 40, 25, 0.45) 100%);
}

.wh-cta__content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  max-width: 560px;
}

.wh-cta__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wh-green);
  margin-bottom: 0.75rem;
}

.wh-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #fff !important;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.wh-cta__text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
}

/* —— About —— */
.wh-about {
  padding: 5rem 0;
  background: #fff;
}

.wh-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .wh-about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.wh-about__copy {
  max-width: 520px;
}

.wh-about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.wh-about__chip {
  padding: 0.4rem 0.9rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--wh-green-dark);
  background: var(--wh-green-soft);
  border-radius: 100px;
}

.wh-about__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--wh-muted);
}

.wh-about__text p {
  margin-bottom: 1rem;
}

.wh-about__quote {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wh-text);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.wh-about__actions {
  margin-top: 0;
}

/* 三图网格：上两格等宽，下一张通栏，无空缺 */
.wh-about__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
}

.wh-about__gallery-item {
  overflow: hidden;
  border-radius: var(--wh-radius);
  aspect-ratio: 1;
}

.wh-about__gallery-item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.wh-about__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide legacy decorative spans */
.wh-home .page-span {
  display: none !important;
}

.wh-home .menu-item.menu-item-1 .menu-button {
  display: none;
}

/* Mobile */
@media (max-width: 780px) {
  .wh-hero {
    min-height: 75vh;
  }

  .wh-hero .swiper-container,
  .wh-hero .swiper-wrapper,
  .wh-hero .swiper-slide {
    min-height: 75vh;
  }

  .wh-hero__inner {
    text-align: center;
    padding-bottom: 3rem;
  }

  .wh-hero .simple-sub-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .wh-hero__actions {
    justify-content: center;
  }

  .wh-menu-grid {
    grid-template-columns: 1fr;
  }

  .wh-menu-card__body {
    min-height: 0;
  }

  .wh-cta {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .wh-cta__content {
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 0 auto;
  }

  .wh-about__gallery-item--wide {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575px) {
  .wh-menu-grid {
    gap: 1rem;
  }
}

/* —— About page (aboutus.php) —— */
.wh-page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wh-page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.wh-page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 35, 20, 0.55) 0%,
    rgba(15, 35, 20, 0.72) 100%
  );
}

.wh-page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}

.wh-page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wh-green-dark);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
}

.wh-page-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff !important;
}

.wh-page-hero__sub {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.wh-about-page {
  background: #fff;
}

.wh-about-page__main {
  padding: 4.5rem 0 3rem;
}

.wh-about-page__main .wh-about__grid {
  align-items: start;
}

@media (min-width: 992px) {
  .wh-about-page__main .wh-about__grid {
    align-items: center;
  }
}

.wh-about__text--html p {
  margin-bottom: 0.85rem;
}

.wh-about__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wh-about__social-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wh-muted);
  margin-right: 0.25rem;
}

.wh-about__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wh-green-soft);
  transition: background 0.25s ease, transform 0.25s ease;
}

.wh-about__social-link:hover {
  background: var(--wh-green);
  transform: translateY(-2px);
}

.wh-about__social-link svg {
  width: 22px;
  height: 22px;
  fill: var(--wh-green-dark);
  transition: fill 0.25s ease;
}

.wh-about__social-link:hover svg {
  fill: #fff;
}

.wh-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.wh-btn--outline {
  color: var(--wh-green-dark);
  background: #fff;
  border: 2px solid var(--wh-green);
  box-shadow: none;
}

.wh-btn--outline:hover {
  color: #fff;
  background: var(--wh-green);
}

.wh-about-features {
  padding: 0 1.25rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.wh-about-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .wh-about-features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.wh-about-feature {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
  border: 1px solid rgba(117, 202, 130, 0.25);
  border-radius: var(--wh-radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.wh-about-feature:hover {
  border-color: var(--wh-green);
  box-shadow: var(--wh-shadow);
}

.wh-about-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  background: var(--wh-green-soft);
  border-radius: 50%;
  color: var(--wh-green-dark);
}

.wh-about-feature__icon svg {
  width: 22px;
  height: 22px;
}

.wh-about-feature__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--wh-text);
}

.wh-home .page-span,
.wh-about-page .page-span {
  display: none !important;
}

@media (max-width: 780px) {
  .wh-page-hero {
    min-height: 36vh;
  }

  .wh-page-hero__content {
    padding: 4rem 1rem 3rem;
  }

  .wh-about-page__main {
    padding: 3rem 0 2rem;
  }

  .wh-about__actions {
    flex-direction: column;
  }

  .wh-about__actions .wh-btn {
    width: 100%;
  }
}

/* —— Reservation page —— */
.wh-reservation-page {
  background: #fff;
}

.wh-reservation-book {
  padding: 3.5rem 1.25rem 4rem;
  background: linear-gradient(180deg, #f8fcf9 0%, #fff 100%);
}

.wh-reservation-book__inner,
.wh-reservation-info__inner {
  max-width: 760px;
  margin: 0 auto;
}

.wh-reservation-info__inner {
  max-width: 1100px;
}

.wh-reservation-form {
  padding: 2rem;
  background: #fff;
  border-radius: var(--wh-radius-lg);
  box-shadow: var(--wh-shadow);
  border: 1px solid rgba(117, 202, 130, 0.2);
}

.wh-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .wh-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wh-form-field--full {
  grid-column: 1 / -1;
}

.wh-form-error {
  display: block;
  min-height: 1.25rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #d64545;
}

.wh-reservation-form .input-field-icon {
  width: 100%;
}

.wh-reservation-form .input-field.wh-input,
.wh-reservation-form select.input-field.wh-input,
.wh-reservation-form textarea.input-field.wh-input {
  width: 100%;
  height: 48px;
  padding: 0 2.75rem 0 1rem;
  border: 1px solid #dce8de;
  border-radius: 12px;
  background: #fafcfa;
  color: var(--wh-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wh-reservation-form textarea.input-field.wh-textarea {
  height: 120px;
  padding-top: 0.85rem;
  resize: vertical;
}

.wh-reservation-form .input-field.wh-input:focus,
.wh-reservation-form select.input-field.wh-input:focus,
.wh-reservation-form textarea.input-field.wh-input:focus {
  border-color: var(--wh-green);
  box-shadow: 0 0 0 3px rgba(117, 202, 130, 0.2);
  outline: none;
}

.wh-reservation-form .input-field-icon .icon path {
  fill: var(--wh-green-dark);
}

.wh-reservation-form__submit {
  margin-top: 1.5rem;
  text-align: center;
}

.wh-reservation-form__submit .wh-btn {
  min-width: 200px;
  border: none;
  cursor: pointer;
}

.wh-reservation-info {
  padding: 0 1.25rem 5rem;
}

.wh-reservation-hours {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  background: var(--wh-green-soft);
  border-radius: var(--wh-radius);
}

.wh-reservation-hours__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wh-green-dark);
}

.wh-reservation-hours__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wh-reservation-hours__list li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--wh-muted);
}

.wh-reservation-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .wh-reservation-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wh-reservation-card {
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(117, 202, 130, 0.25);
  border-radius: var(--wh-radius);
  box-shadow: var(--wh-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wh-reservation-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wh-shadow-hover);
}

.wh-reservation-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  color: var(--wh-green-dark);
  background: var(--wh-green-soft);
  border-radius: 50%;
}

.wh-reservation-card__icon svg {
  width: 24px;
  height: 24px;
}

.wh-reservation-card__title {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wh-text);
}

.wh-reservation-card__link,
.wh-reservation-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--wh-muted);
  word-break: break-word;
}

.wh-reservation-card__link {
  color: var(--wh-green-dark);
  text-decoration: none;
  font-weight: 600;
}

.wh-reservation-card__link:hover {
  color: var(--wh-green);
}

@media (max-width: 780px) {
  .wh-reservation-book {
    padding-top: 2.5rem;
  }

  .wh-reservation-form {
    padding: 1.25rem;
  }

  .wh-reservation-form__submit .wh-btn {
    width: 100%;
  }
}
