:root {
  --plum-950: #2A0D20;
  --plum-900: #3A132E;
  --plum-800: #4A1A39;
  --plum: #542141;
  --plum-600: #6B2E55;
  --orange: #E87722;
  --orange-600: #CF6512;
  --orange-ink: #B8560C;
  --orange-soft: #FBE3CE;
  --cream: #FBF7F4;
  --paper: #FFFFFF;
  --ink: #221A20;
  --muted: #6B5A64;
  --line: #EADFE4;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-soft: 0 2px 6px rgba(42, 13, 32, 0.04), 0 18px 40px -24px rgba(42, 13, 32, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
address {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--plum);
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background-color: var(--orange);
  color: var(--plum-950);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background-color: var(--orange);
  color: var(--plum-950);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.section {
  padding-block: clamp(60px, 8vw, 100px);
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background-color: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.78rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.btn-orange {
  background-color: var(--orange);
  color: var(--plum-950);
  box-shadow: 0 12px 26px -14px rgba(232, 119, 34, 0.75);
}

.btn-orange:hover {
  background-color: var(--orange-600);
  color: var(--plum-950);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -16px rgba(232, 119, 34, 0.8);
}

.btn-plum {
  background-color: var(--plum);
  color: var(--paper);
  box-shadow: 0 14px 28px -18px rgba(42, 13, 32, 0.7);
}

.btn-plum:hover {
  background-color: var(--plum-800);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -18px rgba(42, 13, 32, 0.75);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--paper);
  background-color: transparent;
}

.btn-ghost:hover {
  border-color: var(--paper);
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  transform: translateY(-2px);
}

.topbar {
  background-color: var(--plum-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  min-height: 44px;
}

.topbar-gov {
  margin: 0;
  letter-spacing: 0.02em;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-phone,
.topbar-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-phone {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar-phone:hover {
  color: var(--orange-soft);
}

.topbar-loc {
  color: rgba(255, 255, 255, 0.6);
}

.topbar .icon {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(42, 13, 32, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  padding-block: 10px;
}

.brand img {
  width: auto;
  height: clamp(38px, 4vw, 46px);
  max-width: 100%;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item > a,
.submenu-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item > a:hover,
.submenu-toggle-label:hover {
  background-color: var(--cream);
  color: var(--plum);
}

.current-menu-item > a {
  position: relative;
  color: var(--plum);
  font-weight: 600;
}

.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background-color: var(--orange);
}

.current-menu-item > a:hover {
  background-color: var(--cream);
  color: var(--plum);
}

.nav-toggle,
.submenu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--paper);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background-color: var(--plum);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.has-dropdown {
  position: relative;
}

.submenu-toggle-label {
  cursor: pointer;
}

.submenu-toggle:focus-visible + .submenu-toggle-label {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.caret {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.submenu-toggle:checked + .submenu-toggle-label .caret {
  transform: rotate(-135deg) translateY(-1px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--paper);
  box-shadow: 0 24px 54px -20px rgba(42, 13, 32, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.22s var(--ease), visibility 0.2s ease;
  z-index: 60;
}

.submenu-toggle:checked ~ .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown a:hover {
  background-color: var(--cream);
  color: var(--plum);
}

.nav-cta-item {
  margin-left: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
  background-color: var(--orange);
  color: var(--plum-950);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 24px -14px rgba(232, 119, 34, 0.9);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta .icon {
  width: 1em;
  height: 1em;
}

.nav-cta:hover {
  background-color: var(--orange-600);
  color: var(--plum-950);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(232, 119, 34, 0.95);
}

@media (min-width: 1040px) {
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 52px) clamp(32px, 4vw, 52px);
  color: var(--paper);
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(232, 119, 34, 0.2), transparent 62%),
    linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 42%, var(--plum) 100%);
}

.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse at 45% 25%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 45% 25%, #000 0%, transparent 72%);
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-a {
  top: -24%;
  right: -12%;
  width: min(620px, 76vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, rgba(232, 119, 34, 0.5), rgba(232, 119, 34, 0.1) 48%, transparent 70%);
  filter: blur(6px);
  opacity: 0.7;
  animation: drift 17s ease-in-out infinite;
}

.orb-b {
  bottom: -32%;
  left: -12%;
  width: min(380px, 56vw);
  aspect-ratio: 1;
  background-color: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.orb-c {
  top: 16%;
  left: 56%;
  width: 168px;
  height: 168px;
  background-color: rgba(232, 119, 34, 0.06);
  border: 1px solid rgba(232, 119, 34, 0.28);
  animation: drift 13s ease-in-out infinite reverse;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  max-width: none;
  margin: 0;
  font-size: clamp(0.68rem, 1.1vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.15;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
  .hero-eyebrow {
    white-space: nowrap;
  }
}

.hero-brand-logo {
  display: block;
  width: clamp(230px, 33vw, 420px);
  height: auto;
  margin-top: clamp(8px, 1.2vw, 12px);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.hero h1 {
  margin-top: clamp(12px, 1.8vw, 20px);
  font-size: clamp(2.15rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--orange);
}

.hero-lead {
  max-width: 60ch;
  margin-top: clamp(14px, 1.8vw, 20px);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 2.4vw, 28px);
}

.hero-actions .btn {
  min-height: 52px;
  padding-inline: 1.6rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: clamp(16px, 2.2vw, 26px);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--paper);
}

.breadcrumb [aria-current="page"] {
  color: var(--orange-soft);
  font-weight: 500;
}

.tramites {
  background-color: var(--cream);
}

.action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
}

.action-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background-color: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease, border-color 0.28s ease;
}

.action-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--cream);
}

.action-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.action-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
}

.action-caption {
  min-width: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--plum);
}

.action-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--orange-soft);
  color: var(--orange-ink);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.action-arrow .icon {
  width: 18px;
  height: 18px;
}

.action-card:hover,
.action-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(232, 119, 34, 0.65);
  box-shadow: 0 28px 56px -26px rgba(42, 13, 32, 0.4), 0 0 0 1px rgba(232, 119, 34, 0.15);
}

.action-card:hover .action-media img,
.action-card:focus-visible .action-media img {
  transform: scale(1.055);
}

.action-card:hover .action-arrow,
.action-card:focus-visible .action-arrow {
  background-color: var(--orange);
  color: var(--plum-950);
  transform: translateX(3px);
}

.inspectores {
  background-color: var(--paper);
}

.inspectors-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(120deg, var(--paper) 0%, var(--cream) 100%);
  box-shadow: 0 34px 80px -50px rgba(42, 13, 32, 0.5);
}

.inspectors-copy {
  padding: clamp(24px, 4.5vw, 56px);
}

.title-with-icon {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 18px);
}

.icon-chip {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(44px, 5vw, 56px);
  height: clamp(44px, 5vw, 56px);
  border-radius: 14px;
  background-color: var(--orange-soft);
  color: var(--orange-ink);
}

.icon-chip .icon {
  width: 1.55rem;
  height: 1.55rem;
}

.inspectors-copy .section-title {
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  letter-spacing: -0.025em;
}

.section-text {
  max-width: 54ch;
  margin: clamp(16px, 2.4vw, 22px) 0 clamp(24px, 3.2vw, 34px);
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.inspectors-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(232, 119, 34, 0.32), transparent 56%),
    linear-gradient(150deg, var(--plum-800), var(--plum-950));
}

.art-clipboard {
  position: relative;
  z-index: 1;
  width: clamp(140px, 20vw, 210px);
  height: auto;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.35));
}

.art-ring {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.art-ring-small {
  top: auto;
  right: auto;
  bottom: -60px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-color: rgba(232, 119, 34, 0.3);
}

.consumo {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
}

.consumo::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.12), transparent 70%);
  pointer-events: none;
}

.consumo .container {
  position: relative;
  z-index: 1;
}

.consumo-head {
  max-width: 900px;
}

.consumo-title {
  font-size: clamp(2rem, 4.9vw, 3.45rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.consumo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
}

.consumo-block h3 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
}

.consumo-block h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background-color: var(--orange);
}

.consumo-block p {
  max-width: 72ch;
  margin-bottom: 1.1rem;
  line-height: 1.72;
  color: var(--ink);
}

.consumo-q {
  margin-top: 1.7rem;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--plum);
}

.consumo-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.consumo-list li {
  position: relative;
  max-width: 72ch;
  padding-left: 1.5rem;
  line-height: 1.72;
  color: var(--ink);
}

.consumo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--orange);
}

.consumo-figure {
  margin-top: clamp(24px, 3.4vw, 38px);
}

.process-link {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 6px solid var(--paper);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 56px -28px rgba(42, 13, 32, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-link:hover,
.process-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 34px 64px -28px rgba(42, 13, 32, 0.58);
  text-decoration: none;
}

.process-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.process-link:hover img,
.process-link:focus-visible img {
  transform: scale(1.03);
}

.process-link-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background-color: var(--plum-950);
  color: #ffffff;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease;
}

.process-link:hover .process-link-hint,
.process-link:focus-visible .process-link-hint {
  background-color: var(--plum);
}

.process-link-hint::after {
  content: "\2197";
  font-size: 0.9em;
}

.contacto {
  background-color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
  align-items: stretch;
}

.contact-address {
  max-width: 32ch;
  margin-bottom: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--plum);
}

.contact-meta {
  color: var(--muted);
}

.contact-tel-label {
  margin: 1.6rem 0 0.7rem;
  font-weight: 600;
  color: var(--ink);
}

.phone-list {
  display: grid;
  gap: 10px;
}

.phone-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--cream);
  color: var(--plum);
  font-weight: 600;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.phone-list a:hover {
  border-color: rgba(232, 119, 34, 0.55);
  background-color: var(--paper);
  box-shadow: 0 14px 30px -20px rgba(42, 13, 32, 0.4);
  transform: translateX(3px);
}

.phone-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--orange-soft);
  color: var(--orange-ink);
}

.phone-icon .icon {
  width: 19px;
  height: 19px;
}

.phone-arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--orange-ink);
  transition: transform 0.2s ease;
}

.phone-tag {
  margin-left: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.phone-list a:hover .phone-arrow {
  transform: translateX(3px);
}

.map-wrap {
  display: flex;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background-color: var(--cream);
  box-shadow: 0 32px 64px -42px rgba(42, 13, 32, 0.5);
}

.map-wrap iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.system-access {
  margin-top: clamp(32px, 5vw, 52px);
}

.system-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  overflow: hidden;
  padding: clamp(20px, 3.5vw, 32px) clamp(20px, 4vw, 44px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 16%, rgba(232, 119, 34, 0.3), transparent 46%),
    linear-gradient(120deg, var(--plum-900), var(--plum-950) 72%);
  color: var(--paper);
  box-shadow: 0 36px 72px -42px rgba(42, 13, 32, 0.7);
  transition: transform 0.26s var(--ease), box-shadow 0.26s ease;
}

.system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.system-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 44px 84px -44px rgba(42, 13, 32, 0.8);
}

.system-logo {
  position: relative;
  z-index: 1;
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background-color: var(--paper);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.system-logo img {
  width: clamp(170px, 20vw, 240px);
  height: auto;
}

.system-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.system-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.system-title {
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--paper);
}

.system-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border-radius: 50%;
  background-color: var(--orange);
  color: var(--plum-950);
  transition: transform 0.24s ease, background-color 0.24s ease;
}

.system-arrow .icon {
  width: 20px;
  height: 20px;
}

.system-card:hover .system-arrow {
  transform: translateX(4px);
  background-color: var(--orange-soft);
}

.site-footer {
  border-top: 4px solid var(--orange);
  background-color: var(--plum-950);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 44px);
  padding-block: clamp(44px, 6vw, 72px) clamp(32px, 5vw, 56px);
}

.footer-badge {
  width: 72px;
  height: 72px;
  padding: 6px;
  border-radius: 18px;
  background-color: var(--paper);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.footer-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-name {
  max-width: 30ch;
  margin: 1rem 0 0.2rem;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper);
}

.footer-slogan {
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.footer-desc {
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
}

.footer-heading {
  margin-bottom: 0.9rem;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-address {
  margin-bottom: 0.4rem;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}

.footer-links {
  display: grid;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 18px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-credit-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit-logo {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border: 0;
  border-radius: 8px;
  background-color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-credit-logo:hover,
.footer-credit-logo:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.6);
}

.footer-credit-logo img {
  display: block;
  width: auto;
  height: 24px;
}

@media (max-width: 1339px) {
  .footer-bottom-inner {
    padding-right: 84px;
  }
}

/* Credits modal */
.credits-modal {
  width: calc(100% - 32px);
  max-width: 460px;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background-color: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(42, 13, 32, 0.6);
}

.credits-modal::backdrop {
  background-color: rgba(42, 13, 32, 0.74);
  backdrop-filter: blur(4px);
}

.credits-modal-inner {
  position: relative;
  padding: clamp(30px, 5vw, 42px) clamp(24px, 5vw, 40px) clamp(28px, 4vw, 38px);
  text-align: center;
}

.credits-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background-color: var(--cream);
  color: var(--plum);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.credits-close:hover,
.credits-close:focus-visible {
  background-color: var(--plum);
  color: #ffffff;
}

.credits-logo {
  display: block;
  width: auto;
  height: clamp(40px, 9vw, 54px);
  margin: 0 auto 20px;
}

.credits-name {
  margin: 0 0 4px;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  line-height: 1.2;
  color: var(--plum);
}

.credits-role {
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--orange-ink);
}

.credits-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

body:has(.credits-modal[open]) {
  overflow: hidden;
}

.wa-float {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--orange);
  color: var(--paper);
  box-shadow: 0 16px 34px rgba(232, 119, 34, 0.42), 0 4px 12px rgba(42, 13, 32, 0.24);
  transition: transform 0.22s var(--ease), background-color 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease, visibility 0.2s;
}

body:has(#nav-toggle:checked) .wa-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wa-float .icon {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  background-color: var(--orange-600);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 22px 44px rgba(232, 119, 34, 0.48), 0 6px 14px rgba(42, 13, 32, 0.28);
}

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .inspectors-card {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  }

  .inspectors-art {
    min-height: 100%;
  }

  .consumo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

@media (min-width: 1000px) {
  .action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1039px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0 12px;
  }

  .brand {
    margin-right: auto;
    padding-block: 13px;
  }

  .brand img {
    height: clamp(38px, 4vw, 42px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle-label {
    display: flex;
  }

  .main-nav {
    flex: 1 0 100%;
    max-height: 0;
    margin-left: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s var(--ease), visibility 0.4s;
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: visible;
  }

  .nav-toggle:checked + .nav-toggle-label .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 0 18px;
  }

  .nav-item > a,
  .submenu-toggle-label {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.98rem;
  }

  .submenu-toggle-label {
    justify-content: space-between;
  }

  .current-menu-item > a {
    background-color: var(--cream);
    box-shadow: inset 3px 0 0 var(--orange);
  }

  .current-menu-item > a::after {
    display: none;
  }

  .caret {
    margin-top: 0;
    margin-right: 4px;
  }

  .dropdown {
    position: static;
    min-width: 0;
    max-height: 0;
    margin: 2px 0 6px 14px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    transform: none;
    transition: max-height 0.32s var(--ease), visibility 0.32s;
  }

  .submenu-toggle:checked ~ .dropdown {
    max-height: 360px;
    padding: 4px 0;
    visibility: visible;
  }

  .dropdown a {
    display: flex;
    min-height: 46px;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-size: 0.92rem;
  }

  .nav-cta-item {
    margin: 10px 0 0;
  }

  .nav-cta {
    width: 100%;
    min-height: 50px;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .topbar-meta {
    display: none;
  }

  .topbar-inner {
    min-height: 44px;
  }

  .topbar-gov {
    font-size: 0.68rem;
    line-height: 1.55;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .system-arrow {
    margin-left: 0;
  }

  .contact-address {
    max-width: none;
  }

  .footer-bottom {
    padding-bottom: 88px;
  }

  .hero {
    padding-block: 22px 26px;
  }

  .hero-brand-logo {
    width: min(190px, 54vw);
    margin-top: 6px;
  }

  .hero h1 {
    margin-top: 10px;
  }

  .hero-lead {
    margin-top: 10px;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .breadcrumb {
    margin-top: 12px;
  }
}

@media (max-width: 400px) {
  .hero-brand-logo {
    width: 180px;
  }

  .nav-toggle-label {
    width: 44px;
    height: 44px;
  }

  .system-card {
    gap: 14px;
  }

  .system-logo img {
    width: 160px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .orb-a,
  .orb-c {
    animation: none;
  }

  .action-card:hover,
  .action-card:focus-visible,
  .action-card:hover .action-arrow,
  .action-card:focus-visible .action-arrow,
  .action-card:hover .action-media img,
  .action-card:focus-visible .action-media img,
  .process-link:hover,
  .process-link:focus-visible,
  .process-link:hover img,
  .process-link:focus-visible img,
  .phone-list a:hover,
  .phone-list a:hover .phone-arrow,
  .system-card:hover,
  .system-card:hover .system-arrow,
  .wa-float:hover {
    transform: none;
  }
}

/* ===== Acceso al Protocolo de Denuncias ===== */
.protocolo {
  background-color: var(--paper);
}

.protocol-banner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(520px 320px at 92% -20%, rgba(232, 119, 34, 0.24), transparent 62%),
    linear-gradient(135deg, var(--plum-950), var(--plum-900) 55%, var(--plum));
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 30px 60px -34px rgba(42, 13, 32, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.protocol-banner:hover,
.protocol-banner:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 36px 70px -34px rgba(42, 13, 32, 0.7);
  text-decoration: none;
}

.protocol-copy .kicker {
  color: var(--orange-soft);
}

.protocol-banner h2 {
  margin: 0 0 12px;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  color: #ffffff;
}

.protocol-banner p {
  margin: 0 0 22px;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.84);
}

.protocol-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background-color: var(--orange);
  color: var(--plum-950);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 14px 28px -16px rgba(232, 119, 34, 0.9);
}

.protocol-visual {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.protocol-visual-num {
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}

.protocol-visual-label {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 760px) {
  .protocol-banner {
    grid-template-columns: 1fr;
  }

  .protocol-visual {
    min-height: 140px;
  }
}
