:root {
  --bg: #f4efe5;
  --surface: #fffdf9;
  --surface-alt: #ede6d9;
  --surface-soft: rgba(255, 255, 255, 0.58);
  --ink: #11243d;
  --muted: #506073;
  --line: rgba(17, 36, 61, 0.12);
  --line-strong: rgba(17, 36, 61, 0.2);
  --primary: #ea7b1f;
  --primary-deep: #c95c06;
  --navy: #11243d;
  --navy-2: #1a3458;
  --success: #14835f;
  --warm: #fff1df;
  --gold: #ffd500;
  --shadow: 0 18px 48px rgba(17, 36, 61, 0.12);
  --shadow-soft: 0 10px 24px rgba(17, 36, 61, 0.1);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(234, 123, 31, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

p,
ul,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 1rem;
  background: var(--navy);
  color: #fff;
  z-index: 999;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(234, 123, 31, 0.4);
  outline-offset: 3px;
}

.top-strip {
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
}

.top-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
}

.top-strip strong {
  color: #ffd8b5;
}

.top-strip a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 242, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 86px;
}

.brand img {
  width: 300px;
  max-width: 100%;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
}

.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(17, 36, 61, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.mini-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-strong);
}

.mini-action.whatsapp {
  background: var(--success);
  color: #fff;
  border-color: transparent;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  padding: 4.8rem 0 3.2rem;
}

.page-hero {
  padding: 4.2rem 0;
  background:
    linear-gradient(135deg, rgba(17, 36, 61, 0.96), rgba(31, 55, 90, 0.92)),
    url("images/Apertodo Cerrajeros - Llovizna.webp") center/cover;
  color: #fff;
}

.breadcrumbs {
  margin-bottom: 1.2rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.48);
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero-grid,
.split,
.about-grid,
.map-grid,
.contact-grid,
.process-grid,
.review-grid,
.promo-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.page-hero .container {
  max-width: 1000px;
}

.page-hero h1,
.hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.03;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.page-hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--primary);
}

.hero-copy {
  position: relative;
}

.hero-copy .lead strong {
  color: var(--ink);
}

.hero-tags,
.inline-pills,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-tags {
  margin: 0.4rem 0 1.4rem;
}

.hero-tags span,
.inline-pills span,
.pill-list span {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(17, 36, 61, 0.08);
  border: 1px solid rgba(17, 36, 61, 0.08);
}

.hero-panel {
  background: linear-gradient(135deg, #fff, #fff6ec);
  padding: 1rem;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-badge {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 1rem;
  margin-top: 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  width: 100%;
}

.hero-badge small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
}

.showcase-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.showcase-slide {
  display: none;
  position: relative;
}

.showcase-slide.is-active {
  display: block;
  animation: fadeInSlide 0.45s ease;
}

.showcase-slide img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.showcase-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 36, 61, 0.15), rgba(17, 36, 61, 0.88));
  color: #fff;
  box-shadow: 0 14px 34px rgba(17, 36, 61, 0.22);
  backdrop-filter: blur(4px);
}

.showcase-caption strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.showcase-caption small {
  display: block;
  color: rgba(255, 255, 255, 0.85);
}

.showcase-kicker {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slider-dots {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 6.2rem;
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.slider-dot.is-active,
.slider-dot:hover {
  background: #fff;
  transform: scale(1.08);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 36, 61, 0.14);
  filter: saturate(1.02);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.stat-row,
.trust-grid,
.services-grid,
.feature-grid,
.zone-grid,
.footer-grid,
.icon-grid {
  display: grid;
  gap: 1.3rem;
}

.stat-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.4rem;
}

.stat-card,
.trust-card,
.service-card,
.feature-card,
.zone-card,
.contact-card,
.info-panel,
.faq-item,
.cta-banner,
.service-row,
.review-shell,
.nap-card,
.process-step,
.icon-box,
.promo-copy,
.promo-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card,
.trust-card,
.feature-card,
.zone-card,
.icon-box {
  padding: 1.45rem;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

.section-dark .eyebrow,
.section-highlight .eyebrow {
  color: #ffd8b5;
}

.section-dark .info-panel,
.section-dark .nap-card,
.section-dark .contact-card,
.section-dark .cta-banner,
.section-dark .review-shell,
.section-dark .faq-item {
  color: var(--ink) !important;
  background: var(--surface);
}

.section-dark .info-panel *,
.section-dark .nap-card *,
.section-dark .contact-card *,
.section-dark .cta-banner *,
.section-dark .review-shell *,
.section-dark .faq-item * {
  color: inherit;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  color: var(--muted);
}

.card-badge,
.review-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--warm);
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-points,
.check-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li,
.check-list li,
.contact-list li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.65rem 0;
}

.hero-points li::before,
.check-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 1rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.trust-card:hover,
.zone-card:hover,
.review-card:hover,
.cta-banner:hover,
.nap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(17, 36, 61, 0.14);
  border-color: rgba(17, 36, 61, 0.18);
}

.service-card img {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.02);
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card .text-link,
.review-card .text-link {
  font-weight: 800;
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

.split {
  grid-template-columns: 1.05fr 0.95fr;
}

.info-panel,
.contact-card,
.nap-card {
  padding: 2rem;
}

.inline-pills {
  margin-top: 1.4rem;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card h3,
.zone-card h3,
.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  padding: 1.6rem;
}

.process-step .step-number {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--warm);
  color: var(--primary-deep);
  font-weight: 900;
  margin-bottom: 1rem;
}

.review-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.review-intro {
  padding-right: 1rem;
}

.review-shell {
  padding: 2rem;
  background: linear-gradient(135deg, #fff, #fff4e8);
}

.review-widget {
  display: grid;
  gap: 1rem;
}

.review-brand {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: #f8f5ef;
  border: 1px solid rgba(17, 36, 61, 0.08);
}

.review-brand-title {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.review-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.review-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  padding: 1.2rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17, 36, 61, 0.1);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.review-card h3,
.review-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.review-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.review-widget-foot {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.zone-grid {
  grid-template-columns: repeat(3, 1fr);
}

.zone-card {
  padding: 1.6rem;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #fff2e2, #fffdf8);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.2rem 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.1rem;
  top: -0.05rem;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--primary-deep);
}

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

.faq-item p {
  margin-top: 1rem;
}

.map-grid,
.contact-grid,
.about-grid {
  grid-template-columns: 0.98fr 1.02fr;
}

.map-frame {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.icon-grid {
  grid-template-columns: repeat(3, 1fr);
}

.icon-box {
  padding: 1.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  padding: 1rem;
  align-items: center;
}

.service-row img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}

.contact-list.large li {
  padding-left: 0;
}

.contact-list.large li::before {
  display: none;
}

.nap-card address {
  font-style: normal;
}

.about-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card {
  background: var(--surface);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 36, 61, 0.16);
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.promo-grid {
  grid-template-columns: 1fr 1fr;
}

.promo-copy {
  padding: 2rem;
  background: linear-gradient(135deg, #fff7ee, #fff);
}

.promo-copy p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promo-visual {
  position: relative;
  min-height: 360px;
  padding: 2rem;
  overflow: hidden;
  background: radial-gradient(circle at 60% 40%, #ffe25a 0%, #ffd400 42%, #f8c900 43%, #f8c900 100%);
}

.promo-key {
  position: absolute;
  left: 28px;
  top: 40px;
  width: 170px;
  filter: drop-shadow(0 10px 18px rgba(17, 36, 61, 0.25));
}

.promo-circle {
  position: absolute;
  right: 32px;
  top: 34px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #ffdb00;
  box-shadow: 0 20px 40px rgba(17, 36, 61, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
}

.promo-circle strong {
  font-size: 4.4rem;
  line-height: 0.9;
  color: var(--navy);
}

.promo-circle span {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.promo-circle small {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
}

.promo-mini-icons {
  position: absolute;
  left: 34px;
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 1rem;
}

.mini-icon-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  padding: 1rem 0.7rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(17, 36, 61, 0.18);
}

.mini-icon-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--primary-deep);
}

.mini-icon-card span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy);
}

.recommended-block {
  align-items: flex-start;
}

.recommended-block p {
  margin-bottom: 1rem;
}

.recommended-block a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer {
  padding: 4rem 0 1rem;
  background: #0f1d33;
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  align-items: start;
}

.footer-logo {
  width: 235px;
  margin-bottom: 1rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 0.7rem 0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
}

.footer-map-embed {
  width: 100%;
  min-height: 180px;
  margin-top: 0.8rem;
  border: 0;
  border-radius: 18px;
  filter: saturate(0.92) contrast(0.96);
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  border: 1px solid transparent;
}

.floating-call {
  background: var(--primary);
  color: #fff;
}

.floating-whatsapp {
  background: var(--success);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1080px) {
  .keyword-grid,
  .keyword-list-secondary {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .hero-grid,
  .split,
  .about-grid,
  .map-grid,
  .contact-grid,
  .process-grid,
  .review-grid,
  .promo-grid,
  .service-row,
  .footer-grid,
  .stat-row,
  .trust-grid,
  .services-grid,
  .feature-grid,
  .zone-grid,
  .icon-grid,
  .review-cards {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .promo-visual {
    min-height: 520px;
  }

  .promo-circle {
    position: relative;
    right: auto;
    top: auto;
    margin-left: auto;
  }

  .promo-mini-icons {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 1.5rem;
  }
}

@media (max-width: 720px) {
  .top-strip .container {
    padding: 0.8rem 0;
  }

  .brand img {
    width: 220px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 3.5rem 0;
  }

  .page-hero h1,
  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .cta-banner,
  .review-brand,
  .review-widget-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .map-card {
    grid-template-rows: 180px 1fr;
  }

  .promo-visual {
    min-height: 470px;
  }

  .promo-key {
    width: 120px;
  }

  .promo-circle {
    width: 220px;
    height: 220px;
  }

  .promo-circle strong {
    font-size: 3.6rem;
  }

  .promo-circle span {
    font-size: 1.7rem;
  }

  .promo-mini-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .floating-actions {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    flex-direction: row;
  }

  .floating-actions a {
    min-width: 0;
    flex: 1;
  }

  .slider-dots {
    bottom: 7.2rem;
  }

  .showcase-caption {
    padding: 0.9rem;
  }
}

@media (max-width: 560px) {
  .hero-tags span,
  .inline-pills span,
  .pill-list span {
    width: 100%;
    justify-content: center;
  }

  .btn,
  .mini-action {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .review-shell,
  .info-panel,
  .nap-card,
  .promo-copy,
  .cta-banner,
  .trust-card,
  .stat-card,
  .zone-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .promo-mini-icons {
    gap: 0.65rem;
  }

  .showcase-caption strong {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.keyword-section {
  position: relative;
}

.keyword-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.3rem;
}

.keyword-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.keyword-card h3 {
  margin-bottom: 0.9rem;
}

.keyword-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.keyword-list a,
.keyword-inline {
  color: var(--primary-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.keyword-list-secondary {
  grid-template-columns: repeat(2, 1fr);
}

.map-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  background: linear-gradient(135deg, #fff, #fff4e8);
}

.map-card-visual {
  background:
    linear-gradient(180deg, rgba(17, 36, 61, 0.14), rgba(17, 36, 61, 0.52)),
    url("images/Apertodo Cerrajeros - Portada.webp") center/cover;
}

.map-card-body {
  padding: 1.6rem;
  color: var(--ink);
}

.map-card-body h3 {
  margin-bottom: 0.6rem;
}

.map-card .cta-actions {
  margin-bottom: 0;
}


/* Refuerzo de contraste en tarjetas claras dentro de secciones oscuras */
.section-dark .review-card,
.section-dark .review-card h3,
.section-dark .review-card h4,
.section-dark .review-card p,
.section-dark .service-card,
.section-dark .service-card h3,
.section-dark .service-card p,
.section-dark .zone-card,
.section-dark .zone-card h3,
.section-dark .zone-card p {
  color: var(--ink);
}
/* codex-local-fixes */
img, svg, video, iframe { max-width: 100%; }
iframe { display: block; }
.button-row, .hero-actions, .inline-actions, .top-actions, .footer-links, .footer-actions, .header-actions { gap: 12px; flex-wrap: wrap; }
.container, .wrap, .hg-container { width: min(100% - 32px, 1200px); margin-inline: auto; }
details { margin-top: 14px; }
summary { cursor: pointer; }
.faq-answer p, p, li, a { overflow-wrap: anywhere; }
.hg-section { padding: 32px 0; }
.hg-cta-band { padding: 24px; border-radius: 18px; background: rgba(0,0,0,.04); }


/* codex-global-route-fixes */
.brand img,
.site-header .brand img,
.navbar-brand img,
.header-logo img,
.logo img {
  width: min(220px, 100%);
  max-width: 100%;
  max-height: 120px;
  height: auto;
  object-fit: contain;
}

.footer-logo,
.site-footer .brand img,
.site-footer .logo img,
footer .brand img,
footer img[alt*="logo" i],
footer img[alt*="cerrajero" i] {
  width: min(180px, 100%);
  max-width: 100%;
  max-height: 140px;
  height: auto;
  object-fit: contain;
}

#nuevas-rutas-locales details {
  margin-top: 1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(17, 36, 61, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(17, 36, 61, 0.08);
}

#nuevas-rutas-locales summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  list-style: none;
}

#nuevas-rutas-locales summary::-webkit-details-marker {
  display: none;
}

#nuevas-rutas-locales .footer-links,
#nuevas-rutas-locales .quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

#nuevas-rutas-locales .footer-links a,
#nuevas-rutas-locales .quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 36, 61, 0.12);
  box-shadow: 0 8px 20px rgba(17, 36, 61, 0.06);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
}

#nuevas-rutas-locales .footer-links a:hover,
#nuevas-rutas-locales .quick-links a:hover {
  transform: translateY(-1px);
}

.floating-actions .btn-whatsapp,
.floating-whatsapp,
a[href*="wa.me/34653373620"] {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .brand img,
  .site-header .brand img,
  .navbar-brand img,
  .header-logo img,
  .logo img {
    width: min(180px, 100%);
    max-height: 96px;
  }

  .footer-logo,
  .site-footer .brand img,
  .site-footer .logo img,
  footer .brand img,
  footer img[alt*="logo" i],
  footer img[alt*="cerrajero" i] {
    width: min(150px, 100%);
    max-height: 112px;
  }

  #nuevas-rutas-locales .footer-links a,
  #nuevas-rutas-locales .quick-links a {
    width: 100%;
    justify-content: flex-start;
  }
}

#nuevas-rutas-locales summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: #c9b000;
}

#nuevas-rutas-locales details[open] summary::after {
  content: "−";
}

/* SEO FOOTER UPGRADE START */
.hg-section {
  padding: 2.4rem 0;
}

.hg-container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.hg-cta-band {
  padding: 1.8rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(15, 76, 92, 0.1), rgba(191, 91, 44, 0.12)), var(--paper);
  border: 1px solid rgba(15, 76, 92, 0.16);
  box-shadow: var(--shadow);
}

.hg-cta-band h2 {
  margin-bottom: 0.75rem;
}

.hg-cta-band p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(231, 159, 111, 0.16), transparent 26%),
    linear-gradient(180deg, #161b25 0%, #11161f 100%);
}

.footer-shell {
  padding: 3.4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.footer-card {
  min-width: 0;
  padding: 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
}

.site-footer .brand-name {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer .brand-copy {
  color: rgba(255, 248, 240, 0.78);
  font-size: 0.95rem;
}

.footer-brand .brand {
  margin-bottom: 0.9rem;
}

.footer-card h3 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 1.05rem;
}

.footer-note,
.footer-card p,
.footer-card a {
  color: rgba(255, 248, 240, 0.84);
}

.footer-note {
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  line-height: 1.45;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.site-footer .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .button-primary {
  background: linear-gradient(135deg, #bf5b2c, #e79f6f);
  color: #fff;
}

.site-footer .button-secondary {
  background: linear-gradient(135deg, #0f4c5c, #2d7f94);
  color: #fff;
}

.footer-legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 248, 240, 0.62);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hg-cta-band,
  .footer-card {
    padding: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* SEO FOOTER UPGRADE END */
