/* ═══════════════════════════════════════════
   OSP Design Group — Main Stylesheet
   src/assets/style.css
═══════════════════════════════════════════ */

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #0b1622;
  --navy:   #122040;
  --blue:   #1a3d6e;
  --steel:  #2e6fa8;
  --sky:    #5baee0;
  --gold:   #e8a820;
  --amber:  #f5c445;
  --pale:   #f2f6fb;
  --border: #d8e4f0;
  --muted:  #7a90ab;
  --white:  #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 66px;
  background: rgba(11, 22, 34, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 168, 32, 0.18);
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: -0.01em;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.84rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-btn {
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 0.82rem;
  padding: 0.5rem 1.4rem; border-radius: 3px;
  text-decoration: none; letter-spacing: 0.03em;
  transition: background 0.2s;
}
.nav-btn:hover { background: var(--amber); }

/* ─── HERO ─── */
#home {
  position: relative; min-height: 100vh; padding-top: 66px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1800&auto=format&fit=crop&q=80') center / cover no-repeat;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11, 22, 34, 0.92) 45%,
    rgba(11, 22, 34, 0.55) 100%
  );
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 5rem 6%; max-width: 720px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1.5px; background: var(--gold);
}
h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 700; line-height: 1.0;
  color: var(--white); margin-bottom: 1.3rem; letter-spacing: -0.02em;
}
h1 em { font-style: italic; color: var(--sky); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.72);
  max-width: 540px; margin-bottom: 2.2rem;
  line-height: 1.75; font-weight: 300;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 0.78rem 1.9rem; border-radius: 3px;
  font-weight: 700; font-size: 0.88rem;
  text-decoration: none; letter-spacing: 0.03em;
  transition: all 0.2s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 168, 32, 0.35);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }

/* ─── HERO STATS ─── */
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-n {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-l {
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
  margin-top: 0.2rem; font-weight: 400; letter-spacing: 0.04em;
}

/* ─── TRUST BAR ─── */
.trust {
  background: var(--gold); padding: 0.75rem 6%;
  display: flex; gap: 2rem; flex-wrap: wrap;
  align-items: center; justify-content: center;
}
.trust-item {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); display: flex; align-items: center; gap: 0.4rem;
}

/* ─── SHARED SECTION STYLES ─── */
section { padding: 5.5rem 6%; }
.sec-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 0.65rem;
}
h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700; color: var(--ink);
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem;
}
h2 span { color: var(--steel); }
.lead {
  font-size: 0.98rem; color: #5e7488;
  max-width: 580px; line-height: 1.8;
  margin-bottom: 2.5rem; font-weight: 400;
}

/* ─── PHOTO STRIP ─── */
.photo-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; height: 280px; overflow: hidden;
}
.photo-strip-item { overflow: hidden; position: relative; }
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-strip-item:hover img { transform: scale(1.05); }
.photo-strip-item .ps-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(11,22,34,0.85));
  padding: 0.75rem 1rem 0.65rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* ─── SERVICES ─── */
#services { background: var(--pale); }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.svc {
  background: var(--white); padding: 1.8rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.svc:hover {
  border-bottom-color: var(--gold);
  box-shadow: 0 6px 28px rgba(0,0,0,0.07);
}
.svc-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.svc h3 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 0.45rem; letter-spacing: -0.01em;
}
.svc p { font-size: 0.82rem; color: #5e7488; line-height: 1.65; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.9rem; }
.tag {
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  background: rgba(46,111,168,0.09); color: var(--steel); border-radius: 2px;
}

/* ─── FEATURE ROW ─── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 420px;
}
.feature-photo { overflow: hidden; position: relative; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,22,34,0.6), transparent);
}
.feature-content {
  background: var(--navy); padding: 4rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
}
.feature-content .sec-label { color: var(--sky); }
.feature-content h2 { color: var(--white); }
.feature-content .lead { color: rgba(255,255,255,0.55); margin-bottom: 0; }

/* ─── PROCESS ─── */
#process { background: var(--white); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 1.1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-n {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem; font-weight: 700;
  color: var(--gold); line-height: 1; flex-shrink: 0; width: 42px;
}
.step strong {
  display: block; font-weight: 700;
  font-size: 0.9rem; color: var(--ink); margin-bottom: 0.2rem;
}
.step p { font-size: 0.82rem; color: #5e7488; line-height: 1.6; }
.cap-box {
  background: var(--pale); border-left: 3px solid var(--steel);
  padding: 1.6rem;
}
.cap-box h3 {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink); margin-bottom: 0.9rem;
}
.cap-item {
  display: flex; gap: 0.55rem; align-items: flex-start;
  padding: 0.42rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.81rem; color: #5e7488;
}
.cap-item:last-child { border-bottom: none; }
.dot {
  width: 5px; height: 5px; background: var(--gold);
  border-radius: 50%; flex-shrink: 0; margin-top: 0.52rem;
}

/* ─── DRAFTING & PERMITTING ─── */
#permitting {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.permit-photo { position: relative; overflow: hidden; }
.permit-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.permit-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(22,32,64,0.85));
}
.permit-content {
  background: var(--navy); padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.permit-content .sec-label { color: var(--sky); }
.permit-content h2 { color: var(--white); font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.permit-content .lead { color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; }
.permit-grid { display: flex; flex-direction: column; gap: 0.7rem; }
.pcrd {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--gold);
  transition: background 0.2s;
}
.pcrd:hover { background: rgba(255,255,255,0.09); }
.pcrd h3 {
  font-size: 0.88rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.25rem;
}
.pcrd p { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* ─── WHY US ─── */
#why { background: var(--pale); }
.why-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.features { display: flex; flex-direction: column; gap: 0.85rem; }
.feat {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem; background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feat:hover { border-color: var(--gold); box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; border-radius: 3px;
}
.feat strong {
  display: block; font-weight: 700;
  font-size: 0.88rem; color: var(--ink); margin-bottom: 0.2rem;
}
.feat p { font-size: 0.8rem; color: #5e7488; line-height: 1.55; }

/* ─── WHY PHOTO STACK ─── */
.why-photo-stack { display: flex; flex-direction: column; gap: 4px; }
.why-photo-main { overflow: hidden; height: 260px; }
.why-photo-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.why-photo-main:hover img { transform: scale(1.04); }
.why-photo-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 160px; }
.why-photo-sub div { overflow: hidden; }
.why-photo-sub img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.why-photo-sub div:hover img { transform: scale(1.06); }

/* ─── CONTACT ─── */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-intro p {
  font-size: 0.88rem; color: #5e7488;
  line-height: 1.75; margin-bottom: 1.5rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.cd { display: flex; gap: 0.8rem; align-items: flex-start; }
.cd-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--pale); border: 1px solid var(--border);
  color: var(--steel);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; border-radius: 3px;
}
.cd strong {
  display: block; font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.2rem;
}
.cd span, .cd a { font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.cd a:hover { color: var(--steel); }
.contact-form { display: flex; flex-direction: column; gap: 0.8rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.fg { display: flex; flex-direction: column; gap: 0.3rem; }
.fg label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
}
.fg input, .fg select, .fg textarea {
  border: 1.5px solid var(--border); border-radius: 3px;
  padding: 0.65rem 0.85rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; color: var(--ink);
  background: var(--white); outline: none; width: 100%;
  transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--steel); }
.fg textarea { resize: vertical; min-height: 105px; }
.submit {
  background: var(--gold); color: var(--ink);
  border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.88rem;
  padding: 0.75rem 2rem; border-radius: 3px;
  letter-spacing: 0.03em;
  transition: all 0.2s; align-self: flex-start;
}
.submit:hover {
  background: var(--amber);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 168, 32, 0.3);
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink); padding: 2.5rem 6% 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 2rem;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.footer-brand { max-width: 260px; }
.footer-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.45rem;
}
.footer-name span { color: var(--gold); }
.footer-brand p { font-size: 0.8rem; color: #566878; line-height: 1.65; }
.footer-cols { display: flex; gap: 4rem; }
.fc h4 {
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 0.42rem; }
.fc a { font-size: 0.8rem; color: #566878; text-decoration: none; transition: color 0.2s; }
.fc a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.72rem; color: #3d5060; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: #4a6070; text-decoration: none; }
.footer-bottom a:hover { color: var(--muted); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.15s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .two-col, .why-wrap, .contact-grid { grid-template-columns: 1fr; }
  #permitting { grid-template-columns: 1fr; }
  .permit-photo { height: 300px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-photo { height: 280px; }
  .photo-strip { height: 200px; }
  .footer-cols { gap: 2rem; }
  .nav-links { display: none; }
}
@media (max-width: 580px) {
  .photo-strip { grid-template-columns: 1fr; height: auto; }
  .photo-strip-item { height: 180px; }
  .frow { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .trust { gap: 0.9rem; }
  .footer-cols { flex-direction: column; gap: 1.5rem; }
}
