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

:root {
  /* Colors from brand assets */
  --navy-deep: #0a0e1a;
  --navy: #0f1630;
  --navy-mid: #161d3a;
  --navy-light: #1e2752;
  --purple: #4a1a6b;
  --purple-light: #6b2fa0;
  --magenta: #d946a8;
  --magenta-glow: #ff5ec4;
  --blue-brand: #2e5cb8;
  --blue-light: #5a8fd4;
  --silver: #b0bec5;
  --silver-light: #cfd8dc;
  --surface: #ffffff;
  --bg: #f4f5f9;
  --bg-alt: #eceef4;
  --text: #1a1d2e;
  --text-muted: #4a4f6a;
  --border: #d8dbe6;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(10, 14, 26, 0.08);
  --shadow: 0 4px 20px rgba(10, 14, 26, 0.1);
  --shadow-lg: 0 8px 32px rgba(10, 14, 26, 0.14);
  --max-width: 1080px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   HEADER
   ============================================ */
header {
  position: sticky;
  top: 0;
  background: var(--navy-deep);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px;
}

.lang-switcher button {
  background: none;
  border: none;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--silver);
  transition: all var(--transition);
  letter-spacing: 0.04em;
}

.lang-switcher button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-switcher button.active {
  background: linear-gradient(135deg, var(--blue-brand), var(--purple-light));
  color: #fff;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 35% 50%, rgba(217, 70, 168, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 65% 40%, rgba(107, 47, 160, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 80% 50% at 80% 60%, rgba(46, 92, 184, 0.12) 0%, transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.3) 0%, transparent 30%, rgba(10, 14, 26, 0.4) 100%);
}

.hero-content {
  position: relative;
  padding: 88px 32px 96px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--silver-light);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--purple-light));
  margin: 0 auto 24px;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(217, 70, 168, 0.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--silver-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ============================================
   ABOUT / CARDS
   ============================================ */
.about {
  padding: 80px 0;
}

.about-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: -16px auto 48px;
  font-size: 1.02rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.card {
  position: relative;
  background: var(--navy-deep);
  border: 1px solid rgba(107, 47, 160, 0.2);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-brand), var(--magenta));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.card:hover {
  box-shadow: 0 8px 40px rgba(107, 47, 160, 0.2);
  transform: translateY(-4px);
}

.card:hover .card-accent {
  opacity: 1;
}

.card-icon {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 24px 24px 28px;
}

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

.card p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.6;
}

.about-note-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(107, 47, 160, 0.2);
}

.about-note-box p {
  color: var(--silver-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CONTACTS
   ============================================ */
.contacts {
  padding: 80px 0;
  background: var(--bg-alt);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: stretch;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  border-radius: var(--radius);
  color: var(--magenta-glow);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
  text-decoration: none;
  display: block;
}

a.contact-value:hover {
  color: var(--purple-light);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-wrapper {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-form-wrapper h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
  text-align: center;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(107, 47, 160, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  width: 100%;
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success {
  color: #2e7d32;
}

.form-status.error {
  color: #c62828;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  margin-top: auto;
  background: var(--navy-deep);
  position: relative;
  padding: 32px 0;
  color: var(--silver);
  font-size: 0.82rem;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 70% at 45% 50%, rgba(74, 26, 107, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 35% 60% at 75% 50%, rgba(168, 40, 200, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(46, 92, 184, 0.1) 0%, transparent 70%);
}

.footer-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 30px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.footer-inner p {
  color: var(--silver);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .hero-content {
    padding: 56px 20px 64px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 28px 24px 24px;
  }

  .about {
    padding: 56px 0;
  }

  .contacts {
    padding: 56px 0;
  }

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

  .map-wrapper iframe {
    min-height: 260px;
  }

  .about-note-box {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 40px 16px 52px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 14px;
  }

  .header-inner {
    height: 56px;
  }

  .logo-img {
    height: 30px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .contact-card {
    padding: 18px;
  }
}
