
:root{
  --primary:#008eb4;
  --secondary:#3fb6ff;
  --accent:#2adeff;
  --dark:#172431;
  --text:#4d4d4d;
  --light:#f4fbff;
  --white:#fff;
  --line:rgba(0,142,180,.13);
  --shadow:0 22px 60px rgba(20,75,100,.13);
  --shadow-lg:0 35px 90px rgba(0,142,180,.23);
  --radius:22px;
  --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:inherit}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:auto}
.skip-link:focus{left:16px;top:16px;z-index:9999;background:#fff;padding:10px 14px;border-radius:8px}
.topbar{background:#0e2433;color:rgba(255,255,255,.88);font-size:.88rem}
.topbar .container{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar a{text-decoration:none}
.topbar-items,.socials{display:flex;align-items:center;gap:22px}
.header{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.navbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo img{width:260px;display:block}
.nav{display:flex;align-items:center;gap:26px}
.nav a{position:relative;text-decoration:none;color:var(--dark);font-weight:700;font-size:.96rem}
.nav a:not(.btn)::after{
  content:"";position:absolute;left:0;right:0;bottom:-10px;height:3px;
  background:linear-gradient(90deg,var(--primary),var(--accent));
  border-radius:99px;transform:scaleX(0);transform-origin:left;transition:.25s ease;
}
.nav a:hover::after,.nav a.active::after{transform:scaleX(1)}
.menu-toggle{display:none;background:none;border:0;font-size:1.8rem;cursor:pointer;color:var(--dark)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:50px;padding:13px 24px;border-radius:11px;
  text-decoration:none;font-weight:800;border:1px solid transparent;
  transition:.28s ease;cursor:pointer;font:inherit;
}
.btn-primary{color:#fff;background:linear-gradient(135deg,var(--primary),var(--secondary));box-shadow:0 14px 28px rgba(0,142,180,.24)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 20px 38px rgba(0,142,180,.31)}
.btn-outline{color:var(--primary);background:#fff;border-color:rgba(0,142,180,.28)}
.btn-outline:hover{color:#fff;background:var(--primary);transform:translateY(-3px)}
.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 8% 18%,rgba(42,222,255,.17),transparent 26%),
    radial-gradient(circle at 90% 16%,rgba(63,182,255,.18),transparent 29%),
    linear-gradient(125deg,#fff 0%,#f5fbff 54%,#e9f8ff 100%);
}
.hero::after{content:"";position:absolute;width:530px;height:530px;right:-260px;bottom:-290px;border:55px solid rgba(0,142,180,.06);border-radius:50%}
.hero-grid{position:relative;z-index:1;min-height:690px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px;padding:76px 0}
.eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;color:var(--primary);font-size:.82rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.eyebrow::before{content:"";width:34px;height:3px;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:99px}
h1,h2,h3,h4{margin:0 0 18px;color:var(--dark);line-height:1.12;letter-spacing:-.035em}
h1{font-size:clamp(3rem,5.3vw,5.25rem);line-height:1.02}
h2{font-size:clamp(2.1rem,4vw,3.6rem)}
h3{font-size:1.35rem}
.hero h1 span{color:var(--primary);display:block}
.hero-copy{max-width:690px;font-size:1.14rem;margin-bottom:32px}
.actions{display:flex;flex-wrap:wrap;gap:14px}
.visual{
  min-height:520px;position:relative;overflow:hidden;
  border-radius:40px 40px 130px 40px;
  background:
    linear-gradient(150deg,rgba(0,142,180,.98),rgba(63,182,255,.94)),
    var(--primary);
  box-shadow:var(--shadow-lg);transform:rotate(1deg);
}
.visual::before{content:"";position:absolute;inset:26px;border:1px solid rgba(255,255,255,.28);border-radius:26px 26px 100px 26px}
.visual::after{content:"";position:absolute;width:280px;height:280px;right:-90px;bottom:-120px;border:40px solid rgba(255,255,255,.1);border-radius:50%}
.visual .orb{position:absolute;border-radius:50%;background:rgba(255,255,255,.16)}
.visual .orb.one{width:190px;height:190px;right:-30px;top:-45px}
.visual .orb.two{width:90px;height:90px;left:45px;top:90px}
.visual-content{position:absolute;z-index:2;left:52px;right:52px;bottom:54px;color:#fff}
.visual-content .eyebrow{color:#fff}
.visual-content .eyebrow::before{background:#fff}
.visual-content h2{color:#fff;font-size:clamp(2.5rem,4vw,4rem)}
.visual-content p{color:rgba(255,255,255,.9);max-width:390px}
.stats{position:relative;z-index:4;margin-top:-42px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.95);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;backdrop-filter:blur(14px)}
.stat{padding:30px 24px;text-align:center;position:relative}
.stat:not(:last-child)::after{content:"";position:absolute;right:0;top:26px;bottom:26px;width:1px;background:var(--line)}
.stat strong{display:block;color:var(--primary);font-size:2.5rem;letter-spacing:-.04em;line-height:1}
.stat span{display:block;margin-top:9px;font-size:.9rem;font-weight:700}
.section{padding:105px 0}
.section-light{background:linear-gradient(180deg,#f8fdff,#edf9ff)}
.section-dark{background:linear-gradient(135deg,#102534,#07364a);color:rgba(255,255,255,.85)}
.section-dark h2,.section-dark h3,.section-dark h4{color:#fff}
.section-head{max-width:760px;margin:0 auto 54px;text-align:center}
.section-head p{max-width:680px;margin:0 auto;font-size:1.05rem}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{
  height:100%;display:flex;flex-direction:column;padding:32px 28px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 18px 48px rgba(25,75,100,.08);transition:.3s ease;position:relative;overflow:hidden;
}
.card::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--primary),var(--accent));transform:scaleX(0);transform-origin:left;transition:.3s ease}
.card:hover{transform:translateY(-10px);box-shadow:0 28px 70px rgba(0,142,180,.18)}
.card:hover::before{transform:scaleX(1)}
.icon{
  width:76px;height:76px;display:grid;place-items:center;margin-bottom:24px;
  border-radius:22px;color:var(--primary);
  background:linear-gradient(135deg,rgba(63,182,255,.18),rgba(42,222,255,.12));
  border:1px solid var(--line);font-size:2rem;
}
.card p{flex-grow:1}
.card-link{color:var(--primary);font-weight:900;text-decoration:none}
.card-link:hover{color:var(--secondary)}
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:72px;align-items:center}
.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.feature{padding:25px;display:flex;gap:18px;align-items:center;background:#f8fcfe;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 35px rgba(25,75,100,.07);position:relative;overflow:hidden}
.feature::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(var(--primary),var(--accent))}
.feature strong{font-size:1.9rem;color:var(--secondary)}
.feature span{font-weight:800;color:var(--dark)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step{text-align:center;padding:32px 24px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 15px 40px rgba(20,80,110,.08)}
.step-number{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--secondary))}
.sectors{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.pill{padding:12px 18px;border-radius:999px;background:#fff;border:1px solid var(--line);box-shadow:0 9px 25px rgba(20,80,110,.06);font-weight:800;color:var(--dark)}
.cta{
  display:flex;align-items:center;justify-content:space-between;gap:48px;
  padding:64px;border-radius:30px;color:#fff;
  background:
    radial-gradient(circle at top right,rgba(255,255,255,.17),transparent 35%),
    linear-gradient(135deg,var(--primary),var(--secondary));
  box-shadow:var(--shadow-lg);
}
.cta h2,.cta p{color:#fff}
.cta p{margin:0;color:rgba(255,255,255,.9)}
.page-hero{padding:110px 0 80px;background:linear-gradient(125deg,#fff,#edf9ff)}
.page-hero p{max-width:760px;font-size:1.1rem}
.content-grid{display:grid;grid-template-columns:1fr 360px;gap:55px}
.sidebar-card{padding:28px;background:#f7fcff;border:1px solid var(--line);border-radius:18px;position:sticky;top:120px}
.checklist{list-style:none;padding:0;margin:24px 0}
.checklist li{padding:10px 0 10px 30px;position:relative;border-bottom:1px solid rgba(0,142,180,.08)}
.checklist li::before{content:"✓";position:absolute;left:0;color:var(--primary);font-weight:900}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 16px 45px rgba(20,80,110,.08)}
.post-card .thumb{height:200px;background:linear-gradient(135deg,var(--primary),var(--secondary));position:relative}
.post-card .thumb::after{content:"";position:absolute;inset:25px;border:1px solid rgba(255,255,255,.35);border-radius:16px}
.post-card .body{padding:25px}
.post-meta{font-size:.85rem;color:var(--primary);font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px}
.contact-card{padding:32px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.form-field{display:flex;flex-direction:column;gap:7px}
.form-field.full{grid-column:1/-1}
label{font-weight:800;color:var(--dark)}
input,select,textarea{width:100%;padding:14px 15px;border:1px solid #d5e8ef;border-radius:10px;background:#f9fcfe;font:inherit;color:var(--dark)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--secondary);box-shadow:0 0 0 4px rgba(63,182,255,.13);background:#fff}
textarea{min-height:150px;resize:vertical}
.notice{padding:13px 15px;border-radius:10px;margin-bottom:18px}
.notice.ok{background:#e8fff2;color:#17683b}
.notice.error{background:#fff0f0;color:#8e2323}
.footer{background:#102534;color:rgba(255,255,255,.76);padding:70px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px}
.footer h4{color:#fff}
.footer a{color:rgba(255,255,255,.78);text-decoration:none}
.footer a:hover{color:var(--accent)}
.footer-logo{width:245px;margin-bottom:20px}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:45px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:.88rem}
.whatsapp{position:fixed;right:22px;bottom:22px;z-index:999;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#25d366;text-decoration:none;font-size:1.6rem;box-shadow:0 14px 34px rgba(37,211,102,.35)}
.reveal{opacity:0;transform:translateY(22px);transition:.7s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:1024px){
  .topbar{display:none}
  .menu-toggle{display:block}
  .nav{position:fixed;left:18px;right:18px;top:88px;display:none;flex-direction:column;align-items:stretch;background:#fff;padding:22px;border-radius:18px;box-shadow:var(--shadow);border:1px solid var(--line)}
  .nav.open{display:flex}
  .nav a{padding:10px 4px}
  .hero-grid,.split,.contact-grid,.content-grid{grid-template-columns:1fr}
  .cards,.steps{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2)::after{display:none}
  .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .sidebar-card{position:static}
}
@media(max-width:700px){
  .container{width:min(100% - 28px,var(--container))}
  .logo img{width:215px}
  .navbar{min-height:76px}
  .nav{top:80px}
  .hero-grid{min-height:auto;padding:60px 0;gap:42px}
  .hero h1{font-size:clamp(2.5rem,13vw,3.8rem)}
  .visual{min-height:410px;border-radius:28px 28px 80px 28px;transform:none}
  .visual-content{left:28px;right:28px;bottom:35px}
  .stats{margin-top:20px}
  .stats-grid,.cards,.steps,.feature-grid,.blog-grid,.form-grid,.footer-grid{grid-template-columns:1fr}
  .stat:not(:last-child)::after{top:auto;left:24px;right:24px;bottom:0;width:auto;height:1px}
  .stat:nth-child(-n+2){border-bottom:0}
  .section{padding:74px 0}
  .cta{padding:42px 25px;align-items:stretch;flex-direction:column}
  .footer-bottom{flex-direction:column}
}


/* ==========================================================
   GRUPO INSPIRAS — DISEÑO MAESTRO APROBADO / V2
   ========================================================== */

.header .navbar{
  min-height:88px!important;
  padding:10px 0!important;
}
.header .logo img{
  width:265px!important;
  max-width:265px!important;
  max-height:58px!important;
  object-fit:contain!important;
}
.header .nav{gap:24px!important}
.section{padding:64px 0!important;min-height:0!important}
.page-hero{padding:62px 0!important;min-height:0!important}
.compact-section{padding-top:58px!important;padding-bottom:58px!important}
.section-head{margin-bottom:32px!important}
.left-head{text-align:left!important;margin-left:0!important;margin-right:0!important}
.left-head p{margin-left:0!important}
.hero-photo{padding:0!important;min-height:0!important}
.hero-photo .hero-grid{
  min-height:510px!important;
  padding:0!important;
  grid-template-columns:46% 54%!important;
  gap:0!important;
  width:100%!important;
  max-width:none!important;
}
.hero-copy-col{
  padding:56px max(42px,calc((100vw - 1180px)/2)) 56px max(42px,calc((100vw - 1180px)/2));
}
.hero-photo h1{font-size:clamp(3rem,4.4vw,4.55rem)!important}
.hero-media{height:510px;overflow:hidden}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.stats{margin-top:-30px!important}
.stats-grid{max-width:1180px}
.stat{padding:25px 20px!important;min-height:118px}
.service-image-cards .card{padding:0!important;min-height:0!important}
.card-photo{display:block;width:100%;height:150px;object-fit:cover}
.card-body{padding:22px 22px 24px;display:flex;flex-direction:column;height:100%}
.card-body .icon{width:48px;height:48px;margin-top:-46px;margin-bottom:15px;border-radius:50%;background:linear-gradient(135deg,#008eb4,#3fb6ff);color:#fff;border:4px solid #fff;position:relative;z-index:2}
.card-body p{font-size:.93rem}
.about-band{padding:0!important;background:linear-gradient(90deg,#eefaff,#fff)}
.about-grid{display:grid;grid-template-columns:30% 30% 40%;align-items:stretch;max-width:none!important;width:100%!important}
.about-photo{min-height:320px}
.about-photo img{width:100%;height:100%;object-fit:cover}
.about-copy{padding:52px 36px}
.about-copy h2{font-size:clamp(2rem,3vw,3rem)}
.about-band .feature-grid{padding:42px 42px 42px 0;align-content:center}
.about-band .feature{min-height:92px;padding:18px}
.methodology{background:#fff}
.connected-steps{position:relative}
.connected-steps::before{content:"";position:absolute;top:29px;left:10%;right:10%;height:1px;background:rgba(0,142,180,.25)}
.connected-steps .step{box-shadow:none!important;border:0!important;background:transparent!important;padding:0 18px!important}
.connected-steps .step-number{position:relative;z-index:2;border:7px solid #fff}
.media-band{padding:38px 0;background:linear-gradient(135deg,#0f3045,#0a2131);color:#fff}
.media-grid{display:grid;grid-template-columns:31% 39% 30%;align-items:center;gap:28px}
.media-band h2{color:#fff;font-size:clamp(2rem,3vw,3.2rem);margin-bottom:10px}
.media-band p{color:rgba(255,255,255,.82);margin:0}
.light-eyebrow{color:#fff!important}
.light-eyebrow::before{background:#fff!important}
.media-video video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 48px rgba(0,0,0,.24)}
.media-points{display:grid;gap:15px}
.media-points>div{display:flex;align-items:center;gap:13px}
.media-points strong{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.1);color:#3fb6ff;font-size:1.25rem}
.media-points span{font-weight:800;color:#fff;line-height:1.3}
.sectors-section .section-head{max-width:none}
.sectors-section .section-head h2{font-size:clamp(1.9rem,3vw,2.7rem)}
.cta-wrap{padding:26px 0 62px}
.cta{padding:38px 48px!important;min-height:0!important}
.cta h2{font-size:clamp(1.9rem,3vw,2.8rem);margin-bottom:8px}
.cta-button{background:#fff!important;color:#008eb4!important;border-color:#fff!important}
.footer{padding-top:48px!important;padding-bottom:22px!important}

@media(max-width:1024px){
  .header .logo img{width:220px!important}
  .hero-photo .hero-grid{grid-template-columns:1fr!important}
  .hero-copy-col{padding:54px 34px}
  .hero-media{height:390px}
  .stats{margin-top:20px!important}
  .about-grid{grid-template-columns:1fr 1fr!important}
  .about-photo{min-height:300px}
  .about-band .feature-grid{grid-column:1/-1;padding:0 32px 40px}
  .media-grid{grid-template-columns:1fr 1fr}
  .media-points{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}
}
@media(max-width:700px){
  .header .navbar{min-height:72px!important}
  .header .logo img{width:180px!important;max-height:48px!important}
  .section,.page-hero,.compact-section{padding:44px 0!important}
  .hero-copy-col{padding:44px 22px}
  .hero-media{height:300px}
  .service-image-cards .card-photo{height:180px}
  .about-grid{grid-template-columns:1fr!important}
  .about-photo{min-height:250px}
  .about-copy{padding:36px 24px}
  .about-band .feature-grid{grid-column:auto;padding:0 24px 36px}
  .connected-steps::before{display:none}
  .media-grid{grid-template-columns:1fr}
  .media-points{grid-column:auto;grid-template-columns:1fr}
  .cta{padding:34px 24px!important}
}

/* ==========================================================
   GRUPO INSPIRAS — V2.1 COMPACTA
   ========================================================== */

html,body{margin:0!important;padding:0!important}
body{overflow-x:hidden!important}

.topbar{height:34px!important;min-height:34px!important}
.topbar .container{height:34px!important;min-height:34px!important}

.header{position:relative!important;top:auto!important;height:auto!important;min-height:0!important}
.header .navbar{
  height:82px!important;
  min-height:82px!important;
  padding:7px 0!important;
  align-items:center!important
}
.header .logo{
  height:64px!important;
  display:flex!important;
  align-items:center!important
}
.header .logo img{
  display:block!important;
  width:220px!important;
  max-width:220px!important;
  height:auto!important;
  max-height:54px!important;
  object-fit:contain!important;
  object-position:left center!important
}
.header .nav{gap:22px!important;align-items:center!important}

.hero,.hero-photo,.hero .hero-grid,.hero-photo .hero-grid{min-height:0!important}
.hero-photo .hero-grid{
  height:470px!important;
  padding:0!important;
  margin:0!important;
  grid-template-columns:46% 54%!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:none!important
}
.hero-copy-col{
  height:470px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding-top:38px!important;
  padding-bottom:38px!important
}
.hero-media{height:470px!important;min-height:0!important}
.hero-media img{height:100%!important;object-fit:cover!important;object-position:center!important}
.hero-photo h1{
  font-size:clamp(2.8rem,4.05vw,4.25rem)!important;
  line-height:1.02!important;
  margin-bottom:18px!important
}
.hero-copy{margin-bottom:24px!important}

.stats{margin-top:-32px!important;padding:0!important}
.stats-grid{min-height:0!important}
.stat{min-height:104px!important;padding:20px 18px!important}

.section,.compact-section,.page-hero{
  min-height:0!important;
  padding-top:52px!important;
  padding-bottom:52px!important;
  margin-top:0!important;
  margin-bottom:0!important
}
.section>.container,.compact-section>.container,.page-hero>.container{
  min-height:0!important;
  margin-top:0!important;
  margin-bottom:0!important
}
.section-head{margin-top:0!important;margin-bottom:28px!important}
.section-head h2{margin-bottom:12px!important}
.cards,.steps,.sectors,.feature-grid{margin-top:0!important;margin-bottom:0!important}

.service-image-cards{gap:18px!important}
.service-image-cards .card{min-height:0!important}
.card-photo{height:138px!important}
.card-body{padding:20px 20px 22px!important}
.card-body p{margin-bottom:16px!important}

.about-band{min-height:0!important;padding:0!important}
.about-grid{min-height:0!important}
.about-photo{min-height:270px!important;height:270px!important}
.about-copy{padding-top:34px!important;padding-bottom:34px!important}
.about-band .feature-grid{padding-top:26px!important;padding-bottom:26px!important}
.about-band .feature{min-height:78px!important}

.methodology{padding-top:46px!important;padding-bottom:46px!important}
.connected-steps .step{padding-top:0!important;padding-bottom:0!important}
.connected-steps .step p{margin-bottom:0!important}

.media-band{min-height:0!important;padding:34px 0!important}
.media-grid{
  min-height:0!important;
  grid-template-columns:30% 40% 30%!important;
  gap:24px!important
}
.media-video{max-width:520px!important;margin:0 auto!important}
.media-video video{
  width:100%!important;
  height:auto!important;
  max-height:265px!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important
}
.media-points{gap:11px!important}
.media-points>div{min-height:44px!important}

.sectors-section{padding-top:46px!important;padding-bottom:46px!important}
.sectors{gap:10px!important}

.cta-wrap{padding-top:18px!important;padding-bottom:48px!important}
.cta{min-height:0!important;padding:32px 42px!important}
.cta h2{margin-bottom:6px!important}

.content-grid{min-height:0!important;align-items:start!important;gap:42px!important}
.content-grid article,.content-grid aside{min-height:0!important}
.sidebar-card{min-height:0!important;padding:24px!important}
.checklist{margin-top:16px!important;margin-bottom:16px!important}
.checklist li{padding-top:8px!important;padding-bottom:8px!important}

.blog-grid{gap:20px!important}
.post-card .thumb{height:170px!important}

.footer{padding-top:42px!important;padding-bottom:18px!important}
.footer-bottom{margin-top:28px!important}

@media(max-width:1024px){
  .header .navbar{height:76px!important;min-height:76px!important}
  .header .logo img{width:190px!important;max-width:190px!important;max-height:48px!important}
  .hero-photo .hero-grid{height:auto!important;grid-template-columns:1fr!important}
  .hero-copy-col{height:auto!important;padding:44px 30px!important}
  .hero-media{height:320px!important}
  .stats{margin-top:14px!important}
  .section,.compact-section,.page-hero{padding-top:44px!important;padding-bottom:44px!important}
  .about-grid{grid-template-columns:1fr 1fr!important}
  .about-photo{height:260px!important}
  .media-grid{grid-template-columns:1fr 1fr!important}
  .media-points{grid-column:1/-1!important;grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:700px){
  .topbar{display:none!important}
  .header .navbar{height:70px!important;min-height:70px!important}
  .header .logo{height:52px!important}
  .header .logo img{width:165px!important;max-width:165px!important;max-height:44px!important}
  .hero-copy-col{padding:38px 22px!important}
  .hero-media{height:270px!important}
  .hero-photo h1{font-size:clamp(2.35rem,12vw,3.3rem)!important}
  .section,.compact-section,.page-hero{padding-top:38px!important;padding-bottom:38px!important}
  .about-grid{grid-template-columns:1fr!important}
  .about-photo{height:230px!important}
  .media-grid{grid-template-columns:1fr!important}
  .media-video{max-width:none!important}
  .media-video video{max-height:none!important}
  .media-points{grid-column:auto!important;grid-template-columns:1fr!important}
  .cta{padding:30px 22px!important}
}

/* =========================================================
   V2.2 — refinamiento de jerarquía visual
   Títulos más contenidos + video más compacto + logo visible
   ========================================================= */

/* Jerarquía tipográfica: reduce protagonismo sin perder impacto */
h1{font-size:clamp(2.75rem,4.35vw,3.85rem)!important;line-height:1.04!important}
h2{font-size:clamp(1.95rem,3.15vw,2.85rem)!important;line-height:1.08!important}
.page-hero h1{font-size:clamp(2.75rem,4.35vw,3.85rem)!important;max-width:1120px}
.hero-photo h1{font-size:clamp(2.65rem,3.55vw,3.65rem)!important;line-height:1.03!important}
.about-copy h2,.media-band h2{font-size:clamp(1.9rem,2.6vw,2.65rem)!important}
.sectors-section .section-head h2,.cta h2{font-size:clamp(1.8rem,2.55vw,2.5rem)!important}

/* Logo: mayor presencia dentro del header existente */
.header .logo img{width:250px!important;max-width:250px!important;max-height:60px!important}

/* Video: conserva 16:9, pero ocupa menos espacio y pesa menos visualmente */
.media-grid{grid-template-columns:32% 36% 32%!important;gap:22px!important;align-items:center!important}
.media-video{width:100%!important;max-width:440px!important;margin:0 auto!important}
.media-video video{width:100%!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:14px!important}
.media-band{padding-top:30px!important;padding-bottom:30px!important}

/* Servicios: compactación final de los bloques largos */
.content-grid{gap:36px!important}
.content-grid .checklist li{padding-top:7px!important;padding-bottom:7px!important}

@media(max-width:1024px){
  h1,.page-hero h1{font-size:clamp(2.5rem,6.2vw,3.45rem)!important}
  h2{font-size:clamp(1.9rem,4.6vw,2.65rem)!important}
  .hero-photo h1{font-size:clamp(2.45rem,5.7vw,3.25rem)!important}
  .header .logo img{width:215px!important;max-width:215px!important;max-height:52px!important}
  .media-grid{grid-template-columns:1fr 1fr!important}
  .media-video{max-width:430px!important}
}

@media(max-width:700px){
  h1,.page-hero h1{font-size:clamp(2.15rem,10vw,2.8rem)!important;line-height:1.05!important}
  h2{font-size:clamp(1.75rem,8vw,2.3rem)!important}
  .hero-photo h1{font-size:clamp(2.1rem,10vw,2.75rem)!important}
  .header .logo img{width:185px!important;max-width:185px!important;max-height:46px!important}
  .media-grid{grid-template-columns:1fr!important}
  .media-video{max-width:100%!important}
  .media-band{padding-top:28px!important;padding-bottom:28px!important}
}


/* =========================================================
   V2.3 — logo horizontal + imágenes HQ + hero/video afinados
   ========================================================= */

/* Logo horizontal oficial */
.header .logo{
  width:300px!important;
  min-width:300px!important;
  height:58px!important;
  overflow:visible!important;
}
.header .logo img{
  width:285px!important;
  max-width:285px!important;
  height:auto!important;
  max-height:56px!important;
  object-fit:contain!important;
  object-position:left center!important;
}

/* Header compacto: más marca, misma altura */
.header .navbar{
  height:82px!important;
  min-height:82px!important;
}
.header .nav{
  margin-left:auto!important;
  gap:20px!important;
}

/* Hero: título nunca pegado ni escondido bajo navegación */
.hero-photo .hero-grid{
  height:455px!important;
  min-height:455px!important;
}
.hero-copy-col{
  height:455px!important;
  padding-top:52px!important;
  padding-bottom:42px!important;
  justify-content:center!important;
}
.hero-photo h1{
  font-size:clamp(2.55rem,3.35vw,3.45rem)!important;
  max-width:590px!important;
  margin-top:0!important;
  margin-bottom:18px!important;
}
.hero-copy{
  max-width:560px!important;
}
.hero-media{
  height:455px!important;
  background:#dff7ff!important;
}
.hero-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 48%!important;
  image-rendering:auto!important;
}

/* Tarjetas: fotografía con mayor presencia y mejor encuadre */
.card-photo{
  height:155px!important;
  object-fit:cover!important;
  object-position:center!important;
  image-rendering:auto!important;
}
.service-image-cards .card{
  overflow:hidden!important;
}

/* Imagen de Nosotros */
.about-photo{
  height:285px!important;
  min-height:285px!important;
}
.about-photo img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Video más sobrio y compacto */
.media-band{
  padding-top:26px!important;
  padding-bottom:26px!important;
}
.media-grid{
  grid-template-columns:34% 32% 34%!important;
  gap:20px!important;
}
.media-video{
  max-width:380px!important;
}
.media-video video{
  width:100%!important;
  aspect-ratio:16/9!important;
  max-height:214px!important;
  object-fit:cover!important;
  border-radius:12px!important;
  box-shadow:0 12px 30px rgba(0,0,0,.22)!important;
}
.media-copy h2{
  font-size:clamp(1.75rem,2.25vw,2.25rem)!important;
}
.media-points{
  gap:9px!important;
}
.media-points strong{
  width:38px!important;
  height:38px!important;
}

/* Mantener títulos internos en escala elegante */
.page-hero h1{
  font-size:clamp(2.55rem,3.85vw,3.45rem)!important;
}
.content-grid h2{
  font-size:clamp(2.15rem,3vw,2.85rem)!important;
}

@media(max-width:1100px){
  .header .logo{
    width:245px!important;
    min-width:245px!important;
  }
  .header .logo img{
    width:235px!important;
    max-width:235px!important;
    max-height:48px!important;
  }
  .header .nav{gap:15px!important}
}

@media(max-width:1024px){
  .header .logo{
    width:220px!important;
    min-width:220px!important;
  }
  .header .logo img{
    width:210px!important;
    max-width:210px!important;
  }
  .hero-photo .hero-grid{
    height:auto!important;
    min-height:0!important;
  }
  .hero-copy-col{
    height:auto!important;
    padding-top:48px!important;
    padding-bottom:42px!important;
  }
  .hero-media{
    height:340px!important;
  }
  .media-grid{
    grid-template-columns:1fr 1fr!important;
  }
  .media-video{
    max-width:390px!important;
  }
}

@media(max-width:700px){
  .header .logo{
    width:175px!important;
    min-width:175px!important;
    height:48px!important;
  }
  .header .logo img{
    width:170px!important;
    max-width:170px!important;
    max-height:40px!important;
  }
  .hero-copy-col{
    padding-top:38px!important;
    padding-bottom:34px!important;
  }
  .hero-photo h1{
    font-size:clamp(2.05rem,9.6vw,2.7rem)!important;
  }
  .hero-media{
    height:280px!important;
  }
  .card-photo{
    height:180px!important;
  }
  .media-grid{
    grid-template-columns:1fr!important;
  }
  .media-video{
    max-width:100%!important;
  }
  .media-video video{
    max-height:none!important;
  }
}

/* V2.4 — Jerarquía visual invertida H1/H2; semántica SEO intacta */
h1,.page-hero h1,.hero-photo h1{font-size:clamp(2.65rem,3.35vw,3.35rem)!important;line-height:1.04!important}
h2{font-size:clamp(3rem,4.05vw,3.75rem)!important;line-height:1.04!important}
.section-head h2,.content-grid h2,.about-copy h2,.sectors-section .section-head h2{font-size:clamp(2.85rem,3.8vw,3.55rem)!important;line-height:1.05!important}
.media-band h2,.media-copy h2,.cta h2{font-size:clamp(2.15rem,2.85vw,2.75rem)!important;line-height:1.07!important}
@media(max-width:1024px){h1,.page-hero h1,.hero-photo h1{font-size:clamp(2.35rem,5.3vw,3.05rem)!important}h2,.section-head h2,.content-grid h2,.about-copy h2,.sectors-section .section-head h2{font-size:clamp(2.55rem,5.8vw,3.25rem)!important}}
@media(max-width:700px){h1,.page-hero h1,.hero-photo h1{font-size:clamp(2rem,9.2vw,2.55rem)!important}h2,.section-head h2,.content-grid h2,.about-copy h2,.sectors-section .section-head h2{font-size:clamp(2.15rem,10vw,2.75rem)!important}.media-band h2,.media-copy h2,.cta h2{font-size:clamp(1.9rem,8.5vw,2.35rem)!important}}


/* ==========================================================
   V2.5 — JERARQUÍA H1/H2 VISIBLE Y DEFINITIVA
   H1 = cabecera sobria
   H2 = título visual protagonista
   ========================================================== */

/* H1 de páginas e Inicio: claramente más contenido */
body main h1,
body main .page-hero h1,
body main .hero-photo h1 {
  font-size: clamp(2.45rem, 3.05vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  max-width: 1040px !important;
}

/* Hero de Inicio ligeramente más contenido todavía */
body main .hero-photo h1 {
  font-size: clamp(2.35rem, 2.85vw, 2.85rem) !important;
  max-width: 560px !important;
}

/* H2: ahora sí es la jerarquía visual dominante */
body main h2 {
  font-size: clamp(3.15rem, 4.15vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
}

/* Secciones corporativas principales */
body main .section-head h2,
body main .content-grid h2,
body main .about-copy h2,
body main .sectors-section .section-head h2 {
  font-size: clamp(3rem, 3.9vw, 3.75rem) !important;
  line-height: 1.03 !important;
}

/* H2 secundarios que no deben competir con la sección */
body main .media-band h2,
body main .media-copy h2,
body main .cta h2 {
  font-size: clamp(2.35rem, 3vw, 2.9rem) !important;
  line-height: 1.05 !important;
}

/* H3 mantiene tercera jerarquía clara */
body main h3 {
  font-size: clamp(1.35rem, 1.65vw, 1.7rem) !important;
  line-height: 1.12 !important;
}

/* Ajuste de aire tras reducir H1 */
.page-hero {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.page-hero .eyebrow {
  margin-bottom: 13px !important;
}
.page-hero h1 {
  margin-bottom: 15px !important;
}

/* Hero Home: posición segura bajo header */
.hero-copy-col {
  padding-top: 58px !important;
}
.hero-copy-col .eyebrow {
  margin-bottom: 13px !important;
}

/* TABLET */
@media (max-width: 1024px) {
  body main h1,
  body main .page-hero h1,
  body main .hero-photo h1 {
    font-size: clamp(2.25rem, 5.1vw, 2.8rem) !important;
  }

  body main h2,
  body main .section-head h2,
  body main .content-grid h2,
  body main .about-copy h2,
  body main .sectors-section .section-head h2 {
    font-size: clamp(2.7rem, 6.1vw, 3.35rem) !important;
  }

  body main .media-band h2,
  body main .media-copy h2,
  body main .cta h2 {
    font-size: clamp(2.1rem, 4.6vw, 2.55rem) !important;
  }
}

/* MÓVIL */
@media (max-width: 700px) {
  body main h1,
  body main .page-hero h1,
  body main .hero-photo h1 {
    font-size: clamp(2rem, 8.8vw, 2.4rem) !important;
    line-height: 1.06 !important;
  }

  body main h2,
  body main .section-head h2,
  body main .content-grid h2,
  body main .about-copy h2,
  body main .sectors-section .section-head h2 {
    font-size: clamp(2.3rem, 10.5vw, 2.85rem) !important;
    line-height: 1.04 !important;
  }

  body main .media-band h2,
  body main .media-copy h2,
  body main .cta h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.3rem) !important;
  }

  .page-hero {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
}


/* ==========================================================
   V2.6 — afinación logo + H1 + superposición indicadores
   ========================================================== */

/* Logo: 20–25% más pequeño, sin perder presencia */
.header .logo{
  width:245px!important;
  min-width:245px!important;
  height:54px!important;
}
.header .logo img{
  width:235px!important;
  max-width:235px!important;
  max-height:50px!important;
}

/* H1 del home: recuperar un poco de presencia */
body main .hero-photo h1{
  font-size:clamp(2.55rem,3.15vw,3.15rem)!important;
  line-height:1.03!important;
  max-width:575px!important;
}

/* Hero: dar un poco más de aire inferior para que botones no choquen */
.hero-photo .hero-grid{
  height:480px!important;
  min-height:480px!important;
}
.hero-copy-col{
  height:480px!important;
  padding-top:54px!important;
  padding-bottom:58px!important;
}
.hero-media{
  height:480px!important;
}

/* Acciones del hero: mantener visibles y separadas de los indicadores */
.hero-copy-col .actions{
  position:relative!important;
  z-index:5!important;
  margin-bottom:10px!important;
}

/* Indicadores: reducir solape y bajar ligeramente */
.stats{
  margin-top:-18px!important;
  position:relative!important;
  z-index:3!important;
}
.stats-grid{
  position:relative!important;
  z-index:3!important;
}

/* Evitar que cualquier botón secundario quede debajo de stats */
.hero + .stats{
  clear:both!important;
}

/* Tablet */
@media(max-width:1024px){
  .header .logo{
    width:210px!important;
    min-width:210px!important;
  }
  .header .logo img{
    width:200px!important;
    max-width:200px!important;
    max-height:46px!important;
  }
  .hero-photo .hero-grid{
    height:auto!important;
    min-height:0!important;
  }
  .hero-copy-col{
    height:auto!important;
    padding-top:46px!important;
    padding-bottom:42px!important;
  }
  .hero-media{
    height:340px!important;
  }
  .stats{
    margin-top:14px!important;
  }
}

/* Móvil */
@media(max-width:700px){
  .header .logo{
    width:165px!important;
    min-width:165px!important;
    height:46px!important;
  }
  .header .logo img{
    width:160px!important;
    max-width:160px!important;
    max-height:40px!important;
  }
  body main .hero-photo h1{
    font-size:clamp(2.1rem,9.4vw,2.55rem)!important;
  }
  .hero-copy-col{
    padding-top:36px!important;
    padding-bottom:34px!important;
  }
}


/* ==========================================================
   V2.7 — JERARQUÍA PÁGINAS INTERIORES
   IMPORTANTE: no modifica el hero del Inicio ni sus tarjetas.
   ========================================================== */

/* Apertura de páginas interiores: H1 uniforme, intermedio y legible */
body:not(.home) main .page-hero h1,
body main .page-hero h1 {
  font-size: clamp(2.75rem, 3.45vw, 3.45rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  max-width: 1080px !important;
}

/* Evitar títulos excesivamente largos en una sola línea */
body main .page-hero .container {
  max-width: 1180px !important;
}
body main .page-hero h1 {
  text-wrap: balance;
}

/* H2 de secciones interiores: protagonista, pero debajo del título de apertura */
body main .service-section h2,
body main .content-section h2,
body main .about-section h2,
body main .contact-section h2,
body main .blog-section h2 {
  font-size: clamp(2.65rem, 3.35vw, 3.35rem) !important;
  line-height: 1.045 !important;
  letter-spacing: -0.045em !important;
  max-width: 820px !important;
}

/* Servicios: títulos de cada bloque controlados específicamente */
body main .service-block h2,
body main .service-row h2,
body main [class*="service"] h2 {
  font-size: clamp(2.65rem, 3.35vw, 3.35rem) !important;
  line-height: 1.045 !important;
  max-width: 820px !important;
}

/* No tocar los H2 de tarjetas */
body main .service-card h2,
body main .service-card h3,
body main .card h2,
body main .card h3 {
  font-size: revert-layer;
}

/* Afinación del espacio vertical de las cabeceras interiores */
body main .page-hero {
  padding-top: 50px !important;
  padding-bottom: 54px !important;
}
body main .page-hero p {
  max-width: 850px !important;
  margin-top: 18px !important;
}

/* TABLET */
@media (max-width: 1024px) {
  body main .page-hero h1 {
    font-size: clamp(2.45rem, 5.4vw, 3rem) !important;
  }
  body main .service-section h2,
  body main .content-section h2,
  body main .about-section h2,
  body main .contact-section h2,
  body main .blog-section h2,
  body main .service-block h2,
  body main .service-row h2,
  body main [class*="service"] h2 {
    font-size: clamp(2.35rem, 5vw, 2.85rem) !important;
  }
}

/* MÓVIL */
@media (max-width: 700px) {
  body main .page-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.55rem) !important;
    line-height: 1.06 !important;
  }
  body main .service-section h2,
  body main .content-section h2,
  body main .about-section h2,
  body main .contact-section h2,
  body main .blog-section h2,
  body main .service-block h2,
  body main .service-row h2,
  body main [class*="service"] h2 {
    font-size: clamp(2rem, 8.5vw, 2.45rem) !important;
    line-height: 1.07 !important;
  }
  body main .page-hero {
    padding-top: 36px !important;
    padding-bottom: 40px !important;
  }
}


/* ==========================================================
   V2.8 — CONTACTO
   Títulos de tarjetas: 25–30 px
   ========================================================== */

/* Solo los encabezados principales de las dos tarjetas de contacto */
body main .contact-card > h2,
body main .contact-info > h2,
body main .contact-form > h2,
body main .contact-grid > * > h2 {
  font-size: clamp(1.625rem, 2vw, 1.875rem) !important; /* 26–30 px */
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 20px !important;
  max-width: none !important;
}

@media (max-width: 700px) {
  body main .contact-card > h2,
  body main .contact-info > h2,
  body main .contact-form > h2,
  body main .contact-grid > * > h2 {
    font-size: clamp(1.5625rem, 7vw, 1.75rem) !important; /* 25–28 px */
  }
}


/* ==========================================================
   V2.9 — IMÁGENES HQ + SIN VIDEO
   ========================================================== */

/* Imágenes: evitar suavizado y estiramiento */
.hero-media img,
.card-photo,
.brand-story-image img,
.about-photo img {
  image-rendering: auto !important;
  backface-visibility: hidden !important;
  transform: translateZ(0);
}

/* Hero: encuadre limpio */
.hero-media img {
  object-fit: cover !important;
  object-position: center 48% !important;
}

/* Tarjetas: más detalle visible sin hacerlas más altas */
.card-photo {
  height: 165px !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Nuevo bloque sin video */
.brand-story {
  background: linear-gradient(90deg, #eefaff 0%, #ffffff 72%);
  padding: 0 !important;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 31% 31% 38%;
  align-items: stretch;
  width: 100% !important;
  max-width: none !important;
  min-height: 315px;
}

.brand-story-image {
  min-height: 315px;
  overflow: hidden;
}

.brand-story-image img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  object-fit: cover;
  object-position: center;
}

.brand-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 38px;
}

.brand-story-copy h2 {
  font-size: clamp(2.25rem, 2.8vw, 2.8rem) !important;
  line-height: 1.04 !important;
  margin-bottom: 18px !important;
}

.brand-story-copy p {
  max-width: 500px;
  margin: 0;
}

.brand-story-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
  padding: 34px 42px 34px 0;
}

.brand-story-points > div {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(0,142,180,.14);
  border-left: 4px solid #00aee8;
  border-radius: 15px;
  background: rgba(248,253,255,.92);
}

.brand-story-points strong {
  color: #00aee8;
  font-size: 1.8rem;
  line-height: 1;
}

.brand-story-points span {
  color: #172431;
  font-weight: 800;
  line-height: 1.25;
}

/* Ocultar cualquier residuo de video/media previo */
.media-band,
.media-video,
video {
  display: none !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .brand-story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-story-image {
    min-height: 280px;
  }
  .brand-story-image img {
    min-height: 280px;
  }
  .brand-story-points {
    grid-column: 1 / -1;
    padding: 0 30px 34px;
  }
}

/* Móvil */
@media (max-width: 700px) {
  .card-photo {
    height: 190px !important;
  }
  .brand-story-grid {
    grid-template-columns: 1fr;
  }
  .brand-story-image {
    min-height: 245px;
  }
  .brand-story-image img {
    min-height: 245px;
  }
  .brand-story-copy {
    padding: 34px 24px 28px;
  }
  .brand-story-copy h2 {
    font-size: clamp(2rem, 8.8vw, 2.45rem) !important;
  }
  .brand-story-points {
    grid-template-columns: 1fr;
    padding: 0 24px 34px;
  }
}


/* ==========================================================
   V3.0 — REFINAMIENTO VISUAL FINAL
   ========================================================== */

/* Home: el título de servicios baja de jerarquía visual */
.services-preview .section-title,
.services-preview h2,
#servicios .section-title,
#servicios h2 {
  font-size: clamp(2rem, 3.1vw, 2.75rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}

/* Títulos interiores: rango visual 25–30px */
.service-card h3,
.card h3,
.info-card h2,
.contact-card h2,
.form-card h2,
.brand-story-points h3,
.principle-card h3 {
  font-size: clamp(1.55rem, 2vw, 1.875rem) !important;
  line-height: 1.12 !important;
}

/* Las tarjetas de servicios necesitan títulos algo más contenidos */
.service-card h3,
.services-grid .card h3 {
  font-size: clamp(1.45rem, 1.65vw, 1.7rem) !important;
}

/* El bloque "Por qué" ya no debe comunicar video */
.brand-story-image {
  position: relative;
}
.brand-story-image::before,
.brand-story-image::after,
.brand-story-image .play,
.brand-story-image .play-button,
.brand-story-image [class*="play"],
.brand-story-image [class*="video"] {
  display: none !important;
  content: none !important;
}
.brand-story-image img {
  filter: none !important;
  opacity: 1 !important;
  object-fit: cover !important;
  object-position: center 42% !important;
}

/* Servicios: compactar el aire vertical sin perder elegancia */
.page-hero {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}
.services-detail,
.service-detail,
.service-section {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}

/* Contacto: acercar formulario al hero */
.contact-layout,
.contact-section {
  padding-top: 52px !important;
  padding-bottom: 60px !important;
}

/* Home: transición más compacta entre servicios y "Por qué" */
.services-preview {
  padding-bottom: 52px !important;
}
.brand-story {
  margin-top: 0 !important;
}

/* Mantener buena respiración en pantallas pequeñas */
@media (max-width: 700px) {
  .page-hero {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  .contact-layout,
  .contact-section,
  .services-detail,
  .service-detail,
  .service-section {
    padding-top: 40px !important;
    padding-bottom: 46px !important;
  }
}

/* V3.1 — más aire entre el menú y el hero, solo en Inicio */
@media (min-width: 769px){
  body.home-page .hero-photo{padding-top:28px!important}
}


/* V3.2 — Nuestro compromiso + testimonios */
.commitment-section{background:linear-gradient(180deg,#fff 0%,#f4fbfe 100%);padding-top:72px!important;padding-bottom:76px!important}
.commitment-head{text-align:center;max-width:850px;margin:0 auto 38px}
.commitment-head .eyebrow{justify-content:center}
.commitment-head h2{margin-top:14px}
.commitment-head p{max-width:680px;margin:14px auto 0}
.commitment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.commitment-card{background:#fff;border:1px solid #d7ebf3;border-radius:22px;padding:32px 26px 30px;text-align:center;min-height:285px;box-shadow:0 12px 30px rgba(0,48,66,.045)}
.commitment-number{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;background:#08a9dc;color:#fff;font-size:1.15rem;font-weight:800}
.commitment-card h3{font-size:1.28rem!important;margin:0 0 14px}
.commitment-card p{font-size:1rem;line-height:1.65;margin:0;color:#42515b}
.testimonials-section{background:#fff;padding-top:72px!important;padding-bottom:72px!important}
.testimonial-placeholder{max-width:900px;margin:0 auto;border:1px solid #d7ebf3;border-radius:22px;padding:28px 34px;display:flex;gap:24px;align-items:center;background:#f8fcfe}
.quote-mark{font-size:4rem;line-height:.8;color:#08a9dc;font-weight:800}
.testimonial-placeholder h3{font-size:1.35rem!important;margin:0 0 8px}
.testimonial-placeholder p{margin:0;color:#52616a}
@media(max-width:900px){.commitment-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.commitment-section,.testimonials-section{padding-top:52px!important;padding-bottom:54px!important}.commitment-grid{grid-template-columns:1fr}.commitment-card{min-height:0}.testimonial-placeholder{align-items:flex-start;padding:24px}.quote-mark{font-size:3rem}}

/* V3.3 — carrusel de testimonios de ejemplo */
.testimonials-carousel{position:relative;overflow:hidden}
.testimonials-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:4px 2px 18px}
.testimonials-track::-webkit-scrollbar{display:none}
.testimonial-card{flex:0 0 calc((100% - 44px)/3);scroll-snap-align:start;background:#f8fcfe;border:1px solid #d7ebf3;border-radius:22px;padding:28px 26px;min-height:310px;display:flex;flex-direction:column;box-shadow:0 12px 30px rgba(0,48,66,.04)}
.testimonial-quote{font-size:3.3rem;line-height:.75;color:#08a9dc;font-weight:800;margin-bottom:14px}
.testimonial-card>p{font-size:1rem;line-height:1.7;color:#344751;margin:0 0 24px}
.testimonial-meta{margin-top:auto;display:flex;flex-direction:column;gap:3px}.testimonial-meta strong{font-size:.98rem}.testimonial-meta span{color:#52616a;font-size:.9rem}.testimonial-meta em{font-style:normal;color:#008fb9;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-top:8px}
.testimonial-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:8px}.testimonial-arrow{width:44px;height:44px;border-radius:50%;border:1px solid #bfe4f1;background:#fff;color:#008fb9;font-size:1.25rem;font-weight:800;cursor:pointer}.testimonial-arrow:hover{background:#eaf8fd}.testimonial-dots{display:flex;gap:7px}.testimonial-dot{width:9px;height:9px;border:0;border-radius:50%;background:#c8dce4;padding:0;cursor:pointer}.testimonial-dot.active{background:#08a9dc}.testimonial-disclaimer{text-align:center;max-width:780px;margin:18px auto 0!important;font-size:.78rem!important;line-height:1.5!important;color:#74828a!important}
@media(max-width:900px){.testimonial-card{flex-basis:calc((100% - 22px)/2)}}
@media(max-width:600px){.testimonial-card{flex-basis:100%;min-height:0}.testimonial-controls{gap:12px}.testimonial-disclaimer{font-size:.74rem!important}}
