/* ai4service.eu — Global Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --white: #ffffff;
  --bg-alt: #F8FAFC;
  --heading: #1E293B;
  --body: #475569;
  --muted: #94A3B8;
  --gold: #FED74F;
  --gold-dark: #E6BE2A;
  --dark: #1E293B;
  --border: #E2E8F0;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  color: var(--heading);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

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

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

img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--heading); }
.nav-links a.active { color: var(--heading); }

.nav-cta {
  background: var(--gold);
  color: var(--heading) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── SECTIONS ── */
section { padding: 5rem 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--dark); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--body);
  margin-top: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--heading);
}
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--heading); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  background: #FEF3C7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg { width: 22px; height: 22px; color: var(--gold-dark); }

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(254,215,79,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(254,215,79,0.12);
  border: 1px solid rgba(254,215,79,0.25);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── PARTNER BADGE ── */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  margin-top: 3.5rem;
  color: #CBD5E1;
  font-size: 14px;
}

.partner-badge strong { color: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-logo { height: 32px; width: auto; margin-bottom: 1rem; }

.footer-desc { font-size: 14px; line-height: 1.7; color: #64748B; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 14px; color: #64748B; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-contact p { font-size: 14px; color: #64748B; margin-bottom: 0.4rem; }
.footer-contact a { color: #64748B; transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #334155;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark);
  padding: 5rem 0 4rem;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: #94A3B8; font-size: 1.1rem; max-width: 600px; }

/* ── PEOPLE CARDS ── */
.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.person-img {
  width: 100%;
  height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-initials {
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  font-family: 'DM Serif Display', serif;
}

.person-body { padding: 1.5rem 2rem 2rem; }
.person-body h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.person-role { font-size: 14px; color: var(--gold-dark); font-weight: 600; margin-bottom: 1rem; }
.person-body p { font-size: 15px; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--heading);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold-dark);
}

textarea { resize: vertical; min-height: 130px; }

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--gold);
  padding: 3rem 0;
}

.stat-strip .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-strip .stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-strip .stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(30,41,59,0.7);
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    align-items: flex-start;
  }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0; }
  .page-hero { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-btns { flex-direction: column; }
}
