:root {
  --primary: #6B2D5C;
  --primary-light: #8B4D7C;
  --secondary: #E97B4E;
  --accent: #F5A623;
  --text: #2C3E50;
  --text-light: #5A6C7D;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --border: #E1E8ED;
  --success: #27AE60;
  --warning: #F39C12;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4rem; }

/* === HEADER === */
header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.header-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  padding: 0;
  margin: 0;
}
nav a {
  color: #fff;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  padding-bottom: 2px;
}
nav a:hover { opacity: .85; text-decoration: none; }
nav a.active { border-bottom: 2px solid var(--accent); }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
  color: #fff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; margin-bottom: .8rem; font-weight: 700; }
.hero .subtitle {
  font-size: 1.15rem;
  opacity: .95;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: .85rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,.35);
  text-decoration: none;
}

/* === LAYOUT === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 3.5rem 0; }

.section-title {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: .6rem;
  text-align: center;
  font-weight: 700;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.card p {
  color: var(--text-light);
  line-height: 1.65;
  font-size: .95rem;
  margin-bottom: .5rem;
}
.card ul {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: .5rem;
}

/* === FEATURES === */
.features { background: var(--bg-alt); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  line-height: 1.6;
  font-size: .95rem;
}
.feature-item::before {
  content: '✓';
  background: var(--success);
  color: #fff;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  margin-top: 2px;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  text-align: center;
  border: 1px solid var(--border);
}
.contact-card .icon { font-size: 2rem; margin-bottom: .8rem; }
.contact-card h3 { color: var(--primary); margin-bottom: .4rem; font-size: 1.1rem; }
.contact-card p { color: var(--text-light); font-size: .93rem; line-height: 1.7; }

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  padding: 1.8rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid var(--border);
}
.team-card .avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}
.team-card h4 { color: var(--primary); margin-bottom: .2rem; }
.team-card .role { color: var(--secondary); font-size: .88rem; font-weight: 600; margin-bottom: .5rem; }

/* === LEGAL / CONTENT PAGES === */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid var(--border);
}
.legal-content h1 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: .8rem;
}
.legal-content h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin: 1.8rem 0 .8rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
}
.legal-content h3 {
  color: var(--text);
  font-size: 1.1rem;
  margin: 1.3rem 0 .6rem;
}
.legal-content h4 {
  color: var(--text);
  font-size: 1rem;
  margin: 1rem 0 .5rem;
}
.legal-content p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: .8rem;
}
.legal-content li {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: .4rem;
}
.legal-content strong { color: var(--text); }

.last-updated {
  background: var(--bg-alt);
  padding: .8rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: .88rem;
  color: var(--text-light);
}

/* === FORMS === */
.form-group { margin-bottom: 1.2rem; }
label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 500;
  font-size: .95rem;
}
input, textarea, select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
}

button, .btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: .75rem 1.8rem;
  border: none;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  font-family: inherit;
}
button:hover, .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(107,45,92,.25);
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .9rem;
}
table th {
  background: var(--primary);
  color: #fff;
  padding: .7rem .9rem;
  text-align: left;
  font-weight: 600;
}
table td {
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border);
}
table tr:nth-child(even) { background: var(--bg-alt); }

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0 1rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-section h4 {
  font-size: 1.05rem;
  margin-bottom: .8rem;
  color: var(--accent);
}
.footer-section ul { list-style: none; padding: 0; }
.footer-section a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  line-height: 2;
  font-size: .9rem;
}
.footer-section a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.2rem;
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 1.5rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  border-top: 2px solid var(--primary);
}
.cookie-banner p {
  margin: 0;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.5;
}
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.btn-small {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  white-space: nowrap;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.7rem; }
  .hero .subtitle { font-size: 1rem; }
  .hero { padding: 3rem 1rem; }
  nav ul { gap: .8rem; font-size: .82rem; }
  .logo { font-size: 1.25rem; }
  .section-title { font-size: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .legal-content { padding: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; }
  section { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
  nav ul { gap: .5rem; font-size: .78rem; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-container { flex-direction: column; gap: .5rem; }
}
