/* Páginas secundarias de DigiFinca (legal, soporte). Misma paleta que la portada. */
:root {
  --crema: #F6F3EA;
  --papel: #FFFFFF;
  --arena: #ECE6D6;
  --bosque: #0F2B22;
  --texto-2: #3D5649;
  --gris: #66786E;
  --verde: #3DBB4F;
  --verde-hover: #36A946;
  --hoja: #1E7A3A;
  --brote: #E2F0DA;
  --sol: #F5A623;
  --sol-suave: #FDEBC8;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--bosque);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--hoja); text-underline-offset: 3px; }
a:hover { color: var(--bosque); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.cabecera { border-bottom: 1px solid var(--arena); background: var(--crema); }
.cabecera .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bosque); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; }
.marca img { width: 38px; height: 38px; border-radius: 10px; }
.marca b { color: var(--verde); font-weight: 700; }
.volver { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--bosque); padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgb(15 43 34 / 18%); }
.volver:hover { background: var(--papel); color: var(--bosque); }

.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.doc .antetitulo { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hoja); margin: 0 0 12px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.035em; margin: 0; }
.doc .fecha { color: var(--gris); font-size: 16px; margin: 14px 0 0; }
.doc .resumen { background: var(--brote); border-radius: 20px; padding: 22px 24px; margin: 32px 0 8px; }
.doc .resumen p { margin: 0; }
.doc .resumen ul { margin: 10px 0 0; padding-left: 20px; }
.doc h2 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 10px; }
.doc h3 { font-size: 20px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--texto-2); }
.doc strong { color: var(--bosque); font-weight: 600; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16.5px; background: var(--papel); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--arena); }
.doc th { color: var(--bosque); font-weight: 600; background: #FBFAF5; }
.doc tr:last-child td { border-bottom: 0; }
.tabla-scroll { overflow-x: auto; }
.ficha-datos { background: var(--papel); border: 1px solid var(--arena); border-radius: 20px; padding: 8px 24px; margin: 20px 0; }
.ficha-datos dl { display: grid; grid-template-columns: max-content 1fr; gap: 0 20px; margin: 0; }
.ficha-datos dt, .ficha-datos dd { padding: 12px 0; border-bottom: 1px solid var(--arena); margin: 0; }
.ficha-datos dt { font-weight: 600; }
.ficha-datos dd { color: var(--texto-2); }
.ficha-datos dl > :nth-last-child(-n+2) { border-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 18px; text-decoration: none;
  background: var(--verde); color: var(--bosque);
  box-shadow: 0 8px 20px -8px rgb(61 187 79 / 70%), inset 0 -2px 0 rgb(0 0 0 / 10%);
}
.btn:hover { background: var(--verde-hover); color: var(--bosque); }
.btn svg { width: 20px; height: 20px; }
.pasos { list-style: none; padding: 0; counter-reset: p; display: grid; gap: 14px; margin: 24px 0; }
.pasos li { counter-increment: p; background: var(--papel); border: 1px solid var(--arena); border-radius: 20px; padding: 20px 22px 20px 74px; position: relative; margin: 0; }
.pasos li::before { content: counter(p); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--bosque); color: #fff; display: grid; place-items: center; font-weight: 700; }
.pasos li strong { display: block; font-size: 19px; margin-bottom: 2px; }
.aviso { background: var(--sol-suave); border-radius: 18px; padding: 18px 22px; margin: 24px 0; }
.aviso p { margin: 0; color: var(--bosque); }
.contacto { background: var(--bosque); color: #E8F1EA; border-radius: 28px; padding: 32px; margin: 32px 0; }
.contacto h2 { color: #fff; margin-top: 0; }
.contacto p { color: #B9CCBF; }
.contacto a.correo { color: #9FE0A6; font-weight: 600; font-size: 22px; }

.pie { color: var(--gris); font-size: 16px; padding: 0 0 48px; }
.pie .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; border-top: 1px solid var(--arena); padding-top: 28px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pie a { color: var(--gris); text-decoration: none; }
.pie a:hover, .pie a[aria-current] { color: var(--bosque); text-decoration: underline; }

@media (max-width: 720px) {
  body { font-size: 17.5px; }
  .wrap { padding: 0 16px; }
  .cabecera .wrap { height: 64px; }
  .doc { padding: 40px 16px 72px; }
  .doc h2 { font-size: 23px; }
  .ficha-datos { padding: 4px 18px; }
  .ficha-datos dl { grid-template-columns: 1fr; }
  .ficha-datos dt { border-bottom: 0; padding-bottom: 0; }
  .ficha-datos dl > dt:nth-last-child(2) { border-bottom: 0; }
  .contacto { padding: 26px 22px; }
  .btn { width: 100%; }
  .pasos li { padding-left: 66px; }
  .pasos li::before { left: 16px; }
}
