/* ============ PAGE STYLES (shared across inner pages) ============ */

/* PAGE HERO BANNER */
.page-hero {
  background: var(--bg-dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top:0;right:0;bottom:0;left:0;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-on-dark-secondary);
  margin-bottom: 24px;
}
.page-hero-breadcrumb a { color: var(--text-on-dark-secondary); transition: var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--white); }
.page-hero-breadcrumb span { opacity: 0.4; }
.page-hero h1 {
  font-family: var(--font-accent);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-on-dark-secondary);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.7;
}

/* PAGE CONTENT */
.page-content {
  padding: 80px 0 120px;
  background: var(--bg);
}

/* TEXT CONTENT BLOCKS */
.text-block { max-width: 800px; }
.text-block h2 {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.text-block h3 {
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.text-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.text-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.text-block ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 8px 0 8px 24px;
  position: relative;
}
.text-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.text-block ol {
  padding-left: 0;
  counter-reset: list-counter;
  margin-bottom: 20px;
  list-style: none;
}
.text-block ol > li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 16px 0 16px 56px;
  position: relative;
  counter-increment: list-counter;
  border-bottom: 1px solid var(--border);
}
.text-block ol > li:last-child { border-bottom: none; }
.text-block ol > li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-block ol > li > ul {
  margin-top: 12px;
  margin-bottom: 4px;
  padding-left: 8px;
}
.text-block ol > li > ul > li {
  padding-left: 32px;
}
.text-block ol > li > ul > li::before {
  width: 8px;
  height: 8px;
  top: 14px;
  left: 0;
  background: none;
  border: 2px solid var(--accent);
  content: '';
  border-radius: 50%;
  font-size: 0;
}

/* CARDS GRID */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  transition: var(--transition);
}
.info-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.info-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-card h3 {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CONTACT FORM */
.form-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 48px;
  margin-top: 48px;
}
.form-section h2 {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-section > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full { grid-column: span 2; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.form-group label .req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
}
.form-consent a { color: var(--accent); text-decoration: underline; }
.form-submit {
  margin-top: 24px;
}

/* MAP */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 420px;
  margin-top: 48px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* BRANCH CARDS */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.branch-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
}
.branch-card h3 {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
}
.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.branch-detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.branch-detail a { color: var(--accent); font-weight: 600; }

/* TEAM CARD */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  padding: 40px 28px 32px;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar svg { width: 40px; height: 40px; stroke: var(--text-light); fill: none; stroke-width: 1; }
.team-card h3 { font-family: var(--font-accent); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.team-card .team-role { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.team-card .team-contact { font-size: 14px; color: var(--text-secondary); }
.team-card .team-contact a { color: var(--accent); font-weight: 600; }

/* TIMELINE STEPS */
.timeline {
  display: flex;
  gap: 0;
  margin: 48px 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--border);
}
.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.timeline-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.timeline-step:hover .timeline-num { background: var(--accent); color: var(--white); }
.timeline-days {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.timeline-step h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-step p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 0 8px;
}

/* FAQ / ACCORDION */
.faq-list { margin: 40px 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  gap: 16px;
}
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 18px;
  color: var(--text-light);
}
.faq-item.active .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ARTICLES GRID */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.article-thumb {
  height: 200px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 24px; }
.article-date { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.article-body h3 { font-family: var(--font-accent); font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.article-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }

/* ADVANTAGES ROW */
.adv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.adv-item { text-align: center; padding: 32px 20px; }
.adv-item h3 { font-family: var(--font-accent); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.adv-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* TWO COLUMN LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.two-col > .form-section {
  margin-top: 0;
  display: flex;
  flex-direction: column;
}
.two-col > .form-section form {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.two-col > .form-section .form-submit {
  margin-top: auto;
  padding-top: 24px;
}

/* RESPONSIVE for pages */
@media (max-width: 960px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .timeline { flex-wrap: wrap; justify-content: center; }
  .timeline-step { flex: 0 0 calc(33% - 12px); margin-bottom: 24px; }
  .timeline::before { display: none; }
  .adv-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 120px 0 60px; }
  .form-section { padding: 28px; }
  .branch-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .timeline-step { flex: 0 0 100%; }
  .map-wrapper { height: 300px; }
  .articles-grid { grid-template-columns: 1fr; }
}
