/* OHE Solutions — Design D "Editorial grafito" (colorway gris de B) */
:root {
  --bg: #141516;
  --bg-2: #1B1C1E;
  --bg-3: #232426;
  --fg: #F2F1EC;
  --muted: #A3A4A1;
  --green: #CFCDC5;          /* accent: light stone (text, lines, numbers) */
  --green-solid: #F2F1EC;    /* solid buttons: ivory with graphite text */
  --green-dark: #141516;
  --brand-gray: #58595B;     /* client gray from the logo */
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.2);
  --light-bg: #EEEDE8;
  --light-fg: #1A1B1C;
  --light-muted: #58595B;
  --light-line: rgba(0,0,0,.12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --t: .3s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--green-solid); color: var(--green-dark);
  border-radius: 6px; font-weight: 600;
}
.skip:focus { top: 16px; }

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

/* Eyebrow */
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.25rem;
}
.eyebrow--dark { color: var(--brand-gray); }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease), color var(--t) var(--ease);
}
.btn--solid { background: var(--green-solid); color: var(--green-dark); }
.btn--solid:hover { background: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--sm { padding: .6rem 1rem; font-size: .875rem; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.arrow { display: inline-block; transition: transform var(--t) var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow:hover .arrow--down { transform: translateY(3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 500;
  padding: .9rem .25rem; position: relative;
}
.u, .nav a:not(.btn), .link-arrow, .contact__list a, .about__text a {
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat; background-size: 0% 1px; background-position: 0 100%;
  transition: background-size var(--t) var(--ease), color var(--t) var(--ease);
}
.u:hover, .nav a:not(.btn):hover, .link-arrow:hover, .contact__list a:hover, .about__text a:hover { background-size: 100% 1px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.header.is-scrolled { background: rgba(20,21,22,.92); border-color: var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn) { padding: .35rem 0; }
.nav .btn { margin-left: .5rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--fg); transition: transform var(--t) var(--ease), opacity var(--t); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: calc(76px + clamp(4rem, 12vh, 8rem)) 0 clamp(3rem, 8vh, 5rem);
  min-height: min(92vh, 860px); display: flex; align-items: center;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(255,255,255,.06), transparent 70%),
    var(--bg);
}
.hero__mark {
  position: absolute; right: -6%; top: 6%; width: min(56vw, 640px); height: auto;
  opacity: .06; pointer-events: none; user-select: none;
}
.hero .wrap { position: relative; }
.hero__title {
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; max-width: 15ch;
  font-variation-settings: "opsz" 144; margin-bottom: 1.5rem;
}
.hero__title em { font-style: italic; color: var(--green); font-weight: 400; }
.hero__lead { max-width: 56ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-bottom: 2.25rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-bottom: clamp(3rem, 8vh, 5rem); }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 1.5rem; max-width: 760px;
}
.facts li { display: flex; flex-direction: column; gap: .15rem; }
.facts strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: -.01em; }
.facts span { color: var(--muted); font-size: .9rem; }

/* Sections */
section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--light { background: var(--light-bg); color: var(--light-fg); }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait { margin: 0; max-width: 440px; }
.portrait__img { position: relative; margin-right: 16px; }
.portrait picture, .portrait img { display: block; }
.portrait img { border-radius: 4px; position: relative; z-index: 1; }
.portrait__img::before {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px);
  border: 2px solid var(--brand-gray); border-radius: 4px; z-index: 0;
}
.portrait figcaption { display: flex; flex-direction: column; margin-top: 2.25rem; }
.portrait figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.portrait figcaption span { color: var(--light-muted); font-size: .95rem; }
.about__text h2 { margin-bottom: 1.5rem; }
.about__text p { max-width: 58ch; font-size: 1.1rem; }
.stat { display: flex; align-items: baseline; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--light-line); max-width: 58ch; }
.stat__num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--brand-gray); font-variation-settings: "opsz" 144; }
.stat__label { color: var(--light-muted); max-width: 22ch; line-height: 1.35; }

/* Services */
.services__head { max-width: 700px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.services__head h2 { margin-bottom: 1rem; }
.services__intro { color: var(--muted); font-size: 1.1rem; margin: 0; }
.index { border-bottom: 1px solid var(--line); }
.svc { border-top: 1px solid var(--line); transition: background-color var(--t) var(--ease); }
.svc:hover, .svc[open] { background: rgba(255,255,255,.025); }
.svc summary {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 2.5rem; align-items: center; gap: 1rem;
  padding: 1.35rem clamp(.5rem, 2vw, 1.25rem); cursor: pointer; list-style: none;
}
.svc summary::-webkit-details-marker { display: none; }
.svc__num { font-family: var(--serif); color: var(--green); font-size: .95rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.svc__title { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; transition: color var(--t) var(--ease); }
.svc:hover .svc__title { color: #fff; }
.svc__plus { position: relative; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; justify-self: end; transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--fg); transform: translate(-50%, -50%); }
.svc__plus::before { width: 14px; height: 1.5px; }
.svc__plus::after { width: 1.5px; height: 14px; }
.svc:hover .svc__plus { border-color: var(--green); }
.svc[open] .svc__plus { transform: rotate(45deg); background: var(--green-solid); border-color: var(--green-solid); }
.svc[open] .svc__plus::before, .svc[open] .svc__plus::after { background: var(--green-dark); }
.svc__body { padding: 0 clamp(.5rem, 2vw, 1.25rem) 1.75rem calc(3.5rem + 1rem + clamp(.5rem, 2vw, 1.25rem)); max-width: 880px; color: #CDCDC9; }
.svc__body p { margin-bottom: .75rem; }
.svc__list li { position: relative; padding-left: 1.25rem; margin: .35rem 0; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 2px; background: var(--green); }
.svc__list--cols { column-count: 2; column-gap: 2.5rem; }
.svc__list--cols li { break-inside: avoid; }

/* Contact */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__title { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; margin-bottom: 1.25rem; font-variation-settings: "opsz" 144; }
.contact__title em { color: var(--green); font-style: normal; }
.contact__lead { color: var(--muted); max-width: 36ch; margin-bottom: 2rem; }
.contact__list { display: flex; flex-direction: column; gap: 1.25rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; line-height: 1.4; }
.contact__list .ico { color: var(--green); margin-top: .2em; }
.contact__list small { color: var(--muted); font-size: .85rem; }
.contact__list strong { font-weight: 600; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-bottom: .35rem; }
.field label span { color: var(--green); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--fg); font: inherit; padding: .6rem 0; border-radius: 0; resize: vertical;
  transition: border-color var(--t) var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); }
.field input:focus + .bar { transform: scaleX(1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.form__note { margin: 0; color: var(--muted); font-size: .85rem; }
.form__status:empty { display: none; }
.form__status { padding: 1rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--fg); }
.form__status.is-ok { border-color: var(--green); color: var(--green); }
.form__status.is-err { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__status.is-err p { margin: 0; flex: 1 1 260px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; }
.footer img { width: 104px; height: auto; }
.footer__tag { margin: 0; color: var(--muted); font-size: .9rem; }
.footer__copy { margin: 0; color: var(--muted); font-size: .85rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,.45); }

/* Reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal.is-hidden { opacity: 0; transform: translateY(18px); }
.js .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal.is-hidden { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .footer__in { grid-template-columns: 1fr; text-align: left; gap: .75rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease); }
  .header.is-open { background: var(--bg-2); border-color: var(--line); }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
  .hero { min-height: 0; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .facts li { flex-direction: row; align-items: baseline; gap: .6rem; }
  .svc summary { grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem; padding: 1.1rem .25rem; }
  .svc__plus { width: 32px; height: 32px; }
  .svc__body { padding: 0 .25rem 1.5rem calc(2.25rem + 1rem + .25rem); }
  .svc__list--cols { column-count: 1; }
  .form { grid-template-columns: 1fr; gap: 1.25rem; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
