:root {
  --ink: #151a22;
  --muted: #667080;
  --paper: #f4f1eb;
  --paper-2: #ebe5da;
  --white: #ffffff;
  --line: rgba(22, 28, 38, 0.12);
  --navy: #0b1d33;
  --navy-2: #112b48;
  --gold: #b9945b;
  --gold-2: #8f6931;
  --green: #128c4a;
  --shadow: 0 24px 80px rgba(11, 29, 51, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 26, 34, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 34, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(244, 241, 235, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent),
    var(--navy);
  border: 1px solid rgba(185, 148, 91, 0.45);
  border-radius: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-copy strong {
  display: block;
  color: var(--navy);
  line-height: 1.1;
}

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

.nav {
  display: flex;
  gap: 24px;
  color: #475366;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a,
.header-phone {
  transition: color 160ms ease;
}

.nav a:hover,
.header-phone:hover {
  color: var(--gold-2);
}

.header-phone {
  color: var(--navy);
  font-weight: 800;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(7, 18, 33, 0.96) 0%, rgba(11, 29, 51, 0.92) 46%, rgba(17, 43, 72, 0.72) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1500' height='980' viewBox='0 0 1500 980'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%23112b48'/%3E%3Cstop offset='1' stop-color='%23071121'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1500' height='980' fill='url(%23g)'/%3E%3Cg fill='none' stroke='%23b9945b' stroke-opacity='.2' stroke-width='2'%3E%3Cpath d='M1170 180v580M1040 760h260M1090 760V360h160v400M1110 360l60-90 60 90M250 760h520M310 760V310h400v450M250 310h520M340 310l170-120 170 120M390 760V420h230v340'/%3E%3Cpath d='M0 820h1500M0 900h1500' stroke-opacity='.08'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
  max-width: var(--max);
  min-height: 710px;
  padding: clamp(58px, 9vw, 118px) clamp(18px, 4vw, 40px) 42px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.05rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.06rem;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn.primary {
  color: #111827;
  background: linear-gradient(180deg, #d6b77e, var(--gold));
  box-shadow: 0 14px 38px rgba(185, 148, 91, 0.28);
}

.btn.primary:hover {
  background: linear-gradient(180deg, #e0c38d, #a87f45);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.outline-dark {
  color: var(--navy);
  border-color: rgba(11, 29, 51, 0.22);
  background: rgba(255, 255, 255, 0.18);
}

.case-card {
  padding: 22px;
  color: var(--navy);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 246, 240, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.case-card-image {
  display: block;
  width: 100%;
  height: 210px;
  margin-bottom: 20px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  filter: contrast(1.04) saturate(0.94) brightness(1.02);
}

.case-card-top {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.case-card-top span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card-top strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.1;
}

dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.case-card dl div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  align-items: start;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px) clamp(22px, 4vw, 42px);
}

.trust-strip span {
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
}

.trust-strip span:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.section,
.method,
.local-block {
  padding: clamp(58px, 9vw, 104px) clamp(18px, 5vw, 72px);
}

.section > *,
.method > *,
.local-block > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 82px);
  background: linear-gradient(180deg, var(--paper), #faf8f4);
}

.intro > * {
  max-width: none;
}

.intro-copy {
  align-self: end;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.practice {
  background: #faf8f4;
}

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

.practice-grid article {
  min-height: 245px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(11, 29, 51, 0.055);
}

.practice-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.practice-grid p,
.steps p,
.faq p,
.form-note,
.contact-copy p,
.local-block p,
.method-copy p {
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
  color: var(--white);
  background: linear-gradient(120deg, rgba(11, 29, 51, 0.98), rgba(17, 43, 72, 0.94));
}

.method > * {
  max-width: none;
}

.method h2,
.method h3 {
  color: var(--white);
}

.steps {
  display: grid;
  gap: 12px;
}

.steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.steps strong {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
}

.steps h3 {
  margin-bottom: 4px;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.local-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: var(--paper-2);
}

.local-block > * {
  max-width: none;
}

.local-block div {
  max-width: 760px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  background: #faf8f4;
}

.contact-section > * {
  max-width: none;
}

.contact-copy {
  align-self: start;
}

address {
  padding-top: 20px;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-style: normal;
  font-weight: 800;
}

.inline-map {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-2);
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  color: var(--ink);
  background: #fbfaf8;
  border: 1px solid rgba(21, 26, 34, 0.16);
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(185, 148, 91, 0.2);
}

.contact-form .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0;
}

.faq details {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 12px 0 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 18, 33, 0.96), rgba(11, 29, 51, 0.88)),
    url("assets/oficina-hero.jpg");
  background-position: center;
  background-size: cover;
}

.final-cta > * {
  max-width: var(--max);
}

.final-cta h2 {
  max-width: 760px;
  color: var(--white);
}

.final-cta p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.final-cta-actions {
  display: flex;
  gap: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.9fr) auto;
  gap: 28px;
  align-items: start;
  padding: 36px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #06111f;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-contact {
  padding-top: 0;
  color: rgba(255, 255, 255, 0.74);
  border-top: 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.footer-contact a {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 52px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(18, 140, 74, 0.34);
  font-weight: 900;
}

.mobile-cta {
  display: none;
}

@media (max-width: 940px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .intro,
  .method,
  .local-block,
  .contact-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 54px;
  }

  .case-card {
    max-width: 520px;
  }

  .trust-strip,
  .practice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .local-block .btn {
    justify-self: start;
  }

  .final-cta-actions {
    justify-self: start;
  }

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

@media (max-width: 620px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy small,
  .header-phone {
    display: none;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(2.35rem, 12.2vw, 3.2rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    line-height: 1.04;
  }

  .hero-inner {
    gap: 24px;
    padding: 36px 18px 24px;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    min-height: 48px;
    padding: 12px 16px;
    width: 100%;
    font-size: 0.94rem;
  }

  .case-card {
    padding: 14px;
    border-radius: 8px;
  }

  .case-card-image {
    height: 138px;
    margin-bottom: 16px;
  }

  .case-card-top {
    padding-bottom: 14px;
  }

  .case-card-top strong {
    font-size: 1.28rem;
  }

  .case-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 0 18px 24px;
  }

  .trust-strip span,
  .trust-strip span:first-child {
    padding: 12px 0;
    border-right: 0;
    border-left: 0;
    font-size: 0.86rem;
  }

  .section,
  .method,
  .local-block,
  .final-cta {
    padding: 48px 18px;
  }

  .intro-copy,
  .contact-copy p,
  .local-block p,
  .method-copy p {
    font-size: 1rem;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .practice-grid article {
    min-height: 0;
    padding: 20px;
  }

  .practice-grid span {
    margin-bottom: 14px;
    font-size: 1.1rem;
  }

  .steps article {
    grid-template-columns: 38px 1fr;
    padding: 18px;
  }

  .steps strong {
    width: 36px;
    height: 36px;
  }

  .contact-section {
    gap: 24px;
  }

  address {
    padding-top: 16px;
    font-size: 0.95rem;
  }

  .contact-form {
    gap: 13px;
    padding: 18px;
    box-shadow: 0 16px 46px rgba(11, 29, 51, 0.12);
  }

  label {
    font-size: 0.86rem;
  }

  input,
  select,
  textarea {
    padding: 12px;
    font-size: 1rem;
  }

  textarea {
    min-height: 120px;
  }

  .faq details {
    padding: 17px 18px;
  }

  .final-cta {
    gap: 22px;
    background-position: center;
  }

  .final-cta p:not(.eyebrow) {
    font-size: 1rem;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-footer {
    gap: 22px;
    padding: 30px 18px 34px;
  }

  .footer-contact {
    font-size: 0.9rem;
  }

  .final-cta-actions {
    display: grid;
    width: 100%;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8px;
    padding: 7px;
    background: rgba(244, 241, 235, 0.92);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(11, 29, 51, 0.22);
    backdrop-filter: blur(14px);
  }

  .mobile-cta a {
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 900;
  }

  .mobile-cta a:first-child {
    color: var(--navy);
    background: var(--white);
  }

  .mobile-cta a:last-child {
    color: var(--white);
    background: var(--green);
  }
}
