/* Basic Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #334155; background: #f8fafc; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

/* Theme */
:root {
  --color-primary: #0ea5e9; /* sky-500 */
  --color-primary-dark: #0284c7; /* sky-600 */
  --color-secondary: #22c55e; /* green-500 */
  --color-dark: #0f172a; /* slate-900 */
  --color-text: #334155; /* slate-700 */
  --color-muted: #64748b; /* slate-500 */
  --color-bg: #f8fafc; /* slate-50 */
  --radius: 12px;
  --shadow: 0 10px 24px rgba(2, 8, 23, 0.08);
}

.container { width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
h1,h2,h3,h4 { color: var(--color-dark); margin: 0 0 12px 0; letter-spacing: -0.015em; }
p { margin: 0 0 16px 0; line-height: 1.6; }
small { color: var(--color-muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(2, 8, 23, 0.05); backdrop-filter: saturate(180%) blur(8px); transition: box-shadow 150ms ease, backdrop-filter 150ms ease; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 18px 0; min-height: 56px; transition: padding 150ms ease; }
.logo { font-weight: 800; font-size: 20px; color: var(--color-dark); text-decoration: none; }
/* Header logo: image + brand name */
.site-header .logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.site-header .logo-img { height: 26px; width: auto; display: block; }
.site-header .logo-text { line-height: 1; }
.site-nav ul { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.site-nav a { position: relative; text-decoration: none; color: var(--color-text); font-weight: 600; padding: 10px 12px; border-radius: 8px; transition: color 120ms ease, background 120ms ease; }
.site-nav a:hover { background: #f8fafc; color: var(--color-dark); }
.site-nav a.active { background: #e8f3ff; color: var(--color-primary-dark); }
.site-nav a.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -6px; height: 2px; background: var(--color-primary); border-radius: 2px; }
.call-now { margin-left: auto; font-weight: 700; color: #fff; background: var(--color-primary); padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid #0284c7; text-decoration: none; transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease; }
.call-now:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.nav-toggle { display: none; margin-left: auto; font-size: 20px; padding: 8px 10px; border-radius: 8px; border: 1px solid #d7dee8; background: #fff; transition: background 120ms ease, transform 120ms ease; }
.nav-toggle:hover { transform: translateY(-1px); background: #f8fafc; }

/* Compact on scroll */
.site-header.scrolled { box-shadow: 0 8px 20px rgba(2,8,23,0.10); }
.site-header.scrolled .header-inner { padding: 10px 0; }

/* Hero — professional with image overlay */
.hero {
  position: relative;
  /* Dark gradient overlay for stronger contrast */
  background-image: linear-gradient(120deg, rgba(2, 8, 23, 0.55), rgba(2, 8, 23, 0.55)), var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e2e8f0;
}
.hero-inner {
  padding: clamp(72px, 14vw, 140px) 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero p {
  font-size: clamp(16px, 3.5vw, 18px);
  max-width: 800px;
  margin: 14px auto 26px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-ctas { display: flex; justify-content: center; gap: 12px; }
/* Hero-specific button polish */
.hero .btn-primary { box-shadow: var(--shadow); }
.hero .btn-secondary { background: rgba(255,255,255,0.9); border: 1px solid #e2e8f0; }

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; transition: transform 120ms ease, box-shadow 120ms ease; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--color-dark); border: 1px solid #e2e8f0; }
.btn-secondary:hover { background: #f8fafc; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; align-items: stretch; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); overflow: hidden; }
.card-media { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 8px 20px rgba(2,8,23,0.08); }
.card-media + h3 { margin-top: 12px; }
.card-icon { display: none; }
.card h3 { margin: 10px 0; }
.section-cta { margin-top: 16px; display: flex; justify-content: center; }
/* Override for Who We Are CTA to align left */
.who-we-are .section-cta { justify-content: flex-start; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; color: var(--color-dark); }
.form-field input, .form-field select, .form-field textarea { padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; font: inherit; }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-start; }
.note { color: var(--color-muted); font-size: 14px; }

/* Footer (refined, professional) */
.site-footer {
  background: linear-gradient(180deg, #0b1220 0%, #0a1628 100%);
  color: #cbd5e1;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding: clamp(28px, 6vw, 56px) 0;
  align-items: start;
}
.site-footer h4 {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.site-footer .logo { font-weight: 900; color: #ffffff; }
.site-footer p { color: #9fb2c7; margin: 10px 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}
.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.site-footer a[href^="tel:"]::before { content: "📞"; display: inline-block; margin-right: 8px; }
.site-footer a[href^="mailto:"]::before { content: "✉️"; display: inline-block; margin-right: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
  color: #94a3b8;
  background: rgba(2,8,23,0.12);
}

/* Utility sections */
.who-we-are { background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.who-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.who-content p { color: var(--color-text); }
.who-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 12px 0 0; color: var(--color-text); }
.checklist li { margin: 8px 0; position: relative; padding-left: 26px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--color-secondary); font-weight: 900; }

/* Why Choose Us */
.why-choose { background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.why-intro { max-width: 800px; margin: 0 auto; color: var(--color-text); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; justify-items: center; }
.benefit { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.benefit-icon { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 10px; }
.benefit h3 { margin: 8px 0; }
.services { background: #f9fbfd; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
/* Center align headings and content in Services and Why Choose Us */
.services .container, .why-choose .container { text-align: center; }
/* Explicitly center Why Choose Us intro text */
.why-choose .why-intro { text-align: center; }
/* Center Inquiry section headings and intro, but keep form fields left-aligned */
.inquiry .container { text-align: center; }
.inquiry .form-grid { max-width: 800px; margin: 0 auto; text-align: left; }
.inquiry .form-grid button { justify-self: center; }
/* Ensure benefit cards center their text */
.benefit { text-align: center; }
.inquiry { background: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .who-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .site-nav.open { display: block; position: fixed; top: 56px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e2e8f0; box-shadow: 0 12px 24px rgba(2,8,23,0.12); animation: dropdown 160ms ease; }
  .site-nav ul { flex-direction: column; padding: 12px; }
  .cards { grid-template-columns: 1fr; }
  .card-media { height: 140px; }
  .form-grid { grid-template-columns: 1fr; }
  .call-now { display: none; }
  .hero-inner { text-align: center; }
  .hero-ctas { flex-direction: column; align-items: center; justify-content: center; }
  /* Header container horizontal padding on mobile */
  .site-header .container { padding-left: 5px; padding-right: 5px; }
  /* Hero and footer container horizontal padding on mobile */
  .hero .container, .site-footer .container { padding-left: 8px; padding-right: 8px; }
  /* Slightly smaller logo on mobile */
  .site-header .logo { font-size: 20px; }
  .site-header .logo-img { height: 22px; }
  .benefits { grid-template-columns: 1fr; }
}

@keyframes dropdown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* Accessibility */
.skip-link { position: absolute; left: -999px; top: -999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; color: var(--color-dark); padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; z-index: 200; }

/* Mobile bottom action bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #ffffff; border-top: 1px solid #e2e8f0; box-shadow: 0 -6px 16px rgba(2,8,23,0.08); z-index: 150; padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.mobile-bar a { text-align: center; }
@media (max-width: 640px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 70px; }
}