/* ─── CSS Variables ─── */
:root {
  --font1: "Syne", sans-serif;
  --font2: "Poppins", sans-serif;
  --color1: #1e1e1e;
  --color2: #f5f0e8;
  --color3: #44565a;
  --color4: #e4e4e4;
  --color5: #819495;
  --blog-tecnica: #8c8071;
  --blog-entrevistas: #96959a;
  --blog-mercado: #44565a;
  --blog-obras: #819495;
  --blog-empresas: #527f8a;
  --max-width-desktop: 1325px;
  --max-width-small-desktop: calc(var(--max-width-desktop) * 0.8);
  --color-dark: #2b2b2b;
}

/* ─── Reset & Body ─── */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* Skip link */
.skip-link {
  display: none;
}

/* Focus global */
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color4);
  outline-offset: 3px;
  border-radius: 2px;
}

body {
  font-family: var(--font2);
  background-color: #ffffff;
  color: var(--color1);
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: var(--color3) transparent;
  padding-top: 108px; /* ticker 36px + nav 72px */
}

/* ─── Really Simple Featured Video: que llene el contenedor igual que un img ─── */
.rsfv-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.rsfv-shortcode-wrapper {
  width: 100%;
  height: 100%;
}

.rsfv-shortcode-wrapper video,
.rsfv-shortcode-wrapper iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

/* El plugin envuelve los embeds (YouTube/Vimeo) en .rsfv-iframe-wrapper con la
   técnica clásica de padding-bottom para mantener el aspect-ratio — eso lo deja
   con su propio alto "flotante" en vez de llenar el contenedor como una imagen
   (que es lo que necesitamos en col-1-img/item-thumb/art-card-img). Lo forzamos
   a posición absoluta ocupando el 100% del wrapper, igual que un <img> con
   object-fit: cover. */
.rsfv-iframe-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}

.rsfv-iframe-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* ─── Ocultar badge flotante de Google reCAPTCHA ─── */
.grecaptcha-badge {
  visibility: hidden;
}

/* ─── Card article (template-parts/card-article.php): wrapper de título+bajada ─── */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Scrollbar fino — Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: var(--color3);
  border-radius: 5px;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4 {
  font-family: var(--font1);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
}

@media (max-width: 1280px) {
  h2 {
    font-size: clamp(1.25rem, 2.8vw, 2.25rem);
  }
}

@media (max-width: 1100px) {
  h2 {
    font-size: clamp(1.125rem, 2.5vw, 2rem);
  }
}

@media (max-width: 767px) {
  h2 {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
}

h4 {
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  font-weight: 500;
  line-height: 1.25;
}

p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-family: var(--font2);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color1);
}

@media (max-width: 1280px) {
  p {
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  }
}

@media (max-width: 1100px) {
  p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  }
}

@media (max-width: 767px) {
  p {
    font-size: clamp(0.875rem, 4vw, 1rem);
  }
}

#main-content {
  margin-bottom: 25px;
}

/* ─── Container ─── */
section.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 80px;
}

@media (max-width: 1100px) {
  section.container {
    max-width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  section.container {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ─── Layout principal 60 / 40 ─── */
.main-row {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: 3rem;
  width: 100%;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .main-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ─── Column base ─── */
.col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ─── Columna 1 ─── */
.col-1 {
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  max-height: 750px;

  @media (max-width: 767px) {
    flex-direction: column;
  }

  .col-1-img {
    flex: 1 1 auto;
    min-height: 400px;
    max-height: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: var(--color5);

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .img-placeholder {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--color5);

      span {
        font-family: var(--font2);
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
      }
    }
  }

  .col-1-text {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;

    .col-1-label {
      font-family: var(--font2);
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--color3);
    }

    h2 {
      font-size: clamp(1.4rem, 2.4vw, 2.2rem);
      font-weight: 600;
      line-height: 1.2;
      color: var(--color1);
      transition: color 0.2s;
    }

    p {
      font-size: clamp(0.9rem, 1.1vw, 1rem);
      line-height: 1.6;
      color: var(--color1);
    }
  }

  &:is(:hover, :focus-visible, :active) .col-1-text h2 {
    color: var(--color3);
  }
}

/* ─── Columna 2 ─── */
.col-2 {
  gap: 1.5rem;
  height: 100%;
}

.col-2-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(140, 128, 113, 0.3);
}

/* ─── Items (inner row single col) ─── */
.items-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  flex: 1;
}

.item-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  align-items: start;

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
  }

  .item-thumb {
    width: 100%;
    height: 100%;
    max-height: 260px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color5);
    position: relative;

    /* En mobile la grilla es 1 columna (thumb y texto apilados): el 100% no
       tiene alto de referencia y colapsaría a 0, así que ahí queda fijo. */
    @media (max-width: 767px) {
      height: 215px;
      max-height: 215px;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .thumb-placeholder {
      position: absolute;
      inset: 0;
      background: var(--color5);
      display: flex;
      align-items: center;
      justify-content: center;

      span {
        font-size: 0.6rem;
        color: rgba(255, 255, 255, 0.7);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-family: var(--font2);
      }
    }
  }

  .item-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;

    .item-label {
      font-family: var(--font2);
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--color3);
    }

    h4 {
      font-size: clamp(1rem, 1.3vw, 1.15rem);
      font-weight: 600;
      line-height: 1.3;
      color: var(--color1);
      transition: color 0.2s;
    }

    p {
      font-size: clamp(0.8rem, 1vw, 0.9rem);
      line-height: 1.55;
      color: var(--color1);
    }
  }

  &:is(:hover, :focus-visible, :active) .item-text h4 {
    color: var(--color3);
  }
}

/* ─── Banner ─── */
section.banner {
  width: 100%;
  display: flex;
  max-height: 400px;
  overflow: hidden;
}

.banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 300px;
}

@media (max-width: 1100px) {
  .banner-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  section.banner {
    max-height: none !important;
  }
}

.banner-col1,
.banner-col2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: rgb(214, 214, 214);
}

.banner-col1 {
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  padding-top: clamp(25px, 5vw, 80px);
  padding-bottom: clamp(25px, 5vw, 80px);
  padding-left: clamp(25px, 5vw, 80px);
  padding-right: clamp(25px, 3vw, 40px);
}

@media (max-width: 1100px) {
  .banner-col1 {
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .banner-col1 {
    padding-right: 15px;
  }
}

.banner-col1 h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.1;
}

.banner-col1 p {
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
}

.banner-col1 .anuncia-cta-btn {
  width: fit-content;
}

.banner-col2 {
  overflow: hidden;
  position: relative;
  background-color: var(--color5);
}

@media (max-width: 1100px) {
  .banner-col2 {
    min-height: 250px;
  }
}

.banner-col2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  position: absolute;
  inset: 0;
}

.banner-col2 .banner-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color5);
}

.banner-col2 .banner-img-placeholder span {
  font-family: var(--font2);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Section editorial 4 cols ─── */
.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 200px;
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
}

@media (max-width: 1280px) {
  .editorial-row {
    grid-template-columns: 1fr 1fr 1fr 180px;
  }
}

@media (max-width: 1100px) {
  .editorial-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .editorial-row {
    grid-template-columns: 1fr;
  }
}

.editorial-title {
  width: 100%;
  margin-bottom: 1.5rem;
}

.editorial-title h2 {
  margin-bottom: 0.5rem;
}

.editorial-title-line {
  width: 100%;
  height: 2px;
  background-color: var(--color4);
}

.editorial-title--tecnica .editorial-title-line {
  background-color: var(--blog-tecnica);
}
.editorial-title--entrevistas .editorial-title-line {
  background-color: var(--blog-entrevistas);
}
.editorial-title--mercado .editorial-title-line {
  background-color: var(--blog-mercado);
}
.editorial-title--obras .editorial-title-line {
  background-color: var(--blog-obras);
}
.editorial-title--empresas .editorial-title-line {
  background-color: var(--blog-empresas);
}

.editorial-empty {
  font-size: 0.85rem;
  color: var(--color1);
  opacity: 0.45;
  padding: 1.5rem 0 2rem;
}

/* ─── Art card ─── */
.art-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  .art-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: var(--color5);
    flex-shrink: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .art-placeholder {
      position: absolute;
      inset: 0;
      background: var(--color5);
      display: flex;
      align-items: center;
      justify-content: center;

      span {
        font-family: var(--font2);
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.7);
      }
    }
  }

  h3 {
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color1);
    transition: color 0.2s;
  }

  p {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.6;
    color: var(--color1);
  }

  &:is(:hover, :focus-visible, :active) h3 {
    color: var(--color3);
  }
}

/* ─── Art list ─── */
.art-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.art-list-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(140, 128, 113, 0.2);
}

.art-list-item:first-child {
  padding-top: 0;
}

.art-list-item h4 {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color1);
  transition: color 0.2s;
}

.art-list-item:is(:hover, :focus-visible, :active) h4 {
  color: var(--color3);
}

/* ─── Ad banner top ─── */
.ad-banner-top {
  width: 100%;
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

@media (max-width: 1280px) {
  .ad-banner-top {
    max-width: var(--max-width-small-desktop);
  }
}

@media (max-width: 1100px) {
  .ad-banner-top {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .ad-banner-top {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.ad-slot--horizontal {
  min-height: 100px;
  max-height: 200px;
}

/* ─── Ad slot ─── */
.ad-slot {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background-color: #e8e8e8;
  position: relative;
  min-height: 175px;
  height: 100%;
  grid-column: 4;
}

.ad-slot a {
  display: block;
  width: 100%;
  height: 100%;
}

.ad-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-slot .ad-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #e0ddd8;
}

.ad-slot .ad-placeholder span {
  font-family: var(--font2);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color3);
}

@media (max-width: 1100px) {
  .ad-slot {
    grid-column: span 2;
    min-height: 150px;
  }
}

@media (max-width: 767px) {
  .ad-slot {
    grid-column: span 1;
  }
}

/* ─── Ticker ─── */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  z-index: 60;
  background-color: var(--color4);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  font-family: var(--font2);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color1);
  background-color: rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 0 1.1rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.ticker-overflow {
  overflow: hidden;
  flex: 1;
}

.ticker-overflow:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .ticker-track {
    animation-duration: 6s;
  }
}

.ticker-item {
  font-family: var(--font2);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color1);
  white-space: nowrap;
  padding: 0 1.5rem;
  transition: color 0.2s;
}

.ticker-item:is(:hover, :focus-visible, :active) {
  color: rgba(30, 30, 30, 0.65);
}

.ticker-sep {
  color: rgba(30, 30, 30, 0.35);
  flex-shrink: 0;
  font-size: 0.8rem;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 36px;
  left: 0;
  z-index: 50;
  width: 100%;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

@media (max-width: 1100px) {
  .nav-inner {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}

.nav-logo {
  display: flex;
}

.nav-logo svg {
  height: 38px;
  width: auto;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font2);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:is(:hover, :focus-visible, :active) {
  color: #fff;
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 1rem;
  }
}

.nav-links li:last-child a {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.nav-links li:last-child a:is(:hover, :focus-visible, :active) {
  background-color: #fff;
  border-color: #fff;
  color: var(--color1);
}

.nav-cta {
  font-family: var(--font2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color1);
  background-color: var(--color4);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.nav-cta:is(:hover, :focus-visible, :active) {
  background-color: #fff;
  color: var(--color1);
}

@media (max-width: 767px) {
  .nav-inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ─── Search button ─── */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  padding: 0.35rem;
  transition: color 0.2s;
  flex-shrink: 0;
}

.nav-search-btn:is(:hover, :focus-visible, :active),
.nav-search-btn[aria-expanded="true"] {
  color: #fff;
}

/* ─── Hamburger ─── */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  padding: 0.25rem;
}

@media (max-width: 1100px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-search-btn {
    margin-left: auto;
  }
}

/* ─── Search overlay ─── */
.search-overlay {
  position: fixed;
  top: 108px;
  left: 0;
  width: 100%;
  background: rgba(35, 35, 35, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 49;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.search-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.search-overlay-inner {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1280px) {
  .search-overlay-inner {
    max-width: var(--max-width-small-desktop);
  }
}

@media (max-width: 1100px) {
  .search-overlay-inner {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .search-overlay-inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.search-overlay-form {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.2s;
}

.search-overlay-form:focus-within {
  border-color: var(--color4);
}

.search-overlay-icon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  padding-left: 1rem;
  flex-shrink: 0;
}

.search-overlay-input {
  flex: 1;
  font-family: var(--font2);
  font-size: 0.95rem;
  font-weight: 300;
  color: #fff;
  background: transparent;
  border: none;
  padding: 0.9rem 1rem;
  outline: none;
}

.search-overlay-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.search-overlay-input::-webkit-search-cancel-button,
.search-overlay-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-overlay-submit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: stretch;
  font-family: var(--font2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color1);
  background: var(--color4);
  border: none;
  padding: 0 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.search-overlay-submit:is(:hover, :focus-visible, :active) {
  background: var(--color3);
}

.search-overlay-submit-icon {
  display: none;
}

@media (max-width: 767px) {
  .search-overlay-submit {
    padding: 0 1rem;
  }
  .search-overlay-submit-icon {
    display: block;
    font-size: 0.85rem;
  }
  .search-overlay-submit-text {
    display: none;
  }
  .search-overlay-icon {
    display: none;
  }
  .search-overlay-input {
    font-size: 0.82rem;
  }
}

.search-overlay-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  padding: 0.4rem;
  transition: color 0.2s;
  flex-shrink: 0;
}

.search-overlay-close:is(:hover, :focus-visible, :active) {
  color: #fff;
}

/* ─── Overlay ─── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
}

.nav-overlay.is-open {
  display: block;
}

/* ─── Side drawer ─── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: white;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.nav-drawer.is-open {
  right: 0;
}

.nav-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color1);
  font-size: 1.4rem;
  padding: 0.25rem;
  line-height: 1;
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-drawer-links li {
  border-bottom: 1px solid rgba(15, 15, 15, 0.12);
}

.nav-drawer-links a {
  display: block;
  font-family: var(--font2);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color1);
  text-decoration: none;
  padding: 0.9rem 0;
  transition: color 0.2s;
}

.nav-drawer-links a:is(:hover, :focus-visible, :active) {
  color: var(--color4);
}

.nav-drawer-cta {
  font-family: var(--font2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color1);
  background-color: var(--color2);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.nav-drawer-cta:is(:hover, :focus-visible, :active) {
  background-color: var(--color4);
  color: var(--color1);
}

/* ─── Newsletter CTA ─── */
.newsletter-cta {
  width: 100%;
  background-color: var(--color5);
}

.newsletter-inner {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 70px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.newsletter-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-left h2 {
  color: var(--color1);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.newsletter-left p {
  color: var(--color1);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}

.newsletter-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.newsletter-right p {
  color: var(--color1);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.newsletter-form input {
  font-family: var(--font2);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color1);
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.newsletter-form input::placeholder {
  color: var(--color3);
}

.newsletter-form input:focus {
  background-color: #fff;
  border-color: var(--color4);
}

.newsletter-form button {
  font-family: var(--font2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color1);
  background-color: var(--color4);
  border: none;
  padding: 0.85rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s;
}

.newsletter-form button:is(:hover, :focus-visible, :active) {
  background-color: var(--color1);
  color: #fff;
}

.footer-newsletter-mini {
  width: 100%;
  margin-top: 1rem;
}

.footer-newsletter-mini .newsletter-form {
  flex-direction: row;
  gap: 0.5rem;
}

.footer-newsletter-mini .newsletter-form input {
  font-size: 0.78rem;
  padding: 0.55rem 0.75rem;
}

.footer-newsletter-mini .newsletter-form button {
  font-size: 0.68rem;
  padding: 0.55rem 0.75rem;
  width: auto;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .newsletter-inner {
    max-width: var(--max-width-small-desktop);
    padding-top: 55px;
    padding-bottom: 55px;
  }
}

@media (max-width: 1100px) {
  .newsletter-inner {
    max-width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .newsletter-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  .newsletter-inner {
    padding-top: 35px;
    padding-bottom: 35px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ─── Footer ─── */
.site-footer {
  width: 100%;
  background-color: var(--color-dark);
}

.footer-inner {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.4fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr;
    gap: 2rem;
  }
}

@media (max-width: 1100px) {
  .footer-inner {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

@media (max-width: 767px) {
  .footer-inner {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 60px;
  width: fit-content;
  margin-left: -24px;
  object-fit: contain;
}

.footer-brand p {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

/* Cols */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col-title {
  font-family: var(--font2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  font-family: var(--font2);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:is(:hover, :focus-visible, :active) {
  color: #fff;
}

/* Social col */
.footer-col-social {
  gap: 1.25rem;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color4);
  color: var(--color1);
  text-decoration: none;
  transition:
    background-color 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}

.footer-social-btn:is(:hover, :focus-visible, :active) {
  background-color: var(--color1);
  transform: translateY(-2px);
}

.footer-social-btn i {
  font-size: 0.85rem;
}

.footer-email {
  font-family: var(--font2);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:is(:hover, :focus-visible, :active) {
  color: #fff;
}

.footer-cta {
  font-family: var(--font2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color1);
  background-color: var(--color4);
  border: none;
  padding: 0.85rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s;
}

.footer-cta:is(:hover, :focus-visible, :active) {
  background-color: var(--color1);
}

/* Bottom bar */
.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #4a4a4a;
}

.footer-bottom-inner {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 1280px) {
  .footer-bottom-inner {
    max-width: var(--max-width-small-desktop);
  }
}

@media (max-width: 1100px) {
  .footer-bottom-inner {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.footer-legal ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal li {
  margin: 0;
  padding: 0;
}

.footer-legal a {
  font-family: var(--font2);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:is(:hover, :focus-visible, :active) {
  color: #fff;
}

.footer-copy {
  font-family: var(--font2);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.footer-up-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.footer-up-btn:is(:hover, :focus-visible, :active) {
  background-color: var(--color4);
  border-color: var(--color4);
  color: var(--color1);
}

#dots-nav button:is(:hover, :focus-visible, :active) {
  background: white;
  color: #ff4f41;
}

#dots-nav button:is(:hover, :focus-visible, :active) > svg path {
  fill: #ff4f41;
}

/* ─── CTA Anuncia ─── */
.anuncia-cta {
  width: 100%;
  background-color: var(--color1);
}

.anuncia-cta-inner {
  max-width: var(--max-width-desktop);
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

@media (max-width: 1280px) {
  .anuncia-cta-inner {
    max-width: var(--max-width-small-desktop);
    padding-top: 55px;
    padding-bottom: 55px;
  }
}

@media (max-width: 1100px) {
  .anuncia-cta-inner {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 45px;
    padding-bottom: 45px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .anuncia-cta-inner {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 35px;
    padding-bottom: 35px;
  }
}

.anuncia-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 600px;
}

.anuncia-cta-label {
  font-family: var(--font2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color4);
}

.anuncia-cta-title {
  font-family: var(--font1);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.anuncia-cta-desc {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.anuncia-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color1);
  background-color: var(--color4);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.anuncia-cta-btn:is(:hover, :focus-visible, :active) {
  background-color: #fff;
  color: var(--color1);
}

@media (max-width: 1350px) and (min-width: 1101px) {
  .footer-inner {
    max-width: var(--max-width-small-desktop);
  }
  .nav-inner {
    max-width: var(--max-width-small-desktop);
  }
  section.container {
    max-width: var(--max-width-small-desktop);
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
