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

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #1e1b4b;
  --gray: #6b7280;
  --light: #f5f3ff;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-block { display: block; width: 100%; }

/* Header - Centered Logo */
.header { background: var(--white); position: fixed; top: 0; left: 0; right: 0; z-index: 999; border-bottom: 3px solid var(--primary); }

.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }

.logo { display: flex; flex-direction: column; align-items: center; }
.logo-main { font-size: 22px; font-weight: 800; color: var(--dark); }
.logo-main span { color: var(--primary); }
.logo-sub { font-size: 10px; color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--dark); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--primary); text-decoration: none; }
.nav-cta { background: var(--accent); color: var(--white) !important; padding: 10px 22px !important; border-radius: 6px; }
.nav-cta:hover { background: var(--accent-dark); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: 0.3s; }

/* Hero - Gradient Background */
.hero { padding: 95px 0 70px; background: linear-gradient(135deg, var(--dark) 0%, #312e81 50%, var(--primary-dark) 100%); }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.hero-content h1 { font-size: 40px; font-weight: 900; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 30px; line-height: 1.8; }

.hero-features { display: flex; gap: 25px; margin-bottom: 32px; }
.hero-feature { display: flex; align-items: center; gap: 10px; }
.hero-feature svg { width: 20px; height: 20px; color: var(--accent); }
.hero-feature span { font-size: 14px; color: rgba(255,255,255,0.9); }

.hero-buttons { display: flex; gap: 14px; }
.hero-image img { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }

/* Stats */
.stats-section { background: var(--accent); padding: 20px 0; }
.stats-grid { display: flex; justify-content: space-around; }
.stat-box { text-align: center; }
.stat-box strong { display: block; font-size: 30px; font-weight: 900; color: var(--white); }
.stat-box span { font-size: 13px; color: rgba(255,255,255,0.9); }

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

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: 34px; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--gray); max-width: 550px; margin: 0 auto; }

/* Services - Cards with Icon */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-6px); }
.service-card img { width: 100%; height: 180px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 18px; color: var(--dark); margin-bottom: 12px; font-weight: 700; }
.service-card-body p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-box { text-align: center; padding: 35px 20px; background: var(--white); border-radius: 10px; border: 2px solid #e5e7eb; transition: border-color 0.3s; }
.feature-box:hover { border-color: var(--primary); }
.feature-box svg { width: 46px; height: 46px; color: var(--primary); margin-bottom: 18px; }
.feature-box h4 { font-size: 16px; color: var(--dark); margin-bottom: 12px; font-weight: 700; }
.feature-box p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Lead Form */
.lead-section { padding: 85px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.lead-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 55px; align-items: start; }

.lead-info h2 { font-size: 34px; color: var(--white); margin-bottom: 18px; font-weight: 900; }
.lead-info > p { color: rgba(255,255,255,0.9); margin-bottom: 30px; font-size: 15px; line-height: 1.85; }
.lead-contact p { color: rgba(255,255,255,0.9); margin-bottom: 12px; font-size: 14px; }

.lead-form { background: var(--white); padding: 38px; border-radius: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); font-size: 14px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px;
}
.form-group input:focus { outline: none; border-color: var(--primary); }
.form-check { display: flex; gap: 12px; align-items: flex-start; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.form-check label { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* Page Header */
.page-header { padding: 118px 0 55px; background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%); text-align: center; }
.page-header h1 { font-size: 38px; color: var(--white); font-weight: 900; margin-bottom: 10px; }
.page-header p { font-size: 17px; color: rgba(255,255,255,0.85); }

/* About */
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; margin-bottom: 60px; }
.about-row.reverse { direction: rtl; }
.about-row.reverse > * { direction: ltr; }
.about-img img { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; }
.about-text h2 { font-size: 28px; color: var(--dark); margin-bottom: 16px; font-weight: 900; }
.about-text p { color: var(--gray); line-height: 1.9; margin-bottom: 14px; }

.mission-box { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); padding: 42px; border-radius: 10px; max-width: 850px; margin: 0 auto 60px; border: 2px solid var(--accent); text-align: center; }
.mission-box h2 { font-size: 28px; color: var(--dark); margin-bottom: 14px; font-weight: 900; }
.mission-box p { color: var(--gray); line-height: 1.9; font-size: 15px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--white); padding: 30px 24px; border-radius: 10px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.05); border-top: 4px solid var(--primary); }
.value-card svg { width: 42px; height: 42px; color: var(--primary); margin-bottom: 16px; }
.value-card h4 { font-size: 17px; color: var(--dark); margin-bottom: 12px; font-weight: 700; }
.value-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* Service Details */
.service-detail { padding: 55px 0; border-bottom: 1px solid #e5e7eb; }
.service-detail:nth-child(even) { background: var(--light); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.service-detail:nth-child(even) .service-detail-grid { direction: rtl; }
.service-detail:nth-child(even) .service-detail-grid > * { direction: ltr; }
.service-detail-img img { width: 100%; height: 275px; object-fit: cover; border-radius: 10px; }
.service-detail-content h3 { font-size: 26px; color: var(--dark); margin-bottom: 14px; font-weight: 900; }
.service-detail-content > p { color: var(--gray); margin-bottom: 20px; line-height: 1.8; }
.service-detail-list { margin-bottom: 24px; }
.service-detail-list li { color: var(--gray); margin-bottom: 10px; padding-left: 24px; position: relative; font-size: 14px; }
.service-detail-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid img { width: 100%; height: 195px; object-fit: cover; border-radius: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; }
.contact-info h2 { font-size: 28px; color: var(--dark); margin-bottom: 12px; font-weight: 900; }
.contact-info > p { color: var(--gray); margin-bottom: 30px; }

.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-item svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 15px; color: var(--dark); margin-bottom: 4px; font-weight: 600; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--gray); }

.hours-box { background: var(--white); padding: 26px; border-radius: 10px; margin-top: 30px; border: 1px solid #e5e7eb; }
.hours-box h4 { font-size: 15px; color: var(--dark); margin-bottom: 18px; font-weight: 700; }
.hours-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.hours-line:last-child { border-bottom: none; }

.contact-form { background: var(--white); padding: 38px; border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.map-wrapper { margin-top: 55px; }
.map-wrapper iframe { width: 100%; height: 340px; border: none; border-radius: 10px; }

/* Business Model */
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 55px; }
.model-card { background: var(--white); padding: 36px; border-radius: 10px; box-shadow: 0 2px 18px rgba(0,0,0,0.06); border-left: 5px solid var(--primary); }
.model-card h3 { font-size: 22px; color: var(--dark); margin-bottom: 16px; font-weight: 900; }
.model-card p { color: var(--gray); line-height: 1.85; margin-bottom: 14px; font-size: 15px; }
.model-card ul { margin-top: 18px; }
.model-card ul li { color: var(--gray); margin-bottom: 10px; padding-left: 22px; position: relative; font-size: 14px; }
.model-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: bold; font-size: 18px; }

/* Legal */
.legal-section { padding: 120px 0 75px; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h1 { font-size: 34px; color: var(--dark); margin-bottom: 30px; font-weight: 900; }
.legal-content h2 { font-size: 22px; color: var(--dark); margin: 38px 0 16px; font-weight: 800; }
.legal-content p { color: var(--gray); margin-bottom: 18px; line-height: 1.85; font-size: 15px; }
.legal-content ul { margin: 18px 0 26px; padding-left: 24px; }
.legal-content ul li { color: var(--gray); margin-bottom: 12px; line-height: 1.75; }
.legal-content ul li::marker { color: var(--primary); }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sitemap-card { background: var(--white); padding: 28px; border-radius: 10px; border: 1px solid #e5e7eb; }
.sitemap-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--light); font-weight: 800; }
.sitemap-card a { display: block; color: var(--gray); padding: 7px 0; font-size: 14px; }
.sitemap-card a:hover { color: var(--primary); }

/* Footer */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 38px; }
.footer-brand h3 { font-size: 22px; margin-bottom: 6px; }
.footer-brand h3 span { display: block; font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 1px; margin-top: 4px; }
.footer-brand p { color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 10px; line-height: 1.7; }
.footer-links h4 { font-size: 14px; margin-bottom: 20px; color: var(--accent); font-weight: 700; }
.footer-links a { display: block; color: rgba(255,255,255,0.75); font-size: 14px; padding: 6px 0; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.footer-disclaimer { background: rgba(124,58,237,0.15); padding: 16px 20px; border-radius: 6px; margin-bottom: 18px; border-left: 3px solid var(--primary); }
.footer-disclaimer p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.7; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.6); }

/* Cookie */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); padding: 20px 28px; box-shadow: 0 -4px 22px rgba(0,0,0,0.12); z-index: 9999; display: none; }
.cookie-bar.visible { display: block; }
.cookie-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cookie-content h4 { font-size: 16px; color: var(--dark); margin-bottom: 4px; font-weight: 700; }
.cookie-content p { font-size: 13px; color: var(--gray); }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-buttons .btn { padding: 11px 22px; font-size: 14px; }

.cookie-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal.visible { display: flex; }
.cookie-modal-box { background: var(--white); padding: 34px; border-radius: 10px; max-width: 450px; width: 100%; }
.cookie-modal-box h3 { font-size: 24px; color: var(--dark); margin-bottom: 12px; font-weight: 800; }
.cookie-modal-box > p { color: var(--gray); margin-bottom: 24px; font-size: 14px; }
.cookie-option { padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option label { display: flex; justify-content: space-between; font-weight: 600; color: var(--dark); font-size: 15px; }
.cookie-option p { font-size: 13px; color: var(--gray); margin-top: 6px; }
.cookie-modal-btns { display: flex; gap: 12px; margin-top: 28px; }

.skip-link { position: absolute; top: -100px; left: 16px; background: var(--primary); color: var(--white); padding: 12px 20px; z-index: 99999; border-radius: 6px; font-weight: 700; font-size: 14px; }
.skip-link:focus { top: 16px; }

/* CTA */
.cta-box { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); padding: 60px 0; text-align: center; }
.cta-box h2 { font-size: 30px; color: var(--white); margin-bottom: 12px; font-weight: 900; }
.cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 16px; }
.cta-box .btn { background: var(--dark); }
.cta-box .btn:hover { background: var(--primary); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .lead-grid, .contact-grid, .about-row, .service-detail-grid, .model-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .values-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 22px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
  .nav.active { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #e5e7eb; }
  .burger { display: block; }

  .hero-content h1 { font-size: 30px; }
  .hero-features { flex-direction: column; gap: 14px; }
  .hero-buttons { flex-direction: column; }
  .hero-image img { height: 280px; }
  .stats-grid { flex-direction: column; gap: 20px; }

  .services-grid, .features-grid, .values-grid, .gallery-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cookie-buttons { width: 100%; flex-wrap: wrap; }
  .cookie-buttons .btn { flex: 1; min-width: 100px; }
}
