/* Cafe vs Hotel gateway — floating frosted chooser cards */

.hob-gate {
  position: relative;
  z-index: 4;
  padding: clamp(36px, 6vh, 80px) 6vw clamp(56px, 10vh, 110px);
  margin-top: -8px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 252, 248, 0.55), transparent 62%),
    #E9DFD3;
}

.hob-gate-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.hob-gate-brand {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: normal;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #2B1B12;
}

.hob-gate-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(58, 42, 32, 0.55);
}

.hob-gate-lead {
  margin: 0 auto 36px;
  max-width: 420px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(58, 42, 32, 0.68);
}

.hob-gate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.5vw, 36px);
  padding: 12px 4px 28px;
}

/* Outer layer: entrance + soft levitate (phase-offset per option) */
.hob-gate-float {
  animation:
    hobGateRise 0.85s cubic-bezier(0.22, 0.9, 0.32, 1) both,
    hobGateFloat 5.4s ease-in-out 0.85s infinite;
  will-change: transform;
}

.hob-gate-float--hotel {
  animation-delay: 0.14s, 1.55s;
  animation-duration: 0.85s, 6.2s;
}

.hob-gate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(220px, 32vw, 300px);
  height: 100%;
  padding: 0;
  border: 1px solid rgba(255, 252, 248, 0.65);
  border-radius: 28px;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 22px 40px rgba(120, 96, 74, 0.18),
    0 8px 16px rgba(43, 27, 18, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  outline: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 0.9, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.22, 0.9, 0.32, 1),
    border-color 0.35s ease;
}

.hob-gate-card--cafe {
  background:
    linear-gradient(155deg, rgba(255, 252, 248, 0.82) 0%, rgba(244, 232, 216, 0.72) 48%, rgba(232, 214, 190, 0.68) 100%);
}

.hob-gate-card--hotel {
  background:
    linear-gradient(155deg, rgba(255, 250, 244, 0.8) 0%, rgba(236, 224, 208, 0.7) 45%, rgba(214, 200, 180, 0.66) 100%);
}

.hob-gate-card:hover,
.hob-gate-card:focus-visible {
  border-color: rgba(255, 252, 248, 0.95);
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 34px 56px rgba(120, 96, 74, 0.26),
    0 14px 28px rgba(43, 27, 18, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.hob-gate-card:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow:
    0 16px 28px rgba(120, 96, 74, 0.18),
    0 6px 12px rgba(43, 27, 18, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.hob-gate-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  padding: clamp(24px, 3.5vw, 34px);
}

.hob-gate-label {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #2C8C7C;
}

.hob-gate-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #2B1B12;
}

.hob-gate-desc {
  margin: 12px 0 0;
  max-width: 280px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(58, 42, 32, 0.68);
}

.hob-gate-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(43, 27, 18, 0.08);
  border: 1px solid rgba(43, 27, 18, 0.12);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2B1B12;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.hob-gate-card:hover .hob-gate-cta,
.hob-gate-card:focus-visible .hob-gate-cta {
  background: #2B1B12;
  border-color: #2B1B12;
  color: #F6EFE6;
}

.hob-gate-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.hob-gate-card:hover .hob-gate-cta svg,
.hob-gate-card:focus-visible .hob-gate-cta svg {
  transform: translateX(3px);
}

@keyframes hobGateRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 720px) {
  .hob-gate {
    padding: clamp(36px, 6vh, 64px) 4vw clamp(44px, 8vh, 80px);
  }

  .hob-gate-lead {
    margin-bottom: 24px;
    font-size: 14px;
  }

  /* Keep Cafe + Hotel parallel on phones (equal columns, no stack) */
  .hob-gate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 0 22px;
    align-items: stretch;
  }

  .hob-gate-float {
    min-width: 0;
    height: 100%;
  }

  .hob-gate-card {
    min-height: 188px;
    border-radius: 20px;
  }

  .hob-gate-body {
    padding: 16px 14px 14px;
  }

  .hob-gate-label {
    margin: 0 0 6px;
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .hob-gate-title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hob-gate-desc {
    margin-top: 8px;
    max-width: none;
    font-size: 11px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .hob-gate-cta {
    gap: 5px;
    margin-top: 14px;
    padding: 9px 11px;
    font-size: 10px;
    letter-spacing: 0.06em;
    min-height: 40px;
    white-space: nowrap;
  }

  .hob-gate-cta svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  .hob-gate-card:hover,
  .hob-gate-card:focus-visible {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 380px) {
  .hob-gate-grid {
    gap: 8px;
  }

  .hob-gate-body {
    padding: 14px 12px 12px;
  }

  .hob-gate-desc {
    -webkit-line-clamp: 2;
    font-size: 10.5px;
  }

  .hob-gate-cta {
    padding: 8px 10px;
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hob-gate-float {
    animation: none !important;
    will-change: auto;
  }

  .hob-gate-card,
  .hob-gate-cta,
  .hob-gate-cta svg {
    transition: none !important;
  }

  .hob-gate-card:hover,
  .hob-gate-card:focus-visible,
  .hob-gate-card:active {
    transform: none;
  }
}
