/* DREVO — base de marca compartida por Starter y Pro (Elite usa su propia hoja). */
:root {
  --black: #0b0b0b;
  --graphite: #242424;
  --graphite-2: #171717;
  --ivory: #f2efe9;
  --taupe: #b5a38f;
  --bronze: #80674f;
  --muted: rgba(242, 239, 233, 0.66);
  --line: rgba(242, 239, 233, 0.16);
  --line-strong: rgba(242, 239, 233, 0.42);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--black); color: var(--ivory); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
picture { width: 100%; height: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }
::selection { background: var(--taupe); color: var(--black); }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; background: var(--ivory); color: var(--black); font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

/* Tipografía */
.display { font-weight: 800; font-stretch: 112%; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.015em; }
.display-xxl { font-size: clamp(4.2rem, 15vw, 15rem); line-height: 0.8; }
.display-xl { font-size: clamp(3rem, 7.4vw, 8rem); }
.display-lg { font-size: clamp(2.5rem, 5.4vw, 5.6rem); }
.display-md { font-size: clamp(2.1rem, 4vw, 4.2rem); }
.display-sm { font-size: clamp(1.5rem, 2.3vw, 2.3rem); line-height: 1; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--taupe); margin-bottom: 1.3rem; }
.lead { font-size: clamp(1rem, 1.15vw, 1.15rem); color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }
.rule { display: block; width: 56px; height: 1px; background: var(--taupe); margin: 1.8rem 0; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75em; min-height: 52px; padding: 0 1.6em;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid var(--ivory);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: var(--ivory); color: var(--black); }
.btn-solid:hover { background: var(--taupe); border-color: var(--taupe); }
.btn-line:hover { background: var(--ivory); color: var(--black); }
.link-arrow { display: inline-flex; gap: 0.6em; align-items: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.6em 0; border-bottom: 1px solid var(--line-strong); transition: border-color 0.3s; }
.link-arrow:hover { border-color: var(--ivory); }
.tag-demo { display: inline-block; padding: 0.28em 0.55em 0.24em; font-size: 0.62rem; letter-spacing: 0.16em; line-height: 1; font-weight: 600; text-transform: uppercase; border: 1px solid currentColor; opacity: 0.85; }
.demo-note { font-size: 0.82rem; color: var(--muted); display: flex; gap: 0.7em; align-items: baseline; }
.demo-note .tag-demo { flex: none; color: var(--taupe); }

/* Marca */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark, .brand-word { display: block; background: var(--ivory); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.brand-mark { --m: url(../brand/monograma-dv.png); width: 34px; height: 27px; }
.brand-word { --m: url(../brand/wordmark-drevo.png); width: 98px; height: 14px; }

/* Datos de contacto */
.info-list { display: grid; gap: 1.3rem; }
.info-list div { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.info-list dt { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 0.35rem; }
.info-list dd { font-size: 1rem; }

/* Toggle menú móvil (compartido) */
.menu-toggle { display: none; align-items: center; gap: 12px; height: 44px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.menu-toggle-bars { position: relative; width: 26px; height: 10px; }
.menu-toggle-bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle-bars i:first-child { top: 0; }
.menu-toggle-bars i:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:last-child { top: 4px; transform: rotate(-45deg); }

/* Footer compartido */
.b-footer { border-top: 1px solid var(--line); padding: 9vh var(--gutter) 28px; }
.b-footer-grid { display: grid; grid-template-columns: auto 1fr 1.3fr; gap: 3rem; align-items: start; padding-bottom: 6vh; }
.b-footer-logo { width: 140px; height: auto; }
.b-footer nav a { display: inline-block; padding: 0.3em 0; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.b-footer nav a:hover, .b-footer nav a[aria-current="page"] { color: var(--ivory); }
.b-footer nav .nav-num { color: var(--taupe); font-size: 0.62rem; margin-right: 0.6em; }
.b-footer-note { font-size: 0.85rem; color: var(--muted); display: grid; gap: 0.8rem; max-width: 48ch; }
.b-footer-note strong { color: var(--ivory); font-weight: 600; }
.b-footer-note a { color: var(--ivory); border-bottom: 1px solid var(--line-strong); }
.b-footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .b-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
