/* ============================================================
   APEX ROOFING & RESTORATION — shared styles (all pages)
   Premium tier demo — Vynirion Forge
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #e2e8f0; background: #0b0f1a; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* VARIABLES */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-pale: rgba(201,168,76,.12);
  --dark: #0b0f1a;
  --dark2: #111827;
  --dark3: #1a2235;
  --slate: #1e2d42;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(11,15,26,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,.15);
  transition: background .3s;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold) 0%, #a07830 100%);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.15rem; color: #0b0f1a;
}
.nav-logo-name { font-weight: 900; font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.nav-logo-sub { font-size: .68rem; color: var(--gold); display: block; letter-spacing: .04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.6); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-btn {
  background: linear-gradient(135deg, var(--gold), #a07830);
  color: #0b0f1a; padding: 10px 22px;
  border-radius: 8px; font-weight: 800; font-size: .84rem; letter-spacing: .01em;
}

/* HERO (home) */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--dark);
  padding: 120px 48px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,168,76,.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(50,80,140,.15) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .035;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px; right: -100px; top: -100px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 300px; height: 300px; left: 10%; bottom: 10%;
  background: radial-gradient(circle, rgba(50,100,200,.1) 0%, transparent 70%);
  animation-delay: -4s;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.04); }
}
.hero-inner {
  max-width: 1120px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(201,168,76,.35); border-radius: 24px;
  padding: 6px 16px 6px 8px; margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}
.hero-eyebrow span { font-size: .75rem; font-weight: 700; color: var(--gold); letter-spacing: .05em; text-transform: uppercase; }
.hero h1 {
  font-size: 3.5rem; font-weight: 900; line-height: 1.08;
  color: #fff; margin-bottom: 24px; letter-spacing: -.02em;
}
.hero h1 .gold { color: var(--gold); }
.hero h1 .outline {
  -webkit-text-stroke: 1px rgba(255,255,255,.3);
  color: transparent;
}
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: 40px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a07830);
  color: #0b0f1a; padding: 15px 32px;
  border-radius: 10px; font-weight: 800; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 32px rgba(201,168,76,.25);
  transition: box-shadow .25s, transform .2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-gold:hover { box-shadow: 0 12px 40px rgba(201,168,76,.4); transform: translateY(-1px); }
.btn-outline-w {
  border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 14px 28px;
  border-radius: 10px; font-weight: 700; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.04);
  transition: background .2s, border-color .2s;
}
.btn-outline-w:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.45); font-weight: 500; }
.hero-trust-item i { color: var(--gold); }

/* HERO RIGHT CARD */
.hero-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 32px; backdrop-filter: blur(8px);
}
.hero-card-title { font-size: .75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.hero-stat-row { display: flex; gap: 16px; margin-bottom: 16px; }
.hero-stat {
  flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 16px; text-align: center;
}
.hero-stat-num { font-size: 1.6rem; font-weight: 900; color: var(--gold); line-height: 1; }
.hero-stat-lbl { font-size: .7rem; color: rgba(255,255,255,.4); margin-top: 4px; }
.hero-reviews { margin-top: 20px; }
.hero-review {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;
}
.hero-review-stars { color: var(--gold); font-size: .72rem; margin-bottom: 6px; }
.hero-review-text { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; margin-bottom: 8px; font-style: italic; }
.hero-review-name { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.35); }
.hero-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold-pale); border: 1px solid rgba(201,168,76,.25);
  border-radius: 10px; padding: 13px; margin-top: 16px;
  font-size: .84rem; font-weight: 700; color: var(--gold); cursor: pointer;
}

/* PAGE HERO (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--dark);
  padding: 160px 48px 72px; text-align: center;
}
.page-hero .hero-bg, .page-hero .hero-grid-lines { position: absolute; inset: 0; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.page-hero h1 {
  font-size: 2.8rem; font-weight: 900; color: #fff;
  letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px;
}
.page-hero h1 .gold { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,.5); font-size: 1rem; line-height: 1.75; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: .6rem; }

/* COUNTER STRIP */
.counter-strip {
  background: var(--dark2); border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06); padding: 40px 48px;
}
.counter-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.counter-item {
  text-align: center; padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.counter-item:last-child { border-right: none; }
.counter-num { font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; }
.counter-label { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 6px; font-weight: 500; }

/* SECTIONS */
.section { padding: 112px 48px; }
.section-dark2 { background: var(--dark2); }
.section-dark3 { background: var(--dark3); }
.wrap { max-width: 1120px; margin: 0 auto; }
.section-label {
  font-size: .72rem; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-size: 2.1rem; font-weight: 900; color: #fff; margin-bottom: 12px; line-height: 1.2; letter-spacing: -.01em; }
.section-sub { color: rgba(255,255,255,.45); font-size: .95rem; line-height: 1.75; margin-bottom: 56px; }
.center { text-align: center; }
.center .section-label { justify-content: center; }
.center .section-label::before { display: none; }
.center .section-sub { max-width: 560px; margin-left: auto; margin-right: auto; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 32px 26px;
  transition: border-color .3s, background .3s, transform .3s;
  position: relative; overflow: hidden;
  display: block;
}
.svc-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,168,76,.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.svc-card:hover { border-color: rgba(201,168,76,.35); background: rgba(201,168,76,.04); transform: translateY(-4px); }
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.05));
  border: 1px solid rgba(201,168,76,.25); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.15rem; margin-bottom: 20px;
}
.svc-card h3 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.svc-card p { font-size: .84rem; color: rgba(255,255,255,.45); line-height: 1.7; }
.svc-arrow { margin-top: 20px; font-size: .8rem; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; }

/* SERVICE DETAIL ROWS (services page) */
.detail-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.detail-row:last-child { border-bottom: none; }
.detail-row.flip .detail-visual { order: 2; }
.detail-visual {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; position: relative; overflow: hidden;
}
.detail-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(201,168,76,.08) 0%, transparent 70%);
}
.detail-body h3 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.01em; }
.detail-body p { font-size: .92rem; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 20px; }
.detail-list { list-style: none; margin-bottom: 24px; }
.detail-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: 10px; line-height: 1.6;
}
.detail-list li i { color: var(--gold); margin-top: 3px; font-size: .8rem; }

/* TIMELINE PROCESS */
.timeline { position: relative; padding-left: 48px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,.1));
}
.timeline-step { position: relative; margin-bottom: 48px; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -41px; top: 6px;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #a07830);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .8rem; color: #0b0f1a;
  box-shadow: 0 0 0 4px rgba(201,168,76,.15), 0 0 20px rgba(201,168,76,.2);
}
.timeline-step h4 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.timeline-step p { font-size: .86rem; color: rgba(255,255,255,.45); line-height: 1.7; }
.timeline-badge {
  display: inline-block; background: var(--gold-pale); border: 1px solid rgba(201,168,76,.25);
  color: var(--gold); font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 12px; margin-top: 8px;
}
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.process-visual {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; padding: 36px; text-align: center;
}
.process-visual-icon { font-size: 4rem; margin-bottom: 16px; }
.process-visual h3 { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.process-visual p { font-size: .84rem; color: rgba(255,255,255,.4); line-height: 1.65; margin-bottom: 20px; }
.process-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-pale); border: 1px solid rgba(201,168,76,.2);
  border-radius: 20px; padding: 8px 16px; font-size: .8rem; font-weight: 700; color: var(--gold);
}

/* GALLERY GRID */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-card {
  border-radius: 14px; overflow: hidden; position: relative;
  background: var(--dark3); border: 1px solid rgba(255,255,255,.07);
  aspect-ratio: 4/3; display: flex; align-items: flex-end;
  transition: transform .3s, border-color .3s, opacity .35s;
}
.gallery-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.35); }
.gallery-card.filtered-out { display: none; }
.gallery-fill {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.gallery-overlay {
  position: relative; z-index: 1; width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  padding: 16px;
}
.gallery-tag {
  display: inline-block; background: var(--gold-pale); border: 1px solid rgba(201,168,76,.3);
  color: var(--gold); font-size: .68rem; font-weight: 700;
  padding: 3px 9px; border-radius: 8px; margin-bottom: 4px;
}
.gallery-title { font-size: .84rem; font-weight: 700; color: #fff; }
.gallery-sub { font-size: .74rem; color: rgba(255,255,255,.45); }

/* FILTER BAR (projects page) */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55); font-family: inherit;
  font-size: .8rem; font-weight: 700; padding: 9px 20px;
  border-radius: 100px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: rgba(201,168,76,.4); color: var(--gold); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), #a07830);
  border-color: transparent; color: #0b0f1a;
}

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 28px;
}
.testi-stars { color: var(--gold); font-size: .82rem; margin-bottom: 14px; }
.testi-quote { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 22px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #7a5c20);
  display: flex; align-items: center; justify-content: center;
  color: #0b0f1a; font-weight: 800; font-size: .88rem; flex-shrink: 0;
}
.testi-name { font-size: .88rem; font-weight: 700; color: #fff; }
.testi-loc { font-size: .76rem; color: rgba(255,255,255,.35); }

/* TEAM (about page) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 32px 24px; text-align: center;
  transition: border-color .3s, transform .3s;
}
.team-card:hover { border-color: rgba(201,168,76,.35); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold), #7a5c20);
  display: flex; align-items: center; justify-content: center;
  color: #0b0f1a; font-weight: 900; font-size: 1.4rem;
}
.team-name { font-size: .95rem; font-weight: 800; color: #fff; }
.team-role { font-size: .76rem; color: var(--gold); font-weight: 700; margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }
.team-bio { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.65; margin-top: 12px; }

/* CERTIFICATION STRIP (about page) */
.cert-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-item {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 24px 18px; text-align: center;
}
.cert-item i { font-size: 1.6rem; color: var(--gold); margin-bottom: 12px; }
.cert-item h4 { font-size: .84rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.cert-item p { font-size: .72rem; color: rgba(255,255,255,.35); line-height: 1.5; }

/* FAQ (services page) */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(201,168,76,.35); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer; font-family: inherit;
  padding: 20px 24px; font-size: .92rem; font-weight: 700; color: #fff; text-align: left;
}
.faq-q i { color: var(--gold); transition: transform .3s; font-size: .8rem; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px; font-size: .86rem; color: rgba(255,255,255,.5); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* CTA SECTION */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0d1525 0%, #1a2235 100%);
  padding: 96px 48px; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,168,76,.07) 0%, transparent 70%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.cta-section h2 span { color: var(--gold); }
.cta-section p { color: rgba(255,255,255,.5); margin-bottom: 36px; font-size: .97rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-left h3 { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.contact-left p { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.75; margin-bottom: 32px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.cd-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.05));
  border: 1px solid rgba(201,168,76,.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.cd-label { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .05em; }
.cd-value { font-size: .92rem; font-weight: 700; color: #fff; margin-top: 2px; }
.form-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 36px;
}
.form-card h4 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 24px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fg label { font-size: .76rem; font-weight: 700; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .04em; }
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 12px 16px; font-family: inherit;
  font-size: .88rem; color: #fff; outline: none; transition: border-color .2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.25); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: rgba(201,168,76,.5); }
.fg select option { background: #1a2235; color: #fff; }
.fg textarea { resize: vertical; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; background: linear-gradient(135deg, var(--gold), #a07830);
  color: #0b0f1a; border: none; padding: 15px; border-radius: 10px;
  font-weight: 800; font-size: .92rem; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 8px 28px rgba(201,168,76,.2); margin-top: 6px;
  transition: box-shadow .25s, transform .2s;
}
.form-submit:hover { box-shadow: 0 12px 36px rgba(201,168,76,.35); transform: translateY(-1px); }

/* MAP PLACEHOLDER (contact page) */
.map-panel {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; overflow: hidden; margin-top: 56px;
  aspect-ratio: 21/7; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; text-align: center; position: relative;
}
.map-panel::before {
  content: ''; position: absolute; inset: 0; opacity: .05;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-panel i { font-size: 2.4rem; color: var(--gold); position: relative; }
.map-panel h4 { color: #fff; font-weight: 800; font-size: 1rem; position: relative; }
.map-panel p { color: rgba(255,255,255,.4); font-size: .82rem; position: relative; }

/* FOOTER */
footer {
  background: #080c14; border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 48px 28px;
}
.footer-top {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: .83rem; color: rgba(255,255,255,.3); line-height: 1.7; margin-top: 14px; }
.footer-col h4 { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .84rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.05);
  font-size: .78rem; color: rgba(255,255,255,.2);
}
.footer-rating { display: flex; align-items: center; gap: 6px; color: var(--gold); font-size: .78rem; font-weight: 700; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-28px); transition: opacity .6s ease, transform .6s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .process-layout { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .detail-row { grid-template-columns: 1fr; gap: 32px; }
  .detail-row.flip .detail-visual { order: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 64px; }
  .hero h1 { font-size: 2.4rem; }
  .page-hero { padding: 130px 24px 56px; }
  .page-hero h1 { font-size: 2rem; }
  .section { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .counter-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .counter-item { border-right: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
}
