@font-face {
  font-family: Manrope;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/manrope-light.woff2) format('woff2');
}
@font-face {
  font-family: Manrope;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/manrope-regular.woff2) format('woff2');
}
@font-face {
  font-family: Manrope;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts/manrope-bold.woff2) format('woff2');
}
:root {
  --bg: #f6efe6;
  --bg2: #fffaf3;
  --esp: #2a1a12;
  --tx: #2a1a12;
  --mut: #7a6556;
  --line: #e4d6c4;
  --ac: #b8651b;
  --ac2: #e9b872;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font:
    400 17px/1.65 Manrope,
    system-ui,
    sans-serif;
  background: var(--bg);
  color: var(--tx);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--esp);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 99;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
  border-radius: 6px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 56px);
  background: #f6efe6e6;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--esp);
  text-decoration: none;
}
.nav nav {
  display: flex;
  gap: clamp(12px, 3vw, 30px);
  align-items: center;
}
.nav a {
  color: var(--mut);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover {
  color: var(--ac);
}
.lang {
  font: 700 13px Manrope;
  color: var(--esp);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 13px;
  cursor: pointer;
}
.lang:hover {
  border-color: var(--ac);
}
.hero {
  max-width: 1180px;
  margin: auto;
  padding: clamp(48px, 9vw, 110px) clamp(16px, 4vw, 56px) 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac);
  font-weight: 800;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  color: var(--ac);
}
.lead {
  color: var(--mut);
  max-width: 52ch;
  margin: 20px 0 28px;
  font-size: 1.1rem;
}
.btn {
  display: inline-block;
  font: 700 15px Manrope;
  color: #fff7ea;
  background: var(--esp);
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s;
}
.btn:hover {
  background: var(--ac);
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.cup {
  position: relative;
  height: 300px;
  display: grid;
  place-items: end center;
}
.mug {
  position: relative;
  width: 170px;
  height: 150px;
  border-radius: 12px 12px 80px 80px;
  background: linear-gradient(135deg, #fff7ea, #e8d8c3);
  box-shadow:
    inset -14px -10px 30px #b8651b22,
    0 30px 40px -20px #2a1a1255;
}
.mug::after {
  content: '';
  position: absolute;
  right: -48px;
  top: 26px;
  width: 62px;
  height: 76px;
  border: 14px solid #e8d8c3;
  border-left: 0;
  border-radius: 0 50px 50px 0;
}
.coffee {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 40%, #8a4a1f, #2a1a12);
}
.steam {
  position: absolute;
  bottom: 150px;
  display: flex;
  gap: 18px;
}
.steam i {
  width: 10px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(#b8651b00, #b8651b55, #b8651b00);
  animation: st 3.2s ease-in-out infinite;
}
.steam i:nth-child(2) {
  animation-delay: -1s;
  height: 90px;
}
.steam i:nth-child(3) {
  animation-delay: -2s;
}
@keyframes st {
  0% {
    transform: translateY(20px) scaleX(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-30px) scaleX(1.8);
    opacity: 0;
  }
}
.sec {
  max-width: 1180px;
  margin: auto;
  padding: clamp(48px, 8vw, 90px) clamp(16px, 4vw, 56px) 0;
}
.bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 800;
  margin-right: auto;
}
input[type='search'],
input[type='number'],
select {
  font: 500 16px Manrope;
  color: var(--tx);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  width: 100%;
}
input[type='search'] {
  width: min(260px, 100%);
}
input:focus,
select:focus {
  outline: 2px solid var(--ac);
  border-color: transparent;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filters button {
  font: 700 13px Manrope;
  color: var(--mut);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 15px;
  cursor: pointer;
}
.filters button:hover {
  border-color: var(--ac);
  color: var(--ac);
}
.filters button[aria-pressed='true'] {
  background: var(--esp);
  color: #fff7ea;
  border-color: var(--esp);
}
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.post {
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.3s;
  animation: in 0.5s both;
}
@keyframes in {
  from {
    opacity: 0;
    translate: 0 12px;
  }
}
.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px #2a1a12;
}
.post__art {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  font-size: 3.4rem;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.post__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post small {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ac);
}
.post h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.post p {
  color: var(--mut);
  font-size: 0.95rem;
}
.more {
  margin-top: auto;
  align-self: flex-start;
  font: 800 12px Manrope;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--esp);
  background: none;
  border: 0;
  border-bottom: 2px solid var(--ac);
  padding: 4px 0;
  cursor: pointer;
}
.more:hover {
  color: var(--ac);
}
.empty {
  color: var(--mut);
  padding: 30px 0;
}
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.calc__box {
  background: var(--esp);
  color: #fff7ea;
  border-radius: 28px;
  padding: 30px;
  display: grid;
  gap: 16px;
}
.calc__box label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.calc__box select,
.calc__box input {
  background: #3a261b;
  border-color: #5a4030;
  color: #fff7ea;
}
.out {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.out div {
  background: #3a261b;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}
.out b {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ac2);
}
.out span {
  font-size: 0.72rem;
  color: #d8c4ac;
}
.note {
  font-size: 0.85rem;
  color: #d8c4ac;
}
.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 24px;
}
.course {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg2);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.course ul {
  list-style: none;
  padding: 0;
  color: var(--mut);
}
.course li b {
  color: var(--tx);
}
.foot {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(16px, 4vw, 56px);
  text-align: center;
  color: var(--mut);
  font-size: 0.85rem;
}
dialog {
  margin: auto;
  border: 0;
  border-radius: 26px;
  background: var(--bg2);
  color: var(--tx);
  padding: 0;
  width: min(680px, calc(100% - 24px));
  max-height: 90vh;
}
dialog::backdrop {
  background: #2a1a12aa;
  backdrop-filter: blur(4px);
}
dialog > form {
  position: absolute;
  right: 14px;
  top: 14px;
}
.x {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--tx);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}
.read {
  padding: clamp(24px, 5vw, 44px);
  display: grid;
  gap: 14px;
}
.read h3 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding-right: 30px;
}
.read .meta {
  color: var(--mut);
  font-size: 0.85rem;
}
.read p,
.read li {
  color: #4a372b;
}
.read h4 {
  margin-top: 8px;
  font-size: 1.05rem;
}
.read ul,
.read ol {
  padding-left: 20px;
  display: grid;
  gap: 4px;
}
.seats {
  font-weight: 800;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  translate: -50% 20px;
  background: var(--esp);
  color: #fff7ea;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 70;
}
.toast.on {
  opacity: 1;
  translate: -50% 0;
}
@media (max-width: 820px) {
  .hero,
  .calc {
    grid-template-columns: 1fr;
  }
  .cup {
    height: 240px;
    order: -1;
  }
  .nav nav a {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Celular en horizontal / pantallas bajas: el héroe cabe y no se corta */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    padding-top: 28px;
    padding-bottom: 20px;
    grid-template-columns: 1.3fr 0.7fr;
  }
  .cup {
    height: 200px;
    order: 0;
  }
  h1 {
    font-size: clamp(1.9rem, 8vh, 2.8rem);
  }
  .nav nav a {
    display: inline;
  }
}

/* Regreso a la web principal */
.volver {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}
.volver a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.volver a[hidden] {
  display: none;
}
