:root{
  --ah-navy:#0b2f48;
  --ah-blue:#76b4d2;
  --ah-light-blue:#98B5CB;
  --ah-accent:#ea4f3d;
  --ah-text:#17354b;
  --ah-muted:#667b89;
  --ah-border:#d9dfe3;
  --ah-white:#ffffff;
}

.ah-service-page{background:#fff;color:var(--ah-text);font-family:inherit;padding:42px 20px 58px}
.ah-service-wrap{width:min(100%,1170px);margin:0 auto}
.ah-service-header{text-align:center;margin:0 auto 24px}
.ah-service-header h1{margin:0 auto 10px;max-width:950px;color:var(--ah-navy);font-size:clamp(28px,3vw,42px);line-height:1.16;font-weight:700;letter-spacing:-.02em}
.ah-service-header h1 span{font-weight:400}
.ah-breadcrumb{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;line-height:1.4;letter-spacing:.06em;color:#5a9aba;font-weight:600}
.ah-breadcrumb a{color:#5a9aba;text-decoration:none}.ah-breadcrumb strong{font-weight:700;color:#4a8aa9}
.ah-breadcrumb-line{width:48px;height:3px;border-radius:5px;background:#69b8df;margin:11px auto 0}

.ah-service-hero{margin:0;width:100%;aspect-ratio:3/1;overflow:hidden;border-radius:15px;background:#eef2f4}
.ah-service-hero img{display:block;width:100%;height:100%;object-fit:cover}

.ah-service-meta{display:grid;grid-template-columns:.8fr 1.2fr;margin:50px 32px 34px}
.ah-meta-block{min-height:58px;display:flex;flex-direction:column;justify-content:center;padding:0 28px}
.ah-meta-block:first-child{padding-left:0;border-right:1px solid #aeb7bd}
.ah-meta-block span{font-size:15px;line-height:1.3;color:#3f738f;margin-bottom:4px}
.ah-meta-block strong{font-size:16px;line-height:1.35;color:var(--ah-navy);font-weight:700}

.ah-service-content,.ah-conditions,.ah-approach,.ah-orientation,.ah-related{margin-left:32px;margin-right:32px}
.ah-service-content h2,.ah-conditions h2,.ah-approach h2,.ah-related>h2{color:var(--ah-text);font-size:23px;line-height:1.25;margin:0 0 14px;font-weight:700}
.ah-richtext{font-size:15.5px;line-height:1.58;color:#112d40}.ah-richtext p{margin:0 0 17px}.ah-richtext strong{font-weight:700;color:#113d59}.ah-richtext a{color:#4b9abc}

.ah-conditions{margin-top:27px}
.ah-conditions h2{color:var(--ah-accent);font-size:21px;margin-bottom:9px}
.ah-conditions ul{margin:0;padding-left:21px;color:#111;font-size:15px;line-height:1.48}.ah-conditions li{margin:2px 0}

.ah-approach{margin-top:29px}
.ah-approach .ah-richtext p{margin-bottom:0}

.ah-orientation{margin-top:32px}
.ah-orientation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ah-orientation-card{position:relative;border:1px solid #d9dee2;border-radius:8px;background:#fff;padding:22px 24px 20px;box-shadow:0 5px 16px rgba(21,54,75,.045)}
.ah-orientation-icon{width:25px;height:25px;color:var(--ah-navy);margin-bottom:8px}.ah-orientation-icon svg{display:block;width:100%;height:100%}
.ah-orientation-card h3{margin:0 0 11px;color:#1a3549;font-size:16px;line-height:1.25;font-weight:700}
.ah-orientation-card p{margin:0 0 14px;color:#263b49;font-size:14px;line-height:1.55}
.ah-orientation-cta{display:inline-flex;align-items:center;gap:6px;color:#66808f!important;text-decoration:none!important;font-size:12.5px;font-weight:600}
.ah-orientation-cta:not(.ah-orientation-cta-static):hover{color:var(--ah-accent)!important}.ah-orientation-cta-static{cursor:default}

.ah-related{margin-top:45px}
.ah-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.ah-card{background:#fff;border:1px solid #d6dadd;border-radius:9px;overflow:hidden;box-shadow:0 6px 18px rgba(21,54,75,.05);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.ah-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(21,54,75,.11);border-color:#c8d1d7}
.ah-card-image{display:block;margin:7px 7px 0;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#edf2f4}
.ah-card-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}.ah-card:hover .ah-card-image img{transform:scale(1.025)}.ah-card-placeholder{width:100%;height:100%;background:#eef2f4}
.ah-card-body{padding:15px 16px 18px}
/* Títulos de las tarjetas relacionadas: más compactos y protegidos de estilos globales del tema */
.ah-related .ah-card .ah-card-body h3{margin:0 0 10px!important;color:var(--ah-navy)!important;font-size:19px!important;line-height:1.18!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important}
.ah-related .ah-card .ah-card-body h3 span{display:block!important;margin-bottom:5px!important;font-size:13px!important;line-height:1.1!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.01em!important}
.ah-card p{margin:0 0 15px;color:#1d3342;font-size:11.5px;line-height:1.24}.ah-card-link{display:inline-flex;align-items:center;gap:7px;color:var(--ah-accent)!important;text-decoration:none!important;font-size:12px;font-weight:600}.ah-card-link span{font-size:17px;line-height:1}

@media(max-width:900px){
  .ah-service-page{padding-top:34px}.ah-service-hero{aspect-ratio:2.25/1}.ah-related-grid{gap:18px}
  .ah-service-meta,.ah-service-content,.ah-conditions,.ah-approach,.ah-orientation,.ah-related{margin-left:10px;margin-right:10px}
}

@media(max-width:767px){
  .ah-service-page{padding:30px 16px 44px}.ah-service-header{margin-bottom:20px}.ah-service-header h1{font-size:clamp(25px,7vw,32px)}.ah-breadcrumb{font-size:11px;gap:6px}
  .ah-service-hero{aspect-ratio:16/10;border-radius:12px}.ah-service-meta{grid-template-columns:1fr;margin:28px 0}.ah-meta-block,.ah-meta-block:first-child{padding:14px 0;border-right:0}.ah-meta-block:first-child{border-bottom:1px solid #d8dde1}.ah-meta-block span{font-size:13px}.ah-meta-block strong{font-size:15px}
  .ah-service-content,.ah-conditions,.ah-approach,.ah-orientation,.ah-related{margin-left:0;margin-right:0}.ah-service-content h2,.ah-approach h2,.ah-related>h2{font-size:21px}.ah-richtext{font-size:15px;line-height:1.58;text-align:left}.ah-conditions h2{font-size:20px}.ah-conditions ul{font-size:14.5px;line-height:1.5}
  .ah-orientation-grid{grid-template-columns:1fr;gap:14px}.ah-orientation-card{padding:20px 18px}.ah-orientation-card p{font-size:14px}
  .ah-related{margin-top:37px}.ah-related-grid{grid-template-columns:1fr;gap:18px}.ah-card{max-width:520px;width:100%;margin:0 auto}.ah-related .ah-card .ah-card-body h3{font-size:18px!important;line-height:1.2!important}.ah-related .ah-card .ah-card-body h3 span{font-size:12px!important}.ah-card p{font-size:12.5px;line-height:1.35}
}

@media(min-width:768px) and (max-width:1024px){
  .ah-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ah-related-grid .ah-card:nth-child(3){grid-column:1/-1;max-width:50%;width:100%;margin:0 auto}
}
