/* HD Placement Consultancy — mobile first */
:root {
  --ink: #1a1a1a;
  --muted: #4a4a4a;
  --quiet: #5c5c5c;
  --line: #e5e5e5;
  --field: #cfcfcf;
  --band: #f5f5f4;
  --chip: #f0f0ef;
  --accent: #1f2a44;
  --accent-hover: #0f172a;
  --wa: #1f8f5a;
  --ok: #17663f;
  --err: #a32020;
  --radius: 14px;
  --wrap: 1200px;
  --pad: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, button { font: inherit; }
:focus-visible { outline: 3px solid #5b8def; outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: 40px; display: flex; flex-direction: column; gap: 20px; }
h2 { font-size: 26px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid var(--accent); transition: background .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: #fff; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mark { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.brand-long { display: none; }
.nav { display: none; }

/* Placeholders (gradient images until real photos arrive) */
.ph { border-radius: var(--radius); background: linear-gradient(135deg, #e7e7e5, #d6d6d3); }
.ph-hero { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #dbe4f3 0%, #b9d3e8 45%, #b7ddd6 100%); }
.ph-card { height: 120px; border-radius: 0; }
.ph-a { background: linear-gradient(120deg, #e3e8f4, #c7d4ec); }
.ph-b { background: linear-gradient(120deg, #e1efec, #bfdcd5); }
.ph-c { background: linear-gradient(120deg, #f1e9df, #e2cdb6); }
.ph-logo { height: 56px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; color: var(--quiet); }
.ph-avatar { width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(135deg, #c9d6ee, #b7ddd6); flex: none; }

/* Hero */
.hero { display: grid; gap: 24px; padding-block: 24px 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet); }
h1 { font-size: 38px; }
.lead { font-size: 18px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-ctas .btn { flex: 1 1 140px; }

/* Numbers */
.band { background: var(--band); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-block: 24px; text-align: center; }
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats strong { font-size: 26px; }
.stats span { font-size: 13px; color: var(--quiet); }

/* Clients */
.clients { display: grid; gap: 20px; }
.clients > div { display: flex; flex-direction: column; gap: 20px; }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quote { margin: 0; padding: 20px; border-radius: var(--radius); background: var(--band); display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption span:last-child { display: flex; flex-direction: column; font-size: 14px; }
.quote small { color: var(--quiet); font-size: 13px; }

/* Services */
.cards { display: grid; gap: 12px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-size: 18px; font-weight: 600; }
.card p { color: var(--muted); }

/* Sectors + steps */
.split { display: grid; gap: 40px; }
.split > div { display: flex; flex-direction: column; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--chip); font-size: 14px; font-weight: 500; }
.steps { display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--band); font-weight: 600; }
.steps span { width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }

/* Forms */
.contact-head { display: flex; flex-direction: column; gap: 6px; }
.contact-head p { color: var(--muted); }
.forms { display: grid; gap: 16px; }
.form { border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.form h3 { font-size: 20px; }
.fields { display: grid; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form input[type="text"], .form input[type="tel"] { min-height: 44px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px; background: #fff; }
.form input[type="file"] { min-height: 44px; padding: 10px 12px; border: 1px dashed #b5b5b5; border-radius: 8px; }
.form input[aria-invalid="true"] { border-color: var(--err); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-foot small, .form > small { color: var(--quiet); font-size: 13px; }
.form-status { font-size: 14px; min-height: 1.5em; }
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.err { color: var(--err); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: #1f1f1f; color: #e8e8e8; }
.footer-grid { display: grid; gap: 20px; padding-block: 36px 96px; font-size: 14px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 12px; }
.brand-light { color: #fff; }
.brand-light .mark { background: #fff; color: #1f1f1f; }
.site-footer small { color: #a8a8a8; font-size: 12px; }
.site-footer address { font-style: normal; color: #c8c8c8; line-height: 1.7; }
.site-footer a { color: #e8e8e8; }
.social { display: flex; gap: 16px; }

/* WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 999px; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); z-index: 6; }

/* Tablet */
@media (min-width: 640px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --pad: 40px; }
  html { scroll-padding-top: 84px; }
  .section { padding-block: 72px; gap: 32px; }
  h2 { font-size: 36px; }
  .header-row { padding-block: 16px; }
  .mark { width: 40px; height: 40px; font-size: 15px; border-radius: 9px; }
  .brand-short { display: none; }
  .brand-long { display: inline; font-size: 17px; }
  .nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; }
  .nav a { color: var(--ink); text-decoration: none; }
  .nav a:hover { color: var(--accent); text-decoration: underline; }
  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding-block: 72px; }
  .hero-copy { gap: 24px; }
  h1 { font-size: 60px; line-height: 1.05; }
  .lead { font-size: 20px; }
  .hero-ctas .btn { flex: none; padding: 0 28px; min-height: 52px; }
  .ph-hero { aspect-ratio: 5 / 4; border-radius: 20px; }
  .stats { padding-block: 40px; gap: 24px; }
  .stats strong { font-size: 40px; }
  .stats span { font-size: 15px; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
  .ph-logo { height: 64px; }
  .quote { padding: 32px; border-radius: 18px; gap: 20px; }
  .quote blockquote { font-size: 24px; }
  .ph-card { height: 180px; }
  .card-body { padding: 24px; }
  .card h3 { font-size: 20px; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .chips li { padding: 10px 18px; font-size: 15px; }
  .steps li { padding: 18px 20px; font-size: 18px; }
  .steps span { width: 40px; height: 40px; }
  .contact-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .forms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .form { padding: 32px; border-radius: 18px; gap: 16px; }
  .form h3 { font-size: 22px; }
  .form .btn { align-self: flex-start; padding: 0 28px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px; font-size: 15px; }
  .social { justify-content: flex-end; }
  .wa-float { right: 32px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
