/* ============================================================
   Peterson Structural Solutions — premium styles
   Fonts: Sora (headings) + Inter (body). Plain CSS, no build.
   ============================================================ */

:root {
  --navy:      #0d2136;
  --navy-700:  #16324c;
  --navy-800:  #0a1a2b;
  --steel:     #3f7bb0;
  --steel-600: #2f5f8c;
  --amber:     #e0912f;
  --amber-600: #c67c1f;
  --ink:       #1b2734;
  --muted:     #5a6b7b;
  --line:      #e4ebf2;
  --bg:        #ffffff;
  --bg-alt:    #f4f8fc;
  --bg-tint:   #eef4fa;
  --white:     #ffffff;
  --radius:    16px;
  --radius-sm: 11px;
  --maxw:      1160px;
  --shadow-sm: 0 2px 10px rgba(13,33,54,.06);
  --shadow:    0 14px 40px rgba(13,33,54,.10);
  --shadow-lg: 0 30px 70px rgba(13,33,54,.16);
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; color: var(--navy); margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; }
a  { color: var(--steel-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--navy); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
  font-weight: 700; color: var(--steel); margin: 0 0 .7rem;
}
.accent { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.7rem; border-radius: 999px; font-family: var(--font-head);
  font-weight: 700; font-size: .98rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .15s ease;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--amber), var(--amber-600));
  color: #241503; border-color: transparent;
  box-shadow: 0 10px 24px rgba(224,145,47,.35);
}
.btn-primary:hover { color: #241503; box-shadow: 0 16px 32px rgba(224,145,47,.45); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(13,33,54,.22); }
.btn-outline:hover { color: var(--navy); border-color: var(--navy); background: rgba(13,33,54,.04); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(228,235,242,.9);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 54px; width: auto; display: block; }
.brand-name { font-family: var(--font-head); font-size: 1.02rem; }
.nav-menu { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-menu a:hover { color: var(--steel-600); }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: .6rem 1.25rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--navy-700); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero (light, premium) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfdff 0%, var(--bg-tint) 100%); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(63,123,176,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,123,176,.14) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 72%);
}
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(63,123,176,.20), transparent 70%);
}
.hero-inner { position: relative; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 26px clamp(3.5rem, 8vw, 6rem); }
.hero-logo {
  width: min(520px, 82%); height: auto; margin: 0 auto 1.8rem;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(13,33,54,.16));
}
.hero h1 { margin-bottom: .5rem; }
.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 62ch; margin: 1.1rem auto 0; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 2rem 0 2.6rem; }
.hero-trust {
  display: flex; gap: 0; flex-wrap: wrap; justify-content: center; list-style: none;
  padding: 1.5rem 0 0; margin: 0; border-top: 1px solid var(--line); max-width: 720px; margin-inline: auto;
}
.hero-trust li { flex: 1; min-width: 150px; display: flex; flex-direction: column; padding: 0 1rem; position: relative; }
.hero-trust li + li::before { content: ""; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: var(--line); }
.hero-trust strong { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; font-weight: 700; }
.hero-trust span { color: var(--muted); font-size: .88rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin-bottom: 2.4rem; }

/* ---------- Value pillars band ---------- */
.pillars-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #dce8f3; padding: 3rem 0; position: relative;
}
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.2rem; }
.pillar { text-align: center; padding: 0 .5rem; }
.pillar-icon {
  font-size: 1.7rem; display: inline-grid; place-items: center; width: 60px; height: 60px;
  border-radius: 16px; margin-bottom: .8rem;
  background: rgba(224,145,47,.14); border: 1px solid rgba(224,145,47,.3);
}
.pillar h3 { color: #fff; margin-bottom: .4rem; }
.pillar p { color: #9fbcd6; margin: 0; font-size: .97rem; }

/* ---------- Pricing & turnaround ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.4rem; margin-bottom: 1.8rem; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured {
  border: 0; color: #fff;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute; top: -13px; left: 1.7rem;
  background: linear-gradient(180deg, var(--amber), var(--amber-600)); color: #241503;
  font-family: var(--font-head); font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .35rem .8rem; border-radius: 999px; box-shadow: 0 6px 14px rgba(224,145,47,.4);
}
.price-card h3 { color: var(--navy); margin-bottom: .6rem; }
.price-card.featured h3 { color: #fff; }
.price { font-family: var(--font-head); font-size: 1rem; color: var(--ink); margin: 0 0 .6rem; }
.price-card.featured .price { color: #cfe0f0; }
.price strong { font-size: 1.7rem; font-weight: 800; color: var(--steel-600); letter-spacing: -0.02em; }
.price-card.featured .price strong { color: var(--amber); }
.price-desc { color: var(--muted); margin: 0 0 .5rem; }
.price-card.featured .price-desc { color: #b9cfe3; }
.price-card.featured .price-desc strong { color: #fff; }
.price-from { color: var(--navy); font-weight: 600; font-size: .9rem; margin: 0; }
.price-card.featured .price-from { color: #8fb2d0; }
.price-fine { color: var(--muted); font-size: .98rem; margin: 0 0 1.6rem; }

/* ---------- Feature service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: box-shadow .2s ease, transform .2s ease, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card h3 { color: var(--navy); }
.card p { color: var(--muted); margin: 0; }
.card-feature { border-top: 3px solid var(--steel); }
.card-tag {
  display: inline-block; background: var(--bg-tint); color: var(--steel-600);
  font-family: var(--font-head); font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .28rem .65rem; border-radius: 999px; margin-bottom: .8rem;
}

/* ---------- Two column layout ---------- */
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.checklist li { padding-left: 2rem; position: relative; margin-bottom: .7rem; color: var(--ink); }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; color: var(--amber); font-weight: 800;
  width: 22px; height: 22px; background: rgba(224,145,47,.12); border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
}
.about-panel { display: grid; gap: 1.1rem; }
.stat {
  background: linear-gradient(160deg, var(--navy), var(--navy-700)); color: #fff;
  border-radius: var(--radius); padding: 1.5rem 1.7rem; box-shadow: var(--shadow-sm);
}
.stat-num { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--amber); letter-spacing: -0.02em; }
.stat-label { color: #b9cee0; font-size: .92rem; }

/* ---------- Process steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1.6rem; }
.steps li { position: relative; padding-top: .5rem; }
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(160deg, var(--steel), var(--steel-600)); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: .9rem; box-shadow: var(--shadow-sm);
}
.steps h3 { color: var(--navy); }
.steps p { color: var(--muted); }

/* ---------- Projects gallery (masonry — shows full, uncropped photos) ---------- */
.gallery { column-count: 3; column-gap: 1.4rem; }
.project {
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  margin: 0 0 1.4rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s;
  display: inline-block; width: 100%;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-img { width: 100%; height: auto; display: block; background: linear-gradient(135deg, #c6d6e6, #9fb6cb); }
.project figcaption { padding: 1.1rem 1.3rem; display: flex; flex-direction: column; }
.project figcaption strong { font-family: var(--font-head); color: var(--navy); }
.project figcaption span { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 800px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.4rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); padding: 1.15rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--steel); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.15rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.contact-list li { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-label { min-width: 110px; color: var(--muted); font-weight: 600; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; display: grid; gap: 1rem; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); }
.contact-form input, .contact-form textarea { font: inherit; font-family: var(--font-body); padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); transition: border-color .15s, background .15s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--steel); background: #fff; box-shadow: 0 0 0 3px rgba(63,123,176,.15); }
.form-note { font-size: .82rem; color: var(--muted); font-weight: 400; margin: 0; font-family: var(--font-body); }
.label-hint { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .82rem; }
.contact-form input[type="file"] {
  font-family: var(--font-body); font-size: .9rem; padding: .7rem .8rem; cursor: pointer;
  border: 1px dashed var(--line); background: var(--bg-alt); color: var(--muted);
}
.contact-form input[type="file"]::file-selector-button {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; cursor: pointer;
  margin-right: .8rem; padding: .45rem .9rem; border: 0; border-radius: 8px;
  background: var(--navy); color: #fff;
}
.contact-form input[type="file"]:hover { border-color: var(--steel); }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); color: #cdddec; padding: 3rem 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-footer .brand-name { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.footer-fine { font-size: .86rem; color: #9fbdd8; margin: .35rem 0 0; }
.footer-fine a { color: #cdddec; }
.footer-fine a:hover { color: #fff; }
.footer-copy { font-size: .84rem; color: #7fa0bd; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2.4rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 26px 1rem; display: none;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .85rem 0; width: 100%; }
  .nav-cta { display: inline-block; margin-top: .4rem; }
  .hero-trust li + li::before { display: none; }
  .hero-trust li { min-width: 120px; margin-bottom: .5rem; }
  .gallery { column-count: 2; }
}

@media (max-width: 560px) {
  .gallery { column-count: 1; }
}

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