/* =========================================================
   AURORA CAFÉ — Landing institucional
   Paleta: espresso / crema / terracota / bronce
   ========================================================= */

:root {
  --color-espresso: #1B120D;
  --color-espresso-soft: #2A1D14;
  --color-cream: #F4ECDD;
  --color-cream-soft: #EEE2CE;
  --color-terracotta: #A8562F;
  --color-terracotta-dark: #8A4526;
  --color-brass: #C9A24B;
  --color-white: #FFFDF9;
  --color-text-muted: #6B5C4E;

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;

  --container-width: 1160px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 50px -20px rgba(27, 18, 13, 0.25);
  --transition-base: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-espresso);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 3px;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-terracotta);
  margin: 0 0 12px;
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--color-espresso);
}
.section-title--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-title em { font-style: italic; color: var(--color-terracotta); }

section { padding: 100px 0; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scroll progress bar (elemento firma #2) ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-brass));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: 0 12px 30px -12px rgba(168, 86, 47, 0.6);
}
.btn--primary:hover { background: var(--color-terracotta-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--color-espresso);
  color: var(--color-espresso);
}
.btn--outline:hover { background: var(--color-espresso); color: var(--color-white); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(244, 236, 221, 0.5);
  color: var(--color-white);
}
.btn--ghost-light:hover { background: rgba(244, 236, 221, 0.12); border-color: var(--color-white); }

.btn--small { padding: 10px 20px; font-size: 0.82rem; }
.btn--large { padding: 18px 40px; font-size: 1rem; }

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}
.navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(244, 236, 221, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -16px rgba(27, 18, 13, 0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition-base);
}
.navbar__name em { color: var(--color-brass); font-style: italic; }
.is-scrolled .navbar__name { color: var(--color-espresso); }
.is-scrolled .navbar__name em { color: var(--color-terracotta); }

.navbar__cup { color: var(--color-white); transition: color var(--transition-base); }
.is-scrolled .navbar__cup { color: var(--color-espresso); }
.cup-icon { width: 26px; height: 26px; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  position: relative;
  transition: color var(--transition-base);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width var(--transition-base);
}
.nav-link:hover::after { width: 100%; }
.is-scrolled .nav-link { color: var(--color-espresso); }

.nav-cta { color: var(--color-white) !important; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__toggle span {
  width: 24px; height: 2px;
  background: var(--color-white);
  transition: background var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
}
.is-scrolled .navbar__toggle span { background: var(--color-espresso); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-espresso);
  padding-top: 90px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(168, 86, 47, 0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 90%, rgba(201, 162, 75, 0.18), transparent 60%),
    var(--color-espresso);
  z-index: 0;
}

.hero__illustration {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 460px;
  max-width: 60vw;
  opacity: 0.95;
  z-index: 1;
  will-change: transform;
}
.hero-cup-svg { width: 100%; height: auto; }

.steam__line { animation: steamRise 4s ease-in-out infinite; transform-origin: bottom center; }
.steam__line--2 { animation-delay: 0.7s; }
.steam__line--3 { animation-delay: 1.4s; }
@keyframes steamRise {
  0%   { opacity: 0; transform: translateY(6px) scaleY(0.9); }
  30%  { opacity: 0.7; }
  70%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-14px) scaleY(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 40px;
  padding-bottom: 100px;
}

.hero .eyebrow { color: var(--color-brass); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.08;
  color: var(--color-white);
  margin: 0 0 22px;
}
.hero__title em { font-style: italic; color: var(--color-terracotta); font-weight: 500; }

.hero__subtitle {
  font-size: 1.08rem;
  color: rgba(244, 236, 221, 0.82);
  max-width: 460px;
  margin: 0 0 36px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 20px;
  z-index: 2;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(244, 236, 221, 0.5);
  border-radius: 100px;
}
.hero__scroll-line {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  background: var(--color-brass);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { opacity: 0.3; }
  100% { transform: translateY(18px); opacity: 0; }
}

/* =========================================================
   PLACEHOLDER IMAGES
   ========================================================= */

.placeholder-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(135deg, rgba(27,18,13,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--color-cream-soft), #E4D3B4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.placeholder-img span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255, 253, 249, 0.75);
  padding: 8px 14px;
  border-radius: 100px;
  max-width: 80%;
}
.placeholder-img--tall { aspect-ratio: 3/4; }

/* =========================================================
   ABOUT
   ========================================================= */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about__media { position: relative; }
.about__media-accent {
  position: absolute;
  top: 24px; left: 24px;
  width: 100%; height: 100%;
  border: 1.5px solid var(--color-brass);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about__stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.about__stat { display: flex; flex-direction: column; }
.about__stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-terracotta);
}
.about__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  max-width: 120px;
}

/* =========================================================
   MENU
   ========================================================= */

.menu { background: var(--color-espresso); color: var(--color-white); }
.menu .eyebrow { color: var(--color-brass); }
.menu .section-title { color: var(--color-white); }

.menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.menu-card {
  background: var(--color-espresso-soft);
  border: 1px solid rgba(244, 236, 221, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.menu-card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 75, 0.4); }

.menu-card__icon { font-size: 2rem; margin-bottom: 16px; }
.menu-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 20px;
  color: var(--color-white);
}
.menu-card__list { display: flex; flex-direction: column; gap: 14px; }
.menu-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(244, 236, 221, 0.15);
  font-size: 0.98rem;
}
.menu-card__list li:last-child { border-bottom: none; padding-bottom: 0; }
.menu-card__price { color: var(--color-brass); font-weight: 700; }

.menu__note {
  text-align: center;
  color: rgba(244, 236, 221, 0.5);
  font-size: 0.82rem;
  margin-top: 40px;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery { padding-bottom: 70px; }

.gallery__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery__item .placeholder-img { aspect-ratio: 1/1; transition: transform var(--transition-base); }
.gallery__item:hover .placeholder-img { transform: scale(1.02); }
.gallery__item--big { grid-column: span 2; }
.gallery__item--big .placeholder-img { aspect-ratio: 21/9; }

/* =========================================================
   EXPERIENCE
   ========================================================= */

.experience__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.experience-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base);
}
.experience-card:hover { transform: translateY(-4px); }
.experience-card__icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.experience-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.experience-card p { margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials { background: var(--color-cream-soft); }

.testimonials__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.testimonial-card__stars { color: var(--color-brass); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-style: italic; margin: 0 0 18px; }
.testimonial-card__author { font-weight: 700; font-size: 0.88rem; color: var(--color-terracotta); }

/* =========================================================
   HOURS
   ========================================================= */

.hours__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hours__table {
  background: var(--color-espresso);
  border-radius: var(--radius-lg);
  padding: 12px 32px;
}
.hours__row {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(244, 236, 221, 0.15);
  color: var(--color-white);
}
.hours__row:last-child { border-bottom: none; }
.hours__row span:first-child { color: rgba(244, 236, 221, 0.6); font-size: 0.9rem; }
.hours__row span:last-child { font-family: var(--font-display); font-size: 1.1rem; }

/* =========================================================
   LOCATION
   ========================================================= */

.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.location__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-facade__preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    repeating-linear-gradient(45deg, rgba(27,18,13,0.04) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, var(--color-cream-soft), #E4D3B4);
}
.map-facade__pin {
  font-size: 2.4rem;
  animation: pinBounce 2.4s ease-in-out infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================================
   FAQ
   ========================================================= */

.faq__list {
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-espresso);
  text-align: left;
}

.faq-item__icon {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-terracotta);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 26px;
}
.faq-item__answer p { margin: 0 0 22px; color: var(--color-text-muted); }
.faq-item.is-open .faq-item__answer { max-height: 200px; }

/* =========================================================
   CTA FINAL
   ========================================================= */

.cta-final {
  position: relative;
  background: var(--color-espresso);
  overflow: hidden;
  text-align: center;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(168, 86, 47, 0.4), transparent 65%);
}
.cta-final__content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-final__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--color-white);
  margin: 0 0 16px;
  line-height: 1.15;
}
.cta-final__title em { font-style: italic; color: var(--color-brass); }
.cta-final__subtitle { color: rgba(244, 236, 221, 0.75); margin: 0 0 36px; }

/* =========================================================
   FOOTER
   ========================================================= */

.footer { background: #140D08; color: rgba(244, 236, 221, 0.75); padding: 80px 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(244, 236, 221, 0.08);
}

.footer__logo { display: inline-block; margin-bottom: 12px; }
.footer__brand p { max-width: 280px; font-size: 0.9rem; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brass);
  margin: 0 0 16px;
}
.footer__col a, .footer__col p {
  display: block;
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: rgba(244, 236, 221, 0.7);
  transition: color var(--transition-base);
}
.footer__col a:hover { color: var(--color-white); }

.footer__bottom {
  padding: 26px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244, 236, 221, 0.4);
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.6);
  z-index: 90;
  transition: transform var(--transition-base);
  animation: floatPulse 2.6s ease-in-out infinite;
}
.floating-whatsapp:hover { transform: scale(1.08); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.85); }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 90px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-espresso);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================
   RESPONSIVE — tablet & desktop
   ========================================================= */

@media (min-width: 720px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
  .menu__grid { grid-template-columns: 1fr 1fr; }
  .experience__grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
  .hours__grid { grid-template-columns: 1fr 1fr; }
  .location__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .navbar__toggle { display: none; }
}

@media (max-width: 959px) {
  .navbar__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--color-espresso);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 99;
  }
  .navbar__links.is-open { transform: translateX(0); }
  .navbar__links .nav-link { color: var(--color-white); font-size: 1.1rem; }
  .nav-cta { margin-top: 10px; }
  .navbar__toggle { display: flex; }
  .navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
  .navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (min-width: 1100px) {
  section { padding: 140px 0; }
  .hero__illustration { width: 560px; right: -20px; }
}