@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Roboto+Slab:wght@600;800&display=swap');


/* ========================================
   GUTO'S HOMEBREW
   Estilos generales
   ======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fcfaf6;
  color: #171717;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}


/* ========================================
   CABECERA Y NAVEGACIÓN
   ======================================== */

header {
  position: sticky;
  top: 0;
  z-index: 9;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 6vw;

  background: rgba(252, 250, 246, 0.94);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid #e7dfd1;
}

.brand {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;

  color: #171717;
  text-decoration: none;
}

.brand span {
  color: #c87522;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a,
footer a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}

nav a:hover {
  color: #c87522;
}


/* ========================================
   ESTRUCTURA GENERAL
   ======================================== */

section {
  padding: 90px 8vw;
}

h1,
h2,
h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(60px, 10vw, 140px);
  margin-bottom: 25px;
}

h1 em {
  color: #c87522;
  font-style: normal;
}

h2 {
  font-size: clamp(35px, 5vw, 65px);
  max-width: 900px;
}

h3 {
  font-size: 24px;
}


/* ========================================
   TEXTOS DE SECCIÓN
   ======================================== */

.eyebrow {
  font-weight: 700;
  letter-spacing: 2px;

  color: #a65d1d;

  font-size: 12px;
}


/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 78vh;

  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;

  background:
    radial-gradient(
      circle at 80% 45%,
      #f0bd67 0,
      #e8a735 20%,
      transparent 21%
    );
}

.hero p {
  max-width: 650px;
  font-size: 19px;
}


/* ========================================
   BOTONES
   ======================================== */

.actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-block;

  background: #c87522;
  color: #ffffff;

  text-decoration: none;

  padding: 14px 20px;

  border-radius: 4px;

  font-weight: 700;
  text-transform: uppercase;

  font-size: 13px;
  letter-spacing: 0.7px;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: #a85e1b;
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: #171717;

  border: 1px solid #171717;
}

.btn.ghost:hover {
  background: #171717;
  color: #ffffff;
}


/* ========================================
   ILUSTRACIÓN DE CERVEZA
   ======================================== */

.glass {
  justify-self: center;

  width: 210px;
  height: 320px;

  border: 10px solid #f7f2e9;
  border-top: 0;

  border-radius: 0 0 35px 35px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.6);

  box-shadow:
    0 20px 50px rgba(157, 89, 26, 0.25);
}

.foam {
  height: 70px;

  background: #f7f2e9;

  text-align: center;

  padding-top: 15px;

  color: white;
  font-size: 25px;
}

.beer {
  height: 260px;

  background:
    linear-gradient(
      #edae34,
      #b45c12
    );
}


/* ========================================
   FILOSOFÍA
   ======================================== */

.intro {
  text-align: center;
}

.intro h2 {
  margin-left: auto;
  margin-right: auto;
}

.intro p {
  max-width: 760px;

  margin: 15px auto;
}

.intro strong {
  display: block;

  margin-top: 30px;

  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 20px;
}


/* ========================================
   TARJETAS
   ======================================== */

.grid4,
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.grid4 article,
.cards article {
  padding: 28px;

  border: 1px solid #ded6c9;

  background: #ffffff;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.grid4 article:hover,
.cards article:hover {
  transform: translateY(-4px);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08);
}

.grid4 article > b {
  display: inline-block;

  margin-bottom: 25px;

  color: #c87522;

  font-size: 13px;
}

.grid4 a {
  color: #a65d1d;

  font-weight: 700;
  text-decoration: none;
}


/* ========================================
   MIS ELABORACIONES
   ======================================== */

.dark {
  background: #171717;
  color: #f5f0e6;
}

.dark .eyebrow {
  color: #e8a735;
}

.dark .cards {
  grid-template-columns: repeat(3, 1fr);

  margin-top: 40px;
}

.dark article {
  background: #222222;

  border-color: #383838;
}

.cards span {
  font-size: 11px;

  letter-spacing: 1.5px;

  color: #df9c4a;

  font-weight: 700;
}


/* ========================================
   YOUTUBE
   ======================================== */

.split {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

.video {
  aspect-ratio: 16 / 9;

  background: #171717;

  color: white;

  display: grid;

  place-content: center;

  text-align: center;

  padding: 30px;
}

.video div {
  font-size: 70px;

  color: #e8a735;
}

.video p {
  font-family: 'Roboto Slab', Georgia, serif;

  font-size: 24px;

  margin-bottom: 5px;
}

.video small {
  color: #aaaaaa;
}


/* ========================================
   PROCESO DE ELABORACIÓN
   ======================================== */

.steps {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin-top: 50px;

  overflow: auto;

  padding-bottom: 15px;
}

.steps span {
  min-width: 125px;

  color: #777777;

  font-size: 13px;
}

.steps span b {
  display: inline-block;

  margin-top: 8px;

  color: #171717;

  font-family: 'Roboto Slab', Georgia, serif;

  font-size: 17px;
}

.steps i {
  color: #c87522;

  font-size: 25px;

  font-style: normal;
}


/* ========================================
   CATA
   ======================================== */

.taste {
  background: #f5f0e6;
}

.taste .grid4 {
  padding-top: 25px;
}

.taste .grid4 article {
  background: transparent;
}


/* ========================================
   ARTÍCULOS
   ======================================== */

.light {
  grid-template-columns: repeat(3, 1fr);

  margin-top: 40px;
}


/* ========================================
   SOBRE GUTO
   ======================================== */

.about {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  background: #e8a735;
}

.about .eyebrow {
  color: #7c4515;
}

.about blockquote {
  font-family: 'Roboto Slab', Georgia, serif;

  font-size: clamp(30px, 4vw, 55px);

  font-weight: 800;

  line-height: 1.2;

  margin: 0;

  align-self: center;
}


/* ========================================
   FOOTER
   ======================================== */

footer {
  padding: 50px 8vw;

  background: #111111;

  color: #eeeeee;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 30px;
}

footer div {
  display: flex;

  flex-direction: column;

  gap: 7px;
}

footer strong {
  font-family: 'Roboto Slab', Georgia, serif;

  font-size: 20px;
}

footer p {
  margin-top: 5px;

  color: #aaaaaa;
}

footer a:hover {
  color: #e8a735;
}

footer small {
  grid-column: 1 / -1;

  color: #888888;

  border-top: 1px solid #333333;

  padding-top: 25px;

  margin-top: 15px;
}


/* ========================================
   TABLET / PANTALLAS MEDIAS
   ======================================== */

@media (max-width: 850px) {

  header {
    align-items: flex-start;
  }

  .brand {
    white-space: nowrap;
  }

  nav {
    display: none;
  }

  .hero,
  .split,
  .about {
    grid-template-columns: 1fr;
  }

  .glass {
    display: none;
  }

  .grid4,
  .cards,
  .dark .cards,
  .light {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  section {
    padding: 65px 6vw;
  }

}


/* ========================================
   MÓVIL
   ======================================== */

@media (max-width: 520px) {

  .grid4,
  .cards,
  .dark .cards,
  .light {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 38px;
  }

  .steps i {
    display: none;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;

    align-items: flex-start;
  }

  .hero p {
    font-size: 17px;
  }

}
