/* ============================================================
   Pullin Technologies — pullintechnologies.com
   Premium dark-navy / gold design system
   ============================================================ */

:root {
  --navy-950: #070f1c;
  --navy-900: #0a1626;
  --navy-800: #0f1e33;
  --navy-700: #16283f;
  --navy-600: #1f3450;
  --gold-500: #d9a521;
  --gold-400: #e6b93f;
  --gold-300: #f0cd6e;
  --slate-400: #8b99ad;
  --slate-300: #a9b6c9;
  --slate-200: #c9d3e0;
  --ink-100: #eef2f8;
  --white: #ffffff;
  --max-w: 1160px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 24px 60px -12px rgba(2, 8, 20, 0.65);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-500); color: var(--navy-950); }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-200);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--white); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--gold-500);
  vertical-align: middle;
  margin-right: 0.65rem;
}

.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--slate-300); }
.gold { color: var(--gold-400); }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 0.9rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold-500); color: var(--navy-950);
  padding: 0.7rem 1.2rem; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(7, 15, 28, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(217, 165, 33, 0.12);
  transition: background 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}
.site-header.scrolled {
  background: rgba(7, 15, 28, 0.92);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.8);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.brand img { width: 42px; height: auto; border-radius: 9px; }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: 0.01em; color: var(--white); line-height: 1.1; }
.brand-name span { color: var(--gold-400); display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--slate-300); position: relative; padding: 0.4rem 0;
  transition: color 0.25s ease;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-premium);
}
.nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { color: var(--white); }
.nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn)::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 0;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; position: absolute;
  width: 24px; height: 2px; background: var(--white);
  left: 10px; transition: transform 0.3s var(--ease-premium), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 15, 28, 0.98);
    border-bottom: 1px solid rgba(217, 165, 33, 0.15);
    padding: 0.5rem 1.5rem 1.5rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all 0.35s var(--ease-premium);
  }
  .nav-open .nav-links { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links li:last-child { border: 0; padding-top: 1rem; }
  .nav-links a:not(.btn) { display: block; padding: 0.9rem 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.85rem 1.9rem; border-radius: 999px;
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium),
              background 0.3s ease, color 0.3s ease;
  border: 0; text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 10px 30px -10px rgba(217, 165, 33, 0.55);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 42px -12px rgba(217, 165, 33, 0.7); }
.btn-outline {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--gold-400); color: var(--gold-300); transform: translateY(-3px); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-400); outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 10rem 0 6rem;
  background:
    radial-gradient(1100px 550px at 78% -10%, rgba(217, 165, 33, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(31, 52, 80, 0.8), transparent 65%),
    var(--navy-950);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139, 153, 173, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 153, 173, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-inner { max-width: 780px; }
.hero h1 { margin: 0.4rem 0 1.4rem; }
.hero h1 em { font-style: normal; color: var(--gold-400); position: relative; white-space: nowrap; }
.hero p.lead { max-width: 620px; margin-bottom: 2.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  margin-top: 3.2rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.88rem; font-weight: 600; color: var(--slate-400);
}
.hero-badges li { list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.hero-badges li::before { content: "◆"; color: var(--gold-500); font-size: 0.55rem; }

/* Page hero (interior pages) — full homepage hero treatment at reduced height */
.hero.hero-page {
  min-height: 65vh;
  padding: 9.5rem 0 5rem;
}
.hero.hero-page h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); }
:where(h1, h2, h3, form)[id] { scroll-margin-top: 96px; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-premium), border-color 0.4s ease, box-shadow 0.4s var(--ease-premium);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 165, 33, 0.35);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.97rem; color: var(--slate-300); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217, 165, 33, 0.12);
  border: 1px solid rgba(217, 165, 33, 0.3);
  margin-bottom: 1.3rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--gold-400); fill: none; stroke-width: 1.8; }

.card .card-link {
  display: inline-block; margin-top: 1.1rem;
  font-weight: 700; font-size: 0.92rem; color: var(--gold-400);
  text-decoration: none;
}
.card .card-link::after { content: " →"; transition: margin-left 0.3s var(--ease-premium); }
.card .card-link:hover::after { margin-left: 6px; }

/* ---------- Stats ---------- */
.stats-band {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-block: 1px solid rgba(217, 165, 33, 0.12);
  padding: 3.5rem 0;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800; color: var(--white); line-height: 1;
}
.stat-num .suffix { color: var(--gold-400); }
.stat-label { margin-top: 0.5rem; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-tag { font-size: 2rem; font-weight: 800; color: var(--gold-400); margin: 0.4rem 0 0.2rem; }
.price-tag small { font-size: 0.95rem; font-weight: 600; color: var(--slate-400); }
.price-note { font-size: 0.85rem; color: var(--slate-400); margin-bottom: 1rem; }
.price-card ul { list-style: none; margin: 0.6rem 0 1.6rem; flex: 1; }
.price-card ul li {
  padding: 0.45rem 0 0.45rem 1.7rem; position: relative;
  font-size: 0.95rem; color: var(--slate-200);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.price-card ul li:last-child { border: 0; }
.price-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0.45rem;
  color: var(--gold-400); font-weight: 800;
}
.price-card .btn { margin-top: auto; }
.card.featured { border-color: rgba(217, 165, 33, 0.5); background: linear-gradient(160deg, rgba(217, 165, 33, 0.09), rgba(255, 255, 255, 0.02)); }
.card.featured::before { opacity: 1; }
.pill {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-950); background: var(--gold-400);
  border-radius: 999px; padding: 0.25rem 0.8rem; margin-bottom: 0.9rem;
}

/* ---------- Service detail rows ---------- */
.svc-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem;
  padding: 2.2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.svc-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.svc-row h3 { font-size: 1.15rem; }
.svc-price { color: var(--gold-400); font-weight: 800; margin-top: 0.4rem; font-size: 1.02rem; }
.svc-row p { font-size: 0.97rem; }
@media (max-width: 720px) { .svc-row { grid-template-columns: 1fr; gap: 0.8rem; } }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; margin: 2rem 0; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--gold-500), rgba(217, 165, 33, 0.08));
}
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.2rem; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-900); border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 5px rgba(217, 165, 33, 0.12);
}
.tl-year { font-weight: 800; color: var(--gold-400); font-size: 0.95rem; letter-spacing: 0.08em; }
.tl-item h3 { margin: 0.25rem 0 0.5rem; }
.tl-item p { max-width: 640px; font-size: 0.98rem; }

/* ---------- Quote / band ---------- */
.quote-band {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(217, 165, 33, 0.12), transparent 65%),
    var(--navy-950);
  text-align: center;
}
.quote-band blockquote {
  max-width: 820px; margin: 0 auto;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700; color: var(--white); line-height: 1.35;
}
.quote-band blockquote span { color: var(--gold-400); }
.quote-band cite { display: block; margin-top: 1.4rem; font-style: normal; color: var(--slate-400); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-950) 65%);
  border-block: 1px solid rgba(217, 165, 33, 0.18);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-inner h2 { max-width: 560px; }
.cta-inner p { margin-top: 0.6rem; color: var(--slate-300); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--ink-100); margin-bottom: 0.45rem; }
input, textarea, select {
  width: 100%; font: inherit; color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px; padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
input::placeholder, textarea::placeholder { color: var(--slate-400); }
input:focus, textarea:focus, select:focus {
  border-color: var(--gold-400); background: rgba(217, 165, 33, 0.05); outline: none;
}
select option { background: var(--navy-800); }
textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status {
  margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 10px;
  font-weight: 600; display: none;
}
.form-status.ok { display: block; background: rgba(46, 160, 90, 0.14); border: 1px solid rgba(46, 160, 90, 0.4); color: #7fdca4; }
.form-status.err { display: block; background: rgba(200, 60, 60, 0.14); border: 1px solid rgba(200, 60, 60, 0.4); color: #f0a0a0; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside .card { margin-bottom: 1.2rem; }
.contact-aside a { color: var(--gold-400); text-decoration: none; font-weight: 700; }
.contact-aside a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(217, 165, 33, 0.14);
  padding: 4rem 0 2rem;
  font-size: 0.93rem; color: var(--slate-400);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: var(--slate-300); text-decoration: none; transition: color 0.25s ease; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-logo { width: 250px; margin-bottom: 1.2rem; }
.footer-tagline { max-width: 300px; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.85rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.alt-bg { background: var(--navy-800); }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
