/*=============================================
CELY CONSTRUCCIONES SAS
Se carga despues de soft-design-system.css (Bootstrap 5)
solo en las rutas del sitio Cely (body.cely).

Marca (tomada del logo y de la pieza "gestion documental"):
  Azul Cely  #012048  -> texto, botones, marca
  Azul noche #04112A  -> secciones oscuras, menu, pie
  Rojo Cely  #EA001F  -> acciones y palabra acento

Tipografia:
  Montserrat (700-800) -> titulos, como el "CELY" del logo
  Source Sans 3        -> texto corrido
=============================================*/

:root {
  --cc-navy: #012048;
  --cc-deep: #04112a;
  --cc-ink: #0b1a33;        /* texto principal */
  --cc-paper: #f3f5f9;
  --cc-white: #ffffff;
  --cc-muted: #56627a;
  --cc-line: #d9dfea;
  --cc-red: #ea001f;
  --cc-red-dark: #b8001a;
  --cc-radius: 18px;
  --cc-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cc-text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.cely {
  background: var(--cc-paper);
  color: var(--cc-ink);
  font-family: var(--cc-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* :where(body.cely) no suma especificidad: gana a Soft UI por orden y deja ganar a las clases .cc-* */
:where(body.cely) h1, :where(body.cely) h2, :where(body.cely) h3, :where(body.cely) h4, :where(body.cely) h5, :where(body.cely) h6 {
  font-family: var(--cc-head);
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

:where(body.cely) p { color: inherit; font-size: inherit; }
:where(body.cely) a { color: inherit; text-decoration: none; }
:where(body.cely) img { max-width: 100%; }

/* palabra acento en rojo: "Construimos <span class="cc-accent">sin sorpresas</span>" */
.cc-accent { color: var(--cc-red); }
.cc-dark .cc-accent, .cc-hero .cc-accent, .cc-band .cc-accent, .cc-page-header .cc-accent { color: #ff3347; }

.cc-display { font-family: var(--cc-head); font-weight: 800; font-size: clamp(2.5rem, 6.5vw, 5.6rem); letter-spacing: -0.03em; line-height: 1.02; }
.cc-h2      { font-family: var(--cc-head); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.025em; }
.cc-h3      { font-family: var(--cc-head); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.cc-lead    { font-family: var(--cc-head); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.cc-small   { font-size: .95rem; color: var(--cc-muted); line-height: 1.6; }
.cc-muted   { color: var(--cc-muted) !important; }

/* barra roja corta bajo titulares (como la pieza de marca) */
.cc-bar { display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--cc-red); margin: 1.4rem 0; }

/* etiqueta "● NOSOTROS" con el interletrado del lema del logo */
.cc-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--cc-head);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.cc-label::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--cc-red);
}

.cc-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.cc-rule    { border-top: 1px solid var(--cc-line); }
.cc-dark    { background: var(--cc-deep); color: var(--cc-white); --cc-notch-bg: var(--cc-deep); }
.cc-white   { background: var(--cc-white); --cc-notch-bg: var(--cc-white); }
.cc-dark figcaption { color: rgba(255, 255, 255, .7) !important; }
.cc-dark .cc-small, .cc-dark .cc-muted { color: rgba(255, 255, 255, .7) !important; }
.cc-dark .cc-rule { border-color: rgba(255, 255, 255, .12); }

/*=============================================
BOTON PILDORA CON FLECHA
<a class="cc-btn">Texto <span class="cc-btn__arrow">...</span></a>
=============================================*/
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .35rem .35rem .35rem 1.35rem;
  border: 1.5px solid var(--cc-navy);
  border-radius: 999px;
  color: var(--cc-navy);
  background: transparent;
  font-family: var(--cc-head);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.cc-btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--cc-navy);
  color: var(--cc-white);
  transition: transform .25s, background .25s;
}
.cc-btn__arrow svg { width: 1rem; height: 1rem; }
body.cely .cc-btn:hover { background: var(--cc-navy); color: var(--cc-white); }
.cc-btn:hover .cc-btn__arrow { background: var(--cc-red); transform: translateX(3px); }

.cc-btn--light { border-color: rgba(255, 255, 255, .85); color: var(--cc-white); }
.cc-btn--light .cc-btn__arrow { background: var(--cc-white); color: var(--cc-navy); }
body.cely .cc-btn--light:hover { background: var(--cc-white); color: var(--cc-navy); }
.cc-btn--light:hover .cc-btn__arrow { background: var(--cc-red); color: var(--cc-white); }

.cc-btn--red { background: var(--cc-red); border-color: var(--cc-red); color: var(--cc-white); }
.cc-btn--red .cc-btn__arrow { background: var(--cc-white); color: var(--cc-red); }
body.cely .cc-btn--red:hover { background: var(--cc-red-dark); border-color: var(--cc-red-dark); color: var(--cc-white); }
.cc-btn--red:hover .cc-btn__arrow { background: var(--cc-white); color: var(--cc-red-dark); }

.cc-btn:focus-visible, .cc-nav a:focus-visible, .cc-play:focus-visible {
  outline: 3px solid #ff5a6b;
  outline-offset: 3px;
}

/*=============================================
CORTE SUPERIOR EN IMAGENES
=============================================*/
.cc-notch {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.cc-notch::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 50%;
  width: 38%;
  height: 14px;
  transform: translateX(-50%);
  background: var(--cc-notch-bg, var(--cc-paper));
  border-radius: 0 0 16px 16px;
}
.cc-notch img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cc-notch:hover img { transform: scale(1.04); }

/*=============================================
MENU
=============================================*/
.cc-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  padding: .7rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.cc-nav__brand { display: inline-flex; align-items: center; }
.cc-nav__brand img { height: 72px; width: auto; transition: height .3s; }
.cc-nav__links {
  background: var(--cc-white);
  border-radius: 0 0 20px 20px;
  padding: .55rem 1.6rem;
  margin: -0.7rem 0 0;
  gap: .35rem;
  box-shadow: 0 8px 24px rgba(4, 17, 42, .12);
}
body.cely .cc-nav .nav-link {
  color: var(--cc-navy);
  font-family: var(--cc-head);
  font-size: .82rem;
  font-weight: 600;
  padding: .5rem .8rem;
  border-radius: 999px;
}
body.cely .cc-nav .nav-link:hover,
body.cely .cc-nav .nav-link.active { color: var(--cc-red); }
/* boton "Plataforma": rojo redondeado, separado del resto de enlaces */
.cc-nav__platform-item { margin-left: 1.75rem; }
body.cely .cc-nav .nav-link.cc-nav__platform {
  background: var(--cc-red);
  color: var(--cc-white);
  padding: .5rem 1.25rem;
  box-shadow: 0 6px 16px rgba(234, 0, 31, .3);
  transition: background .25s, transform .25s;
}
body.cely .cc-nav .nav-link.cc-nav__platform:hover { background: var(--cc-red-dark); color: var(--cc-white); transform: translateY(-1px); }
body.cely .cc-nav .dropdown-menu {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(4, 17, 42, .18);
  padding: .5rem;
  margin-top: .4rem !important;
}
body.cely .cc-nav .dropdown-menu::before { display: none; }
/* Soft UI dibuja la flecha con FontAwesome: se reemplaza por un triangulo CSS */
body.cely .cc-nav .dropdown-toggle::after {
  content: "";
  font-family: inherit;
  display: inline-block;
  margin-left: .35rem;
  vertical-align: .15em;
  border-top: .3em solid currentColor;
  border-right: .3em solid transparent;
  border-left: .3em solid transparent;
  border-bottom: 0;
  transform: none;
}
body.cely .cc-nav .dropdown-item { font-family: var(--cc-head); font-size: .82rem; font-weight: 500; border-radius: 10px; padding: .55rem .9rem; color: var(--cc-navy); }
body.cely .cc-nav .dropdown-item:hover { background: var(--cc-paper); color: var(--cc-red); }

.cc-nav__toggle {
  border: 1.5px solid var(--cc-white);
  border-radius: 999px;
  color: var(--cc-white);
  background: transparent;
  padding: .45rem .9rem;
  font-family: var(--cc-head);
  font-size: .78rem;
  font-weight: 600;
}

/* menu al hacer scroll o en paginas sin foto de fondo */
.cc-nav.is-solid { background: rgba(4, 17, 42, .95); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0, 0, 0, .25); padding: .45rem 0; }
.cc-nav.is-solid .cc-nav__brand img { height: 58px; }
.cc-nav.is-solid .cc-nav__links { margin-top: 0; border-radius: 999px; box-shadow: none; }

@media (max-width: 991.98px) {
  .cc-nav { background: rgba(4, 17, 42, .95); backdrop-filter: blur(8px); }
  .cc-nav__brand img { height: 54px; }
  /* en movil el menu es una lista vertical: caja cuadrada (tambien con el menu solido al hacer scroll) */
  .cc-nav .cc-nav__links,
  .cc-nav.is-solid .cc-nav__links { margin: 1rem 0 .5rem; border-radius: 12px; padding: .75rem; box-shadow: none; }
  .cc-nav__platform-item { margin: .5rem 0 0; }
  body.cely .cc-nav .nav-link.cc-nav__platform { text-align: center; }
  .cc-nav__cta { padding: .5rem 0 .75rem; }
  body.cely .cc-nav .dropdown-menu { box-shadow: none; background: var(--cc-paper); }
}

/*=============================================
HERO / SLIDE INICIO
=============================================*/
.cc-hero { position: relative; min-height: 100vh; color: var(--cc-white); background: var(--cc-deep); }
.cc-hero .carousel, .cc-hero .carousel-inner, .cc-hero .carousel-item { height: 100vh; min-height: 640px; }
.cc-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.cc-hero .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 42, .85) 0%, rgba(4, 17, 42, .45) 50%, rgba(4, 17, 42, .15) 100%),
    linear-gradient(180deg, rgba(4, 17, 42, .6) 0%, rgba(4, 17, 42, 0) 30%, rgba(4, 17, 42, .75) 100%);
}
.cc-hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8.5rem 0 4.5rem;
  pointer-events: none;
}
.cc-hero__content a, .cc-hero__content button { pointer-events: auto; }
.cc-hero__intro { max-width: 24rem; font-size: 1rem; opacity: .9; }
.cc-hero h1 { color: var(--cc-white); margin: 0; }
.cc-hero h1 .cc-accent { display: block; }
.cc-hero__side { max-width: 16rem; border-left: 3px solid var(--cc-red); padding-left: 1.1rem; }
.cc-hero__side strong { display: block; font-family: var(--cc-head); font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.cc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-family: var(--cc-head);
  font-size: .74rem;
  font-weight: 600;
}
.cc-hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc-red); box-shadow: 0 0 0 4px rgba(234, 0, 31, .35); }
.cc-hero .carousel-indicators { z-index: 4; margin-bottom: 1.4rem; }
.cc-hero .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 999px; border: 0; opacity: .5; transition: width .3s, opacity .3s; }
.cc-hero .carousel-indicators .active { width: 26px; opacity: 1; background: var(--cc-red); }
.cc-hero::after { /* corte curvo inferior */
  content: "";
  position: absolute;
  z-index: 3;
  bottom: -1px;
  left: 50%;
  width: min(36%, 420px);
  height: 18px;
  transform: translateX(-50%);
  background: var(--cc-paper);
  border-radius: 20px 20px 0 0;
}

/* encabezado de paginas internas */
.cc-page-header { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--cc-white); padding: 9rem 0 4rem; background: var(--cc-deep) center/cover no-repeat; }
.cc-page-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 17, 42, .88), rgba(4, 17, 42, .35)), linear-gradient(180deg, rgba(4, 17, 42, .5), rgba(4, 17, 42, 0) 40%, rgba(4, 17, 42, .6)); }
.cc-page-header > .container { position: relative; z-index: 2; }
.cc-page-header h1 { color: var(--cc-white); }
.cc-page-header::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: min(36%, 420px); height: 18px; transform: translateX(-50%); background: var(--cc-paper); border-radius: 20px 20px 0 0; }

/*=============================================
PROYECTOS
=============================================*/
.cc-project { display: block; }
.cc-project .cc-notch { aspect-ratio: 4 / 4.6; background: #d5dbe6; }
.cc-project__meta { display: flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .82rem; color: var(--cc-muted); }
.cc-project__meta::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cc-red); }
.cc-project__title { font-family: var(--cc-head); font-size: 1.1rem; font-weight: 700; margin: .25rem 0 0; color: var(--cc-navy); }
.cc-project__tag {
  position: absolute;
  z-index: 3;
  left: .9rem;
  bottom: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  font-family: var(--cc-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--cc-navy);
}
.cc-project__tag--obra { background: var(--cc-red); color: var(--cc-white); }
.cc-project__tag--obra i { width: 7px; height: 7px; border-radius: 50%; background: var(--cc-white); }
.cc-project__tag--fin i  { width: 7px; height: 7px; border-radius: 50%; background: var(--cc-navy); }
.cc-progress { height: 4px; border-radius: 4px; background: var(--cc-line); margin-top: .7rem; overflow: hidden; }
.cc-progress span { display: block; height: 100%; background: var(--cc-red); border-radius: 4px; }

/* carrusel de obras entregadas: 3 por vista en escritorio, 2 en tableta, 1.15 en movil */
.cc-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 1.5rem) / 3);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.cc-carousel::-webkit-scrollbar { display: none; }
.cc-carousel:focus-visible { outline: 3px solid #ff5a6b; outline-offset: 6px; border-radius: 6px; }
.cc-carousel__item { scroll-snap-align: start; min-width: 0; }
.cc-carousel .cc-reveal { opacity: 1; transform: none; }
@media (max-width: 991.98px) { .cc-carousel { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 575.98px) { .cc-carousel { grid-auto-columns: 85%; gap: 1rem; } }

.cc-carousel__nav {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid var(--cc-navy);
  background: transparent;
  color: var(--cc-navy);
  transition: background .25s, color .25s, opacity .25s;
}
.cc-carousel__nav svg { width: 1.1rem; height: 1.1rem; }
.cc-carousel__nav[data-carrusel-prev] svg { transform: rotate(180deg); }
.cc-carousel__nav:hover:not(:disabled) { background: var(--cc-red); border-color: var(--cc-red); color: var(--cc-white); }
.cc-carousel__nav:disabled { opacity: .3; cursor: default; }
.cc-carousel__dots { display: flex; gap: .4rem; }
.cc-carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--cc-line); transition: width .3s, background .3s; }
.cc-carousel__dots button.active { width: 26px; background: var(--cc-red); }

/* carrusel de una diapositiva por vista (obras en ejecucion y visor de fotos) */
.cc-carousel.cc-carousel--single { grid-auto-columns: 100%; gap: 0; }

/*=============================================
OBRAS EN EJECUCION
=============================================*/
.cc-obras__counter { font-family: var(--cc-head); font-weight: 800; font-size: 1.1rem; color: var(--cc-navy); letter-spacing: .04em; min-width: 4.5rem; text-align: right; }

.cc-obras__tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--cc-line);
}
.cc-obras__tabs::-webkit-scrollbar { display: none; }
.cc-obras__tabs button {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid var(--cc-line);
  border-radius: 999px;
  background: var(--cc-white);
  color: var(--cc-navy);
  padding: .55rem 1.1rem;
  margin-bottom: .75rem;
  font-family: var(--cc-head);
  font-size: .8rem;
  font-weight: 700;
  overflow: hidden;
  transition: background .25s, color .25s, border-color .25s;
}
.cc-obras__tabs button span { color: var(--cc-red); }
.cc-obras__tabs button:hover { border-color: var(--cc-navy); }
.cc-obras__tabs button.active { background: var(--cc-navy); border-color: var(--cc-navy); color: var(--cc-white); }
.cc-obras__tabs button.active span { color: #ff5a6b; }
/* barra de tiempo: se llena durante los 30 s de cada obra */
.cc-obras__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--cc-red); transition: width .2s linear; }

.cc-obra { padding: .5rem 0; overflow: hidden; }
.cc-obra__name { font-family: var(--cc-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; color: var(--cc-navy); }

/* visor de fotos de cada obra */
.cc-viewer { position: relative; border-radius: var(--cc-radius); background: var(--cc-deep); }
.cc-viewer__item { margin: 0; aspect-ratio: 16 / 10; }
.cc-viewer__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-viewer:hover img { transform: none; }
.cc-viewer__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--cc-navy);
  box-shadow: 0 6px 18px rgba(4, 17, 42, .25);
  transition: background .25s, color .25s;
}
.cc-viewer__nav svg { width: 1.1rem; height: 1.1rem; }
.cc-viewer__nav--prev { left: 1rem; }
.cc-viewer__nav--prev svg { transform: rotate(180deg); }
.cc-viewer__nav--next { right: 1rem; }
.cc-viewer__nav:hover { background: var(--cc-red); color: var(--cc-white); }
.cc-viewer__bar {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1.2rem 1rem;
  background: linear-gradient(180deg, rgba(4, 17, 42, 0), rgba(4, 17, 42, .7));
  color: var(--cc-white);
  font-family: var(--cc-head);
  font-size: .8rem;
  font-weight: 700;
  pointer-events: none;
}
.cc-viewer__bar .cc-carousel__dots { pointer-events: auto; }
.cc-carousel__dots--light button { background: rgba(255, 255, 255, .5); }
.cc-carousel__dots--light button.active { background: var(--cc-red); }
@media (max-width: 575.98px) {
  .cc-viewer__nav { width: 2.5rem; height: 2.5rem; }
  .cc-viewer__nav--prev { left: .6rem; }
  .cc-viewer__nav--next { right: .6rem; }
}

/* filtros de la pagina proyectos */
.cc-filter { display: inline-flex; gap: .35rem; padding: .3rem; border-radius: 999px; background: var(--cc-white); border: 1px solid var(--cc-line); flex-wrap: wrap; }
.cc-filter button { border: 0; background: transparent; border-radius: 999px; padding: .5rem 1.1rem; font-family: var(--cc-head); font-size: .8rem; font-weight: 600; color: var(--cc-navy); }
.cc-filter button.active { background: var(--cc-navy); color: var(--cc-white); }

/*=============================================
EQUIPO (filas con linea)
=============================================*/
.cc-team-row { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid var(--cc-line); }
.cc-team-row:last-child { border-bottom: 1px solid var(--cc-line); }
.cc-team-row strong { font-family: var(--cc-head); font-weight: 700; font-size: .95rem; color: var(--cc-navy); }
.cc-team-row span { font-size: .95rem; color: var(--cc-muted); }
.cc-team-row em { font-style: normal; font-size: .85rem; color: var(--cc-red); font-weight: 600; }
@media (max-width: 575.98px) { .cc-team-row { grid-template-columns: 1fr; gap: .25rem; } }

/*=============================================
FRANJA SERVICIOS (imagen de fondo)
=============================================*/
.cc-band { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: var(--cc-white); background: var(--cc-deep) center/cover no-repeat; padding: 6rem 0 4rem; }
.cc-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 17, 42, .15) 15%, rgba(4, 17, 42, .7) 55%, rgba(4, 17, 42, .95)); }
.cc-band::after { content: ""; position: absolute; top: -1px; left: 50%; width: min(36%, 420px); height: 18px; transform: translateX(-50%); background: var(--cc-paper); border-radius: 0 0 20px 20px; }
.cc-band > .container { position: relative; z-index: 2; }
.cc-band h2 { color: var(--cc-white); }
.cc-band ul { list-style: none; padding: 0; margin: 0; }
.cc-band li { display: flex; gap: .7rem; padding: .35rem 0; font-family: var(--cc-head); font-weight: 600; font-size: .95rem; }
.cc-band li::before { content: ""; flex: none; width: 14px; height: 3px; margin-top: .65rem; border-radius: 3px; background: var(--cc-red); }
.cc-band li small { display: block; font-family: var(--cc-text); font-weight: 400; opacity: .78; font-size: .9rem; }

/*=============================================
OBRAS EN EJECUCION (filas con imagen)
=============================================*/
.cc-case { padding: 2.5rem 0; border-top: 1px solid var(--cc-line); }
.cc-case .cc-notch { aspect-ratio: 16 / 8.5; }

/*=============================================
CIFRAS
=============================================*/
.cc-stat strong { display: block; font-family: var(--cc-head); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--cc-navy); }
.cc-stat strong .cc-accent { color: var(--cc-red); }
.cc-stat > span { font-size: .92rem; color: var(--cc-muted); }

/*=============================================
VIDEO / MULTIMEDIA
=============================================*/
.cc-video { position: relative; aspect-ratio: 16 / 8; border-radius: var(--cc-radius); overflow: hidden; background: var(--cc-deep); }
.cc-video img, .cc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-video::after { content: ""; position: absolute; inset: 0; background: rgba(4, 17, 42, .4); pointer-events: none; transition: opacity .3s; }
.cc-video.is-playing::after { opacity: 0; }
.cc-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .4rem 1.4rem .4rem .4rem;
  border: 0;
  border-radius: 999px;
  background: var(--cc-white);
  color: var(--cc-navy);
  font-family: var(--cc-head);
  font-weight: 700;
  font-size: .85rem;
}
.cc-play i { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--cc-red); color: var(--cc-white); }
.cc-play svg { width: 1rem; height: 1rem; margin-left: 2px; }
.cc-video.is-playing .cc-play { display: none; }

.cc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cc-gallery figure { margin: 0; }
.cc-gallery .cc-notch { aspect-ratio: 3 / 4; }
.cc-gallery figcaption { margin-top: .6rem; font-size: .88rem; color: var(--cc-muted); }
@media (max-width: 767.98px) { .cc-gallery { grid-template-columns: repeat(2, 1fr); } }

/*=============================================
TESTIMONIOS
=============================================*/
.cc-review {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--cc-radius);
  background: var(--cc-white);
  border: 1px solid var(--cc-line);
  border-top: 3px solid var(--cc-red);
}
.cc-white .cc-review { background: var(--cc-paper); }
.cc-review__stars { color: var(--cc-red); letter-spacing: .15em; font-size: .95rem; }
.cc-review__stars span { color: var(--cc-line); }
.cc-review blockquote { font-size: 1.08rem; line-height: 1.55; margin: 1rem 0 1.5rem; flex: 1; color: var(--cc-ink); }
.cc-review__who { display: flex; align-items: center; gap: .8rem; font-size: .92rem; font-weight: 600; color: var(--cc-navy); }
.cc-review__who b { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--cc-navy); color: var(--cc-white); font-family: var(--cc-head); font-weight: 700; font-size: .85rem; }
.cc-review__who small { display: block; color: var(--cc-muted); font-weight: 400; }
.cc-rating { display: flex; align-items: center; gap: 1rem; }
.cc-rating strong { font-family: var(--cc-head); font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--cc-navy); }

/*=============================================
CTA / CONTACTO
=============================================*/
.cc-together { text-align: center; padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.cc-together .cc-bar { margin: 1.2rem auto 0; }
.cc-contact { background: var(--cc-deep); color: var(--cc-white); }
.cc-contact .cc-small { color: rgba(255, 255, 255, .75); }
.cc-contact__img { min-height: 420px; height: 100%; border-radius: 0; }
.cc-contact__body { padding: clamp(2.5rem, 6vw, 5rem); }
.cc-contact__body li::first-letter { color: var(--cc-red); }

.cc-form .form-control, .cc-form .form-select {
  border: 0;
  border-bottom: 1.5px solid var(--cc-line);
  border-radius: 0;
  background: transparent;
  padding: .85rem 0;
  font-family: var(--cc-text);
  font-size: 1rem;
  color: var(--cc-ink);
  box-shadow: none;
}
.cc-form .form-control:focus, .cc-form .form-select:focus { border-bottom-color: var(--cc-red); box-shadow: none; background: transparent; }
.cc-form label { font-family: var(--cc-head); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--cc-muted); }

.cc-info-card { padding: 1.6rem; border-radius: var(--cc-radius); background: var(--cc-white); border: 1px solid var(--cc-line); height: 100%; transition: border-color .25s, transform .25s; }
a.cc-info-card:hover { border-color: var(--cc-red); transform: translateY(-3px); }
.cc-info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--cc-navy); }
.cc-info-card__icon { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: rgba(234, 0, 31, .08); color: var(--cc-red); margin-bottom: 1rem; }
.cc-info-card__icon svg { width: 1.3rem; height: 1.3rem; }

.cc-social { display: flex; gap: .55rem; flex-wrap: wrap; }
.cc-social a {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background .25s, color .25s, border-color .25s;
}
.cc-social a:hover { background: var(--cc-red); border-color: var(--cc-red); color: var(--cc-white) !important; }
.cc-social svg { width: 1.05rem; height: 1.05rem; }

/*=============================================
PIE DE PAGINA (azul noche)
=============================================*/
.cc-footer { background: var(--cc-deep); color: rgba(255, 255, 255, .85); font-size: .95rem; border-top: 4px solid var(--cc-red); }
.cc-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cc-footer__grid > div { padding: 2.2rem 1.6rem; border-right: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cc-footer__grid > div:nth-child(4n) { border-right: 0; }
.cc-footer h2, .cc-footer h3 { font-family: var(--cc-head); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: rgba(255, 255, 255, .55); margin-bottom: .9rem; }
.cc-footer__logo { width: 220px; height: auto; margin-bottom: 1.2rem; }
.cc-footer .cc-small { color: rgba(255, 255, 255, .7); }
.cc-footer ul { list-style: none; padding: 0; margin: 0; }
.cc-footer li { padding: .2rem 0; }
.cc-footer a:hover { color: #ff5a6b; }
.cc-footer__hours li { display: flex; justify-content: space-between; gap: 1rem; }
.cc-footer__hours li span { color: rgba(255, 255, 255, .6); }
.cc-footer__hours li.closed span { color: #ff5a6b; }
.cc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; color: rgba(255, 255, 255, .5); font-size: .85rem; }
@media (max-width: 991.98px) {
  .cc-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cc-footer__grid > div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 575.98px) {
  .cc-footer__grid { grid-template-columns: 1fr; }
  .cc-footer__grid > div { border-right: 0; }
}

/* boton flotante de WhatsApp */
.cc-wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.1rem .55rem .55rem;
  border-radius: 999px;
  background: #1f9e55;
  color: #fff !important;
  font-family: var(--cc-head);
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(4, 17, 42, .35);
}
.cc-wa i { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.cc-wa svg { width: 1.3rem; height: 1.3rem; }
@media (max-width: 575.98px) { .cc-wa span { display: none; } .cc-wa { padding: .55rem; } }

/*=============================================
MUESTRA TIPOGRAFICA
=============================================*/
.cc-specimen { padding: 2.5rem; border-radius: var(--cc-radius); background: var(--cc-white); border: 1px solid var(--cc-line); height: 100%; }
.cc-specimen__big { font-size: clamp(4rem, 12vw, 8.5rem); line-height: .9; letter-spacing: -0.04em; color: var(--cc-navy); }
.cc-swatch { height: 90px; border-radius: 14px; }

/* animacion de entrada al hacer scroll */
.cc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.cc-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cc-reveal { opacity: 1; transform: none; transition: none; }
  .cc-notch img, .cc-btn, .cc-btn__arrow { transition: none; }
}
