:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-alt: #0f172a;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(148, 163, 184, 0.18);
  --text: #e8eef9;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-2: #38bdf8;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --bg-alt: #eef2f8;
  --surface: rgba(15, 23, 42, 0.03);
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --muted: #64748b;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --accent-soft: rgba(37, 99, 235, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.container.narrow { width: min(100%, 760px); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.92rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.brand__logo { max-height: 40px; width: auto; }
.brand__logo--dark { display: none; }
[data-theme="light"] .brand__logo--light { display: none; }
[data-theme="light"] .brand__logo--dark { display: block; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__list a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
}
.nav__list a:hover,
.nav__list a:focus-visible,
.nav__list .current-menu-item > a {
  color: var(--text);
  background: var(--surface);
}

.site-header__actions { display: flex; align-items: center; gap: 0.55rem; }
.theme-toggle,
.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}
.theme-toggle svg,
.nav-toggle svg { width: 18px; height: 18px; }
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0 5rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(56, 189, 248, 0.12), transparent 55%),
    linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 0;
}
.hero__mesh {
  position: absolute;
  inset: -56px 0 0;
  height: calc(100% + 112px);
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  animation: jd-mesh 12s linear infinite;
  will-change: transform;
}
@keyframes jd-mesh {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 56px, 0); }
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero__content {
  animation: jd-rise 0.9s var(--ease) both;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 14ch;
}
.hero__lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 48ch;
  margin: 0 0 1.75rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__visual {
  justify-self: end;
  width: 100%;
  max-width: 400px;
  will-change: transform;
  pointer-events: none;
  backface-visibility: hidden;
}
@keyframes jd-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes jd-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@keyframes jd-chip-pulse {
  0%, 100% { opacity: 0.65; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.hero__panel {
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(18, 26, 43, 0.95), rgba(30, 41, 59, 0.78));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(59, 130, 246, 0.08),
    0 0 40px rgba(59, 130, 246, 0.12);
  overflow: hidden;
  backdrop-filter: blur(8px);
  animation: jd-glow 4.5s ease-in-out infinite;
}
@keyframes jd-glow {
  0%, 100% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 24px rgba(59, 130, 246, 0.1); }
  50% { box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45), 0 0 48px rgba(56, 189, 248, 0.22); }
}
[data-theme="light"] .hero__panel {
  background: linear-gradient(160deg, #fff, #eef2f8);
  animation: none;
  box-shadow: var(--shadow);
}
.hero__panel-bar {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.hero__panel-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.45);
}
.hero__panel-bar span:first-child { background: #fb7185; }
.hero__panel-bar span:nth-child(2) { background: #fbbf24; }
.hero__panel-bar span:nth-child(3) { background: #34d399; }
.hero__panel-body {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}
.hero__row {
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.45),
    rgba(56, 189, 248, 0.18),
    rgba(59, 130, 246, 0.45)
  );
  background-size: 200% 100%;
  animation: jd-shimmer 2.4s ease-in-out infinite;
}
.hero__row--b {
  width: 78%;
  animation-delay: 0.25s;
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.35),
    rgba(59, 130, 246, 0.12),
    rgba(56, 189, 248, 0.35)
  );
  background-size: 200% 100%;
}
.hero__row--c {
  width: 62%;
  animation-delay: 0.5s;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    rgba(148, 163, 184, 0.16),
    rgba(255, 255, 255, 0.1)
  );
  background-size: 200% 100%;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.hero__chips span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: var(--surface);
  animation: jd-chip-pulse 3s ease-in-out infinite;
}
.hero__chips span:nth-child(2) { animation-delay: 0.4s; }
.hero__chips span:nth-child(3) { animation-delay: 0.8s; }
.hero__chips span:nth-child(4) { animation-delay: 1.2s; }

/* Sections */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section-header { margin-bottom: 2.5rem; max-width: 640px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-header__lead { color: var(--muted); margin: 0; }
.section-cta { margin-top: 2rem; display: flex; justify-content: center; }

.about__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.single-body {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 2.5rem) clamp(3.5rem, 7vw, 5.5rem);
}
.single-body > .container {
  padding-inline: 0;
}
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: start;
  padding: 0;
  box-sizing: border-box;
}
.single-layout > .prose {
  min-width: 0;
  max-width: 62ch;
}
.single-layout > .single-aside {
  min-width: 0;
}
.about__media img,
.about__placeholder {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--bg-elevated);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}
.stat {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
}

.cards-grid {
  display: grid;
  gap: 1.25rem;
}
.cards-grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid--portfolio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sistemas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: var(--shadow);
}
.card--service .card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  margin-bottom: 1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; }
.card h3 a:hover { color: var(--accent-2); }
.card p { color: var(--muted); margin: 0 0 1rem; }
.card__meta {
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
}
.card--portfolio { padding: 0; overflow: hidden; }
.card--portfolio .card__body { padding: 1.15rem 1.25rem 1.35rem; }
.card__media { display: block; position: relative; }
.card__media img,
.card__placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(59,130,246,0.25), rgba(15,23,42,0.9));
}
.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.tag-list li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

.card--sistema {
  padding: 1.6rem;
  border-top: 3px solid var(--accent, var(--accent));
}
.sistema-card__top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.sistema-card__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 0.35rem;
}
.sistema-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin: 1rem 0 1.25rem;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent, #3b82f6), var(--accent-2));
}
.progress em {
  position: absolute;
  right: 0;
  top: -1.5rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}
.progress--lg { height: 12px; margin: 1.5rem 0; }

.feature-list { display: grid; gap: 0.55rem; margin: 1rem 0; }
.feature-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--muted);
}
.feature-list svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.filters select,
.form-field input,
.form-field select,
.form-field textarea,
.search-form input {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 0.7rem 0.9rem;
}
.filters select { width: auto; min-width: 200px; }

.tech-groups { display: grid; gap: 1.75rem; }
.tech-group h3 { font-size: 1.05rem; margin-bottom: 0.85rem; }
.tech-list { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-weight: 600;
}
.tech-chip small { color: var(--muted); font-weight: 500; }
.tech-chip img { width: 18px; height: 18px; object-fit: contain; }

.timeline { position: relative; display: grid; gap: 1.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: var(--border);
}
.timeline__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  padding-left: 1.75rem;
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline__meta { color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.timeline__company { color: var(--accent-2); font-weight: 700; margin: 0 0 0.5rem; }

.contact-details { display: grid; gap: 0.85rem; margin: 1.5rem 0; }
.contact-details strong { display: block; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-form,
.aside-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field { display: grid; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; }
.checkbox { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 500; }
.checkbox input { width: 18px; height: 18px; margin-top: 0.2rem; }
.form-actions { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.form-feedback {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
}
.form-feedback.is-error { background: rgba(239, 68, 68, 0.15); color: #fecaca; }
.form-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.9rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.social-list { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }
.social-list a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}
.social-list a:hover { color: var(--text); border-color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-top: 3.5rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer__title {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer-menu,
.footer-contact { display: grid; gap: 0.55rem; }
.footer-menu a,
.footer-contact a { color: var(--muted); }
.footer-menu a:hover,
.footer-contact a:hover { color: var(--text); }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.15rem 0;
}
.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
  z-index: 90;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: translateY(-2px); }

.single-hero {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.25rem);
  background:
    linear-gradient(180deg, rgba(11,18,32,0.72), var(--bg)),
    var(--banner, linear-gradient(135deg, #1e293b, #0f172a));
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}
.single-hero .hero__actions { margin-top: 1.5rem; }
.single-hero__lead { color: var(--muted); max-width: 60ch; font-size: 1.08rem; margin: 0 0 0.25rem; }
.single-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  box-sizing: border-box;
}
.single-aside > :where(h2, h3) {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.05rem;
}
.single-aside > :where(h2):first-child,
.single-aside > :where(h3):first-child {
  margin-top: 0;
}
.single-aside > :where(p) {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}
.single-aside .feature-list { margin: 0 0 0.5rem; }
.single-aside .aside-form,
.single-aside .aside-cta {
  margin-top: 0.75rem;
  padding: 1.25rem;
  background: var(--surface);
}
.single-aside .aside-cta .sistema-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.single-aside .aside-cta .btn { width: 100%; justify-content: center; }
.info-list { display: grid; gap: 0.75rem; margin: 0; }
.info-list strong { display: block; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}
.gallery__item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
}
.gallery__item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.breadcrumbs { margin-bottom: 1.25rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--muted); font-size: 0.9rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--border); }

.prose {
  min-width: 0;
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose :where(p, ul, ol) { margin: 0 0 1.25rem; color: var(--muted); line-height: 1.75; }
.prose :where(h2, h3) { margin-top: 1.5rem; }
.prose a { color: var(--accent-2); text-decoration: underline; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.seo-local__lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.75rem; }
.seo-local__services { margin: 1.5rem 0 2rem; }
.seo-local__keywords { font-size: 0.9rem; margin: 1.5rem 0; }
.seo-local__links { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
.seo-local__links a { color: var(--accent-2); font-weight: 600; }
.seo-local__cities { margin-top: 2.5rem; }
.seo-local__city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.45rem 0.85rem;
  margin: 1rem 0 2rem;
}
.seo-local__city-grid a { color: var(--muted); font-size: 0.92rem; }
.seo-local__city-grid a:hover { color: var(--accent-2); }
.seo-local__states { display: grid; gap: 2rem; margin-top: 1.5rem; }
.seo-local__state-block h3 { margin-bottom: 0.75rem; }
.seo-local__state-block h3 a:hover { color: var(--accent-2); }

.search-form {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Lightbox */
.jd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 1rem;
}
.jd-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: 12px;
}
.jd-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

@media (max-width: 1024px) {
  .hero__grid,
  .about__grid,
  .contact__grid,
  .single-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .single-aside {
    position: static;
  }
  .single-body {
    padding: 2rem 1.25rem 3rem;
  }
  .single-layout {
    gap: 2rem;
  }
  .single-layout > .prose {
    max-width: none;
  }
  .cards-grid--services,
  .cards-grid--portfolio,
  .sistemas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline__item { grid-template-columns: 1fr; }
  .header-cta { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; align-items: stretch; }
  .cards-grid--services,
  .cards-grid--portfolio,
  .sistemas-grid,
  .form-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding: 3rem 0 4rem; }
  .hero h1 { max-width: none; }
  .hero__visual {
    justify-self: center;
    max-width: 320px;
    margin-top: 0.5rem;
  }
  .section { padding: 3.5rem 0; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__visual {
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover { transform: none; }
  /* Mantém float/shimmer do hero (igual Reservi) — só suaviza entrada do texto */
  .hero__content { animation: none !important; }
}