/*
Theme Name: RT20 Service Landing
Theme URI: https://example.com/
Author: RT20
Author URI: https://example.com/
Description: Tema WordPress para servicios tecnicos en Barcelona con estructura SEO reutilizable.
Version: 2.1.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: rt20-service
*/

:root {
  --rt20-primary: #0f766e;
  --rt20-primary-dark: #115e59;
  --rt20-accent: #f59e0b;
  --rt20-ink: #0f172a;
  --rt20-muted: #475569;
  --rt20-bg: #f8fafc;
  --rt20-card: #ffffff;
  --rt20-border: #c5d2df;
  --rt20-soft: #ecfeff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--rt20-ink);
  background: var(--rt20-bg);
  overflow-x: hidden;
}

.rt20-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.rt20-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.rt20-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.rt20-site-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rt20-primary), var(--rt20-primary-dark));
  color: #fff;
  font-weight: 700;
}

.rt20-site-brand-copy {
  display: grid;
  gap: 2px;
  color: var(--rt20-ink);
}

.rt20-site-brand-copy strong,
.rt20-site-brand-copy span {
  display: block;
}

.rt20-site-brand-copy span {
  color: var(--rt20-muted);
  font-size: 0.92rem;
}

.rt20-primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt20-primary-nav {
  display: none;
}

.rt20-primary-nav a,
.rt20-header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.rt20-primary-nav a {
  color: var(--rt20-muted);
}

.rt20-primary-nav a:hover,
.rt20-primary-nav a:focus {
  color: var(--rt20-primary-dark);
  background: rgba(15, 118, 110, 0.08);
}

.rt20-header-cta {
  background: var(--rt20-primary);
  color: #fff;
}

a {
  color: inherit;
}

.rt20-site-main h1,
.rt20-site-main h2,
.rt20-site-main h3,
.rt20-site-main p {
  margin-top: 0;
}

.rt20-container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.rt20-hero {
  padding: 84px 0 72px;
  color: #fff;
}

.rt20-hero-service,
.rt20-hero-split {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.28), transparent 30%),
    linear-gradient(135deg, #0f766e, #164e63);
}

.rt20-hero-company {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 25%),
    linear-gradient(135deg, #1e293b, #334155);
}

.rt20-hero-checklist {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #7c2d12, #b45309);
}

.rt20-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}


.rt20-hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.rt20-eyebrow {
  margin-bottom: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.rt20-hero-description {
  max-width: 720px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.rt20-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rt20-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--rt20-primary-dark);
  text-decoration: none;
  font-weight: 700;
}

.rt20-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.rt20-hero-panel,
.rt20-card,
.rt20-info-box,
.rt20-contact-form,
.rt20-faq-item {
  border: 1px solid var(--rt20-border);
  border-radius: 24px;
  background: var(--rt20-card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.rt20-hero-panel {
  padding: 24px;
  color: var(--rt20-ink);
}

.rt20-hero-panel h2 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.rt20-plain-list,
.rt20-bullet-list,
.rt20-check-list,
.rt20-tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rt20-plain-list li,
.rt20-bullet-list li,
.rt20-check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.rt20-plain-list li::before,
.rt20-bullet-list li::before,
.rt20-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rt20-accent);
}

.rt20-check-list li::before {
  background: var(--rt20-primary);
}

.rt20-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rt20-tag-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--rt20-soft);
  color: var(--rt20-primary-dark);
  font-weight: 700;
}

.rt20-section {
  padding: 72px 0;
}

.rt20-section-title {
  margin-bottom: 26px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.rt20-section-title-left {
  text-align: left;
}

.rt20-prose {
  max-width: 860px;
}

.rt20-prose p {
  margin-bottom: 16px;
  color: var(--rt20-muted);
  font-size: 1.02rem;
}

.rt20-intro-media-box,
.rt20-intro-media,
.rt20-intro-image,
.rt20-intro-image-compact {
  display: none !important;
}

.rt20-intro-split {
  grid-template-columns: 1fr !important;
}

.page-id-1904 .rt20-list-media-box,
.page-id-1904 .rt20-list-media-image {
  display: none !important;
}

.page-id-1904 .rt20-list-media-grid {
  grid-template-columns: 1fr !important;
}

.page-id-1909 .rt20-hero-visual-frame,
.page-id-1909 .rt20-hero-image {
  display: none !important;
}

.page-id-1909 .rt20-hero-visual {
  display: block !important;
}

.page-id-1909 .rt20-hero-visual .rt20-hero-panel {
  height: auto !important;
}

.rt20-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.rt20-list-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.rt20-list-media-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.rt20-list-media-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.rt20-cards-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 280px);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.rt20-cards-carousel .rt20-card {
  scroll-snap-align: start;
}

.rt20-section-service-categories .rt20-cards-carousel {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: unset;
  width: 100%;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.rt20-section-service-categories .rt20-cards-carousel .rt20-card {
  scroll-snap-align: unset;
}

.rt20-section-service-categories .rt20-carousel-shell {
  display: block;
}

.rt20-example-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.rt20-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.rt20-showcase-card {
  border: 1px solid var(--rt20-border);
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.rt20-showcase-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--rt20-soft);
  color: var(--rt20-primary-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.rt20-showcase-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.rt20-showcase-card p {
  margin-bottom: 0;
  color: var(--rt20-muted);
}

.rt20-team-card .rt20-showcase-step {
  font-size: 0.8rem;
  min-width: 0;
}

.rt20-team-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.24), transparent 35%),
    linear-gradient(135deg, #dff7f5, #eef6fb);
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rt20-team-avatar-placeholder span {
  color: var(--rt20-primary-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.rt20-link-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.rt20-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #eaf7f7;
  color: #0d5f65;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rt20-link-chip:hover,
.rt20-link-chip:focus-visible {
  background: #d7f0f0;
  color: #084d52;
  transform: translateY(-1px);
}

.rt20-example-card {
  scroll-snap-align: start;
  border: 1px solid var(--rt20-border);
  border-radius: 24px;
  background: var(--rt20-card);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.rt20-example-media {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(15, 23, 42, 0.02));
}

.rt20-example-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.rt20-example-caption {
  margin: 0;
  padding: 18px 20px 20px;
  color: var(--rt20-ink);
  font-weight: 700;
}

.rt20-carousel-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rt20-carousel-btn {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rt20-border);
  border-radius: 999px;
  background: #fff;
  color: var(--rt20-primary-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.rt20-carousel-btn:hover,
.rt20-carousel-btn:focus {
  background: var(--rt20-soft);
}

.rt20-section-service-categories .rt20-carousel-btn {
  display: none;
}

.rt20-cards-carousel::-webkit-scrollbar {
  height: 8px;
}

.rt20-cards-carousel::-webkit-scrollbar-thumb {
  background: rgba(15, 118, 110, 0.24);
  border-radius: 999px;
}

.rt20-example-slider::-webkit-scrollbar {
  height: 8px;
}

.rt20-example-slider::-webkit-scrollbar-thumb {
  background: rgba(15, 118, 110, 0.24);
  border-radius: 999px;
}

.rt20-card,
.rt20-info-box {
  padding: 24px;
}

.rt20-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.rt20-section-service-categories .rt20-card {
  min-height: 100%;
}

.rt20-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 188px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(15, 23, 42, 0.02));
  overflow: hidden;
}

.rt20-card:has(a[href*="/reparacion-hornos-barcelona/"]) .rt20-card-media {
  background-image: url("https://bcnreparacion.com/wp-content/themes/rt20-service-theme-v102/assets/images/oven.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.rt20-card:has(a[href*="/reparacion-hornos-barcelona/"]) .rt20-card-image {
  opacity: 0;
}

.rt20-card:has(a[href*="/reparacion-secadoras-barcelona/"]) .rt20-card-media {
  background-image: url("https://bcnreparacion.com/wp-content/themes/rt20-service-theme-v102/assets/images/dryer.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.rt20-card:has(a[href*="/reparacion-secadoras-barcelona/"]) .rt20-card-image {
  opacity: 0;
}

.rt20-card-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rt20-card-media-placeholder {
  color: var(--rt20-muted);
  font-weight: 700;
  text-align: center;
}

.rt20-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.rt20-card p {
  color: var(--rt20-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.rt20-card-link {
  font-weight: 700;
  color: var(--rt20-primary-dark);
  text-decoration: none;
  margin-top: auto;
}

.rt20-districts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rt20-image-section-wrap {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(15, 23, 42, 0.02));
  border: 1px solid var(--rt20-border);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.rt20-image-section-image {
  display: block;
  width: 100%;
  height: auto;
}

.rt20-districts-map-wrap {
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(15, 23, 42, 0.02));
}

.rt20-districts-map {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
}

.rt20-districts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rt20-districts-list li {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--rt20-soft);
  color: var(--rt20-primary-dark);
  font-weight: 700;
}

.rt20-districts-list li::before {
  display: none;
}

.rt20-districts-list-secondary {
  margin-top: 14px;
}

.rt20-districts-vans-wrap {
  margin-top: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(15, 23, 42, 0.02));
}

.rt20-districts-vans {
  display: block;
  width: 100%;
  height: auto;
}

.rt20-step-list {
  margin: 0;
  padding-left: 22px;
}

.rt20-step-list li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.rt20-faq {
  display: grid;
  gap: 18px;
}

.rt20-faq-item {
  padding: 22px;
}

.rt20-faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.rt20-faq-item p {
  margin-bottom: 0;
  color: var(--rt20-muted);
}

.rt20-contact-form {
  max-width: 760px;
  padding: 28px;
}

.rt20-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.rt20-contact-form input,
.rt20-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rt20-border);
  border-radius: 16px;
  font: inherit;
  color: var(--rt20-ink);
  background: #fff;
}

.rt20-contact-form textarea {
  min-height: 150px;
  resize: vertical;
  margin-bottom: 16px;
}

.rt20-contact-form button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: var(--rt20-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rt20-form-note {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--rt20-muted);
  font-size: 0.94rem;
}

.rt20-page-style-service-alt .rt20-section:nth-child(even),
.rt20-page-style-utility .rt20-section:nth-child(even),
.rt20-page-style-company .rt20-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.6);
}

.rt20-site-footer {
  padding: 28px 0;
  text-align: center;
  color: #cbd5e1;
  background: #0f172a;
}

.rt20-site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .rt20-container {
    width: min(1160px, 94%);
  }

  .rt20-prose,
  .rt20-hero-copy,
  .rt20-hero-panel,
  .rt20-section .rt20-container > .rt20-bullet-list,
  .rt20-section .rt20-container > .rt20-tag-list,
  .rt20-section .rt20-container > .rt20-step-list,
  .rt20-section .rt20-container > .rt20-faq,
  .rt20-section .rt20-container > .rt20-info-box {
    max-width: none;
    width: 100%;
  }

  .rt20-site-header-inner {
    min-height: 68px;
    padding: 10px 0;
  }

  .rt20-primary-nav {
    order: 3;
    width: 100%;
  }

  .rt20-primary-nav ul {
    justify-content: center;
  }

  .rt20-hero-grid,
  .rt20-list-media-grid,
  .rt20-districts-grid,
  .rt20-form-grid {
    grid-template-columns: 1fr;
  }

  .rt20-hero-grid {
    gap: 20px;
  }

  .rt20-hero-copy,
  .rt20-hero-panel,
  .rt20-info-box,
  .rt20-card,
  .rt20-faq-item,
  .rt20-contact-form,
  .rt20-showcase-card {
    width: 100%;
  }

  .rt20-hero-copy h1 {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.1;
  }

  .rt20-hero-description {
    font-size: 1rem;
  }

  .rt20-hero-panel {
    padding: 20px;
  }

  .rt20-hero {
    padding: 70px 0 60px;
  }

  .rt20-carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 1.75rem;
  }

  .rt20-cards-carousel {
    grid-auto-columns: minmax(240px, 280px);
  }

  .rt20-section-service-categories .rt20-cards-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .rt20-section-service-categories .rt20-cards-carousel .rt20-card {
    scroll-snap-align: unset;
  }

  .rt20-example-slider {
    grid-auto-columns: minmax(240px, 300px);
  }

  .rt20-districts-map {
    height: 200px;
  }

  .rt20-districts-vans {
    max-height: 220px;
    object-fit: contain;
  }

}

@media (max-width: 640px) {
  .rt20-container {
    width: min(1160px, 95%);
  }

  body {
    font-size: 16px;
  }

  .rt20-site-header {
    backdrop-filter: blur(10px);
  }

  .rt20-site-header-inner {
    min-height: 60px;
    gap: 12px;
    justify-content: space-between;
  }

  .rt20-site-brand {
    gap: 10px;
  }

  .rt20-site-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .rt20-site-brand-copy strong {
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .rt20-site-brand-copy span {
    font-size: 0.82rem;
  }

  .rt20-primary-nav ul {
    gap: 8px;
  }

  .rt20-primary-nav a {
    width: 100%;
    justify-content: center;
  }

  .rt20-header-cta {
    width: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.95rem;
    margin-left: auto;
  }

  .rt20-section {
    padding: 56px 0;
  }

  .rt20-section-title {
    margin-bottom: 22px;
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .rt20-prose,
  .rt20-hero-copy,
  .rt20-hero-panel {
    max-width: none;
  }

  .rt20-card,
  .rt20-info-box,
  .rt20-faq-item,
  .rt20-contact-form {
    border-radius: 20px;
    padding: 20px;
  }

  .rt20-hero {
    padding: 54px 0 42px;
  }

  .rt20-eyebrow {
    margin-bottom: 10px;
    font-size: 0.78rem;
  }

  .rt20-hero-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
    margin-bottom: 14px;
  }

  .rt20-hero-description {
    font-size: 0.98rem;
  }

  .rt20-hero-copy,
  .rt20-hero-panel,
  .rt20-showcase-card,
  .rt20-faq-item,
  .rt20-info-box {
    width: 100%;
  }

  .rt20-hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .rt20-hero-panel {
    padding: 18px;
  }

  .rt20-btn {
    width: 100%;
    min-height: 46px;
  }

  .rt20-card-media {
    height: 156px;
    margin-bottom: 16px;
    padding: 12px;
  }

  .rt20-card h3 {
    font-size: 1.08rem;
  }

  .rt20-card p,
  .rt20-prose p,
  .rt20-showcase-card p,
  .rt20-faq-item p {
    font-size: 0.97rem;
  }

  .rt20-list-media-box {
    min-height: 200px;
  }

  .rt20-list-media-image {
    max-height: 220px;
  }

  .rt20-districts-map {
    height: 170px;
  }

  .rt20-districts-list {
    gap: 10px;
  }

  .rt20-districts-list li,
  .rt20-tag-list li {
    padding: 8px 12px;
    font-size: 0.94rem;
  }

  .rt20-cards-carousel {
    grid-auto-columns: minmax(78vw, 84vw);
    gap: 16px;
    padding-bottom: 8px;
  }

  .rt20-section-service-categories .rt20-cards-carousel {
    grid-template-columns: unset;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 84vw);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .rt20-section-service-categories .rt20-cards-carousel .rt20-card {
    scroll-snap-align: start;
  }

  .rt20-example-slider {
    grid-auto-columns: minmax(78vw, 84vw);
    gap: 16px;
    padding-bottom: 8px;
  }

  .rt20-carousel-shell {
    gap: 0;
  }

  .rt20-carousel-btn {
    display: none;
  }

  .rt20-example-image {
    height: 200px;
  }

  .rt20-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rt20-showcase-card {
    padding: 20px;
  }

  .rt20-link-chip-list {
    gap: 10px;
  }

  .rt20-link-chip {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
  }

  .rt20-step-list {
    padding-left: 18px;
  }

  .rt20-form-grid {
    gap: 18px;
  }

  .rt20-input,
  .rt20-textarea {
    padding: 12px 14px;
  }

  .rt20-primary-nav a {
    width: 100%;
    justify-content: center;
  }

  .rt20-header-cta {
    width: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.95rem;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 420px) {
  .rt20-site-brand-copy strong {
    font-size: 0.92rem;
  }

  .rt20-site-brand-copy span {
    font-size: 0.78rem;
  }

  .rt20-hero-copy h1 {
    font-size: clamp(1.7rem, 10vw, 2.2rem);
  }

  .rt20-hero-panel,
  .rt20-card,
  .rt20-info-box,
  .rt20-faq-item,
  .rt20-contact-form,
  .rt20-showcase-card {
    border-radius: 18px;
  }

  .rt20-cards-carousel,
  .rt20-example-slider {
    grid-auto-columns: minmax(82vw, 88vw);
  }

  .rt20-section-service-categories .rt20-cards-carousel {
    grid-template-columns: unset;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 88vw);
  }

}

/* Hide the legacy hero image frame on the homepage when stale cached HTML is served. */
.home .rt20-hero-visual-frame {
  display: none !important;
}

.home .rt20-hero-visual {
  display: block;
}

.home .rt20-hero-visual .rt20-hero-panel {
  height: 100%;
}
