/* Antonio Marquez — static Divi cleanup & visual polish */
html{scroll-behavior:smooth}
body{overflow-x:hidden}

/* Divi used ETmodules glyph "3" as the Services dropdown arrow.
   In the static export the icon font can fail, exposing the literal 3. */
#top-menu .menu-item-has-children>a:first-child{padding-right:20px!important;position:relative}
#top-menu .menu-item-has-children>a:first-child:after{
  content:""!important;
  font-family:inherit!important;
  width:6px!important;
  height:6px!important;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);
  position:absolute!important;
  right:2px!important;
  top:calc(50% - 5px)!important;
  margin:0!important;
}

/* Static export: content must never wait for Divi waypoint/animation JS. */
.et_animated,.et-waypoint{
  opacity:1!important;
  visibility:visible!important;
  animation:none!important;
  transition:none!important;
  transform:none!important;
}

/* Parallax from old Divi is visually fragile without the WP runtime. */
.et_pb_section_parallax .et_pb_parallax_css,
.et_pb_slides .et_parallax_bg.et_pb_parallax_css{
  background-attachment:scroll!important;
}
.et_parallax_bg{transform:none!important}

/* Remove accidental empty layout artefacts. */
.et_pb_row:empty,.et_pb_column:empty{display:none!important}

/* A tighter vertical rhythm on the home page. */
.home .et_pb_section_3{margin-bottom:28px!important}
.home .et_pb_row_7{margin-top:32px!important;margin-bottom:32px!important}

/* The original 210px centered header feels oversized on current screens. */
@media (min-width:981px){
  .et_header_style_centered #main-header .logo_container{height:130px!important}
  .et_header_style_centered #logo{max-height:112px!important}
  .et_header_style_centered #top-menu>li>a{padding-bottom:22px!important}
  #top-menu li a{letter-spacing:4px!important}
  .et_header_style_centered header#main-header.et-fixed-header .logo_container{height:86px!important}
  .et-fixed-header #top-menu li a{font-size:15px!important}

  /* Portada: legacy Divi added section + row padding, creating blank bands. */
  .home .et_pb_section_2{padding-bottom:22px!important}
  .home .et_pb_section_4,
  .home .et_pb_section_5,
  .home .et_pb_section_6,
  .home .et_pb_section_9{padding-top:34px!important;padding-bottom:34px!important}
  .home .et_pb_section_4>.et_pb_row,
  .home .et_pb_section_5>.et_pb_row,
  .home .et_pb_section_6>.et_pb_row,
  .home .et_pb_section_9>.et_pb_row{padding-top:24px!important;padding-bottom:24px!important}
}

/* Home services grid — interactive hover treatment. */
@media (hover:hover) and (pointer:fine){
  body.home .et_pb_row_1 .et_pb_blurb{
    position:relative;
    z-index:1;
    transition:
      transform .24s ease,
      box-shadow .24s ease,
      background-color .24s ease,
      color .24s ease!important;
    will-change:transform;
  }
  body.home .et_pb_row_1 .et_pb_blurb .et_pb_module_header,
  body.home .et_pb_row_1 .et_pb_blurb .et-pb-icon{
    transition:color .24s ease,transform .24s ease!important;
  }
  body.home .et_pb_row_1 .et_pb_blurb:hover{
    z-index:5;
    transform:translateY(-8px) scale(1.015)!important;
    background:#005eb8!important;
    box-shadow:0 18px 42px rgba(0,94,184,.24)!important;
  }
  body.home .et_pb_row_1 .et_pb_blurb:hover .et_pb_module_header,
  body.home .et_pb_row_1 .et_pb_blurb:hover .et_pb_module_header a,
  body.home .et_pb_row_1 .et_pb_blurb:hover .et-pb-icon{
    color:#fff!important;
  }
  body.home .et_pb_row_1 .et_pb_blurb:hover .et-pb-icon{
    transform:scale(1.10)!important;
  }
}

/* Keyboard/touch accessibility: same visual feedback without relying on hover. */
body.home .et_pb_row_1 .et_pb_blurb:focus-within{
  background:#005eb8!important;
  box-shadow:0 18px 42px rgba(0,94,184,.24)!important;
}
body.home .et_pb_row_1 .et_pb_blurb:focus-within .et_pb_module_header,
body.home .et_pb_row_1 .et_pb_blurb:focus-within .et-pb-icon{
  color:#fff!important;
}

/* /quien — blue CTA block: two true equal columns, content centered. */
body.page-id-129 .et_pb_section_4 .et_pb_row_3{
  display:flex!important;
  align-items:stretch!important;
  justify-content:space-between!important;
  width:90%!important;
  max-width:1280px!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_row_3>.et_pb_column{
  float:none!important;
  width:50%!important;
  margin-right:0!important;
  flex:0 0 50%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_column_6,
body.page-id-129 .et_pb_section_4 .et_pb_column_7{
  padding:48px 42px!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_column_6 .et_pb_module,
body.page-id-129 .et_pb_section_4 .et_pb_column_7 .et_pb_module{
  width:100%!important;
  max-width:470px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_column_6 .et_pb_image{
  display:flex!important;
  justify-content:center!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_column_6 .et_pb_image_wrap{
  margin-left:auto!important;
  margin-right:auto!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_column_6 .et_pb_text_inner,
body.page-id-129 .et_pb_section_4 .et_pb_column_6 .et_pb_text_inner p,
body.page-id-129 .et_pb_section_4 .et_pb_column_7 .et_pb_text_inner,
body.page-id-129 .et_pb_section_4 .et_pb_column_7 .et_pb_text_inner h2{
  text-align:center!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_column_7 .et_pb_divider{
  display:none!important;
}
body.page-id-129 .et_pb_section_4 .et_pb_column_7 .et_pb_text{
  margin-bottom:14px!important;
}
@media(max-width:980px){
  body.page-id-129 .et_pb_section_4 .et_pb_row_3{
    display:block!important;
    width:90%!important;
  }
  body.page-id-129 .et_pb_section_4 .et_pb_row_3>.et_pb_column{
    width:100%!important;
    max-width:none!important;
    flex:none!important;
  }
  body.page-id-129 .et_pb_section_4 .et_pb_column_6,
  body.page-id-129 .et_pb_section_4 .et_pb_column_7{
    padding:34px 22px!important;
  }
}

/* Mobile/tablet: keep sections generous but avoid oversized legacy gaps. */
@media (max-width:980px){
  .et_pb_section:not(.et_pb_fullwidth_section){padding-top:44px;padding-bottom:44px}
  .et_pb_row{width:88%}
  .et_header_style_centered #main-header .logo_container{height:auto!important;padding:10px 0}
  .et_header_style_centered #logo{max-height:82px!important}
}
@media (max-width:767px){
  .et_pb_section:not(.et_pb_fullwidth_section){padding-top:34px;padding-bottom:34px}
  .et_pb_row{width:90%}
}

/* ==========================================================
   MOBILE v5 — standalone navigation + compact services grid
   ========================================================== */
.am-mobile-toggle,.am-mobile-panel{display:none}

@media (max-width:980px){
  #top-menu-nav,#et_mobile_nav_menu{display:none!important}
  #main-header .container.et_menu_container{
    width:90%!important;min-height:82px;display:flex!important;
    align-items:center!important;justify-content:center!important
  }
  #main-header .logo_container{
    position:relative!important;height:auto!important;width:auto!important;
    max-width:calc(100% - 70px)!important;padding:8px 0!important;
    margin:0 auto!important;text-align:center!important
  }
  #main-header #logo{max-height:72px!important;width:auto!important}

  .am-mobile-toggle{
    display:flex!important;position:absolute;right:0;top:50%;
    transform:translateY(-50%);width:48px;height:48px;padding:0;border:0;
    border-radius:10px;background:transparent;align-items:center;
    justify-content:center;flex-direction:column;gap:5px;cursor:pointer;
    z-index:100002;-webkit-tap-highlight-color:transparent
  }
  .am-mobile-toggle span{
    width:24px;height:2px;background:#005eb8;border-radius:2px;
    transition:transform .22s ease,opacity .22s ease;transform-origin:center
  }
  body.am-mobile-menu-open .am-mobile-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  body.am-mobile-menu-open .am-mobile-toggle span:nth-child(2){opacity:0}
  body.am-mobile-menu-open .am-mobile-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .am-mobile-panel{
    display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);
    width:100vw;max-height:calc(100vh - 95px);overflow-y:auto;
    -webkit-overflow-scrolling:touch;background:#fff;
    border-top:1px solid rgba(0,94,184,.12);
    box-shadow:0 18px 35px rgba(0,0,0,.14);z-index:100001
  }
  .am-mobile-panel.is-open{display:block!important}
  .am-mobile-list,.am-mobile-list ul{list-style:none!important;margin:0!important;padding:0!important}
  .am-mobile-list>li{position:relative;border-bottom:1px solid #edf0f5}
  .am-mobile-list li a{
    display:flex!important;align-items:center;min-height:52px;
    padding:13px 62px 13px 24px!important;color:#173b8f!important;
    background:#fff!important;border:0!important;
    font-family:'Convergence',Helvetica,Arial,Lucida,sans-serif!important;
    font-size:17px!important;line-height:1.35!important;
    letter-spacing:.04em!important;text-transform:uppercase!important;
    font-weight:600!important
  }
  .am-mobile-list li a:active{background:#f2f5fa!important}
  .am-mobile-list .sub-menu{
    display:none!important;position:static!important;visibility:visible!important;
    opacity:1!important;width:100%!important;border:0!important;
    box-shadow:none!important;background:#f5f7fb!important
  }
  .am-mobile-list .am-submenu-open>.sub-menu{display:block!important}
  .am-mobile-list .sub-menu li{position:relative;border-top:1px solid rgba(0,94,184,.08)}
  .am-mobile-list .sub-menu a{
    min-height:48px;padding-left:38px!important;font-size:15px!important;
    text-transform:none!important;letter-spacing:.02em!important;background:#f5f7fb!important
  }
  .am-submenu-toggle{
    position:absolute;right:8px;top:4px;width:48px;height:48px;border:0;
    background:transparent;z-index:2;cursor:pointer;-webkit-tap-highlight-color:transparent
  }
  .am-submenu-toggle span{
    display:block;width:10px;height:10px;margin:0 auto;
    border-right:2px solid #005eb8;border-bottom:2px solid #005eb8;
    transform:rotate(45deg) translate(-2px,-2px);transition:transform .18s ease
  }
  .am-submenu-open>.am-submenu-toggle span{transform:rotate(225deg) translate(-2px,-2px)}
  body.am-mobile-menu-open{overflow:hidden}

  body.home .et_pb_row_1{
    width:92%!important;max-width:820px!important;padding:0!important;
    display:flex!important;flex-wrap:wrap!important;align-items:stretch!important
  }
  body.home .et_pb_row_1>.et_pb_column{
    float:none!important;width:25%!important;flex:0 0 25%!important;
    margin:0!important;padding:0!important
  }
  body.home .et_pb_row_1 .et_pb_blurb,
  body.home .et_pb_row_1 .et_pb_blurb:hover,
  body.home .et_pb_row_1 .et_pb_blurb:focus,
  body.home .et_pb_row_1 .et_pb_blurb:focus-within,
  body.home .et_pb_row_1 .et_pb_blurb:active{
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-height:145px!important;height:auto!important;margin:0!important;
    padding:20px 10px!important;transform:none!important;transition:none!important;
    box-shadow:none!important;background:#f4f6fa!important;
    border:1px solid rgba(53,80,160,.07)!important;color:#3550a0!important
  }
  body.home .et_pb_row_1 .et_pb_blurb_content{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;max-width:none!important;min-height:100%!important
  }
  body.home .et_pb_row_1 .et_pb_main_blurb_image{display:none!important}
  body.home .et_pb_row_1 .et_pb_module_header,
  body.home .et_pb_row_1 .et_pb_blurb:hover .et_pb_module_header,
  body.home .et_pb_row_1 .et_pb_blurb:focus-within .et_pb_module_header{
    margin:0!important;padding:0!important;text-align:center!important;
    color:#3550a0!important;font-size:18px!important;line-height:1.25!important;
    font-weight:600!important
  }
}

@media (max-width:767px){
  body.home .et_pb_row_1{width:94%!important}
  body.home .et_pb_row_1>.et_pb_column{width:50%!important;flex-basis:50%!important}
  body.home .et_pb_row_1 .et_pb_blurb,
  body.home .et_pb_row_1 .et_pb_blurb:hover,
  body.home .et_pb_row_1 .et_pb_blurb:focus-within{
    min-height:128px!important;padding:18px 9px!important
  }
  body.home .et_pb_row_1 .et_pb_module_header{font-size:clamp(16px,4.5vw,19px)!important}
}
@media (max-width:380px){
  .am-mobile-list li a{font-size:16px!important}
  body.home .et_pb_row_1 .et_pb_blurb{min-height:120px!important}
}

/* Home: Diario del Confinamiento retirado, conservar fondo/divisores. */
body.home .et_pb_section_4.am-empty-diario-section{
  min-height:clamp(190px,18vw,260px)!important;
  padding-top:34px!important;
  padding-bottom:34px!important;
  display:flex!important;
  align-items:center!important;
  position:relative!important;
}
body.home .et_pb_section_4.am-empty-diario-section .am-empty-diario-row{
  display:none!important;
}
@media(max-width:767px){
  body.home .et_pb_section_4.am-empty-diario-section{
    min-height:150px!important;
    padding-top:28px!important;
    padding-bottom:28px!important;
  }
}

/* ==========================================================
   SOCIAL ICONS v7 — independent of Divi ETmodules
   ========================================================== */
.et_pb_social_icon a.icon:before,
.et-social-icon a.icon:before{
  content:none!important;
  display:none!important;
}

.et_pb_social_icon a.icon,
.et-social-icon a.icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.am-social-svg{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  color:#fff!important;
  line-height:1!important;
  pointer-events:none;
}

.am-social-svg svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  fill:currentColor;
  overflow:visible;
}

.et-social-instagram .am-social-svg svg{
  fill:currentColor;
}

#footer-bottom .am-social-svg{
  width:16px!important;
  height:16px!important;
}

@media(max-width:767px){
  .am-social-svg{
    width:20px!important;
    height:20px!important;
  }
}

/* ==========================================================
   BLOG v8
   ========================================================== */
.am-blog-index{padding:90px 0;background:#fff}
.am-blog-index-inner{width:min(1180px,90%);margin:0 auto}
.am-blog-index-head{max-width:760px;margin:0 auto 48px;text-align:center}
.am-blog-index-head>span,.am-article-category{display:inline-block;color:#005eb8;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:13px}
.am-blog-index-head h2{font-size:clamp(34px,4vw,54px);line-height:1.05;color:#173b6d;margin:12px 0 18px}
.am-blog-index-head p{font-size:18px;line-height:1.7;color:#60758c}
.am-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:stretch}
.am-blog-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e4ebf2;border-radius:22px;overflow:hidden;box-shadow:0 16px 36px rgba(18,58,93,.08);transition:transform .22s ease,box-shadow .22s ease}
.am-blog-card:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(18,58,93,.14)}
.am-blog-card-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#0b5ea8}
.am-blog-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.am-blog-card:hover .am-blog-card-image img{transform:scale(1.035)}
.am-blog-card-body{display:flex;flex:1;flex-direction:column;padding:26px}
.am-blog-card-category{color:#005eb8;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.am-blog-card h3{font-size:27px;line-height:1.15;margin:10px 0 14px;color:#173b6d}
.am-blog-card h3 a{color:inherit}
.am-blog-card p{font-size:16px;line-height:1.7;color:#60758c;margin:0 0 22px}
.am-blog-read{margin-top:auto;color:#005eb8!important;font-weight:800;font-size:15px}

/* article */
.am-blog-main{background:#fff}
.am-article{padding-bottom:80px}
.am-article-hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:58px;width:min(1180px,90%);margin:0 auto;padding:80px 0 60px}
.am-article-back{display:inline-block;margin-bottom:24px;color:#005eb8!important;font-weight:700}
.am-article-hero h1{font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:-.03em;color:#173b6d;margin:12px 0 24px}
.am-article-hero p{font-size:20px;line-height:1.7;color:#58718a}
.am-article-cover{margin:0;border-radius:26px;overflow:hidden;box-shadow:0 26px 55px rgba(11,63,102,.18)}
.am-article-cover img{display:block;width:100%;height:auto}
.am-article-body{width:min(880px,88%);margin:0 auto}
.am-article-content{font-family:'Open Sans',Arial,sans-serif;color:#334d64}
.am-article-section{padding:18px 0}
.am-article-section h2,.am-takeaways h2,.am-article-cta h2{font-family:'Playfair Display',Georgia,serif;color:#173b6d;font-size:clamp(30px,3vw,42px);line-height:1.15;margin:24px 0 18px}
.am-article-section p{font-size:18px;line-height:1.9;margin:0 0 22px}
.am-article-chart{margin:42px 0;padding:0}
.am-article-chart-svg{display:block;width:100%;height:auto;border-radius:24px;box-shadow:0 14px 34px rgba(27,67,102,.08)}
.am-article-chart figcaption{text-align:center;color:#7c8fa2;font-size:13px;margin-top:12px}
.am-takeaways{margin:44px 0;padding:32px 36px;border-radius:22px;background:#f2f7fb;border-left:5px solid #005eb8}
.am-takeaways ul{list-style:none!important;padding:0!important;margin:18px 0 0!important}
.am-takeaways li{position:relative;padding:8px 0 8px 30px;font-size:17px;line-height:1.65}
.am-takeaways li:before{content:'✓';position:absolute;left:0;color:#005eb8;font-weight:900}
.am-article-cta{margin-top:50px;padding:38px;border-radius:24px;background:linear-gradient(135deg,#073760,#0b75b8);color:#fff;text-align:center}
.am-article-cta h2{color:#fff;margin:0 0 22px}
.am-blog-btn{display:inline-flex;padding:13px 24px;border-radius:999px;background:#fff;color:#005eb8!important;font-weight:800}

/* clean up inherited old Noticias placeholder imagery */
body.page-id-66 .am-blog-index img{max-width:100%}

@media(max-width:980px){
 .am-blog-grid{grid-template-columns:1fr 1fr}
 .am-article-hero{grid-template-columns:1fr;gap:34px;padding-top:54px}
 .am-article-cover{max-width:760px}
}
@media(max-width:680px){
 .am-blog-index{padding:58px 0}
 .am-blog-grid{grid-template-columns:1fr}
 .am-blog-index-head{margin-bottom:32px}
 .am-blog-card:hover{transform:none}
 .am-article{padding-bottom:56px}
 .am-article-hero{width:90%;padding:42px 0 34px}
 .am-article-hero h1{font-size:38px}
 .am-article-hero p{font-size:18px}
 .am-article-body{width:90%}
 .am-article-section p{font-size:17px;line-height:1.8}
 .am-takeaways{padding:26px 24px}
 .am-article-cta{padding:28px 22px}
}
.am-blog-bottom-cta{padding:20px 0 90px;background:#fff}
.am-blog-bottom-cta-inner{width:min(980px,90%);margin:0 auto;padding:48px;border-radius:28px;text-align:center;background:linear-gradient(135deg,#062f58,#0b78b8);color:#fff}
.am-blog-bottom-cta-inner>span{font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#bfe7ff}
.am-blog-bottom-cta-inner h2{color:#fff;font-size:clamp(34px,4vw,52px);line-height:1.08;margin:12px 0 18px}
.am-blog-bottom-cta-inner p{max-width:720px;margin:0 auto 26px;font-size:17px;line-height:1.75;color:#e9f6ff}
@media(max-width:680px){.am-blog-bottom-cta{padding-bottom:58px}.am-blog-bottom-cta-inner{padding:34px 22px}}

/* ==========================================================
   MODERN UI v9 — preserve the original structure, modernize
   ========================================================== */
:root{
  --am-navy:#173b6d;
  --am-navy-deep:#072b4d;
  --am-blue:#005eb8;
  --am-blue-2:#0d7fc1;
  --am-sky:#eaf5ff;
  --am-ink:#2c455c;
  --am-muted:#6b7f92;
  --am-soft:#f6f9fc;
  --am-line:#dfe8f0;
  --am-white:#fff;
  --am-radius:20px;
  --am-shadow:0 18px 45px rgba(16,55,88,.09);
}

/* Global typography & rendering */
body{
  color:var(--am-ink)!important;
  background:#fff!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  font-weight:400!important;
  line-height:1.7!important;
  text-rendering:optimizeLegibility;
}
body p{color:inherit}
h1,h2,h3,h4,h5,h6,
.et_pb_module_header{
  color:var(--am-navy);
  text-wrap:balance;
}
h1,h2{letter-spacing:-.025em}
.et_pb_text_inner p{line-height:1.8}

/* Top contact strip */
#top-header{
  background:var(--am-navy-deep)!important;
  color:rgba(255,255,255,.92)!important;
  box-shadow:none!important;
}
#top-header .container{
  width:min(1180px,90%)!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}
#top-header,
#top-header a,
#top-header #et-info-email,
#top-header #et-info-phone{
  color:rgba(255,255,255,.92)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:13px!important;
  letter-spacing:.02em!important;
}

/* Main header */
#main-header{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(12,69,109,.09)!important;
  box-shadow:0 10px 35px rgba(9,45,75,.07)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
#main-header .container.et_menu_container{
  width:min(1180px,90%)!important;
  max-width:1180px!important;
}
@media(min-width:981px){
  .et_header_style_centered #main-header .logo_container{
    height:112px!important;
    padding:10px 0!important;
  }
  .et_header_style_centered #logo{
    max-height:88px!important;
    width:auto!important;
  }
  .et_header_style_centered #top-menu>li>a{
    padding-bottom:19px!important;
  }
  #top-menu{
    padding-top:3px!important;
  }
  #top-menu li{
    padding-right:24px!important;
  }
  #top-menu li:last-child{padding-right:0!important}
  #top-menu li a{
    color:var(--am-navy)!important;
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:750!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
    transition:color .2s ease!important;
  }
  #top-menu li a:hover,
  #top-menu li.current-menu-item>a{
    color:var(--am-blue)!important;
    opacity:1!important;
  }
  #top-menu .sub-menu{
    overflow:hidden;
    padding:8px!important;
    border:1px solid var(--am-line)!important;
    border-top:3px solid var(--am-blue)!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 18px 46px rgba(9,45,75,.14)!important;
  }
  #top-menu .sub-menu li{
    width:100%!important;
    padding:0!important;
  }
  #top-menu .sub-menu a{
    width:100%!important;
    padding:11px 14px!important;
    border-radius:9px!important;
    font-size:13px!important;
    letter-spacing:.03em!important;
    text-transform:none!important;
  }
  #top-menu .sub-menu a:hover{background:var(--am-soft)!important}
}

/* Layout rhythm */
.et_pb_section:not(.et_pb_fullwidth_section){
  padding-top:72px;
  padding-bottom:72px;
}
.et_pb_row{
  width:min(1180px,90%)!important;
  max-width:1180px!important;
}
.et_pb_section .et_pb_row{
  transition:transform .2s ease;
}

/* Main headings inside legacy Divi content */
.entry-content .et_pb_text h1{
  color:var(--am-navy)!important;
  font-size:clamp(40px,5vw,64px)!important;
  line-height:1.02!important;
}
.entry-content .et_pb_text h2{
  color:var(--am-navy)!important;
  line-height:1.12!important;
}
.entry-content .et_pb_text h3,
.entry-content .et_pb_text h4{
  color:#2e57a1;
}

/* Buttons */
.et_pb_button,
.et_pb_promo_button,
.et_pb_newsletter_button,
.form-submit .et_pb_button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:11px 22px!important;
  border:1px solid var(--am-blue)!important;
  border-radius:999px!important;
  background:var(--am-blue)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(0,94,184,.16)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease!important;
}
.et_pb_button:hover,
.et_pb_promo_button:hover,
.et_pb_newsletter_button:hover,
.form-submit .et_pb_button:hover{
  padding:11px 22px!important;
  transform:translateY(-2px)!important;
  background:#064f91!important;
  border-color:#064f91!important;
  box-shadow:0 13px 28px rgba(0,94,184,.23)!important;
}
.et_pb_button:after,.et_pb_button:before,
.et_pb_newsletter_button:after{display:none!important}

/* Hero buttons preserve primary/secondary contrast */
.home .et_pb_fullwidth_header_0 .et_pb_button_one{
  background:#fff!important;
  border-color:#fff!important;
  color:var(--am-navy)!important;
}
.home .et_pb_fullwidth_header_0 .et_pb_button_two{
  background:rgba(7,43,77,.38)!important;
  border-color:rgba(255,255,255,.8)!important;
  color:#fff!important;
}

/* Home hero */
.home .et_pb_fullwidth_header_0{
  min-height:560px;
}
.home .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_container{
  min-height:560px;
}
.home .et_pb_fullwidth_header_0 .header-content{
  max-width:650px!important;
  padding:34px!important;
  border-radius:24px;
  background:rgba(4,30,52,.35);
  backdrop-filter:blur(3px);
}
.home .et_pb_fullwidth_header_0 .et_pb_module_header{
  color:#fff!important;
  font-size:clamp(38px,4vw,58px)!important;
  line-height:1.05!important;
}
.home .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_subhead{
  display:block;
  color:rgba(255,255,255,.9)!important;
  font-size:18px!important;
  line-height:1.65!important;
  margin-top:14px;
}

/* Home service grid cards */
body.home .et_pb_row_1{
  gap:0!important;
  overflow:visible!important;
}
body.home .et_pb_row_1 .et_pb_blurb{
  border:1px solid rgba(23,59,109,.08)!important;
  border-radius:18px!important;
  overflow:hidden;
}
@media(min-width:981px){
  body.home .et_pb_row_1>.et_pb_column{
    padding:6px!important;
  }
  body.home .et_pb_row_1 .et_pb_blurb{
    margin-bottom:12px!important;
  }
}

/* Images — content only */
.entry-content .et_pb_image:not(.et_pb_image_6) .et_pb_image_wrap{
  overflow:hidden;
  border-radius:18px;
}
.entry-content .et_pb_image:not(.et_pb_image_6) img{
  transition:transform .35s ease;
}
@media(hover:hover){
  .entry-content .et_pb_image:not(.et_pb_image_6):hover img{transform:scale(1.015)}
}

/* About / quien */
body.page-id-129 .et_pb_section_0 .et_pb_row,
body.page-id-129 .et_pb_section_3 .et_pb_row{
  align-items:center;
}
body.page-id-129 .et_pb_section_3 .et_pb_text{
  color:var(--am-ink);
}
body.page-id-129 .et_pb_section_3 .et_pb_image_wrap{
  box-shadow:var(--am-shadow);
}
body.page-id-129 .et_pb_section_2 .et_pb_image{
  padding:12px!important;
  border-radius:16px;
  background:#fff;
}

/* Services */
body.page-id-91 .et_section_specialty{
  background:var(--am-soft)!important;
}
body.page-id-91 .et_section_specialty>.et_pb_row{
  overflow:hidden;
  border:1px solid var(--am-line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--am-shadow);
}
body.page-id-91 .et_pb_toggle{
  overflow:hidden;
  border:1px solid var(--am-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(18,58,93,.05);
}
body.page-id-91 .et_pb_toggle_title{
  color:var(--am-navy)!important;
  font-weight:750!important;
}
body.page-id-91 .et_pb_row_inner{
  border-radius:12px;
}

/* Contact */
body.page-id-44 .et_pb_contact_form_container,
body.page-id-44 .et_pb_text{
  border-radius:20px;
}
.et_pb_contact_form input,
.et_pb_contact_form textarea,
.et_pb_newsletter_form input,
.et_pb_newsletter_form textarea{
  min-height:48px!important;
  padding:13px 15px!important;
  border:1px solid #d8e3ed!important;
  border-radius:12px!important;
  background:#f8fafc!important;
  color:var(--am-ink)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:15px!important;
  outline:none!important;
  transition:border-color .2s ease,box-shadow .2s ease!important;
}
.et_pb_contact_form textarea{min-height:150px!important}
.et_pb_contact_form input:focus,
.et_pb_contact_form textarea:focus,
.et_pb_newsletter_form input:focus{
  border-color:#78b7df!important;
  box-shadow:0 0 0 4px rgba(0,94,184,.08)!important;
}

/* Noticias landing heading — remove legacy oversized dead space */
body.page-id-66 .et_pb_section_0{
  display:flex!important;
  align-items:center!important;
  min-height:230px!important;
  padding:62px 0 38px!important;
  background:linear-gradient(180deg,#f7fbff 0%,#fff 100%)!important;
}
body.page-id-66 .et_pb_section_0 .et_pb_row_0{
  padding:0!important;
}
body.page-id-66 .et_pb_section_0 h1{
  margin:0!important;
  text-align:center!important;
  font-size:clamp(44px,5vw,68px)!important;
  color:var(--am-navy)!important;
}
body.page-id-66 .am-blog-index{padding-top:54px!important}

/* Footer */
#main-footer{
  margin-top:0!important;
  background:var(--am-navy-deep)!important;
}
#footer-bottom{
  padding:25px 0!important;
  background:#041f38!important;
}
#footer-bottom .container{
  width:min(1180px,90%)!important;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:14px 22px;
}
#footer-bottom .et-social-icons{
  float:none!important;
  margin:0!important;
}
#footer-bottom .et-social-icon{margin:0 5px!important}
#footer-bottom .et-social-icon a{
  display:flex!important;
  width:36px!important;
  height:36px!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%;
  background:rgba(255,255,255,.1);
}
#footer-info{
  float:none!important;
  width:auto!important;
  padding:0!important;
  color:rgba(255,255,255,.72)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:12px!important;
  line-height:1.5!important;
  text-align:center!important;
}
#main-footer + a{
  display:block!important;
  padding:10px 14px!important;
  background:#f4f7fa!important;
  color:#718397!important;
  font-size:11px!important;
  text-align:center!important;
}
#main-footer + a p{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  color:inherit!important;
  font-size:inherit!important;
}

/* Section dividers should stay subtle */
.et_pb_top_inside_divider,
.et_pb_bottom_inside_divider{pointer-events:none}

/* Tablet/mobile polish */
@media(max-width:980px){
  .et_pb_section:not(.et_pb_fullwidth_section){
    padding-top:52px!important;
    padding-bottom:52px!important;
  }
  #top-header{display:none!important}
  #page-container{padding-top:0!important}
  #main-header{
    position:relative!important;
    top:auto!important;
  }
  #main-header .container.et_menu_container{
    width:92%!important;
  }
  .home .et_pb_fullwidth_header_0,
  .home .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_container{
    min-height:520px;
  }
  .home .et_pb_fullwidth_header_0 .header-content{
    max-width:90%!important;
    margin:0 auto!important;
    padding:26px!important;
    text-align:center!important;
  }
  .entry-content .et_pb_text h1{
    font-size:clamp(34px,8vw,48px)!important;
  }
  body.page-id-91 .et_section_specialty>.et_pb_row{
    border-radius:18px;
  }
}

@media(max-width:767px){
  .et_pb_section:not(.et_pb_fullwidth_section){
    padding-top:40px!important;
    padding-bottom:40px!important;
  }
  .et_pb_row{width:92%!important}
  #main-header #logo{max-height:62px!important}
  .home .et_pb_fullwidth_header_0,
  .home .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_container{
    min-height:470px;
  }
  .home .et_pb_fullwidth_header_0 .header-content{
    padding:22px!important;
    border-radius:18px;
  }
  .home .et_pb_fullwidth_header_0 .et_pb_fullwidth_header_subhead{
    font-size:16px!important;
  }
  .et_pb_button,.et_pb_promo_button{min-height:44px!important;font-size:14px!important}
  body.page-id-66 .et_pb_section_0{
    min-height:170px!important;
    padding:38px 0 22px!important;
  }
  body.page-id-66 .am-blog-index{padding-top:34px!important}
  #footer-bottom .container{flex-direction:column}
}

/* ==========================================================
   HOME modern content blocks v9
   ========================================================== */
.am-home-blog{
  padding:86px 0;
  background:#f7fafc;
}
.am-home-blog-inner,
.am-home-connect-inner{
  width:min(1180px,90%);
  margin:0 auto;
}
.am-home-section-head{
  max-width:740px;
  margin:0 auto 42px;
  text-align:center;
}
.am-home-section-head>span{
  display:inline-block;
  color:var(--am-blue);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.am-home-section-head h2{
  margin:10px 0 14px;
  color:var(--am-navy);
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(36px,4vw,52px);
  line-height:1.08;
}
.am-home-section-head p{
  margin:0;
  color:var(--am-muted);
  font-size:17px;
}
.am-home-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.am-home-blog-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--am-line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--am-shadow);
  transition:transform .22s ease,box-shadow .22s ease;
}
@media(hover:hover){
  .am-home-blog-card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 52px rgba(16,55,88,.14);
  }
  .am-home-blog-card:hover .am-home-blog-image img{transform:scale(1.035)}
}
.am-home-blog-image{
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
}
.am-home-blog-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .28s ease;
}
.am-home-blog-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:24px;
}
.am-home-blog-body>span{
  color:var(--am-blue);
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.am-home-blog-body h3{
  margin:9px 0 13px;
  color:var(--am-navy);
  font-family:'Playfair Display',Georgia,serif;
  font-size:25px;
  line-height:1.16;
}
.am-home-blog-body h3 a{color:inherit}
.am-home-blog-body p{
  margin:0 0 20px;
  color:var(--am-muted);
  font-size:15px;
  line-height:1.7;
}
.am-home-blog-body .am-blog-read{margin-top:auto}
.am-home-blog-more{
  margin-top:34px;
  text-align:center;
}
.am-blog-btn-blue{
  background:var(--am-blue)!important;
  color:#fff!important;
}

.am-home-connect{
  padding:88px 0;
  background:#fff;
}
.am-home-connect-inner{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:32px;
  align-items:stretch;
}
.am-home-connect-copy{
  padding:52px;
  border-radius:28px;
  background:linear-gradient(135deg,#072e55,#0b78b8);
  color:#fff;
  box-shadow:0 22px 50px rgba(9,58,99,.15);
}
.am-home-connect-copy>span{
  display:inline-block;
  color:#bfe8ff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.am-home-connect-copy h2{
  margin:12px 0 18px;
  color:#fff;
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(38px,4vw,56px);
  line-height:1.06;
}
.am-home-connect-copy p{
  max-width:720px;
  margin:0 0 27px;
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.75;
}
.am-home-connect-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.am-home-outline-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 22px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  color:#fff!important;
  font-size:15px;
  font-weight:750;
}
.am-home-contact-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:42px;
  border:1px solid var(--am-line);
  border-radius:28px;
  background:#f7fafc;
}
.am-home-contact-card h3{
  margin:0 0 22px;
  color:var(--am-navy);
  font-family:'Playfair Display',Georgia,serif;
  font-size:32px;
}
.am-home-contact-card>a{
  display:block;
  margin:4px 0;
  color:var(--am-blue)!important;
  font-size:16px;
  font-weight:700;
}
.am-home-contact-card p{
  margin:10px 0 22px;
  color:var(--am-muted);
}
.am-home-socials{
  display:flex;
  gap:10px;
}
.am-home-socials>a{
  display:flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--am-navy);
}
.am-home-socials .am-social-svg{
  width:18px!important;
  height:18px!important;
}

@media(max-width:900px){
  .am-home-blog-grid{grid-template-columns:1fr 1fr}
  .am-home-connect-inner{grid-template-columns:1fr}
}
@media(max-width:680px){
  .am-home-blog,.am-home-connect{padding:58px 0}
  .am-home-blog-grid{grid-template-columns:1fr}
  .am-home-connect-copy,.am-home-contact-card{padding:30px 24px}
  .am-home-connect-copy h2{font-size:38px}
}

/* ==========================================================
   HOME GRID ICONS v10 — independent SVG icons
   ========================================================== */
body.home .et_pb_row_1 .am-grid-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:46px!important;
  height:46px!important;
  margin:0 auto 18px!important;
  color:#8fa4bc!important;
  line-height:1!important;
  transition:color .22s ease,transform .22s ease!important;
}
body.home .et_pb_row_1 .am-grid-icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  fill:none;
  overflow:visible;
}
body.home .et_pb_row_1 .et_pb_blurb_content{
  flex-direction:column!important;
}
@media(hover:hover) and (pointer:fine){
  body.home .et_pb_row_1 .et_pb_blurb:hover .am-grid-icon{
    color:#fff!important;
    transform:scale(1.08)!important;
  }
}
@media(max-width:980px){
  body.home .et_pb_row_1 .am-grid-icon{
    display:flex!important;
    width:36px!important;
    height:36px!important;
    margin:0 auto 12px!important;
    color:#6f8fb1!important;
    transform:none!important;
  }
}
@media(max-width:767px){
  body.home .et_pb_row_1 .am-grid-icon{
    width:32px!important;
    height:32px!important;
    margin-bottom:10px!important;
  }
}

/* ==========================================================
   HARDENING v10 — forms, toggles, partners, services CTA
   ========================================================== */

/* Local partner wordmarks on /quien */
body.page-id-129 .et_pb_section_2 .et_pb_row_2{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:center!important;
}
body.page-id-129 .et_pb_section_2 .et_pb_row_2>.et_pb_column{
  width:auto!important;
  margin:0!important;
  float:none!important;
}
body.page-id-129 .et_pb_section_2 .et_pb_image_wrap{
  display:block!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid var(--am-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(16,55,88,.06)!important;
}
body.page-id-129 .et_pb_section_2 .et_pb_image_wrap img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  transform:none!important;
}

/* Static contact form */
.am-static-contact-form{
  padding:28px;
  border:1px solid var(--am-line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--am-shadow);
}
.am-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}
.am-form-grid label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:var(--am-navy);
  font-size:14px;
  font-weight:750;
}
.am-form-grid input,
.am-form-grid select,
.am-form-grid textarea{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid #d7e3ec;
  border-radius:12px;
  background:#f8fafc;
  color:var(--am-ink);
  font:inherit;
  outline:none;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.am-form-grid textarea{
  min-height:150px;
  resize:vertical;
}
.am-form-grid input:focus,
.am-form-grid select:focus,
.am-form-grid textarea:focus{
  border-color:#74b7e3;
  background:#fff;
  box-shadow:0 0 0 4px rgba(0,94,184,.08);
}
.am-form-full{grid-column:1/-1}
.am-contact-submit{
  border:0;
  cursor:pointer;
}
.am-form-help{
  margin:12px 0 0;
  color:var(--am-muted);
  font-size:13px;
  line-height:1.55;
}

/* Contact hero no longer depends on the old WordPress image */
body.page-id-44 .et_pb_section_0{
  background-image:linear-gradient(135deg,#eef7ff 0%,#fff 62%,#edf5fb 100%)!important;
}

/* Service accordions */
.am-static-toggle{
  overflow:hidden!important;
  padding:0!important;
  border:1px solid var(--am-line)!important;
  border-radius:14px!important;
  background:#fff!important;
}
.am-static-toggle .et_pb_toggle_title{
  position:relative!important;
  margin:0!important;
  padding:15px 48px 15px 18px!important;
  cursor:pointer!important;
  color:var(--am-navy)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1.4!important;
}
.am-static-toggle .et_pb_toggle_title:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:50%!important;
  right:20px!important;
  width:9px!important;
  height:9px!important;
  margin-top:-7px!important;
  border-right:2px solid var(--am-blue)!important;
  border-bottom:2px solid var(--am-blue)!important;
  transform:rotate(45deg)!important;
  font-family:inherit!important;
  transition:transform .18s ease!important;
}
.am-static-toggle.et_pb_toggle_open .et_pb_toggle_title:before{
  transform:rotate(225deg)!important;
  margin-top:-2px!important;
}
.am-static-toggle .et_pb_toggle_content{
  padding:0 18px 18px!important;
  color:var(--am-ink)!important;
}
.am-static-toggle .et_pb_toggle_content[hidden]{display:none!important}
.am-static-toggle .et_pb_toggle_content ul{
  padding:6px 0 0 20px!important;
  margin:0!important;
  list-style:disc!important;
}
.am-static-toggle .et_pb_toggle_content li{
  margin:6px 0;
  line-height:1.6;
}

/* Service CTA replaces fake newsletter */
.am-services-cta{
  padding:86px 0;
  background:#fff;
}
.am-services-cta-inner{
  width:min(980px,90%);
  margin:0 auto;
  padding:48px;
  border-radius:28px;
  background:linear-gradient(135deg,#062f58,#0b78b8);
  color:#fff;
  text-align:center;
  box-shadow:0 22px 50px rgba(9,58,99,.14);
}
.am-services-cta-inner>span{
  display:inline-block;
  color:#bfe7ff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.am-services-cta-inner h2{
  margin:12px 0 18px;
  color:#fff;
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(34px,4vw,52px);
  line-height:1.08;
}
.am-services-cta-inner p{
  max-width:720px;
  margin:0 auto 26px;
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.75;
}

@media(max-width:900px){
  body.page-id-129 .et_pb_section_2 .et_pb_row_2{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:680px){
  .am-form-grid{grid-template-columns:1fr}
  .am-form-full{grid-column:auto}
  .am-static-contact-form{padding:22px 18px}
  .am-services-cta{padding:58px 0}
  .am-services-cta-inner{padding:34px 22px}
  body.page-id-129 .et_pb_section_2 .et_pb_row_2{
    gap:12px!important;
  }
}

/* Contact left panel: force accessible contrast over blue background. */
body.page-id-44 .et_pb_section_1 .et_pb_text_1,
body.page-id-44 .et_pb_section_1 .et_pb_text_1 p,
body.page-id-44 .et_pb_section_1 .et_pb_text_1 a,
body.page-id-44 .et_pb_section_1 .et_pb_text_1 h1,
body.page-id-44 .et_pb_section_1 .et_pb_text_1 h2,
body.page-id-44 .et_pb_section_1 .et_pb_text_1 h3,
body.page-id-44 .et_pb_section_1 .et_pb_text_1 h4,
body.page-id-44 .et_pb_section_1 .et_pb_text_1 strong{
  color:#fff!important;
}
body.page-id-44 .et_pb_section_1 .et_pb_text_1 a{
  text-decoration:none!important;
  border-bottom:1px solid rgba(255,255,255,.42);
}

/* ==========================================================
   LAYOUT v11 — Coaching, Servicios, Quién
   ========================================================== */

/* ---------- HOME · Qué es coaching ---------- */
.am-coaching-modern{
  padding:92px 0 100px;
  background:linear-gradient(180deg,#fff 0%,#f7fafc 100%);
}
.am-coaching-modern-inner{
  width:min(1180px,90%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:56px;
  align-items:center;
}
.am-coaching-video-card{
  align-self:center;
}
.am-coaching-video{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:24px;
  background:#0b2e50;
  box-shadow:0 24px 55px rgba(12,52,86,.16);
}
.am-coaching-video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.am-coaching-content{
  max-width:560px;
}
.am-section-kicker{
  display:inline-block;
  color:#005eb8;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:12px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.am-coaching-content h2{
  margin:9px 0 22px;
  color:#173b6d;
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(38px,4vw,58px);
  line-height:1.03;
}
.am-coaching-details{
  display:grid;
  gap:10px;
}
.am-coaching-details details{
  overflow:hidden;
  border:1px solid #dbe6ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 24px rgba(16,55,88,.04);
}
.am-coaching-details summary{
  position:relative;
  list-style:none;
  padding:16px 50px 16px 18px;
  color:#173b6d;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}
.am-coaching-details summary::-webkit-details-marker{display:none}
.am-coaching-details summary:after{
  content:"";
  position:absolute;
  right:20px;
  top:50%;
  width:9px;
  height:9px;
  border-right:2px solid #005eb8;
  border-bottom:2px solid #005eb8;
  transform:translateY(-65%) rotate(45deg);
  transition:transform .18s ease;
}
.am-coaching-details details[open] summary:after{
  transform:translateY(-30%) rotate(225deg);
}
.am-coaching-details details>div{
  padding:0 18px 18px;
  color:#435b70;
  font-size:15px;
  line-height:1.75;
}
.am-coaching-details details p{margin:0 0 10px}
.am-coaching-details details ul{
  margin:7px 0 0 18px;
  padding:0;
  list-style:disc;
}
.am-coaching-cta{
  margin-top:20px;
}

/* ---------- SERVICIOS · cards balanced ---------- */
body.page-id-91 .am-service-section{
  padding:22px 0!important;
  background:#f5f8fb!important;
}
body.page-id-91 .am-service-section:first-of-type{
  padding-top:46px!important;
}
body.page-id-91 .am-service-card{
  width:min(1180px,90%)!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
  gap:0!important;
  align-items:stretch!important;
  overflow:hidden!important;
  border:1px solid #dde7ef!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 16px 40px rgba(18,58,93,.07)!important;
  min-height:318px!important;
}
body.page-id-91 .am-service-card>.am-service-copy,
body.page-id-91 .am-service-card>.am-service-meta{
  float:none!important;
  width:auto!important;
  margin:0!important;
}
body.page-id-91 .am-service-copy{
  padding:34px 36px!important;
  display:flex!important;
  flex-direction:column!important;
}
body.page-id-91 .am-service-copy>.et_pb_text{
  margin-bottom:22px!important;
}
body.page-id-91 .am-service-copy .et_pb_text_inner h3{
  margin:0 0 6px!important;
  color:#173b6d!important;
  font-size:30px!important;
  line-height:1.12!important;
}
body.page-id-91 .am-service-copy .et_pb_text_inner h4{
  margin:0 0 10px!important;
  color:#2e57a1!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
}
body.page-id-91 .am-service-copy .et_pb_text_inner p{
  color:#435b70!important;
  font-size:16px!important;
  line-height:1.75!important;
}
body.page-id-91 .am-service-copy .am-static-toggle{
  margin-top:auto!important;
}
body.page-id-91 .am-service-meta{
  padding:30px!important;
  display:flex!important;
  align-items:stretch!important;
  background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%)!important;
  border-left:1px solid #e0e8ef!important;
}
.am-service-meta-clean{
  display:flex;
  flex-direction:column;
  width:100%;
  min-height:100%;
}
.am-service-tags{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.am-service-tags span{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:15px 17px;
  border:1px solid #e2e8ef;
  border-radius:13px;
  background:#fff;
  color:#173b6d;
  font-family:'Playfair Display',Georgia,serif;
  font-size:19px;
  font-weight:700;
  line-height:1.2;
}
.am-service-meta-bottom{
  margin-top:auto;
  padding-top:26px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:end;
}
.am-service-meta-bottom p{
  margin:0;
  color:#435b70;
  font-size:15px;
  line-height:1.65;
}
.am-service-meta-bottom .am-blog-btn{
  white-space:nowrap;
}

/* ---------- QUIEN · real photos + transparent logos ---------- */
.am-about-story{
  padding:86px 0 98px;
  background:#0d67b3;
}
.am-about-story-inner{
  width:min(1180px,90%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:56px;
  align-items:center;
}
.am-about-copy{
  padding:38px 40px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 24px 58px rgba(4,38,70,.18);
}
.am-about-copy h2{
  margin:9px 0 20px;
  color:#173b6d;
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(36px,3.7vw,52px);
  line-height:1.08;
}
.am-about-copy p{
  margin:0 0 17px;
  color:#38556d;
  font-size:16px;
  line-height:1.8;
}
.am-about-copy p:last-child{margin-bottom:0}
.am-about-visuals{
  position:relative;
  min-height:520px;
}
.am-about-photo{
  margin:0;
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 24px 54px rgba(3,37,67,.2);
  background:#fff;
}
.am-about-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.am-about-photo-main{
  width:84%;
  aspect-ratio:16/10;
  margin-left:auto;
}
.am-about-photo-secondary{
  position:absolute;
  left:0;
  bottom:0;
  width:47%;
  aspect-ratio:1/1.08;
  border:8px solid #0d67b3;
}
.am-about-photo-secondary img{
  object-position:center top;
}

.am-partners-section{
  padding:58px 0 72px;
  background:#fff;
}
.am-partners-inner{
  width:min(1180px,90%);
  margin:0 auto;
  text-align:center;
}
.am-partners-inner>.am-section-kicker{
  margin-bottom:26px;
}
.am-partners-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:34px;
  align-items:center;
}
.am-partner-logo{
  min-height:104px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
}
.am-partner-logo img{
  display:block;
  max-width:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}
.am-partner-imfe img{max-height:60px}
.am-partner-cade img{max-height:72px}
.am-partner-pilsa img{max-height:58px}
.am-partner-fedelhorce img{max-height:86px}

/* original lower Antonio brand image */
body.page-id-129 .et_pb_section_4 .et_pb_image_wrap img{
  width:auto!important;
  max-width:150px!important;
  height:auto!important;
  margin:0 auto!important;
}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .am-coaching-modern{padding:68px 0 74px}
  .am-coaching-modern-inner{
    grid-template-columns:1fr;
    gap:34px;
  }
  .am-coaching-content{
    max-width:760px;
    margin:0 auto;
  }

  body.page-id-91 .am-service-card{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }
  body.page-id-91 .am-service-meta{
    border-left:0!important;
    border-top:1px solid #e0e8ef!important;
  }

  .am-about-story-inner{
    grid-template-columns:1fr;
    gap:38px;
  }
  .am-about-copy{
    max-width:780px;
    margin:0 auto;
  }
  .am-about-visuals{
    min-height:500px;
    max-width:780px;
    width:100%;
    margin:0 auto;
  }
  .am-partners-grid{
    grid-template-columns:1fr 1fr;
    gap:20px 34px;
  }
}
@media(max-width:680px){
  .am-coaching-modern{padding:54px 0 60px}
  .am-coaching-modern-inner{width:92%}
  .am-coaching-content h2{font-size:38px}
  .am-coaching-video{border-radius:18px}
  .am-coaching-details summary{font-size:14px}

  body.page-id-91 .am-service-section{
    padding:14px 0!important;
  }
  body.page-id-91 .am-service-card{
    width:92%!important;
    border-radius:18px!important;
  }
  body.page-id-91 .am-service-copy,
  body.page-id-91 .am-service-meta{
    padding:24px 20px!important;
  }
  .am-service-tags{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .am-service-tags span{
    min-height:56px;
    padding:12px 11px;
    font-size:16px;
  }
  .am-service-meta-bottom{
    grid-template-columns:1fr;
    align-items:stretch;
    gap:15px;
  }
  .am-service-meta-bottom .am-blog-btn{
    width:100%;
    white-space:normal;
  }

  .am-about-story{padding:58px 0 72px}
  .am-about-story-inner{width:92%}
  .am-about-copy{padding:28px 24px}
  .am-about-copy h2{font-size:36px}
  .am-about-visuals{min-height:390px}
  .am-about-photo-main{width:90%}
  .am-about-photo-secondary{
    width:52%;
    border-width:6px;
  }
  .am-partners-section{padding:44px 0 52px}
  .am-partners-grid{
    grid-template-columns:1fr 1fr;
    gap:12px 20px;
  }
  .am-partner-logo{min-height:82px;padding:8px}
  .am-partner-imfe img{max-height:48px}
  .am-partner-cade img{max-height:58px}
  .am-partner-pilsa img{max-height:46px}
  .am-partner-fedelhorce img{max-height:68px}
}

/* PILSA dark variant for light background; keep transparent SVG. */
.am-partner-pilsa img{
  width:160px!important;
  max-width:86%!important;
  max-height:none!important;
}
@media(max-width:680px){
  .am-partner-pilsa img{width:132px!important}
}

/* ==========================================================
   MOTION SYSTEM v12
   ========================================================== */

/* ----- Scroll reveal ----- */
.am-reveal{
  --am-delay:0ms;
}
html.am-motion-ready .am-reveal{
  opacity:0;
  transform:translate3d(0,24px,0);
  transition:
    opacity .62s cubic-bezier(.22,.61,.36,1) var(--am-delay),
    transform .62s cubic-bezier(.22,.61,.36,1) var(--am-delay);
}
html.am-motion-ready .am-reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}

/* cards feel slightly faster than large sections */
html.am-motion-ready .am-home-blog-card.am-reveal,
html.am-motion-ready .am-blog-card.am-reveal,
html.am-motion-ready .am-partner-logo.am-reveal,
html.am-motion-ready .et_pb_row_1 .et_pb_blurb.am-reveal{
  transition-duration:.48s;
}

/* ----- Smart header ----- */
#main-header{
  position:sticky!important;
  top:0!important;
  z-index:99990!important;
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    box-shadow .28s ease,
    background-color .28s ease!important;
  will-change:transform;
}
#main-header.am-header-hidden{
  transform:translate3d(0,-112%,0)!important;
}
#main-header.am-header-scrolled{
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 12px 32px rgba(8,42,72,.12)!important;
}
@media(min-width:981px){
  #main-header.am-header-scrolled .logo_container{
    height:82px!important;
    transition:height .28s ease!important;
  }
  #main-header.am-header-scrolled #logo{
    max-height:62px!important;
    transition:max-height .28s ease!important;
  }
  #main-header.am-header-scrolled #top-menu>li>a{
    padding-bottom:14px!important;
    transition:padding .28s ease,color .2s ease!important;
  }
}
@media(max-width:980px){
  #main-header{
    position:sticky!important;
    top:0!important;
  }
}

/* ----- About parallax ----- */
.am-about-photo{
  --am-parallax-y:0px;
  transform:translate3d(0,var(--am-parallax-y),0);
  will-change:transform;
}
html.am-motion-ready .am-about-photo.am-reveal:not(.is-visible){
  transform:translate3d(0,24px,0);
}
html.am-motion-ready .am-about-photo.am-reveal.is-visible{
  transform:translate3d(0,var(--am-parallax-y),0);
}

/* ----- Grid icon microinteractions ----- */
body.home .et_pb_row_1 .am-grid-icon svg{
  transform-origin:center;
  transition:transform .28s cubic-bezier(.22,.61,.36,1),filter .28s ease!important;
}
@media(hover:hover) and (pointer:fine){
  body.home .et_pb_blurb_0:hover .am-grid-icon svg{
    transform:scale(1.11);
  }
  body.home .et_pb_blurb_1:hover .am-grid-icon svg{
    transform:translateY(-4px) rotate(-3deg);
  }
  body.home .et_pb_blurb_2:hover .am-grid-icon svg{
    transform:scale(1.08);
    filter:drop-shadow(0 0 6px rgba(255,255,255,.45));
  }
  body.home .et_pb_blurb_3:hover .am-grid-icon svg{
    transform:translateY(-4px);
  }
  body.home .et_pb_blurb_4:hover .am-grid-icon svg{
    transform:translate3d(3px,-3px,0) scale(1.07);
  }
  body.home .et_pb_blurb_5:hover .am-grid-icon svg{
    transform:translateY(-4px) scale(1.04);
  }
  body.home .et_pb_blurb_6:hover .am-grid-icon svg{
    transform:translateY(-2px) rotate(-4deg);
  }
  body.home .et_pb_blurb_7:hover .am-grid-icon svg{
    transform:rotate(20deg) scale(1.04);
  }
}

/* ----- Buttons & editorial cards ----- */
.et_pb_button,
.am-blog-btn,
.am-home-outline-btn,
.am-blog-read{
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    color .2s ease!important;
}
@media(hover:hover) and (pointer:fine){
  .et_pb_button:hover,
  .am-blog-btn:hover,
  .am-home-outline-btn:hover{
    transform:translateY(-2px)!important;
  }
  .et_pb_button:active,
  .am-blog-btn:active,
  .am-home-outline-btn:active{
    transform:translateY(0) scale(.985)!important;
  }
  .am-blog-read:hover{
    transform:translateX(4px);
  }
}

/* ----- Coaching native details ----- */
.am-coaching-details details{
  transition:
    box-shadow .22s ease,
    border-color .22s ease,
    background-color .22s ease;
}
.am-coaching-details details[open]{
  border-color:#bfd9ea;
  box-shadow:0 12px 28px rgba(16,55,88,.07);
}
.am-coaching-details summary{
  transition:color .2s ease,background-color .2s ease;
}
@media(hover:hover){
  .am-coaching-details summary:hover{
    color:#005eb8;
    background:#f8fbfd;
  }
}

/* ----- Services accordion animation support ----- */
.am-static-toggle .et_pb_toggle_content{
  will-change:max-height,opacity;
}

/* ----- Article reading progress ----- */
.am-reading-progress{
  position:fixed;
  left:0;
  right:0;
  top:0;
  height:3px;
  z-index:100500;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
  background:rgba(255,255,255,.22);
}
.am-reading-progress.is-active{
  opacity:1;
}
.am-reading-progress span{
  display:block;
  width:100%;
  height:100%;
  transform:scaleX(0);
  transform-origin:left center;
  background:linear-gradient(90deg,#005eb8,#42a9e0);
  box-shadow:0 0 10px rgba(0,94,184,.34);
  will-change:transform;
}

/* ----- Reduced motion ----- */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  html.am-motion-ready .am-reveal,
  html.am-motion-ready .am-reveal.is-visible{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
  #main-header{
    transition:none!important;
    transform:none!important;
  }
  #main-header.am-header-hidden{
    transform:none!important;
  }
  .am-about-photo{
    transform:none!important;
  }
  body.home .et_pb_row_1 .am-grid-icon svg,
  .et_pb_button,
  .am-blog-btn,
  .am-home-outline-btn,
  .am-blog-read,
  .am-coaching-details details,
  .am-coaching-details summary{
    transition:none!important;
    animation:none!important;
    transform:none!important;
  }
  .am-reading-progress{
    transition:none!important;
  }
}

/* ==========================================================
   HEADER v13 — prevent topbar overlap / cropped logo
   ========================================================== */

/* The legacy Divi top bar was fixed at y=0 and physically covered
   the first ~38px of the centered logo. Let it occupy normal flow. */
#top-header{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  z-index:99995!important;
}

/* Main navigation remains the only sticky/smart header. */
#main-header{
  top:0!important;
  overflow:visible!important;
}
#main-header .container,
#main-header .container.et_menu_container,
#main-header .logo_container{
  overflow:visible!important;
}
#main-header #logo{
  display:inline-block!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  overflow:visible!important;
}

/* Give the full wordmark predictable breathing room. */
@media(min-width:981px){
  .et_header_style_centered #main-header .logo_container{
    height:118px!important;
    padding:12px 0 10px!important;
  }
  .et_header_style_centered #main-header #logo{
    max-height:94px!important;
  }

  #main-header.am-header-scrolled .logo_container{
    height:86px!important;
    padding:9px 0 7px!important;
  }
  #main-header.am-header-scrolled #logo{
    max-height:68px!important;
  }
}

/* Mobile already hides the blue top bar; keep header flush to top. */
@media(max-width:980px){
  #top-header{display:none!important}
  #main-header{top:0!important}
  #main-header .logo_container{
    overflow:visible!important;
  }
  #main-header #logo{
    max-height:68px!important;
  }
}

/* ==========================================================
   CONTACT API v14
   ========================================================== */
.am-honeypot{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.am-form-status{
  min-height:22px;
  margin-top:14px;
  font-size:14px;
  line-height:1.5;
  font-weight:650;
  color:#6b7f92;
}
.am-form-status.is-working{color:#3550a0}
.am-form-status.is-success{
  color:#157347;
  padding:12px 14px;
  border:1px solid #badbcc;
  border-radius:12px;
  background:#d1e7dd;
}
.am-form-status.is-error{
  color:#842029;
  padding:12px 14px;
  border:1px solid #f5c2c7;
  border-radius:12px;
  background:#f8d7da;
}
.am-contact-submit[disabled]{
  opacity:.68!important;
  cursor:wait!important;
  transform:none!important;
}

/* ==========================================================
   TOP CONTACT ICONS v15 — inline SVG, no ETmodules dependency
   ========================================================== */
#et-info{
  display:flex!important;
  align-items:center!important;
  gap:26px!important;
  flex-wrap:wrap!important;
}
#et-info-phone,
#et-info-email{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  line-height:1.2!important;
}
#et-info-phone:before,
#et-info-email:before{
  content:none!important;
  display:none!important;
}
.am-top-contact-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  color:currentColor!important;
}
.am-top-contact-icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  fill:currentColor!important;
}
.am-top-contact-text{
  display:inline-block!important;
}
#top-header a:hover .am-top-contact-icon,
#top-header a:hover .am-top-contact-text{
  opacity:.92;
}
@media(max-width:980px){
  #et-info{gap:14px!important}
}
