/* ============================================================
   ALISIOS ALIMENTACIÓN — Landing Page Styles
   ============================================================ */

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #faf6f0;
  --bg-section: #ede0c4;
  --bg-card: #e8d9b8;

  --color-accent: #e6a755;
  --color-blue-light: #3a91cf;

  --blue: #0458a3;
  --dark: #16201a;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --white: #ffffff;

  --font-serif: "Philosopher", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --max-w: 1200px;
  /* --pad-h: 120px; */
  --pad-h: 20px;
}

/* #marcas {
  display: none;
} */

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

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

/* === LAYOUT HELPERS === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background-color: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;

  &.scrolled {
    background: white;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  }
  .header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px var(--pad-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
  }
  /* .logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: lowercase;
  } */
  .nav-links {
    display: flex;
    gap: 48px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    li {
      text-transform: uppercase;
      a {
        color: var(--blue);
        transition: color 0.2s;
        &:hover {
          color: var(--blue);
        }
      }
    }
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  --overflow-size: 120px;

  /* max-width: 1440px; */
  margin: 0 auto;
  /* padding: 50px var(--pad-h) 80px; */
  /* padding-block: 50px 80px; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 40px; */
  /* align-items: center; */
  /* min-height: 760px; */
  overflow: hidden;

  padding-bottom: var(--overflow-size);

  .hero-content {
    padding-top: 200px;
    padding-left: max(var(--pad-h), calc((100vw - var(--max-w)) / 2));
    padding-right: var(--pad-h);
    h1 {
      font-family: var(--font-serif);
      font-size: 48px;
      font-weight: 700;
      color: var(--blue);
      line-height: 1.15;
      margin-bottom: 28px;
      max-width: 460px;
    }
    .hero-lead {
      font-size: 16px;
      color: var(--text);
      line-height: 1.55;
      margin-bottom: 20px;
      max-width: 490px;
      font-weight: 500;
    }
  }

  .hero-visual {
    /* display: flex;
    justify-content: flex-end;
    align-items: flex-start; */

    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;

    .hero-deco__wrapper {
      border-radius: 50%;
      padding: 10px;
      border: 10px solid var(--color-accent);
      /* transform: scale(1.1); */
      /* transform-origin: top left; */
      position: absolute;
      top: 0;
      left: 0;
      width: calc(100% + var(--overflow-size));
    }

    .hero-circle {
      border-radius: 50%;
      /* width: 680px; */
      aspect-ratio: 1 / 1;
      /* width: 680px;
      height: 680px;

      border-radius: 50%;
      padding: 10px;
      border-bottom: 5px solid red;
      flex-shrink: 0;
      box-sizing: border-box; */

      .hero-img-bg {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        border-radius: 50%;
        overflow: hidden;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
    }
  }
  & + .below-hero {
    transform: translateY(calc(-1 * (120px / 1.5)));
  }
}
/* .hero + .below-hero {
  transform: translateY(  -1 * 120px);
} */

.hero-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 590px;
  margin-bottom: 44px;
}

.hero-logos {
  /* display: flex;
  align-items: center; */

  display: grid;
  grid-template-columns: repeat(2, 1fr);

  @media screen and (width >= 600px) {
    grid-template-columns: repeat(3, 1fr);
  }

  gap: 60px 16px;
  flex-wrap: wrap;
  img {
    flex: 1 1 auto;
    max-height: 5rem;
    max-width: 8rem;
    object-fit: contain;

    transform: scale(1);
    transition: transform 0.2s;
  }
  > div {
    display: flex;
    text-align: center;
    justify-content: center;
    flex: 1 1 auto;
    a {
      display: flex;
      cursor: pointer;
      &:hover img {
        transform: scale(1.1);
      }
    }
  }
}

.row {
  display: flex;
}

.col--half {
  width: 50%;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* .brand-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
} */

/* .gourmet-badge {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 100px;
  font-size: 9px;
}

.bio-badge {
  background: var(--blue);
  color: var(--white);
  min-width: 60px;
  font-size: 11px;
} */

/* ============================================================
   QUÉ HACEMOS
   ============================================================ */
.section-que-hacemos {
  padding: 60px var(--pad-h) 80px;
  /* max-width: 1440px; */
  margin: 0 auto;
  .qh__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 100px;
    align-items: center;
    @media screen and (width >= 600px) {
      grid-template-columns: 50% 1fr;
    }
    .qh-images-wrap {
      display: flex;
      /* > div {
        flex: 0 1 60%;
      } */
      > div {
        border-radius: 8px;
      }
      > div:first-child {
        transform-origin: left;
        transform: scale(1.1);
        z-index: 1;
        margin-top: 15%;
        border: 8px solid var(--bg);
      }
      > div:last-child {
        transform-origin: right;
        transform: scale(1.1);
      }
      img {
        aspect-ratio: 271 / 379;
        object-fit: cover;
        border-radius: 10px;
      }
    }
  }
  .section-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 24px;
    line-height: 1.2;
  }
  .qh-text p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
  }

  .qh-images-wrap {
    /* display: flex;
    justify-content: center; */
    .qh-image {
      flex: 1;
      /* flex: 1 0 60%; */
      /* width: 280px;
      height: 360px; */
      /* border-radius: var(--radius); */
      /* background:
        radial-gradient(ellipse at 40% 35%, rgba(130, 90, 50, 0.8) 0%, transparent 55%),
        linear-gradient(145deg, #a07848 0%, #7d5830 40%, #5c3e1a 100%);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); */
    }
  }
}

/* .qh-card {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
} */

/* ============================================================
   CANALES DE DISTRIBUCIÓN
   ============================================================ */
.section-canales {
  /* padding-top: 200px; */
  .card-canales {
    padding: 60px 80px 80px;
    background: #fff;
    border-radius: 10px;
  }
  .canales-note {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-blue-light);
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.65;
  }
}

.canales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
  .canal-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); */
    border: 2px solid var(--color-accent);
    h3 {
      font-family: var(--font-sans);
      font-size: 20px;
      font-weight: 700;
      color: var(--color-accent);
      margin-bottom: 14px;
    }
    p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
    }
  }
  .canal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
}

/* ============================================================
   NUESTRA ESPECIALIDAD
   ============================================================ */
.section-especialidad {
  padding: 200px 0 80px;
  .esp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .esp-text {
    h2 {
      font-family: var(--font-serif);
      font-size: 40px;
      font-weight: 700;
      color: var(--blue);
      margin-bottom: 24px;
      line-height: 1.2;
    }
    p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 24px;
      &.esp-guarantee-label {
        font-size: 15px;
        font-weight: 700;
        color: var(--color-blue-light);
        margin-bottom: 16px;
      }
    }
  }
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 700;
    line-height: 1.5;
    &::before {
      content: "";
      display: inline-block;
      flex-shrink: 0;
      width: 17px;
      height: 17px;
      margin-top: 1px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230458A3'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5l-4-4 1.41-1.41L10 13.67l6.59-6.59L18 8.5l-8 8z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }
  }
}

.esp-visual {
  position: relative;
  .esp-image {
    width: 100%;
    height: 520px;
    border-radius: var(--radius);
    background:
      radial-gradient(ellipse at 50% 40%, rgba(80, 140, 60, 0.8) 0%, transparent 60%),
      linear-gradient(145deg, #4a8a3a 0%, #2e6020 40%, #1a4010 70%, #2a5a1a 100%);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .eco-badge {
    position: absolute;
    bottom: 30px;
    left: 0;
    transform: translateX(-50%);
    width: 132px;
    height: 132px;
    background: #93c01c;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); */
    border: 8px solid var(--bg);
    text-align: center;
    padding: 10px;
    overflow: hidden;
    img {
      transform: scale(1.3);
    }
  }
}

/* .eco-badge-stars {
  font-size: 5px;
  color: #ffcc00;
  letter-spacing: -0.5px;
  margin-bottom: 3px;
}

.eco-badge-eu {
  font-size: 20px;
  font-weight: 900;
  color: #003399;
  line-height: 1;
}

.eco-badge-organic {
  font-size: 8px;
  font-weight: 700;
  color: #2d6a2d;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
} */

/* ============================================================
   QUOTE
   ============================================================ */
.section-quote {
  /* background-color: #1a2a1e; */
  padding: 200px 0;

  /* background-image: url(images/alisios_alimentacion_simbolo.svg); */
  background: url(../images/alisios_alimentacion_simbolo.svg) no-repeat center / contain;

  blockquote {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--blue);
    text-align: center;
    line-height: 1.35;
    max-width: 36ch;
    margin: 0 auto;
  }
}

/* ============================================================
   SOBRE NUESTRAS MARCAS
   ============================================================ */
.section-marcas {
  padding: 80px 0 0;
}

.marcas-header {
  margin-bottom: 48px;
}

.marcas-header .section-title {
  text-align: center;
}

.marca-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.marca-photo-side {
  overflow: hidden;
}

.marca-photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background-size: cover;
  background-position: center;
}

.lagrana-photo {
  background:
    radial-gradient(ellipse at 45% 55%, rgba(195, 155, 90, 0.85) 0%, transparent 55%),
    linear-gradient(145deg, #c0924a 0%, #a07030 40%, #7a5018 70%, #5a3a08 100%);
}

.goodbio-photo {
  background:
    radial-gradient(ellipse at 55% 45%, rgba(240, 185, 60, 0.9) 0%, transparent 55%),
    linear-gradient(145deg, #e8b840 0%, #c89020 40%, #a07010 70%, #7a5200 100%);
}

.marca-content {
  padding: 64px 72px;
  background: var(--bg-section);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.marca-block.goodbio .marca-content {
  background: var(--bg-card);
}

.marca-content h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.marca-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.btn-productos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--text);
  width: fit-content;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.btn-productos:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ============================================================
   NUESTRO COMPROMISO EN CANARIAS
   ============================================================ */
.section-compromiso {
  padding: 80px 0;
}

.comp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.comp-text h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
  line-height: 1.2;
}

.comp-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.comp-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.comp-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  .comp-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--white);
    padding: 20px 18px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  }
  .comp-icon {
    flex-shrink: 0;
  }
  p {
    font-size: 18px;
    color: var(--color-accent);
    line-height: 1.5;
    font-weight: 700;
    max-width: 30ch;
    /* padding-top: 6px; */
  }
}

.comp-map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.comp-map svg {
  max-width: 100%;
  filter: drop-shadow(0 4px 12px rgba(4, 88, 163, 0.15));
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  /* background-color: #16201a; */
  color: var(--white);
  padding-top: 64px;
  .footer-inner {
    /* max-width: 1440px; */
    background: var(--blue);
    margin: 0 auto;
    padding: 40px 60px;

    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr; */
    /* gap: 48px; */
    /* align-items: start; */
  }
  .footer-inner--top {
    border-radius: 20px 20px 0 0;
    background: var(--blue) url(../images/alisios_alimentacion_simbolo_outline-blanco.svg) no-repeat
      bottom 20px right / auto 100%;
  }
  .footer-inner--bottom {
    border-radius: 0 0 20px 20px;
  }
  .footer-contact {
    h3 {
      font-family: var(--font-serif);
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 24px;
      line-height: 1.2;
      address {
        display: flex;
        flex-direction: column;
        gap: 14px;
        p {
          display: flex;
          align-items: flex-start;
          gap: 10px;
          font-size: 14px;
          line-height: 1.55;
          color: rgba(255, 255, 255, 0.85);
        }
        svg {
          flex-shrink: 0;
          margin-top: 2px;
          opacity: 0.8;
        }
      }
    }
  }
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--color-accent);
  transition: opacity 0.2s;
  .footer-logo:hover {
    opacity: 0.85;
  }
}
a {
  word-wrap: break-word;
}
.footer-nav {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  ul {
    display: flex;
    /* flex-direction: column; */
    gap: 18px;
    text-align: right;
  }
  a {
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.2s;
    &:hover {
      color: var(--white);
    }
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-flow: column;
  /* max-width: 1440px; */
  /* margin: 0 auto; */
  /* padding: 20px var(--pad-h); */
  border-top: 1px solid #fff;
  /* text-align: center; */
  
  @media screen and (width >= 600px) {
    flex-flow: row;
    
  }

  p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
  }
}

body {
  .flexslider {
    border: 0;
    background-color: transparent;

    .slides {
      display: flex;
    }

    .flex-direction-nav {
      a {
        opacity: 1;
        width: 24px;
        height: 24px;
        background-color: var(--color-accent);
        color: #fff;
        text-align: center;
        border-radius: 8px;

        &::before {
          color: #fff;
          font-size: 16px;
        }

        &.flex-next {
          right: -40px !important;
        }
        &.flex-prev {
          left: -40px !important;
        }
      }
    }
  }
  .slide-thumb {
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    border-radius: 20px;
    border: 2px solid transparent;

    transition: border-color 0.2s ease-in;
    cursor: pointer;

    
    
    img {
      max-height: 4rem;
      object-fit: contain;
    }

    /* width: 25%; */
    &:hover {
      border-color: var(--color-accent);
    }
  }
}

.carousel__wrapper {
  padding-inline: 48px;
}

.slide__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff;

  min-height: 420px;

  .slide-image__wrapper {
    position: relative;
    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover;
    }
  }
  .slide-text {
    padding: 48px 60px;
    display: grid;
    gap: 1rem;
    h2 {
      font-family: var(--font-serif);
      font-size: 30px;
      font-weight: 700;
      color: var(--blue);
    }
    .buttons__wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-top: auto;
      a {
        padding: 0.8em 1.6em;
        color: white;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 16px;
        border-radius: 6px;
        background-color: var(--color-accent);

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1em;

        border: 1px solid var(--color-accent);

        transition: all 0.2s ease-in-out;

        &:hover {
          background: white;
          color: var(--color-accent);
        }

        &.social {
          padding: 0.8em;
          min-width: calc(1.7em + (0.8em * 2));
          text-align: center;
          svg {
            height: 1.3em !important;
            width: auto !important;
          }
        }
      }
    }
  }
}

.goodbiofoods__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;
  > img {
    width: auto;
    flex: 1 1 auto;
  }
}

/* ============================================================
   MOBILE NAV TOGGLE BUTTON
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  order: 2;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}

[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --pad-h: 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 60px;
    gap: 32px;
  }
  .hero + .below-hero {
    transform: none;
  }

  .hero {
    .hero-content {
      padding-top: 60px;
    }
    & .hero-visual {
      aspect-ratio: unset;
      .hero-deco__wrapper {
        position: relative;
        width: 90%;
        margin-inline: auto;
        transform: translatex(34%);
      }
    }
  }

  .hero h1 {
    max-width: 100%;
  }
  .hero-lead,
  .hero-body {
    max-width: 100%;
  }

  .col--half {
    width: 100%;
  }

  .hero-visual {
    justify-content: center;
  }

  /* .hero-circle {
    width: 420px;
    height: 420px;
    margin-top: 0;
  } */

  .qh-card {
    grid-template-columns: 1fr;
    padding: 48px;
    gap: 40px;
  }

  .esp-layout,
  .comp-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .esp-image {
    height: 380px;
  }

  .eco-badge {
    left: 20px;
    bottom: -20px;
  }

  .marca-block {
    grid-template-columns: 1fr;
  }

  .marca-photo,
  .marca-photo-side {
    min-height: 320px;
  }

  .goodbio .marca-photo-side {
    order: -1;
  }

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

  .footer-logo-wrap {
    grid-column: 1 / -1;
    order: -1;
    justify-content: flex-start;
  }

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

/* Small tablet / large mobile */
@media (max-width: 768px) {
  :root {
    --pad-h: 24px;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 20px var(--pad-h);
    z-index: 99;
  }

  #main-nav.nav-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 18px;
  }

  .header-inner {
    position: relative;
  }

  /* Typography */
  .hero h1 {
    font-size: 34px;
  }
  .section-title {
    font-size: 30px;
  }
  .section-quote blockquote {
    font-size: 24px;
  }
  .esp-text h2,
  .comp-text h2 {
    font-size: 30px;
  }
  .marca-content h3 {
    font-size: 28px;
  }
  .section-label {
    font-size: 28px;
  }
  .footer-contact h3 {
    font-size: 26px;
  }
  .canales-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Hero */
  /* .hero-circle {
    width: 300px;
    height: 300px;
  } */

  /* Qué hacemos */
  .qh-card {
    padding: 32px 24px;
  }

  /* Canales */
  .canales-grid {
    grid-template-columns: 1fr;
  }

  /* Especialidad */
  .esp-image {
    height: 280px;
  }

  .eco-badge {
    width: 100px;
    height: 100px;
    left: 12px;
    bottom: -14px;
  }
  .eco-badge-eu {
    font-size: 16px;
  }

  .section-especialidad {
    .esp-layout {
      grid-template-columns: 1fr;
    }
    .esp-visual {
      margin-left: 60px;
    }
  }

  /* Marcas */
  .marca-content {
    padding: 40px 24px;
  }

  /* Compromiso */
  .comp-items {
    grid-template-columns: 1fr;
  }

  .slide__wrapper {
    grid-template-columns: 1fr;
    .slide-image__wrapper {
      aspect-ratio: 16 / 6;
    }
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-logo-wrap {
    order: 0;
    justify-content: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  /* .hero-circle {
    width: 240px;
    height: 240px;
  } */

  /* .hero-logos {
    flex-wrap: wrap;
  } */

  .section-quote blockquote {
    font-size: 20px;
  }

  .canal-card {
    padding: 32px 20px;
  }

  .marca-photo,
  .marca-photo-side {
    min-height: 240px;
  }
}

/* ============================================================
   STICKY HEADER SCROLL EFFECT
   ============================================================ */
