/* Inner pages + shared components — clone souce_code_mau.html */

/* Elementor HTML pages: stretch widget to viewport edges */
.hc-el-full > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hc-el-full .elementor-column > .elementor-element-populated {
  padding: 0 !important;
}

.hc-el-full .elementor-widget-html {
  width: 100%;
}

/* Full-bleed colored bands (hero, red CTA) inside Elementor HTML widget */
.hc-page-hero.page-hero,
.hc-cta-red.stats-bg {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.hc-page-hero.page-hero,
.page-hero {
  background: linear-gradient(135deg, var(--hc-red) 0%, var(--hc-red-dark) 100%);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--hc-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 0 0 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

.hc-page-hero .breadcrumb,
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  opacity: 0.85;
  color: #fff;
  margin-bottom: 16px;
}

.hc-page-hero .breadcrumb a,
.page-hero .breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.hc-page-hero .breadcrumb a:hover,
.page-hero .breadcrumb a:hover {
  color: var(--hc-yellow);
}

.hc-page-hero .breadcrumb i,
.page-hero .breadcrumb i {
  font-size: 1rem;
  opacity: 0.7;
}

.hc-page-hero .container,
.hc-faq-section .container,
.hc-compare-section .container,
.hc-areas-section .container,
.hc-svc-details .container,
.hc-cta-red .container,
.hc-about-intro .container,
.contact-main-grid,
.hc-news-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

.hc-areas-section {
  background: linear-gradient(135deg, #fff5f5, #fff8e1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hc-red-light);
  color: var(--hc-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--hc-text);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--hc-text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

.text-center { text-align: center; }
.text-red { color: var(--hc-red); }
.text-yellow { color: var(--hc-yellow); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--hc-transition);
  border: none;
  cursor: pointer;
}

.btn-primary { background: var(--hc-red); color: #fff; box-shadow: 0 4px 16px rgba(229,57,53,.35); }
.btn-primary:hover { background: var(--hc-red-dark); color: #fff; transform: translateY(-2px); }
.btn-yellow { background: var(--hc-yellow); color: var(--hc-text); }
.btn-outline { border: 2px solid var(--hc-red); color: var(--hc-red); background: transparent; }
.btn-outline:hover { background: var(--hc-red); color: #fff; }
.btn-white { background: #fff; color: var(--hc-red); }

.benefit-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.benefit-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.benefit-item i { color: var(--hc-red); flex-shrink: 0; }

/* Service details (HTML markup only — không áp lên Elementor section) */
.svc-detail:not(.elementor-section) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--hc-border);
}

.svc-detail:not(.elementor-section):last-child { border-bottom: none; }
.svc-detail:not(.elementor-section).rev .svc-visual { order: -1; }

.svc-detail-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.svc-detail-content p { color: var(--hc-text-muted); margin-bottom: 20px; line-height: 1.85; }
.svc-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.svc-visual {
  border-radius: var(--hc-radius-lg);
  background: linear-gradient(135deg, var(--hc-red-light), var(--hc-yellow-light));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.svc-visual-icon { font-size: 5rem; color: var(--hc-red); }
.svc-visual-tag {
  background: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.svc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Compare */
.hc-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--hc-border); font-size: 0.9rem; }
.compare-table th { background: var(--hc-red); color: #fff; font-weight: 800; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 700; }
.compare-table tr:nth-child(even) { background: var(--hc-red-light); }
.compare-table .check { color: var(--hc-green); }
.compare-table .cross { color: #ccc; }

/* Areas */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.area-item {
  background: #fff;
  border-radius: var(--hc-radius);
  padding: 14px 16px;
  border: 1.5px solid var(--hc-border);
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--hc-transition);
}
.area-item:hover { border-color: var(--hc-red); color: var(--hc-red); transform: translateY(-2px); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--hc-radius); border: 1.5px solid var(--hc-border); overflow: hidden; }
.faq-q {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
}
.faq-q:hover { background: var(--hc-red-light); color: var(--hc-red); }
.faq-q i { transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  font-size: 0.88rem;
  color: var(--hc-text-muted);
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

/* CTA red */
.hc-cta-red.stats-bg {
  background: linear-gradient(135deg, var(--hc-red), var(--hc-red-dark));
  position: relative;
  overflow: hidden;
}

.hc-cta-red-inner { text-align: center; position: relative; z-index: 1; }
.hc-cta-red h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 16px; }
.hc-cta-red p { color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto 32px; }
.hc-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.eyebrow-yellow { background: rgba(255,193,7,.15); color: var(--hc-yellow); }

/* About */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hc-muted { color: var(--hc-text-muted); line-height: 1.85; margin-bottom: 16px; }
.hc-btns-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hc-about-card {
  background: linear-gradient(135deg, var(--hc-red-light), var(--hc-yellow-light));
  border-radius: 24px;
  padding: 40px;
  text-align: center;
}
.hc-about-emoji { font-size: 5rem; margin-bottom: 16px; }
.hc-about-card-title { font-size: 1.2rem; font-weight: 900; color: var(--hc-red); margin-bottom: 8px; }
.hc-about-card-sub { font-size: 0.88rem; color: var(--hc-text-muted); }
.hc-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.hc-mini-stats div { background: #fff; border-radius: 12px; padding: 16px; }
.hc-mini-stats strong { display: block; font-size: 1.4rem; color: var(--hc-red); }
.hc-mini-stats span { font-size: 0.78rem; color: var(--hc-text-muted); }

.hc-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 880px; margin: 0 auto; }
.hc-mission-card { border-radius: var(--hc-radius-lg); padding: 40px; color: #fff; }
.hc-mission-red { background: linear-gradient(135deg, var(--hc-red), var(--hc-red-dark)); }
.hc-mission-yellow { background: linear-gradient(135deg, var(--hc-yellow-dark), #f57f17); }
.hc-mission-card h3 { font-size: 1.3rem; font-weight: 900; margin: 0 0 14px; color: #fff; }
.hc-mission-card p { color: rgba(255,255,255,.85); line-height: 1.8; margin: 0; }
.hc-mission-emoji { font-size: 2.5rem; margin-bottom: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.value-card { background: #fff; border-radius: var(--hc-radius); padding: 28px; border-left: 4px solid var(--hc-red); box-shadow: var(--hc-shadow-card); }
.value-card .vi { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.value-card p { font-size: 0.87rem; color: var(--hc-text-muted); margin: 0; }

.hc-timeline { max-width: 700px; margin: 0 auto; display: grid; gap: 16px; }
.hc-timeline-item { background: #fff; border-left: 4px solid var(--hc-red); padding: 16px 20px; border-radius: 8px; box-shadow: var(--hc-shadow-card); }
.hc-timeline-item strong { color: var(--hc-red); }
.hc-timeline-item p { margin: 8px 0 0; color: var(--hc-text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--hc-red), var(--hc-yellow-dark));
  color: #fff; font-weight: 900; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.team-card h4 { font-weight: 800; margin-bottom: 4px; }
.team-card span { font-size: 0.85rem; color: var(--hc-text-muted); }

/* Download */
.hc-dl-hero.dl-hero {
  min-height: 90vh;
  padding-top: 68px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1515 60%, #3d1a00 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.dl-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.dl-title span { color: var(--hc-yellow); }
.dl-desc { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.dl-content .eyebrow { background: rgba(255,193,7,.15); color: var(--hc-yellow); }

.promo-banner {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,193,7,.12); border: 1px solid rgba(255,193,7,.3);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 20px;
  font-size: 0.9rem;
}
.promo-banner i { color: var(--hc-yellow); font-size: 1.4rem; flex-shrink: 0; }

.phone-slider-wrap { display: flex; justify-content: center; gap: 20px; }
.phone-frame-dl {
  width: 160px; height: 300px;
  background: var(--hc-text); border-radius: 30px;
  border: 6px solid var(--hc-text); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.phone-tilt-left { transform: rotate(-6deg) translateY(20px); }

.ph-head { color: rgba(255,255,255,.7); font-size: 0.6rem; }
.ph-title { color: #fff; font-size: 0.75rem; font-weight: 800; margin-bottom: 10px; }
.ph-row {
  background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px; color: #fff; font-size: 0.6rem;
}
.ph-row i { color: var(--hc-yellow); }

.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.screen-mini { background: #fff; border: 1.5px solid var(--hc-border); border-radius: var(--hc-radius); padding: 24px; text-align: center; }
.screen-mini .icon { font-size: 2rem; margin-bottom: 12px; }
.screen-mini h4 { font-weight: 800; margin-bottom: 8px; font-size: 0.95rem; }
.screen-mini p { font-size: 0.85rem; color: var(--hc-text-muted); margin: 0; }

.guide-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.guide-tab {
  padding: 12px 20px; border-radius: 100px; border: 2px solid var(--hc-border);
  background: #fff; font-weight: 700; font-size: 0.88rem; cursor: pointer;
  transition: var(--hc-transition);
}
.guide-tab.active, .guide-tab:hover { border-color: var(--hc-red); background: var(--hc-red-light); color: var(--hc-red); }

.guide-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-step-card { background: #fff; border-radius: var(--hc-radius); padding: 24px; border: 1.5px solid var(--hc-border); }
.guide-step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--hc-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px;
}
.guide-step-card h4 { font-weight: 800; margin-bottom: 6px; font-size: 0.95rem; }
.guide-step-card p { font-size: 0.85rem; color: var(--hc-text-muted); margin: 0; }

/* Contact */
.contact-main-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.info-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.info-card {
  background: #fff; border-radius: var(--hc-radius); padding: 20px;
  border: 1.5px solid var(--hc-border); display: flex; gap: 14px; align-items: flex-start;
}
.info-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--hc-red-light);
  color: var(--hc-red); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-card h4 { font-size: 0.82rem; color: var(--hc-text-muted); margin: 0 0 2px; }
.info-card p { font-weight: 700; font-size: 0.95rem; margin: 0; }

.map-box {
  background: var(--hc-red-light);
  border-radius: var(--hc-radius-lg);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--hc-red);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.map-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.05), rgba(255, 193, 7, 0.05));
  pointer-events: none;
}

.map-box > * {
  position: relative;
  z-index: 1;
}

.map-box > i {
  font-size: 3rem;
  color: var(--hc-red);
  line-height: 1;
}

.map-box-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--hc-red);
}

.map-box p,
.map-box-address {
  font-size: 0.85rem;
  color: var(--hc-red);
  margin: 0;
}

.map-box .btn,
.map-box .hc-map-btn {
  padding: 7px 14px;
  font-size: 0.78rem;
  margin-top: 2px;
  gap: 5px;
  line-height: 1;
  width: auto;
  align-self: center;
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.22);
}

.map-box .btn i,
.map-box .hc-map-btn i {
  font-size: 0.9rem;
  color: #fff;
  opacity: 1;
  line-height: 1;
}

.contact-form-card {
  background: #fff; border-radius: var(--hc-radius-lg); padding: 32px;
  border: 1.5px solid var(--hc-border); box-shadow: var(--hc-shadow-card);
}
.contact-form-card h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: 6px; }
.hc-form-note { font-size: 0.87rem; color: var(--hc-text-muted); margin-bottom: 24px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.form-group label span { color: var(--hc-red); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--hc-border);
  border-radius: var(--hc-radius-sm); font-family: inherit; font-size: 0.9rem;
}
.form-control:focus { outline: none; border-color: var(--hc-red); }

/* News */
.news-featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 40px; }
.news-feat-main { background: #fff; border-radius: var(--hc-radius-lg); overflow: hidden; border: 1.5px solid var(--hc-border); }
.news-feat-img { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; }
.news-feat-img i { font-size: 5rem; color: rgba(255,255,255,.9); }
.news-feat-label { position: absolute; top: 16px; left: 16px; background: rgba(0,0,0,.3); color: #fff; padding: 6px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.news-feat-body { padding: 24px; }
.news-feat-body h2 { font-size: 1.3rem; font-weight: 900; margin: 12px 0; line-height: 1.4; }
.news-feat-body h2 a { color: inherit; text-decoration: none; }
.news-feat-meta, .news-feat-meta-sm { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--hc-text-muted); }
.news-cat { background: var(--hc-red-light); color: var(--hc-red); font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.news-feat-sub { display: flex; flex-direction: column; gap: 16px; }
.news-feat-item { display: flex; gap: 14px; background: #fff; border-radius: var(--hc-radius); padding: 14px; border: 1.5px solid var(--hc-border); }
.news-feat-item-img { width: 64px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.news-feat-item-img i { font-size: 1.8rem; color: #fff; }
.news-feat-item h4 { font-size: 0.88rem; font-weight: 800; margin: 4px 0; line-height: 1.4; }
.news-feat-item h4 a { color: inherit; text-decoration: none; }

.hc-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--hc-radius); overflow: hidden; border: 1.5px solid var(--hc-border); transition: var(--hc-transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--hc-shadow-card); }
.news-img { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.news-img i { font-size: 3rem; color: rgba(255,255,255,.9); }
.news-body { padding: 20px; }
.news-meta { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.news-body h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; line-height: 1.4; }
.news-body h3 a { color: inherit; text-decoration: none; }
.news-body p { font-size: 0.85rem; color: var(--hc-text-muted); margin-bottom: 14px; }
.read-more { font-size: 0.85rem; color: var(--hc-red); font-weight: 700; text-decoration: none; }

.why-bg { background: linear-gradient(135deg, #fff5f5, #fff8e1); }

@media (max-width: 1024px) {
  .svc-detail:not(.elementor-section), .story-grid, .dl-grid, .contact-main-grid, .news-featured, .hc-mission-grid { grid-template-columns: 1fr; }
  .svc-detail:not(.elementor-section).rev .svc-visual { order: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-steps-grid, .screens-grid, .hc-news-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .info-cards-grid, .form-row-2, .guide-steps-grid, .screens-grid, .hc-news-grid { grid-template-columns: 1fr; }
  .phone-slider-wrap { display: none; }
}
