/* ==========================================================================
   Dr. Aluminio — páginas de servicio / localidad
   ========================================================================== */

.subpage { background: var(--paper); }

.subpage-header .header-inner { min-height: 76px; }
.subpage-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: color .25s var(--ease);
}
.subpage-home:hover { color: #fff; }
.subpage-home .icon { width: 15px; height: 15px; }
.subpage-header .btn { display: none; }
.subpage-header .header-actions { gap: 14px; }

@media (min-width: 620px) {
  .subpage-header .btn { display: inline-flex; }
}

@media (max-width: 619px) {
  .subpage-header .brand { font-size: 20px; gap: 9px; }
  .subpage-header .brand__logo { width: 40px; height: 40px; }
  .subpage-header .header-inner { gap: 12px; }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 6vw, 60px) clamp(52px, 7vw, 84px);
  background: var(--sky);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .7;
  background-image:
    linear-gradient(rgba(8, 113, 139, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 113, 139, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 4%, #000 70%);
}
.page-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.breadcrumb a { color: var(--teal); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-current] { color: var(--muted); }
.breadcrumb__sep { color: #9AA8B2; }

.page-hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.page-hero__lead {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.68;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}
.page-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}
.page-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.page-hero__points li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(64, 200, 232, .16);
}
.page-hero__media {
  position: relative;
  margin: 0;
}
.page-hero__media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: 0;
  border: 1px solid rgba(8, 113, 139, .25);
  border-radius: 24px;
}
.page-hero__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 65px -30px rgba(14, 19, 25, .45);
}
.page-hero__media figcaption {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.page-content {
  padding-block: clamp(56px, 8vw, 92px);
  background: var(--paper);
}
.page-content__grid {
  display: grid;
  gap: clamp(36px, 5vw, 60px);
}
.prose {
  min-width: 0;
  max-width: 760px;
}
.prose h2 {
  margin: 35px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.prose h2:first-child { margin-top: 0; }
.prose p,
.prose li {
  color: #3F4B55;
  font-size: 16.5px;
  line-height: 1.75;
}
.prose p { margin: 0 0 16px; }
.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 20px;
  padding-left: 20px;
}
.prose li::marker { color: var(--teal); }
.prose a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  background: var(--sky);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.prose-callout strong { color: var(--ink); }
.prose-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 10px;
}
.prose-gallery figure { margin: 0; }
.prose-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
.prose-gallery figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.page-aside { min-width: 0; }
.aside-card {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--sky);
}
.aside-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.025em;
}
.aside-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.aside-card .btn {
  width: 100%;
  margin-top: 16px;
}
.aside-phone,
.aside-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 11px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.aside-phone .icon,
.aside-mail .icon { width: 15px; height: 15px; }
.aside-card hr {
  height: 1px;
  margin: 19px 0 15px;
  border: 0;
  background: var(--line);
}
.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aside-links span {
  margin-bottom: 2px;
  color: var(--teal);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.aside-links a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  transition: color .25s var(--ease);
}
.aside-links a:hover { color: var(--ink); }

.page-faq {
  padding-block: clamp(56px, 8vw, 86px);
  background: var(--sky);
}
.page-faq__inner { max-width: 840px; margin-inline: auto; }
.page-faq h2 { margin-bottom: 10px; }
.page-faq__lead {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.page-faq .faq__list { border-top: 1px solid var(--line); }

.page-cta {
  padding-block: clamp(48px, 7vw, 72px);
  background: var(--ink);
  color: #fff;
}
.page-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.page-cta h2 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
}
.page-cta p {
  max-width: 570px;
  color: var(--muted-light);
  font-size: 15.5px;
  line-height: 1.65;
}
.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.subfooter {
  display: grid;
  gap: 30px;
  padding-block: 48px 36px;
}
.subfooter .brand { color: var(--ink); }
.subfooter p {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.subfooter nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.subfooter nav span {
  margin-bottom: 3px;
  color: var(--teal);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.subfooter nav a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  transition: color .25s var(--ease);
}
.subfooter nav a:hover { color: var(--ink); }
.subfooter__contact p { margin: 0 0 7px; }
.subfooter__contact a { color: var(--teal); }
.subfooter__contact a:hover { color: var(--ink); }

@media (min-width: 900px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(48px, 5vw, 72px);
  }
  .page-content__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(48px, 6vw, 76px);
    align-items: start;
  }
  .subfooter { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 899px) {
  .page-aside .aside-card { position: static; }
}

@media (max-width: 559px) {
  .page-hero h1 { font-size: 38px; }
  .page-hero__actions .btn { width: 100%; }
  .page-hero__media::before { inset: 10px -10px -10px 10px; }
  .page-hero__media figcaption { margin-top: 12px; }
  .prose-gallery { grid-template-columns: 1fr; }
  .page-cta__actions .btn { width: 100%; }
}
