/* ─── Variables ──────────────────────────────── */
:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --accent: #d4883e;
  --accent-light: #e8a55a;
  --dark: #0f1923;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0f1923;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Container ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Typography ─────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); color: var(--dark); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: 0.9rem; }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: transparent; color: #fff; transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ─── Header ─────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-name {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.2;
}
.logo-tagline {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav { display: flex; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(212,136,62,0.08);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.85) 0%, rgba(26,58,92,0.7) 100%);
}
.hero-content {
  position: relative;
  color: #fff;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--accent);
}
.stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ─── Page Hero ──────────────────────────────── */
.page-hero {
  padding: 140px 0 60px;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.7; font-size: 1.1rem; max-width: 500px; margin: 0 auto; }

/* ─── Sections ───────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0.75rem auto 0;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ─── Services Grid ──────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-icon {
  width: 56px; height: 56px;
  background: rgba(212,136,62,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg {
  width: 28px; height: 28px;
  color: var(--accent);
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--text-light); font-size: 0.93rem; }

/* ─── Split Content ──────────────────────────── */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image {
  border-radius: var(--radius);
  overflow: hidden;
}
.split-image img {
  width: 100%; height: 400px;
  object-fit: cover;
}
.split-text .section-tag { display: block; }
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p { color: var(--text-light); margin-bottom: 1.25rem; }

/* ─── Check List ─────────────────────────────── */
.check-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ─── Service Detail ─────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { grid-template-columns: 1.2fr 1fr; }
.service-detail.reverse .service-detail-img { order: 2; }
.service-detail.reverse .service-detail-content { order: 1; }
.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.service-detail-img img {
  width: 100%; height: 350px;
  object-fit: cover;
}
.service-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: rgba(212,136,62,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p { color: var(--text-light); }

/* ─── Values Grid ────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
  width: 64px; height: 64px;
  background: rgba(26,58,92,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-icon svg { width: 28px; height: 28px; color: var(--primary); }
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { color: var(--text-light); font-size: 0.93rem; }

/* ─── Info Grid ──────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.info-card {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
}
.info-card h4 { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.info-card p { color: var(--dark); font-weight: 500; }

/* ─── Contact Grid ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--text-light); margin-bottom: 2rem; }

/* ─── Form ───────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,136,62,0.15);
}
.form-group textarea { resize: vertical; }

/* ─── Contact Cards ──────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-card-icon {
  width: 48px; height: 48px;
  background: rgba(212,136,62,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.contact-card-icon svg { width: 22px; height: 22px; color: var(--accent); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.contact-card p { color: var(--text-light); font-size: 0.93rem; }
.contact-card a { color: var(--accent); font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }

/* ─── Map ────────────────────────────────────── */
.map-placeholder {
  text-align: center;
  padding: 2rem 1rem;
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 0.75rem; }
.map-placeholder p { color: var(--text-light); margin-bottom: 1rem; }

/* ─── CTA Section ────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p {
  opacity: 0.85;
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}
.cta-section .hero-actions { justify-content: center; }

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-about p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; }
.footer .logo-name { color: #fff; }
.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p { font-size: 0.9rem; line-height: 1.7; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ─── Animations ─────────────────────────────── */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .split-content { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: var(--transition);
    z-index: 999;
  }
  .nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .stat-number { font-size: 1.5rem; }

  .split-content { grid-template-columns: 1fr; gap: 2rem; }
  .split-image img { height: 280px; }

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
  }
  .service-detail.reverse .service-detail-img { order: 0; }
  .service-detail.reverse .service-detail-content { order: 0; }
  .service-detail-img img { height: 250px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .section { padding: 3.5rem 0; }
  .cta-section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
