:root {
  --primary: #1a3a5c;
  --primary-light: #2c5f8a;
  --primary-dark: #0f2440;
  --accent: #d4a843;
  --accent-light: #e6c36e;
  --bg: #f8f7f4;
  --bg-alt: #edecea;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-top {
  background: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  padding: 6px 0;
}
.header-top .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}
.header-top a { color: var(--accent-light); }
.header-top a:hover { color: var(--white); }
.header-main .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 50px; width: auto; }
.logo span { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text); font-size: 0.95rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* BUTTONS */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none;
  transition: all var(--transition); text-align: center;
}
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--primary); color: var(--white); }
.btn-secondary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-call { background: var(--accent); color: var(--primary-dark); display: inline-flex; align-items: center; gap: 8px; }
.btn-call:hover { background: var(--accent-light); }

/* HERO */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,36,64,0.88) 0%, rgba(26,58,92,0.75) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 650px; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.92; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary); color: var(--white); }
.section-title { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 12px; color: var(--primary); }
.section-dark .section-title { color: var(--white); }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 1.1rem; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.8); }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--primary); }
.card-body p { color: var(--text-light); font-size: 0.95rem; }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 16px; }
.about-text p { margin-bottom: 14px; color: var(--text-light); }
.stats-row { display: flex; gap: 30px; margin-top: 24px; }
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-light); }

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white); padding: 30px; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.testimonial-card p { font-style: italic; margin-bottom: 14px; color: var(--text); font-size: 1.05rem; }
.testimonial-card .author { font-weight: 600; color: var(--primary); }
.stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 10px; }

/* FAQ */
.faq-item { border-bottom: 1px solid #e0e0e0; padding: 18px 0; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--primary);
}
.faq-question::after { content: '+'; font-size: 1.4rem; transition: transform var(--transition); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-light); }
.faq-item.open .faq-answer { max-height: 300px; padding-top: 12px; }

/* AREAS */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.area-item {
  background: var(--white); padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); font-weight: 500; display: flex; align-items: center; gap: 8px;
}
.area-item::before { content: '📍'; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.4rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-detail .icon { font-size: 1.3rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: var(--radius);
  font-size: 1rem; font-family: inherit; margin-bottom: 14px; transition: border var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); outline: none; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.map-container { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0; text-align: center; color: var(--white);
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-banner p { margin-bottom: 24px; opacity: 0.9; font-size: 1.1rem; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--accent); margin-bottom: 16px; font-size: 1.1rem; }
.footer a { color: rgba(255,255,255,0.7); display: block; padding: 4px 0; }
.footer a:hover { color: var(--accent-light); }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; opacity: 0.8; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding: 20px 0; text-align: center; font-size: 0.85rem; opacity: 0.7;
}
.footer-bottom a { display: inline; padding: 0; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0 50px; color: var(--white); text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.page-hero p { font-size: 1.1rem; opacity: 0.85; }
.breadcrumb { font-size: 0.9rem; margin-top: 14px; opacity: 0.7; }
.breadcrumb a { color: var(--accent-light); }

/* LEGAL */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { color: var(--primary); margin: 30px 0 12px; font-size: 1.5rem; }
.legal-content p, .legal-content li { color: var(--text-light); margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; list-style: disc; }

/* MOBILE */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--white); z-index: 2000; flex-direction: column;
  padding: 80px 30px 30px; transform: translateX(100%); transition: transform var(--transition);
}
.mobile-nav.open { display: flex; transform: translateX(0); }
.mobile-nav a { font-size: 1.2rem; padding: 14px 0; border-bottom: 1px solid #eee; color: var(--text); font-weight: 500; }
.mobile-nav .close-btn {
  position: absolute; top: 20px; right: 20px; font-size: 1.8rem;
  background: none; border: none; cursor: pointer; color: var(--text);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .header-cta .btn-secondary { display: none; }
  .hero-content h1 { font-size: 2.2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .hero-content h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-top .container { justify-content: center; text-align: center; }
}
