/* Asado Libre — site stylesheet */

:root {
  --color-ink: #211a16;
  --color-ink-2: #342722;
  --color-bg: #faf5ee;
  --color-card: #ffffff;
  --color-ember: #c1440e;
  --color-ember-dark: #9a360b;
  --color-text: #2a2420;
  --color-muted: #6b6258;
  --color-border: #e6ddd0;
  --font-primary: 'Roboto Slab', 'Georgia', serif;
  --max-width: 1180px;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(33, 26, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ember);
  font-weight: 600;
  margin-bottom: 10px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--alt {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--color-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-ember);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--outline-ink {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

.btn--outline-ink:hover {
  background: var(--color-ink);
  color: #fff;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.nav__logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.nav__logo span {
  color: var(--color-ember);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: #f1ece4;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 36px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 0.82rem;
}

.lang-switch a {
  color: #cfc5b8;
  padding: 4px 8px;
  border-radius: 6px;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav__toggle {
  display: none;
}

.nav__burger {
  display: none;
  width: 26px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.nav__burger span,
.nav__burger::before,
.nav__burger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__burger::before { top: 0; }
.nav__burger span { top: 9px; }
.nav__burger::after { top: 18px; }

/* Hero */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 12, 0.55) 0%, rgba(20, 15, 12, 0.78) 100%);
  z-index: -1;
}

.hero__content {
  max-width: 640px;
}

.hero__content p {
  font-size: 1.15rem;
  color: #f1ece4;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Feature cards */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fbe7dc;
  color: var(--color-ember);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* Testimonial */

.testimonial {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__stars {
  color: var(--color-ember);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-ink);
}

.testimonial cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Contact */

.contact {
  background: var(--color-ink);
  color: #fff;
}

.contact .section-head p {
  color: #cfc5b8;
}

.contact__grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.contact__item {
  min-width: 200px;
}

.contact__item .eyebrow {
  color: var(--color-ember);
}

.contact__item a,
.contact__item p {
  color: #f1ece4;
  margin: 0;
  font-size: 1.05rem;
}

.contact__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.social-row a:hover {
  background: var(--color-ember);
  border-color: var(--color-ember);
}

/* Footer */

.site-footer {
  background: var(--color-ink-2);
  color: #cfc5b8;
  padding: 32px 0;
  font-size: 0.9rem;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__row .lang-switch a {
  color: #cfc5b8;
}

.placeholder-note {
  background: #fff8ec;
  border: 1px dashed #e4c89a;
  color: #8a6a2f;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 8px;
}

/* Responsive */

@media (max-width: 920px) {
  .about {
    grid-template-columns: 1fr;
  }

  .features,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav__panel {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--color-ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    z-index: 40;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav__toggle:checked ~ .nav__panel {
    transform: translateY(0);
  }

  .nav__burger {
    display: block;
  }

  .features,
  .gallery {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    gap: 28px;
  }

  .footer__row {
    flex-direction: column;
    text-align: center;
  }
}
