/* ==========================================================
   AMD CONSTRUCTIONS & PAINT SERVICES
   Shared responsive black-and-gold stylesheet
   ========================================================== */
:root {
  --bg: #090908;
  --bg-soft: #11100d;
  --bg-card: #15130f;
  --gold: #c9a45c;
  --gold-light: #e7ce91;
  --gold-pale: #f3e5bf;
  --text: #f5f0e6;
  --muted: #c1b7a4;
  --subtle: #928875;
  --line: rgba(201, 164, 92, .24);
  --line-strong: rgba(201, 164, 92, .42);
  --max: 1220px;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  padding: 10px 14px; color: #111; background: var(--gold-light);
}
.skip-link:focus { left: 8px; }

/* Header and shared navigation */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(7, 7, 6, .96);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 10px 28px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 190px; height: auto; max-height: 64px; object-fit: contain; }
.nav {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 25px; margin-left: auto;
  color: var(--text); font-size: 12px; font-weight: 700;
}
.nav > a { white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.nav > a:hover, .nav > a[aria-current="page"]:not(.nav-cta) { color: var(--gold-light); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 17px; border: 1px solid var(--gold);
  border-radius: 999px; color: var(--gold-pale);
}
.nav-cta:hover { background: rgba(201,164,92,.10); border-color: var(--gold-light); }
.menu-toggle {
  display: none; flex: 0 0 44px; width: 44px; height: 42px;
  margin-left: auto; padding: 9px 10px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--gold-light); background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; }

/* General page layout and typography */
.container { width: min(100% - 56px, var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-dark { background: linear-gradient(135deg, #090908 0%, #11100d 58%, #19150e 100%); }
.section-soft { background: #100f0c; }
.eyebrow, .section-kicker {
  margin: 0 0 17px; color: var(--gold-light);
  font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 25px; height: 2px; background: var(--gold); }
h1, h2, h3 { margin: 0 0 18px; font-family: Manrope, Inter, Arial, sans-serif; line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 5.3vw, 72px); font-weight: 800; }
h2 { font-size: clamp(33px, 4vw, 52px); font-weight: 800; }
h3 { font-size: 19px; letter-spacing: -.025em; }
h1 span, h2 span, .gold-text { color: var(--gold-light); }
p { margin: 0 0 16px; }
.lead { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.muted { color: var(--subtle); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2 { max-width: 680px; margin: 0; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 19px;
  border: 1px solid transparent; border-radius: 9px;
  font-size: 12px; font-weight: 800; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #17120a; background: linear-gradient(135deg, #ead49b, #b88b3d); box-shadow: 0 10px 26px rgba(201,164,92,.16); }
.btn-primary:hover { background: linear-gradient(135deg, #f2e2b7, #c9a45c); }
.btn-secondary { color: var(--gold-pale); background: transparent; border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(201,164,92,.08); border-color: var(--gold-light); }

/* Home page */
.home-hero {
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center;
  gap: 58px; min-height: 620px; padding: 68px max(28px, calc((100% - var(--max))/2));
  background: radial-gradient(circle at 84% 14%, rgba(201,164,92,.09), transparent 30%), linear-gradient(135deg,#080807,#11100d 62%,#18140d);
  border-bottom: 1px solid var(--line);
}
.hero-copy { max-width: 650px; }
.hero-copy h1 { margin-bottom: 23px; }
.hero-intro { max-width: 600px; margin-bottom: 27px; color: #d2c8b6; font-size: 15px; line-height: 1.9; }
.hero-points { display: flex; gap: 25px; margin-top: 38px; }
.hero-point { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.point-number { color: var(--gold-light); font-family: Manrope, sans-serif; font-size: 19px; font-weight: 800; }
.hero-media {
  position: relative; min-height: 430px; height: clamp(420px, 40vw, 540px);
  overflow: hidden; border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: var(--shadow);
  background: #17130d;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 32%,rgba(0,0,0,.78)); }
.hero-caption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 13px; }
.caption-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; color: #15110a; background: linear-gradient(135deg,#ead49b,#b88b3d); font-weight: 900; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption small { color: #d6c9b1; font-size: 11px; }
.hero-tag { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 8px 12px; border: 1px solid rgba(231,206,145,.45); border-radius: 999px; color: #fff4dc; background: rgba(8,8,8,.68); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.quick-facts { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); background: #11100d; }
.fact { padding: 24px 15px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong, .fact span { display: block; }
.fact strong { color: var(--gold-pale); font: 800 22px/1.3 Manrope, sans-serif; }
.fact span { margin-top: 5px; color: var(--muted); font-size: 10px; }

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden; padding: 88px 0 76px;
  background: radial-gradient(circle at 85% 20%, rgba(201,164,92,.10), transparent 28%), linear-gradient(135deg,#080807,#15120c);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 900px; margin-bottom: 20px; }
.page-hero .lead { max-width: 760px; }
.breadcrumb { margin-bottom: 22px; color: var(--subtle); font-size: 11px; }
.breadcrumb a { color: var(--gold-light); }

/* Cards and content grids */
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.card {
  padding: 25px; border: 1px solid var(--line); border-radius: 15px;
  background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.card:hover { border-color: var(--line-strong); background: rgba(201,164,92,.045); }
.card-index { display: block; margin-bottom: 18px; color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.service-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 17px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--gold-light); background: rgba(201,164,92,.08); font-size: 23px; }
.card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.card-link { display: inline-flex; margin-top: 18px; color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }
.feature-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,#17140e,#0e0d0a); }
.feature-list { display: grid; gap: 15px; margin: 23px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.feature-list li::before { content: "✓"; color: var(--gold-light); font-weight: 900; }

/* Project gallery */
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.project-card { position: relative; min-height: 340px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: 16px; background: #15130f; }
.project-card img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg,rgba(0,0,0,.02) 20%,rgba(0,0,0,.88)); }
.project-overlay { position: absolute; z-index: 1; right: 22px; bottom: 20px; left: 22px; }
.project-overlay span { color: var(--gold-light); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.project-overlay h3 { margin: 7px 0; font-size: 23px; }
.project-overlay p { max-width: 430px; margin: 0; color: #e0d6c5; font-size: 12px; }
.disclaimer { margin-top: 18px; color: var(--subtle); font-size: 11px; line-height: 1.8; }

/* Process timeline */
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.process-step { padding: 23px 20px 0 0; border-top: 1px solid var(--line-strong); }
.process-step > span { color: var(--gold-light); font-size: 12px; font-weight: 900; }
.process-step h3 { margin: 16px 0 9px; }
.process-step p { color: var(--muted); font-size: 12px; line-height: 1.85; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 65px; align-items: start; }
.contact-details { display: grid; gap: 17px; margin-top: 28px; }
.contact-details > a, .contact-details > div { display: flex; align-items: center; gap: 13px; }
.contact-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 11px; color: var(--gold-light); background: rgba(201,164,92,.09); font-weight: 800; }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: var(--gold-light); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.contact-details strong { color: var(--text); font-size: 13px; line-height: 1.6; }
.contact-form { padding: 28px; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(145deg,#171510,#100f0c); box-shadow: var(--shadow); }
.form-heading { margin-bottom: 22px; }
.form-heading span { color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.form-heading p, .form-note { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.contact-form label { display: block; margin-bottom: 15px; color: #d9cdb6; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 13px;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); background: #0b0a08; font-size: 12px; font-weight: 500; letter-spacing: normal; text-transform: none;
}
.contact-form textarea { min-height: 112px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #91856f; }
.contact-form select option { color: var(--text); background: #11100d; }
.form-submit { width: 100%; border: 0; }
.form-note { line-height: 1.7; }

/* CTA strip */
.cta-panel {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
  margin: 70px auto; padding: 34px 38px;
  border: 1px solid var(--line-strong); border-radius: 20px;
  background: linear-gradient(115deg,#17130c,#302311); box-shadow: var(--shadow);
}
.cta-panel h2 { margin-bottom: 9px; font-size: clamp(27px,3vw,38px); }
.cta-panel p { margin: 0; color: var(--muted); font-size: 12px; }

/* Footer */
.site-footer { padding: 30px 0 20px; border-top: 1px solid var(--line); background: #050505; }
.footer-main, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-main { padding-bottom: 23px; }
.footer-brand .brand-logo { width: 205px; height: auto; max-height: 72px; object-fit: contain; }
.footer-main > p { margin: 0; color: #d2c5ad; font-size: 10px; line-height: 1.9; }
.footer-main > p span { color: #a99a7d; }
.back-top { color: var(--gold-light); font-size: 10px; font-weight: 800; }
.footer-bottom { padding-top: 16px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 9px; }

/* Responsive rules */
@media (max-width: 1050px) and (min-width: 851px) {
  .nav-wrap { padding-inline: 22px; gap: 16px; }
  .brand-logo { width: 165px; }
  .nav { gap: 15px; }
  .nav > a { font-size: 11px; }
  .home-hero { gap: 34px; padding-inline: 28px; }
  .container { width: min(100% - 44px, var(--max)); }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 78px; }
  .nav-wrap { padding: 10px 17px; gap: 12px; }
  .brand-logo { width: 150px; max-height: 55px; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 1001;
    width: 100%; margin: 0; padding: 10px 18px 18px;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: #090909; border: 0; border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 15px 30px rgba(0,0,0,.48);
  }
  .nav.is-open { display: flex; }
  .nav > a { display: block; width: 100%; padding: 13px 8px; border-bottom: 1px solid rgba(201,164,92,.14); white-space: normal; }
  .nav > .nav-cta { margin: 12px 0 0; padding: 12px 16px; text-align: center; }
  .home-hero { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding: 56px 22px 42px; }
  .hero-media { height: 380px; min-height: 350px; }
  .container { width: min(100% - 40px, var(--max)); }
  .section { padding-block: 70px; }
  .split-layout, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 28px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .cta-panel { grid-template-columns: 1fr; margin-block: 48px; padding: 28px; }
}
@media (max-width: 520px) {
  .brand-logo { width: 138px; max-height: 52px; }
  .nav-wrap { padding-inline: 12px; }
  .home-hero { padding: 45px 18px 35px; }
  h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hero-intro { font-size: 13px; }
  .hero-points { gap: 9px; justify-content: space-between; }
  .hero-point { gap: 5px; font-size: 8px; }
  .point-number { font-size: 16px; }
  .hero-media { height: 300px; min-height: 300px; border-radius: 16px; }
  .quick-facts { grid-template-columns: repeat(2,1fr); }
  .fact { padding: 18px 8px; border-bottom: 1px solid var(--line); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3), .fact:nth-child(4) { border-bottom: 0; }
  .container { width: min(100% - 36px, var(--max)); }
  .section { padding-block: 58px; }
  .page-hero { padding: 62px 0 52px; }
  .lead { font-size: 13px; }
  .card-grid, .project-grid, .process-grid { grid-template-columns: 1fr; }
  .project-card, .project-card img { min-height: 285px; }
  .card { padding: 21px; }
  .contact-form { padding: 22px 18px; }
  .footer-main { align-items: flex-start; flex-wrap: wrap; }
  .footer-main > p { width: 100%; order: 3; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .footer-brand .brand-logo { width: 180px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
