/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue-900: #003831;
  --blue-700: #004d40;
  --blue-500: #006847;
  --blue-400: #00875a;
  --blue-100: #d4edda;
  --charcoal: #1a1a1a;
  --slate: #4a5568;
  --gray-100: #f7f8f6;
  --gray-200: #e4e8e0;
  --white: #ffffff;
  --accent: #efb21f;
  --accent-light: #ffd740;
  --red: #e74c3c;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 6px rgba(0,0,0,.07), 0 12px 28px rgba(0,0,0,.1);
  --radius: 8px;
  --radius-lg: 12px;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--charcoal); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* === Nav === */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.25rem; color: var(--blue-900); }
.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--blue-500); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--blue-500); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--charcoal); position: absolute; left: 0; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--blue-500); color: var(--white); border-color: var(--blue-500); }
.btn-primary:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* === Hero === */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, #005a3c 100%); color: var(--white); padding: 120px 0 80px; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; max-width: 720px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.15; margin-bottom: 20px; }
.hero-accent { color: var(--accent-light); }
.hero-sub { font-size: 1.2rem; opacity: .9; margin-bottom: 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,.12); padding: 8px 16px; border-radius: 100px; font-size: .875rem; font-weight: 500; }

/* === Sections === */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-100); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag { display: inline-block; color: var(--blue-500); font-weight: 600; font-size: .875rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--blue-900); margin-bottom: 16px; }
.section-desc { color: var(--slate); font-size: 1.1rem; }

/* === About === */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about-text .lead { font-size: 1.15rem; font-weight: 500; color: var(--blue-900); margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; color: var(--slate); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.stat-number { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--blue-500); margin-bottom: 4px; }
.stat-label { font-size: .875rem; color: var(--slate); font-weight: 500; }

/* === Services === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; color: var(--blue-900); margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: .95rem; margin-bottom: 16px; }
.service-card-emergency { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: var(--white); border: none; }
.service-card-emergency h3, .service-card-emergency p { color: var(--white); }
.service-card-emergency p { opacity: .9; }

/* === Timeline === */
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--blue-100); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-500); border: 3px solid var(--blue-100); }
.timeline-year { font-weight: 700; color: var(--blue-500); font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.timeline-text h3 { color: var(--blue-900); margin-bottom: 8px; }
.timeline-text p { color: var(--slate); }

/* === Service Area === */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 700px; margin: 0 auto; }
.area-list h3 { color: var(--blue-900); margin-bottom: 12px; font-size: 1.05rem; }
.area-list ul { list-style: none; }
.area-list li { padding: 8px 0; border-bottom: 1px solid var(--gray-200); color: var(--slate); font-weight: 500; }
.area-list li::before { content: '→ '; color: var(--blue-500); }
.area-note { grid-column: 1 / -1; text-align: center; background: var(--white); padding: 24px; border-radius: var(--radius); border: 1px solid var(--gray-200); }
.area-note p { color: var(--slate); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--gray-100); padding: 40px; border-radius: var(--radius-lg); }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--blue-900); margin-bottom: 6px; }
.required { color: var(--red); }
input, textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 1rem; transition: border-color .2s, box-shadow .2s; background: var(--white); }
input:focus, textarea:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(52,152,219,.15); }
textarea { resize: vertical; }
.form-note { text-align: center; font-size: .825rem; color: var(--slate); margin-top: 12px; }
.contact-card { background: var(--blue-900); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.contact-card h3 { margin-bottom: 24px; font-size: 1.2rem; }
.contact-item { margin-bottom: 20px; }
.contact-item strong { display: block; font-size: .85rem; opacity: .8; margin-bottom: 4px; }
.contact-item a, .contact-item span { color: var(--white); font-size: 1.05rem; }
.contact-item a:hover { color: var(--accent-light); }

/* Form states */
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.show { display: block; }
.form-success h3 { color: var(--blue-900); margin-bottom: 8px; }
.form-success p { color: var(--slate); }

/* === Footer === */
.footer { background: var(--blue-900); color: rgba(255,255,255,.7); padding: 48px 0 32px; }
.footer-inner { text-align: center; }
.footer-brand { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer-brand p { font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.6); margin-top: 4px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin: 20px 0; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: .8rem; margin-top: 20px; opacity: .5; }

/* === Mobile === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0; border-bottom: 1px solid var(--gray-200); display: none; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; border-top: 1px solid var(--gray-200); }
  .nav-links .btn { margin: 16px 24px; width: calc(100% - 48px); }
  .hero { min-height: 80vh; padding: 100px 0 60px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
