/* ===== Variables & Reset ===== */
:root {
  --primary: #0B5CAB;
  --primary-dark: #084078;
  --secondary: #00A86B;
  --secondary-dark: #008C58;
  --gradient: linear-gradient(135deg, #0B5CAB 0%, #00A86B 100%);
  --text: #1a1a2e;
  --text-light: #5a5a6e;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-dark: #0a1628;
  --border: #e2e8f0;
  --shadow: 0 10px 40px rgba(11, 92, 171, 0.08);
  --shadow-hover: 0 20px 50px rgba(11, 92, 171, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 25px rgba(11, 92, 171, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 92, 171, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-full {
  width: 100%;
}

.btn-nav {
  background: var(--gradient);
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 50px;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 92, 171, 0.35);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo-img {
  height: 70px;
  width: auto;
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(11, 92, 171, 0.06);
}

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

.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  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;
  background: linear-gradient(135deg, #0a1628 0%, #0B5CAB 45%, #00A86B 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 168, 107, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(11, 92, 171, 0.3) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 680px;
  color: white;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.stat span {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 92, 171, 0.1), rgba(0, 168, 107, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient);
  color: white;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card ul {
  margin-top: 0.5rem;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

/* ===== Avantages ===== */
.avantages {
  padding: 100px 0;
  background: var(--bg-alt);
}

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

.avantages-text p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.avantages-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.avantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.avantage-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.avantage-item h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.avantage-item p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-light);
}

.avantages-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visual-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.visual-card i {
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.visual-card h3 {
  margin-bottom: 0.5rem;
}

.visual-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Zone ===== */
.zone {
  padding: 100px 0;
  background: var(--bg);
}

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

.zone-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.zone-text .btn {
  margin-top: 1.5rem;
}

.map-placeholder {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 280px;
  justify-content: center;
}

.map-placeholder i {
  font-size: 3.5rem;
  opacity: 0.9;
}

.map-placeholder span {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.map-placeholder small {
  opacity: 0.85;
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  padding: 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-card h4 {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-card a,
.contact-card p {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-card a:hover {
  color: var(--primary);
}

.contact-form {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.12);
}

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

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-note a {
  color: var(--primary);
  font-weight: 600;
}

.form-note a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  height: 52px;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  color: white;
  margin-bottom: 1.2rem;
  font-family: 'Poppins', sans-serif;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  opacity: 0.75;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-contact p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--secondary);
  width: 18px;
}

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .avantages-grid,
  .zone-content,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .avantages-visual {
    order: -1;
  }

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

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    text-align: center;
  }

  .btn-nav {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .services,
  .avantages,
  .zone,
  .contact {
    padding: 70px 0;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
