/* ============================================================
   Car Custom Garage — Home, dirección E «La colección»
   Sistema de diseño aplicado SOBRE WIDGETS NATIVOS de Elementor
   y Elementor Pro. Aquí no se maqueta: solo se define el aspecto
   (tipografía, color, ritmo). La estructura y el contenido viven
   en los widgets y se editan desde el constructor.
   Todo va prefijado con .ccg-e (clase de body) para que no se
   filtre a ninguna otra página.
   ============================================================ */
@font-face{font-family:CCGSerif;src:url(../ccg-fonts/instrument-serif-latin-400-normal.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:CCGSerif;src:url(../ccg-fonts/instrument-serif-latin-400-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:CCGSans;src:url(../ccg-fonts/instrument-sans-latin-standard-normal.woff2) format('woff2');font-weight:400 700;font-stretch:75% 100%;font-style:normal;font-display:swap}
@font-face{font-family:CCGSans;src:url(../ccg-fonts/instrument-sans-latin-standard-italic.woff2) format('woff2');font-weight:400 700;font-stretch:75% 100%;font-style:italic;font-display:swap}

body.ccg-e{
  --ink:#0A0B0C; --surf:#131517; --surf2:#1C1F21;
  --rojo:#B12028; --rojo-d:#96262C; --rojo-l:#CF4A51;
  --papel:#F4F4F3; --papel2:#E6E7E6;
  --t1:#F3F3F2; --t2:rgba(243,243,242,.70); --t3:rgba(243,243,242,.42);
  --d1:#101315; --d2:#454A4D; --d3:#7F8487;
  --line:rgba(243,243,242,.12); --lineD:rgba(16,19,21,.13);
  --out:cubic-bezier(.23,1,.32,1); --inout:cubic-bezier(.77,0,.175,1);
  --max:1340px; --gut:clamp(20px,5.6vw,96px);
  background:var(--ink);color:var(--t1);
  font-family:CCGSans,system-ui,-apple-system,sans-serif;font-weight:400;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
/* El pie del sitio es fixed (z-index:10) y se revela al final del scroll:
   cada sección debe apilarse por encima y llevar fondo opaco, igual que
   en la home actual. */
body.ccg-e .ccg-s{position:relative;z-index:100;background-color:var(--ink);scroll-margin-top:96px}
body.ccg-e .ccg-s>.elementor-container{max-width:var(--max);width:100%;margin-inline:auto;padding-inline:var(--gut)}
body.ccg-e .ccg-full>.elementor-container{max-width:100%;padding-inline:0}
body.ccg-e img{display:block;max-width:100%}
body.ccg-e a{text-decoration:none}

/* ================= TIPOGRAFÍA =================
   Instrument Serif tiene un solo peso: la jerarquía se construye con
   TAMAÑO y ESPACIO, nunca con peso. Suelo duro: 28px / 23px en móvil.
   El kit global fuerza mayúsculas en los titulares; aquí se devuelven
   a caja mixta, que es como se lee esta tipografía. */
body.ccg-e .ccg-dsp .elementor-heading-title,
body.ccg-e .ccg-h2 .elementor-heading-title,
body.ccg-e .ccg-h3 .elementor-heading-title,
body.ccg-e .ccg-pnum .elementor-heading-title,
body.ccg-e .ccg-num .elementor-counter-number-wrapper,
body.ccg-e .ccg-quote .elementor-blockquote__content,
body.ccg-e .ccg-tile .elementor-cta__title,
body.ccg-e .ccg-scard .elementor-cta__title,
body.ccg-e .ccg-step h3,
body.ccg-e .ccg-fhead .elementor-heading-title,
body.ccg-e .ccg-cinfo .elementor-icon-list-text b{
  font-family:CCGSerif,'Times New Roman',Georgia,serif!important;font-weight:400!important;text-transform:none!important}

body.ccg-e .ccg-dsp .elementor-heading-title{font-size:clamp(44px,6.2vw,88px);line-height:1;letter-spacing:-.022em;max-width:15ch;color:#fff}
body.ccg-e .ccg-h2 .elementor-heading-title{font-size:clamp(32px,3.9vw,52px);line-height:1.06;letter-spacing:-.016em;max-width:18ch;color:var(--t1)}
body.ccg-e .ccg-light .ccg-h2 .elementor-heading-title{color:var(--d1)}
body.ccg-e .ccg-dsp em,body.ccg-e .ccg-h2 em,body.ccg-e .ccg-quote em{font-style:italic}

body.ccg-e .ccg-ov .elementor-heading-title{font-family:CCGSans,system-ui,sans-serif!important;font-size:12px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;color:var(--t3);line-height:1.4}
body.ccg-e .ccg-light .ccg-ov .elementor-heading-title{color:var(--d3)}

body.ccg-e .ccg-lead,body.ccg-e .ccg-lead p{font-size:clamp(18px,1.6vw,22px);line-height:1.55;color:var(--t1);letter-spacing:-.005em;text-transform:none}
body.ccg-e .ccg-lead{max-width:40ch}
body.ccg-e .ccg-txt,body.ccg-e .ccg-txt p{font-size:17px;line-height:1.7;color:var(--t2);letter-spacing:.006em;text-transform:none}
body.ccg-e .ccg-txt{max-width:62ch}
body.ccg-e .ccg-light .ccg-txt,body.ccg-e .ccg-light .ccg-txt p{color:var(--d2)}
body.ccg-e .ccg-txt p:last-child,body.ccg-e .ccg-lead p:last-child{margin-bottom:0}

/* ================= BOTONES (widget Botón nativo) ================= */
body.ccg-e .ccg-btn .elementor-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;
  height:52px;padding:0 30px;border-radius:0;border:0;
  font-family:CCGSans,system-ui,sans-serif!important;font-size:15px!important;font-weight:600!important;
  letter-spacing:.02em!important;text-transform:none!important;
  transition:background-color .38s var(--out),color .3s ease,transform .16s var(--out),box-shadow .3s ease}
body.ccg-e .ccg-btn .elementor-button:active{transform:scale(.975)}
body.ccg-e .ccg-btn-p .elementor-button{background-color:var(--rojo);color:#fff}
body.ccg-e .ccg-btn-p .elementor-button:hover{background-color:var(--rojo-d);color:#fff}
body.ccg-e .ccg-btn-g .elementor-button{background-color:transparent;color:var(--t1);box-shadow:inset 0 0 0 1px rgba(243,243,242,.3)}
body.ccg-e .ccg-btn-g .elementor-button:hover{background-color:var(--t1);color:var(--ink)}
body.ccg-e .ccg-btn-d .elementor-button{background-color:var(--d1);color:var(--papel)}
body.ccg-e .ccg-btn-d .elementor-button:hover{background-color:var(--rojo);color:#fff}
@media(max-width:767px){body.ccg-e .ccg-btn .elementor-button{height:48px;font-size:16px}}

/* ================= HERO ================= */
body.ccg-e .ccg-hero{overflow:hidden}
body.ccg-e .ccg-hero:before{content:"";position:absolute;inset:auto 0 0 0;height:52%;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,11,12,0) 0%,rgba(10,11,12,.42) 34%,rgba(10,11,12,.80) 74%,var(--ink) 100%)}
body.ccg-e .ccg-hero>.elementor-container{position:relative;z-index:2}
body.ccg-e .ccg-rule .elementor-divider{padding-block:0}
body.ccg-e .ccg-rule .elementor-divider-separator{border-top-color:var(--rojo)!important;border-top-width:2px!important;width:80px!important}
body.ccg-e .ccg-proof{border-top:1px solid var(--line);padding-top:22px;margin-top:clamp(26px,4vh,44px)}
body.ccg-e .ccg-pnum .elementor-heading-title{font-size:clamp(24px,2.4vw,30px);line-height:1;letter-spacing:-.02em;
  color:var(--t1);font-variant-numeric:tabular-nums}
body.ccg-e .ccg-plab .elementor-heading-title{font-family:CCGSans,system-ui,sans-serif!important;font-size:12px;font-weight:600;
  letter-spacing:.11em;text-transform:uppercase;color:var(--t3);line-height:1.4}

/* ================= BARRA DE GARANTÍAS ================= */
body.ccg-e .ccg-trust{background-color:var(--surf2)!important;border-block:1px solid var(--line)}
body.ccg-e .ccg-tr .elementor-heading-title{font-family:CCGSans,system-ui,sans-serif!important;font-size:13.5px;font-weight:500;
  line-height:1.45;color:var(--t2);text-transform:none!important;letter-spacing:0;position:relative;padding-left:19px;display:block}
body.ccg-e .ccg-tr .elementor-heading-title:before{content:"";position:absolute;left:0;top:.45em;width:7px;height:7px;background:var(--rojo)}

/* ================= RITMO DE SECCIÓN ================= */
body.ccg-e .ccg-band{padding-block:clamp(72px,11vh,140px)}
body.ccg-e .ccg-serv{background-color:var(--surf)!important}
body.ccg-e .ccg-light{background-color:var(--papel)!important;color:var(--d1)}
body.ccg-e .ccg-marcas{background-color:var(--papel2)!important;color:var(--d1);padding-block:clamp(52px,7vh,86px)}
body.ccg-e .ccg-nums{background-color:var(--surf2)!important;padding-block:clamp(56px,8vh,92px)}

/* ================= TRABAJOS: mosaico asimétrico =================
   Los nueve bloques son widgets «Llamada a la acción» normales;
   aquí solo se les dice qué hueco ocupan en la retícula. */
body.ccg-e .ccg-gg>.elementor-widget-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.2vw,18px);align-content:start}
@media(min-width:900px){
  body.ccg-e .ccg-gg>.elementor-widget-wrap{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(150px,14.5vw,220px)}
  body.ccg-e .ccg-gg>.elementor-widget-wrap>.ccg-tile.a{grid-column:span 2;grid-row:span 2}
  body.ccg-e .ccg-gg>.elementor-widget-wrap>.ccg-tile.b{grid-column:span 2}
  body.ccg-e .ccg-gg>.elementor-widget-wrap>.ccg-tile.d{grid-row:span 2}
}
body.ccg-e .ccg-gg>.elementor-widget-wrap>.elementor-widget{margin:0!important;width:auto!important;min-width:0}
body.ccg-e .ccg-tile,body.ccg-e .ccg-tile .elementor-widget-container,
body.ccg-e .ccg-tile .elementor-cta,body.ccg-e .ccg-tile .elementor-cta__bg-wrapper{height:100%}
@media(max-width:899px){body.ccg-e .ccg-tile .elementor-cta{aspect-ratio:1}}
body.ccg-e .ccg-tile .elementor-cta{overflow:hidden;background:#000}
body.ccg-e .ccg-tile .elementor-cta__bg{transition:transform .9s var(--out)}
body.ccg-e .ccg-tile .elementor-cta__bg-overlay{background:linear-gradient(180deg,rgba(0,0,0,0) 26%,rgba(0,0,0,.45) 58%,rgba(0,0,0,.93) 100%);opacity:1!important}
body.ccg-e .ccg-tile .elementor-cta__content{padding:clamp(14px,1.5vw,22px);justify-content:flex-end;align-items:flex-start;text-align:left}
body.ccg-e .ccg-tile .elementor-cta__description{order:-1;font-family:CCGSans,system-ui,sans-serif!important;font-size:11.5px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;color:var(--rojo-l);margin-bottom:6px;line-height:1.35}
body.ccg-e .ccg-tile .elementor-cta__title{font-size:clamp(17px,1.6vw,22px);line-height:1.12;letter-spacing:-.012em;color:#fff;margin:0}
body.ccg-e .ccg-tile .elementor-cta__title em{font-style:italic}
@media(hover:hover) and (pointer:fine){body.ccg-e .ccg-tile:hover .elementor-cta__bg{transform:scale(1.055)}}

/* ================= SERVICIOS ================= */
body.ccg-e .ccg-scard .elementor-cta{overflow:hidden}
body.ccg-e .ccg-scard .elementor-cta__bg{transition:transform 1s var(--out)}
body.ccg-e .ccg-scard:hover .elementor-cta__bg{transform:scale(1.05)}
body.ccg-e .ccg-scard .elementor-cta__bg-overlay{opacity:1!important;
  background:linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.32) 40%,rgba(0,0,0,.74) 76%,rgba(0,0,0,.92) 100%)}
body.ccg-e .ccg-scard .elementor-cta__content{padding:clamp(20px,2.2vw,28px);justify-content:flex-end;align-items:flex-start;text-align:left}
body.ccg-e .ccg-scard .elementor-cta__title{font-size:clamp(23px,2.3vw,30px);line-height:1.18;letter-spacing:-.01em;color:#fff;margin-bottom:10px}
body.ccg-e .ccg-scard .elementor-cta__description{font-family:CCGSans,system-ui,sans-serif!important;font-size:15.5px;line-height:1.55;
  color:rgba(243,243,242,.80);max-width:32ch;text-transform:none}
body.ccg-e .ccg-scard .elementor-cta__button{background:transparent;border:0;border-bottom:2px solid var(--rojo);border-radius:0;
  padding:0 0 6px;color:#fff;font-family:CCGSans,system-ui,sans-serif!important;font-size:13px;font-weight:600;
  letter-spacing:.02em;text-transform:none;margin-top:16px}
body.ccg-e .ccg-scard .elementor-cta__button:hover{background:transparent;color:var(--rojo-l)}
@media(min-width:1100px){body.ccg-e .ccg-serv .ccg-offset{margin-top:34px}}

/* ================= PROCESO ================= */
body.ccg-e .ccg-step .elementor-widget-container{display:grid;grid-template-columns:56px minmax(0,1fr);gap:clamp(12px,1.6vw,22px);
  padding:clamp(18px,2.2vw,24px) 0;border-top:1px solid var(--line);align-items:start}
body.ccg-e .ccg-step-last .elementor-widget-container{border-bottom:1px solid var(--line)}
body.ccg-e .ccg-step .n{font-family:CCGSerif,serif;font-size:17px;color:var(--rojo);letter-spacing:.04em;display:block;padding-top:2px}
body.ccg-e .ccg-step h3{font-size:clamp(21px,2vw,25px);line-height:1.2;letter-spacing:-.012em;margin:0 0 8px;color:var(--t1)}
body.ccg-e .ccg-step p{font-size:15.5px;line-height:1.6;color:var(--t2);margin:0;text-transform:none}
body.ccg-e .ccg-procimg img{width:100%;aspect-ratio:4/5;object-fit:cover}
@media(max-width:1024px){body.ccg-e .ccg-procimg img{aspect-ratio:16/10}}

/* ================= EQUIPO ================= */
body.ccg-e .ccg-quote .elementor-blockquote{border:0;padding:0;margin:0;background:transparent}
body.ccg-e .ccg-quote .elementor-blockquote__content{font-style:italic;font-size:clamp(21px,2.1vw,27px);line-height:1.42;
  letter-spacing:-.012em;color:var(--d1);max-width:24ch;border-left:2px solid var(--rojo);padding-left:clamp(16px,1.6vw,22px);margin:0}
body.ccg-e .ccg-quote .elementor-blockquote__author{display:none}
body.ccg-e .ccg-pills ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}
body.ccg-e .ccg-pills li{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--d2);
  padding:9px 14px;box-shadow:inset 0 0 0 1px var(--lineD)}
body.ccg-e .ccg-eqimg img{width:100%;aspect-ratio:4/3;object-fit:cover}

/* ================= MARCAS (logos reales) ================= */
body.ccg-e .ccg-mlabel .elementor-heading-title{font-family:CCGSans,system-ui,sans-serif!important;font-size:11.5px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--d3);display:flex;align-items:center;gap:16px;white-space:nowrap}
body.ccg-e .ccg-mlabel .elementor-heading-title:after{content:"";flex:1;height:1px;background:var(--lineD)}
body.ccg-e .ccg-mgrid>.elementor-widget-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(26px,3.4vw,42px) clamp(18px,2.4vw,32px);align-items:center;justify-items:center}
@media(min-width:700px){body.ccg-e .ccg-mgrid>.elementor-widget-wrap{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1100px){body.ccg-e .ccg-mgrid>.elementor-widget-wrap{grid-template-columns:repeat(6,minmax(0,1fr))}}
body.ccg-e .ccg-mgrid>.elementor-widget-wrap>.elementor-widget{margin:0!important;width:auto!important;
  display:flex;align-items:center;justify-content:center;height:50px}
body.ccg-e .ccg-logo img{max-height:50px;width:auto;object-fit:contain;mix-blend-mode:multiply;opacity:.9;
  transition:opacity .35s ease,transform .5s var(--out)}
@media(hover:hover) and (pointer:fine){body.ccg-e .ccg-logo:hover img{opacity:1;transform:translateY(-3px)}}
@media(max-width:1099px){body.ccg-e .ccg-mgrid>.elementor-widget-wrap>.elementor-widget{height:44px}body.ccg-e .ccg-logo img{max-height:44px}}
@media(max-width:767px){body.ccg-e .ccg-mgrid>.elementor-widget-wrap>.elementor-widget{height:36px}body.ccg-e .ccg-logo img{max-height:36px}
  body.ccg-e .ccg-mgrid>.elementor-widget-wrap{gap:22px 14px}}

/* ================= CIFRAS (widget Contador nativo) ================= */
body.ccg-e .ccg-num .elementor-counter{border-top:1px solid var(--line);padding-top:16px}
body.ccg-e .ccg-num .elementor-counter-number-wrapper{font-size:clamp(40px,4.6vw,64px);line-height:1;letter-spacing:-.02em;
  color:var(--t1);font-variant-numeric:tabular-nums;display:block}
body.ccg-e .ccg-num .elementor-counter-title{font-family:CCGSans,system-ui,sans-serif!important;font-size:11.5px;font-weight:600;
  letter-spacing:.13em;text-transform:uppercase;color:var(--t3);margin-top:10px;text-align:left}

/* ================= CONTACTO ================= */
body.ccg-e .ccg-cta-s{overflow:hidden}
body.ccg-e .ccg-cinfo .elementor-icon-list-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:24px}
body.ccg-e .ccg-cinfo .elementor-icon-list-item{align-items:flex-start}
body.ccg-e .ccg-cinfo .elementor-icon-list-text{display:block;font-size:11px;font-weight:600;letter-spacing:.18em;
  text-transform:uppercase;color:var(--t3);line-height:1.5}
body.ccg-e .ccg-cinfo .elementor-icon-list-text b{display:block;font-size:20px;letter-spacing:-.01em;text-transform:none;
  color:var(--t1);margin-top:8px;overflow-wrap:anywhere}
body.ccg-e .ccg-cinfo{border-top:1px solid var(--line);padding-top:26px;margin-top:clamp(28px,4vh,44px)}
body.ccg-e .ccg-fhead .elementor-heading-title{font-size:26px;line-height:1.2;letter-spacing:-.012em;color:var(--t1)}
body.ccg-e .ccg-fsub,body.ccg-e .ccg-fsub p{font-size:13.5px;line-height:1.5;color:var(--t3);text-transform:none}

/* --- Formulario nativo de Elementor Pro dentro de la caja --- */
body.ccg-e .ccg-fbox>.elementor-widget-wrap{background:rgba(243,243,242,.055);backdrop-filter:blur(14px);
  box-shadow:inset 0 1px 0 rgba(243,243,242,.14);padding:clamp(26px,3vw,38px)!important}
body.ccg-e .ccg-form .elementor-field-group{padding:0!important;margin-bottom:18px}
body.ccg-e .ccg-form .elementor-field-group>label.elementor-field-label{display:block;
  font-family:CCGSans,system-ui,sans-serif!important;font-size:11px!important;font-weight:600!important;
  letter-spacing:.18em!important;text-transform:uppercase!important;color:var(--t3)!important;margin-bottom:9px!important;padding:0!important}
body.ccg-e .ccg-form .elementor-field-textual{width:100%;height:48px;background:transparent!important;border:0!important;
  border-bottom:1px solid rgba(243,243,242,.24)!important;border-radius:0!important;color:var(--t1)!important;
  font-family:CCGSans,system-ui,sans-serif!important;font-size:16px!important;font-weight:400!important;
  padding:0!important;box-shadow:none!important;transition:border-color .35s ease}
body.ccg-e .ccg-form textarea.elementor-field-textual{height:88px;min-height:88px;padding-top:12px!important;line-height:1.5;resize:vertical}
body.ccg-e .ccg-form .elementor-field-textual::placeholder{color:var(--t3)!important;opacity:1}
body.ccg-e .ccg-form .elementor-field-textual:focus{outline:0;border-bottom-color:var(--rojo-l)!important}
body.ccg-e .ccg-form .elementor-field-type-recaptcha{margin-bottom:18px}
body.ccg-e .ccg-form .elementor-g-recaptcha{display:flex;justify-content:center}
body.ccg-e .ccg-form .elementor-field-type-submit{margin-bottom:0}
body.ccg-e .ccg-form .elementor-button[type=submit]{width:100%;justify-content:center;height:52px;
  background-color:var(--rojo)!important;color:#fff!important;border:0!important;border-radius:0!important;
  font-family:CCGSans,system-ui,sans-serif!important;font-size:15px!important;font-weight:600!important;
  letter-spacing:.02em!important;text-transform:none!important;transition:background-color .38s var(--out),transform .16s var(--out)}
body.ccg-e .ccg-form .elementor-button[type=submit]:hover{background-color:var(--rojo-d)!important}
body.ccg-e .ccg-form .elementor-button[type=submit]:active{transform:scale(.975)}
body.ccg-e .ccg-form .elementor-message{font-family:CCGSans,system-ui,sans-serif;font-size:14px;line-height:1.5}
body.ccg-e .ccg-form .elementor-message-success{color:#8FD6A0}
body.ccg-e .ccg-form .elementor-error{color:var(--rojo-l)}

/* ================= FOCO Y ACCESIBILIDAD ================= */
body.ccg-e a:focus-visible,body.ccg-e button:focus-visible,
body.ccg-e input:focus-visible,body.ccg-e textarea:focus-visible{outline:2px solid var(--rojo-l);outline-offset:3px}
@media(max-width:767px){
  body.ccg-e .ccg-dsp .elementor-heading-title{font-size:clamp(40px,10vw,46px)}
  body.ccg-e .ccg-h2 .elementor-heading-title{font-size:32px}
}

/* --- COMPLEMENTOS DE RETICULA --- */
/* Fila de botones del hero: los dos widgets Boton, uno junto al otro */
body.ccg-e .ccg-btnrow>.elementor-widget-wrap{display:flex;gap:13px;flex-wrap:wrap;align-content:flex-start}
body.ccg-e .ccg-btnrow>.elementor-widget-wrap>.elementor-widget{width:auto!important;margin:0!important}
body.ccg-e .ccg-btnrow-s{margin-top:clamp(26px,3.6vh,40px)!important}
/* Separadores verticales de la barra de garantias */
@media(min-width:1025px){body.ccg-e .ccg-trust>.elementor-container>.elementor-column+.elementor-column{border-left:1px solid var(--line)}
body.ccg-e .ccg-trust>.elementor-container>.elementor-column+.elementor-column>.elementor-element-populated{padding-left:26px}}
@media(max-width:1024px){body.ccg-e .ccg-trust>.elementor-container>.elementor-column+.elementor-column{border-top:1px solid var(--line)}}
/* Encabezado de seccion: titular a la izquierda, entradilla a la derecha */
body.ccg-e .ccg-shead{margin-bottom:clamp(40px,6.5vh,76px)!important}
@media(min-width:1025px){body.ccg-e .ccg-shead>.elementor-container{align-items:flex-end}
body.ccg-e .ccg-shead .elementor-column:last-child>.elementor-element-populated{padding-left:clamp(24px,4vw,64px)}}
@media(max-width:1024px){body.ccg-e .ccg-shead .elementor-column:last-child>.elementor-element-populated{padding-top:18px}}
body.ccg-e .ccg-ov+.elementor-widget-heading .elementor-heading-title{margin-top:16px}
/* Boton de cierre del mosaico, centrado */
body.ccg-e .ccg-more{margin-top:clamp(28px,4vh,42px)}
body.ccg-e .ccg-more .elementor-widget-container{display:flex;justify-content:center}
/* Rejillas de servicio y de marcas */
body.ccg-e .ccg-sg>.elementor-container{align-items:flex-start}
body.ccg-e .ccg-sg>.elementor-container>.elementor-column>.elementor-element-populated{padding:0 clamp(7px,.9vw,12px)}
body.ccg-e .ccg-sg>.elementor-container>.elementor-column:first-child>.elementor-element-populated{padding-left:0}
body.ccg-e .ccg-sg>.elementor-container>.elementor-column:last-child>.elementor-element-populated{padding-right:0}
@media(max-width:1024px){body.ccg-e .ccg-sg>.elementor-container>.elementor-column>.elementor-element-populated{padding:0 0 clamp(14px,2vw,24px)}}
body.ccg-e .ccg-mgridwrap{margin-bottom:0!important}
body.ccg-e .ccg-mlabel{margin-bottom:clamp(24px,3.4vh,34px)}
body.ccg-e .ccg-mlabel2{margin-top:clamp(34px,4.6vh,52px)}
/* La caja del formulario: el relleno lo pone la columna */
body.ccg-e .ccg-fbox .elementor-widget:not(:last-child){margin-bottom:0}

/* --- AJUSTE DE LAS FICHAS --- */
/* El contenido del bloque «Llamada a la accion» debe ocupar todo el alto
   de la ficha para que el rotulo quede pegado abajo. */
body.ccg-e .ccg-tile .elementor-cta__content,body.ccg-e .ccg-scard .elementor-cta__content{align-self:stretch;flex:1 1 auto;min-height:0}
body.ccg-e .ccg-tile .elementor-cta__bg-wrapper,body.ccg-e .ccg-scard .elementor-cta__bg-wrapper{min-height:0!important}
body.ccg-e .ccg-tile .elementor-cta__title{margin-top:0}
body.ccg-e .ccg-scard .elementor-cta__description{margin-bottom:0}

/* --- ANCLAJE DEL CONTENIDO DE LAS FICHAS --- */
body.ccg-e .ccg-tile .elementor-cta__content,body.ccg-e .ccg-scard .elementor-cta__content{
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;
  align-items:flex-start!important;text-align:left!important;height:100%}
body.ccg-e .ccg-tile .elementor-cta__content-item,body.ccg-e .ccg-scard .elementor-cta__content-item{width:100%;flex:0 0 auto}

/* --- CONTADORES: ALINEACION --- */
body.ccg-e .ccg-num .elementor-counter{text-align:left}
body.ccg-e .ccg-num .elementor-counter-number-wrapper{display:flex;justify-content:flex-start;align-items:baseline}
body.ccg-e .ccg-num .elementor-counter-number-prefix,
body.ccg-e .ccg-num .elementor-counter-number-suffix{flex-grow:0;padding:0;text-align:left;white-space:pre}

/* --- RETOQUES FINALES --- */
body.ccg-e .ccg-cinfo .elementor-icon-list-text b{font-size:18px}
body.ccg-e .ccg-cinfo .elementor-icon-list-items{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
body.ccg-e .ccg-cinfo .elementor-icon-list-item a{width:100%}
body.ccg-e .ccg-tile .elementor-cta__description{margin-bottom:5px}
body.ccg-e .ccg-tile .elementor-cta__button-wrapper{display:none}

/* --- MOVIMIENTO REDUCIDO --- */
/* Elementor oculta con .elementor-invisible los bloques que van a entrar con
   animacion y los revela al llegar al viewport, pero no atiende la preferencia
   del sistema de reducir el movimiento. Para quien la tenga activada, aqui se
   muestran directamente: sin animacion, pero siempre visibles. */
@media(prefers-reduced-motion:reduce){
  body.ccg-e .elementor-invisible{visibility:visible!important}
  body.ccg-e .animated{animation:none!important}
  body.ccg-e .ccg-tile .elementor-cta__bg,body.ccg-e .ccg-scard .elementor-cta__bg{transition:none!important}
}

/* --- FRASE SECUNDARIA DEL HERO --- */
/* El H1 lleva la palabra clave en redonda; la frase de marca va justo debajo,
   en la misma serif pero en itálica y a la mitad de tamaño. */
body.ccg-e .ccg-dsp2{margin-top:12px!important}
body.ccg-e .ccg-dsp2 .elementor-heading-title{
  font-family:CCGSerif,'Times New Roman',Georgia,serif!important;font-weight:400!important;
  font-style:italic;text-transform:none!important;
  font-size:clamp(24px,3.1vw,42px);line-height:1.14;letter-spacing:-.014em;
  color:rgba(243,243,242,.80);max-width:34ch;text-wrap:balance}
body.ccg-e .ccg-dsp2+.elementor-widget-text-editor{margin-top:20px}
@media(max-width:767px){body.ccg-e .ccg-dsp2 .elementor-heading-title{font-size:24px}}

/* --- COMPOSICION DEL HERO --- */
body.ccg-e .ccg-hero .ccg-lead{max-width:48ch}
body.ccg-e .ccg-hero .ccg-lead,body.ccg-e .ccg-hero .ccg-lead p{font-size:clamp(17px,1.35vw,19px);line-height:1.6}
@media(max-width:767px){body.ccg-e .ccg-hero .ccg-lead,body.ccg-e .ccg-hero .ccg-lead p{font-size:16.5px}}

/* --- AJUSTE DE LA FRANJA DE CIFRAS DEL HERO --- */
body.ccg-e .ccg-hero .ccg-proof{margin-top:clamp(16px,2.4vh,26px)!important;padding-top:18px}
body.ccg-e .ccg-hero .ccg-btnrow-s{margin-top:clamp(20px,2.8vh,30px)!important}

/* ============================================================
   PAGINAS INTERIORES — mismos tokens que la home.
   ============================================================ */

/* --- portada de pagina interior: mas baja que la de la home --- */
body.ccg-e .ccg-phero{overflow:hidden}
body.ccg-e .ccg-phero:before{content:"";position:absolute;inset:auto 0 0 0;height:48%;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(10,11,12,0) 0%,rgba(10,11,12,.42) 34%,rgba(10,11,12,.80) 74%,var(--ink) 100%)}
body.ccg-e .ccg-phero>.elementor-container{position:relative;z-index:2}
body.ccg-e .ccg-phero .ccg-dsp .elementor-heading-title{font-size:clamp(38px,5vw,68px);max-width:17ch}
body.ccg-e .ccg-phero .ccg-dsp2 .elementor-heading-title{font-size:clamp(21px,2.5vw,34px)}
body.ccg-e .ccg-phero .ccg-lead{max-width:46ch}
@media(max-width:767px){body.ccg-e .ccg-phero .ccg-dsp .elementor-heading-title{font-size:clamp(34px,8.6vw,40px)}}

/* una banda un poco mas corta, para los bloques de solo texto */
body.ccg-e .ccg-band-s{padding-block:clamp(56px,8vh,96px)}
body.ccg-e .ccg-band-s .ccg-shead{margin-bottom:0!important}

/* ============================================================
   LISTADO DE PROYECTOS — widget Entradas de Elementor Pro.
   Dinamico: los proyectos nuevos entran solos.
   ============================================================ */
body.ccg-e .ccg-posts .elementor-posts-container{gap:clamp(14px,1.8vw,24px)}
body.ccg-e .ccg-posts .elementor-post{background:var(--surf2);overflow:hidden;margin:0;
  transition:transform .5s var(--out),box-shadow .5s var(--out)}
body.ccg-e .ccg-posts .elementor-post__thumbnail__link{margin:0;display:block;overflow:hidden}
body.ccg-e .ccg-posts .elementor-post__thumbnail{padding-bottom:64%!important;background:#000}
body.ccg-e .ccg-posts .elementor-post__thumbnail img{transition:transform .9s var(--out);filter:saturate(.86) contrast(1.03)}
@media(hover:hover) and (pointer:fine){
  body.ccg-e .ccg-posts .elementor-post:hover .elementor-post__thumbnail img{transform:scale(1.055);filter:none}
  body.ccg-e .ccg-posts .elementor-post:hover{transform:translateY(-4px)}
}
body.ccg-e .ccg-posts .elementor-post__text{padding:clamp(18px,2vw,24px);margin:0}
body.ccg-e .ccg-posts .elementor-post__meta-data{margin:0 0 9px;padding:0;border:0;
  font-family:CCGSans,system-ui,sans-serif;font-size:11.5px;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;color:var(--rojo-l)}
body.ccg-e .ccg-posts .elementor-post__title{margin:0}
body.ccg-e .ccg-posts .elementor-post__title a{font-family:CCGSerif,'Times New Roman',Georgia,serif!important;
  font-weight:400!important;text-transform:none!important;font-size:clamp(20px,1.8vw,25px);line-height:1.16;
  letter-spacing:-.012em;color:var(--t1);transition:color .3s ease}
body.ccg-e .ccg-posts .elementor-post:hover .elementor-post__title a{color:#fff}
body.ccg-e .ccg-posts .elementor-post__read-more{display:inline-block;margin-top:14px;padding-bottom:5px;
  font-family:CCGSans,system-ui,sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.02em;
  text-transform:none;color:var(--t2);border-bottom:2px solid var(--rojo);transition:color .3s ease}
body.ccg-e .ccg-posts .elementor-post:hover .elementor-post__read-more{color:var(--t1)}

/* boton «ver mas» del listado */
body.ccg-e .ccg-posts .elementor-button.elementor-button-link,
body.ccg-e .ccg-posts .elementor-posts-nothing-found+*,
body.ccg-e .ccg-posts .e-load-more-anchor+*,
body.ccg-e .ccg-posts .elementor-posts__load-more .elementor-button{background:transparent}
body.ccg-e .ccg-posts .elementor-button{height:52px;padding:0 30px;border-radius:0;border:0;
  box-shadow:inset 0 0 0 1px rgba(243,243,242,.3);background-color:transparent;color:var(--t1);
  font-family:CCGSans,system-ui,sans-serif!important;font-size:15px!important;font-weight:600!important;
  letter-spacing:.02em!important;text-transform:none!important;
  transition:background-color .38s var(--out),color .3s ease}
body.ccg-e .ccg-posts .elementor-button:hover{background-color:var(--t1);color:var(--ink)}
body.ccg-e .ccg-posts .elementor-pagination{margin-top:clamp(28px,4vh,42px);display:flex;justify-content:center}

/* ================= FICHAS DE EQUIPO ================= */
body.ccg-e .ccg-team-s .ccg-trow{margin-top:clamp(34px,4.4vh,56px)}
body.ccg-e .ccg-team-s .ccg-trow>.elementor-container{align-items:flex-start}
body.ccg-e .ccg-tcard>.elementor-element-populated{padding:0 clamp(12px,1.4vw,20px) clamp(38px,4.6vh,58px) 0}
body.ccg-e .ccg-tfoto img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 22%;
  filter:grayscale(1) contrast(1.06);transition:filter .6s var(--out),transform .6s var(--out)}
body.ccg-e .ccg-tcard:hover .ccg-tfoto img{filter:grayscale(0) contrast(1)}
body.ccg-e .ccg-tfoto{overflow:hidden;margin-bottom:clamp(16px,2vh,22px)}
body.ccg-e .ccg-tname .elementor-heading-title{font-family:CCGSerif,'Times New Roman',Georgia,serif!important;
  font-weight:400!important;text-transform:none!important;font-size:clamp(22px,2.2vw,30px);line-height:1.1;
  letter-spacing:-.016em;color:var(--t1);margin:0}
body.ccg-e .ccg-trole .elementor-heading-title{font-size:11px;font-weight:600;letter-spacing:.13em;
  text-transform:uppercase;color:var(--rojo-l);margin:8px 0 0}
body.ccg-e .ccg-tbio{margin-top:clamp(12px,1.6vh,16px)}
body.ccg-e .ccg-tbio p{font-size:15px;line-height:1.6;color:var(--d2);margin:0;max-width:44ch}
body.ccg-e .ccg-tbtn{margin-top:16px}
body.ccg-e .ccg-tbtn .elementor-button{font-size:11px;padding:11px 18px}
@media(max-width:1024px){body.ccg-e .ccg-tcard>.elementor-element-populated{padding-right:clamp(10px,2vw,16px)}}
@media(max-width:767px){body.ccg-e .ccg-tcard>.elementor-element-populated{padding:0 0 clamp(32px,5vh,44px)}
  body.ccg-e .ccg-tfoto img{aspect-ratio:4/3;object-position:center 26%}}

/* ================= NOTA DE COLABORACION ================= */
body.ccg-e .ccg-colab{margin-top:clamp(30px,3.8vh,46px);padding-top:clamp(20px,2.4vh,26px);border-top:1px solid var(--lineD)}
body.ccg-e .ccg-colab p{font-size:14px;line-height:1.62;color:var(--d3,rgba(243,243,242,.56));margin:0;max-width:72ch}
body.ccg-e .ccg-colab a{color:var(--d1);text-decoration:none;box-shadow:inset 0 -1px 0 var(--rojo);transition:color .3s var(--out),box-shadow .3s var(--out)}
body.ccg-e .ccg-colab a:hover{color:var(--t1);box-shadow:inset 0 -2px 0 var(--rojo-l)}

/* --- dos botones de proyectos en la misma linea --- */
body.ccg-e .ccg-more{display:inline-block;vertical-align:middle}
body.ccg-e .ccg-more+.ccg-more{margin-left:14px}
@media(max-width:600px){body.ccg-e .ccg-more{display:block}body.ccg-e .ccg-more+.ccg-more{margin:12px 0 0}}

/* --- listas dentro del texto corrido --- */
body.ccg-e .ccg-txt ul,body.ccg-e .ccg-lead ul{list-style:none;margin:0;padding:0}
body.ccg-e .ccg-txt li{position:relative;padding-left:22px;margin-bottom:12px;font-size:16px;line-height:1.62;color:var(--d2)}
body.ccg-e .ccg-txt li:before{content:'';position:absolute;left:0;top:11px;width:8px;height:1px;background:var(--rojo-l)}

/* ================= ENCUADRE DE FOTOGRAFIAS =================
   Las fotos del taller son apaisadas (1,3-1,5). Las cajas verticales
   las recortaban hasta un 55%. Aqui se ajustan los marcos al material. */

body.ccg-e .ccg-procimg img{aspect-ratio:auto!important;height:auto!important;object-fit:contain!important}
@media(max-width:1024px){body.ccg-e .ccg-procimg img{aspect-ratio:auto!important}}

body.ccg-e .ccg-eqimg img{aspect-ratio:auto!important;height:auto!important;object-fit:contain!important}

body.ccg-e .ccg-gg>.elementor-widget-wrap>.ccg-tile.b{grid-column:span 2;grid-row:span 2}
body.ccg-e .ccg-gg>.elementor-widget-wrap>.ccg-tile.d{grid-row:span 1}

@media(min-width:1025px){
  body.ccg-e .ccg-sg>.elementor-container{flex-wrap:wrap}
  body.ccg-e .ccg-sg>.elementor-container>.elementor-column{width:50%!important;max-width:50%!important;flex:0 0 50%!important}
  body.ccg-e .ccg-sg>.elementor-container>.elementor-column{margin-bottom:clamp(14px,1.6vw,22px)}
  body.ccg-e .ccg-scard .elementor-cta{min-height:clamp(300px,25vw,380px)}
}

body.ccg-e .ccg-tfoto img{aspect-ratio:5/6!important;object-position:center 28%!important}
@media(max-width:767px){body.ccg-e .ccg-tfoto img{aspect-ratio:4/3!important;object-position:center 30%!important}}

body.ccg-e .ccg-more{display:inline-block!important;width:auto!important;vertical-align:middle}
body.ccg-e .ccg-more+.ccg-more{margin-left:14px!important;margin-top:0!important}
@media(max-width:600px){body.ccg-e .ccg-more{display:block!important}body.ccg-e .ccg-more+.ccg-more{margin:12px 0 0!important}}
