:root {
  color-scheme: light;
  --bg: #f4efe8;
  --bg-2: #fbf8f4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-border: rgba(22, 37, 55, 0.11);
  --surface-highlight: rgba(27, 78, 107, 0.08);
  --header-bg: rgba(251, 248, 244, 0.84);
  --grid-line: rgba(27, 44, 64, 0.08);
  --text: #182536;
  --text-muted: #5f6b78;
  --accent: #1d5975;
  --accent-strong: #113246;
  --accent-soft: rgba(29, 89, 117, 0.1);
  --secondary: #b38049;
  --secondary-soft: rgba(179, 128, 73, 0.16);
  --wa: #25d366;
  --wa-strong: #1fa955;
  --danger: #d15757;
  --shadow: 0 24px 60px rgba(19, 35, 52, 0.12);
  --shadow-strong: 0 34px 90px rgba(19, 35, 52, 0.16);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 2rem));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1420;
  --bg-2: #0e1928;
  --surface: rgba(11, 20, 32, 0.76);
  --surface-strong: rgba(13, 22, 35, 0.9);
  --surface-solid: #101b2b;
  --surface-border: rgba(214, 225, 239, 0.11);
  --surface-highlight: rgba(116, 178, 195, 0.12);
  --header-bg: rgba(10, 17, 27, 0.86);
  --grid-line: rgba(255, 255, 255, 0.07);
  --text: #eef3f8;
  --text-muted: #b3c1d2;
  --accent: #80bfd1;
  --accent-strong: #d4ebf2;
  --accent-soft: rgba(128, 191, 209, 0.12);
  --secondary: #d8a56d;
  --secondary-soft: rgba(216, 165, 109, 0.14);
  --wa: #2be775;
  --wa-strong: #20bc60;
  --danger: #ff9898;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shadow-strong: 0 36px 94px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 89, 117, 0.11), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(179, 128, 73, 0.16), transparent 22%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 52%, var(--bg-2) 100%);
  transition: background-color 240ms ease, color 240ms ease;
}

main {
  position: relative;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.aurora,
.noise-mask,
.grid-mask {
  position: absolute;
  inset: 0;
}

.aurora {
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.56;
  animation: drift 22s ease-in-out infinite;
}

.aurora-a {
  top: -11rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(29, 89, 117, 0.26), transparent 60%);
}

.aurora-b {
  right: -12rem;
  top: 6rem;
  background: radial-gradient(circle, rgba(179, 128, 73, 0.24), transparent 58%);
  animation-duration: 28s;
}

.grid-mask {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  opacity: 0.46;
}

.noise-mask {
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.6px, transparent 0.6px);
  background-size: 16px 16px;
  opacity: 0.05;
}

.site-header,
.site-footer,
.section-shell {
  width: var(--container);
  margin-inline: auto;
}

.section-block {
  padding: 2rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.section-heading h2,
.section-heading h1 {
  margin: 0.25rem 0 0.85rem;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading p,
.lead,
.page-hero__content p,
.service-copy p,
.cta-band p,
.contact-pane p,
.editorial-card p,
.summary-card p,
.detail-card p,
.panel-card p,
.service-card p,
.faq-item p,
.contact-card p,
.note-card p {
  color: var(--text-muted);
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  opacity: 0.22;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  transition:
    opacity 460ms ease,
    transform 460ms ease,
    background-color 240ms ease,
    border-color 240ms ease;
}

html.has-js .site-header {
  opacity: 0;
  transform: translateY(-12px);
}

body.is-ready .site-header {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--text-muted);
}

.site-nav a {
  position: relative;
  padding: 0.2rem 0;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

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

.theme-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.theme-toggle:hover,
.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 89, 117, 0.24);
}

.theme-toggle svg,
.nav-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle {
  position: relative;
}

.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-toggle__moon {
  opacity: 0;
  transform: scale(0.75);
}

html[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: scale(0.75);
}

html[data-theme="dark"] .theme-toggle__moon {
  opacity: 1;
  transform: scale(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.24rem;
}

.nav-toggle span {
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 34px rgba(29, 89, 117, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 38px rgba(29, 89, 117, 0.28);
}

.button-secondary {
  border-color: var(--surface-border);
  background: var(--surface);
  color: var(--text);
}

.button-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--text);
}

.button-whatsapp {
  color: #ffffff;
  background: linear-gradient(135deg, var(--wa), var(--wa-strong));
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.22);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  box-shadow: 0 22px 40px rgba(37, 211, 102, 0.28);
}

.button-link {
  padding-inline: 0;
  min-height: auto;
  border: 0;
  color: var(--accent);
  background: transparent;
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 160ms ease;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.hero-home,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 1.45rem;
  padding: 3.2rem 0 2rem;
}

.hero-home {
  align-items: stretch;
  min-height: clamp(640px, calc(100svh - 12rem), 760px);
}

.hero-copy,
.page-hero__content,
.page-hero__panel,
.hero-stage,
.contact-pane,
.contact-form-wrap,
.summary-card,
.service-card,
.detail-card,
.panel-card,
.note-card,
.editorial-card,
.cta-band,
.service-process__card,
.faq-item,
.stat-card,
.link-card {
  border: 1px solid var(--surface-border);
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
  min-height: inherit;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy,
.page-hero__content,
.page-hero__panel,
.contact-pane,
.contact-form-wrap,
.cta-band {
  border-radius: var(--radius-xl);
}

.hero-copy,
.page-hero__content {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.hero-copy {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
}

.hero-copy::before,
.hero-stage::before,
.hero-copy::after,
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-copy::before,
.hero-stage::before {
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(179, 128, 73, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(29, 89, 117, 0.07), transparent 44%);
  opacity: 0.95;
  z-index: 0;
}

.hero-copy::after,
.hero-stage::after {
  inset: -14%;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.2) 50%, transparent 66%);
  transform: translate3d(-120%, 0, 0);
  animation: sheen 6.2s linear infinite;
  will-change: transform;
  z-index: 0;
}

html[data-theme="dark"] .hero-copy::after,
html[data-theme="dark"] .hero-stage::after {
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.07) 50%, transparent 66%);
}

.hero-copy > *,
.hero-stage > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.page-hero__content h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-copy h1 em,
.page-hero__content h1 em,
.section-heading h2 strong,
.gold-text {
  font-style: normal;
  color: var(--secondary);
}

.hero-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions,
.page-hero__actions,
.cta-band__actions,
.contact-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-tags,
.hero-points,
.page-hero__stats,
.compact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.hero-tags li,
.hero-points li,
.page-hero__stats li,
.compact-points li {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.93rem;
  box-shadow: 0 10px 24px rgba(19, 35, 52, 0.08);
}

.hero-stage {
  position: relative;
  border-radius: var(--radius-xl);
  min-height: inherit;
  padding: 1.1rem;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 100ms linear;
  will-change: transform;
}

.hero-stage__shell {
  position: relative;
  min-height: 100%;
  border-radius: calc(var(--radius-xl) - 10px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.44)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 32%);
  overflow: hidden;
}

html[data-theme="dark"] .hero-stage__shell {
  background:
    linear-gradient(180deg, rgba(13, 22, 35, 0.72), rgba(13, 22, 35, 0.52)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 32%);
}

.hero-stage__grid,
.hero-stage__beam,
.hero-stage__radar {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-stage__grid {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-stage__beam {
  background: radial-gradient(circle at 70% 18%, rgba(179, 128, 73, 0.18), transparent 24%);
  filter: blur(10px);
}

.hero-stage__radar {
  background:
    radial-gradient(circle at 20% 18%, rgba(29, 89, 117, 0.14), transparent 20%),
    radial-gradient(circle at 80% 72%, rgba(179, 128, 73, 0.1), transparent 22%);
  animation: pulse 7.2s ease-in-out infinite;
}

.hero-stage__core {
  position: absolute;
  inset: 31% 8% auto 16%;
  display: grid;
  gap: 0.2rem;
  padding: 2rem 2rem 1.8rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 32px 70px rgba(17, 36, 54, 0.16);
  z-index: 4;
}

html[data-theme="dark"] .hero-stage__core {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(11, 20, 32, 0.9);
}

.hero-stage__core span {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-stage__core strong {
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero-stage__core strong:nth-of-type(1) {
  color: var(--secondary);
}

.hero-stage__core small {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 26ch;
}

.hero-stage__band {
  position: absolute;
  inset: auto 12% 13% 26%;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 1.45rem;
  z-index: 3;
}

html[data-theme="dark"] .hero-stage__band {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(11, 20, 32, 0.9);
}

.hero-stage__band span {
  display: block;
  color: var(--secondary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-stage__band strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.hero-chip,
.hero-node,
.hero-stage__band {
  position: absolute;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 54px rgba(19, 35, 52, 0.12);
}

html[data-theme="dark"] .hero-chip,
html[data-theme="dark"] .hero-node,
html[data-theme="dark"] .hero-stage__band {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(11, 20, 32, 0.9);
}

.hero-chip,
.hero-node,
.hero-stage__band {
  transform: translate3d(var(--drag-x, 0px), var(--drag-y, 0px), 0);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease,
    border-color 180ms ease;
  will-change: transform;
}

.hero-draggable {
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.hero-chip {
  padding: 0.8rem 1.15rem;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 5;
}

.hero-chip--gold {
  color: var(--secondary);
}

.hero-draggable:hover {
  box-shadow: 0 32px 62px rgba(19, 35, 52, 0.18);
}

.hero-dragging {
  cursor: grabbing;
  z-index: 8;
}

.hero-node {
  max-width: 280px;
  padding: 1.3rem 1.4rem;
  z-index: 4;
}

.hero-node span {
  display: block;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-node strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.hero-chip--a {
  top: 1.6rem;
  left: 1.8rem;
}

.hero-chip--b {
  top: 7rem;
  left: 1.8rem;
}

.hero-chip--c {
  top: 14.2rem;
  right: 2rem;
}

.hero-chip--d {
  bottom: 10.4rem;
  left: 2.2rem;
}

.hero-chip--e {
  top: 3rem;
  right: 5rem;
}

.hero-chip--f {
  bottom: 10rem;
  right: 2.2rem;
}

.hero-node--a {
  top: 1.2rem;
  right: 1.4rem;
}

.hero-node--b {
  bottom: 1.4rem;
  left: 1.6rem;
  max-width: 38%;
}

.hero-node--c {
  right: 1.4rem;
  bottom: 1.2rem;
  max-width: 42%;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.7;
}

.hero-orb--a {
  width: 92px;
  height: 92px;
  top: 3rem;
  left: 3rem;
  background: radial-gradient(circle, rgba(29, 89, 117, 0.2), transparent 68%);
}

.hero-orb--b {
  width: 130px;
  height: 130px;
  right: 3rem;
  top: 14rem;
  background: radial-gradient(circle, rgba(179, 128, 73, 0.18), transparent 70%);
}

.page-hero__content h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.page-hero__panel {
  padding: 1.8rem;
}

.page-hero__panel h2,
.panel-card h3,
.detail-card h3,
.service-card h3,
.contact-pane h2,
.contact-form-wrap h2,
.cta-band h2 {
  margin: 0.15rem 0 0.8rem;
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.page-hero__panel p {
  margin: 0;
}

.stat-list,
.service-points,
.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.stat-list li,
.service-points li,
.check-list li {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
}

.stat-list strong,
.service-points strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.stat-list span,
.service-points span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.summary-card,
.service-card,
.detail-card,
.panel-card,
.note-card,
.editorial-card,
.stat-card,
.link-card,
.service-process__card {
  border-radius: var(--radius-lg);
  padding: 1.55rem;
}

.summary-card span,
.service-card span,
.detail-card span,
.panel-card span,
.editorial-card span,
.stat-card span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-card h3,
.service-card h3,
.detail-card h3,
.panel-card h3,
.editorial-card h3,
.stat-card h3,
.link-card h3 {
  margin: 0.65rem 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.summary-card p,
.service-card p,
.detail-card p,
.panel-card p,
.editorial-card p,
.stat-card p,
.link-card p {
  margin: 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.service-summary-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-summary-grid .summary-card {
  grid-column: span 3;
}

.service-summary-grid .summary-card--wide {
  grid-column: span 6;
}

.summary-card__footer,
.link-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.summary-card__footer strong,
.link-card__footer strong {
  color: inherit;
  font-size: 0.98rem;
}

.summary-card__footer svg,
.link-card__footer svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.benefits-grid,
.detail-grid,
.editorial-grid,
.related-grid,
.stats-grid,
.links-grid,
.services-hub-grid,
.contact-methods,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.detail-grid--three,
.related-grid,
.contact-methods {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 1rem;
}

.service-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-process__card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 1rem;
}

.service-process__card h3 {
  margin: 0.9rem 0 0.65rem;
  font-size: 1.24rem;
}

.stack-band {
  margin-top: 1.5rem;
  border: 1px solid var(--surface-border);
  border-radius: calc(var(--radius-xl) - 6px);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stack-marquee {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0;
}

.stack-marquee::before,
.stack-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 1;
  pointer-events: none;
}

.stack-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.stack-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.stack-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1rem;
  padding-inline: 1rem;
  animation: marquee 34s linear infinite;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
}

.stack-pill__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stack-pill__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.stack-pill__label {
  font-weight: 700;
  font-size: 0.96rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  padding: 0 1.35rem;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.faq-item p {
  margin: 0;
  padding: 0 0 1.35rem;
}

.cta-band {
  display: grid;
  gap: 0.8rem;
  padding: 2rem;
  margin: 1rem auto 3rem;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(179, 128, 73, 0.16), transparent 28%),
    linear-gradient(140deg, var(--surface-strong), var(--surface));
}

.cta-band > .eyebrow,
.cta-band > h2,
.cta-band > p,
.cta-band > .cta-band__meta,
.cta-band > .cta-band__actions {
  justify-self: center;
  margin-inline: auto;
  text-align: center;
}

.cta-band > h2 {
  max-width: 20ch;
}

.cta-band > p {
  max-width: 62ch;
}

.cta-band__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.cta-band__meta span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
}

.contact-pane,
.contact-form-wrap {
  display: grid;
  align-content: center;
  padding: 1.8rem;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.contact-highlights span {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
  color: var(--text-muted);
}

.contact-methods .panel-card,
.contact-methods .stat-card {
  min-height: 100%;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--surface-border);
  color: var(--text);
  background: var(--surface-strong);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(29, 89, 117, 0.34);
  box-shadow: 0 0 0 4px rgba(29, 89, 117, 0.08);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-status {
  min-height: 1.4rem;
  color: var(--text-muted);
}

.form-status.is-error {
  color: var(--danger);
}

.contact-form-wrap.is-emphasized {
  border-color: rgba(37, 211, 102, 0.34);
  box-shadow: 0 22px 50px rgba(37, 211, 102, 0.16);
}

.cta-band__actions,
.footer-actions {
  justify-content: center;
}

.site-footer {
  padding: 1rem 0 2.5rem;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--surface-border);
  border-radius: calc(var(--radius-xl) + 2px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.footer-brand,
.footer-columns {
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
}

.footer-brand__head {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  height: 2.4rem;
}

.footer-logo--dark {
  display: none;
}

html[data-theme="dark"] .footer-logo--light {
  display: none;
}

html[data-theme="dark"] .footer-logo--dark {
  display: block;
}

.footer-brand h2 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

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

.footer-column span {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0 0 0.7rem;
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 0 0;
  color: var(--text-muted);
}

.floating-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 3.7rem;
  padding: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--wa), var(--wa-strong));
  box-shadow: 0 24px 50px rgba(37, 211, 102, 0.28);
}

.floating-wa::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  background: center / contain no-repeat url("assets/whatsapp-icon.svg");
}

.floating-wa span {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    filter 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2rem, 1rem, 0) scale(1.03);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes sheen {
  0%,
  100% {
    transform: translateX(-120%);
  }
  42%,
  58% {
    transform: translateX(120%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .hero-home {
    min-height: auto;
  }

  .hero-copy,
  .hero-stage {
    min-height: 0;
  }

  .hero-home,
  .page-hero,
  .service-layout,
  .contact-grid,
  .footer-panel {
    grid-template-columns: 1fr;
  }

  .service-summary-grid,
  .benefits-grid,
  .detail-grid,
  .editorial-grid,
  .related-grid,
  .stats-grid,
  .links-grid,
  .services-hub-grid,
  .contact-methods,
  .faq-grid,
  .service-process,
  .detail-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-summary-grid .summary-card,
  .service-summary-grid .summary-card--wide {
    grid-column: span 1;
  }

  .hero-stage {
    min-height: 580px;
  }

  .hero-stage__band {
    inset: auto 10% 7% 18%;
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 0.65rem;
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.5rem 0 0.25rem;
  }

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

  .site-header.is-open .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions {
    margin-left: auto;
    gap: 0.55rem;
  }

  .header-actions .button-whatsapp {
    min-height: 2.9rem;
    padding-inline: 1.05rem;
  }

  .hero-copy h1,
  .page-hero__content h1 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .hero-stage__core {
    inset: auto 7% 20% 12%;
  }

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

@media (max-width: 700px) {
  .site-header {
    position: sticky;
    top: max(0.4rem, env(safe-area-inset-top, 0px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.72rem 0.78rem;
    margin-top: 0.5rem;
    transform: none;
  }

  html.has-js .site-header,
  body.is-ready .site-header {
    opacity: 1;
    transform: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .nav-toggle,
  .theme-toggle {
    width: 2.6rem;
    height: 2.6rem;
  }

  .header-actions {
    width: auto;
    margin-left: 0;
    gap: 0.45rem;
    justify-content: flex-end;
  }

  .site-header .header-actions .button-whatsapp {
    display: none;
  }

  .site-header.is-open .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .site-nav {
    grid-column: 1 / -1;
    padding-top: 0.4rem;
  }

  .service-summary-grid,
  .benefits-grid,
  .detail-grid,
  .editorial-grid,
  .related-grid,
  .stats-grid,
  .links-grid,
  .services-hub-grid,
  .contact-methods,
  .faq-grid,
  .service-process,
  .detail-grid--three,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-summary-grid .summary-card,
  .service-summary-grid .summary-card--wide {
    grid-column: span 1;
  }

  .section-block {
    padding: 1.55rem 0;
  }

  .hero-actions,
  .page-hero__actions,
  .cta-band__actions,
  .footer-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .page-hero__actions .button,
  .cta-band__actions .button,
  .footer-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .hero-tags li,
  .page-hero__stats li,
  .compact-points li,
  .cta-band__meta span,
  .contact-highlights span {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-home,
  .page-hero {
    padding-top: 2.2rem;
  }

  .hero-stage {
    min-height: 620px;
    padding: 0.8rem;
  }

  .hero-stage__core {
    inset: 14.4rem 1rem 7.4rem 1rem;
    padding: 1.35rem 1.2rem 1.2rem;
  }

  .hero-stage__core strong {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .hero-stage__core small {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 28ch;
  }

  .hero-stage__band {
    inset: 9.35rem 1rem auto 1rem;
    padding: 0.92rem 0.95rem;
  }

  .hero-node {
    display: block;
    max-width: 45%;
    padding: 0.95rem 1rem;
  }

  .hero-node span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-node strong {
    font-size: 0.92rem;
    line-height: 1.33;
  }

  .hero-chip {
    max-width: 44%;
    font-size: 0.78rem;
    padding: 0.68rem 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-chip--a {
    top: 1rem;
    left: 1rem;
  }

  .hero-chip--b {
    top: 4.9rem;
    left: 1rem;
  }

  .hero-chip--c {
    top: 6rem;
    right: 1rem;
  }

  .hero-chip--d {
    top: 1rem;
    right: 1rem;
  }

  .hero-chip--d,
  .hero-chip--e,
  .hero-chip--f {
    display: none;
  }

  .hero-node--a {
    top: 1rem;
    right: 1rem;
    max-width: 52%;
  }

  .hero-node--b {
    bottom: 1rem;
    left: 1rem;
    max-width: 42%;
  }

  .hero-node--c {
    right: 1rem;
    bottom: 1rem;
    max-width: 50%;
  }

  .stack-marquee::before,
  .stack-marquee::after {
    width: 48px;
  }

  .stack-pill {
    padding: 0.75rem 0.9rem;
  }

  .stack-pill__label {
    font-size: 0.9rem;
  }

  .floating-wa {
    right: max(1rem, calc(env(safe-area-inset-right, 0px) + 0.7rem));
    left: auto;
    bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
    width: 3.5rem;
    height: 3.5rem;
  }

  .site-footer {
    padding-bottom: 3.2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .site-header,
  .hero-copy,
  .page-hero__content,
  .page-hero__panel,
  .contact-pane,
  .contact-form-wrap,
  .summary-card,
  .service-card,
  .detail-card,
  .panel-card,
  .note-card,
  .editorial-card,
  .stat-card,
  .link-card,
  .service-process__card,
  .faq-item,
  .cta-band,
  .footer-brand,
  .footer-columns {
    border-radius: 22px;
  }

  .site-header {
    top: max(0.35rem, env(safe-area-inset-top, 0px));
    padding: 0.68rem 0.72rem;
    border-radius: 24px;
  }

  .brand {
    flex: 1 1 calc(100% - 3.5rem);
    min-width: 0;
  }

  .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text small {
    display: none;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .nav-toggle,
  .theme-toggle {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hero-copy,
  .page-hero__content,
  .page-hero__panel,
  .contact-pane,
  .contact-form-wrap,
  .summary-card,
  .service-card,
  .detail-card,
  .panel-card,
  .note-card,
  .editorial-card,
  .stat-card,
  .link-card,
  .service-process__card,
  .faq-item,
  .cta-band,
  .footer-brand,
  .footer-columns {
    padding: 1.3rem;
  }

  .hero-copy h1,
  .page-hero__content h1 {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }

  .hero-stage__core {
    inset: 13.4rem 0.7rem 7rem 0.7rem;
    padding: 1.15rem 1rem;
  }

  .hero-stage {
    min-height: 580px;
  }

  .hero-stage__core strong {
    font-size: clamp(1.95rem, 12vw, 2.7rem);
  }

  .hero-stage__core small {
    font-size: 0.86rem;
  }

  .hero-chip {
    max-width: 43%;
    font-size: 0.72rem;
    padding: 0.6rem 0.78rem;
  }

  .hero-chip--d,
  .hero-orb--b {
    display: none;
  }

  .hero-stage__band {
    display: block;
    inset: 8.85rem 0.7rem auto 0.7rem;
    padding: 0.84rem 0.88rem;
  }

  .hero-stage__band span {
    font-size: 0.68rem;
  }

  .hero-stage__band strong {
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .hero-node {
    padding: 0.82rem 0.88rem;
    max-width: 44%;
  }

  .hero-node span {
    font-size: 0.68rem;
  }

  .hero-node strong {
    font-size: 0.84rem;
  }

  .hero-node--a {
    top: 1rem;
    max-width: 50%;
  }

  .hero-node--b {
    bottom: 0.7rem;
    max-width: 42%;
  }

  .hero-node--c {
    bottom: 0.7rem;
    max-width: 50%;
  }

  .hero-chip--b {
    top: 4.55rem;
  }

  .hero-chip--c {
    top: 5.65rem;
  }

  .summary-card,
  .service-card,
  .detail-card,
  .panel-card,
  .note-card,
  .editorial-card,
  .stat-card,
  .link-card,
  .service-process__card {
    padding: 1.3rem;
  }

  .summary-card h3,
  .service-card h3,
  .detail-card h3,
  .panel-card h3,
  .editorial-card h3,
  .stat-card h3,
  .link-card h3 {
    font-size: 1.25rem;
  }

  .faq-item summary {
    font-size: 0.98rem;
  }

  .button {
    min-height: 3rem;
    padding: 0.8rem 1rem;
  }

  .footer-brand h2 {
    font-size: clamp(1.8rem, 9vw, 2.25rem);
  }
}

@media (max-width: 420px) {
  .section-shell {
    width: min(calc(100vw - 0.8rem), 1180px);
  }

  .site-header {
    width: min(calc(100vw - 0.8rem), 1180px);
  }

  .floating-wa {
    right: max(0.9rem, calc(env(safe-area-inset-right, 0px) + 0.55rem));
    width: 3.35rem;
    height: 3.35rem;
  }

  .hero-stage {
    min-height: 548px;
  }

  .hero-stage__core {
    inset: 13rem 0.65rem 6.7rem 0.65rem;
  }

  .hero-stage__core strong {
    font-size: clamp(1.75rem, 11vw, 2.35rem);
  }

  .hero-stage__band {
    inset: 8.55rem 0.65rem auto 0.65rem;
  }

  .hero-chip--c {
    max-width: 40%;
  }

  .hero-node {
    max-width: 46%;
  }

  .cta-band {
    padding: 1.2rem;
  }

  .site-footer {
    padding-bottom: 3.2rem;
  }
}
