/* ===== Design tokens =====
   Fixed brand identity (mirrors the real company's own brand-locked site) —
   every color below is painted explicitly rather than left to inherit, so
   the page holds its identity on any host background regardless of the
   viewer's OS theme. Palette is drawn from the trade itself: blueprint navy,
   brass-fitting gold, poured-concrete white, site-pencil charcoal. */
:root {
  --navy: #1b2a3a;
  --navy-dark: #0f1c28;
  --gold: #c8933f;
  --gold-dark: #a97527;
  --cream: #eef1f4;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #dfe3e8;
  --gray-500: #666e78;
  --gray-600: #464e58;
  --gray-700: #23262b;
  --white: #ffffff;
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(15, 28, 40, 0.1);
  --shadow-lg: 0 12px 32px rgba(15, 28, 40, 0.16);
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, .stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

.section-tag {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.section-header p { color: var(--gray-500); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-secondary { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ===== Placeholder image blocks ===== */
.placeholder-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3a4f66, var(--navy) 60%, #16232f);
  color: rgba(255,255,255,0.85);
  text-align: center;
  overflow: hidden;
  min-height: 220px;
}

.placeholder-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.045) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.045) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.045) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.045) 75%);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

.placeholder-img__label {
  position: relative;
  padding: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.placeholder-img__label svg { display: block; margin: 0 auto 10px; opacity: 0.8; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.brand__text span { display: block; font-size: 0.72rem; font-weight: 500; color: var(--gray-500); }

.brand__logo { height: 44px; width: auto; display: block; }

@media (max-width: 600px) {
  .brand__logo { height: 34px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }

.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, rgba(24,40,56,0.92), rgba(24,40,56,0.88)), var(--navy);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,77,0.18);
  border: 1px solid rgba(201,151,77,0.4);
  color: #e9c98a;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  max-width: 780px;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }

.hero-call {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.hero-call a { font-weight: 700; color: var(--white); font-size: 1.05rem; }

/* ===== Trust strip ===== */
.trust-strip { padding: 56px 0; background: var(--gray-50); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust-card { text-align: left; }

.trust-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(201,151,77,0.14);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.trust-card p { font-size: 0.9rem; color: var(--gray-500); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--gray-500); font-size: 0.94rem; margin-bottom: 18px; }
.service-card .learn-more { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }

.section-footer-link { text-align: center; margin-top: 44px; }

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.project-card .placeholder-img { height: 220px; }

.project-card__body { padding: 24px; }

.project-card__tag {
  display: inline-block;
  background: var(--cream);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.project-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.project-card p { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 16px; }
.project-card .view-project { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }

/* ===== Stats ===== */
.stats { background: var(--navy); color: var(--white); padding: 56px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 24px;
}

.stat-number { font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 6px; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

.testimonial-card blockquote {
  color: var(--gray-700);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; color: var(--navy); font-size: 0.92rem; }
.testimonial-author span { color: var(--gray-500); font-size: 0.85rem; }

.accreditations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--gray-200);
}

.accreditation-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
}

.accreditation-badge__mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.8rem;
}

.accreditation-badge span { font-size: 0.8rem; font-weight: 600; }

/* ===== About ===== */
.about { background: var(--gray-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media .placeholder-img { min-height: 380px; border-radius: var(--radius); }

.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: 20px; }
.about-content p { color: var(--gray-600); margin-bottom: 16px; }

.about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.about-badge { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.about-badge svg { color: var(--gold-dark); flex-shrink: 0; }

/* ===== Areas ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.area-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.area-pill:hover { border-color: var(--gold); color: var(--gold-dark); }

.areas-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  flex-wrap: wrap;
  text-align: center;
}

.areas-note strong { display: block; font-size: 1.1rem; }
.areas-note span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 4px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.faq-question .icon { flex-shrink: 0; transition: transform 0.2s ease; color: var(--gold-dark); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  color: var(--gray-600);
  font-size: 0.95rem;
  padding: 0 4px;
}

.faq-item.open .faq-answer { max-height: 320px; padding: 0 4px 22px; }

/* ===== Final CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.final-cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 34px; }
.final-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info-row:last-child { margin-bottom: 0; }

.contact-info-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(201,151,77,0.14);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-row strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 2px; }
.contact-info-row a, .contact-info-row span { color: var(--gray-600); font-size: 0.94rem; }

.social-row { display: flex; gap: 12px; margin-top: 28px; }

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}

.social-icon:hover { background: var(--navy); color: var(--white); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }

.form-field input, .form-field textarea {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-700);
  background: var(--white);
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.82rem; color: var(--gray-500); }

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 8px;
  display: none;
}

.form-status.visible { display: block; }
.form-status.success { background: #e5f6ec; color: #1b7a43; }
.form-status.error { background: #fdecec; color: #b3261e; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 700; margin-bottom: 16px; }

.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Project detail page ===== */
.breadcrumb-bar { background: var(--gray-50); padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.breadcrumb-bar a { color: var(--gray-500); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb-bar a:hover { color: var(--gold-dark); }

.project-hero { padding: 56px 0 0; }
.project-hero .placeholder-img { min-height: 420px; border-radius: var(--radius); margin-bottom: 40px; }

.project-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; padding-bottom: 90px; }

.project-detail-main h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--navy); margin-bottom: 16px; }
.project-detail-main p { color: var(--gray-600); margin-bottom: 16px; }

.project-facts {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  align-self: start;
}

.project-fact { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.92rem; }
.project-fact:last-of-type { border-bottom: none; }
.project-fact strong { color: var(--navy); }

.project-facts .btn { width: 100%; margin-top: 20px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .projects-grid, .testimonials-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .project-detail-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .trust-grid, .services-grid, .projects-grid, .testimonials-grid, .stats-grid, .areas-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .accreditations { gap: 28px; }
  .hero { padding: 90px 0 64px; }
}
