:root {
  color-scheme: light;
  --reforma-navy: #0e1e3a;
  --reforma-navy-soft: #263a59;
  --reforma-gold: #c7a75b;
  --reforma-gold-deep: #987a35;
  --reforma-ivory: #f4efe3;
  --reforma-paper: #fffdf8;
  --reforma-ink: #263143;
  --reforma-muted: #5b6573;
  --reforma-line: #e4ddcf;
  --reforma-shadow: 0 18px 48px rgb(14 30 58 / 8%);
  --font-reading: "Montserrat", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--reforma-ivory);
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  color: var(--reforma-ink);
  background: var(--reforma-paper);
  font-family: var(--font-reading);
  font-size: 18px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--reforma-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

a:hover {
  color: var(--reforma-gold-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--reforma-gold);
  outline-offset: 4px;
}

.blog-skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  color: var(--reforma-paper);
  background: var(--reforma-navy);
  border-radius: 3px;
}

.blog-skip-link:focus {
  transform: translateY(0);
}

.blog-header {
  position: relative;
  z-index: 2;
  color: var(--reforma-paper);
  background: var(--reforma-navy);
  border-bottom: 3px solid var(--reforma-gold);
}

.blog-header__inner {
  width: min(100% - 2rem, 1180px);
  min-height: 96px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.blog-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.blog-brand img {
  width: auto;
  height: 96px;
  object-fit: contain;
  object-position: left center;
}

.blog-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.15rem;
}

.blog-nav a {
  color: rgb(255 253 248 / 88%);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.blog-nav a:hover,
.blog-nav a:focus-visible {
  color: #e8d49e;
}

.blog-nav__contact {
  padding: 0.58rem 0.85rem;
  border: 1px solid rgb(199 167 91 / 65%);
  border-radius: 2px;
}

.blog-nav__contact:hover {
  color: var(--reforma-navy) !important;
  background: var(--reforma-gold);
}

.blog-main {
  min-height: 58vh;
  padding: 1.35rem 1rem 4.5rem;
  background:
    linear-gradient(90deg, rgb(244 239 227 / 45%), transparent 18%, transparent 82%, rgb(244 239 227 / 45%)),
    var(--reforma-paper);
}

.blog-breadcrumbs {
  width: min(100%, 1120px);
  margin: 0 auto 1.7rem;
  color: var(--reforma-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.blog-breadcrumbs a {
  color: var(--reforma-navy-soft);
  font-weight: 600;
}

.blog-breadcrumbs [aria-current="page"] {
  color: var(--reforma-muted);
}

.post {
  width: min(100%, 710px);
  margin-inline: auto;
  color: var(--reforma-ink);
  font-size: 1rem;
  line-height: 1.86;
  overflow-wrap: anywhere;
}

.post-header {
  position: relative;
  margin: 0 0 1.3rem;
  padding: 1rem 0 1.45rem;
  border-bottom: 1px solid var(--reforma-line);
}

.post-header::before {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-bottom: 1.15rem;
  background: var(--reforma-gold);
  content: "";
}

.post-title,
.blog-list-header h1 {
  margin: 0;
  color: var(--reforma-navy);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.16;
  text-wrap: balance;
}

.post > p {
  margin: 0 0 1.45rem;
}

.post h2 {
  margin: 2.9rem 0 1rem;
  padding-top: 0.25rem;
  color: var(--reforma-navy);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.post h3 {
  color: var(--reforma-navy);
  font-family: var(--font-heading);
  line-height: 1.35;
}

.post strong {
  color: var(--reforma-navy);
  font-weight: 700;
}

.post ul,
.post ol {
  margin: 0 0 1.6rem;
  padding-left: 1.5rem;
}

.post li {
  padding-left: 0.25rem;
  margin: 0.55rem 0;
}

.post li::marker {
  color: var(--reforma-gold-deep);
  font-weight: 700;
}

.post-note {
  margin-top: 2.5rem !important;
  padding: 1rem 1.1rem;
  color: #5c5b55;
  background: var(--reforma-ivory);
  border-left: 3px solid var(--reforma-gold);
  font-size: 0.86rem;
  line-height: 1.7;
}

.post-image {
  width: 100%;
  height: auto;
  max-height: 460px;
  margin: 1.5rem auto 2.2rem;
  object-fit: cover;
  aspect-ratio: 1200 / 630;
  border-radius: 3px;
  background: var(--reforma-ivory);
}

.checklist-cta {
  margin: 3.25rem 0;
  padding: clamp(1.25rem, 5vw, 2rem);
  color: var(--reforma-paper);
  background: var(--reforma-navy);
  border: 1px solid var(--reforma-gold);
  border-top-width: 5px;
  box-shadow: var(--reforma-shadow);
}

.checklist-cta__title {
  margin: 0 0 0.7rem !important;
  color: var(--reforma-paper) !important;
  font-size: clamp(1.55rem, 5vw, 2rem) !important;
}

.checklist-cta__text {
  margin: 0 0 1.5rem !important;
  color: rgb(255 253 248 / 86%);
  font-size: 0.95rem;
  line-height: 1.75;
}

.checklist-form {
  display: grid;
  gap: 1rem;
}

.checklist-form__field {
  display: grid;
  gap: 0.4rem;
}

.checklist-form__field label {
  color: var(--reforma-paper);
  font-size: 0.9rem;
  font-weight: 600;
}

.checklist-form__field input {
  width: 100%;
  min-height: 56px;
  padding: 0.8rem 0.9rem;
  color: var(--reforma-ink);
  background: var(--reforma-paper);
  border: 2px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-size: 1rem;
}

.checklist-form__field input::placeholder {
  color: #777c83;
  opacity: 1;
}

.checklist-form__field input:focus {
  border-color: var(--reforma-gold);
}

.checklist-form__button,
.checklist-form button,
.button {
  min-height: 58px;
  width: 100%;
  padding: 0.85rem 1.2rem;
  color: var(--reforma-navy);
  background: var(--reforma-gold);
  border: 2px solid var(--reforma-gold);
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.checklist-form__button:hover,
.checklist-form button:hover,
.button:hover {
  color: var(--reforma-paper);
  background: var(--reforma-gold-deep);
  border-color: var(--reforma-gold-deep);
}

.checklist-form__status,
.status {
  min-height: 1.5em;
  margin: 0;
  color: var(--reforma-paper);
  font-size: 0.9rem;
  line-height: 1.55;
}

.checklist-form__privacy {
  margin: 0.25rem 0 0;
  color: rgb(255 253 248 / 74%);
  font-size: 0.76rem;
  line-height: 1.55;
}

.checklist-form__privacy a {
  color: #e8d49e;
}

.post .checklist-form__download,
.post .checklist-form__download:hover {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  color: var(--reforma-navy);
  background: var(--reforma-gold);
  font-weight: 700;
  text-decoration: underline;
}

.checklist-form button:disabled {
  cursor: default;
  opacity: 0.8;
}

.checklist-form__hp,
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.faq {
  margin: 3.5rem 0 3rem;
}

.faq > h2 {
  margin-top: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--reforma-line);
}

.faq__item {
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--reforma-line);
}

.faq__question,
.question {
  margin: 0 0 0.45rem;
  color: var(--reforma-navy);
  font-family: var(--font-reading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq__answer,
.answer {
  margin: 0;
  color: var(--reforma-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.blog-list-header {
  width: min(100%, 1120px);
  margin: 0 auto 2rem;
  padding: 1rem 0 1.5rem;
  border-bottom: 1px solid var(--reforma-line);
}

.blog-list-header::before {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-bottom: 1.1rem;
  background: var(--reforma-gold);
  content: "";
}

.blog-list-header h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
}

.blog-list-header p {
  max-width: 680px;
  margin: 0.9rem 0 0;
  color: var(--reforma-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.blog-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.blog-card {
  min-width: 0;
  overflow: hidden;
  background: var(--reforma-paper);
  border: 1px solid var(--reforma-line);
  box-shadow: 0 8px 24px rgb(14 30 58 / 5%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgb(199 167 91 / 75%);
  box-shadow: var(--reforma-shadow);
}

.blog-card > a:first-child {
  display: block;
  overflow: hidden;
  background: var(--reforma-ivory);
}

.blog-card > a:first-child img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  transition: transform 220ms ease;
}

.blog-card:hover > a:first-child img {
  transform: scale(1.025);
}

.blog-card h2 {
  margin: 1.1rem 1.2rem 0.45rem;
  color: var(--reforma-navy);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
}

.blog-card p {
  margin: 0 1.2rem 0.85rem;
  color: var(--reforma-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 1.2rem 1.2rem;
  color: var(--reforma-navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.blog-card__link::after {
  content: "→";
  color: var(--reforma-gold-deep);
  transition: transform 160ms ease;
}

.blog-card:hover .blog-card__link::after {
  transform: translateX(3px);
}

.blog-footer {
  color: rgb(255 253 248 / 82%);
  background: var(--reforma-navy);
  border-top: 3px solid var(--reforma-gold);
}

.blog-footer__inner {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  padding: 2.2rem 0 1.2rem;
}

.blog-footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
}

.blog-footer__title {
  margin: 0 0 0.25rem;
  color: var(--reforma-paper);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.blog-footer__copy {
  margin: 0;
  color: rgb(255 253 248 / 70%);
  font-size: 0.84rem;
  line-height: 1.6;
}

.blog-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.blog-footer__links a {
  color: rgb(255 253 248 / 82%);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.blog-footer__links a:hover {
  color: #e8d49e;
}

.blog-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.blog-footer__action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  color: var(--reforma-paper);
  border: 1px solid rgb(255 253 248 / 38%);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.blog-footer__action--whatsapp {
  color: var(--reforma-navy);
  background: var(--reforma-gold);
  border-color: var(--reforma-gold);
}

.blog-footer__action:hover {
  color: var(--reforma-navy);
  background: var(--reforma-paper);
  border-color: var(--reforma-paper);
}

.blog-footer__bottom {
  padding-top: 1rem;
  color: rgb(255 253 248 / 58%);
  border-top: 1px solid rgb(255 253 248 / 16%);
  font-size: 0.76rem;
  line-height: 1.55;
}

@media (min-width: 700px) {
  .blog-main {
    padding: 2rem 1.5rem 5.5rem;
  }

  .blog-breadcrumbs {
    margin-bottom: 2rem;
  }

  .post-header {
    margin-bottom: 1.8rem;
    padding-top: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .blog-footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .blog-header__inner {
    width: min(100% - 1.25rem, 1180px);
    min-height: 0;
    padding: 0.65rem 0 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .blog-brand {
    justify-content: center;
  }

  .blog-brand img {
    width: auto;
    height: 80px;
    object-position: center;
  }

  .blog-nav {
    justify-content: center;
    gap: 0.35rem 0.85rem;
  }

  .blog-nav a {
    padding-block: 0.28rem;
    font-size: 0.78rem;
  }

  .blog-nav__contact {
    padding: 0.3rem 0.5rem !important;
  }

  .blog-main {
    padding-inline: 1rem;
  }

  .post-title {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .post {
    font-size: 1rem;
    line-height: 1.8;
  }

  .post h2 {
    margin-top: 2.35rem;
  }

  .post-image {
    margin-top: 1.1rem;
  }

  .checklist-cta {
    margin-inline: -0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
