:root {
  --bg: #ff4f0f;
  --bg-deep: #e74005;
  --paper: #ffe28a;
  --gold: #ffbb22;
  --ink: #221406;
  --cream: #fff3cf;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 85% 15%, #ff9d18 0, transparent 30%),
    radial-gradient(circle at 12% 65%, #ffd14a 0, transparent 22%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.section {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 4vw;
  background: color-mix(in srgb, var(--bg-deep) 70%, black 6%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 999px;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  background: linear-gradient(160deg, var(--paper), var(--gold));
  color: #ce4003;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  opacity: 0.85;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 1.3rem;
}

.main-nav a {
  text-decoration: none;
  color: #ffe8b8;
  font-size: 0.9rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 2px;
  scale: 0 1;
  transform-origin: right;
  transition: scale 220ms ease;
  background: var(--paper);
}

.main-nav a:hover::after,
.main-nav a.is-current::after {
  scale: 1 1;
  transform-origin: left;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--paper);
  color: #bf3a02;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 800;
}

.hero {
  min-height: calc(100svh - 72px);
  padding: 8vh 4vw 10vh;
  display: grid;
  grid-template-columns: minmax(260px, 620px) 1fr;
  align-items: end;
  gap: 2rem;
  position: relative;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 74%, rgba(255, 173, 20, 0.45), transparent 35%),
    radial-gradient(circle at 22% 35%, rgba(255, 237, 175, 0.14), transparent 36%);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(#1d0f05 0.7px, transparent 0.7px);
  background-size: 10px 10px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: 35rem;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--paper) 82%, white 18%);
}

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

.hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 0.95;
  font-family: "Playfair Display", serif;
}

.hero h1 span {
  display: block;
  color: var(--paper);
}

.hero p {
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 31rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 800;
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.btn-primary {
  background: var(--paper);
  color: #b93a02;
}

.btn-secondary {
  border: 1.5px solid rgba(255, 248, 209, 0.74);
  color: var(--cream);
}

.hero-panel {
  position: relative;
  z-index: 2;
  justify-self: end;
  align-self: center;
  width: min(36vw, 420px);
  aspect-ratio: 0.95;
  background: linear-gradient(165deg, #f8dc38 0%, #ffd938 68%, #f0c927 100%);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.35);
  padding: clamp(1rem, 2.2vw, 1.8rem);
  display: grid;
  align-content: center;
}

.hero-panel p {
  font-size: clamp(0.6rem, 1vw, 0.82rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a2c03;
}

.hero-panel h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.82;
  color: #e6550d;
  text-shadow: 0 4px 6px rgba(45, 24, 4, 0.26);
}

.hero-panel span {
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  font-weight: 800;
}

.section-heading {
  max-width: 36rem;
}

.section h2 {
  margin-top: 0.35rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4.1vw, 3rem);
  line-height: 1.05;
  color: #fff3cf;
}

.especialidades,
.historia,
.visitanos {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.filters button {
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 244, 203, 0.2);
  color: #fff4d1;
  transition: background 180ms ease, color 180ms ease;
}

.filters button.is-active,
.filters button:hover {
  background: var(--paper);
  color: #c54004;
}

.products {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.product {
  border-top: 1px solid rgba(255, 243, 204, 0.5);
  padding-top: 0.9rem;
  color: #ffefc9;
}

.product h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--paper);
}

.product p {
  margin-top: 0.4rem;
  line-height: 1.55;
  max-width: 30ch;
}

.product.is-hidden {
  display: none;
}

.historia {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.history-copy p:not(.kicker) {
  margin-top: 1rem;
  line-height: 1.65;
  color: #fff0ca;
  max-width: 48ch;
}

.history-art {
  justify-self: end;
  width: min(35vw, 360px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #ffca3a 0%, #ff9b10 42%, #ea4b08 100%);
  border: 10px solid color-mix(in srgb, #f9c91d 60%, #ff6a0c 40%);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
}

.history-art span {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 10vw, 5.6rem);
  color: #fef0b5;
  text-shadow: 0 8px 15px rgba(96, 32, 4, 0.35);
}

.visit-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.visit-block {
  padding: 0.2rem 0 0.2rem;
  border-left: 2px solid rgba(255, 238, 193, 0.45);
  padding-left: 1rem;
  color: #ffefc9;
}

.visit-block h3 {
  font-family: "Playfair Display", serif;
  color: var(--paper);
  font-size: 1.4rem;
}

.visit-block p {
  margin-top: 0.45rem;
  line-height: 1.6;
}

.site-footer {
  padding-block: clamp(4rem, 10vw, 6.5rem) 3rem;
  text-align: center;
}

.site-footer h2 {
  max-width: 14ch;
  margin: 0.45rem auto 0;
}

.footer-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-footer small {
  display: block;
  margin-top: 1.2rem;
  color: #ffe9b7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: auto;
    padding-top: 10vh;
  }

  .hero-panel {
    justify-self: start;
    width: min(85vw, 370px);
  }

  .historia {
    grid-template-columns: 1fr;
  }

  .history-art {
    justify-self: start;
    width: min(72vw, 320px);
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 4vw;
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 0.8rem;
    background: #b93903;
    box-shadow: 0 20px 35px rgba(20, 9, 2, 0.35);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 14vw, 3.2rem);
  }
}
