/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-text: #0a0e17;
  --color-text-muted: #434852;
  --color-accent: #e18213;
  --color-accent-2: #96d4b6;
  --color-border: #d6d9df;
  --color-dark: #0a0e17;
  --color-white: #ffffff;
  --color-purple: #8774fa;
  --color-red: #ff5425;

  --color-solutions-lime: #c3f69a;
  --color-solutions-cyan: #95e6da;
  --color-solutions-red: #ff5425;
  --color-solutions-purple: #8774fa;

  --font-sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --radius-s: 0.5rem;
  --radius-m: 0.875rem;
  --radius-xl: 2.5rem;

  --container-max: 75rem;
  --header-height: 4.75rem;
  --z-header: 100;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-3);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
}

strong {
  color: var(--color-text);
  font-weight: 700;
}

.no-js .site-nav {
  display: flex;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: min(100% - (var(--space-6) * 2), var(--container-max));
  margin-inline: auto;
}

.container.full-width {
  --container-max: 100%;
}

.section:not(:first-of-type) {
  padding-block: clamp(2.5rem, 6vw, 6rem);
}

@media (max-width: 900px) {
  .container {
    width: min(100% - (var(--space-4) * 2), var(--container-max));
  }
}

/* ==========================================================================
   Components
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: var(--space-3);
  top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-s);
  background: #fff;
  color: #000;
  z-index: calc(var(--z-header) + 1);
}

.section-tag {
  width: fit-content;
  margin: 0;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.display-title {
  margin: 0;
  font-size: clamp(2.2rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.display-title-dark {
  color: var(--color-text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  /*border-bottom: 1px solid var(--color-border);*/
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: var(--header-height);
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 95%;
}

.brand img {
  width: clamp(6.5rem, 10vw, 8.5rem);
}

.brand-note {
  margin: 0;
  color: var(--color-text);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-note strong {
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.language-toggle {
  border: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-4);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-accent);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  padding: 0.25rem;
  inline-size: 2.4rem;
  block-size: 2.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-direction: column;
  cursor: pointer;
}

.menu-line {
  inline-size: 1.7rem;
  block-size: 2px;
  background: var(--color-text);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  margin: 0;
  padding: var(--space-3) 0;
  background: transparent;
}

.accordion-item summary {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text);
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item p {
  margin: var(--space-3) 0 0;
  /*max-inline-size: 75ch;*/
}

.step {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.site-footer {
  /*margin-top: var(--space-6);*/
  background: var(--color-dark);
  color: var(--color-white);
}

.footer-content {
  padding: clamp(2.4rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: var(--space-4);
}

.footer-mail {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.footer-question {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: var(--color-white);
  text-transform: lowercase;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.footer-brand-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.copy-button {
  border: 0;
  border-radius: 0.4rem;
  background: #f5f5f5;
  color: #000;
  padding: 0.8rem 1.1rem;
  font: inherit;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  filter: brightness(0.95);
}

.footer-band {
  block-size: 0.85rem;
  background: var(--color-accent);
}

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand-note {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
  }

}

/* ==========================================================================
   Sections
   ========================================================================== */

/*.section.hero {
  padding-block-end: clamp(2.5rem, 6vw, 3.5rem);
}*/

.hero-shell {
  display: grid;
  gap: var(--space-4);
}

.hero-overlay {
  position: absolute;
  inset: auto clamp(1.2rem, 4vw, 4rem) clamp(1.2rem, 4vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  width: 550px;
}

.hero-overlay .display-title {
  color: var(--color-white);
}

.hero-media {
  position: relative;
  margin: 0;
  overflow: clip;
  border-radius: var(--radius-xl);
  min-block-size: clamp(20rem, 56vw, 39rem);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.58) 100%);
  z-index: 1;
}

.range-block {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.range-prefix,
.range-suffix {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.range-prefix, .range-suffix {
  font-size: 1.25rem;
}

.range-suffix {
  text-align: right;
}

.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(9rem, 20vw, 13rem) minmax(0, 1fr);
  align-items: center;
}

.range-pill {
  min-block-size: clamp(5.25rem, 10vw, 8.6rem);
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.range-pill span {
  color: var(--color-white);
  font-size: clamp(2.2rem, 7vw, 6.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.range-pill-left {
  background: var(--color-purple);
}

.range-pill-right {
  background: var(--color-red);
}

.range-image {
  margin: 0;
  border-radius: 999px;
  overflow: hidden;
  aspect-ratio: 1.56 / 1;
}

.range-image picture {
  display: block;
  inline-size: 100%;
  block-size: 100%;
}

.range-image img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.content-statement {
  margin-top: var(--space-5);
  max-inline-size: 46rem;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: var(--space-3);
}

.content-statement h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.content-statement p {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.1rem, 2.8vw, 1.85rem);
}

.content-statement .source-note {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.be-brave-media {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: clip;
}

.be-brave-media img {
  inline-size: 100%;
  block-size: auto;
}

#be-brave .display-title {
  margin-top: var(--space-5);
  text-align: center;
}

.feature-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.feature-item {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--space-3);
}

.feature-item p {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
}

.feature-icon {
  display: block;
  background: var(--color-accent);
}

.publishers-shell {
  border-top: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent);
  padding-block: var(--space-5);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.publishers-copy {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.2rem, 2.5vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 545px;
}

.solution-layout {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-4);
}

.solution-stack {
  display: grid;
  gap: var(--space-4);
}

.solution-card {
  border-radius: var(--radius-m);
  padding: var(--space-3);
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.solution-card img {
  inline-size: 100%;
  border-radius: calc(var(--radius-m) - 0.25rem);
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.solution-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 500;
}

.solution-card p {
  margin: 0;
  color: var(--color-text);
}

.solution-card.solution-lime h3,
.solution-card.solution-lime p,
.solution-card.solution-cyan h3,
.solution-card.solution-cyan p {
  color: var(--color-white);
}

.solution-card.solution-lime .inter-lines,
.solution-card.solution-cyan .inter-lines{
  border-top: 0.0625rem solid var(--color-white);
  border-bottom: 0.0625rem solid var(--color-white);
}

.solution-card-tall {
  min-block-size: 100%;
}

.solution-card-wide {
  margin-top: var(--space-4);
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.solution-orange {
  background: var(--color-solutions-lime);
}

.solution-mint {
  background: var(--color-solutions-cyan);
}

.solution-lime {
  background: var(--color-solutions-red);
}

.solution-cyan {
  background: var(--color-solutions-purple);
}

.social-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.social-card {
  display: grid;
  gap: var(--space-3);
}

.social-card img {
  inline-size: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-m);
}

.social-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-weight: 500;
}

.social-card p {
  margin: 0;
  padding: var(--space-3) 0;
  border-top: 1px solid color-mix(in srgb, var(--color-text) 32%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 32%, transparent);
  color: var(--color-text);
}

.data-panel {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  display: grid;
  gap: var(--space-4);
}

.data-tag-mobile {
  display: none;
}

.data-main {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-4);
  align-items: start;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid #cecece;
}

.data-main h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.data-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8.5%;
}

.data-stats p {
  margin: 0;
}

.data-value {
  color: var(--color-text);
  font-size: clamp(3rem, 11vw, 12rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.data-value span {
  font-size: 0.35em;
  font-weight: 700;
  margin-inline-start: 0.6em;
}

.data-stats article > p:last-child {
  margin-top: var(--space-2);
  color: var(--color-text);
}

.source-note-right {
  text-align: right;
}

.marquee-section {
  overflow: clip;
}

.marquee-track {
  display: flex;
  gap: var(--space-5);
  inline-size: max-content;
  animation: marquee-left 28s linear infinite;
}

.marquee-track p {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(2.2rem, 9vw, 9rem);
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
}

.about-grid img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-card {
  /*background: color-mix(in srgb, var(--color-accent) 15%, transparent);*/
  background-color: #FFE7DC;
  border-radius: var(--radius-xl);
  padding: clamp(1.3rem, 4vw, 3rem);
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.about-card p {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.buzz-panel {
  position: relative;
  margin: 0;
  overflow: clip;
  border-radius: var(--radius-xl);
}

.buzz-panel video {
  inline-size: 100%;
  block-size: clamp(18rem, 45vw, 38rem);
  object-fit: cover;
}

@media (max-width: 1000px) {
  .publishers-shell {
    grid-template-columns: 1fr;
  }

  .solution-layout {
    grid-template-columns: 1fr;
  }

  .solution-card-wide {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

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

  .data-main {
    grid-template-columns: 1fr;
  }

  .data-stats {
    grid-template-columns: 1fr;
  }

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

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

  .range-image {
    order: 2;
    max-inline-size: 14rem;
    margin-inline: auto;
    height: 120px;
    width: 120px !important;
  }

  .range-image picture {
    height: 120px;
    width: 120px !important;
  }

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

  .source-note-right {
    text-align: left;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Project overrides
   ========================================================================== */

:root {
  --heightPallarax : -35%;
}
.site-header {
  transition: box-shadow 0.4s;
}

.header-inner {
  --header-height: 122px;
}

.language-dropdown {
  position: relative;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  list-style: none;
  margin: 0;
  padding: 5px 0;
  background: white;
  border: 1px solid #ccc;
}

.language-menu li button {
  background: none;
  border: none;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.language-menu li button:hover {
  background: #f0f0f0;
}

.language-dropdown.open .language-menu {
  display: block;
}

body > header > div > div > div > button > span:nth-child(2) {
  font-family: "Manrope";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.0375rem;
}

/* ===== Burger ===== */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  width: 65px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-line {
  width: 100%;
  height: 2px;
  background: #000;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Animación a X */
.menu-toggle.active .menu-line:nth-child(2) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===== NAV ===== */
.site-nav {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  padding: 10px 0;

  display: none;
  flex-direction: column;
  min-width: 200px;
}

.site-nav a {
  padding: 10px 15px;
  text-decoration: none;
  color: #000;
  display: block;
}

.site-nav a:hover {
  background: #f5f5f5;
}

/* Estado abierto */
.site-nav.open {
  display: flex;
}

/* ===== SR ONLY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero-media {
  position: relative;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-media-image {
  min-block-size: 0;
}

section#brave-content {
  max-width: 69.75rem;
  margin: 0 auto;
}

#brave-content {
  max-width: 1116px;
}

#brave-content .container {
  width: 100% !important;
}

.section-tag {
  position: relative;
  gap: 8px;
  display: flex;
  flex-direction: column;
  align-items: start;
  max-width: 7rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: normal;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 27px;
  height: 27px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 27 27' fill='none'%3E%3Crect x='0.375' y='0.375' width='26.25' height='26.25' rx='4.625' stroke='black' stroke-width='0.75'/%3E%3Cpath d='M5.40932 19.5295L19.6364 19.6476C19.6018 16.0824 19.5529 8.97909 19.5184 5.41384L17.7373 5.38456C17.7688 8.59129 17.7949 12.8483 17.8289 16.5933L6.15012 4.90906L4.90459 6.15515L16.5834 17.8394L5.38954 17.7381L5.40932 19.5295Z' fill='black'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.content-statement {
  margin-top: 3.15rem;
}

.content-statement h2 {
  font-weight: 400;
}

.content-statement p {
  color: var(--color-text);
  font-size: 1.9rem;
  line-height: 2rem;
  font-weight: 400;
  margin-top: 2rem;
}

strong {
  font-weight: 600;
}

#be-brave .be-brave-media {
  position: relative;
}

#be-brave .be-brave-media img {
  display: block;
  width: 100%;
  height: auto;
}

#be-brave .be-brave-media-wrapper {
  position: relative;
}

#be-brave .display-title {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  margin: 0;
}

#be-brave .display-title {
  text-align: center;
  height: 93%;
  display: flex;
  align-items: center;
  left: 4.5rem;
  font-size: 8.15rem;
  font-weight: 400;
  margin-top: 0;
}

.feature-icon {
  display: block;
  width: auto;
  margin-bottom: 10px;
  background-color: transparent;
}

#be-brave > div:nth-child(2) {
  margin-top: 6rem;
}

#be-brave > div:nth-child(2) article {
  max-width: 22.3125rem;
}

#publishers .publishers-shell {
  grid-template-columns: 2fr 1fr;
}

.solution-card {
  display: flex;
  padding: 1.2rem;
}

#soluciones
> div
> div
> article.solution-card.solution-card-tall.solution-orange {
  flex-direction: column;
}

#soluciones .solution-card.solution-mint div,
#soluciones .solution-card.solution-lime div {
  width: 50%;
}

.solution-card img {
  aspect-ratio: unset;
}

.inter-lines {
  border-top: 0.0625rem solid #000;
  border-bottom: 0.0625rem solid #000;
  padding: 1rem 0;
  line-height: normal;
}

#soluciones
> div
> div
> article.solution-card.solution-card-tall.solution-orange
> h3 {
  padding-left: 0.8rem;
}

#soluciones
> div
> div
> article.solution-card.solution-card-tall.solution-orange
> p {
  padding: 0.85rem 0.8rem;
}

#soluciones > div > div > div > article.solution-card > div:nth-child(1) > h3,
#soluciones
> div
> div
> article.solution-card.solution-cyan.solution-card-wide
> div:nth-child(2)
> h3 {
  padding-bottom: 1rem;
}

#soluciones
> div
> div
> div
> article.solution-card
> div:nth-child(1)
> .inter-lines {
  margin-right: -1rem !important;
}

#soluciones h3 {
  font-size: 3rem;
  font-weight: 400;
  line-height: 50px;
}

.solution-card-wide {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.solution-card-wide > div:first-child {
  flex: 0 0 41%;
}

.solution-card-wide > div:last-child {
  flex: 0 0 57%;
}

#soluciones
> div
> div
> article.solution-card.solution-cyan.solution-card-wide
> div:nth-child(2)
> p {
  margin-left: -1rem !important;
  padding-left: 1rem !important;
}

#soluciones-sociales > div > div > article > h3 {
  font-size: 3rem;
  font-weight: 400;
  max-width: 240px;
}

#datos .section-tag::before {
  content: none;
}

#datos .section-tag {
  min-width: 195px;
}

#datos > div > article > div > h2 {
  font-weight: 400;
  max-width: 800px;
}

#datos > div > article > div > div > article > p.data-value {
  font-size: clamp(2rem, 13.125rem, 10.5cqw);
}

#datos > div > article > div > div > article > p:nth-child(2) {
  font-size: 1.88rem;
  max-width: 770px;
}

#datos > div > article > p.source-note.source-note-right {
  font-size: 0.875rem;
  margin-top: 10px;
}

.accordion-item summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::marker {
  content: "";
}

.accordion-arrow {
  margin-left: auto;
  display: block;
  width: 2.6875rem;
  height: auto;
  transform: rotate(-90deg);
  transition: transform 0.4s -0.2s ease-in-out;
  transform-origin: center;
}

.accordion-item[open] .accordion-arrow {
  transform: rotate(0deg);
}

#acordeones > div > div > details > summary {
  font-size: 2.5rem;
  font-weight: 500;
  display: flex;
  align-items: baseline;
}

#acordeones > div > div > details > summary > span {
  font-size: 40px;
  font-weight: 400;
}

.accordion-item summary {
  gap: 1.625rem;
}

details {
  overflow: hidden;
  max-height: 100px;
  transition: max-height 0.8s ease;
}

details[open] {
  max-height: 200px;
}

#copies-grandes .marquee-separator {
  display: flex;
}

#sobre-exte > div > div > article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px;
}

#sobre-exte > div > div > article > img {
  max-width: 15rem;
  border-radius: 0;
  height: auto;
}

a {
  --color-accent: #000000;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.6875rem;
}

.text-link::before {
  content: "";
  display: inline-block;
  width: 1.375rem;
  height: 1.375rem;

  background-image: url("../assets/img/sobre-exte/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#sobre-exte > div > div > article > p {
  font-size: 1.875rem;
  line-height: normal;
}

#exte-buzz {
  padding-bottom: 0;
}

.footer-brand-block {
  gap: 0;
}

footer:has(.footer-mail:not(:hover)) .copy-button:not(:hover) {
  opacity: 0;
}
body footer .copy-button:hover {
  opacity: 1;
  cursor: pointer;
}
.copy-button {
  margin-top: 1rem;
  filter: brightness(1);
  padding: 0.8rem 2.8rem;
  min-width: 188px;
  transition: 0.25s;
}

.copy-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.25rem;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.25rem solid transparent;
  border-right: 0.25rem solid transparent;
  border-top: 0.25rem solid #fff;
}

.footer-brand-block {
  border-bottom: 0px;
  padding-left: 2rem;
}

#contacto > div.container.footer-content > p.footer-mail {
  margin-top: -3.5rem;
  font-size: 3.4375rem;
  padding-left: 2rem;
  width: max-content;
  cursor: pointer;
}
.footer-question {
  font-size: 1.5625rem;
}

#contacto > div.container.footer-content > div:nth-child(3) > img {
  width: 8.25rem;
}

.footer-tbc {
  display: flex;
  padding: 2rem 0;
}

.footer-tbc > :nth-child(1),
.footer-tbc > :nth-child(3) {
  height: 1px;
  margin-top: 5rem;
  background-color: #fff;
}
.footer-tbc > :nth-child(1) {
  flex: 0 0 56%;
}
.footer-tbc > :nth-child(2) {
  flex: 0 0 10%;
  animation: spin 7s linear infinite;
}
.footer-tbc > * {
  transition:
    filter 1s ease-out,
    scale 1s ease-out;
}
.footer-tbc > :nth-child(1),
.footer-tbc > :nth-child(3) {
  pointer-events: none;
}
.footer-tbc:has(> :hover) > * {
  filter: blur(18px);
  scale: 3;
  animation-duration: 0.8s;
  cursor: none;
  transition:
    filter 25s 1s ease-in-out,
    scale 30s 1s ease-in-out;
}
.footer-tbc > :nth-child(3) {
  flex: 0 0 36%;
  margin-left: 1rem;
}
@keyframes spin {
  0% {
  }
  100% {
    transform: rotate(360deg);
  }
}
#contacto::after {
  content: " ";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: transparent;
  pointer-events: none;
  opacity: 0;
  z-index: 999999;
  transition: 1s;
}
#contacto:has(.footer-tbc > :hover)::after {
  background-color: #ff580d;
  opacity: 0.5;
  transition:
    20s 2s,
    backdrop-filter 60s 2s;
  mix-blend-mode: soft-light;
  backdrop-filter: blur(6px);
}

.footer-links {
  gap: 0;
  justify-content: space-between;
  align-items: self-end;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links img {
  margin-left: 2rem;
}

.footer-links-group {
  display: flex;
  gap: 1rem;
  align-self: flex-end;
}

.footer-links-group a {
  padding: 0.45rem 2rem;
  font-size: 1.25rem;
}

.footer-band {
  display: flex;
  justify-content: center;
  align-items: center;
  block-size: 3.0625rem;
  --color-accent: #ff580d;
}

#contacto > div.footer-band > img {
  width: 3.4375rem;
  height: 0.6875rem;
  margin-left: 0.5rem;
}

.be-brave-media-wrapper {
  position: relative;
  overflow: hidden;
}

.be-brave-media {
  position: relative;
  width: 100%;
  height: 25.90125rem;
  margin: 0;
  overflow: hidden;
}

.be-brave-parallax-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 170%;
  object-fit: cover;
  transform: translate(-50%, -50%) translate3d(0, 0, 0);
  will-change: transform;
  display: block;
}

#be-brave .display-title {
  position: absolute;
  top: 1rem;
  color: #fff;
  z-index: 2;
}

.reveal-item {
  opacity: 0;
  transform: translateY(4rem);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-item:nth-child(3) {
  transition-delay: 0.24s;
}

@media (max-width: 768px) {
  .be-brave-media {
    height: 16.25rem;
  }

  .feature-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.marquee {
  width: 100vw;
  margin-left: -3rem;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-content p {
  margin: 0;
  white-space: nowrap;
}

.marquee-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 1rem;
}

.marquee-separator img {
  width: 7rem;
  height: 7rem;
  margin: 0 2rem;
}

.marquee-track-right {
  animation: marquee-left 18s linear infinite;
  animation-direction: reverse;
}

.marquee-track-left {
  animation: marquee-left 18s linear infinite;
}

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

#be-brave .feature-grid {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 1.4rem;
}

.section:not(:first-of-type) {
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}

.content-statement .source-note {
  font-size: 0.875rem;
}

.range-suffix {
  font-size: 1.25rem;
}

.feature-item p {
  font-size: 1.875rem;
  line-height: normal;
}

.feature-item {
  gap: 0.75rem;
}

#be-brave .feature-grid img {
  height: 6.25rem;
  margin-bottom: 1.75rem;
}

#soluciones
> div
> div
> article.solution-card.solution-cyan.solution-card-wide {
  margin-top: 0;
}

.social-grid {
  margin-top: var(--space-6);
}

.social-card p {
  padding: var(--space-3) var(--space-2) var(--space-3) 0;
  line-height: normal;
}

.data-main {
  padding: var(--space-5) 0 var(--space-6) 0;
}

.data-stats article > p:last-child {
  margin-top: var(--space-3);
}

.footer-content {
  padding: 10.26rem 0 9rem 0;
}

.social-card {
  gap: 28px;
}

.social-card p {
  border-top: 1px solid #000;
  border-bottom: 1px solid#000;
}

.data-panel {
  padding: clamp(1.2rem, 3vw, 2.5rem);
}

.accordion-item p {
  margin: var(--space-3) 0 0 80px;
  max-inline-size: 103ch;
}

.accordion-item:first-child p {
  margin: var(--space-3) 0 0 70px;
}

.accordion-item {
  border: inherit;
  border-top: 1px solid #000;
  border-left: 0;
  border-right: 0;
}
.accordion-item:last-child {
  border-bottom: 1px solid #000;
}

.buzz-panel {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.site-footer {
  background: #000;
}

.site-header.header-floating {
  box-shadow: 0 0 20px 10px rgb(125 125 125 / 20%);
}
.header-floating .header-inner {
  min-height: 72px;
}
.header-inner {
  transition: min-height 0.3s;
}
.site-header + *::before {
  transition: height 0.3s;
  display: block;
  position: relative;
  content: " ";
  height: 0;
}
.site-header.header-floating + *::before {
  height: calc(122px - 72px);
}

/* Estado inicial (oculto) */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in-up {
  transform: translateY(20px);
}
/* Fade In Left */
.fade-in-left {
  transform: translateX(calc(-40px - 5vw));
}

/* Fade In Right */
.fade-in-right {
  transform: translateX(calc(40px + 5vw));
}

/* Estado visible */
.animate.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

#exte-buzz > div > article > video {
  border-radius: 38px;
}

.publishers-carousel {
  --publishers-gap: clamp(2.25rem, 4vw, 4.5rem);
  --publishers-edge-space: clamp(1.125rem, 2vw, 2.25rem);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.publishers-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: publishers-scroll 34s linear infinite;
}

.publishers-group {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  align-items: center;
  gap: var(--publishers-gap);
  padding: 24px var(--publishers-edge-space);
  box-sizing: border-box;
}

.publishers-group img {
  display: block;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.publishers-group .la-razon {
  height: 50px;
}

.publishers-group .el-confidencial {
  height: 75px;
}

.publishers-group .el-periodico {
  height: 45px;
}

.publishers-group .woman {
  height: 90px;
}

.publishers-group .codigo-nuevo {
  height: 87px;
}

.publishers-group .stilo {
  height: 51px;
}

.publishers-group .el-espanol {
  height: 77px;
}

.publishers-group .voz-populi {
  height: 77px;
}

.publishers-group .vanitatis {
  height: 85px;
}

.publishers-group .viajar {
  height: 83px;
}

.data-main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.data-main > h2 {
  width: 100%;
  margin: 0;
}

.data-stats {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.data-stats > article {
  flex: 1 1 50%;
}



@media (max-width: 600px) {
  .publishers-group .la-razon {
    height: 38px;
  }

  .publishers-group .el-confidencial {
    height: 46px;
  }

  .publishers-group .el-periodico {
    height: 34px;
  }

  .publishers-group .woman {
    height: 42px;
  }

  .publishers-group .codigo-nuevo {
    height: 28px;
  }

  .publishers-group .stilo {
    height: 38px;
  }

  .publishers-group .el-espanol {
    height: 28px;
  }

  .publishers-group .voz-populi {
    height: 28px;
  }

  .publishers-group .vanitatis {
    height: 28px;
  }

  .publishers-group .viajar {
    height: 28px;
  }
}


@keyframes publishers-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .publishers-track {
    animation: none;
    will-change: auto;
  }
}

/* EXTE buzz */
#exte-buzz {
  padding-bottom: 0;
}

#exte-buzz .container.full-width {
  width: calc(100% - clamp(2rem, 4vw, 3rem));
}

#exte-buzz .buzz-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: clamp(2.5rem, 4.5vw, 4.25rem) clamp(1.5rem, 5vw, 5rem) 0;
  overflow: hidden;
  color: #fff;
  background: #000;
  border-radius: 40px 40px 0 0;
}

.buzz-heading {
  text-align: center;
}

.buzz-lockup {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: clamp(0.75rem, 1.4vw, 1.25rem);
}

.buzz-lockup img {
  width: clamp(7.5rem, 12vw, 248px);
  height: auto;
}

.buzz-lockup span {
  color: #fff;
  font-size: clamp(1.65rem, 2.6vw, 47px);
  font-weight: 300;
  line-height: 1;
}

#exte-buzz .buzz-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.buzz-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 7rem);
  /*width: min(100%, 64rem);*/
  margin: clamp(2.25rem, 4.5vw, 4rem) auto clamp(1.5rem, 2.8vw, 2.5rem);
}

.buzz-feature {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1rem;
  text-align: center;
}

#exte-buzz .buzz-feature p {
  max-width: 31ch;
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.45vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  text-shadow: none;
}

.buzz-feature-icon {
  display: block;
  width: clamp(3.5rem, 5vw, 4.5rem);
  height: clamp(3.5rem, 5vw, 4.5rem);
  object-fit: contain;
}

#exte-buzz .buzz-panel video {
  width: auto;
  height: auto;
  min-height: 0;
  object-fit: cover;
  opacity: 1;
  border-radius: 0.875rem 0.875rem 0.875rem 0.875rem;
  margin-bottom: 25px;
}

@media (max-width: 900px) {
  .publishers-group {
    display: flex;
    width: max-content;
    min-width: 0;
    gap: var(--publishers-gap);
    padding: 1.25rem var(--publishers-edge-space);
  }

  .publishers-group img {
    width: auto;
    max-width: none;
  }
}
