/* Andromedica Consulting - Website Stylesheet */
:root {
  --teal: #4DB8A4;
  --teal-dark: #3A9A89;
  --navy: #2D3E50;
  --navy-dark: #1E2A38;
  --gray-light: #F5F7FA;
  --gray: #6B7B8D;
  --gray-border: #DEE2E6;
  --white: #FFFFFF;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
}

a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

img { max-width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.nav-logo img, .nav-logo svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}
.nav-lang {
  font-size: 0.85rem;
  color: var(--gray);
  padding: 4px 10px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  transition: all 0.2s;
}
.nav-lang:hover { border-color: var(--teal); color: var(--teal-dark); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-text .subtitle {
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-text p { color: #B0BEC5; font-size: 1.05rem; margin-bottom: 32px; }
.hero-logo {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo img {
  width: 260px;
  height: 260px;
  filter: drop-shadow(0 0 40px rgba(77,184,164,0.3));
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 40px rgba(77,184,164,0.25)); }
  50% { filter: drop-shadow(0 0 60px rgba(77,184,164,0.45)); }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline {
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ── Sections ── */
.section { padding: 70px 0; }
.section-alt { background: var(--gray-light); }
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 48px;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--teal);
  margin-bottom: 24px;
}

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid var(--teal);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.service-card p { color: var(--gray); font-size: 0.95rem; }
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(77,184,164,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

/* ── About / Profile ── */
.profile-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.profile-photo {
  flex: 0 0 240px;
}
.profile-photo img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.profile-info { flex: 1; }
.profile-info h2 { margin-bottom: 4px; }
.profile-info .role {
  color: var(--teal-dark);
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* Timeline */
.timeline { margin-top: 40px; }
.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 28px;
  border-left: 2px solid var(--gray-border);
  padding-left: 24px;
  margin-left: 8px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
}
.timeline-year {
  flex: 0 0 100px;
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.9rem;
}
.timeline-content h4 { font-size: 1rem; margin-bottom: 2px; }
.timeline-content .company { color: var(--gray); font-size: 0.9rem; margin-bottom: 6px; }
.timeline-content p { font-size: 0.9rem; color: var(--gray); }

/* ── Key Facts ── */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.fact-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.fact-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
}
.fact-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(77,184,164,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-dark);
  font-size: 1.2rem;
}
.contact-info-item h4 { font-size: 0.9rem; margin-bottom: 2px; }
.contact-info-item p { color: var(--gray); font-size: 0.95rem; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  color: #8899A6;
  padding: 40px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer a { color: #8899A6; }
.footer a:hover { color: var(--teal); }
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ── Legal pages ── */
.legal-content { max-width: 800px; }
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p { margin-bottom: 12px; color: var(--gray); }

/* ── Screen Reader Only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-border);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .hero .container { flex-direction: column-reverse; text-align: center; gap: 32px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-logo { flex: none; }
  .hero-logo img { width: 180px; height: 180px; }

  .profile-row { flex-direction: column; align-items: center; text-align: center; }
  .profile-photo { flex: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
}
