:root {
  --black: #090909;
  --black-soft: #141414;
  --gold: #d4af37;
  --gold-light: #f0d77a;
  --white: #ffffff;
  --grey: #f4f4f4;
  --text: #1b1b1b;
  --muted: #666666;
  --border: #dedede;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.09);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: "Inter", Arial, sans-serif; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body::selection { color: var(--black); background: var(--gold-light); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--black); background: var(--gold); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(212, 175, 55, 0.2); background: rgba(9, 9, 9, 0.96); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 172px; height: 58px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a { position: relative; color: #e8e8e8; font-size: .9rem; font-weight: 600; }
.primary-nav a::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; content: ""; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold-light); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid #343434; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--gold); }

.hero { position: relative; min-height: 690px; overflow: hidden; color: var(--white); background: var(--black); isolation: isolate; }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent, #000 50%, transparent); }
.hero::after { position: absolute; z-index: -1; top: 0; right: 7%; width: min(46vw, 620px); height: 100%; content: ""; opacity: .18; background: url("assets/prime-logo.png") center / contain no-repeat; filter: saturate(1.2); }
.hero-glow { position: absolute; z-index: -1; top: 12%; right: 18%; width: 360px; height: 360px; border-radius: 50%; background: rgba(212, 175, 55, .16); filter: blur(95px); }
.hero-content { display: flex; min-height: 690px; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { color: var(--gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-dark { color: #9b7814; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
.hero h1 { max-width: 780px; margin: 24px 0 22px; font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -.06em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { max-width: 650px; margin-bottom: 36px; color: #c8c8c8; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 13px 24px; border: 1px solid transparent; font-size: .9rem; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--black); background: var(--gold); box-shadow: 0 12px 30px rgba(212, 175, 55, .18); }
.button-gold:hover { background: var(--gold-light); box-shadow: 0 15px 36px rgba(212, 175, 55, .26); }
.button-dark { color: var(--white); background: var(--black); }
.button-dark:hover { background: #252525; }
.button-outline { color: var(--white); border-color: var(--gold); }
.button-outline:hover { color: var(--black); background: var(--gold); }
.text-link { padding-bottom: 2px; border-bottom: 1px solid #555; color: #ddd; font-size: .9rem; }

.section { padding: 110px 0; }
.services-overview { background: var(--grey); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.section-heading h2, .about-content h2, .contact-section h2 { margin: 10px 0 0; font-size: clamp(2.25rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.section-heading > p { max-width: 490px; margin-bottom: 4px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; padding: 36px 32px 30px; overflow: hidden; border: 1px solid #e2e2e2; background: var(--white); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { border-color: #d7c27a; box-shadow: var(--shadow); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.icon-box { display: grid; width: 62px; height: 62px; margin-bottom: 44px; color: var(--gold); background: var(--black); font-size: 1.4rem; place-items: center; }
.card-number { position: absolute; top: 26px; right: 28px; color: #d2d2d2; font-size: .8rem; font-weight: 800; }
.service-card h3 { margin-bottom: 14px; font-size: 1.4rem; }
.service-card p { min-height: 55px; margin-bottom: 28px; color: var(--muted); }
.card-link { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid #e4e4e4; font-size: .85rem; font-weight: 700; }
.card-link i { color: var(--gold); transition: transform .2s ease; }
.card-link:hover i { transform: translateX(5px); }
.centered-action { margin-top: 42px; text-align: center; }

.home-cta { padding: 70px 0; color: var(--white); background: var(--black-soft); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-inner h2 { max-width: 720px; margin: 9px 0 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }

.page-hero { padding: 100px 0 90px; color: var(--white); background: var(--black); }
.page-hero h1 { margin: 16px 0; font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -.06em; }
.page-hero p { max-width: 680px; margin: 0; color: #bcbcbc; font-size: 1.15rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px, 7vw, 100px); }
.about-visual { position: relative; min-height: 560px; overflow: hidden; background: var(--black); }
.about-visual::after { position: absolute; inset: 20px; content: ""; border: 1px solid rgba(212,175,55,.35); pointer-events: none; }
.about-visual img { width: 100%; height: 100%; min-height: 560px; padding: 44px 38px 132px; object-fit: contain; object-position: center; }
.visual-caption { position: absolute; right: 20px; bottom: 20px; left: 20px; padding: 24px 26px; color: var(--white); background: rgba(9,9,9,.92); }
.visual-caption span { display: block; margin-bottom: 5px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.visual-caption strong { font-size: 1.1rem; }
.about-content > p { max-width: 560px; margin: 24px 0 34px; color: var(--muted); }
.accordion details { border-top: 1px solid var(--border); }
.accordion details:last-child { border-bottom: 1px solid var(--border); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { color: var(--gold); transition: transform .25s ease; }
.accordion details[open] summary i { transform: rotate(45deg); }
.accordion details p { padding: 0 42px 20px 0; color: var(--muted); }

.detailed-services { background: var(--grey); }
.detail-list { border-top: 1px solid #ccc; }
.detail-item { display: grid; grid-template-columns: 65px 72px 1fr; align-items: center; gap: 30px; padding: 38px 20px; border-bottom: 1px solid #ccc; scroll-margin-top: 100px; }
.detail-number { color: #aaa; font-size: .75rem; font-weight: 800; }
.detail-icon { display: grid; width: 64px; height: 64px; color: var(--gold); background: var(--black); font-size: 1.25rem; place-items: center; }
.detail-item h3 { margin-bottom: 9px; font-size: 1.45rem; }
.detail-item p { max-width: 800px; margin: 0; color: var(--muted); }
.contact-section { padding: 110px 0; scroll-margin-top: 84px; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; box-shadow: var(--shadow); }
.form-panel { padding: clamp(32px, 5vw, 64px); border: 1px solid #e2e2e2; }
.form-panel h2 { margin-bottom: 38px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; margin-bottom: 8px; font-size: .82rem; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; border: 0; border-bottom: 1px solid #bebebe; border-radius: 0; outline: 0; background: transparent; }
.form-field input { height: 48px; }
.form-field textarea { padding: 11px 0; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.form-field .is-invalid { border-color: #a92727; }
.field-error { display: block; min-height: 20px; padding-top: 4px; color: #9b1c1c; font-size: .76rem; }
.form-status { margin: 18px 0 0; color: #4d751a; font-size: .88rem; font-weight: 600; }
.contact-info { padding: clamp(32px, 5vw, 64px); color: var(--white); background: var(--black); }
.contact-info > p { margin: 20px 0 42px; color: #aaa; }
.contact-block { display: grid; grid-template-columns: 42px 1fr; gap: 15px; margin-top: 28px; padding-top: 28px; border-top: 1px solid #323232; }
.contact-block > i { padding-top: 4px; color: var(--gold); font-size: 1.15rem; }
.contact-block span { display: block; color: #999; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-block a, .contact-block address { color: var(--white); font-style: normal; overflow-wrap: anywhere; }

.site-footer { color: #b8b8b8; background: #050505; }
.footer-inner { display: flex; min-height: 98px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #242424; }
.footer-inner p { margin: 0; font-size: .85rem; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; width: 38px; height: 38px; border: 1px solid #2e2e2e; color: var(--gold); font-size: .85rem; place-items: center; transition: color .2s, border-color .2s, background .2s; }
.social-links a:hover { color: var(--black); border-color: var(--gold); background: var(--gold); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 84px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 22px; border-bottom: 1px solid #292929; background: var(--black); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 0; }
  .primary-nav a::after { bottom: 6px; }
  .hero, .hero-content { min-height: 620px; }
  .hero::after { right: -16%; width: 75vw; opacity: .11; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 460px; }
  .about-visual img { min-height: 460px; padding: 34px 28px 122px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 74px; }
  .brand { width: 145px; height: 50px; }
  .primary-nav { top: 74px; }
  .hero, .hero-content { min-height: 650px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-actions .text-link { align-self: flex-start; }
  .section, .contact-section { padding: 78px 0; }
  .section-heading, .cta-inner { flex-direction: column; align-items: flex-start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .page-hero { padding: 76px 0 68px; }
  .about-visual, .about-visual img { min-height: 360px; }
  .about-visual img { padding: 28px 22px 118px; }
  .detail-item { grid-template-columns: 45px 1fr; gap: 18px; padding-inline: 0; }
  .detail-icon { width: 52px; height: 52px; }
  .detail-item > div:last-child { grid-column: 1 / -1; padding-left: 63px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-panel, .contact-info { padding: 34px 24px; }
  .footer-inner { padding: 24px 0; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
