/* ========== ABOUT PAGE ========== */
.page-about main > .about-hero:first-child {
  margin-top: calc(-1 * var(--navbar-offset));
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(14, 165, 233, 0.14) 0%, transparent 50%),
    linear-gradient(165deg, #eef5ff 0%, #f8fbff 45%, #fff 100%);
  z-index: 0;
}

.about-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 86, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 86, 160, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  z-index: 0;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1);
  color: #0d9488;
  font-weight: 700;
  font-size: 0.95rem;
}

.about-hero-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.about-hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.about-stat {
  padding: 18px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.about-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-section {
  padding: 56px 0;
}

.about-section--alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--border);
}

.about-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.about-section-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.about-section-lead {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-intro-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.about-intro-text p,
.about-intro-lead p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-intro-text p:last-child,
.about-intro-lead p:last-child {
  margin-bottom: 0;
}

.about-intro-lead {
  color: var(--text-muted);
  line-height: 1.9;
}

.about-verify-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-verify-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
  border: 1px solid rgba(59, 130, 246, 0.16);
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.about-verify-link:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(-4px);
  box-shadow: var(--shadow-soft);
}

.about-verify-link span:first-child {
  font-size: 1.4rem;
}

.about-history {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-history-item {
  position: relative;
  padding: 24px 56px 24px 24px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.about-history-item::before {
  content: '';
  position: absolute;
  right: 22px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.about-history-item p {
  color: var(--text-muted);
  line-height: 1.85;
}

.about-countries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.about-country-card {
  padding: 20px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, border-color 0.3s;
}

.about-country-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.about-flag-img {
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
  flex-shrink: 0;
}

.about-flag-img--sm {
  width: 24px;
  height: 18px;
}

.about-region-flag-img {
  width: 36px;
  height: 27px;
}

.about-region-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 220px;
}

.about-country-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.about-country-head strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.about-country-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-regions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-region {
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-region-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}

.about-region--rose .about-region-head { background: linear-gradient(135deg, #fff1f2 0%, #fff 100%); }
.about-region--orange .about-region-head { background: linear-gradient(135deg, #fff7ed 0%, #fff 100%); }
.about-region--emerald .about-region-head { background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%); }
.about-region--sky .about-region-head { background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%); }

.about-region-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-region-title {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.about-region-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-region-link {
  padding: 8px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.about-region-link:hover {
  background: var(--primary);
  color: white;
}

.about-region-body {
  padding: 22px 26px 26px;
}

.about-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.about-service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid rgba(59, 130, 246, 0.08);
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}

.about-service-item::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.about-web-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.about-web-card {
  padding: 22px 18px;
  text-align: center;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.about-web-card:hover {
  transform: translateY(-4px);
}

.about-web-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.about-web-card h3 {
  font-size: 0.95rem;
  color: var(--primary-dark);
  line-height: 1.6;
}

.about-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.about-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.about-social-link:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.about-social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-social-icon--whatsapp { background: #dcfce7; }
.about-social-icon--telegram { background: #e0f2fe; }
.about-social-icon--instagram { background: #fce7f3; }

.about-closing {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e3a8a 0%, #1e56a0 45%, #0ea5e9 100%);
  color: white;
  box-shadow: var(--shadow-lg);
}

.about-closing h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 10px;
}

.about-closing p {
  opacity: 0.92;
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.about-closing .btn {
  min-width: 160px;
}

.about-closing .btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
}

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

/* License page hero — match about page title size */
.page-license .page-hero-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

/* License */
.about-license-section {
  scroll-margin-top: 88px;
}

.about-license {
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow: var(--shadow-lg);
}

.about-license-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.about-license-head {
  text-align: center;
  margin-bottom: 28px;
}

.about-license-title {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.about-license-title-en {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.about-license-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.about-license-visual {
  padding: 18px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.about-license-image-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
}

.about-license-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.35s ease;
}

.about-license-image-btn:hover .about-license-image {
  transform: scale(1.02);
}

.about-license-zoom {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.about-license-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-license-card {
  padding: 22px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

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

.about-license-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.about-license-verify-btn {
  width: 100%;
}

.about-license-back-btn {
  width: 100%;
  margin-top: 10px;
}

.about-license-notice {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.about-license-notice strong {
  display: block;
  color: #c2410c;
  margin-bottom: 8px;
}

.about-license-notice p {
  color: #9a3412;
  line-height: 1.8;
  font-size: 0.9rem;
}

.about-license-lightbox {
  width: min(96vw, 980px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
}

.about-license-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
}

.about-license-lightbox-shell {
  margin: 0;
  padding: 12px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-license-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 48px);
  object-fit: contain;
  border-radius: 12px;
}

.about-license-lightbox-close {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.about-license-lightbox[open] .about-license-lightbox-shell {
  position: relative;
}

@media (max-width: 900px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-intro-card { grid-template-columns: 1fr; }
  .about-history { grid-template-columns: 1fr; }
  .about-license-layout { grid-template-columns: 1fr; }
  .about-license { padding: 24px 18px; }
}

@media (max-width: 600px) {
  .page-about main > .about-hero:first-child { padding: 84px 0 48px; }
  .about-region-head { padding: 18px; }
  .about-region-body { padding: 16px 18px 20px; }
  .about-service-grid { grid-template-columns: 1fr; }
}
