/* ================= PALETA DE COLORES OFICIAL BUCC ================= */
:root {
  --bucc-a-dark: #08435E;     /* Tono A: Azul noche/fondo institucional */
  --bucc-b-bright: #13A6EB;   /* Tono B: Acento brillante / resaltados */
  --bucc-c-primary: #0D719E;  /* Tono C: Azul corporativo BUCC (Pantone 7690 C) */
  --bucc-d-mid: #0E79AB;      /* Tono D: Azul medio interactivo / hover */
  --bucc-e-slate: #0B5E85;    /* Tono E: Pizarra / bordes y líneas */
  
  --paper-50: #F8FAFC;        /* Fondo claro neutro */
  --paper-100: #EEF2F6;
  --ink-900: #0B131D;         /* Negro / texto principal */
  --ink-600: #42526E;         /* Gris azulado texto secundario */
  
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(8, 67, 94, 0.12);
  --ease: cubic-bezier(.16, .84, .44, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--paper-50);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bucc-c-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6em;
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: var(--bucc-c-primary);
  display: inline-block;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- ENCABEZADO / NAVBAR ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(8, 67, 94, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(8, 67, 94, 0.35);
  transition: padding .35s var(--ease), background .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header.scrolled {
  padding: 10px clamp(20px, 4vw, 56px);
}

.brand {
  display: flex;
  align-items: center;
  cursor: default;
}

.brand img { 
  height: 65px; 
  width: auto; 
  background: transparent;
  padding: 0; 
  border-radius: 0; 
  box-shadow: none;
  transition: all 0.3s ease;
}

.site-header.scrolled .brand img {
  height: 52px;
  padding: 0;
}

.brand-fallback {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1.75rem;
  color: #fff;
}

.brand-fallback span {
  color: var(--bucc-b-bright);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
}

nav.main-nav a {
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--bucc-b-bright);
  transition: width .3s var(--ease);
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--bucc-b-bright);
}

nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  width: 100%;
}

@media (max-width: 1120px) and (min-width: 861px) {
  nav.main-nav ul {
    gap: 12px;
  }

  nav.main-nav a {
    font-size: .74rem;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  display: block;
}

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--bucc-a-dark);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  nav.main-nav.open {
    transform: translateX(0);
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 22px;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- HERO: VIDEOS ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--bucc-a-dark);
  padding-top: 90px;
}

.hero-video-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-stack video {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  object-position: center;
  opacity: 0; 
  transition: opacity 1.4s ease-in-out;
  transform: none;
}

.hero-video-stack video.active { 
  opacity: 1; 
  transform: none; 
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 67, 94, 0.88) 0%, rgba(8, 67, 94, 0.5) 45%, transparent 100%),
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(8, 67, 94, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 56px) clamp(48px, 6vw, 80px);
}

.hero-inner { 
  max-width: 620px; 
  background: rgba(8, 67, 94, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-inner .eyebrow {
  color: var(--bucc-b-bright);
  margin-bottom: 14px;
  opacity: 0;
  animation: riseIn .8s var(--ease) .3s forwards;
}

.hero-inner .eyebrow::before {
  background: var(--bucc-b-bright);
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  max-width: 18ch;
  opacity: 0;
  animation: riseIn .9s var(--ease) .5s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--bucc-b-bright);
}

.hero-sub {
  color: rgba(255, 255, 255, .9);
  max-width: 52ch;
  margin-top: 16px;
  font-size: .95rem;
  line-height: 1.55;
  opacity: 0;
  animation: riseIn .9s var(--ease) .7s forwards;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn .9s var(--ease) .95s forwards;
}

.reel-dots {
  display: flex;
  gap: 8px;
}

.reel-dots button {
  width: 26px;
  height: 3px;
  background: rgba(255, 255, 255, .32);
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.reel-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bucc-b-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s linear;
}

.reel-dots button.active::after {
  transform: scaleX(1);
  transition: transform 6s linear;
}

.reel-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .85);
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 36px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .7);
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 2px;
  height: 46px;
  background: rgba(255, 255, 255, .25);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bucc-b-bright);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  to { top: 100%; }
}

/* ---------- PAGE HEADER ---------- */
.page-hero {
  background:
    linear-gradient(90deg, rgba(2, 35, 59, .48) 0%, rgba(2, 42, 67, .30) 52%, rgba(3, 58, 80, .14) 100%),
    url('imagenes/Servicios.png') center/cover no-repeat;
  color: #fff;
  padding: clamp(150px, 18vw, 190px) 0 clamp(60px, 8vw, 90px);
  position: relative; 
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(19, 166, 235, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .eyebrow {
  color: var(--bucc-b-bright);
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  max-width: 16ch;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-hero p {
  margin-top: 16px;
  max-width: 56ch;
  color: rgba(255, 255, 255, .9);
  font-size: 1.02rem;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ---------- SECCIÓN DOSSIER / TARJETAS ---------- */
.dossier {
  padding: clamp(50px, 7vw, 80px) 0 40px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.card {
  grid-column: span 6;
  background: #fff;
  border: 1px solid var(--line-light);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s, box-shadow .3s;
}

.card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card:hover { 
  border-color: var(--bucc-c-primary); 
  box-shadow: 0 12px 30px rgba(13, 113, 158, 0.08);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--bucc-c-primary);
  transition: width .5s var(--ease);
}

.card:hover::before {
  width: 100%;
}

.card-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--bucc-c-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.card-code .mark {
  width: 26px;
  height: 26px;
  border-radius: 50%; 
  border: 1.5px solid var(--bucc-c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-code .mark svg {
  width: 12px;
  height: 12px;
}

.card h3 {
  font-size: 1.4rem;
  color: var(--bucc-a-dark);
  margin-bottom: 14px;
  font-weight: 600;
}

.card p {
  color: var(--ink-600);
  font-size: .97rem;
}

.card--wide {
  grid-column: span 12;
}

.card--intro {
  grid-column: span 12;
  padding: clamp(30px, 4vw, 46px);
}

.card--intro::before {
  width: 100%;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.intro-grid h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
}

.intro-grid h3 strong {
  color: var(--bucc-c-primary);
  font-size: 1.25em;
}

.intro-grid p {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.intro-grid p strong {
  color: var(--bucc-a-dark);
}

@media (max-width: 760px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.card--feature {
  grid-column: span 12;
  background: linear-gradient(145deg, var(--bucc-a-dark) 0%, #063145 100%); 
  color: var(--paper-50);
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card--feature .card-code {
  color: var(--bucc-b-bright);
}

.card--feature .card-code .mark {
  border-color: var(--bucc-b-bright);
}

.card--feature p { 
  color: rgba(255, 255, 255, .92); 
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); 
  line-height: 1.75; 
  max-width: 92ch;
}

.card--feature::before {
  display: none;
}

@media (max-width: 760px) {
  .card, .card--wide, .card--feature {
    grid-column: span 12;
  }
}

/* ---------- SERVICE GRID ---------- */
.services-section {
  padding: clamp(60px, 8vw, 96px) 0 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #fff;
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s, box-shadow .3s;
}

.service-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover { 
  border-color: var(--bucc-c-primary); 
  box-shadow: 0 18px 40px rgba(8, 67, 94, .12); 
}

.service-card.is-active { 
  border-color: var(--bucc-c-primary); 
  box-shadow: 0 18px 40px rgba(8, 67, 94, .18); 
}

.service-media {
  aspect-ratio: 4/3;
  background: var(--paper-100);
  position: relative;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-media .media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--bucc-a-dark), var(--bucc-d-mid));
}

.service-media .media-fallback[hidden] {
  display: none;
}

.service-media svg {
  width: 56%;
  height: 56%;
}

.service-body {
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body .card-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--bucc-c-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.service-body .card-code .mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--bucc-c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-body .card-code .mark svg {
  width: 11px;
  height: 11px;
}

.service-body h3 {
  font-size: 1.35rem;
  color: var(--bucc-a-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.service-body p {
  color: var(--ink-600);
  font-size: .95rem;
  flex: 1;
}

.service-cta {
  margin-top: 20px;
  align-self: flex-start;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--bucc-a-dark);
  text-transform: uppercase;
}

.service-cta .arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--bucc-a-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.service-cta .arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--bucc-a-dark);
  transition: stroke .3s;
}

.service-cta:hover .arrow {
  background: var(--bucc-c-primary);
  border-color: var(--bucc-c-primary);
  transform: rotate(90deg);
}

.service-cta:hover .arrow svg {
  stroke: #fff;
}

.service-card.is-active .service-cta .arrow {
  background: var(--bucc-c-primary);
  border-color: var(--bucc-c-primary);
  transform: rotate(90deg);
}

.service-card.is-active .service-cta .arrow svg {
  stroke: #fff;
}

/* ---------- PANELES DE DETALLE (ACORDEÓN) ---------- */
.service-panels {
  margin-top: 8px;
}

.service-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .6s var(--ease), opacity .45s var(--ease), margin .6s var(--ease);
  background: var(--bucc-a-dark);
  color: var(--paper-50);
  border-radius: 8px;
}

.service-panel.open {
  max-height: 1800px;
  opacity: 1;
  margin-top: 26px;
}

.panel-inner {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
}

.panel-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s, background .3s;
  z-index: 10;
}

.panel-close:hover {
  border-color: var(--bucc-b-bright);
  background: rgba(19, 166, 235, 0.15);
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
  gap: clamp(18px, 2.5vw, 30px);
  align-items: stretch;
}

@media (max-width: 860px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

.panel-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  background: linear-gradient(160deg, var(--bucc-d-mid), var(--bucc-a-dark));
  border: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.panel-media .media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-media .media-fallback[hidden] {
  display: none;
}

.panel-media svg {
  width: 46%;
  height: 46%;
}

@media (max-width: 860px) {
  .panel-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 4/3;
  }
}

.panel-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.panel-copy .card-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--bucc-b-bright);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.panel-copy .card-code .mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--bucc-b-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-copy .card-code .mark svg {
  width: 11px;
  height: 11px;
}

.panel-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.panel-copy p {
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

/* LISTAS Y VIÑETAS ALINEADAS A LA IZQUIERDA */
.panel-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding-left: 0;
  margin-left: 0;
}

.panel-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .92);
  line-height: 1.55;
  width: 100%;
  margin-left: 0;
  padding-left: 0;
}

.panel-bullets li .bullet-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.panel-bullets li strong {
  color: var(--bucc-b-bright);
  font-weight: 600;
}

.audit-label {
  color: var(--bucc-b-bright);
  font-weight: 600;
}

/* Estilo de viñetas personalizadas */
.bullet-icon-wrap {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bullet-icon-wrap img,
.bullet-icon-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- PIE DE PÁGINA ---------- */
footer {
  background: var(--bucc-a-dark);
  color: rgba(255, 255, 255, .75);
  padding: 56px 0 30px;
  margin-top: 100px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-top .brand {
  cursor: default;
}

.footer-top .brand img { 
  height: 55px; 
  width: auto;
  background: transparent; 
  padding: 0; 
  border-radius: 0; 
  box-shadow: none;
}

.footer-top .eyebrow {
  color: var(--bucc-b-bright);
}

.footer-top .eyebrow::before {
  background: var(--bucc-b-bright);
}

footer .copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .05em;
  text-align: center;
  padding-top: 22px;
  color: rgba(255, 255, 255, .5);
}

/* Ajustes adicionales */
.page-nosotros .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.page-inicio .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.footer-location {
  margin: 0;
}

/* Altura especial para la imagen del panel de Consultoría */
#panel-consultoria .panel-media {
  height: 700px;
  min-height: 700px;
}

#panel-consultoria .panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 860px) {
  #panel-consultoria .panel-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Páginas reservadas para contenido futuro */
.empty-page {
  min-height: calc(100vh - 180px);
  padding-top: 110px;
}

/* ---------- PÁGINA DE ESTÁNDARES ---------- */
.standards-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(145px, 17vw, 185px) 0 clamp(52px, 7vw, 78px);
  color: #fff;
  background: var(--bucc-a-dark);
}

.standards-hero::before,
.standards-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.standards-hero::before {
  z-index: 0;
  background: url('imagenes/Estandares.png') center center / cover no-repeat;
  opacity: 1;
}

.standards-hero::after {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(3, 39, 63, .42) 0%,
    rgba(3, 52, 73, .28) 48%,
    rgba(5, 72, 100, .12) 100%
  );
}

.standards-hero-layout {
  position: relative;
  z-index: 2;
}

.standards-hero-copy {
  min-width: 0;
  max-width: 760px;
}

.standards-hero .eyebrow {
  color: var(--bucc-b-bright);
  margin-bottom: 16px;
}

.standards-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  text-shadow: 0 3px 12px rgba(0, 20, 30, .55);
}

.standards-hero-copy > p:last-child {
  max-width: 65ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, .86);
  text-shadow: 0 2px 9px rgba(0, 20, 30, .5);
}

.standards-page {
  padding: clamp(58px, 8vw, 96px) 0 0;
}

.standards-section-heading {
  max-width: none;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.standards-section-heading h2 {
  color: var(--bucc-a-dark);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  white-space: nowrap;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.standards-column {
  background: #fff;
  border: 1px solid var(--line-light);
  padding: clamp(26px, 3vw, 38px);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease);
}

.standards-column.in-view,
.standards-tagline.in-view {
  opacity: 1;
  transform: translateY(0);
}

.standards-column:hover {
  box-shadow: 0 18px 42px rgba(8, 67, 94, .1);
}

.standards-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.standards-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
}

.standards-list li:first-child {
  padding-top: 0;
}

.standards-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.standard-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bucc-c-primary);
  border-radius: 50%;
  color: var(--bucc-c-primary);
  font: 600 .68rem/1 'IBM Plex Mono', monospace;
}

.standards-list p {
  color: var(--ink-600);
  font-size: .95rem;
  line-height: 1.65;
}

.standards-list strong {
  color: var(--bucc-a-dark);
  font-weight: 600;
}

.standard-details {
  min-width: 0;
  width: 100%;
}

.standard-details summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-600);
  font-size: .95rem;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}

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

.standard-details summary::marker {
  content: "";
}

.standard-details summary::after {
  content: "⌄";
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border: 1px solid var(--bucc-c-primary);
  border-radius: 50%;
  color: var(--bucc-c-primary);
  font-size: 1rem;
  line-height: 1;
  transition: color .25s var(--ease), background .25s var(--ease), transform .3s var(--ease);
}

.standard-details summary:hover::after {
  color: #fff;
  background: var(--bucc-c-primary);
}

.standard-details[open] summary::after {
  color: #fff;
  background: var(--bucc-c-primary);
  transform: rotate(180deg);
}

.standard-explanation {
  display: grid;
  gap: 12px;
  padding: 16px 44px 2px 0;
  animation: standardReveal .3s var(--ease);
}

.standard-explanation p {
  margin: 0;
  padding: 13px 15px;
  border-left: 3px solid var(--bucc-b-bright);
  border-radius: 0 5px 5px 0;
  background: var(--paper-100);
  color: var(--ink-600);
  font-size: .88rem;
  line-height: 1.7;
}

.standard-explanation strong {
  color: var(--bucc-c-primary);
}

@keyframes standardReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.standards-tagline {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(24px, 4vw, 42px);
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background: linear-gradient(120deg, var(--bucc-a-dark), var(--bucc-c-primary));
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.standards-tagline span {
  color: var(--bucc-b-bright);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.standards-tagline p {
  padding-left: clamp(18px, 3vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, .3);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  .standards-hero::before {
    background-position: 58% center;
  }

  .standards-section-heading h2 {
    white-space: normal;
  }

  .standards-column {
    padding: 22px 18px;
  }

  .standards-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .standard-number {
    width: 32px;
    height: 32px;
  }

  .standard-details summary {
    gap: 10px;
    font-size: .92rem;
    line-height: 1.55;
  }

  .standard-details summary::after {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .standard-explanation {
    gap: 10px;
    padding: 14px 0 0;
  }

  .standard-explanation p {
    padding: 12px 13px;
    font-size: .86rem;
  }

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

  .standards-tagline {
    align-items: flex-start;
    flex-direction: column;
  }

  .standards-tagline p {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .3);
  }
}

/* ---------- BOTÓN GLOBAL DE WHATSAPP ---------- */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 2.5vw, 30px);
  bottom: clamp(16px, 2.5vw, 30px);
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 19px 11px 13px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 32px rgba(7, 53, 34, .3);
  font-size: .9rem;
  font-weight: 600;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.whatsapp-float:hover {
  color: #fff;
  background: #1fbd5a;
  box-shadow: 0 16px 38px rgba(7, 53, 34, .4);
  transform: translateY(-4px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--bucc-b-bright);
  outline-offset: 3px;
}

.whatsapp-float-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

/* ---------- PÁGINA DE CONTACTO ---------- */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(145px, 17vw, 185px) 0 clamp(52px, 7vw, 78px);
  color: #fff;
  background: var(--bucc-a-dark);
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-hero::before {
  z-index: 0;
  background: url('imagenes/Contacto.png') center center / cover no-repeat;
}

.contact-hero::after {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2, 35, 59, .44) 0%,
    rgba(2, 42, 67, .29) 48%,
    rgba(3, 58, 80, .15) 100%
  );
}

.contact-hero > .container {
  position: relative;
  z-index: 2;
}

.contact-hero .eyebrow {
  margin-bottom: 16px;
  color: var(--bucc-b-bright);
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.contact-hero > .container > p:last-child {
  max-width: 64ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, .85);
}

/* ---------- PÁGINA DE CLIENTES ---------- */
.clients-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  padding: clamp(145px, 17vw, 185px) 0 clamp(70px, 9vw, 105px);
  color: #fff;
  background: var(--bucc-a-dark);
}

.clients-hero::before,
.clients-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.clients-hero::before {
  z-index: 0;
  background: url('imagenes/Clientes.png') center center / cover no-repeat;
}

.clients-hero::after {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2, 35, 59, .46) 0%,
    rgba(2, 42, 67, .30) 50%,
    rgba(3, 58, 80, .13) 100%
  );
}

.clients-hero-content {
  position: relative;
  z-index: 2;
}

.clients-hero .eyebrow {
  margin-bottom: 16px;
  color: var(--bucc-b-bright);
}

.clients-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.clients-hero-content > p:last-child {
  max-width: 62ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, .87);
}

.clients-trust,
.clients-logos-section,
.clients-testimonials {
  padding: clamp(68px, 8vw, 108px) 0;
}

.clients-trust {
  background: var(--paper-50);
}

.clients-trust h2,
.clients-section-heading h2 {
  color: var(--bucc-a-dark);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.clients-trust h2 {
  max-width: 24ch;
  margin-top: 14px;
}

.clients-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(36px, 6vw, 64px);
  color: #fff;
  background: var(--bucc-a-dark);
  box-shadow: 0 24px 54px rgba(8, 67, 94, .13);
}

.clients-metrics article {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.clients-metrics article:last-child {
  border-right: 0;
}

.clients-metrics strong {
  color: var(--bucc-b-bright);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
}

.clients-metrics span {
  margin-top: 15px;
  color: rgba(255, 255, 255, .78);
}

.clients-logos-section {
  background: #fff;
}

.clients-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.clients-section-heading h2 {
  max-width: 21ch;
  margin-top: 12px;
}

.clients-section-heading > p {
  max-width: 49ch;
  color: var(--ink-600);
  text-align: right;
}

.client-logo-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(34px, 6vw, 78px) clamp(42px, 8vw, 102px);
  padding: clamp(28px, 4vw, 48px) 0 12px;
}

.client-logo {
  width: clamp(135px, 15vw, 190px);
  height: 105px;
  display: grid;
  place-items: center;
  margin: 0;
}

.client-logo--wide {
  width: clamp(190px, 21vw, 280px);
}

.client-logo--compact {
  width: clamp(120px, 12vw, 155px);
  height: 125px;
}

.client-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: saturate(.92);
  transition: transform .3s var(--ease), filter .3s var(--ease);
}

.client-logo:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.clients-sectors {
  overflow: hidden;
  padding: clamp(72px, 9vw, 116px) 0;
  color: #fff;
  background: var(--bucc-a-dark);
}

.clients-section-heading--light h2 {
  color: #fff;
}

.clients-section-heading--light > p {
  color: rgba(255, 255, 255, .7);
}

.clients-section-heading--light .eyebrow {
  color: var(--bucc-b-bright);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 34px);
}

.sector-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(230px, 1.1fr);
  min-height: 315px;
  color: var(--ink-800);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .13);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease);
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(0, 0, 0, .2);
}

.sector-card-media {
  min-height: 100%;
  overflow: hidden;
  background: #0d719e;
}

.sector-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.sector-card:hover .sector-card-media img {
  transform: scale(1.045);
}

.sector-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 42px);
}

.sector-number {
  color: var(--bucc-c-primary);
  font: 600 .72rem/1 'IBM Plex Mono', monospace;
}

.sector-card h3 {
  margin: 13px 0 12px;
  color: var(--bucc-a-dark);
  font-size: 1.3rem;
}

.sector-card p {
  color: var(--ink-600);
  font-size: .9rem;
}

.clients-testimonials {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 8%, rgba(13, 113, 158, .08), transparent 25%),
    var(--paper-50);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.testimonial-card {
  grid-column: span 2;
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 42px) clamp(16px, 2vw, 28px) 24px;
  border: 0;
  border-top: 2px solid rgba(13, 113, 158, .7);
  background: transparent;
}

.testimonial-card--wide {
  grid-column: span 3;
  min-height: 300px;
}

.testimonial-mark {
  position: absolute;
  top: 21px;
  right: 18px;
  color: rgba(13, 113, 158, .1);
  font: 700 5.5rem/1 Georgia, serif;
}

.testimonial-card > p {
  position: relative;
  z-index: 1;
  max-width: 42ch;
  color: var(--bucc-a-dark);
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  line-height: 1.75;
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 25px;
  color: var(--bucc-a-dark);
}

.testimonial-source-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--bucc-c-primary);
  font-weight: 700;
}

.testimonial-source > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-source strong {
  font-size: .88rem;
}

.testimonial-source small {
  color: var(--ink-600);
  font-size: .72rem;
}

.clients-metrics,
.clients-section-heading,
.client-logo,
.sector-card,
.testimonial-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease);
}

.clients-metrics.in-view,
.clients-section-heading.in-view,
.client-logo.in-view,
.sector-card.in-view,
.testimonial-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .sector-grid { grid-template-columns: 1fr; }
  .testimonial-card,
  .testimonial-card--wide { grid-column: span 3; }
}

@media (max-width: 720px) {
  .clients-metrics,
  .testimonial-grid { grid-template-columns: 1fr; }
  .clients-metrics article { min-height: 150px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .clients-metrics article:last-child { border-bottom: 0; }
  .clients-section-heading { align-items: flex-start; flex-direction: column; }
  .clients-section-heading > p { text-align: left; }
  .sector-card { grid-template-columns: 1fr; }
  .sector-card-media { min-height: 250px; }
  .testimonial-card,
  .testimonial-card--wide { grid-column: auto; min-height: 0; }
}

@media (max-width: 480px) {
  .client-logo-cloud { gap: 34px 26px; }
  .client-logo,
  .client-logo--wide,
  .client-logo--compact { width: calc(50% - 16px); height: 86px; }
}

.contact-page {
  padding: clamp(58px, 8vw, 96px) 0 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.contact-info-card,
.contact-form-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-light);
  background: #fff;
  box-shadow: 0 18px 44px rgba(8, 67, 94, .07);
}

.contact-info-card h2,
.contact-form-card h2,
.contact-map-heading h2 {
  margin-top: 13px;
  color: var(--bucc-a-dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.contact-intro {
  margin-top: 17px;
  color: var(--ink-600);
}

.contact-data {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  list-style: none;
}

.contact-data li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}

.contact-data-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--bucc-c-primary);
  font-weight: 700;
}

.contact-data div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-data strong {
  color: var(--bucc-a-dark);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.contact-data span,
.contact-data a {
  color: var(--ink-600);
  font-size: .92rem;
}

.contact-data a:hover {
  color: var(--bucc-c-primary);
  text-decoration: underline;
}

.contact-form-card form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field > span {
  color: var(--bucc-a-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(8, 67, 94, .2);
  border-radius: 0;
  padding: 14px 15px;
  color: var(--ink-900);
  background: var(--paper-50);
  font: inherit;
  font-size: .92rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--bucc-c-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 113, 158, .12);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  padding: 14px 20px;
  color: #fff;
  background: var(--bucc-c-primary);
  font-weight: 600;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.form-actions button:hover {
  background: var(--bucc-a-dark);
  transform: translateY(-2px);
}

.form-actions small {
  max-width: 30ch;
  color: var(--ink-600);
  font-size: .72rem;
}

.contact-map-section {
  margin-top: clamp(28px, 5vw, 52px);
}

.contact-map-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  color: #fff;
  background: var(--bucc-a-dark);
}

.contact-map-heading h2 {
  color: #fff;
}

.contact-map-heading .eyebrow {
  color: var(--bucc-b-bright);
}

.contact-map-heading a {
  flex: 0 0 auto;
  color: var(--bucc-b-bright);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-map {
  height: clamp(340px, 46vw, 500px);
  border: 1px solid var(--line-light);
  border-top: 0;
  background: var(--paper-100);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.contact-info-card,
.contact-form-card,
.contact-map-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.contact-info-card.in-view,
.contact-form-card.in-view,
.contact-map-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .contact-form-card form { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .whatsapp-float { min-height: 50px; padding: 9px 15px 9px 11px; font-size: .82rem; }
  .contact-map { height: 330px; }
}

/* ---------- PÁGINA DE NOTICIAS ---------- */
.news-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 18vw, 205px) 0 clamp(62px, 8vw, 92px);
  color: #fff;
  background: var(--bucc-a-dark);
}

.news-hero::before,
.news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.news-hero::before {
  z-index: 0;
  background: url('imagenes/Noticias.png') center center / cover no-repeat;
}

.news-hero::after {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(2, 35, 59, .44) 0%,
    rgba(2, 42, 67, .30) 48%,
    rgba(3, 58, 80, .20) 100%
  );
}

.news-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: end;
}

.news-hero .eyebrow {
  margin-bottom: 17px;
  color: var(--bucc-b-bright);
}

.news-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
}

.news-hero-content > p {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .78);
  font-size: .96rem;
}

.news-page {
  padding: clamp(58px, 8vw, 94px) 0 0;
}

.news-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.news-toolbar > div {
  width: 100%;
}

.news-toolbar h2,
.news-section-heading h2 {
  margin-top: 12px;
  color: var(--bucc-a-dark);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

.news-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.news-categories button {
  border: 1px solid rgba(8, 67, 94, .22);
  padding: 9px 13px;
  color: var(--bucc-a-dark);
  background: transparent;
  font-size: .75rem;
  font-weight: 600;
  cursor: default;
}

.news-categories button.active {
  border-color: var(--bucc-c-primary);
  color: #fff;
  background: var(--bucc-c-primary);
}

.news-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  min-height: 440px;
  border: 1px solid var(--line-light);
  background: #fff;
  box-shadow: 0 22px 52px rgba(8, 67, 94, .09);
}

.news-featured-media,
.news-card-media {
  position: relative;
  overflow: hidden;
  background: #dceaf0;
}

.news-featured-media img,
.news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.news-featured:hover .news-featured-media img,
.news-card:hover .news-card-media img {
  transform: scale(1.035);
}

.placeholder-media {
  position: relative;
  display: grid;
  place-content: center;
  gap: 10px;
  min-height: 220px;
  overflow: hidden;
  color: rgba(255, 255, 255, .85);
  background:
    linear-gradient(135deg, rgba(19, 166, 235, .15), transparent 55%),
    var(--bucc-a-dark);
  text-align: center;
}

.placeholder-media::before,
.placeholder-media::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.placeholder-media::before {
  width: 240px;
  height: 240px;
  top: -120px;
  right: -70px;
}

.placeholder-media::after {
  width: 150px;
  height: 150px;
  bottom: -90px;
  left: -30px;
}

.placeholder-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid var(--bucc-b-bright);
  border-radius: 50%;
  color: var(--bucc-b-bright);
  font-size: 1.5rem;
  font-weight: 300;
}

.placeholder-media small {
  position: relative;
  z-index: 1;
  font: 600 .68rem/1 'IBM Plex Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.iso-news-media {
  position: relative;
  display: grid;
  place-content: center;
  gap: 14px;
  min-height: 220px;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(19, 166, 235, .36), transparent 28%),
    linear-gradient(145deg, #03283d, var(--bucc-c-primary));
  text-align: center;
}

.iso-news-media::before,
.iso-news-media::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.iso-news-media::before {
  width: 280px;
  height: 280px;
  top: -145px;
  right: -80px;
}

.iso-news-media::after {
  width: 175px;
  height: 175px;
  bottom: -105px;
  left: -45px;
}

.iso-news-code,
.iso-news-media small {
  position: relative;
  z-index: 1;
}

.iso-news-code {
  font: 700 clamp(1.8rem, 4vw, 3.5rem)/1 'Poppins', sans-serif;
  letter-spacing: -.04em;
}

.iso-news-media small {
  font: 600 .68rem/1.5 'IBM Plex Mono', monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.iso-environment {
  background:
    radial-gradient(circle at 82% 18%, rgba(67, 196, 164, .34), transparent 28%),
    linear-gradient(145deg, #063749, #087f78);
}

.iso-security {
  background:
    radial-gradient(circle at 82% 18%, rgba(102, 142, 255, .32), transparent 28%),
    linear-gradient(145deg, #071f3e, #145b91);
}

.iso-sustainability {
  background:
    radial-gradient(circle at 82% 18%, rgba(125, 209, 159, .34), transparent 28%),
    linear-gradient(145deg, #07384c, #147d6b);
}

.iso-catalog {
  background:
    radial-gradient(circle at 82% 18%, rgba(19, 166, 235, .38), transparent 28%),
    linear-gradient(145deg, var(--bucc-a-dark), #0d719e);
}

.news-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 58px);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink-600);
  font: 500 .68rem/1.4 'IBM Plex Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.news-meta span {
  color: var(--bucc-c-primary);
  font-weight: 600;
}

.news-featured h3 {
  margin: 26px 0 18px;
  color: var(--bucc-a-dark);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.news-featured-copy > p,
.news-card-body > p,
.news-section-heading > p {
  color: var(--ink-600);
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--bucc-c-primary);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}

.news-read-more:hover {
  color: var(--bucc-a-dark);
}

.news-read-more b {
  font-size: 1rem;
}

.news-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: clamp(58px, 8vw, 90px) 0 28px;
}

.news-section-heading > p {
  max-width: 52ch;
  text-align: right;
  font-size: .9rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}

.news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line-light);
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(8, 67, 94, .1);
}

.news-card-media {
  aspect-ratio: 3 / 2;
  min-height: 205px;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.news-card h3 {
  margin: 20px 0 12px;
  color: var(--bucc-a-dark);
  font-size: 1.22rem;
}

.news-card-body > p {
  font-size: .87rem;
}

.news-card .news-read-more {
  margin-top: auto;
  padding-top: 24px;
}

.news-contact {
  margin-top: clamp(70px, 9vw, 110px);
  padding: clamp(62px, 8vw, 90px) 0;
  color: #fff;
  background: linear-gradient(120deg, var(--bucc-a-dark), var(--bucc-c-primary));
  text-align: center;
}

.news-contact .eyebrow {
  justify-content: center;
  color: var(--bucc-b-bright);
}

.news-contact h2 {
  max-width: 20ch;
  margin: 16px auto 27px;
  font-size: clamp(1.75rem, 3.7vw, 3rem);
}

.news-contact a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .62);
  padding: 13px 19px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color .25s var(--ease), background .25s var(--ease);
}

.news-contact a:hover {
  color: var(--bucc-a-dark);
  background: #fff;
}

.news-toolbar,
.news-featured,
.news-section-heading,
.news-card,
.news-contact {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s var(--ease);
}

.news-toolbar.in-view,
.news-featured.in-view,
.news-section-heading.in-view,
.news-card.in-view,
.news-contact.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-media { min-height: 320px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .news-hero-content { grid-template-columns: 1fr; }
  .news-hero-content > p { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .28); }
  .news-toolbar, .news-section-heading { align-items: flex-start; flex-direction: column; }
  .news-categories { justify-content: flex-start; }
  .news-section-heading > p { text-align: left; }
  .news-grid { grid-template-columns: 1fr; }
}

/* ---------- PÁGINA DE INICIO ---------- */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--bucc-a-dark);
}

.home-hero-video,
.home-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-video {
  object-fit: cover;
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 40, 56, .95), rgba(8, 67, 94, .68) 58%, rgba(8, 67, 94, .28)),
    linear-gradient(180deg, rgba(8, 67, 94, .08), rgba(8, 67, 94, .88));
}

.home-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 100px;
}

.home-hero-content .eyebrow,
.home-contact .eyebrow {
  color: var(--bucc-b-bright);
  margin-bottom: 18px;
}

.home-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  letter-spacing: -.04em;
}

.home-hero h1 em {
  color: var(--bucc-b-bright);
  font-style: normal;
}

.home-hero-content > p:last-of-type {
  max-width: 64ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, .87);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button--primary {
  color: #fff;
  background: var(--bucc-b-bright);
}

.home-button--secondary {
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.home-button--dark {
  margin-top: 26px;
  color: #fff;
  background: var(--bucc-a-dark);
}

.home-scroll {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 56px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .72);
  font: 500 .7rem/1 'IBM Plex Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-scroll span {
  color: var(--bucc-b-bright);
  font-size: 1.15rem;
}

.home-metrics {
  color: #fff;
  background: var(--bucc-a-dark);
}

.home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-metrics article {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px clamp(20px, 4vw, 46px);
  border-right: 1px solid var(--line-dark);
}

.home-metrics article:last-child {
  border-right: 0;
}

.home-metrics strong {
  color: var(--bucc-b-bright);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1;
}

.home-metrics span {
  max-width: 28ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
}

.home-about,
.home-standards {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
  padding-top: clamp(72px, 10vw, 130px);
  padding-bottom: clamp(72px, 10vw, 130px);
}

.home-section-heading .eyebrow,
.home-standards-copy .eyebrow {
  margin-bottom: 16px;
}

.home-section-heading h2,
.home-standards h2,
.home-contact h2 {
  color: var(--bucc-a-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.035em;
}

.home-about-copy {
  padding-top: 34px;
}

.home-about-copy p,
.home-standards-copy > p:last-of-type {
  color: var(--ink-600);
  font-size: 1rem;
  line-height: 1.8;
}

.home-text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 26px;
  color: var(--bucc-c-primary);
  font-size: .86rem;
  font-weight: 600;
  text-transform: uppercase;
}

.home-services {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--paper-100);
}

.home-services .home-section-heading {
  max-width: 750px;
  margin-bottom: 40px;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-service-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line-light);
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.home-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(8, 67, 94, .12);
}

.home-service-card > span {
  color: var(--bucc-c-primary);
  font: 600 .72rem/1 'IBM Plex Mono', monospace;
}

.home-service-card h3 {
  margin: 28px 0 16px;
  color: var(--bucc-a-dark);
  font-size: 1.45rem;
}

.home-service-card p {
  color: var(--ink-600);
  font-size: .94rem;
}

.home-service-card a {
  margin-top: auto;
  padding-top: 28px;
  color: var(--bucc-c-primary);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.home-standards {
  align-items: center;
}

.home-standard-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

.home-standard-cloud span {
  padding: 13px 17px;
  border: 1px solid var(--line-light);
  color: var(--bucc-a-dark);
  background: #fff;
  font: 600 .78rem/1.2 'IBM Plex Mono', monospace;
  box-shadow: 0 8px 24px rgba(8, 67, 94, .07);
}

.home-contact {
  padding: clamp(70px, 9vw, 110px) 0;
  color: #fff;
  background: linear-gradient(120deg, var(--bucc-a-dark), var(--bucc-c-primary));
  text-align: center;
}

.home-contact .eyebrow {
  justify-content: center;
}

.home-contact h2 {
  max-width: 18ch;
  margin: 0 auto 30px;
  color: #fff;
}

.home-metrics article,
.home-section-heading,
.home-about-copy,
.home-service-card,
.home-standards-copy,
.home-standard-cloud,
.home-contact .container {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.home-metrics article.in-view,
.home-section-heading.in-view,
.home-about-copy.in-view,
.home-service-card.in-view,
.home-standards-copy.in-view,
.home-standard-cloud.in-view,
.home-contact .container.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .news-hero::before {
    background-position: 67% center;
  }

  .clients-hero::before,
  .contact-hero::before {
    background-position: 66% center;
  }

  .clients-hero {
    min-height: 620px;
  }

  .home-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .home-metrics-grid,
  .home-about,
  .home-standards {
    grid-template-columns: 1fr;
  }

  .home-metrics article {
    min-height: 135px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .home-metrics article:last-child {
    border-bottom: 0;
  }

  .home-about-copy {
    padding-top: 0;
  }

  .home-scroll {
    display: none;
  }
}

/* ---------- ENCABEZADOS INTERIORES UNIFICADOS ---------- */
.page-hero,
.standards-hero,
.clients-hero,
.news-hero,
.contact-hero {
  box-sizing: border-box;
  min-height: clamp(520px, 34vw, 610px);
  display: flex;
  align-items: center;
  padding: 118px 0 72px;
}

.page-hero > .container,
.standards-hero-layout,
.clients-hero-content,
.news-hero-content,
.contact-hero > .container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.page-hero > .container,
.standards-hero-copy,
.clients-hero-content,
.news-hero-content,
.contact-hero > .container {
  max-width: min(1180px, calc(100% - 48px));
}

.standards-hero-copy {
  margin: 0;
}

.news-hero-content {
  display: block;
}

.page-hero .eyebrow,
.standards-hero .eyebrow,
.clients-hero .eyebrow,
.news-hero .eyebrow,
.contact-hero .eyebrow {
  margin-bottom: 16px;
}

.page-hero h1,
.standards-hero h1,
.clients-hero h1,
.news-hero h1,
.contact-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.75rem, 4.2vw, 4.15rem);
  line-height: 1.08;
  text-shadow: 0 3px 12px rgba(0, 20, 30, .55);
}

.page-hero p:last-child,
.standards-hero-copy > p:last-child,
.clients-hero-content > p:last-child,
.news-hero-content > p,
.contact-hero > .container > p:last-child {
  max-width: 64ch;
  margin-top: 20px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  line-height: 1.65;
  text-shadow: 0 2px 9px rgba(0, 20, 30, .5);
}

@media (max-width: 760px) {
  .page-hero,
  .standards-hero,
  .clients-hero,
  .news-hero,
  .contact-hero {
    min-height: 520px;
    padding: 118px 0 64px;
  }

  .page-hero > .container,
  .standards-hero-layout,
  .clients-hero-content,
  .news-hero-content,
  .contact-hero > .container {
    max-width: calc(100% - 36px);
  }

  .page-hero h1,
  .standards-hero h1,
  .clients-hero h1,
  .news-hero h1,
  .contact-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.25rem, 10vw, 3.15rem);
  }
}
