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

/* Variables CSS */
:root {
  --color-primary: #2ea3f2;
  --color-primary-dark: #1e7fc0;
  --color-secondary: #82c0c7;
  --color-green: #29c4a9;
  --color-text: #666;
  --color-text-dark: #333;
  --color-text-light: #999;
  --color-bg: #fff;
  --color-bg-light: #f8f9fa;
  --color-border: #e2e2e2;
  --color-border-dark: #ddd;
  
  --font-primary: 'Open Sans', Arial, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  --container-width: 1140px;
  --container-padding: 20px;
  
  --header-height: 140px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--color-text-dark);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  opacity: 0.8;
}

strong {
  font-weight: 700;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Header */
.site-header {
  background: var(--color-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-size: 13px;
}

.header-contact svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.btn-adherent {
  background: var(--color-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-adherent:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}

/* Navigation */
.main-nav {
  padding: 20px 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  margin: 0;
}

.nav-menu a {
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 15px;
  padding: 5px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-text-dark);
  transition: var(--transition);
}

/* Main Content */
main {
  min-height: calc(100vh - var(--header-height) - 400px);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.section-title p {
  font-size: 18px;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

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

.hero h1 {
  color: white;
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero .lead {
  font-size: 24px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-primary);
  color: white;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--color-primary);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.card h3 {
  margin-bottom: 15px;
}

/* Stats */
.stats {
  background: var(--color-bg-light);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  color: var(--color-text);
}

/* Values Section */
.values {
  padding: 80px 0;
  background: var(--color-bg-light);
}

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

.value-item {
  text-align: center;
  padding: 20px;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  margin-top: 80px;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #bdc3c7;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
  opacity: 1;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-bottom {
  background: #1a252f;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #34495e;
}

.footer-bottom p {
  margin: 0;
  color: #95a5a6;
}

.footer-bottom a {
  color: var(--color-primary);
}

/* Forms */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1);
}

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

/* Responsive */
@media (max-width: 980px) {
  .header-top {
    display: none;
  }
  
  .main-nav .container {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    gap: 10px;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero .lead {
    font-size: 20px;
  }
  
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}