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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  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 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

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

/* Header */
.header { background: var(--white); border-bottom: 1px solid #e2e8f0; position: fixed; top: 0; left: 0; right: 0; z-index: 999; }
.header-top { background: var(--dark); color: var(--white); padding: 8px 0; font-size: 13px; }
.header-top .container { display: flex; justify-content: space-between; }
.header-top a { color: rgba(255,255,255,0.9); }
.header-main { padding: 16px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 24px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--dark); font-weight: 600; font-size: 14px; padding: 6px 0; }
.nav a:hover, .nav a.active { color: var(--primary); text-decoration: none; }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 20px !important; border-radius: 4px; }
.nav-cta:hover { background: var(--primary-dark); }

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

/* Hero */
.hero { padding: 120px 0 70px; background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }

.hero-content h1 { font-size: 44px; font-weight: 900; color: var(--dark); margin-bottom: 20px; line-height: 1.15; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 18px; color: var(--gray); margin-bottom: 30px; line-height: 1.7; }

.hero-stats { display: flex; gap: 50px; margin-bottom: 35px; }
.stat { text-align: left; }
.stat-num { font-size: 36px; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--gray); }

.hero-buttons { display: flex; gap: 15px; }
.hero-image img { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* Sections */
.section { padding: 80px 0; }
.section-gray { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--gray); max-width: 600px; margin: 0 auto; }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.75); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.service-card img { width: 100%; height: 180px; object-fit: cover; }
.service-card-body { padding: 22px; }
.service-card-body h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; font-weight: 800; }
.service-card-body p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: var(--white); padding: 30px 25px; border-radius: 8px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.feature-card svg { width: 45px; height: 45px; color: var(--primary); margin-bottom: 18px; }
.feature-card h4 { font-size: 16px; color: var(--dark); margin-bottom: 10px; font-weight: 800; }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Lead Form */
.lead-section { padding: 80px 0; background: var(--dark); }
.lead-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }

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

.lead-form { background: var(--white); padding: 35px; border-radius: 8px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 700; color: var(--dark); font-size: 14px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.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.5; }

/* Page Header */
.page-header { padding: 120px 0 50px; background: var(--dark); }
.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.8); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.about-image img { width: 100%; height: 320px; object-fit: cover; border-radius: 8px; }
.about-content h2 { font-size: 28px; color: var(--dark); margin-bottom: 18px; font-weight: 900; }
.about-content p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }

.mission-box { background: var(--light); padding: 40px; border-radius: 8px; text-align: center; max-width: 800px; margin: 0 auto; }
.mission-box h2 { font-size: 28px; color: var(--dark); margin-bottom: 16px; font-weight: 900; }
.mission-box p { color: var(--gray); line-height: 1.8; font-size: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.value-card { background: var(--white); padding: 28px; border-radius: 8px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.value-card svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 16px; }
.value-card h4 { font-size: 16px; color: var(--dark); margin-bottom: 10px; font-weight: 800; }
.value-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* Service Details (Services Page) */
.service-detail { padding: 55px 0; border-bottom: 1px solid #e2e8f0; }
.service-detail-alt { background: var(--light); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.service-detail-alt .service-detail-grid { direction: rtl; }
.service-detail-alt .service-detail-grid > * { direction: ltr; }
.service-detail-image img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px; }
.service-detail-content h2 { font-size: 26px; color: var(--dark); margin-bottom: 14px; font-weight: 900; }
.service-detail-content > p { color: var(--gray); margin-bottom: 18px; line-height: 1.7; }
.service-features { margin-bottom: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-features li { color: var(--gray); font-size: 14px; padding-left: 20px; position: relative; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* Service Blocks */
.service-block { padding: 60px 0; border-bottom: 1px solid #e2e8f0; }
.service-block:nth-child(even) { background: var(--light); }
.service-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.service-block:nth-child(even) .service-block-grid { direction: rtl; }
.service-block:nth-child(even) .service-block-grid > * { direction: ltr; }
.service-block-image img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px; }
.service-block-content h2 { font-size: 26px; color: var(--dark); margin-bottom: 14px; font-weight: 900; }
.service-block-content > p { color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
.service-block-content ul { margin-bottom: 22px; }
.service-block-content ul li { color: var(--gray); margin-bottom: 10px; padding-left: 22px; position: relative; font-size: 15px; }
.service-block-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; }

/* Contact */
.contact-section { padding: 120px 0 80px; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info h2 { font-size: 30px; 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: 18px; }
.contact-item svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.contact-item h4 { font-size: 15px; color: var(--dark); margin-bottom: 4px; font-weight: 700; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--gray); }

.hours-box { background: var(--white); padding: 25px; border-radius: 8px; margin-top: 30px; }
.hours-box h4 { font-size: 16px; color: var(--dark); margin-bottom: 16px; font-weight: 700; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.hours-row:last-child { border-bottom: none; }

.contact-form { background: var(--white); padding: 35px; border-radius: 8px; }
.map { margin-top: 50px; }
.map iframe { width: 100%; height: 350px; border: none; border-radius: 8px; }

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

/* Legal Pages */
.legal { padding: 120px 0 80px; }
.legal-content { max-width: 850px; margin: 0 auto; }
.legal-content h1 { font-size: 32px; color: var(--dark); margin-bottom: 28px; font-weight: 900; }
.legal-content h2 { font-size: 22px; color: var(--dark); margin: 32px 0 14px; font-weight: 800; }
.legal-content p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; font-size: 15px; }
.legal-content ul { margin: 16px 0 24px; padding-left: 22px; }
.legal-content ul li { color: var(--gray); margin-bottom: 10px; line-height: 1.7; }
.legal-content ul li::marker { color: var(--primary); }

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

/* Footer */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 35px; }
.footer-brand h3 { font-size: 20px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 10px; line-height: 1.6; }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; color: rgba(255,255,255,0.9); font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; }
.footer-disclaimer { background: rgba(255,255,255,0.05); padding: 14px 18px; border-radius: 6px; margin-bottom: 16px; }
.footer-disclaimer p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); padding: 18px 24px; box-shadow: 0 -4px 20px rgba(0,0,0,0.12); z-index: 9999; display: none; }
.cookie-banner.active { display: block; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cookie-text h4 { font-size: 16px; color: var(--dark); margin-bottom: 4px; font-weight: 700; }
.cookie-text p { font-size: 14px; color: var(--gray); }
.cookie-btns { display: flex; gap: 12px; }
.cookie-btns .btn { padding: 12px 22px; font-size: 14px; }

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

.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-section { background: var(--primary); padding: 60px 0; }
.cta-content { text-align: center; }
.cta-content h2 { font-size: 32px; color: var(--white); margin-bottom: 12px; font-weight: 900; }
.cta-content p { color: rgba(255,255,255,0.9); margin-bottom: 24px; font-size: 17px; }
.cta-content .btn { background: var(--white); color: var(--primary); }
.cta-content .btn:hover { background: var(--dark); color: var(--white); }

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

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .nav.active { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
  .mobile-toggle { display: block; }

  .hero { padding: 100px 0 50px; }
  .hero-content h1 { font-size: 32px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-buttons { flex-direction: column; }
  .hero-image img { height: 250px; }

  .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: 25px; }

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