/* Verid · borrador web. Sistema tomado de "VERID – Presentación de enfoque" (abr 2026):
   piedra cálida, tarjetas claras, cajas carbón, acento topo; Oranienbaum para títulos. */
:root {
  --stone: #f5f3ef;      /* fondo */
  --card: #fbfaf8;       /* tarjetas */
  --ink: #3d3d3d;        /* texto */
  --coal: #4a4a4a;       /* cajas oscuras */
  --taupe: #8c7b6c;      /* acento */
  --taupe-soft: #b1a59a;
  --muted: #858483;
  --line: #dedbd5;
  --display: "Oranienbaum", "Didot", Georgia, serif;
  --lead: "Sorts Mill Goudy", Georgia, serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--taupe); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }
strong { font-weight: 500; }

.draft {
  background: var(--coal);
  color: #e9e6e1;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
  padding: 7px 16px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

header.site { background: var(--stone); border-bottom: 1px solid var(--line); }
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
}
.brand img { height: 34px; width: auto; }
nav.main { display: flex; gap: 26px; flex-wrap: wrap; }
nav.main a {
  color: var(--ink); text-decoration: none; font-size: 14px; letter-spacing: .03em;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--taupe); color: var(--taupe); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; line-height: 1.12; margin: 0; color: var(--ink); }
h1 { font-size: clamp(44px, 6.6vw, 78px); }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 23px; }
p { margin: 0; }

/* Etiqueta con filete, como en la presentación */
.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .24em; color: var(--muted); margin-bottom: 18px;
}
.label::before { content: ""; width: 34px; height: 1px; background: var(--taupe); }
.light .label { color: #d9d4cc; }
.light .label::before { background: var(--taupe-soft); }

.lead { font-family: var(--lead); font-size: 22px; line-height: 1.55; color: var(--ink); max-width: 32em; }
.lead em, .accent { color: var(--taupe); font-style: normal; }

/* Portada con fotografía */
.hero-photo {
  position: relative; color: #f1eee9;
  background: #2f2d2a url("img/sala.jpg") center / cover no-repeat;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,28,26,.86) 0%, rgba(30,28,26,.62) 48%, rgba(30,28,26,.18) 100%);
}
.hero-photo .wrap { position: relative; padding-top: 110px; padding-bottom: 96px; }
.hero-photo .kicker { font-size: 14px; letter-spacing: .32em; color: #e3ded6; }
.hero-photo h1 { color: #f6f3ee; margin-top: 28px; }
.hero-photo .rule { width: 80px; height: 1px; background: var(--taupe-soft); margin: 34px 0; }
.hero-photo .lead { color: #ece8e2; }
.hero-photo .place { margin-top: 40px; font-size: 13px; letter-spacing: .2em; color: #cfc9c0; }

.hero { padding: 96px 0 72px; }
.hero .lead { margin-top: 28px; }

.btn {
  display: inline-block; margin-top: 36px; padding: 14px 28px;
  background: var(--coal); color: #f5f3ef; text-decoration: none; border: 0;
  font: 400 14px/1 var(--body); letter-spacing: .08em; cursor: pointer;
}
.btn:hover { background: var(--taupe); }
.btn.on-dark { background: transparent; border: 1px solid #d9d4cc; color: #f5f3ef; }
.btn.on-dark:hover { background: #f5f3ef; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--stone); }

section.block { padding: 88px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.stack { display: grid; gap: 22px; }
.stack p { max-width: 40em; }
.muted { color: var(--muted); }

/* Caja carbón */
.coalbox { background: var(--coal); color: #ece9e4; padding: 34px 36px; display: grid; gap: 16px; }
.coalbox p { font-size: 16px; }
.coalbox .sig { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--taupe-soft); }
.coalbox .sig::before { content: ""; width: 26px; height: 1px; background: var(--taupe-soft); }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.split.even { grid-template-columns: 1fr 1fr; }

/* Tarjetas */
.cards { display: grid; gap: 22px; margin-top: 44px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); padding: 30px; display: grid; gap: 14px; align-content: start; }
.card h3 { font-size: 22px; }
.card p { font-size: 15px; color: var(--ink); }
.card .foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.card .q { font-family: var(--lead); font-size: 18px; color: var(--taupe); }
.num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--taupe); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-size: 17px;
}
.num.dark { background: var(--coal); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: #f1efeb; font-size: 13px; padding: 6px 10px; }

/* Caminos */
.path { background: var(--card); padding: 34px; display: grid; gap: 18px; align-content: start; }
.path .head { display: flex; gap: 14px; align-items: center; }
.path .sub { color: var(--muted); font-size: 14px; }
.path .item { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.path .item h3 { font-size: 22px; }
.path .item p { font-size: 15px; }
.path .item a { font-size: 14px; margin-top: 6px; }

/* Equipo */
.person { background: var(--card); padding: 30px; display: grid; gap: 16px; align-content: start; }
.person .who { display: flex; gap: 16px; align-items: center; }
.person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.person h3 { font-size: 21px; }
.person .role { font-size: 13px; color: var(--taupe); }
.person p { font-size: 15px; }
.person .foot { padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.steps li { background: var(--card); padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 14px; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.facts div { background: var(--card); padding: 24px; }
.facts .big { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--taupe); font-variant-numeric: tabular-nums; }
.facts p { font-size: 14px; color: var(--muted); margin-top: 10px; }

.compare { width: 100%; border-collapse: collapse; margin-top: 44px; font-size: 15px; background: var(--card); }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.compare td:first-child { color: var(--muted); }
.table-scroll { overflow-x: auto; }

.quote-band { padding: 104px 0; text-align: center; }
.quote-band h2 { max-width: 16em; margin: 0 auto; }
.quote-band .rule { width: 64px; height: 1px; background: var(--taupe); margin: 30px auto; }
.quote-band .lead { margin: 0 auto; }

.photo-band {
  position: relative; text-align: center; color: #fff;
  background: #6f9a86 url("img/custodio.jpg") center / cover no-repeat;
}
.photo-band::before { content: ""; position: absolute; inset: 0; background: rgba(40,48,44,.38); }
.photo-band .wrap { position: relative; padding-top: 120px; padding-bottom: 120px; }
.photo-band h2, .photo-band h1 { color: #fbfaf8; }
.photo-band .rule { width: 64px; height: 1px; background: rgba(255,255,255,.7); margin: 28px auto; }
.photo-band .lead { color: #f3f1ec; margin: 0 auto; }

.figure img { width: 100%; height: auto; }

.contact { display: grid; gap: 16px; max-width: 540px; margin-top: 32px; }
.contact label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; letter-spacing: .02em; }
.contact input, .contact textarea {
  font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: 12px 14px;
}
.contact textarea { min-height: 130px; resize: vertical; }
.note { font-size: 13px; color: var(--muted); }
.pending { background: #f3e6c4; color: var(--ink); padding: 0 4px; }

footer.site { border-top: 1px solid var(--line); padding: 44px 0 60px; font-size: 13px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer.site img { height: 26px; width: auto; }

@media (max-width: 860px) {
  .split, .split.even, .cards.three, .cards.two, .facts { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  section.block { padding: 60px 0; }
  .hero-photo .wrap { padding-top: 72px; padding-bottom: 64px; }
  .hero-photo::before { background: rgba(30,28,26,.72); }
  .hero { padding: 60px 0 48px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Clientes */
.clients { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; }
.client { background: #fff; width: 260px; height: 150px; display: grid; place-items: center; padding: 28px; }
.client img { max-height: 92px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.client:hover img { filter: none; opacity: 1; }

/* Contacto directo */
.channels { display: grid; gap: 10px; margin-top: 8px; }
.channels .btn { justify-self: start; margin-bottom: 14px; }
.foot-contact { display: grid; gap: 2px; }
.foot-contact a { color: var(--muted); text-decoration: none; }
.foot-contact a:hover { color: var(--taupe); }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  background: var(--coal); color: #f5f3ef; text-decoration: none;
  font: 400 14px/1 var(--body); letter-spacing: .06em;
  box-shadow: 0 6px 22px rgba(30,28,26,.28);
  transition: background .2s, transform .2s;
}
.wa-float:hover { background: var(--taupe); transform: translateY(-2px); }
footer.site { padding-bottom: 96px; }
@media (max-width: 520px) {
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float:hover { transform: none; } }
