/* ── CAFE PROTOTIPO — Dark editorial landing ── */

/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }

:root {
  --bg: #0F0D0A;
  --bg2: #181410;
  --surface: #1E1A15;
  --border: #2A2520;
  --gold: #C8956D;
  --gold-dim: #8B6B4E;
  --cream: #F5EDE4;
  --cream2: #BEB3A6;
  --white: #FDFAF6;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

h1, h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  color: var(--white);
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.center { text-align: center; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 200ms, box-shadow 200ms, background 200ms, border-color 200ms;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }

.btn-fill {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 8px 28px rgba(200,149,109,0.25);
}
.btn-fill:hover { box-shadow: 0 12px 36px rgba(200,149,109,0.35); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold-dim); background: rgba(200,149,109,0.06); }

/* ═══ NAVBAR ═══ */
#topnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(15,13,10,0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--white);
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.85rem; font-weight: 600; color: var(--cream2); transition: color 200ms; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 9px 18px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 200ms, box-shadow 200ms;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,149,109,0.3); }

/* ═══ HERO ═══ */
#hero {
  padding: 120px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: 4rem;
  line-height: 1.04;
  margin-bottom: 18px;
}
.hero-desc {
  color: var(--cream2);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img-wrap {
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}
.hero-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 16px;
  background: var(--bg);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.hero-metrics {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-metrics strong {
  font-size: 1.3rem;
  color: var(--gold);
}
.hero-metrics span {
  font-size: 0.78rem;
  color: var(--cream2);
}

/* ═══ MENU ═══ */
#menu {
  padding: 80px 0;
  background: var(--bg2);
}
#menu h2 {
  font-size: 2.8rem;
  margin-bottom: 36px;
}
.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mc {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 240ms, transform 240ms;
}
.mc:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}
.mc img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 400ms;
}
.mc:hover img { transform: scale(1.04); }
.mc-body {
  padding: 22px;
}
.mc-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.mc-body p {
  font-size: 0.88rem;
  color: var(--cream2);
  margin-bottom: 14px;
  line-height: 1.5;
}
.mc-price {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(200,149,109,0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
}

/* ═══ ABOUT ═══ */
#about { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-img-1 {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  grid-row: span 2;
}
.about-img-2 {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  align-self: end;
}
#about h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.about-text p { color: var(--cream2); margin-bottom: 20px; }
.about-text ul {
  margin-bottom: 24px;
  display: grid;
  gap: 10px;
}
.about-text li {
  padding-left: 20px;
  position: relative;
  font-weight: 600;
  font-size: 0.92rem;
}
.about-text li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ═══ TESTIMONIALS ═══ */
#reviews {
  padding: 80px 0;
  background: var(--bg2);
}
#reviews h2 { font-size: 2.6rem; margin-bottom: 36px; }
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
blockquote {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
blockquote p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.6;
}
cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
}

/* ═══ VISIT ═══ */
#visit { padding: 80px 0; }
.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}
#visit h2 { font-size: 2.4rem; margin-bottom: 12px; }
.visit-address { color: var(--cream2); margin-bottom: 20px; }
.hours-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.hours-table > div {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  transition: background 200ms;
}
.hours-table > div:last-child { border-bottom: none; }
.hours-table > div:hover { background: rgba(200,149,109,0.04); }
.hours-table span:first-child { font-weight: 700; color: var(--white); }
.hours-table span:last-child { color: var(--cream2); }
.visit-btns { display: flex; gap: 12px; }
.visit-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
}
.visit-map iframe {
  width: 100%; height: 100%; min-height: 360px; border: 0;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.8) contrast(1.2);
}

/* ═══ FAQ ═══ */
#faq {
  padding: 80px 0;
  background: var(--bg2);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 48px;
  align-items: start;
}
#faq h2 { font-size: 2.2rem; }
.faq-list { display: grid; gap: 8px; }
details {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
details:hover {
  border-color: var(--gold-dim);
  background: rgba(200,149,109,0.04);
  box-shadow: 0 4px 16px rgba(200,149,109,0.08);
}
details[open] { border-color: var(--gold-dim); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cream);
  transition: color 200ms;
}
summary::-webkit-details-marker { display: none; }
summary span {
  color: var(--gold);
  font-size: 1.3rem;
  transition: transform 200ms;
}
details[open] summary span { transform: rotate(45deg); }
details[open] summary { color: var(--gold); }
details p {
  padding: 0 20px 16px;
  color: var(--cream2);
  font-size: 0.9rem;
}

/* ═══ CTA ═══ */
#cta { padding: 80px 0; }
.cta-card {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, #3D2B1F, #6B4226);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(107,66,38,0.3);
}
.cta-card .tag { color: var(--gold); }
.cta-card h2 { font-size: 2.8rem; margin-bottom: 12px; }
.cta-card p { max-width: 400px; margin: 0 auto 28px; color: rgba(255,255,255,0.7); }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 200ms, box-shadow 200ms;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

/* ═══ FOOTER ═══ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--white);
}
.foot-brand span { color: var(--gold); }
footer p { font-size: 0.82rem; color: var(--cream2); margin-top: 4px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 0.82rem; font-weight: 600; color: var(--cream2); transition: color 200ms; }
.foot-links a:hover { color: var(--white); }
.foot-copy small { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ═══ WHATSAPP FLOAT ═══ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #1fa855;
  color: white;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(31,168,85,0.4);
  transition: transform 200ms, box-shadow 200ms;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(31,168,85,0.5);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-img-wrap { order: -1; }
  .hero-img-wrap img { height: 300px; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-metrics { flex-wrap: wrap; gap: 16px; }
  .menu-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-imgs { order: -1; }
  .rev-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  #menu h2, #about h2, #reviews h2, #visit h2, #cta h2 { font-size: 2rem; }
  .cta-card { padding: 40px 20px; }
  .visit-btns { flex-direction: column; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

@media (max-width: 420px) {
  .hero-text h1 { font-size: 1.9rem; }
}
