:root {
  --navy: #0f172a;
  --navy-2: #111f38;
  --navy-3: #172645;
  --gold: #d8a642;
  --gold-soft: #f4d99a;
  --gold-deep: #a87119;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --muted: #64748b;
  --text: #172033;
  --border: rgba(15, 23, 42, .10);
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --container: 1180px;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(15, 23, 42, .16);
  --shadow-soft: 0 16px 42px rgba(15, 23, 42, .08);
  --gradient-hero: radial-gradient(circle at 78% 20%, rgba(216, 166, 66, .28), transparent 34%), linear-gradient(135deg, #0f172a 0%, #111f38 45%, #1b3155 100%);
}

@font-face {
  font-family: CameraPlainVariable;
  src: url("../assets/fonts/CameraPlainVariable.woff2") format("woff2");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Inter, CameraPlainVariable, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.narrow {
  max-width: 860px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(15, 23, 42, .96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.brand img {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--gold-soft);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: white;
  transition: transform .2s ease, opacity .2s ease;
}

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

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

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

.mobile-nav {
  display: grid;
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: rgba(15, 23, 42, .98);
  transition: max-height .3s ease, padding .3s ease;
}

.mobile-nav.is-open {
  max-height: 430px;
  padding: 10px 20px 22px;
}

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .84);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  padding: 13px 20px;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 18px 38px rgba(216, 166, 66, .25);
}

.btn-gold:hover {
  filter: brightness(1.08);
}

.btn-outline {
  padding: 13px 20px;
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-large {
  min-height: 56px;
  padding-inline: 26px;
}

.btn-full {
  width: 100%;
  min-height: 54px;
}

.icon-whatsapp {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.icon-whatsapp::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-22deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 136px 0 90px;
  background: var(--gradient-hero);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .22;
  pointer-events: none;
}

.hero-orb-one {
  top: -150px;
  right: -110px;
  width: 460px;
  height: 460px;
  background: var(--gold);
}

.hero-orb-two {
  bottom: -180px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: var(--gold-deep);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 64px;
}

.eyebrow,
.section-heading span,
.diagnostic-copy span,
.attorney-copy span,
.final-box span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.shield-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px 6px 9px 9px;
  background: rgba(216, 166, 66, .22);
  border: 1px solid rgba(216, 166, 66, .45);
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero h1 span {
  color: var(--gold);
}

.hero-copy > p {
  max-width: 630px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.75;
}

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

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.hero-badges span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(216, 166, 66, .16);
  position: relative;
}

.hero-badges span::after {
  content: "";
  position: absolute;
  inset: 9px 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -1px);
}

.hero-media {
  position: relative;
}

.photo-frame {
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 38px;
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}

.floating-card {
  position: absolute;
  min-width: 190px;
  padding: 18px 20px;
  border: 1px solid rgba(216, 166, 66, .20);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
}

.floating-card span {
  display: block;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
}

.card-top {
  top: 18%;
  left: -34px;
}

.card-bottom {
  right: -18px;
  bottom: 18%;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading span,
.diagnostic-copy span,
.attorney-copy span {
  color: var(--gold-deep);
}

.section-heading h2,
.diagnostic-copy h2,
.attorney-copy h2,
.final-box h2 {
  margin: 12px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading p,
.diagnostic-copy p,
.attorney-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soft-card,
.feature-card,
.testimonial-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.soft-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.soft-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(216, 166, 66, .14);
  color: var(--gold-deep);
  font-weight: 900;
}

.soft-card h3,
.feature-card h3 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 20px;
}

.soft-card p,
.feature-card p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.7;
}

.benefit {
  background: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list article {
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbf7ef);
}

.benefit-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
}

.benefit-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.diagnostic {
  background: linear-gradient(135deg, #0f172a, #1d3154);
}

.diagnostic-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: center;
}

.diagnostic-copy h2,
.diagnostic-copy p {
  color: white;
}

.diagnostic-copy p {
  color: rgba(255, 255, 255, .76);
}

.diagnostic-box {
  padding: 30px;
  border: 1px solid rgba(216, 166, 66, .22);
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.diagnostic-box h3 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}

.diagnostic-box ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.diagnostic-box li {
  padding-left: 26px;
  color: var(--muted);
  position: relative;
}

.diagnostic-box li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.steps article {
  padding: 26px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.steps h3 {
  color: var(--navy);
}

.steps p {
  color: var(--muted);
  line-height: 1.65;
}

.denial {
  background: #fff;
}

.denial-card {
  padding: 34px;
  border-radius: 28px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.denial-card strong {
  display: block;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
}

.denial-card p {
  color: rgba(255, 255, 255, .76);
  line-height: 1.7;
}

.denial-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 900;
}

.experience {
  background: linear-gradient(180deg, #fbf7ef, #fff);
}

.testimonials {
  background: #fff;
}

.stars {
  color: var(--gold);
  letter-spacing: .08em;
}

.testimonial-card strong {
  color: var(--navy);
}

.attorney-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 36px;
  border-radius: 32px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.attorney-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 26px;
}

.attorney-copy h2,
.attorney-copy p {
  color: white;
}

.attorney-copy p {
  color: rgba(255, 255, 255, .78);
}

.attorney-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.attorney-copy li {
  color: rgba(255, 255, 255, .82);
}

.faq {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef2f7;
  position: relative;
  flex: 0 0 auto;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 14px 8px auto;
  height: 2px;
  background: var(--navy);
}

.faq-item button span::after {
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.faq-item.is-open button span::after {
  transform: rotate(0deg);
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.is-open p {
  display: block;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: var(--gradient-hero);
}

.final-box {
  max-width: 780px;
  text-align: center;
}

.final-box h2 {
  color: white;
}

.final-box p {
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.7;
}

.final-box small {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, .62);
}

.site-footer {
  padding: 64px 0 40px;
  background: var(--navy);
  color: rgba(255, 255, 255, .70);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 42px;
}

.footer-logo {
  width: 210px;
  height: auto;
}

.site-footer h3 {
  color: white;
}

.site-footer a {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .78);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-legal {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .50);
  font-size: 13px;
  line-height: 1.7;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 18px 45px rgba(37, 211, 102, .35);
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  animation: rise .7s ease both;
}

.delay-1 {
  animation-delay: .14s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* SEO local e central de municipios */
.local-seo {
  padding-top: 58px;
  padding-bottom: 58px;
  background: radial-gradient(circle at 15% 10%, rgba(215, 168, 78, .14), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(247, 241, 231, .76));
}
.local-seo-panel, .city-hub-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(215, 168, 78, .24);
  border-radius: 30px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 60px rgba(26, 43, 36, .08);
}
.local-seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.local-seo-grid article { padding: 22px; border: 1px solid rgba(25, 61, 45, .10); border-radius: 22px; background: linear-gradient(180deg, #ffffff, #fbfaf6); }
.local-seo-grid strong { display: block; margin-bottom: 10px; color: var(--color-primary); line-height: 1.25; }
.local-seo-grid p, .local-seo-note { color: var(--color-muted); line-height: 1.75; }
.local-seo-note { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--color-gold); border-radius: 16px; background: rgba(215, 168, 78, .10); }
.city-hub-section { padding-top: 64px; background: linear-gradient(180deg, #fffaf0, #f7f2e8); }
.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.city-link { display: flex; align-items: center; min-height: 54px; padding: 14px 16px; border: 1px solid rgba(25, 61, 45, .12); border-radius: 16px; background: #fff; color: var(--color-primary); font-weight: 800; line-height: 1.25; box-shadow: 0 8px 22px rgba(26, 43, 36, .05); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.city-link:hover { transform: translateY(-2px); border-color: rgba(215, 168, 78, .52); box-shadow: 0 16px 30px rgba(26, 43, 36, .10); }
.hub-hero .hero-copy { max-width: 720px; }
@media (max-width: 900px) { .local-seo-grid, .city-grid { grid-template-columns: 1fr; } }
