/* CINNDAH - Estilos institucionales (complemento a Tailwind CDN) */
:root {
  --cinndah-primary: #003058;
  --cinndah-secondary: #689800;
  --cinndah-bg: #FFFFFF;
  --cinndah-surface: #F5F7F2;
  --cinndah-muted: #4A5563;
  --cinndah-white: #FFFFFF;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--cinndah-primary);
  background: var(--cinndah-bg);
  -webkit-font-smoothing: antialiased;
}

/* Justificar textos de contenido (no títulos, nav ni CTAs) */
main p,
footer p,
#problema .text-muted,
.area-detail-body .text-muted,
.area-detail-lineas,
.line-body p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.problem-card p,
.flow-body p,
.project-card p:not(.noticia-card-text),
.hero-eyebrow,
.hero-lema,
.hero-lema span,
.hero-brand,
.hero-actions,
.author-credit,
.page-hero > div > p:first-child,
p[class*="tracking-wide"] {
  text-align: left;
  hyphens: manual;
}

.font-heading { font-weight: 700; }
.font-subheading { font-weight: 600; }
.font-body { font-weight: 400; }
.text-muted { color: var(--cinndah-muted); }
.bg-surface { background-color: var(--cinndah-surface); }
.bg-primary { background-color: var(--cinndah-primary); }
.text-primary { color: var(--cinndah-primary); }
.text-accent { color: var(--cinndah-secondary); }

.site-header {
  transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), backdrop-filter 0.35s;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0, 48, 88, 0.06);
}

.site-header-inner {
  min-height: 5.25rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

@media (min-width: 768px) {
  .site-header-inner {
    min-height: 6.25rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: min(58vw, 240px);
}

.site-logo {
  display: block;
  height: 2.2rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  .site-logo { height: 2.55rem; }
  .site-logo-link { max-width: 270px; }
}

@media (min-width: 1024px) {
  .site-logo { height: 2.75rem; }
  .site-logo-link { max-width: 290px; }
}

.site-logo-footer {
  display: block;
  height: 3.1rem;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  .site-logo-footer {
    height: 3.5rem;
    max-width: 320px;
  }
}

.nav-link {
  position: relative;
  color: var(--cinndah-primary);
  font-weight: 500;
  font-size: 0.925rem;
  transition: color 0.25s ease;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--cinndah-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease, transform 0.25s var(--ease-out), box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: var(--cinndah-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(104, 152, 0, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--cinndah-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(0, 48, 88, 0.25);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.25s var(--ease-out);
}

.btn-secondary:hover {
  border-color: var(--cinndah-secondary);
  color: var(--cinndah-secondary);
  background: rgba(104, 152, 0, 0.04);
  transform: translateY(-2px);
}

.wave-divider { display: block; width: 100%; height: auto; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: 28px; }
@media (min-width: 768px) {
  .wave-divider svg { height: 40px; }
}

/* ===== Hero composition ===== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 5.5rem;
  overflow: hidden;
}
.hero-section--collage {
  padding-top: 7.5rem;
}
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #06101c;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-section--video .hero-inner {
  pointer-events: none;
}
.hero-section--video .hero-actions,
.hero-section--video [data-letter-fx] {
  pointer-events: auto;
}
.hero-live-line {
  margin: 1.15rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: clamp(2.1rem, 6.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #C6E56A;
  text-shadow: 0 4px 24px rgba(0, 32, 58, 0.45);
}
.hero-letter {
  display: inline-block;
  transform-origin: center bottom;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  will-change: transform;
}
.hero-letter.is-space {
  width: 0.28em;
}
.hero-brand .hero-letter {
  animation: hero-letter-in 0.7s var(--ease-out) both;
}
.hero-live-line .hero-letter {
  animation: hero-letter-in 0.55s var(--ease-out) both;
}
.hero-letter.is-near {
  color: #F4FFC8;
  text-shadow: 0 0 22px rgba(198, 229, 106, 0.85), 0 6px 22px rgba(0, 32, 58, 0.35);
}
.hero-letter.is-glow {
  color: #F7FFD4;
  text-shadow: 0 0 18px rgba(198, 229, 106, 0.9), 0 0 36px rgba(168, 209, 58, 0.45);
}
@keyframes hero-letter-in {
  from {
    opacity: 0;
    transform: translateY(0.55em) rotateX(28deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brand .hero-letter,
  .hero-live-line .hero-letter {
    animation: none;
  }
}
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-collage-sequence {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  z-index: 0;
}
.hero-collage-sequence.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-collage-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1.15fr 1fr;
  gap: 0.4rem;
  padding: 4.75rem 0.4rem 3.25rem;
}
.hero-collage-a { grid-column: 1; grid-row: 1 / span 2; }
.hero-collage-b { grid-column: 2; grid-row: 1; }
.hero-collage-c { grid-column: 3; grid-row: 1; }
.hero-collage-d { grid-column: 2; grid-row: 2; }
.hero-collage-e { grid-column: 3; grid-row: 2; }
.hero-collage-f {
  display: none;
}
@media (min-width: 1024px) {
  .hero-collage-grid {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    grid-template-rows: 1.1fr 1fr;
    padding: 5.25rem 0.55rem 3.5rem;
    gap: 0.5rem;
  }
  .hero-collage-a { grid-column: 1; grid-row: 1 / span 2; }
  .hero-collage-b { grid-column: 2; grid-row: 1; }
  .hero-collage-c { grid-column: 3; grid-row: 1; }
  .hero-collage-d { grid-column: 4; grid-row: 1; }
  .hero-collage-e { grid-column: 2 / span 2; grid-row: 2; }
  .hero-collage-f { display: block; grid-column: 4; grid-row: 2; }
}
@media (max-width: 767px) {
  .hero-collage-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    padding: 4.5rem 0.35rem 3rem;
  }
  .hero-collage-a { grid-column: 1 / span 2; grid-row: 1; }
  .hero-collage-b { grid-column: 1; grid-row: 2; }
  .hero-collage-c { grid-column: 2; grid-row: 2; }
  .hero-collage-d { grid-column: 1; grid-row: 3; }
  .hero-collage-e { grid-column: 2; grid-row: 3; }
  .hero-collage-f { display: none; }
}
.hero-collage-cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  min-height: 0;
  background: #003058;
}
.hero-collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  filter: saturate(0.78) contrast(1.05);
}
.hero-collage-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 48, 88, 0.18), rgba(0, 48, 88, 0.18));
}
.hero-readability-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(
      105deg,
      rgba(0, 32, 58, 0.9) 0%,
      rgba(0, 48, 88, 0.78) 36%,
      rgba(0, 48, 88, 0.4) 54%,
      rgba(0, 48, 88, 0.1) 70%,
      rgba(0, 48, 88, 0) 84%
    ),
    linear-gradient(
      180deg,
      rgba(0, 32, 58, 0.28) 0%,
      transparent 35%,
      transparent 70%,
      rgba(0, 32, 58, 0.35) 100%
    );
  transition: opacity 0.55s ease;
}
.hero-section.is-message-slide .hero-readability-wash,
.hero-section.is-visual-slide .hero-readability-wash {
  opacity: 0.72;
  background:
    linear-gradient(
      105deg,
      rgba(0, 20, 40, 0.86) 0%,
      rgba(0, 32, 58, 0.52) 40%,
      rgba(0, 32, 58, 0.18) 66%,
      transparent 88%
    );
}
.hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 0.5rem;
  min-height: clamp(22rem, 62svh, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 768px) {
  .hero-inner { padding: 0 2rem; }
}
.hero-panel {
  max-width: 34rem;
  color: #ffffff;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
.hero-panel--brand {
  max-width: min(52rem, 92vw);
}
.hero-panel--message {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-58%);
  max-width: min(36rem, 88vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-panel--message { left: 2rem; }
}
.hero-section.is-brand-slide .hero-panel--brand {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.hero-section.is-brand-slide .hero-panel--message {
  opacity: 0;
  visibility: hidden;
}
.hero-section.is-message-slide .hero-panel--brand,
.hero-section.is-visual-slide .hero-panel--brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.hero-section.is-message-slide .hero-panel--message {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-section.is-visual-slide .hero-panel--message,
.hero-section.is-brand-slide .hero-panel--visual,
.hero-section.is-message-slide .hero-panel--visual {
  opacity: 0;
  visibility: hidden;
}
.hero-panel--visual {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-52%);
  max-width: min(56rem, 92vw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-panel--visual { left: 2rem; }
}
.hero-section.is-visual-slide .hero-panel--visual {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-actions {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.hero-msg-kicker {
  margin: 0 0 0.7rem;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}
.hero-msg-title {
  margin: 0;
  font-size: clamp(3rem, 9vw, 5.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #A8D13A;
}
.hero-msg-accent {
  color: #B7E04A;
}
.hero-msg-line {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 2px solid #A8D13A;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  max-width: 16ch;
}
.hero-msg-line strong {
  font-weight: 700;
}
.hero-visual-title {
  margin: 0;
  font-size: clamp(3.6rem, 13vw, 7.5rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: #B7E04A;
  text-shadow: 0 6px 36px rgba(0, 32, 58, 0.45);
}
.hero-visual-is {
  margin: 0.15rem 0 0 0.15em;
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 32, 58, 0.4);
}
.hero-visual-is em {
  font-style: italic;
  font-weight: 700;
}
.hero-eyebrow {
  margin: 0 0 0.85rem;
  max-width: 32rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #C6E56A;
}
.hero-brand {
  margin: 0;
  font-size: clamp(4.25rem, 14vw, 8.25rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: #ffffff;
  text-shadow: 0 4px 32px rgba(0, 32, 58, 0.4);
}
.hero-section.is-brand-slide .hero-actions,
.hero-section.is-message-slide .hero-actions,
.hero-section.is-visual-slide .hero-actions {
  position: relative;
  left: auto;
  bottom: auto;
  margin-top: 2.25rem;
}
.hero-actions .btn-primary {
  background: #ffffff;
  color: #003058;
}
.hero-actions .btn-primary:hover {
  background: #E8F5C8;
  color: #003058;
  box-shadow: 0 10px 24px rgba(0, 32, 58, 0.25);
}
.btn-secondary-solid {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.btn-secondary-solid:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: #ffffff;
}
@media (max-width: 767px) {
  .hero-section,
  .hero-section--collage {
    align-items: flex-end;
    padding: 6.5rem 0 4.5rem;
    min-height: min(100svh, 860px);
  }
  .hero-readability-wash {
    background:
      linear-gradient(
        180deg,
        rgba(0, 32, 58, 0.25) 0%,
        rgba(0, 48, 88, 0.55) 40%,
        rgba(0, 32, 58, 0.88) 70%,
        rgba(0, 32, 58, 0.94) 100%
      );
  }
  .hero-panel { max-width: none; }
}

.line-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  border: 1px solid rgba(0, 48, 88, 0.06);
  box-shadow: 0 8px 24px rgba(0, 48, 88, 0.04);
}
.line-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.line-card-link h3 {
  margin-bottom: 0.7rem;
}
.line-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 48, 88, 0.1);
  border-color: rgba(104, 152, 0, 0.14);
}
.line-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E8EEF5;
}
.line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.line-card:hover .line-media img {
  transform: scale(1.04);
}
.line-body {
  padding: 1.7rem 1.35rem 1.55rem;
  flex: 1;
}
.line-body > .flex {
  margin-bottom: 0.7rem;
  gap: 0.75rem;
}
.line-body .text-muted {
  color: #4A5563;
}
.line-card .icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: rgba(0, 48, 88, 0.06);
  color: var(--cinndah-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.line-card:hover .icon-wrap {
  background: var(--cinndah-secondary);
  color: #fff;
}

.model-tab {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cinndah-muted);
  border-radius: 9999px;
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  background: transparent;
}
.model-tab.is-active {
  color: #fff;
  background: var(--cinndah-primary);
  border-color: var(--cinndah-primary);
}
.model-tab:not(.is-active):hover {
  color: var(--cinndah-secondary);
  border-color: rgba(104, 152, 0, 0.3);
}
.model-panel { display: none; animation: fadeUp 0.45s var(--ease-out); }
.model-panel.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.flow-step { position: relative; }
.flow-step .step-dot {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--cinndah-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 auto 0.75rem;
}
.flow-connector { display: none; }
@media (min-width: 768px) {
  .flow-connector {
    display: block;
    position: absolute;
    top: 1.5rem;
    left: calc(50% + 1.75rem);
    width: calc(100% - 3.5rem);
    height: 2px;
    background: linear-gradient(90deg, var(--cinndah-secondary), rgba(104, 152, 0, 0.2));
  }
}

.flow-step-card {
  background: #fff;
  border: 1px solid rgba(0, 48, 88, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.flow-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 48, 88, 0.1);
}
.flow-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F5F7F2;
}
.flow-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.flow-step-card:hover .flow-media img { transform: scale(1.05); }
.flow-body {
  padding: 1rem 1.1rem 1.25rem;
  min-height: 7.5rem;
}
.flow-body h4 {
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.flow-badge {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.55rem;
  border-radius: 9999px;
  background: #003058;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.problem-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 48, 88, 0.06);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.problem-card:hover {
  border-color: rgba(104, 152, 0, 0.25);
  transform: translateY(-3px);
}

.problema-photo {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 48, 88, 0.05);
  box-shadow: 0 1px 2px rgba(0, 48, 88, 0.04);
}
.problema-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1024px) {
  .problema-photo img {
    min-height: 20rem;
  }
}
.problema-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  min-height: 18rem;
}
.problema-mosaic-main {
  grid-row: 1 / 3;
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 48, 88, 0.05);
  box-shadow: 0 1px 2px rgba(0, 48, 88, 0.04);
}
.problema-mosaic-tile {
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 48, 88, 0.05);
  box-shadow: 0 1px 2px rgba(0, 48, 88, 0.04);
}
.problema-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 8.5rem;
}
.problema-mosaic-main img {
  min-height: 100%;
}
@media (max-width: 640px) {
  .problema-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .problema-mosaic-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .problema-mosaic-main img {
    height: 14rem;
    min-height: 0;
  }
  .problema-mosaic-tile img {
    height: 7.5rem;
    min-height: 0;
  }
}

.area-icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .area-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}
.area-icon-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border-radius: 1.15rem;
  border: 1px solid rgba(0, 48, 88, 0.06);
  box-shadow: 0 1px 2px rgba(0, 48, 88, 0.04);
}
.area-icon-card-img {
  width: 4.75rem;
  height: 4.75rem;
  flex-shrink: 0;
  object-fit: contain;
}
.area-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
@media (min-width: 1024px) {
  .area-detail-card {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.25rem;
    align-items: center;
  }
  .area-detail-card.is-reversed .area-detail-media {
    order: 2;
  }
  .area-detail-card.is-reversed .area-detail-body {
    order: 1;
  }
}
.area-detail-media {
  min-height: 0;
  background: transparent;
}
.area-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  object-position: center;
  min-height: 0;
  border-radius: 1.15rem;
  background: transparent;
}
.area-detail-body {
  padding: 0.15rem 0 0;
}
@media (min-width: 768px) {
  .area-detail-body {
    padding: 0.25rem 0 0;
  }
}
.area-detail-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.area-detail-icon {
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  object-fit: contain;
}
.area-detail-lineas {
  text-align: justify;
}

.dona-channels {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}
.dona-channels--single {
  grid-template-columns: 1fr;
  max-width: 28rem;
}
.dona-channel {
  padding-top: 0.25rem;
}
.dona-qr {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 48, 88, 0.08);
  background: #fff;
}
.dona-qr--hq {
  max-width: 22rem;
  image-rendering: auto;
}

.ods-brand {
  display: flex;
  justify-content: center;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 48, 88, 0.06);
  padding: 1.25rem 1.5rem;
}
.ods-brand-logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
}
.ods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
@media (min-width: 768px) {
  .ods-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
  }
}
.ods-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1.1rem;
  border: 1px solid rgba(0, 48, 88, 0.06);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 48, 88, 0.04);
}
.ods-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.ods-card-title {
  margin: 0;
  padding: 0.75rem 0.85rem 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cinndah-primary);
}
.ods-card-text {
  margin: 0;
  padding: 0 0.85rem 1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--cinndah-muted);
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
.ods-card-num {
  display: inline-block;
  margin-right: 0.25rem;
  color: var(--ods-color, var(--cinndah-secondary));
  font-weight: 700;
}

.project-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 48, 88, 0.06);
  transition: box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}
.project-card img,
.project-card .relative img {
  object-fit: cover;
  object-position: center;
}
.project-card .project-card-media {
  position: relative;
  height: 12.5rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(122, 184, 67, 0.12), transparent 55%),
    linear-gradient(160deg, #F4F7FB 0%, #E8EEF5 55%, #DDE6F0 100%);
}
.project-card .project-card-media--photo {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #E4EAF1;
}
.project-card .project-card-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.project-card .project-card-media.is-logo > img,
.project-card img.is-logo {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 5.25rem;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
}
.project-card:hover {
  box-shadow: 0 20px 48px rgba(0, 48, 88, 0.1);
  transform: translateY(-4px);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid rgba(0, 48, 88, 0.12);
  border-radius: 0.875rem;
  background: #fff;
  color: var(--cinndah-primary);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input::placeholder { color: #9AA5B1; }
.form-input:focus {
  outline: none;
  border-color: var(--cinndah-secondary);
  box-shadow: 0 0 0 3px rgba(104, 152, 0, 0.12);
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cinndah-primary);
  margin-bottom: 0.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.author-credit {
  font-size: 9px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.02em;
  text-align: right;
  user-select: none;
}
.author-credit a { color: inherit; text-decoration: none; }
.author-credit a:hover { color: rgba(255, 255, 255, 0.45); }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.mobile-menu.is-open { max-height: 720px; }

.form-alert { display: none; padding: 0.875rem 1rem; border-radius: 0.75rem; font-size: 0.9rem; margin-bottom: 1rem; }
.form-alert.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-alert.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  color: #B91C1C;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.legal-content h2 {
  font-weight: 700;
  color: var(--cinndah-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.legal-content p,
.legal-content li {
  color: var(--cinndah-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.qs-model-heading {
  max-width: 40rem;
  text-align: center;
}
.qs-model-heading p,
.qs-model-heading h2 {
  text-align: center;
}
.qs-intro {
  padding: 6rem 0 1.1rem;
  background: #fff;
}
@media (min-width: 768px) {
  .qs-intro {
    padding: 6.25rem 0 1.25rem;
  }
}
.qs-block {
  margin-top: 2.75rem;
  scroll-margin-top: 6.5rem;
}
@media (min-width: 768px) {
  .qs-block {
    margin-top: 3.25rem;
  }
}
.qs-manifesto-text {
  margin: 0 0 1.1rem;
  max-width: 16ch;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cinndah-primary);
}

.page-hero {
  padding-top: 8.5rem;
  padding-bottom: 1.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(104, 152, 0, 0.08), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F7F2 100%);
}
@media (min-width: 768px) {
  .page-hero {
    padding-top: 9.5rem;
    padding-bottom: 1.75rem;
  }
}
.page-hero--compact {
  padding-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .page-hero--compact {
    padding-bottom: 1rem;
  }
}

.amount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(0, 48, 88, 0.15);
  background: #fff;
  color: #003058;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.amount-chip:hover,
.amount-chip.is-active {
  border-color: #689800;
  color: #689800;
  background: rgba(104, 152, 0, 0.06);
}

/* Mega menu */
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.925rem;
  font-weight: 600;
  color: #003058;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-trigger:hover,
.nav-item.is-active > .nav-trigger,
.nav-item:hover > .nav-trigger {
  color: #689800;
  background: rgba(104, 152, 0, 0.06);
}
.nav-trigger-cta {
  background: #003058;
  color: #fff !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 48, 88, 0.22);
}
.nav-trigger-cta:hover,
.nav-item:hover > .nav-trigger-cta,
.nav-item.is-active > .nav-trigger-cta {
  background: #689800;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(104, 152, 0, 0.28);
}
.nav-caret { transition: transform 0.25s ease; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 280px;
  max-width: 360px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid rgba(0, 48, 88, 0.08);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 48, 88, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}
.nav-dropdown-sm { min-width: 180px; }
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #003058;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown a:hover {
  background: #F5F7F2;
  color: #689800;
}
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.75rem;
  border-radius: 0.7rem;
  color: #003058;
  font-weight: 500;
}
.mobile-acc { border-radius: 0.7rem; }
.mobile-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 0.75rem;
  border-radius: 0.7rem;
  font-weight: 600;
  color: #003058;
}
.mobile-acc summary::-webkit-details-marker { display: none; }
.mobile-acc-panel {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 0.5rem 0.5rem 1rem;
  gap: 0.15rem;
}
.mobile-acc-panel a {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.9rem;
  color: #5F6B7A;
}
.mobile-acc-panel a:hover {
  background: #F5F7F2;
  color: #689800;
}

/* ===== Hero banner rotator ===== */
.hero-banner-slides {
  position: absolute;
  inset: 0;
  background: #06101c;
}
.hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  will-change: opacity;
  background: #06101c;
}
.hero-banner-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.03);
  transition: transform 4.2s ease;
}
.hero-banner-slide[data-overlay="brand"] img {
  object-position: 58% center;
}
.hero-banner-slide[data-overlay="message"] img {
  object-position: center right;
}
.hero-banner-slide[data-overlay="visual"] img {
  object-position: center center;
}
.hero-banner-slide.is-active img {
  transform: scale(1);
}
@media (max-width: 767px) {
  .hero-banner-slide[data-overlay="brand"] img {
    object-position: 70% center;
  }
  .hero-banner-slide[data-overlay="message"] img {
    object-position: 70% center;
  }
}
.hero-banner-nav {
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  left: auto;
  transform: none;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 9999px;
  background: rgba(0, 20, 40, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 16, 32, 0.35);
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
  .hero-banner-nav {
    right: 2rem;
    bottom: 2rem;
  }
}
.hero-banner-prev,
.hero-banner-next {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #003058;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero-banner-prev:hover,
.hero-banner-next:hover {
  background: #003058;
  color: #fff;
  border-color: #003058;
}
.hero-banner-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.hero-banner-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-banner-dot.is-active {
  width: 1.25rem;
  background: #A8D13A;
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner-slide,
  .hero-banner-slide img,
  .hero-collage-sequence {
    transition: none;
  }
}

/* ===== Content carousel (noticias + proyectos) ===== */
.news-carousel {
  position: relative;
  width: 100%;
}
.news-carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.news-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.news-slide {
  flex: 0 0 calc(25% - 0.9375rem);
  min-width: calc(25% - 0.9375rem);
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 48, 88, 0.06);
  box-shadow: 0 8px 24px rgba(0, 48, 88, 0.06);
  display: flex;
  flex-direction: column;
}
/* Proyectos: 3 visibles en desktop */
@media (min-width: 1024px) {
  #projects-carousel .news-slide {
    flex: 0 0 calc(33.333% - 0.833rem);
    min-width: calc(33.333% - 0.833rem);
  }
}
.news-slide-media {
  position: relative;
  height: 11.5rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(122, 184, 67, 0.1), transparent 55%),
    linear-gradient(160deg, #F4F7FB 0%, #E8EEF5 55%, #DDE6F0 100%);
}
.news-slide-media--photo,
#news-carousel .news-slide-media {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #E4EAF1;
}
.news-slide-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-slide-media.is-logo > img,
.news-slide img.is-logo {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 5rem;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
}
.news-slide .news-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 1023px) {
  .news-slide {
    flex-basis: calc(50% - 0.625rem);
    min-width: calc(50% - 0.625rem);
  }
}
@media (max-width: 639px) {
  .news-slide {
    flex-basis: 100%;
    min-width: 100%;
  }
  .news-carousel-track { gap: 0; }
}
.news-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.news-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(0, 48, 88, 0.15);
  background: #fff;
  color: #003058;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.news-nav:hover {
  background: #003058;
  color: #fff;
  border-color: #003058;
}
.news-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.news-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(0, 48, 88, 0.2);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.news-dot.is-active {
  width: 1.35rem;
  background: #689800;
}


/* Contact info page */
.contact-row {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 48, 88, 0.08);
}
.contact-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
/* Formulario estilo ficha (imagen 2): label + linea editable vacia */
.contact-field {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0 0.1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #003058;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  outline: none;
  box-shadow: none;
}
.contact-field::placeholder {
  color: #9AA5B1;
  font-weight: 500;
}
.contact-field:focus {
  outline: none;
  box-shadow: none;
  color: #003058;
}
textarea.contact-field {
  min-height: 5.5rem;
  resize: vertical;
  font-weight: 500;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(0, 48, 88, 0.12);
  color: #003058;
  font-size: 0.85rem;
  font-weight: 600;
  background: #F5F7F2;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.social-chip:hover {
  background: #fff;
  border-color: #689800;
  color: #689800;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(0, 48, 88, 0.12);
  color: #003058;
  background: #F5F7F2;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.social-icon:hover {
  background: #fff;
  border-color: #689800;
  color: #689800;
}
.social-icon--footer {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.social-icon--footer:hover {
  background: #fff;
  border-color: #C6E56A;
  color: #003058;
}
.contact-map {
  position: relative;
  min-height: 280px;
  background: #E8EEF5;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Project visual hero (video + texto HTML) ===== */
.project-visual-hero {
  padding: 1.35rem 0 0;
  background: #fff;
}
.project-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 48, 88, 0.06);
  box-shadow: 0 14px 36px rgba(0, 48, 88, 0.08);
}
.project-visual--video {
  aspect-ratio: 16 / 9;
  background: #0B1F33;
  min-height: 18rem;
}
.project-visual-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.project-visual-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 24, 42, 0.78) 0%, rgba(8, 24, 42, 0.48) 42%, rgba(8, 24, 42, 0.22) 72%, rgba(8, 24, 42, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.2) 0%, transparent 35%, rgba(8, 24, 42, 0.55) 100%);
}
.project-visual-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 1.85rem;
  max-width: 40rem;
}
.project-visual-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #B7E07A;
}
.project-visual-kicker a {
  color: inherit;
  text-decoration: none;
}
.project-visual-kicker a:hover {
  text-decoration: underline;
}
.project-visual-title {
  margin: 0;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.project-visual-lead {
  margin: 0.7rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.project-visual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.65rem;
}
.project-visual-actions .btn-primary,
.project-visual-actions .btn-secondary {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.project-visual-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.project-visual-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
@media (min-width: 768px) {
  .project-visual--video {
    min-height: 26rem;
  }
  .project-visual-copy {
    padding: 2rem 2.25rem 2.1rem;
    max-width: 44rem;
  }
}
@media (max-width: 639px) {
  .project-visual--video {
    aspect-ratio: 4 / 5;
  }
  .project-visual-lead {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.project-detail-hero {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

/* Noticias: lectura editorial de una sola columna */
.noticia-article {
  max-width: 46rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(0, 48, 88, 0.06);
  box-shadow: 0 12px 36px rgba(0, 48, 88, 0.07);
}
.noticia-featured {
  overflow: hidden;
  background: #E8EEF5;
  aspect-ratio: 16 / 9;
}
.noticia-featured img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.noticia-body {
  color: #3d4654;
  padding: 1.6rem 1.35rem 2rem;
}
@media (min-width: 768px) {
  .noticia-body {
    padding: 2.15rem 2.6rem 2.5rem;
  }
}
.noticia-body p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  margin: 0 0 1.05rem;
  line-height: 1.8;
  font-size: 1.0625rem;
}
.noticia-lead {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #2a3342;
}
.noticia-lead::first-letter {
  float: left;
  font-weight: 700;
  font-size: 3.1rem;
  line-height: 0.86;
  padding: 0.16rem 0.4rem 0 0;
  color: var(--cinndah-primary);
}
.noticia-subhead {
  font-weight: 700;
  color: var(--cinndah-primary);
  font-size: 1.2rem;
  line-height: 1.35;
  text-align: left;
  margin: 1.85rem 0 0.7rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--cinndah-secondary);
}
.noticia-back {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 48, 88, 0.08);
  width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cinndah-secondary);
}
.noticia-back:hover {
  color: var(--cinndah-primary);
}
.noticia-card-text,
.news-body p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
}
