/* ===========================================================
   McIntyre Glass - bloques propios de Divi
   Marca existente: navy #011b4b + rojo #800000 (accent de Divi)
   Tipografia: Open Sans (la del tema). Sin letter-spacing.
   =========================================================== */

.mcg{
  --navy:#011b4b;
  --navy-2:#062a6b;
  --steel:#800000;
  --steel-dk:#C4161D;
  --ice:#eef3f9;
  --ice-2:#dee5f1;
  --ink:#16202f;
  --muted:#5b6b80;
  --line:#d7e0ec;
  --white:#fff;
  font-family:"Open Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  color:var(--ink);
  position:relative;
  box-sizing:border-box;
}
.mcg *,.mcg *:before,.mcg *:after{box-sizing:border-box}
.mcg img{max-width:100%;height:auto;display:block}
.mcg p{margin:0 0 1.05em;line-height:1.72;font-size:17px;color:var(--muted)}
.mcg a{text-decoration:none}

.mcg-shell{width:100%;max-width:1180px;margin:0 auto;padding:0 26px}

/* ---------- Tipografia comun ---------- */
.mcg .mcg-eyebrow{
  font-size:12.5px;font-weight:800;text-transform:uppercase;
  color:var(--steel-dk);margin:0 0 14px;line-height:1.3;
  display:flex;align-items:center;gap:10px;
}
.mcg .mcg-eyebrow:before{content:"";width:26px;height:2px;background:var(--steel);display:block;flex:none}
.mcg .mcg-eyebrow--light{color:#FF8A8F}
.mcg .mcg-eyebrow--light:before{background:#FF8A8F}

.mcg .mcg-h2{
  font-size:clamp(28px,3.5vw,42px);line-height:1.13;font-weight:800;
  color:var(--navy);margin:0 0 20px;max-width:20ch;
}
.mcg .mcg-h2--light{color:var(--white)}
.mcg .mcg-h2--sm{font-size:clamp(21px,2.2vw,26px);margin:0 0 12px;max-width:none}
.mcg .mcg-h3{font-size:20px;line-height:1.3;font-weight:800;color:var(--navy);margin:0 0 8px}
.mcg .mcg-lead{font-size:18px;line-height:1.75;color:#465767}

/* ---------- Botones ---------- */
.mcg .mcg-btn{
  display:inline-flex;align-items:center;gap:9px;
  padding:15px 27px;border-radius:4px;font-size:15.5px;font-weight:700;
  line-height:1.1;transition:.22s ease;border:2px solid transparent;
}
.mcg .mcg-btn__label{opacity:.72;font-weight:600}
.mcg .mcg-arrow{transition:transform .22s ease;display:inline-block}
.mcg .mcg-btn:hover .mcg-arrow{transform:translateX(4px)}

.mcg .mcg-btn--primary{background:var(--steel);color:#fff!important;border-color:var(--steel)}
.mcg .mcg-btn--primary:hover{background:var(--steel-dk);border-color:var(--steel-dk)}
.mcg .mcg-btn--ghost{background:rgba(255,255,255,.09);color:#fff!important;border-color:rgba(255,255,255,.5)}
.mcg .mcg-btn--ghost:hover{background:#fff;color:var(--navy)!important;border-color:#fff}
.mcg .mcg-btn--outline{background:transparent;color:var(--navy)!important;border-color:var(--line)}
.mcg .mcg-btn--outline:hover{border-color:var(--steel);color:var(--steel-dk)!important}
.mcg .mcg-btn--white{background:#fff;color:var(--navy)!important;border-color:#fff}
.mcg .mcg-btn--white:hover{background:var(--ice-2);border-color:var(--ice-2)}

/* ===========================  HERO  =========================== */
.mcg-hero{
  position:relative;overflow:hidden;
  min-height:min(78vh,640px);display:flex;align-items:center;
  padding:110px 0 96px;background:var(--navy);
}
.mcg-hero__bg{
  position:absolute;inset:0;background-size:cover;background-position:74% 62%;
  transform:scale(1.02);
}
.mcg-hero__veil{
  position:absolute;inset:0;
  background:linear-gradient(105deg,rgba(1,27,75,.94) 0%,rgba(1,27,75,.86) 42%,rgba(1,27,75,.42) 100%);
}
.mcg-hero__inner{position:relative;z-index:2}
.mcg .mcg-hero__title{
  font-size:clamp(34px,5.4vw,63px);line-height:1.04;font-weight:800;
  color:#fff!important;margin:0 0 22px;max-width:15ch;
}
.mcg .mcg-hero__sub{
  font-size:clamp(18px,2vw,22px);line-height:1.5;color:#cfe0f0;
  max-width:44ch;margin:0 0 20px;font-weight:600;
}
.mcg .mcg-hero__intro{color:#a9c2da;max-width:60ch;margin:0 0 34px;font-size:16.5px}
.mcg-hero__actions{display:flex;flex-wrap:wrap;gap:14px}

/* ===========================  TRUST BAR  =========================== */
.mcg-trust{background:var(--navy-2);padding:0}
.mcg-trust__row{display:flex;flex-wrap:wrap}
.mcg-trust__item{
  flex:1 1 220px;padding:22px 22px;color:#c6d8ea;font-size:14.5px;font-weight:700;
  border-right:1px solid rgba(255,255,255,.12);display:flex;align-items:center;gap:10px;line-height:1.4;
}
.mcg-trust__item:before{content:"";width:7px;height:7px;border-radius:50%;background:#FF8A8F;flex:none}
.mcg-trust__item:last-child{border-right:0}

/* ===========================  SERVICE CARDS  =========================== */
.mcg-cards{padding:96px 0 90px;background:#fff}
.mcg-cards__grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px;margin-top:12px;
}
.mcg-card{
  display:flex;flex-direction:column;background:#fff;
  border:1px solid var(--line);border-radius:6px;overflow:hidden;
  transition:transform .26s ease,box-shadow .26s ease,border-color .26s ease;
}
.mcg-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(1,27,75,.14);border-color:var(--steel)}
.mcg-card__media{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--ice-2)}
.mcg-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.mcg-card:hover .mcg-card__media img{transform:scale(1.06)}
.mcg-card__body{display:flex;flex-direction:column;flex:1;padding:24px 22px 22px}
.mcg-card__title{
  display:block;font-size:18.5px;font-weight:800;line-height:1.26;
  color:var(--navy);margin-bottom:10px;
}
.mcg-card__text{display:block;font-size:15px;line-height:1.65;color:var(--muted);flex:1;margin-bottom:16px}
.mcg-card__link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14.5px;font-weight:800;color:var(--steel-dk);
}
.mcg-card:hover .mcg-card__link .mcg-arrow{transform:translateX(4px)}

/* ===========================  CAPABILITIES  =========================== */
.mcg-cap{padding:92px 0;background:var(--ice)}
.mcg-cap__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:center}
.mcg-cap__list{
  list-style:none;margin:18px 0 0;padding:0;
  display:grid;grid-template-columns:1fr 1fr;gap:11px 24px;
}
.mcg-cap__list li{
  position:relative;padding-left:26px;font-size:15.5px;line-height:1.5;
  color:var(--ink);font-weight:600;
}
.mcg-cap__list li:before{
  content:"";position:absolute;left:0;top:7px;width:12px;height:7px;
  border-left:2.5px solid var(--steel);border-bottom:2.5px solid var(--steel);
  transform:rotate(-45deg);
}
.mcg-cap__media img{border-radius:6px;box-shadow:0 22px 50px rgba(1,27,75,.18);width:100%;aspect-ratio:4/5;object-fit:cover}

/* ===========================  WHO WE WORK WITH  =========================== */
.mcg-aud{padding:86px 0;background:var(--navy)}
.mcg-aud__chips{display:flex;flex-wrap:wrap;gap:12px;margin:6px 0 28px}
.mcg-chip{
  display:inline-block;padding:11px 20px;border-radius:100px;
  border:1px solid rgba(255,255,255,.25);color:#dae7f4;
  font-size:15px;font-weight:600;line-height:1.2;
}
.mcg .mcg-aud__note{color:#a9c2da;max-width:70ch;margin:0;font-size:16.5px}

/* ===========================  WHY US  =========================== */
.mcg-why{padding:92px 0;background:#fff}
.mcg-why__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:14px}
.mcg-why__item{border-top:3px solid var(--steel);padding-top:22px}
.mcg-why__num{
  display:block;font-size:13px;font-weight:800;color:var(--steel-dk);margin-bottom:10px;
}
.mcg-why__item p{margin:0;font-size:16px}

/* ===========================  CTA BAND  =========================== */
.mcg-cta{padding:64px 0;background:var(--steel)}
.mcg-cta__row{display:flex;align-items:center;justify-content:space-between;gap:44px;flex-wrap:wrap}
.mcg-cta__copy{flex:1 1 460px}
.mcg-cta__copy .mcg-h2{margin-bottom:10px;max-width:none}
.mcg .mcg-cta__copy p{color:#fff;margin:0;max-width:60ch;font-size:16.5px}
.mcg-cta__actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.mcg .mcg-cta__phone{
  font-size:clamp(22px,2.4vw,29px);font-weight:800;color:#fff!important;line-height:1.1;
  border-bottom:2px solid rgba(255,255,255,.45);padding-bottom:3px;
}
.mcg .mcg-cta__phone:hover{border-bottom-color:#fff}

/* ===========================  SERVICE HERO  =========================== */
.mcg-shero{padding:74px 0 66px;background:var(--ice);border-bottom:1px solid var(--line)}
.mcg-shero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.mcg .mcg-crumb{margin:0 0 16px;font-size:13px;font-weight:800;text-transform:uppercase}
.mcg .mcg-crumb a{color:var(--steel-dk)}
.mcg .mcg-crumb a:before{content:"\2190";margin-right:8px}
.mcg .mcg-crumb a:hover{color:var(--navy)}
.mcg .mcg-shero__title{
  font-size:clamp(30px,4.3vw,50px);line-height:1.08;font-weight:800;
  color:var(--navy)!important;margin:0 0 16px;max-width:17ch;
}
.mcg .mcg-shero__sub{font-size:clamp(17px,1.9vw,21px);font-weight:700;color:var(--steel-dk);margin:0 0 18px}
.mcg-shero__media img{border-radius:6px;box-shadow:0 22px 50px rgba(1,27,75,.16);width:100%;aspect-ratio:4/3;object-fit:cover}

/* ===========================  SERVICE BODY  =========================== */
.mcg-sbody{padding:82px 0;background:#fff}
.mcg-sbody--ice{background:var(--ice)}
.mcg-sbody__grid{display:grid;gap:44px}
.mcg-sbody__block{max-width:78ch}
.mcg-sbody__block p{font-size:17px;margin:0 0 1.05em}
.mcg-sbody__block p:last-child{margin-bottom:0}
.mcg-sbody__list{margin:0 0 4px;padding:0}
.mcg-sbody__list li{
  position:relative;padding-left:26px;margin-bottom:12px;
  font-size:16.5px;line-height:1.65;color:var(--muted);
}
.mcg-sbody__list li:before{
  content:"";position:absolute;left:0;top:9px;width:11px;height:6px;
  border-left:2.5px solid var(--steel);border-bottom:2.5px solid var(--steel);
  transform:rotate(-45deg);
}
.mcg-sbody__list li strong{color:var(--navy);font-weight:800}
.mcg .mcg-sbody__btn{margin-top:10px}

/* ===========================  FAQ  =========================== */
.mcg-faq{padding:86px 0;background:#fff;border-top:1px solid var(--line)}
.mcg-faq__wrap{max-width:880px}
.mcg-faq__list{margin-top:14px;border-top:1px solid var(--line)}
.mcg-faq__item{border-bottom:1px solid var(--line)}
.mcg .mcg-faq__q{
  width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:22px;
  background:none;border:0;padding:22px 0;cursor:pointer;text-align:left;
  font-family:inherit;font-size:17.5px;font-weight:800;color:var(--navy);line-height:1.4;
}
.mcg .mcg-faq__q:hover{color:var(--steel-dk)}
.mcg-faq__sign{
  position:relative;flex:none;width:18px;height:18px;margin-top:4px;
}
.mcg-faq__sign:before,.mcg-faq__sign:after{
  content:"";position:absolute;background:var(--steel);transition:transform .25s ease;
}
.mcg-faq__sign:before{left:0;top:8px;width:18px;height:2.5px}
.mcg-faq__sign:after{left:7.75px;top:0;width:2.5px;height:18px}
.mcg-faq__item.is-open .mcg-faq__sign:after{transform:scaleY(0)}
.mcg-faq__a{max-height:0;overflow:hidden;transition:max-height .32s ease}
.mcg-faq__item.is-open .mcg-faq__a{max-height:600px}
.mcg-faq__a p{margin:0 0 22px;padding-right:40px;font-size:16.5px}

/* ===========================  RESPONSIVE  =========================== */
@media (max-width:1080px){
  .mcg-cards__grid{grid-template-columns:repeat(2,1fr)}
  .mcg-cap__grid{grid-template-columns:1fr;gap:40px}
  .mcg-cap__media img{aspect-ratio:16/9}
  .mcg-shero__grid{grid-template-columns:1fr;gap:36px}
  .mcg-why__grid{grid-template-columns:1fr;gap:26px}
}
@media (max-width:760px){
  .mcg-shell{padding:0 20px}
  .mcg-hero{padding:82px 0 70px;min-height:0}
  .mcg .mcg-hero__title{max-width:none}
  .mcg-hero__actions{flex-direction:column;align-items:stretch}
  .mcg .mcg-btn{justify-content:center;width:100%}
  .mcg-trust__item{flex:1 1 100%;border-right:0;border-bottom:1px solid rgba(255,255,255,.12);padding:16px 20px}
  .mcg-trust__item:last-child{border-bottom:0}
  .mcg-cards{padding:64px 0}
  .mcg-cards__grid{grid-template-columns:1fr;gap:20px}
  .mcg-cap,.mcg-why,.mcg-aud,.mcg-faq,.mcg-sbody{padding:62px 0}
  .mcg-cap__list{grid-template-columns:1fr}
  .mcg-shero{padding:52px 0 48px}
  .mcg-cta{padding:52px 0}
  .mcg-cta__row{flex-direction:column;align-items:flex-start;gap:26px}
  .mcg-cta__actions{flex-direction:column;align-items:stretch;width:100%;gap:18px}
  .mcg .mcg-cta__phone{display:inline-block}
  .mcg .mcg-faq__q{font-size:16.5px}
  .mcg-faq__a p{padding-right:0}
}

/* ---------- Neutralizar el envoltorio de Divi en las paginas con bloques MCG ----------
   Divi encaja cada modulo en seccion + fila al 80%; nuestras secciones son
   a sangre completa y se maquetan solas.
   ATENCION: todo va acotado a `#main-content .entry-content`. La cabecera y el pie de McIntyre son
   plantillas del Theme Builder (`_tb_header` / `.et-l--footer`) hechas TAMBIEN con secciones,
   filas y columnas de Divi: si estas anulaciones salen del contenido, las aplastan. */
body.mcg-page #main-content > .container{width:100%!important;max-width:none!important;padding:0!important}
body.mcg-page #main-content > .container:before{display:none!important}
body.mcg-page #main-content .entry-content{margin:0!important;padding:0!important}
/* Solo las secciones que creamos nosotros llevan la clase .mcg-section.
   NUNCA usar `.et_pb_section` a secas: en la home conviven nuestras secciones con las
   antiguas del cliente, y en cabecera y pie hay mas secciones de Divi. */
.et_pb_section.mcg-section{padding:0!important;margin:0!important;background-color:transparent!important}
.et_pb_section.mcg-section .et_pb_row{width:100%!important;max-width:none!important;padding:0!important;margin:0 auto!important}
.et_pb_section.mcg-section .et_pb_column{width:100%!important;margin:0!important;padding:0!important;float:none!important}
.et_pb_section.mcg-section .et_pb_module{margin-bottom:0!important}
body.mcg-page #main-content h1.entry-title,body.mcg-page #main-content .et_post_meta_wrapper{display:none!important}
/* Divi pinta viñetas de disco en toda lista dentro de .entry-content */
.mcg ul,.mcg ol{list-style:none!important;padding:0!important}
.mcg li{list-style:none!important;list-style-type:none!important}
