/* Páginas SEO hijas — layout propio sobre el CSS de la home */
.seo-page {
  padding-top: 0;
}

.seo-hero {
  --pass: 780ms;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
}

.seo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  /* Móvil: anclar a la derecha para que se vea el trabajador (compuesto a la derecha) */
  background-position: 78% center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .seo-hero-bg {
    background-position: center;
  }
}

.seo-hero-photo-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 23, 40, 0.88) 0%, rgba(11, 23, 40, 0.62) 42%, rgba(11, 23, 40, 0.28) 72%, rgba(11, 23, 40, 0.18) 100%),
    linear-gradient(180deg, rgba(11, 23, 40, 0.35) 0%, transparent 35%, rgba(11, 23, 40, 0.45) 100%);
}

.seo-hero.has-photo .contact-paint {
  z-index: 2;
}

.seo-hero.has-photo .contact-paint-scrim {
  background: transparent;
}

.seo-hero-inner {
  max-width: 48rem;
}

.seo-kicker {
  display: inline-block;
  color: #0094a8;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.seo-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.seo-hero-lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.125rem;
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 40rem;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.seo-btn-primary {
  background: #ffb313;
  color: #0b1728;
}

.seo-btn-primary:hover {
  background: #ffc84a;
}

.seo-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.seo-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.seo-btn-outline {
  background: transparent;
  color: #0b1728;
  border: 1px solid rgba(11, 23, 40, 0.25);
}

.seo-btn-outline:hover {
  border-color: #0094a8;
  color: #0094a8;
}

.seo-faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.seo-faq-item {
  background: #f9fafb;
  border: 1px solid rgba(0, 148, 168, 0.14);
  border-radius: 0.85rem;
  padding: 0.15rem 1.1rem;
}

.seo-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #0b1728;
  padding: 1rem 0;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  float: right;
  color: #0094a8;
  font-weight: 700;
}

.seo-faq-item[open] summary::after {
  content: "–";
}

.seo-faq-answer {
  padding: 0 0 1.1rem;
  color: #4b5563;
  line-height: 1.65;
  font-size: 1rem;
}

.seo-faq-answer p {
  margin: 0;
}

.seo-faq-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.seo-precio-box {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.seo-precio-box .seo-prose {
  margin: 0 auto 1.5rem;
}

.seo-section {
  padding: 4.5rem 0;
}

.seo-section-has-bg {
  position: relative;
  overflow: hidden;
}

.seo-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: 78% center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

@media (min-width: 768px) {
  .seo-section-bg {
    background-position: center;
  }
}

.seo-section-head.seo-intro-panel {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  margin-bottom: 0;
  box-shadow: 0 8px 28px rgba(11, 23, 40, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

@media (min-width: 640px) {
  .seo-section-head.seo-intro-panel {
    padding: 2rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .seo-section {
    padding: 6rem 0;
  }
}

.seo-section-paint {
  --pass: 780ms;
}

.seo-section h2,
.seo-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #0b1728;
}

.seo-section-paint h2,
.seo-section-paint .seo-prose,
.seo-section-paint .seo-muted {
  color: #fff;
}

.seo-section-paint .seo-muted {
  color: rgba(255, 255, 255, 0.82);
}

.seo-prose {
  color: #4b5563;
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 46rem;
  margin: 0;
}

.seo-prose-center {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

.seo-section-head .seo-prose {
  margin-top: 0.25rem;
}

.seo-section-head {
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .seo-section-head {
    margin-bottom: 4.5rem;
  }
}

/* Tarjetas de servicio (estilo home) */
.seo-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .seo-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .seo-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.seo-service-card {
  position: relative;
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
  transition: background 0.45s ease;
}

.seo-service-card:hover {
  background: #0b1728;
}

.seo-service-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: rgba(0, 148, 168, 0.1);
  border-radius: 999px;
  transform: translate(50%, -50%);
  transition: background 0.45s ease;
  pointer-events: none;
}

.seo-service-card:hover .seo-service-glow {
  background: rgba(255, 255, 255, 0.1);
}

.seo-service-body {
  position: relative;
}

.seo-service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: #0b1728;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  transition: background 0.45s ease;
}

.seo-service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.seo-service-card:hover .seo-service-icon {
  background: #0094a8;
}

.seo-service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0b1728;
  transition: color 0.45s ease;
}

.seo-service-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 0.45s ease;
}

.seo-service-card a {
  display: inline-flex;
  margin-top: 0.85rem;
  color: #0094a8;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.45s ease;
}

.seo-service-card:hover h3 {
  color: #fff;
}

.seo-service-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.seo-service-card:hover a {
  color: #ffb313;
}

.seo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.seo-list a,
.seo-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 148, 168, 0.1);
  border: 1px solid rgba(0, 148, 168, 0.22);
  color: #0b1728;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.seo-section-paint .seo-list a,
.seo-section-paint .seo-chip {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* Garantía como en la home */
.seo-garantia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 640px) {
  .seo-garantia-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .seo-garantia-grid {
    gap: 5rem;
  }
}

.seo-garantia-seal-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) {
  .seo-garantia-seal-wrap {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .seo-garantia-seal-wrap {
    justify-content: center;
  }
}

.seo-garantia-seal {
  width: 100%;
  max-width: 300px;
  height: auto;
}

@media (min-width: 640px) {
  .seo-garantia-seal {
    max-width: 380px;
  }
}

@media (min-width: 1024px) {
  .seo-garantia-seal {
    max-width: 460px;
  }
}

.seo-marcas-block {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(11, 23, 40, 0.08);
  text-align: center;
}

.seo-marcas-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #0b1728;
}

.seo-marcas-block .seo-prose {
  margin: 0 auto 1.75rem;
  max-width: 40rem;
}

.seo-marcas-logos {
  display: block;
  width: 100%;
  max-width: 56rem;
  height: auto;
  margin: 0 auto;
}

.seo-trabajos .fichas-home {
  margin-top: 0;
}

.seo-trabajos .fichas-home h2 {
  margin: 0 0 2rem;
  color: #0b1728;
}

.seo-trabajos-more {
  margin: 1.75rem 0 0;
  text-align: center;
}

.seo-trabajos-more a {
  color: #0094a8;
  font-weight: 700;
  text-decoration: none;
}

.seo-trabajos-more a:hover {
  text-decoration: underline;
}

.seo-two-cols {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .seo-two-cols {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.seo-check-list,
.seo-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.seo-check-list li,
.seo-steps li {
  position: relative;
  padding-left: 1.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  list-style: none;
}

.seo-check-list li::marker,
.seo-steps li::marker {
  content: none;
}

.seo-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #ffb313;
}

.seo-steps li {
  display: flex;
  gap: 0.75rem;
  padding-left: 0;
  align-items: flex-start;
}

.seo-steps li span {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seo-tambien {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.seo-tambien h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.seo-plain-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.seo-plain-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #4b5563;
  line-height: 1.55;
}

.seo-plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #0094a8;
}

.seo-subhead {
  margin: 2rem 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1728;
}

.seo-list-light {
  margin-top: 0.5rem;
}

.seo-chip-light {
  background: rgba(0, 148, 168, 0.08);
  border-color: rgba(0, 148, 168, 0.18);
  color: #0b1728;
}

.seo-section-paint .seo-service-card {
  background: rgba(255, 255, 255, 0.96);
}

.seo-section-paint .seo-service-card:hover {
  background: #0b1728;
}

.seo-garantia-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.seo-garantia-copy-plain {
  color: #4b5563;
}

.seo-garantia-copy p {
  margin: 0 0 1rem;
}

.seo-garantia-copy p:last-child {
  margin-bottom: 0;
}

.seo-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.seo-related a {
  color: #ffb313;
  font-weight: 700;
  text-decoration: none;
}

.seo-related-plain a {
  color: #0094a8;
}

.seo-related a:hover {
  text-decoration: underline;
}

.footer-seo-links {
  padding-top: 1.25rem;
}

.footer-seo-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  padding-top: 0.25rem;
}

@media (min-width: 768px) {
  .footer-seo-grid {
    grid-template-columns: 2fr 1fr;
    gap: 2rem 2.5rem;
    align-items: start;
  }

  .footer-seo-col--servicios .footer-seo-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.65rem;
  }

  .footer-seo-col--servicios .footer-seo-badge {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .footer-seo-grid {
    grid-template-columns: 2fr 1fr;
    gap: 2rem 3rem;
  }
}

.footer-seo-col .footer-seo-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-seo-title-icon {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  color: #ffb313;
}

.footer-seo-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.45rem;
}

@media (min-width: 640px) {
  .footer-seo-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Especificidad alta: el tema fuerza color en .footer-seo-col a */
.footer-seo-col a.footer-seo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.4rem 0.85rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-seo-col a.footer-seo-badge:hover {
  color: #0b1728;
  background: #ffb313;
  border-color: #ffb313;
}

@media (max-width: 639px) {
  .footer-seo-col a.footer-seo-badge {
    width: 100%;
  }
}
