*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Open Sans", sans-serif;
  color: #0b1220;
  background: #f4f7fb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 29, 78, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 0%, #4f46e5, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5f0ff;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.brand-text span:last-child {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e5ecff;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #dbeafe;
  padding: 0.35rem 0;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #4f46e5);
  transition: width 0.25s ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  color: #bfdbfe;
}

.nav-phone strong {
  font-size: 0.9rem;
  color: #e0f2fe;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #eff6ff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.6);
}

.btn-outline {
  border: 1px solid rgba(191, 219, 254, 0.8);
  color: #e0f2fe;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.5);
}

.hero {
  background: radial-gradient(circle at top left, #1d4ed8, #020617);
  color: #e5e7eb;
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #bfdbfe;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.6);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.hero-title span.accent {
  background: linear-gradient(120deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 34rem;
  color: #cbd5f5;
  margin-bottom: 1.6rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.9rem;
}

.badge {
  font-size: 0.7rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #cbd5f5;
  background: rgba(15, 23, 42, 0.6);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.78rem;
  color: #a5b4fc;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.7rem;
}

.metric {
  min-width: 110px;
}

.metric strong {
  display: block;
  font-size: 1.35rem;
  color: #e0f2fe;
}

.metric span {
  font-size: 0.75rem;
  color: #a5b4fc;
}

.hero-media {
  position: relative;
}

.hero-card {
  border-radius: 24px;
  background: radial-gradient(circle at 0 0, #1f2937, #020617);
  padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/3861964/pexels-photo-3861964.jpeg?auto=compress&cs=tinysrgb&w=1200&lazy=load");
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1) saturate(1.1);
  transform: scale(1.03);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.5), transparent),
    radial-gradient(circle at 90% 90%, rgba(59, 130, 246, 0.4), transparent);
}

.hero-video-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-pill {
  font-size: 0.68rem;
  padding: 0.33rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: #e5e7eb;
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #020617;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 36rem;
  margin: 0.2rem auto 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.feature-card {
  border-radius: 20px;
  padding: 1.25rem 1.3rem;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 0%, #4f46e5, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eff6ff;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.feature-text {
  font-size: 0.86rem;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.course-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-media {
  position: relative;
  aspect-ratio: 4 / 2.4;
  background: #0f172a;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-body {
  padding: 1rem 1.1rem 0.95rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.3rem;
}

.course-meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.course-description {
  font-size: 0.83rem;
  color: #4b5563;
  margin-bottom: 0.6rem;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.course-level {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

.course-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.highlight-strip {
  background: linear-gradient(90deg, #0f172a, #111827);
  color: #e5e7eb;
  padding: 1rem 0;
}

.highlight-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.highlight-row p {
  font-size: 0.95rem;
  max-width: 36rem;
}

.highlight-row strong {
  color: #e0f2fe;
}

.highlight-row .btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.5);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.content-block h2 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  color: #020617;
}

.content-block p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.6rem;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.6rem;
}

.content-block li {
  font-size: 0.88rem;
  color: #475569;
  padding-left: 1.05rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.content-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
}

.map-card {
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.map-card iframe {
  width: 100%;
  border: 0;
  display: block;
}

.info-list {
  list-style: none;
  margin-top: 0.6rem;
}

.info-list li {
  font-size: 0.86rem;
  color: #475569;
  margin-bottom: 0.3rem;
}

.info-list span.label {
  font-weight: 600;
  color: #0f172a;
}

.faq-item {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq-question {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.faq-answer {
  font-size: 0.86rem;
  color: #4b5563;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  padding: 1rem 1.1rem;
}

.testimonial-text {
  font-size: 0.86rem;
  color: #4b5563;
  margin-bottom: 0.6rem;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transform: scale(1.02);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.6),
    transparent 45%
  );
}

.gallery-label {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  z-index: 1;
  font-size: 0.7rem;
  color: #e5e7eb;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.1rem;
}

.blog-meta {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}

.blog-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.3rem;
}

.blog-excerpt {
  font-size: 0.84rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.page-hero {
  padding: 3.1rem 0 2.6rem;
  background: radial-gradient(circle at top left, #1d4ed8, #020617);
  color: #e5e7eb;
}

.page-hero h1 {
  font-size: 1.9rem;
  font-weight: 800;
}

.page-hero p {
  font-size: 0.95rem;
  max-width: 34rem;
  margin-top: 0.4rem;
  color: #cbd5f5;
}

.breadcrumbs {
  font-size: 0.78rem;
  color: #93c5fd;
  margin-top: 0.6rem;
}

.page-content {
  padding: 2.5rem 0 3.5rem;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.course-sidebar {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1.2rem 1.1rem;
}

.course-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.course-sidebar ul {
  list-style: none;
}

.course-sidebar li {
  font-size: 0.85rem;
  color: #4b5563;
  padding: 0.2rem 0;
}

.course-sidebar li span {
  font-weight: 600;
  color: #111827;
}

.course-outline {
  margin-top: 1.2rem;
}

.course-outline h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.course-outline ul {
  list-style: none;
}

.course-outline li {
  font-size: 0.86rem;
  color: #4b5563;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.course-outline li::before {
  content: "—";
  position: absolute;
  left: 0.1rem;
  color: #2563eb;
}

.faq-page .faq-item {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.3rem;
}

.contact-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1.35rem 1.25rem;
}

.contact-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.contact-card p {
  font-size: 0.88rem;
  color: #4b5563;
  margin-bottom: 0.6rem;
}

.contact-list {
  list-style: none;
  margin-top: 0.6rem;
}

.contact-list li {
  font-size: 0.86rem;
  color: #4b5563;
  margin-bottom: 0.3rem;
}

.contact-list span.label {
  font-weight: 600;
  color: #0f172a;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 0.8rem;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field-group label {
  font-size: 0.8rem;
  color: #4b5563;
}

.field-group input,
.field-group textarea,
.field-group select {
  font-size: 0.86rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.field-group textarea {
  min-height: 110px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.05),
    0 0 0 4px rgba(191, 219, 254, 0.8);
}

.form-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

footer.site-footer {
  background: #020617;
  color: #9ca3af;
  padding-top: 2.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.3rem;
  padding-bottom: 2rem;
}

.footer-brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.footer-brand-text {
  font-size: 0.86rem;
  color: #9ca3af;
  margin-bottom: 0.8rem;
}

.footer-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-badge {
  font-size: 0.68rem;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.footer-contact span.label {
  font-weight: 600;
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.9rem 0 1.2rem;
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.footer-bottom a {
  color: #9ca3af;
}

.footer-bottom a:hover {
  color: #e5e7eb;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-pill {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.fab {
  position: fixed;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.45);
  z-index: 1200;
  color: #ffffff;
}

.fab-whatsapp {
  left: 16px;
  background: #22c55e;
}

.fab-call {
  right: 16px;
  background: #2563eb;
}

.fab svg {
  width: 24px;
  height: 24px;
}

.fab:active {
  transform: translateY(1px) scale(0.98);
}

.contact-toggle {
  position: fixed;
  right: 50%;
  transform: translateX(50%);
  bottom: 88px;
  z-index: 1180;
}

.contact-toggle .btn-outline {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.contact-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 1300;
  overflow-y: auto;
  padding: 1.5rem 0.75rem;
}

.contact-popup-backdrop.open {
  display: flex;
}

.contact-popup {
  width: 100%;
  max-width: 780px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, #1d4ed8, #020617);
  color: #e5e7eb;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  overflow: hidden;
  max-height: calc(100vh - 3rem);
}

.contact-popup-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.contact-popup-main {
  padding: 1.3rem 1.4rem;
}

.contact-popup-aside {
  background: #020617;
  padding: 1.2rem 1.2rem 1.1rem;
}

.popup-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.popup-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.popup-subtitle {
  font-size: 0.8rem;
  color: #bfdbfe;
  margin-bottom: 0.7rem;
}

.popup-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #e5e7eb;
}

.popup-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.popup-chip {
  border-radius: 14px;
  padding: 0.6rem 0.7rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.8rem;
}

.popup-chip strong {
  display: block;
  color: #e5e7eb;
}

.popup-chip span {
  font-size: 0.76rem;
  color: #bfdbfe;
}

.popup-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.popup-cta-row .btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
}

.popup-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.9);
  margin-top: 0.6rem;
}

.popup-map iframe {
  width: 100%;
  height: 210px;
  border: 0;
  display: block;
}

.popup-local-areas {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.6rem;
}

.popup-local-areas strong {
  color: #e5e7eb;
}

.popup-aside-heading {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.popup-aside-list {
  list-style: none;
  font-size: 0.78rem;
  color: #9ca3af;
}

.popup-aside-list li {
  margin-bottom: 0.25rem;
}

.popup-aside-badge {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #e5e7eb;
}

.popup-aside-badge span {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.9);
  margin-right: 0.3rem;
}

.page-notice {
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  padding: 0.75rem 0.85rem;
  font-size: 0.8rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.page-notice strong {
  color: #1d4ed8;
}

.legal-page h2 {
  font-size: 1.1rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: #020617;
}

.legal-page p,
.legal-page li {
  font-size: 0.86rem;
  color: #4b5563;
  margin-bottom: 0.35rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.1rem;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.chip {
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #1d4ed8;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links.open {
  display: flex;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .feature-grid,
  .course-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column,
  .contact-grid,
  .course-layout,
  .contact-popup-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-popup {
    max-width: 92vw;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0.6rem 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.5rem 1.25rem 0.8rem;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(30, 64, 175, 0.8);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .hero {
    padding: 3.1rem 0 2.8rem;
  }

  .section {
    padding: 2.7rem 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-toggle {
    bottom: 82px;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .course-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-popup {
    border-radius: 0;
    max-width: 100vw;
    max-height: none;
  }

  .contact-popup-inner {
    display: block;
  }

  .contact-popup-main {
    padding: 1rem 1rem 0.8rem;
  }

  .contact-popup-aside {
    padding: 0.9rem 1rem 1rem;
  }

  .popup-map iframe {
    height: 190px;
  }
}

/* SEO: visually hidden but read by screen readers and crawlers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

