﻿.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  padding: 64px 0 44px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 36, 61, 0.94) 0%, rgba(8, 36, 61, 0.62) 55%, rgba(8, 36, 61, 0.42) 100%),
    linear-gradient(90deg, rgba(8, 36, 61, 0.45), transparent);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
}

.page-hero p {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
  line-height: 1.9;
}

.page-hero .btn {
  margin-top: 26px;
}

.service-detail {
  padding: 56px 0 28px;
}

.detail-wrap {
  max-width: 900px;
  margin-inline: auto;
}

.service-detail .lead {
  font-size: 1.1rem;
  line-height: 2.05;
  color: #40586c;
}

.service-detail h2 {
  position: relative;
  margin: 42px 0 16px;
  padding-inline-start: 18px;
  font-size: 1.65rem;
  font-weight: 800;
}

.service-detail h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 5px;
  height: 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.service-detail p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 2.05;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8fbfe;
  color: #334a5e;
  font-size: 0.98rem;
  line-height: 1.8;
}

.detail-list li::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.detail-note {
  margin: 24px 0;
  padding: 20px 24px;
  border: 1px solid rgba(47, 111, 191, 0.35);
  border-radius: 16px;
  background: var(--accent-soft);
  color: #33566b;
  font-weight: 500;
}

.faq-block {
  margin-top: 44px;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] summary {
  background: var(--accent-soft);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.95;
  font-size: 0.95rem;
}

.related-services {
  padding: 20px 0 60px;
}

.related-services h2 {
  margin-bottom: 22px;
  font-size: 1.5rem;
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.related-grid a > span:first-child {
  flex: 1;
  min-width: 0;
  line-height: 1.55;
}

.related-grid a > span:last-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  flex-shrink: 0;
}

.related-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.booking-section {
  padding: 10px 0 64px;
}

.booking-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(47, 111, 191, 0.16), transparent 60%),
    linear-gradient(135deg, #f5f9fe, #ffffff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.booking-card h2 {
  margin-top: 14px;
  font-size: 1.8rem;
  font-weight: 800;
}

.booking-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.booking-card .booking-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary);
}

.booking-card .booking-phone .icon {
  width: 18px;
  height: 18px;
}

.booking-form-box .field {
  margin-bottom: 14px;
}

.booking-form-box .field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 0.88rem;
}

.booking-form-box .field input,
.booking-form-box .field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-form-box .field input:focus,
.booking-form-box .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 58, 122, 0.1);
}

.booking-form-box .field textarea {
  resize: vertical;
  min-height: 80px;
}

.booking-form-box .btn {
  width: 100%;
  margin-top: 4px;
}

.booking-success {
  display: none;
  text-align: center;
  padding: 18px;
}

.booking-success.show {
  display: block;
}

.booking-success .icon-wrap {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
}

.booking-success .icon-wrap .icon {
  width: 30px;
  height: 30px;
}

.booking-success h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.booking-success p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.booking-form.hidden {
  display: none;
}

.compact-footer {
  padding-top: 0;
}

.compact-footer .footer-bottom {
  border-top: 0;
}

.compact-footer .footer-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px 0 0;
}

.compact-footer .footer-mini nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.compact-footer .footer-mini nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.compact-footer .footer-mini nav a:hover {
  color: var(--accent);
}

@media (max-width: 1020px) {
  .detail-nav {
    display: none;
  }

  .booking-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .page-hero {
    min-height: 0;
    padding: 92px 0 34px;
  }

  .service-detail {
    padding: 44px 0 18px;
  }

  .service-detail h2 {
    font-size: 1.4rem;
  }

  .booking-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

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

  .compact-footer .footer-mini {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-hero .btn {
    width: 100%;
  }
}

.page-hero--gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 62%, var(--accent) 140%);
}

.main-section {
  padding: 58px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.about-grid h2 {
  margin: 16px 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
}

.about-grid p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 2;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(8, 36, 61, 0.55);
}

.about-media::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--accent-soft), #eef5fd);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbfe;
}

.stat {
  text-align: center;
  padding: 6px 10px;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-title {
  margin: 44px 0 20px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.audience-card b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
}

.audience-card span {
  color: #334a5e;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-grid h2 {
  margin: 14px 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
}

.contact-grid > div > p {
  color: var(--muted);
  line-height: 2;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.contact-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  font-style: normal;
}

.contact-card .icon {
  width: 19px;
  height: 19px;
}

.contact-card span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.contact-card a,
.contact-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

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

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  font-weight: 800;
}

.form-card .field {
  margin-bottom: 14px;
}

.form-card .field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 0.88rem;
}

.form-card .field input,
.form-card .field select,
.form-card .field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #f8fbfe;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card .field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-card .field input:focus,
.form-card .field select:focus,
.form-card .field textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(10, 58, 122, 0.1);
}

.form-card .btn {
  width: 100%;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 40px -30px rgba(8, 36, 61, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.package-card:hover {
  transform: translateY(-7px);
  border-color: rgba(47, 111, 191, 0.5);
  box-shadow: 0 30px 55px -26px rgba(8, 36, 61, 0.4);
}

.package-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.package-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.package-card-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
}

.package-card-body p {
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.package-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.shop-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 30px;
  text-align: center;
  border: 1px dashed rgba(10, 58, 122, 0.3);
  border-radius: 26px;
  background: #f8fbfe;
}

.shop-empty i {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-style: normal;
}

.shop-empty .icon {
  width: 36px;
  height: 36px;
}

.shop-empty h2 {
  font-size: 1.6rem;
  font-weight: 800;
}

.shop-empty p {
  max-width: 520px;
  margin: 12px auto 24px;
  color: var(--muted);
  line-height: 1.9;
}

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

.prose {
  max-width: 900px;
  margin-inline: auto;
}

.prose h2 {
  position: relative;
  margin: 34px 0 14px;
  padding-inline-start: 18px;
  font-size: 1.5rem;
  font-weight: 800;
}

.prose h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 5px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.prose p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 2.05;
}

.prose ul {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.prose li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--muted);
  line-height: 1.95;
}

.prose li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.prose-note {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid rgba(47, 111, 191, 0.35);
  border-radius: 14px;
  background: var(--accent-soft);
  color: #33566b;
  font-size: 0.94rem;
  line-height: 1.9;
}

.all-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.group-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.group-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
}

.group-card h3 a:hover {
  color: var(--primary);
}

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

.group-links a {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.group-links a:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

@media (max-width: 1020px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-media {
    order: -1;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid,
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .all-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .main-section {
    padding: 44px 0;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 22px 16px;
  }

  .audience-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 20px;
  }

  .shop-empty {
    padding: 40px 20px;
  }
}

.detail-sub {
  margin: 24px 0 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.6;
}




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

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 40px -30px rgba(8, 36, 61, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card:hover {
  transform: translateY(-7px);
  border-color: rgba(47, 111, 191, 0.45);
  box-shadow: 0 30px 55px -26px rgba(8, 36, 61, 0.4);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.article-date {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.article-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.55;
}

.article-card p {
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.article-card .service-link {
  margin-top: auto;
}

.article-detail {
  max-width: 900px;
  margin-inline: auto;
}

.article-detail-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 28px;
}

.article-detail h2 {
  margin: 32px 0 12px;
  font-size: 1.6rem;
  font-weight: 800;
}

.article-detail h3 {
  margin: 26px 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.article-detail p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 2.1;
}

.article-detail ul,
.article-detail ol {
  margin: 14px 0 18px;
  padding-inline-start: 22px;
  color: var(--muted);
  line-height: 2;
}

.article-detail li {
  margin-bottom: 8px;
}

.article-detail blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-inline-start: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  color: #33566b;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 38px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.pagination .disabled {
  opacity: 0.45;
}

.alert-success {
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(47, 111, 191, 0.35);
  border-radius: 12px;
  background: var(--accent-soft);
  color: #1d4f8a;
  font-weight: 600;
}

@media (max-width: 1020px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}
