/* Navegación y estructura compartida de las páginas interiores. */
:root { --header-offset: 196px; }
html { scroll-padding-top: 0; }
.header-main { height: 150px; }
.notice-strip { min-height: 46px; padding: 10px 20px; }
main { padding-top: var(--header-offset); }
main [id] { scroll-margin-top: calc(var(--header-offset) + 18px); }
#navigation {
  display: grid;
  grid-template-columns: 1.15fr .75fr .9fr 1.9fr 1.1fr .8fr;
  gap: 4px;
  align-items: center;
}
#navigation > a {
  position: relative;
  min-width: 0;
  padding: 10px 5px;
  font-size: clamp(11px, .85vw, 15px);
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}
#navigation > a[aria-current="page"] { color: var(--blue); }
#navigation > a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2px;
  height: 3px;
  background: var(--yellow);
}
.footer-nav { gap: 12px 22px; }
.footer-nav a { line-height: 1.5; }
.page-wrap { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.inner-hero { padding: 28px 0 52px; border-bottom: 1px solid var(--surface-line); }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-bottom: 30px; }
.breadcrumbs a { color: var(--body-copy); }
.breadcrumbs span[aria-current] { color: var(--navy); }
.inner-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.page-eyebrow { display: flex; align-items: center; gap: 11px; text-transform: uppercase; font-size: 13px; font-weight: 750; letter-spacing: .08em; color: var(--blue); margin: 0 0 18px; }
.page-eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--yellow); flex-shrink: 0; }
.inner-hero h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.16; color: var(--navy); margin: 0 0 23px; }
.page-lead { color: var(--body-copy); font-size: 21px; line-height: 1.55; margin: 0; max-width: 640px; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.page-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 24px; border: 1px solid var(--blue); border-radius: 5px; color: #fff; background: var(--blue); font-weight: 700; font-size: 18px; line-height: 1.3; }
.page-button:hover { background: var(--navy); border-color: var(--navy); color: #fff; text-decoration: none; }
.page-button.secondary { background: #fff; color: var(--blue); }
.page-button.secondary:hover { background: #f3f7ff; }
.page-text-link { font-weight: 700; font-size: 18px; }
.service-photo { position: relative; margin: 0; overflow: hidden; border-radius: 12px; }
.service-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: 60% center; }
.service-photo.wide img { aspect-ratio: 1942/809; object-fit: contain; }
.service-photo figcaption { position: absolute; bottom: 8px; right: 10px; color: #fff; background: #031133b3; padding: 2px 8px; font-size: 11px; border-radius: 3px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 56px; align-items: start; padding: 56px 0 64px; }
.detail-article, .detail-aside { min-width: 0; }
.detail-article > section + section { margin-top: 46px; }
.detail-article h2 { font-size: 28px; line-height: 1.25; color: var(--navy); margin: 0 0 20px; }
.detail-article h3 { font-size: 20px; color: var(--heading); }
.section-intro { font-size: 19px; line-height: 1.65; margin-bottom: 26px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work-card { padding: 24px; border: 1px solid var(--surface-line); border-top: 3px solid var(--yellow); border-radius: 9px; background: #fff; }
.work-number { color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .06em; }
.work-card h3 { margin: 13px 0 12px; font-size: 20px; }
.work-card p { margin: 0; font-size: 17px; line-height: 1.6; }
.detail-note { background: #f7f9fc; border-left: 4px solid var(--yellow); padding: 26px 28px; border-radius: 0 8px 8px 0; }
.detail-note ul { padding-left: 20px; margin: 0; }
.detail-note li + li { margin-top: 10px; }
.detail-note p:last-child { margin-bottom: 0; }
.steps { padding: 0; list-style: none; counter-reset: steps; }
.steps li { counter-increment: steps; position: relative; padding: 0 0 24px 55px; }
.steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 0; left: 0; font-size: 17px; font-weight: 750; color: var(--blue); }
.steps li + li { border-top: 1px solid var(--surface-line); padding-top: 22px; }
.steps li + li::before { top: 22px; }
.steps strong { display: block; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 17px; }
.detail-article .faq-section details { border-bottom: 1px solid var(--surface-line); padding: 0 0 18px; }
.detail-article .faq-section summary { font-size: 17px; }
.detail-article .faq-section details p { margin-bottom: 0; font-size: 17px; }
.detail-aside .quote-panel { padding: 28px 24px; }
.detail-aside .quote-panel h2 { font-family: Montserrat, Arial, sans-serif; font-size: 28px; line-height: 1.2; }
.detail-aside #quote-form { gap: 13px; }
.detail-aside .form-submit { max-width: none; min-height: 52px; }
.detail-aside .emergency-card { margin-top: 26px; margin-bottom: 0; }
.detail-aside .emergency-card h2 { font-size: 28px; }
.related-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-pages a { padding: 18px 20px; border: 1px solid var(--surface-line); border-radius: 7px; font-weight: 700; line-height: 1.4; color: var(--heading); }
.related-pages a:hover { color: var(--blue); border-color: var(--blue); text-decoration: none; }
.company-intro { font-size: 20px; line-height: 1.7; }
.company-values { display: grid; grid-template-columns: 1fr; gap: 0; }
.company-values article { padding: 22px 0; border-bottom: 1px solid var(--surface-line); }
.company-values h3 { margin: 0 0 10px; }
.company-values p { margin: 0; }
.contact-intro { max-width: 800px; }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-method { border: 1px solid var(--surface-line); border-top: 3px solid var(--yellow); padding: 24px; border-radius: 9px; }
.contact-method h3 { margin: 0 0 12px; }
.contact-method > a { display: inline-block; font-size: 22px; font-weight: 700; line-height: 1.4; }
.contact-method p { margin: 12px 0 0; font-size: 16px; }
.coverage-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; }
.coverage-tags li { padding: 5px 11px; background: #f5f7fb; border: 1px solid var(--surface-line); border-radius: 5px; font-size: 16px; }
.contact-emergency { background: var(--navy); color: #fff; padding: 30px; border-radius: 10px; }
.contact-emergency h2 { color: #fff; }
.contact-emergency p { margin: 0 0 20px; }
.contact-emergency > a { color: var(--yellow); font-weight: 700; font-size: 25px; }

@media (max-width: 1200px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .inner-hero-grid { gap: 34px; }
  .work-card { padding: 21px; }
  .page-lead { font-size: 19px; }
}
@media (max-width: 991px) {
  :root { --header-offset: 162px; }
  .header-main { height: 124px; }
  .notice-strip { min-height: 38px; padding: 6px 12px; }
  #navigation { display: none; }
  #navigation.open { display: flex; }
  #navigation > a { font-size: 17px; text-align: left; padding: 13px 12px; }
  #navigation > a[aria-current="page"] { background: #f5f8ff; }
  #navigation > a[aria-current="page"]::after { top: 10px; bottom: 10px; left: 0; right: auto; height: auto; width: 3px; }
  .page-wrap { width: calc(100% - 48px); }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 48px; }
  .detail-aside { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 25px; align-items: start; }
  .detail-aside .quote-panel, .detail-aside .emergency-card { margin: 0; }
  .inner-hero-grid { gap: 25px; }
  .inner-hero h1 { font-size: 31px; }
  .service-photo img { aspect-ratio: 1/1; }
}
@media (max-width: 600px) {
  :root { --header-offset: 140px; }
  .header-main { height: 105px; }
  .notice-strip { min-height: 35px; padding: 8px; }
  .page-wrap { width: calc(100% - 36px); }
  .inner-hero { padding: 20px 0 30px; }
  .breadcrumbs { margin-bottom: 24px; font-size: 12px; gap: 8px; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .inner-hero h1 { font-size: 30px; }
  .page-eyebrow { font-size: 12px; margin-bottom: 14px; }
  .page-lead { font-size: 18px; }
  .page-actions { gap: 13px; }
  .page-button, .page-text-link { font-size: 17px; }
  .service-photo img { aspect-ratio: 3/2; }
  .detail-layout { padding: 34px 0 40px; }
  .detail-article h2 { font-size: 25px; }
  .detail-article > section + section { margin-top: 36px; }
  .work-grid, .related-pages, .contact-methods { grid-template-columns: 1fr; }
  .work-card { padding: 22px; }
  .detail-note { padding: 24px 22px; }
  .detail-aside { display: block; }
  .detail-aside .emergency-card { margin-top: 24px; }
  .contact-emergency { padding: 25px; }
}
