/* ==========================================================
   Confecciones C&C — ajustes de marca, nav bar e íconos
   ========================================================== */

:root {
  --cc-ink: #111111;
  --cc-navy: #0B2239;
  --cc-gold: #C9A646;
  --cc-gold-soft: #FBE87E;
  --cc-line: rgba(11, 34, 57, 0.08);
}

/* ---------- Íconos: Font Awesome Free en lugar de Pro ---------- */
/* Los estilos Pro (light, thin, duotone, sharp) no existen en Free:
   se muestran con el estilo sólido para que ningún ícono quede vacío. */
.fal, .fa-light,
.fat, .fa-thin,
.fad, .fa-duotone,
.fa-sharp, .fa-sharp-duotone {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
/* "regular" solo tiene unos pocos íconos en Free; usamos sólido */
.far, .fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.fab, .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
.fa-sharp-duotone::after, .fad::after, .fa-duotone::after { content: none !important; }
/* fa-arrow-up-right es Pro: flecha derecha girada */
.fa-arrow-up-right::before {
  content: "\f061";
  display: inline-block;
  transform: rotate(-45deg);
}

/* ---------- Logo / marca ---------- */
.brand {
  gap: 12px;
  line-height: 1;
}
.brand .brand-mark {
  height: 52px;
  width: auto;
  max-height: none;
  display: block;
  transition: transform 0.4s ease;
}
.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}
.brand .brand-text {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding-left: 12px;
  border-left: 1px solid rgba(17, 17, 17, 0.18);
}
.brand .brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-ink);
}
.brand .brand-tag {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cc-gold);
}
.brand--light .brand-text { display: flex; border-left-color: rgba(255, 255, 255, 0.25); }
.brand--light .brand-name { color: #fff; }
.brand--light .brand-mark { height: 54px; }

@media (max-width: 575px) {
  .header-1 .logo img.brand-mark { width: auto; height: 40px; }
}

/* ---------- Nav bar ---------- */
.header-1.header-one { top: 20px; transition: top 0.3s ease; }

.header-1.header-one .mega-menu-wrapper {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cc-line);
  border-radius: 100px;
  padding: 4px 14px 4px 26px;
  box-shadow: 0 10px 40px -12px rgba(11, 34, 57, 0.18);
}
.header-1 .header-main { padding: 6px 0; }

/* Enlaces */
.header-main .main-menu ul li { margin-inline-end: 34px; }
@media (max-width: 1399px) { .header-main .main-menu ul li { margin-inline-end: 22px; } }

.header-main .main-menu > nav > ul > li > a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cc-navy);
  padding: 22px 0;
}
.header-main .main-menu > nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: var(--cc-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.header-main .main-menu > nav > ul > li:hover > a::after,
.header-main .main-menu > nav > ul > li.active > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-main .main-menu ul li a:hover,
.header-main .main-menu ul li:hover > a,
.header-main .main-menu > nav > ul > li.active > a {
  color: var(--cc-ink) !important;
}
.header-main .main-menu > nav > ul > li > a i {
  font-size: 10px;
  margin-left: 6px;
  opacity: 0.6;
  transition: transform 0.3s ease;
}
.header-main .main-menu > nav > ul > li:hover > a i { transform: rotate(180deg); opacity: 1; }

/* Submenús */
.header-main .main-menu ul li .submenu {
  min-width: 250px;
  padding: 12px 0;
  border-radius: 14px;
  border: 1px solid var(--cc-line);
  border-top: 3px solid var(--cc-gold);
  box-shadow: 0 20px 50px -15px rgba(11, 34, 57, 0.25);
}
.header-main .main-menu ul li .submenu li a {
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 40px;
}
.header-main .main-menu ul li .submenu li a::before { background: var(--cc-gold); }
.header-main .main-menu ul li .submenu li:hover > a { color: var(--cc-gold) !important; }

/* Lado derecho */
.header-main .header-right { gap: 14px; }
.header-1 .search-toggler {
  width: 46px;
  height: 46px;
  line-height: 46px;
  border: 1px solid var(--cc-line);
  color: var(--cc-navy);
  background: #fff;
  transition: all 0.3s ease;
}
.header-1 .search-toggler:hover { background: var(--cc-ink); color: #fff; border-color: var(--cc-ink); }

.header-1 .header-right .theme-btn {
  background: var(--cc-ink);
  color: #fff;
  border-radius: 100px;
  height: 48px;
  line-height: 48px;
  padding: 0 26px;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.header-1 .header-right .theme-btn::before { background-color: var(--cc-gold-soft); }
.header-1 .header-right .theme-btn:hover { color: var(--cc-ink); }
.header-1 .header-right .theme-btn i { transition: transform 0.3s ease; }
.header-1 .header-right .theme-btn:hover i { transform: translateX(4px); }

.header-main .sidebar__toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cc-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Estado fijo al hacer scroll */
.sticky.header-one { background: transparent; box-shadow: none; padding-top: 10px; }
.sticky.header-one .mega-menu-wrapper {
  border-radius: 100px;
  padding: 2px 14px 2px 26px;
  background: rgba(255, 255, 255, 0.96);
}
.sticky.header-one .brand .brand-mark { height: 40px; }

@media (max-width: 1199px) {
  .header-1.header-one .mega-menu-wrapper { padding: 6px 10px 6px 20px; }
}
@media (max-width: 575px) {
  .header-1.header-one { top: 12px; }
  .header-1.header-one .mega-menu-wrapper,
  .sticky.header-one .mega-menu-wrapper { padding: 6px 8px 6px 16px; }
  .header-1 .search-toggler { width: 40px; height: 40px; line-height: 40px; }
  .header-main .sidebar__toggle { width: 40px; height: 40px; }
}

/* ==========================================================
   RESPONSIVE — una versión dedicada para cada tamaño
   ----------------------------------------------------------
   XS   ≤ 389px   móviles pequeños (iPhone SE, Android compactos)
   SM   ≤ 575px   móviles
   MD   576–767   móviles grandes / plegables
   TAB  768–991   tablets vertical
   LAP  992–1199  tablets horizontal / portátiles pequeños
   DESK 1200–1599 escritorio
   XL   ≥ 1600    pantallas grandes / 4K
   ========================================================== */

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { overflow-x: clip; }
img { max-width: 100%; }
iframe { max-width: 100%; }

/* Años de experiencia (index-2) */
.cc-years {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(64px, 9vw, 110px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--cc-navy) 0%, #3a4f66 55%, var(--cc-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.cc-years sup { font-size: 0.5em; top: -0.8em; color: var(--cc-gold); -webkit-text-fill-color: var(--cc-gold); }

/* Fechas del blog: pegadas a la foto, sin depender de alturas fijas */
.news-wrapper .news-box-items .post-date {
  position: relative;
  bottom: auto;
  left: 20px;
  margin-top: -40px;
  width: max-content;
}
.news-wrapper .news-box-items .news-content { padding-top: 18px; }

/* Mapa */
.google-map iframe, .map-items iframe, .contact-map iframe { width: 100%; min-height: 380px; border-radius: 20px; }

/* ---------- Dispositivos táctiles (sin hover) ---------- */
@media (hover: none) {
  .mouseCursor, .cursor-outer, .cursor-inner { display: none !important; }

  /* Tarjetas de servicio: la foto que antes salía al pasar el mouse
     se muestra fija arriba, en vez de dejar un hueco vacío */
  .service-box-one { padding: 0 0 26px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px -18px rgba(11,34,57,.35); display: flex; flex-direction: column; }
  .service-box-one .bg-image { order: -1; }
  .service-box-one .bg-image { position: relative; transform: none; height: 190px; z-index: 0; inset: auto; }
  .service-box-one .bg-image img { border-radius: 0; object-fit: cover; }
  .service-box-one .icon { position: relative; margin: -33px 0 0 24px; z-index: 2; box-shadow: 0 0 0 5px #fff; }
  .service-box-one .content { margin-top: 18px; padding: 0 24px; }
  .service-box-one .content .title a, .service-box-one .content p { color: inherit !important; }
  .service-box-one:hover .bg-image { transform: none; }

  .news-wrapper .news-box-items .news-thumb img:first-child { display: none; }
}

/* ---------- XL: pantallas grandes ---------- */
@media (min-width: 1600px) {
  .section-padding { padding: 130px 0; }
}
@media (min-width: 1920px) {
  body { font-size: 17px; }
  .header-1.header-one .container { max-width: 1760px; }
}

/* ---------- DESK: 1200–1599 ---------- */
@media (min-width: 1200px) and (max-width: 1599px) {
  .header-main .main-menu > nav > ul > li > a { font-size: 13px; letter-spacing: 0.06em; }
  .brand .brand-name { font-size: 20px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .header-main .main-menu ul li { margin-inline-end: 18px; }
  .brand .brand-tag { display: none; }
  .brand .brand-text { gap: 0; }
}

/* ---------- LAP: cuadrículas propias para 992–1199 ---------- */
/* Sin tarjetas huérfanas: 4 elementos → 2×2, 3 elementos → 3 en fila */
@media (min-width: 992px) and (max-width: 1199px) {
  .row > .col-xl-3.col-lg-4 { flex: 0 0 50%; max-width: 50%; }
  .working-process-section .row > .col-xl-3.col-lg-4,
  .work-process-section-2 .row > .col-xl-3.col-lg-4 { flex: 0 0 25%; max-width: 25%; }
  .row > .col-xl-4.col-lg-6.col-md-6 { flex: 0 0 33.333%; max-width: 33.333%; }
}
/* Tablet: la tarjeta impar que queda sola se centra */
@media (min-width: 768px) and (max-width: 991px) {
  .row:has(> .col-xl-4.col-lg-6.col-md-6),
  .row:has(> .col-xl-3.col-lg-4.col-md-6) { justify-content: center; }
}

/* ---------- LAP: ≤ 1199 ---------- */
@media (max-width: 1199px) {
  .section-padding { padding: 90px 0; }
  .service-box-one .content { margin-top: 120px; }
  .service-box-items-2 .icon { margin-top: 28px; }
  .service-box-items-2 p { margin-top: 26px; }
}

/* ---------- TAB: ≤ 991 ---------- */
@media (max-width: 991px) {
  .section-padding { padding: 76px 0; }
  .section-title { margin-bottom: 36px; }
  h1 { font-size: clamp(34px, 6.4vw, 56px); line-height: 1.12; }
  h2 { font-size: clamp(27px, 4.6vw, 40px); line-height: 1.2; }
  .hero-content h1, .hero-2 .hero-content h1, .hero-1 .hero-content h1 { font-size: clamp(34px, 6.4vw, 56px); }
  .hero-content p { font-size: 16px; }

  .header-1.header-one { top: 14px; }
  .brand .brand-mark { height: 46px; }

  .google-map iframe, .map-items iframe, .contact-map iframe { min-height: 320px; }
  .offcanvas__info { width: min(420px, 100%); }
}

/* ---------- MD: ≤ 767 ---------- */
@media (max-width: 767px) {
  .section-padding { padding: 64px 0; }
  .section-title { margin-bottom: 28px; }
  .section-title .sub-title { font-size: 12px; }
  p { font-size: 15px; line-height: 1.7; }

  .hero-button { display: flex; flex-wrap: wrap; gap: 12px; }
  .footer-bottom .footer-wrapper { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom .footer-wrapper ul { justify-content: center; flex-wrap: wrap; gap: 6px 18px; }

  .counter-items .counter-box h3, .counter-box h1 { font-size: 40px; }

  /* formularios: 16px evita el zoom automático de iOS */
  input, textarea, select { font-size: 16px !important; }
}

/* ---------- SM: ≤ 575 (móviles) ---------- */
@media (max-width: 575px) {
  .container, .container-fluid { padding-left: 16px; padding-right: 16px; }
  .section-padding { padding: 56px 0; }
  h1 { font-size: clamp(30px, 8.6vw, 40px); }
  h2 { font-size: clamp(24px, 7vw, 30px); }
  h3 { font-size: 20px; }
  .hero-content h1, .hero-2 .hero-content h1, .hero-1 .hero-content h1 { font-size: clamp(30px, 8.6vw, 40px); }

  /* Logo compacto con nombre visible */
  .brand .brand-text { display: flex !important; padding-left: 9px; gap: 3px; }
  .brand .brand-mark, .header-1 .logo img.brand-mark { height: 36px; }
  .brand .brand-name { font-size: 16px; letter-spacing: 0.08em; }
  .brand .brand-tag { font-size: 8px; letter-spacing: 0.24em; }
  .brand--light .brand-mark { height: 46px; }
  .brand--light .brand-name { font-size: 19px; }
  .brand--light .brand-tag { font-size: 9.5px; }
  .sticky.header-one .brand .brand-mark { height: 34px; }

  /* Botones principales a todo el ancho */
  .hero-button { flex-direction: column; align-items: stretch; }
  .hero-button .theme-btn { width: 100%; text-align: center; padding: 0 20px; }

  /* Botón subir: más pequeño y sin tapar el pie */
  .back-to-top { width: 44px; height: 44px; line-height: 44px; right: 14px; bottom: 14px; font-size: 16px; }
  .footer-bottom { padding-bottom: 60px; }

  .service-box-items-2 { padding: 24px; border-radius: 22px; }
  .pricing-box-items { padding: 26px 20px !important; }
  .google-map iframe, .map-items iframe, .contact-map iframe { min-height: 260px; border-radius: 16px; }
  .offcanvas__info { width: 100%; }
  .news-wrapper .news-box-items .news-content ul { gap: 14px; flex-wrap: wrap; }
}

/* ---------- XS: ≤ 389 (móviles pequeños) ---------- */
@media (max-width: 389px) {
  .container, .container-fluid { padding-left: 14px; padding-right: 14px; }
  .brand .brand-tag { display: none; }
  .brand .brand-name { font-size: 13px; letter-spacing: 0.04em; }
  .brand .brand-text { padding-left: 7px; }
  .brand { gap: 7px; }
  .brand .brand-mark, .header-1 .logo img.brand-mark { height: 32px; }
  .header-main .header-right { gap: 8px; }
  .header-1 .search-toggler, .header-main .sidebar__toggle { width: 38px; height: 38px; line-height: 38px; }
  .header-1.header-one .mega-menu-wrapper, .sticky.header-one .mega-menu-wrapper { padding: 5px 6px 5px 12px; }
  h1, .hero-content h1 { font-size: 28px !important; }
  h2 { font-size: 23px; }
  .theme-btn { padding: 0 18px; font-size: 13px; }
}

/* ---------- Horizontal en móvil ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .header-1.header-one { top: 6px; }
  .section-padding { padding: 48px 0; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   Secciones nuevas (reunión): servicios, dotaciones,
   cotizador, galería de planta y equipo
   ========================================================== */

/* Fotos reales en tarjetas de servicio: recorte sin deformar */
.service-box-one .bg-image img { object-fit: cover; }
.service-box-one .bg-image::after {
  content: ""; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(180deg, rgba(11,34,57,.15) 0%, rgba(11,34,57,.85) 100%);
}
.service-box-one:hover .content .title a,
.service-box-one:hover .content p { color: #fff; }
.about-image-items img, .choose-image img, .perform-img img,
.counter-image img, .contact-thumb img, .testi-image img,
.advantage-thumb img { object-fit: cover; }
.client-phn-area .phone-icon img { object-fit: cover; }

/* ---------- Productos: dotaciones ---------- */
.cc-product-card {
  background: #fff; border-radius: 20px; overflow: hidden; height: 100%;
  box-shadow: 0 10px 30px rgba(11,34,57,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.cc-product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,34,57,.12); }
.cc-product-thumb { aspect-ratio: 4 / 5; overflow: hidden; }
.cc-product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cc-product-card:hover .cc-product-thumb img { transform: scale(1.04); }
.cc-product-body { padding: 22px 24px 26px; }
.cc-product-body h3 { font-size: 22px; margin-bottom: 8px; }
.cc-product-body p { font-size: 15px; margin: 0; }

/* ---------- Cotizador ---------- */
.cc-quote {
  background: var(--cc-navy); color: #fff; border-radius: 20px;
  padding: 36px; height: 100%; scroll-margin-top: 110px;
}
.cc-quote-title { color: #fff; font-size: 28px; margin-bottom: 6px; }
.cc-quote-intro { color: rgba(255,255,255,.75); margin-bottom: 24px; }
.cc-quote-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.cc-quote-group legend, .cc-label {
  display: block; float: none; width: auto; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--cc-gold-soft); margin-bottom: 10px;
}
.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-chips label { position: relative; cursor: pointer; margin: 0; }
.cc-chips input { position: absolute; opacity: 0; pointer-events: none; }
.cc-chips span {
  display: inline-block; padding: 9px 20px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cc-chips label:hover span { border-color: var(--cc-gold-soft); }
.cc-chips input:checked + span { background: var(--cc-gold-soft); border-color: var(--cc-gold-soft); color: var(--cc-navy); }
.cc-chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.cc-qty { display: flex; align-items: center; gap: 16px; }
.cc-qty input[type="range"] { flex: 1; accent-color: var(--cc-gold-soft); }
.cc-qty input[type="number"] {
  width: 110px; height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; font-weight: 600; text-align: center; font-size: 17px;
}
.cc-qty input[type="number"]:focus { outline: none; border-color: var(--cc-gold-soft); }
.cc-hint { color: rgba(255,255,255,.6); display: block; margin-top: 6px; }
.cc-quote-result {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 20px; margin: 6px 0 22px;
}
.cc-tier { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cc-tier-label, .cc-price span { font-size: 13px; color: rgba(255,255,255,.65); }
.cc-tier strong { color: var(--cc-gold-soft); font-size: 18px; }
.cc-price { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-price span { display: block; margin-bottom: 2px; }
.cc-price strong { color: #fff; font-size: 22px; font-variant-numeric: tabular-nums; }
.cc-note { font-size: 13px; color: rgba(255,255,255,.6); margin: 14px 0 0; }
.cc-quote .theme-btn { justify-content: center; }
@media (max-width: 575px) {
  .cc-quote { padding: 26px 20px; }
  .cc-price { grid-template-columns: 1fr; }
}

/* ---------- Galería de planta ---------- */
.cc-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px;
}
.cc-gallery a { position: relative; display: block; overflow: hidden; border-radius: 16px; }
.cc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cc-gallery a::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; background: rgba(11,34,57,.45); opacity: 0; transition: opacity .3s ease;
}
.cc-gallery a:hover img { transform: scale(1.05); }
.cc-gallery a:hover::after, .cc-gallery a:focus-visible::after { opacity: 1; }
.cc-gallery .cc-g-wide { grid-column: span 2; }
.cc-gallery .cc-g-tall { grid-row: span 2; }
@media (max-width: 991px) {
  .cc-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 575px) {
  .cc-gallery { grid-auto-rows: 140px; gap: 10px; }
}

/* ---------- Equipo ---------- */
.cc-team-photo { border-radius: 20px; overflow: hidden; margin-bottom: 30px; }
.cc-team-photo img { width: 100%; display: block; }
.cc-team-card {
  background: var(--bg, #F2F5FB); border-radius: 20px; padding: 36px 24px; text-align: center; height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.cc-team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,34,57,.1); }
.cc-team-avatar {
  width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cc-navy); color: var(--cc-gold-soft);
  font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 700; letter-spacing: .04em;
}
.cc-team-card h3 { font-size: 22px; margin-bottom: 6px; }
.cc-team-card p { margin: 0; color: var(--text, #515459); }

section[id] { scroll-margin-top: 100px; }

/* Quiénes somos: el texto no debe quedar bajo la foto flotante (≥1400px) */
@media (min-width: 1400px) {
  .about-wrapper-one .about-content .about-text { padding-right: 120px; }
}

/* Fotos reales de planta: mantener la proporción original del diseño */
.choose-image > img { width: 100%; aspect-ratio: 400 / 508; object-fit: cover; }
.perform-img img { width: 100%; aspect-ratio: 313 / 366; object-fit: cover; }
.counter-image img { width: 100%; aspect-ratio: 785 / 809; object-fit: cover; }
.testi-image img { width: 100%; aspect-ratio: 251 / 322; object-fit: cover; }
.contact-thumb > img { width: 100%; aspect-ratio: 833 / 798; object-fit: cover; }
.contact-thumb .sm-thumb img { width: 100%; aspect-ratio: 136 / 321; object-fit: cover; }
.advantage-wrapper .advantage-box-items .advantage-content .advantage-thumb img { width: 100%; aspect-ratio: 400 / 240; object-fit: cover; }
.about-wrapper-one .about-image-items .about-image > img { width: 100%; aspect-ratio: 1376 / 768; object-fit: cover; }
.about-wrapper-one .about-image-items .about-image-2 img { aspect-ratio: 3 / 4; }
.about-wrapper-one .about-content .about-bottom-area .client-phn-area .phone-icon i {
  color: var(--header); font-size: 20px; line-height: 54px; display: inline-block; animation: pxl_phone_ring 1.8s ease-out infinite;
}

/* ---------- Botón flotante de WhatsApp ---------- */
.cc-whatsapp-float {
  position: fixed; right: 30px; bottom: 30px; z-index: 1000;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; font-size: 32px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cc-whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: -1; animation: cc-wa-pulse 2.2s ease-out infinite;
}
.cc-whatsapp-float:hover, .cc-whatsapp-float:focus-visible {
  color: #fff; transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, .55);
}
.cc-whatsapp-float:focus-visible { outline: 3px solid var(--cc-navy); outline-offset: 3px; }
.cc-whatsapp-tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px);
  white-space: nowrap; background: #fff; color: var(--cc-navy);
  font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 100px;
  box-shadow: 0 6px 20px rgba(11, 34, 57, .15);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.cc-whatsapp-float:hover .cc-whatsapp-tip,
.cc-whatsapp-float:focus-visible .cc-whatsapp-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes cc-wa-pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}
/* El botón "subir" queda encima del de WhatsApp */
.back-to-top { right: 35px !important; bottom: 104px !important; }

@media (max-width: 575px) {
  .cc-whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 28px; }
  .cc-whatsapp-tip { display: none; }
  .back-to-top { right: 21px !important; bottom: 82px !important; }
}

/* ==========================================================
   Pulido final: datos, clientes, preguntas, contacto y pie
   ========================================================== */

/* Datos reales en "Por qué confían" (reemplaza barras con %) */
.cc-facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.cc-facts li { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--cc-line); }
.cc-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.cc-facts strong {
  flex: 0 0 96px; font-size: 30px; line-height: 1; color: var(--cc-navy);
  font-variant-numeric: tabular-nums; font-weight: 700;
}
.cc-facts span { font-size: 15px; line-height: 1.5; }

/* A quién servimos */
.cc-clients-section .testi-image img { height: 100%; min-height: 320px; border-radius: 20px; }
.cc-client-card {
  height: 100%; padding: 30px 26px; border-radius: 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: background .3s ease, transform .3s ease;
}
.cc-client-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.cc-client-card i {
  width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--cc-gold-soft); color: var(--cc-navy); font-size: 20px; margin-bottom: 18px;
}
.cc-client-card h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.cc-client-card p { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }
.cc-clients-cta {
  margin-top: 24px; padding: 22px 26px; border-radius: 20px; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cc-clients-cta p { color: #fff; margin: 0; font-weight: 500; }

/* Escalas de pedido: rango en lugar de precio */
.pricing-box-items .title-2 { font-size: 34px; }
.pricing-box-items .pricing-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Formulario de contacto */
.contact-content .contact-text a { color: var(--cc-navy); }
.cc-select {
  width: 100%; height: 60px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--cc-line);
  background: var(--bg, #F2F5FB); color: var(--text, #515459); font-size: 16px;
}
.cc-form-error { color: #b42318; font-weight: 500; margin: 0; }
.theme-btn .fa-whatsapp { margin-right: 6px; }

/* Preguntas frecuentes */
.cc-faq-intro { margin: 18px 0 26px; }
.cc-faq .accordion-item { border: 0; border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.cc-faq .accordion-header { margin: 0; }
.cc-faq .accordion-button {
  font-size: 18px; font-weight: 600; color: var(--cc-navy); padding: 20px 24px; background: #fff; box-shadow: none;
}
.cc-faq .accordion-button:not(.collapsed) { color: var(--cc-navy); background: #fff; }
.cc-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(251,232,126,.6); }
.cc-faq .accordion-body { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; }
.cc-faq .accordion-body a { color: var(--cc-navy); text-decoration: underline; }

/* Pie de página */
.cc-footer-cta { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
.cc-footer-cta p { color: #fff; font-size: 22px; font-weight: 600; margin: 0; }
.footer-section .contact-list p { color: rgba(255,255,255,.8); }
@media (max-width: 1199px) { .cc-footer-cta { justify-content: flex-start; } }

/* Menú: más ítems de primer nivel, menos espacio entre ellos en pantallas medianas */
@media (min-width: 1200px) and (max-width: 1399px) {
  .header-1 .main-menu ul li { margin-inline-end: 22px; }
}
.cc-facts li { display: block; }
.cc-facts strong { display: block; margin-bottom: 6px; }

/* Textos sobre la foto de "Por qué confían": legibles sobre fotografía real */
.choose-image-items .choose-image .text,
.choose-image-items .choose-image .counter-box {
  background: rgba(255,255,255,.92); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(11,34,57,.12); z-index: 2;
}
.choose-image-items .choose-image .text { top: 20px; left: 20px; right: 20px; max-width: none; }
.choose-image-items .choose-image .text span { font-size: 17px; line-height: 1.4; }
.choose-image-items .choose-image .counter-box { bottom: 20px; right: 20px; text-align: center; }
.choose-image-items .choose-image .counter-box h1 { font-size: 40px; line-height: 1; margin: 0; }
.choose-image-items .choose-image .counter-box p { margin: 4px 0 0; font-size: 14px; }

/* Pilares: tarjetas de igual altura */
.advantage-slider .swiper-wrapper { align-items: stretch; }
.advantage-slider .swiper-slide { height: auto; }
.advantage-wrapper .advantage-box-items { height: 100%; display: flex; flex-direction: column; }
.advantage-wrapper .advantage-box-items .advantage-content { flex: 1; }
/* El margen superior de la tarjeta + height:100% recortaba el botón de abajo */
.advantage-wrapper .advantage-slider { padding-top: 30px; }
.advantage-wrapper .advantage-box-items { margin-top: 0; cursor: pointer; }
.advantage-wrapper .advantage-box-items .advantage-btn-box .link-btn { padding-top: 18px; padding-bottom: 18px; }
/* Puntos para deslizar en móvil (se ocultan solos cuando caben todas las tarjetas) */
.advantage-slider .advantage-dots { position: static; margin-top: 24px; }
.advantage-slider .advantage-dots .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--header); opacity: .25; }
.advantage-slider .advantage-dots .swiper-pagination-bullet-active { opacity: 1; }
/* Selector del formulario con el mismo estilo de línea que los demás campos */
.contact-content .contact-form-box .form-clt .cc-select {
  height: auto; padding: 16px 28px 16px 0; border: 0; border-bottom: 1px solid rgba(0, 53, 102, 0.12);
  border-radius: 0; background-color: transparent; color: var(--header); cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B2239' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.contact-content .contact-form-box .form-clt .cc-select:focus { outline: none; border-bottom-color: var(--cc-navy); }
