/* ================================
   Star Construction – Stylesheet
   Palette: Navy #0A2540 / Yellow #F5B700
   ================================ */

:root {
  --navy: #0A2540;
  --navy-2: #102E4F;
  --navy-3: #0B1B30;
  --yellow: #F5B700;
  --yellow-2: #FFC933;
  --ink: #0F1B2D;
  --muted: #5B6B82;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --border: #E5EAF1;
  --shadow-sm: 0 2px 8px rgba(10,37,64,0.06);
  --shadow: 0 12px 32px rgba(10,37,64,0.10);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--yellow); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-family: 'Inter', sans-serif; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(245,183,0,0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--yellow); background: rgba(245,183,0,0.18); }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.btn-primary:hover { background: var(--yellow-2); border-color: var(--yellow-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-block { width: 100%; }

/* Top bar */
.topbar {
  background: var(--navy-3);
  color: #cfd9e6;
  font-size: 0.84rem;
}
.topbar-inner {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: center; justify-content: center;
  padding: 9px 22px;
}
.topbar a { color: var(--yellow); font-weight: 600; }
.topbar .dot { color: var(--yellow); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 22px;
  min-height: 110px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 110px;
  width: auto;
  display: block;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.96rem;
}
.nav a:hover { color: var(--yellow); }
.nav-cta { padding: 10px 18px !important; }

.hamburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10,37,64,0.88) 0%, rgba(11,27,48,0.82) 60%, rgba(10,37,64,0.7) 100%),
    radial-gradient(900px 500px at 85% 0%, rgba(245,183,0,0.18), transparent 60%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}
.hero-inner {
  position: relative;
  padding: 90px 22px 110px;
}
.hero h1 { color: #fff; max-width: 900px; }
.hero .eyebrow { background: rgba(245,183,0,0.18); }
.hero .lead {
  font-size: 1.15rem;
  color: #d6dfeb;
  max-width: 720px;
  margin: 14px 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 36px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.6rem; color: var(--yellow); font-family: 'Barlow Condensed', sans-serif; }
.hero-trust span { color: #c2cdde; font-size: 0.9rem; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: #d6dfeb; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #c2cdde; }

/* Services grid */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--yellow);
}
.card .icon {
  width: 52px; height: 52px;
  background: rgba(245,183,0,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.card p { color: var(--muted); font-size: 0.95rem; margin: 6px 0 0; }

/* Service card lists */
.card-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.card-list li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
}
.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--yellow);
  font-weight: 800;
}

/* "Don't see your project?" CTA card */
.card-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  border-color: var(--navy);
  color: #fff;
}
.card-cta:hover { border-color: var(--yellow); }
.card-cta h3 { color: #fff; }
.card-cta p { color: #c2cdde; }
.card-cta .icon {
  background: rgba(245,183,0,0.2);
  color: var(--yellow);
}
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--yellow);
  font-size: 0.95rem;
}
.card-link:hover { color: var(--yellow-2); }

/* Process subsection */
.process {
  margin-top: 80px;
  padding-top: 70px;
  border-top: 1px solid var(--border);
}
.process .section-head { margin-bottom: 40px; }
.grid-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.process-step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.process-step p { color: var(--muted); margin: 6px 0 0; font-size: 0.95rem; }

/* Why grid */
.grid-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.why-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
}
.why-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  color: var(--yellow);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.why-item p { color: var(--muted); margin: 6px 0 0; }

/* Estimate */
.grid-estimate {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  align-items: start;
}
.estimate-info h2 { color: #fff; }
.estimate-info a { color: var(--yellow); font-weight: 700; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { color: #d6dfeb; padding: 6px 0; font-weight: 500; }

.estimate-form {
  background: #fff;
  color: var(--ink);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.estimate-form label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,183,0,0.2);
}
.estimate-form textarea { resize: vertical; }
.estimate-form small { color: var(--muted); font-weight: 500; font-size: 0.82rem; display: block; margin-top: 4px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note { margin: 14px 0 0; font-weight: 600; }
.form-note.success { color: #0a8754; }
.form-note.error { color: #c0392b; }

/* Contact */
.grid-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--yellow);
  color: var(--ink);
}
.contact-icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.contact-card span { color: var(--muted); font-size: 0.88rem; }

/* Footer */
.footer {
  background: var(--navy-3);
  color: #c2cdde;
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 60px; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-brand p { margin-top: 14px; font-size: 0.95rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-cols h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 14px; }
.footer-cols a, .footer-cols span {
  display: block;
  color: #c2cdde;
  padding: 4px 0;
  font-size: 0.92rem;
}
.footer-cols a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 0.85rem;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-estimate { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav {
    position: absolute; top: 100%; right: 0; left: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 22px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hamburger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero-inner { padding: 60px 22px 80px; }
  .hero-trust { gap: 22px; }
}
