/* ============================================================
   Doldán Propiedades
   Sin frameworks, sin fuentes externas: solo system fonts.
   Marca: naranja #F96A05 (decorativo) · #BA4E04 (texto/links, AA)
          negro #12100E
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #faf5ef;
  --ink: #12100e;
  --ink-soft: #5d574f;
  --brand: #f96a05;
  --accent: #ba4e04;
  --rule: #e9e3da;
  --scope-bg: #faeee2;
  --footer-ink: #cfc9c2;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.container {
  max-width: 66rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Header ---- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding-block: 0.95rem;
}

.wordmark {
  display: block;
  flex-shrink: 0;
}

.wordmark img {
  display: block;
  height: 2.4rem;
  width: auto;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.site-header nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent);
}

/* ---- Hero ---- */

.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  padding-block: 3.5rem 4rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 44rem;
  margin-bottom: 1.2rem;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 40rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* ---- Botones ---- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--ink);
}

.btn-primary:hover {
  background: #e05f04;
}

.btn-secondary {
  border: 2px solid var(--rule);
  color: var(--ink);
  background: var(--bg);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--accent);
}

/* ---- Secciones ---- */

.section {
  padding-block: 3.5rem;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--rule);
}

.section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
}

.section-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 1.4rem 0 0;
}

/* ---- Cards ---- */

.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 46rem) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.5rem 1.6rem;
}

.card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.brand-card p {
  margin-bottom: 0.9rem;
}

.card-link {
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---- Contacto ---- */

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 46rem) {
  .contact-grid {
    grid-template-columns: minmax(16rem, 1fr) 1.4fr;
    align-items: start;
  }
}

.detalle {
  margin: 0;
}

.detalle dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 1rem;
}

.detalle dt:first-child {
  padding-top: 0;
}

.detalle dd {
  margin: 0.15rem 0 0.9rem;
}

.map {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--ink);
  color: var(--footer-ink);
  padding-block: 3rem 1.8rem;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.2rem;
}

@media (min-width: 46rem) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand img {
  display: block;
  height: 2.1rem;
  width: auto;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  max-width: 22rem;
}

.site-footer h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: var(--footer-ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:focus-visible {
  outline-color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* ============================================================
   Política de Privacidad (main.prose): lectura larga, una columna
   ============================================================ */

.prose {
  max-width: 42rem;
  margin-inline: auto;
  padding: 2.8rem 1.25rem 3.5rem;
}

.prose h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.6rem 0 0.7rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.25rem;
}

.prose li::marker {
  color: var(--ink-soft);
}

.updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.scope {
  background: var(--scope-bg);
  border-left: 3px solid var(--brand);
  border-radius: 0 4px 4px 0;
  padding: 0.85rem 1.1rem;
  margin: 1.4rem 0 0;
}

.prose .detalle {
  border-top: 1px solid var(--rule);
}

.prose .detalle dt:first-child {
  padding-top: 1rem;
}
