/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e2f44;
  --accent: #3498db;
  --bg: #ffffff;
  --bg-light: #f4f7fa;
  --bg-alt: #eaf2f8;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --text-muted: #95a5a6;
  --border: #d5dbdb;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1100px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--primary-light);
  font-weight: 400;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__lang {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  border: 1px solid var(--primary-light);
  padding: 4px 12px;
  border-radius: 4px;
  transition: all var(--transition);
}

.nav__lang:hover {
  background: var(--primary-light);
  color: var(--white);
}

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

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
}

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

.hero__text h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero__text .subtitle {
  font-size: 1.15rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero__text .credentials {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero__text p.lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__image .avatar {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}

.hero__image .avatar-placeholder {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 5rem;
  font-weight: 300;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: var(--bg-light);
}

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

.section__header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section__header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section__header .line {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-light);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== ABOUT ===== */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__text p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.about__highlights {
  display: grid;
  gap: 20px;
}

.highlight-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-light);
  transition: transform var(--transition);
}

.highlight-card:hover {
  transform: translateY(-2px);
}

.highlight-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.highlight-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.service-card .duration {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--primary-light);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* ===== APPROACH ===== */
.approach__content {
  max-width: 800px;
  margin: 0 auto;
}

.approach__list {
  display: grid;
  gap: 20px;
}

.approach__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.approach__item .number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.approach__item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.approach__item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== QUALIFICATIONS ===== */
.qual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.qual__section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-alt);
}

.qual__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-alt);
}

.qual__item:last-child {
  border-bottom: none;
}

.qual__item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.qual__item .institution {
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 500;
}

.qual__item .year {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== REVIEWS ===== */
#reviews-scores {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.reviews__score {
  text-align: center;
}

.reviews__score .source-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.review-source-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text-muted);
  margin-left: 6px;
  vertical-align: middle;
}

.reviews__score .big-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.reviews__score .out-of {
  font-size: 1rem;
  color: var(--text-muted);
}

.reviews__score .stars {
  color: #f1c40f;
  font-size: 1.5rem;
  margin: 8px 0;
  letter-spacing: 4px;
}

.reviews__score .count {
  font-size: 0.9rem;
  color: var(--text-light);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 3rem;
  color: var(--bg-alt);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card .review-text {
  font-size: 0.92rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 16px;
  padding-top: 8px;
}

.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card .reviewer-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.review-card .reviewer-info .name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.review-card .reviewer-info .date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-card .review-stars {
  color: #f1c40f;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* ===== CONTACT ===== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--bg-alt);
}

.contact__info-item:last-child {
  border-bottom: none;
}

.contact__info-item .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact__info-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact__info-item p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.contact__info-item a {
  color: var(--primary-light);
  font-weight: 500;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 350px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

.payment-methods {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.payment-badge {
  font-size: 0.8rem;
  padding: 6px 14px;
  background: var(--bg-alt);
  border-radius: 20px;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
}

.footer p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer .license {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__text p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image { order: -1; }

  .hero__image .avatar,
  .hero__image .avatar-placeholder {
    width: 240px;
    height: 240px;
    font-size: 3.5rem;
  }

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

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

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

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

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

  .nav__links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding: 14px 24px;
    width: 100%;
  }

  .nav__links a::after { display: none; }

  .nav__lang {
    margin: 14px 24px;
    text-align: center;
  }

  .nav__toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero__text h1 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .section__header h2 {
    font-size: 1.6rem;
  }

  .services__grid {
    gap: 16px;
  }
}
