:root {
  --bg: #0E0E0E;
  --panel: #171717;
  --panel-2: #101010;
  --photo: #262626;
  --line: #2A2A2A;
  --line-2: #3A3A3A;
  --text: #F4F4F2;
  --text-2: #D6D6D2;
  --muted: #B9B9B4;
  --faint: #8E8E89;
  --yellow: #F2C200;
  --yellow-hi: #FFD84D;
  --ink: #111111;
  --head: 'Archivo', 'Inter', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--yellow); }
a:hover { color: var(--yellow-hi); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; margin: 0; letter-spacing: -0.5px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 15px; padding: 13px 20px; border-radius: 6px; border: 0; cursor: pointer; font-family: var(--body); min-height: 44px; }
.btn-lg { font-size: 17px; padding: 17px 28px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hi); color: var(--ink); }
.btn-outline { border: 1.5px solid #4A4A4A; color: var(--text); background: transparent; font-weight: 600; }
.btn-outline:hover { border-color: var(--yellow); color: var(--text); }
.btn-ghost { background: transparent; border: 1px solid #5A5A5A; color: var(--text); font-weight: 600; font-size: 14px; padding: 12px 18px; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--text); }

/* Header */
.site-header { border-bottom: 1px solid #262626; background: var(--bg); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand .wordmark { width: auto; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-top { font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: 0.3px; color: var(--text); }
.brand-bottom { font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: 3px; color: var(--yellow); margin-top: 4px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nav-phone { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 6px; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--yellow); }
.dot { width: 10px; height: 10px; background: var(--yellow); border-radius: 50%; display: inline-block; flex: none; }
.hero h1 { font-size: 66px; line-height: 1.02; letter-spacing: -1px; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { margin: 0; font-size: 14px; color: var(--faint); }

.photo { background: var(--photo); position: relative; display: flex; align-items: center; justify-content: center; }
.photo { overflow: hidden; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo > img { object-position: center 60%; }
.hero-photo { flex: 1 1 460px; min-width: 0; height: 520px; border-radius: 10px; border: 1px solid #333; align-items: flex-end; justify-content: flex-start; padding: 20px; }
.stat { position: relative; background: var(--bg); border: 1px solid #333; border-radius: 8px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; }
.stat-num { font-family: var(--head); font-weight: 800; font-size: 40px; color: var(--yellow); line-height: 1; }
.stat-label { font-size: 13px; line-height: 1.4; color: var(--text-2); }

/* Credentials */
.creds { background: var(--yellow); color: var(--ink); }
.creds-grid { padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.creds-grid div { display: flex; flex-direction: column; gap: 2px; }
.creds-grid strong { font-family: var(--head); font-weight: 800; font-size: 21px; }
.creds-grid span { font-size: 13px; font-weight: 500; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 40px; }
.section h2 { font-size: 44px; line-height: 1.05; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head p { margin: 0; font-size: 16px; color: var(--muted); max-width: 420px; line-height: 1.6; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card, .project { text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
a.card:hover { border-color: var(--yellow); color: var(--text); }
.card-photo { height: 180px; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card-num { font-size: 12px; font-weight: 600; color: var(--yellow); letter-spacing: 1.5px; }
.card h3 { font-size: 22px; }
.card p, .project p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.project-photo { height: 240px; }
.project h3 { font-size: 24px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--faint); }

.trusted { border-top: 1px solid #262626; padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.trusted-label { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--faint); }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.logo-slot { height: 80px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; }
.logo-slot img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Gallery */
.gallery-section { padding-top: 48px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-item { margin: 0; aspect-ratio: 3 / 4; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Quote */
.quote { flex-direction: row; flex-wrap: wrap; gap: 48px; padding-bottom: 96px; }
.quote-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.quote-intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.contact-lines { display: flex; flex-direction: column; gap: 14px; font-size: 15px; border-top: 1px solid #262626; padding-top: 20px; }
.contact-lines a { color: var(--text-2); text-decoration: none; }
.contact-lines a:hover { color: var(--yellow); }

.form { flex: 1 1 600px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; height: 48px; border: 1px solid var(--line-2); background: #161616; color: var(--text); border-radius: 6px; padding: 0 14px; font: 16px var(--body);
}
.form textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #7A7A75; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.form input[aria-invalid=true], .form textarea[aria-invalid=true] { border-color: #E5534B; }

.chips-field { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chips-field legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.form .chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 11px 16px; border: 1px solid #4A4A4A; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.upload { border: 1.5px dashed #4A4A4A; border-radius: 8px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.form .upload label { flex-direction: row; }
.file-list { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-2); background: var(--panel-2); border-radius: 6px; padding: 8px 12px; }
.file-list button { background: none; border: 0; color: var(--faint); cursor: pointer; font: 600 13px var(--body); padding: 0 4px; min-height: 24px; }
.file-list button:hover { color: var(--yellow); }

.human { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; min-height: 90px; }
.human-note { font-size: 12px; color: var(--faint); }
.form-error { margin: 0; color: #FF8A80; font-size: 14px; font-weight: 500; }
.btn-submit { height: 54px; font-size: 17px; }
.btn-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-done { display: flex; flex-direction: column; gap: 12px; grid-template-columns: none; }
.form-done[hidden] { display: none; }
.form-done h3 { font-size: 28px; color: var(--yellow); }
.form-done p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Area + footer */
.area { border-top: 1px solid #262626; }
.area-row { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.area h2 { font-size: 40px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 560px; justify-content: flex-end; }
.pills span { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 15px; }
.pills .pill-accent { border-color: var(--yellow); color: var(--yellow); }
.footer { background: #080808; border-top: 4px solid var(--yellow); }
.footer-row { padding-top: 36px; padding-bottom: 36px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--faint); }
.social { display: flex; gap: 20px; }
.social a { color: var(--muted); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; gap: 32px; }
  .hero h1 { font-size: 44px; }
  .hero-photo { height: 340px; }
  .section { padding-top: 64px; }
  .section h2, .area h2 { font-size: 32px; }
  .pills { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .nav-phone { display: none; }
  .nav { flex-wrap: nowrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .brand .wordmark { height: 30px; }
  .nav-cta .btn { font-size: 14px; padding: 10px 14px; white-space: nowrap; }
  .creds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .projects { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
