:root {
  --ink: #111827;
  --ink-soft: #374151;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --accent: #c59a52;
  --accent-dark: #9d783c;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.section { padding: 108px 0; }
.section-light { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 239, 0.88);
  border-bottom: 1px solid rgba(17,24,39,.08);
}
.nav-wrap {
  width: min(calc(100% - 36px), var(--max));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  font-weight: 800; letter-spacing: -.03em;
}
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: .98rem; }
.brand-text small { color: var(--ink-soft); margin-top: 4px; }

.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a {
  font-size: .95rem; color: var(--ink-soft); font-weight: 600;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--ink); }

.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span:not(.sr-only) { height: 2px; background: var(--ink); display: block; margin: 5px 0; border-radius: 5px; }

.hero { padding-top: 88px; min-height: calc(100vh - 76px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 70px; align-items: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin: 0 0 18px;
}
.hero h1, .section-heading h2, .about-copy h2, .contact-card h2 {
  letter-spacing: -.045em;
  line-height: 1.04;
  margin: 0;
}
.hero h1 { font-size: clamp(3.15rem, 6.5vw, 6.7rem); max-width: 10ch; }
.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  max-width: 680px;
  margin: 28px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 28px rgba(17,24,39,.18); }
.button-primary:hover { background: #000; }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.button-large { min-height: 58px; padding-inline: 28px; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  list-style: none; padding: 0; margin: 30px 0 0; color: var(--ink-soft); font-size: .93rem;
}
.hero-points li::before { content: "✓"; font-weight: 900; margin-right: 8px; color: var(--accent-dark); }

.hero-visual { position: relative; max-width: 520px; margin-left: auto; width: 100%; }
.portrait-frame {
  border-radius: 38px;
  overflow: hidden;
  background: #ded9cb;
  min-height: 600px;
  box-shadow: var(--shadow);
}
.portrait-frame img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; }
.floating-card {
  position: absolute;
  left: -34px;
  bottom: 40px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 3px;
}
.floating-label { color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }

.trust-strip { background: var(--ink); color: var(--white); }
.trust-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 18px; padding: 26px 32px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { color: var(--accent); font-size: .8rem; letter-spacing: .12em; }
.trust-grid span { font-weight: 700; }

.section-heading { max-width: 730px; }
.section-heading h2, .about-copy h2, .contact-card h2 { font-size: clamp(2.3rem, 4vw, 4.4rem); }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 1.08rem; max-width: 660px; margin-top: 20px; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
.service-card {
  min-height: 330px;
  padding: 30px;
  border-radius: var(--radius);
  background: #faf9f5;
  border: 1px solid rgba(17,24,39,.08);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon-box {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--ink); color: var(--white); font-weight: 800; font-size: .8rem;
}
.service-card h3 { font-size: 1.45rem; margin: 40px 0 12px; letter-spacing: -.025em; }
.service-card p { color: var(--ink-soft); margin: 0 0 28px; }
.service-card a { margin-top: auto; font-weight: 800; }

.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps > li > span {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  font-weight: 850;
}
.steps h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.about-photo { overflow: hidden; border-radius: 28px; min-height: 520px; background: #2a3443; }
.about-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.section-dark .eyebrow { color: #e0bc7c; }
.about-role { color: #d9dde4; font-weight: 700; }
.about-copy > p:not(.eyebrow):not(.about-role) { color: #c7ccd4; font-size: 1.05rem; max-width: 720px; }
.text-link { display: inline-block; margin-top: 16px; font-weight: 850; color: #f0d8ae; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.faq-list { display: grid; gap: 10px; }
details {
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 22px;
}
summary { cursor: pointer; list-style: none; padding: 22px 30px 22px 0; font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: -4px 0 22px; color: var(--ink-soft); max-width: 720px; }

.contact-section { padding-top: 30px; }
.contact-card {
  background: var(--accent);
  border-radius: 34px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.contact-card .eyebrow { color: #46361d; }
.contact-card p { max-width: 700px; }
.contact-actions { display: grid; justify-items: start; gap: 12px; }
.contact-note { margin: 0; font-size: .88rem; color: #4c3a20; }

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 36px; align-items: center; }
.site-footer p { margin: 4px 0 0; color: var(--ink-soft); }
.footer-links { display: flex; gap: 18px; font-size: .92rem; font-weight: 700; }
.copyright { font-size: .86rem; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 920px) {
  .section { padding: 82px 0; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 18px; right: 18px; top: 68px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 12px; }
  .hero { min-height: auto; }
  .hero-grid, .process-grid, .about-grid, .faq-grid, .contact-card { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { margin: 0; max-width: 680px; }
  .cards { grid-template-columns: 1fr; }
  .portrait-frame, .portrait-frame img { min-height: 480px; }
  .floating-card { left: 18px; bottom: 18px; }
  .trust-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
  .trust-grid > div:last-child { border-bottom: 0; }
  .contact-card { padding: 38px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container, .nav-wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand-text small { display: none; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.1rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-points { display: grid; gap: 7px; }
  .portrait-frame, .portrait-frame img { min-height: 390px; }
  .floating-card { right: 14px; left: 14px; }
  .section { padding: 70px 0; }
  .service-card { min-height: 285px; }
  .steps li { grid-template-columns: 52px 1fr; padding: 20px; }
  .about-photo, .about-photo img { min-height: 410px; }
  .contact-card { border-radius: 24px; padding: 32px 22px; }
}


/* IDENTIDAD ABOGADO DEL PUEBLO — AZUL + NARANJA */
:root {
  --ink: #06284a;
  --ink-soft: #35516b;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: rgba(6, 40, 74, 0.13);
  --accent: #f07a16;
  --accent-dark: #c95a06;
}
body { color: #0a2037; background: #f6f8fb; }
.site-header { background: rgba(246,248,251,.92); border-bottom-color: rgba(6,40,74,.10); }
.brand-mark { background: #06284a; color: #f07a16; }
.brand-text strong { color: #06284a; }
.brand-text small { color: #c95a06; font-weight: 700; }
.main-nav a:hover { color: #c95a06; }

.hero {
  background:
    radial-gradient(circle at 15% 15%, rgba(240,122,22,.14), transparent 27%),
    linear-gradient(135deg, #0b3d6b 0%, #06284a 48%, #041b33 100%);
  color: #fff;
}
.hero .eyebrow { color: #f07a16; }
.hero-brand-title { display:grid; width:fit-content; margin:0; line-height:.84; letter-spacing:-.055em; font-weight:950; }
.hero-brand-top { font-size:clamp(4.2rem,8vw,8.1rem); color:#fff; }
.hero-brand-bottom { font-size:clamp(3.35rem,6.8vw,6.9rem); color:#f07a16; white-space:nowrap; }
.hero-tagline { margin:26px 0 0; color:rgba(255,255,255,.92); font-weight:900; letter-spacing:.17em; font-size:clamp(.9rem,1.4vw,1.15rem); }
.hero-lead, .hero-points { color:rgba(255,255,255,.76); }
.hero-points li::before { color:#f07a16; }
.button-primary { background:#f07a16; color:#fff; box-shadow:0 10px 28px rgba(240,122,22,.25); }
.button-primary:hover { background:#c95a06; }
.button-secondary { border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.06); color:#fff; }

.portrait-frame { border:1px solid rgba(255,255,255,.14); box-shadow:0 24px 70px rgba(0,0,0,.28); }
.portrait-frame img { object-position:50% 34%; }
.floating-card { background:#f07a16; color:#fff; }
.floating-label { color:rgba(255,255,255,.82); }

.trust-strip { background:#fff; color:#06284a; border-bottom:1px solid rgba(6,40,74,.11); }
.trust-grid > div { border-color:rgba(6,40,74,.11); }
.trust-grid strong { color:#f07a16; }
.service-card { border-color:rgba(6,40,74,.11); }
.service-card:hover { border-color:rgba(240,122,22,.4); }
.icon-box { background:#06284a; color:#f07a16; }
.service-card a { color:#c95a06; }
.steps > li > span { background:#fff0e3; color:#c95a06; border-color:rgba(240,122,22,.22); }
.section-dark { background:#041b33; }
.section-dark .eyebrow, .text-link { color:#f07a16; }

.contact-card { background:#06284a; color:#fff; }
.contact-card .eyebrow { color:#f07a16; }
.contact-card > div > p:last-child { color:#c8d8e7; }
.contact-options { display:grid; gap:12px; }
.contact-option {
  padding:18px 20px; border-radius:18px; display:grid; gap:3px;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.13); color:#fff;
  transition:transform .2s ease, background .2s ease;
}
.contact-option:hover { transform:translateY(-2px); background:rgba(255,255,255,.13); }
.contact-option-primary { background:#f07a16; border-color:transparent; }
.contact-option-primary:hover { background:#c95a06; }
.contact-kicker { text-transform:uppercase; letter-spacing:.13em; font-size:.70rem; font-weight:900; opacity:.82; }
.contact-option strong { font-size:1.06rem; overflow-wrap:anywhere; }
.contact-option > span:last-child { font-size:.86rem; opacity:.86; }

.site-footer { background:#031526; color:#fff; border-top:0; }
.site-footer p { color:#9fb4c7; }
.footer-brand span { color:#f07a16; }
.footer-links a:hover { color:#f07a16; }

@media (max-width:560px) {
  .hero-brand-top { font-size:clamp(3.45rem,17vw,5.2rem); }
  .hero-brand-bottom { font-size:clamp(2.8rem,13.5vw,4.25rem); }
  .hero-tagline { letter-spacing:.12em; }
}
