:root {
  --primary: #1a2e4a;
  --primary-light: #2c4a6e;
  --accent: #c9a44c;
  --accent-light: #dfc477;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --bg: #ffffff;
  --bg-light: #f7f8fa;
  --bg-alt: #eef0f4;
  --border: #ddd;
  --success: #2a7d3f;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav a:hover, .nav a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  margin-left: 8px;
}

.nav-cta:hover { background: var(--accent-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,164,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: #fff;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

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

/* Stats */
.stats {
  background: var(--primary);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  color: #fff;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* Lead Form */
.lead-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lead-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.lead-info p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.lead-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.lead-feature-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-card {
  background: #fff;
  padding: 36px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.92rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color var(--transition);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.consent-group a { color: var(--accent); font-weight: 600; text-decoration: underline; }

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.form-submit:hover { background: var(--primary-light); }

.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* About / Content Pages */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.content-section { padding: 60px 0; }

.content-section h2 {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 24px 0 10px;
}

.content-section p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-section ul li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 4px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.value-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0 0 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Services Page */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail:nth-child(even) .service-detail-img { order: -1; }

.service-detail-img img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.service-detail-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.service-detail-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-detail-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.service-detail-content ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.business-hours {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.business-hours h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.hours-list {
  display: grid;
  gap: 6px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.hours-item span:first-child { color: var(--text-light); }
.hours-item span:last-child { color: var(--text); font-weight: 500; }

.map-container {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/* Business Model */
.model-card {
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.model-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-card h3 .model-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.model-card p, .model-card ul li {
  color: var(--text-light);
  line-height: 1.7;
}

.model-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-legal {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.65;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  padding: 0;
}

.cookie-banner.active { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.cookie-text a { color: var(--accent); text-decoration: underline; font-weight: 600; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-accept {
  background: var(--primary);
  color: #fff;
}

.cookie-accept:hover { background: var(--primary-light); }

.cookie-decline {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-settings {
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-modal-overlay.active { display: flex; }

.cookie-modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-md);
}

.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-category:last-child { border-bottom: none; }

.cookie-category-info h4 {
  font-size: 0.95rem;
  color: var(--text);
}

.cookie-category-info p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}

.cookie-toggle.active { background: var(--primary); }

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}

.cookie-toggle.active::after { transform: translateX(20px); }

.cookie-toggle:disabled { opacity: 0.5; cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-image { margin-top: 32px; }
  .hero-image img { max-width: 360px; }
  .lead-inner { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-img { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    gap: 4px;
  }

  .nav.mobile-open a {
    padding: 12px 16px;
    border-radius: var(--radius);
  }

  .hero { padding: 48px 0; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-actions { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item h3 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .cookie-modal { padding: 20px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Legal page content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 32px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child { border-top: none; margin-top: 0; }

.legal-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content ul li {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 6px;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 24px;
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
