:root {
  --brand-navy: #0f172a;
  --brand-navy-light: #1e293b;
  --brand-orange: #f97316;
  --brand-orange-dark: #ea580c;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --border: #e2e8f0;
  --radius: 0.75rem;
  --container: 1280px;
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background: var(--bg-main);
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 0.375rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--brand-navy);
}

.logo-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  opacity: 0.85;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--brand-orange);
}

.btn-quote {
  background: var(--brand-orange);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-quote:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(249,115,22,0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  position: relative;
  transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Mobile nav */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .btn-quote {
    margin-top: 1rem;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }
}

/* Sections general */
.section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 40rem;
}

/* Hero */
.section-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.7), rgba(15,23,42,0.85));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.hero-content .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 30rem;
  margin-bottom: 1rem;
}

.hero-content .lead {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 30rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-accent {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249,115,22,0.3);
}

.btn-accent:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
}

/* Services */
.section-services {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,0.4);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brand-navy);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* About */
.section-about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-main .lead {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  opacity: 0.85;
}

.about-main p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.about-values {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--bg-secondary);
}

.about-values h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
  margin-bottom: 1.25rem;
}

.about-values ul {
  list-style: none;
}

.about-values li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-values strong {
  color: var(--brand-navy);
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Stats */
.section-stats {
  background: var(--brand-navy);
  color: #fff;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Contact */
.section-contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-cards {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}

.contact-value {
  font-weight: 600;
  color: var(--brand-navy);
}

/* Quote Form */
.quote-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: var(--bg-secondary);
  color: var(--text-main);
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

.form-span-2 {
  grid-column: span 2;
}

.btn-full {
  width: 100%;
  margin-top: 1.25rem;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.5rem;
}

.form-message.success { color: #16a34a; }
.form-message.error { color: #dc2626; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-span-2 { grid-column: span 1; }
}

/* Footer */
.site-footer {
  background: var(--brand-navy);
  color: #fff;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.5rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 0.375rem;
  background: rgba(255,255,255,0.95);
  padding: 0.25rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  opacity: 0.7;
  max-width: 20rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--brand-orange);
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 404 */
.not-found {
  text-align: center;
  padding: 6rem 1.5rem;
}

.not-found h1 {
  font-size: 6rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1;
}

.not-found h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.not-found p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
