/* =========================================================
   INDUSTRIAS — PRODUCCIÓN AUDIOVISUAL
========================================================= */

.av-industries {
  --av-gold: #f2b84b;
  --av-orange: #d95d39;
  --av-wine: #8c1c13;
  --av-dark: #160b08;
  --av-dark-soft: #26130e;
  --av-cream: #fff8f2;

  position: relative;
  padding: 85px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(242, 184, 75, 0.17),
      transparent 30%
    ),
    radial-gradient(
      circle at 16% 85%,
      rgba(217, 93, 57, 0.14),
      transparent 32%
    ),
    var(--av-dark);
  color: #ffffff;
}

.av-industries::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  pointer-events: none;
}

.av-industries::after {
  content: "";
  position: absolute;
  top: 90px;
  right: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(242, 184, 75, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.av-industries__inner {
  position: relative;
  z-index: 2;
}

.av-industries__header {
  max-width: 980px;
  margin-bottom: 38px;
}

.av-industries__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--av-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.av-industries__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--av-gold);
}

.av-industries__header h2 {
  max-width: 880px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.av-industries__header p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.av-industries__layout {
  display: grid;
  grid-template-columns:
    minmax(430px, 1.08fr)
    minmax(0, 0.92fr);
  gap: 24px;
}

/* =========================================================
   PROPUESTA DESTACADA
========================================================= */

.av-industry-featured {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: var(--av-dark-soft);
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.35);
  transition:
    transform 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.av-industry-featured:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 184, 75, 0.58);
  box-shadow: 0 44px 105px rgba(242, 184, 75, 0.12);
}

.av-industry-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 750ms ease;
}

.av-industry-featured:hover img {
  transform: scale(1.045);
}

.av-industry-featured__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(18, 7, 4, 0.99) 4%,
      rgba(18, 7, 4, 0.62) 58%,
      rgba(18, 7, 4, 0.08)
    );
}

.av-industry-featured__content {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 42px;
  left: 42px;
}

.av-industry-featured__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  padding: 9px 14px;
  border: 1px solid rgba(242, 184, 75, 0.48);
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.1);
  color: var(--av-gold);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.av-industry-featured__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--av-gold);
  box-shadow: 0 0 17px var(--av-gold);
}

.av-industry-featured h3 {
  max-width: 680px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 4.7vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.av-industry-featured p {
  max-width: 650px;
  margin: 21px 0 25px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.av-industry-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.av-industry-featured__tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
}

.av-industry-featured strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--av-gold);
  font-size: 0.88rem;
  font-weight: 800;
}

/* =========================================================
   PROPUESTAS POR INDUSTRIA
========================================================= */

.av-industries__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.av-industry-card.has-cover-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--industry-cover);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.av-industry-card.has-cover-image > *:not(small) {
  position: relative;
  z-index: 1;
}

.av-industry-card.has-cover-image > small {
  position: absolute;
  z-index: 2;
}

.av-industry-card {
  position: relative;
  min-height: 215px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    ),
    var(--av-dark-soft);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.av-industry-card:hover {
  transform: translateY(-7px);
  border-color: rgba(242, 184, 75, 0.4);
  background:
    linear-gradient(
      145deg,
      rgba(242, 184, 75, 0.09),
      rgba(140, 28, 19, 0.045)
    ),
    var(--av-dark-soft);
}

.av-industry-card__code {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  margin-bottom: 35px;
  border: 1px solid rgba(242, 184, 75, 0.34);
  border-radius: 15px;
  background: rgba(242, 184, 75, 0.09);
  color: var(--av-gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.av-industry-card small {
  position: absolute;
  top: 18px;
  right: 18px;
  max-width: 42%;
  text-align: right;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.25;
  pointer-events: none;
  z-index: 2;
}

.av-industry-card h3 {
  margin: 0 0 9px;
  padding-right: 7.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.av-industry-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.49);
  font-size: 0.76rem;
  line-height: 1.62;
}

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

@media (max-width: 1050px) {
  .av-industries__layout {
    grid-template-columns: 1fr;
  }

  .av-industry-featured {
    min-height: 630px;
  }

  .av-industries__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .av-industries {
    padding: 86px 0;
  }

  .av-industries__grid {
    grid-template-columns: 1fr 1fr;
  }

  .av-industry-featured {
    min-height: 610px;
  }

  .av-industry-featured__content {
    right: 25px;
    bottom: 29px;
    left: 25px;
  }
}

@media (max-width: 520px) {
  .av-industries__grid {
    grid-template-columns: 1fr;
  }

  .av-industry-featured {
    min-height: 650px;
  }

  .av-industry-featured h3 {
    font-size: 2.7rem;
  }
}

/* =========================================================
   ENLACES LEGALES DEL FOOTER AUDIOVISUAL
========================================================= */

.audiovisual-footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.audiovisual-footer-legal .footer-bottom-link,
.audiovisual-cookie-settings {
  color: #ffffff !important;
  font: inherit;
  text-decoration: none;
  opacity: 0.9;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.audiovisual-cookie-settings {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.audiovisual-footer-legal a:visited {
  color: #ffffff !important;
}

.audiovisual-footer-legal .footer-bottom-link:hover,
.audiovisual-footer-legal .footer-bottom-link:focus-visible,
.audiovisual-cookie-settings:hover,
.audiovisual-cookie-settings:focus-visible {
  color: var(--primary, #f8acff) !important;
  opacity: 1;
}

@media (max-width: 768px) {
  .audiovisual-footer-legal {
    justify-content: center;
    gap: 10px 16px;
    text-align: center;
  }
}

/* =====================================================
   BOTÓN PROPUESTA DE GASTRONOMÍA
===================================================== */

.av-industry-featured__button {
  width: fit-content;
  min-height: 58px;
  margin-top: 28px;
  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid rgba(255, 183, 43, 0.9);
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #f2b84b 0%,
    #ff9f1c 55%,
    #ff7a00 100%
  );

  color: #120704;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;

  cursor: pointer;

  box-shadow:
    0 16px 40px rgba(255, 153, 0, 0.25),
    0 0 24px rgba(242, 184, 75, 0.15);

  transition:
    transform 260ms ease,
    background 260ms ease,
    color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.av-industry-featured__button:hover,
.av-industry-featured__button:focus-visible {
  background: #fff7e8;
  color: #120704;
  border-color: #fff7e8;

  transform: translateY(-4px);

  box-shadow:
    0 22px 52px rgba(255, 153, 0, 0.38),
    0 0 0 5px rgba(242, 184, 75, 0.12);

  outline: none;
}

.av-industry-featured__button .material-symbols-outlined {
  font-size: 1.2rem;
  transition: transform 260ms ease;
}

.av-industry-featured__button:hover .material-symbols-outlined,
.av-industry-featured__button:focus-visible .material-symbols-outlined {
  transform: translate(4px, -4px);
}

/* Adaptación del botón para celular */
@media (max-width: 520px) {
  .av-industry-featured__button {
    width: 100%;
    min-height: 58px;
    padding-inline: 18px;
    text-align: center;
  }
}

/* =====================================================
   TÍTULO INDUSTRIAS — PRODUCCIÓN AUDIOVISUAL
===================================================== */

.av-industries__header h2 {
  max-width: 820px !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-size: clamp(2.4rem, 3.8vw, 4.25rem) !important;
  font-weight: 700 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
}

@media (max-width: 760px) {
  .av-industries__header h2 {
    max-width: 100% !important;
    font-size: clamp(2.15rem, 9.5vw, 3.2rem) !important;
    line-height: 1 !important;
  }
}

/* =====================================================
   TÍTULO DESTACADO — GASTRONOMÍA
===================================================== */

.av-industry-featured h3 {
  max-width: 700px !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-size: clamp(2.15rem, 3.25vw, 3.7rem) !important;
  font-weight: 700 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em !important;
}

@media (max-width: 680px) {
  .industry-card__content h3,
  .av-industry-featured h3,
  .dev-industry-featured h3 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1 !important;
  }
}

/* ==================================================
   MODA Y SECTOR TEXTIL — PROPUESTA DISPONIBLE
================================================== */

.av-industry-card--available {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-color: rgba(255, 173, 51, 0.55);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.av-industry-card--available:visited {
  color: inherit;
}

.av-industry-card--available small {
  color: #ffad33;
  opacity: 1;
}

.av-industry-card--available:hover {
  transform: translateY(-7px);
  border-color: #ffad33;
  background:
    linear-gradient(
      135deg,
      rgba(255, 173, 51, 0.13),
      rgba(255, 255, 255, 0.035)
    );
  box-shadow: 0 22px 46px rgba(255, 173, 51, 0.17);
}

.av-industry-card--available:focus-visible {
  outline: 2px solid #ffad33;
  outline-offset: 4px;
}