/* Restaurante Cassabe — elegant criolla theme (deep charcoal + gold) */
:root {
  --char: #1e1a16;
  --char-2: #2b2520;
  --gold: #c9a24b;
  --gold-2: #a8843a;
  --ivory: #f8f3e8;
  --ivory-2: #efe6d2;
  --white: #fffdf8;
  --ink: #241f18;
  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Karla', 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3.5rem 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* buttons */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 2px;
  font-weight: 700; text-decoration: none; font-size: .95rem; text-align: center;
  letter-spacing: .04em;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-accent { background: var(--gold); color: var(--char); box-shadow: 0 4px 14px rgba(201,162,75,.4); }
.btn-accent:hover { background: var(--gold-2); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb857; }
.btn-ghost { background: transparent; color: var(--char); border-color: var(--char); }
.btn-ghost:hover { background: var(--char); color: var(--ivory); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem 1.25rem;
  background: rgba(30,26,22,.97);
  border-bottom: 1px solid rgba(201,162,75,.5);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-size: 1.05rem;
}
.brand-name { font-family: var(--font-display); font-weight: 400; color: var(--ivory); font-size: 1.05rem; letter-spacing: .1em; }
.brand-name em { font-style: normal; color: var(--gold); }
.site-nav { display: none; }
.site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--char); padding: 1rem 1.25rem 1.5rem; gap: .25rem; border-bottom: 1px solid rgba(201,162,75,.5); }
.site-nav a { color: var(--ivory); text-decoration: none; font-weight: 600; letter-spacing: .06em; padding: .6rem 0; border-bottom: 1px solid rgba(248,243,232,.1); }
.site-nav a:last-child { border-bottom: 0; }
.menu-toggle { background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: .5rem; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--ivory); border-radius: 2px; }

/* hero */
.hero { position: relative; min-height: 84vh; display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('images/hero-criolla.jpg') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,26,22,.92) 0%, rgba(30,26,22,.45) 55%, rgba(30,26,22,.25) 100%); }
.hero-content { position: relative; z-index: 2; padding: 4rem 1.25rem 3.5rem; max-width: 1080px; margin: 0 auto; width: 100%; color: #fff; }
.hero-kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: .8rem; }
.hero h1 { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.05; margin-bottom: 1rem; letter-spacing: .03em; font-weight: 400; }
.hero h1 .accent { color: var(--gold); }
.hero-tagline { font-size: 1.1rem; max-width: 34rem; margin-bottom: 1.25rem; color: #f8f3e8; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.badge { background: rgba(255,253,248,.1); border: 1px solid rgba(201,162,75,.6); color: #fff; padding: .35rem .85rem; border-radius: 2px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

/* section titles */
.section-title { font-family: var(--font-display); font-size: 2.1rem; color: var(--char); margin-bottom: .5rem; text-align: center; letter-spacing: .02em; font-weight: 400; }
.section-title .accent { color: var(--gold-2); }
.section-sub { text-align: center; color: #5c5347; max-width: 38rem; margin: 0 auto 2rem; }

/* specialty */
.specialty { background: var(--char); }
.specialty .section-title { color: var(--ivory); }
.specialty .section-sub { color: #cfc3ac; }
.specialty-grid { display: grid; gap: 1.5rem; }
.specialty-card { background: var(--char-2); border-radius: 2px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.35); border: 1px solid rgba(201,162,75,.3); }
.specialty-card img { width: 100%; height: 220px; object-fit: cover; }
.specialty-card h3 { font-family: var(--font-display); color: var(--gold); padding: 1.1rem 1.25rem .4rem; font-size: 1.4rem; font-weight: 400; }
.specialty-card p { padding: 0 1.25rem 1rem; color: #d9cdb4; }
.card-link { display: inline-block; margin: 0 1.25rem 1.25rem; color: var(--gold); font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* services */
.services-grid { display: grid; gap: 1.25rem; }
.service-card { background: var(--white); border-radius: 2px; overflow: hidden; box-shadow: 0 6px 24px rgba(30,26,22,.10); }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-body { padding: 1.1rem 1.25rem 1.4rem; }
.service-body h3 { font-family: var(--font-display); color: var(--char); font-size: 1.35rem; margin-bottom: .4rem; font-weight: 400; }
.service-body p { color: #5c5347; margin-bottom: .8rem; font-size: .95rem; }
.service-body .card-link { margin: 0; }

/* gallery */
.gallery { background: var(--ivory-2); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.gallery-grid img { width: 100%; height: 170px; object-fit: cover; border-radius: 2px; }

/* hours */
.hours-table { width: 100%; max-width: 34rem; margin: 0 auto 1.5rem; border-collapse: collapse; background: var(--white); border-radius: 2px; overflow: hidden; box-shadow: 0 6px 24px rgba(30,26,22,.10); }
.hours-table td { padding: .9rem 1.25rem; border-bottom: 1px solid rgba(30,26,22,.08); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:first-child { font-weight: 700; color: var(--char); }
.hours-cta { text-align: center; color: #5c5347; }
.hours-cta a { color: var(--gold-2); }
.note { color: #5c5347; font-style: italic; }

/* location */
.location { background: var(--ivory-2); }
.map-wrap { border-radius: 2px; overflow: hidden; box-shadow: 0 6px 24px rgba(30,26,22,.12); margin-bottom: 1.25rem; }
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }
.location .btn { display: block; width: max-content; margin: 0 auto; }

/* contact */
.contact { text-align: center; background: var(--char); }
.contact .section-title { color: var(--ivory); }
.contact .section-sub { color: #cfc3ac; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1.25rem; }
.social { color: #cfc3ac; }
.social a { color: var(--gold); font-weight: 700; }

/* footer */
.site-footer { background: #14110d; color: #cfc3ac; padding: 2rem 0; text-align: center; font-size: .9rem; }
.site-footer .disclaimer { font-size: .8rem; opacity: .75; margin-top: .35rem; }

/* desktop */
@media (min-width: 760px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex !important; position: static; flex-direction: row; gap: 1.5rem; background: none; border: 0; padding: 0; }
  .site-nav a { border: 0; padding: 0; color: var(--ivory); }
  .site-nav a:hover { color: var(--gold); }
  .hero h1 { font-size: 4.2rem; }
  .specialty-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid img { height: 210px; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============ enhancements ============ */
::selection { background: rgba(0, 0, 0, .15); }
a { transition: color .2s ease; }
a:focus-visible, button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}
.service-card, .specialty-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover, .specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}
.gallery-grid img { transition: transform .3s ease, filter .3s ease; }
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.05); }
.hours-table tr { transition: background .2s ease; }
.hours-table tbody tr:hover { background: rgba(0, 0, 0, .03); }
.site-nav a { transition: color .2s ease, opacity .2s ease; }
.hero-content { animation: heroIn .8s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.map-wrap iframe { filter: saturate(.92); }
.contact .btn { min-width: 220px; }
.site-footer p { max-width: 60rem; margin-left: auto; margin-right: auto; }
section { scroll-margin-top: 80px; }

@media (min-width: 760px) {
  section { padding: 4.5rem 0; }
  .hero-content { padding-bottom: 4.5rem; }
  .section-title { font-size: 2.4rem; }
  .specialty-card img { height: 250px; }
  .service-card img { height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
