:root{
  --bg: #ece8e2;
  --paper: #f2efea;
  --paper-2: #e8e3dc;
  --text: #473a31;
  --text-soft: #6b5a4e;
  --dark: #2c241f;
  --dark-2: #1f1915;
  --line: rgba(86, 67, 54, 0.22);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.45), transparent 35%),
    linear-gradient(to bottom, #f0ece6, #e9e4dd 55%, #e7e1d9);
  font-family: "Inter", sans-serif;
  line-height: 1.45;
}

img{
  max-width: 100%;
  display: block;
}

a{
  text-decoration: none;
  color: inherit;
}

.container{
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

/* HERO */
.hero{
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.30)),
    url("../img/portada.jpg") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.32)),
    radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.10) 100%);
}

.hero__content{
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.brand{
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand__link{
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.brand__logo{
  display: block;
  width: min(90vw, 620px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.35));
}

.hero__subtitle{
  margin: 12px 0 10px;
  font-size: clamp(1.3rem, 2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 1.8px;
}

.hero__divider{
  width: min(560px, 75%);
  height: 1px;
  margin: 12px auto 18px;
  background: rgba(255,255,255,0.45);
}

.hero__meta{
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.55rem);
  font-weight: 500;
}

.hero__claim{
  margin: 14px 0 0;
  font-size: clamp(1.1rem, 1.8vw, 1.75rem);
  font-weight: 500;
}

/* MAIN */
.main-section{
  position: relative;
  margin-top: -1px;
  padding: 34px 0 70px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0.1)),
    var(--paper);
}

.layout{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: start;
}

/* SIDEBAR */
.sidebar{
  padding-top: 6px;
}

.menu-btn,
.reserve-box{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 18px 22px;
  margin-bottom: 14px;
  color: #f5f0e8;
  border: 2px solid rgba(203, 184, 155, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(145deg, #3a302a, #1f1915);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 3px 10px rgba(0,0,0,0.18);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.menu-btn{
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.menu-btn:hover,
.reserve-box:hover{
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 8px 18px rgba(0,0,0,0.22);
  filter: brightness(1.03);
}

.reserve-box{
  flex-direction: column;
  gap: 4px;
  min-height: 110px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.reserve-box__title{
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-style: italic;
}

.reserve-box__phone{
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-block{
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--line);

  display:flex;
  flex-direction:column;
  align-items:center;
}

.pill-btn{
  margin:0 auto;
}

.sidebar-block:last-of-type{
  border-bottom: 1px solid var(--line);
}

.pill-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(145deg, #4a3c33, #2c241f);
  color: #f5f0e8;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pill-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.address{
  margin: 16px 0 0;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}

.schedule{
  margin-top:20px;
  text-align:center;
}

.schedule-title{
  font-family: "Cormorant Garamond", serif;
  font-size:1.6rem;
  margin-bottom:10px;
  color:#4b3d34;
}

.schedule-table{
  width:100%;
  border-collapse:collapse;
  font-size:1rem;
}

.schedule-table tr{
  border-bottom:1px solid rgba(0,0,0,0.1);
}

.schedule-table td{
  padding:6px 4px;
}

.schedule-table .day{
  text-align:left;
  font-weight:600;
  color:#4b3d34;
}

.schedule-table .time{
  text-align:right;
  color:#6b5a4e;
}

.instagram-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.instagram-icon{
  width: 28px;
  height: 28px;
  display: inline-flex;
  color: var(--dark);
}

.instagram-icon svg{
  width: 100%;
  height: 100%;
}

.football-art{
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.football-art img{
  opacity: 0.95;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.08));
}

/* CONTENT */
.content{
  min-width: 0;
}

.cards-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.food-card{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(80, 58, 44, 0.18);
  background: #ddd;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1.55 / 1;
}

.food-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.food-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.04) 55%, rgba(0,0,0,0.08));
}

.food-card h3{
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.food-card:hover img{
  transform: scale(1.04);
}

/* MATCHES */
.matches{
  padding: 30px 0 0;
  text-align: center;
}

.section-line{
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 24px;
}

.matches h2{
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 3vw, 3.35rem);
  font-weight: 700;
  color: #59483d;
}

.matches__text{
  margin: 0 auto 34px;
  max-width: 760px;
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  line-height: 1.65;
  color: var(--text-soft);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.features{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}

.feature{
  padding: 10px 24px 0;
  position: relative;
}

.feature:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  width: 1px;
  height: 120px;
  background: var(--line);
}

.feature__icon{
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  color: #5b4b40;
}

.feature__icon svg{
  width: 100%;
  height: 100%;
}

.feature h4{
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
  color: #4b3d34;
}

.feature h4 span{
  font-style: italic;
  font-weight: 600;
}

/* BACK TO TOP */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #3b3029, #241d18);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
}

.back-to-top.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .layout{
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }

  .hero{
    min-height: 680px;
  }
}

@media (max-width: 900px){
  .layout{
    grid-template-columns: 1fr;
  }

  .sidebar{
    order: 2;
  }

  .content{
    order: 1;
  }

  .sidebar{
    max-width: 650px;
    margin-inline: auto;
    width: 100%;
  }

  .football-art{
    margin-top: 24px;
  }
}

@media (max-width: 700px){
  .hero{
    min-height: 600px;
    background-position: center center;
  }

  .brand__logo{
    width: min(88vw, 460px);
  }

  .hero__subtitle{
    letter-spacing: 1px;
  }

  .cards-grid{
    grid-template-columns: 1fr;
  }

  .features{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature{
    padding: 8px 0 12px;
  }

  .feature:not(:last-child)::after{
    display: none;
  }

  .matches__text br{
    display: none;
  }
}

@media (max-width: 480px){
  .container{
    width: min(calc(100% - 20px), var(--max));
  }
  
  .brand__logo{
    width: min(84vw, 360px);
  }

  .main-section{
    padding-top: 20px;
  }

  .menu-btn{
    font-size: 1.1rem;
  }

  .reserve-box__title{
    font-size: 1.8rem;
  }

  .address{
    font-size: 1rem;
  }

  .football-art img{
    max-width: 170px;
  }

  .food-card h3{
    left: 12px;
    bottom: 10px;
  }
}