﻿:root {
  --ink: #101827;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #fff8ee;
  --brand: #e6194b;
  --brand-dark: #a70f35;
  --gold: #f5b841;
  --mint: #18b875;
  --leaf: #3f8f34;
  --sauce: #ff6b35;
  --cream: #fff8ee;
  --white: #ffffff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff8ee;
}

main {
  background:
    linear-gradient(rgba(255, 248, 238, 0.05), rgba(255, 248, 238, 0.15)),
    url("assets/FONDO CASTORE.png");
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
}

.hero {
  background: transparent;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  background: #367c2f;
  border-bottom: 1px solid #2b6626;
  box-shadow: 0 12px 34px rgba(27, 70, 25, 0.18);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 12px clamp(16px, 5vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.brand-logo {
  align-items: center;
  background: transparent;
  border-radius: 0;
  color: white;
  display: inline-flex;
  font-weight: 1000;
  height: 92px;
  justify-content: center;
  overflow: hidden;
  width: 352px;
}

.brand-logo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.site-nav a,
.nav-toggle {
  align-items: center;
  border-radius: 8px;
  color: white;
  display: inline-flex;
  gap: 8px;
  font-weight: 850;
  padding: 12px 14px;
  text-shadow: 0 1px 1px rgba(16, 24, 39, 0.18);
}

.site-nav svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 22px;
}

.cart-nav-link {
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(166, 15, 53, 0.25);
  margin-left: 8px;
}

.cart-nav-link:hover {
  background: var(--brand-dark);
}

.cart-nav-link strong {
  align-items: center;
  background: var(--gold);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 12px;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
  text-shadow: none;
}

.site-nav a:hover,
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  display: none;
}

.hero {
  aspect-ratio: 2560 / 880;
  display: grid;
  align-items: center;
  min-height: auto;
  overflow: hidden;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.54) 0%, rgba(16, 24, 39, 0.22) 46%, rgba(16, 24, 39, 0.02) 100%),
    url("assets/hero-castore.png"),
    linear-gradient(135deg, #45131d 0%, #e6194b 42%, #f5b841 100%);
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover, contain, cover;
  inset: 0;
  position: absolute;
}

.hero-content {
  color: white;
  max-width: 700px;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 7vw, 88px);
  position: relative;
}

.eyebrow {
  color: var(--brand);
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 0.98;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  margin-bottom: 14px;
}

h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-copy {
  font-size: clamp(17px, 2.2vw, 25px);
  font-weight: 750;
  max-width: 640px;
}

.hero-actions,
.contact-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 1000;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--sauce));
  color: white;
  box-shadow: 0 14px 28px rgba(230, 25, 75, 0.24);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.ghost {
  background: linear-gradient(135deg, var(--brand), var(--sauce));
  border: 0;
  color: white;
  box-shadow: 0 14px 28px rgba(230, 25, 75, 0.24);
}

.button.ghost:hover {
  background: var(--brand-dark);
}

.quick-info {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: -18px auto 0;
  max-width: 1180px;
  padding: 0 clamp(16px, 5vw, 32px);
  position: relative;
  z-index: 2;
}

.quick-info article {
  background: white;
  border: 1px solid rgba(230, 25, 75, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 24, 39, 0.1);
  padding: 22px;
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info span,
.muted {
  color: var(--muted);
  font-weight: 650;
}

#pedidos > div > .muted,
#eventos > div > .muted {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 24, 39, 0.08);
  display: inline-block;
  padding: 10px 12px;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px clamp(16px, 5vw, 32px);
}

.menu-section {
  max-width: 1280px;
  padding-top: 84px;
}

.menu-section h2 {
  color: #ffb33c;
  text-shadow:
    0 2px 2px rgba(16, 24, 39, 0.85),
    0 0 8px rgba(255, 179, 60, 0.95),
    0 0 18px rgba(255, 107, 53, 0.95),
    0 0 34px rgba(230, 25, 75, 0.7);
}

#pedidos h2,
#eventos h2,
#torneos h2 {
  color: #98ff5f;
  text-shadow:
    0 2px 2px rgba(16, 24, 39, 0.9),
    0 0 8px rgba(152, 255, 95, 0.95),
    0 0 18px rgba(24, 184, 117, 0.9),
    0 0 34px rgba(63, 143, 52, 0.75);
}

.menu-section .eyebrow,
#pedidos > div > .eyebrow,
#eventos > div > .eyebrow,
#torneos > .section-heading .eyebrow {
  color: #63e6ff;
  font-size: 28px;
  text-shadow:
    0 2px 2px rgba(16, 24, 39, 0.85),
    0 0 8px rgba(99, 230, 255, 0.95),
    0 0 18px rgba(61, 177, 255, 0.85);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.category-tabs button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 1000;
  min-height: 46px;
  padding: 0 16px;
}

.category-tabs button.active {
  background: var(--leaf);
  color: white;
}

.menu-grid,
.tournament-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.menu-card,
.tournament-card,
.order-panel,
.form {
  background: white;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 24, 39, 0.08);
}

.menu-card {
  display: grid;
  grid-template-rows: 290px 1fr;
  overflow: hidden;
}

.menu-photo {
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.1), rgba(230, 25, 75, 0.16)),
    url("assets/menu-placeholder.jpg");
  background-position: center;
  background-size: cover;
  height: 290px;
}

.menu-card-content,
.tournament-card,
.order-panel {
  padding: 18px;
}

.menu-card h3 {
  margin-bottom: 6px;
  min-height: 68px;
}

.menu-card-content {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.price-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 18px;
}

.price-row strong {
  color: var(--brand);
  font-size: 26px;
  font-weight: 1000;
}

.add-button {
  background: var(--leaf);
  border: 0;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: 1000;
  min-height: 44px;
  padding: 0 18px;
}

.add-button:hover {
  background: #2f7029;
}

.split {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 420px;
}

.order-panel {
  position: sticky;
  top: 128px;
}

.split.alt {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.form label {
  color: var(--ink);
  display: grid;
  font-weight: 950;
  gap: 6px;
}

.form input,
.form textarea,
.form select {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 50px;
  padding: 12px;
  width: 100%;
}

.minimum-box {
  background: #fff6df;
  border: 1px solid #f2d48a;
  border-radius: 8px;
  color: #7a5200;
  font-weight: 950;
  padding: 12px;
}


.form textarea {
  min-height: 96px;
  resize: vertical;
}

.panel-header,
.cart-total,
.cart-line {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.link-button {
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  font-weight: 950;
}

.cart-items {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
}

.cart-line {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cart-line small {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.cart-controls {
  align-items: center;
  display: flex;
  gap: 6px;
}

.cart-controls button {
  background: #edf0f6;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 1000;
  height: 36px;
  width: 36px;
}

.cart-total {
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 1000;
  margin-top: 18px;
  padding-top: 18px;
}

.tournament-card {
  display: grid;
  gap: 12px;
}

.tournament-meta {
  color: var(--muted);
  display: grid;
  font-weight: 850;
  gap: 4px;
}

.contact {
  align-items: center;
  background: white;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 52px;
}

.business-location,
.business-phone,
.business-hours {
  margin-bottom: 6px;
}

.business-hours {
  margin-bottom: 0;
}

.site-footer {
  background: var(--ink);
  color: white;
  display: flex;
  flex-wrap: wrap;
  font-weight: 850;
  gap: 12px;
  justify-content: space-between;
  padding: 26px clamp(16px, 5vw, 64px);
}

.modal-backdrop {
  align-items: center;
  background: rgba(16, 24, 39, 0.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 50;
}

.modal {
  background: white;
  border-radius: 8px;
  max-width: 460px;
  padding: 22px;
  width: 100%;
}

.modal textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 120px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.level-up-options {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.level-up-title {
  color: var(--brand);
  font-weight: 1000;
  margin-bottom: 0;
  text-transform: uppercase;
}

.level-up-list {
  display: grid;
  gap: 8px;
}

.level-up-list label {
  align-items: center;
  background: #f4f6fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

.level-up-list input {
  accent-color: var(--brand);
  height: 18px;
  width: 18px;
}

.level-up-list span {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 8px;
  justify-content: space-between;
}

@media (max-width: 820px) {
  .site-header {
    align-items: stretch;
    display: grid;
  }

  .brand-logo {
    height: 72px;
    width: min(280px, calc(100vw - 120px));
  }

  .nav-toggle {
    display: inline-flex;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 18px;
  }

  .site-nav {
    display: none;
    grid-template-columns: 1fr;
  }

  .site-nav.open {
    display: grid;
  }

  .cart-nav-link {
    margin-left: 0;
  }

  .hero {
    aspect-ratio: auto;
    align-items: start;
    min-height: 520px;
  }

  .hero-content {
    max-width: 100%;
    padding: 72px 28px 86px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72);
  }

  .hero .eyebrow {
    font-size: 13px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: clamp(38px, 10.4vw, 54px);
    line-height: 1.04;
    max-width: 540px;
  }

  .hero-copy {
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.25;
    max-width: 560px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(16, 24, 39, 0.72) 0%, rgba(16, 24, 39, 0.54) 52%, rgba(16, 24, 39, 0.28) 100%),
      url("assets/hero-castore.png"),
      linear-gradient(135deg, #45131d 0%, #e6194b 42%, #f5b841 100%);
    background-position: center, left top, center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%, cover;
  }

  .menu-card {
    grid-template-rows: min(82vw, 320px) 1fr;
  }

  .menu-photo {
    height: min(82vw, 320px);
  }

  .quick-info,
  .split,
  .split.alt {
    grid-template-columns: 1fr;
  }

  .quick-info {
    margin-top: -14px;
  }

  .order-panel {
    position: static;
  }

  .section {
    padding-bottom: 52px;
    padding-top: 52px;
  }

  .section-heading,
  .contact {
    align-items: start;
    display: grid;
  }
}



