/* ====== Reset & Base ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fafafa;
  color: #1e1e2a;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Header ====== */
header {
  background: #0b1a2e;
  color: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

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

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.logo span { color: #7bb8f0; }

nav { display: flex; align-items: center; gap: 0; }

nav a {
  color: #ddd;
  margin-left: 28px;
  font-size: .95rem;
  transition: color .2s;
}

nav a:hover { color: #7bb8f0; }

/* ====== Language Switcher ====== */
.lang-switcher {
  margin-left: 28px;
  position: relative;
}

.lang-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #ddd;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  min-width: 160px;
  overflow: hidden;
  z-index: 200;
}

.lang-dropdown.open { display: block; }

.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: .9rem;
  color: #333;
  cursor: pointer;
  transition: background .15s;
}

.lang-dropdown button:hover { background: #f0f4fa; }
.lang-dropdown button.active { color: #3b8fc2; font-weight: 600; }

/* ====== Hero ====== */
.hero {
  background: linear-gradient(145deg, #0b1a2e 0%, #1a3350 100%);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.hero h1 small {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #9bb8da;
  margin-top: 8px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 12px auto 30px;
  color: #cfddee;
}

.btn {
  display: inline-block;
  background: #3b8fc2;
  color: #fff;
  padding: 12px 40px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: background .25s, transform .15s;
}

.btn:hover {
  background: #2a7aaa;
  transform: translateY(-2px);
}

/* ====== Sections ====== */
section { padding: 60px 0 50px; }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: -.3px;
}

.section-title span {
  border-bottom: 4px solid #3b8fc2;
  padding-bottom: 8px;
}

/* ====== About ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 16px;
  color: #2e3b4a;
  font-size: 1.05rem;
}

.about-stats {
  background: #fff;
  padding: 28px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item { text-align: center; }

.stat-item .number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b1a2e;
}

.stat-item .label {
  font-size: .9rem;
  color: #5f6f80;
}

/* ====== Services ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  padding: 30px 22px 26px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  text-align: center;
  transition: transform .2s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
}

.service-card .icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: .95rem;
  color: #4d5e6f;
}

/* ====== Team ====== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.team-member {
  background: #fff;
  padding: 24px 16px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

.team-member .avatar {
  font-size: 3.6rem;
  margin-bottom: 6px;
}

.team-member .name {
  font-weight: 700;
  font-size: 1.1rem;
}

.team-member .role {
  font-size: .9rem;
  color: #5f6f80;
}

/* ====== Contact ====== */
.contact-wrap {
  background: #fff;
  padding: 40px 44px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-info > p {
  color: #3f4f60;
  max-width: 640px;
  margin: 0 auto;
}

.contact-info .detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.contact-info .detail p {
  background: #f6f8fc;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 20px 18px;
  color: #3f4f60;
  margin: 0;
  font-size: .95rem;
  line-height: 1.75;
}

.contact-info .detail strong {
  display: block;
  width: auto;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-info .detail a {
  color: #2a7aaa;
  word-break: break-word;
  transition: color .2s;
}

.contact-info .detail a:hover { color: #0b1a2e; }

/* ====== Legal Pages ====== */
.legal-hero {
  background: linear-gradient(145deg, #0b1a2e 0%, #1a3350 100%);
  color: #fff;
  padding: 50px 0 40px;
  text-align: center;
}

.legal-hero .eyebrow {
  font-size: .85rem;
  color: #7bb8f0;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-hero .summary {
  font-size: 1.05rem;
  color: #cfddee;
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.legal-hero .meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: .85rem;
  color: #9bb8da;
}

.legal-hero .back-link {
  display: inline-block;
  margin-top: 16px;
  color: #7bb8f0;
  font-size: .9rem;
  transition: color .2s;
}

.legal-hero .back-link:hover { color: #fff; }

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.legal-section {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1a2e;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8edf4;
}

.legal-section p {
  color: #3a4a5c;
  font-size: .98rem;
  line-height: 1.85;
  margin-bottom: 10px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-top: 8px;
}

.legal-section li {
  color: #3a4a5c;
  font-size: .98rem;
  line-height: 1.85;
  margin-bottom: 8px;
}

.legal-rows {
  margin-top: 10px;
}

.legal-row {
  background: #f6f8fc;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.legal-row:last-child { margin-bottom: 0; }

.legal-row .label {
  font-weight: 600;
  color: #0b1a2e;
  font-size: .95rem;
  margin-bottom: 4px;
}

.legal-row .value {
  color: #4a5a6c;
  font-size: .93rem;
  line-height: 1.75;
}

.legal-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  min-width: 340px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  font-size: .95rem;
  line-height: 1.7;
}

.legal-table th {
  background: #f0f4fa;
  font-weight: 600;
  color: #0b1a2e;
}

.legal-table td { color: #3a4a5c; }

/* ====== Footer ====== */
footer {
  background: #0b1a2e;
  color: #b0c4dd;
  padding: 32px 0 26px;
  margin-top: 20px;
  text-align: center;
  font-size: .9rem;
}

footer .footer-links { margin-bottom: 12px; }

footer .footer-links a {
  color: #b0c4dd;
  margin: 0 14px;
  transition: color .2s;
}

footer .footer-links a:hover { color: #fff; }

footer .footer-legal {
  margin-bottom: 8px;
}

footer .footer-legal a {
  color: #7bb8f0;
  margin: 0 10px;
  font-size: .85rem;
  transition: color .2s;
}

footer .footer-legal a:hover { color: #fff; }

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .legal-hero h1 { font-size: 1.7rem; }

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

  .contact-wrap { padding: 28px 20px; }

  .contact-info .detail { grid-template-columns: 1fr; }

  nav a {
    margin-left: 16px;
    font-size: .85rem;
  }

  .logo { font-size: 1.1rem; }

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

  .legal-section { padding: 20px 18px; }

  .legal-hero .meta {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero { padding: 50px 0 40px; }

  .lang-switcher { margin-left: 12px; }

  nav a {
    margin-left: 10px;
    font-size: .8rem;
  }

  .legal-hero { padding: 36px 0 28px; }
  .legal-hero h1 { font-size: 1.4rem; }
  .legal-content { padding: 24px 16px 40px; }
}
