:root {
  --navy: #2d5578;
  --navy-deep: #12203b;
  --gold: #b08d3e;
  --gold-soft: #c9a961;
  --paper: #f7f4ec;
  --ink: #303746;
  --muted: #5a6270;
  --line: #ddd6c6;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 3px solid var(--gold);
}
.bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1rem;
  line-height: 1.35;
}
.wordmark small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.24em;
  font-size: 0.56rem;
  color: var(--gold-soft);
  margin-top: 2px;
  text-transform: uppercase;
}

.hero {
  background: linear-gradient(
    160deg,
    var(--navy) 0%,
    var(--navy-deep) 100%
  );
  color: #fff;
  padding: 72px 24px 84px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.18;
}
.hero p.lead {
  margin-top: 20px;
  font-size: 1.05rem;
  color: #d8dce6;
  max-width: 34rem;
}
.seal {
  justify-self: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(176, 141, 62, 0.16),
    transparent 70%
  );
}
.seal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(176, 141, 62, 0.55);
  border-radius: 50%;
}
.seal .pct {
  font-family: "Playfair Display", serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}
.seal .pct sup {
  font-size: 1.4rem;
  vertical-align: 38%;
}
.seal .lbl {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e7e2d3;
  margin-top: 8px;
  max-width: 160px;
  line-height: 1.5;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 56px 0;
}
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 10px;
}

a {
  color: var(--gold);
  text-decoration: none;
}

.sub {
  color: var(--muted);
  max-width: 46rem;
  margin-bottom: 36px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 26px 26px 24px;
}
.card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.card .who {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.card ul {
  list-style: none;
}
.card li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.94rem;
}
.card li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 700;
}

.notarial {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  padding: 34px 38px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.notarial .mark {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}
.notarial h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.notarial p {
  font-size: 0.96rem;
  color: var(--ink);
}

.offer {
  background: var(--navy);
  color: #fff;
  padding: 46px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 3px solid var(--gold);
}
.offer div h3 {
  font-family: "Playfair Display", serif;
  color: var(--gold-soft);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.offer div p {
  font-size: 0.92rem;
  color: #d8dce6;
}

.contact {
  text-align: center;
}
.cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--gold);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 15px 34px;
  border-radius: 2px;
  border-radius: 30px 30px 30px 0px;
}
.cta:hover {
  background: var(--gold-soft);
}
.cta:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.contact .details {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

footer {
  background: var(--navy-deep);
  color: #b9c0ce;
  font-size: 0.8rem;
  padding: 26px 24px;
  text-align: center;
  margin-top: 40px;
  line-height: 1.8;
}
footer strong {
  color: #fff;
}

footer a {
  color:#fff;
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .seal {
    margin-top: 8px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .offer {
    grid-template-columns: 1fr;
    padding: 36px 26px;
  }
  .notarial {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .card {
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease;
  }
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(27, 42, 74, 0.1);
  }
}
