﻿/* ==========================================================================
   VỀ CHÚNG TÔI — ĐOÀN GIA PHÁT
   Hiện đại, tinh tế · Be Vietnam Pro heading · Không nền kem · Không gradient
   100% Native Elementor & UX Builder Compatible
   ========================================================================== */

/* ── Design Tokens ───────────────────────────────────────────────────────── */
.ab-page {
  --ab-blue:      #293992;
  --ab-blue-dk:   #1e2a6e;
  --ab-blue-lt:   #e8ecf8;
  --ab-white:     #ffffff;
  --ab-off:       #f5f6f8;
  --ab-border:    #dde2ee;
  --ab-border-lt: #edf0f7;
  --ab-text:      #1e2230;
  --ab-body:      #404558;
  --ab-muted:     #585d74;
  --ab-gold:      var(--dgp-gold);
  --ab-gold-dk:   var(--dgp-gold);
  --ab-serif:     "Be Vietnam Pro", Arial, sans-serif;
  --ab-sans:      'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ab-radius:    4px;
  --ab-shadow:    0 4px 20px rgba(30, 42, 110, 0.06);
  --ab-shadow-hover: 0 10px 30px rgba(30, 42, 110, 0.12);
  
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--ab-text);
  background: var(--ab-white);
  line-height: 1.7;
}

.ab-page *, .ab-page *::before, .ab-page *::after {
  box-sizing: border-box;
}

/* ── Typography & Headings ───────────────────────────────────────────────── */
.ab-page h1,
.ab-page h2,
.ab-page h3,
.ab-page h4,
.ab-section-title,
.ab-hero__title,
.ab-page .elementor-heading-title,
.ab-page .elementor-icon-box-title,
.ab-page .elementor-counter-number-wrapper,
.ab-page .ab-year-display,
.ab-slogan {
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-weight: 700 !important;
  color: var(--ab-text);
  letter-spacing: -0.015em;
}

.ab-kicker,
.ab-hero__kicker,
.ab-cta__kicker {
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: var(--ab-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ab-kicker::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--ab-blue);
  flex-shrink: 0;
}

.ab-hero__kicker::before,
.ab-cta__kicker::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--ab-gold);
  flex-shrink: 0;
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.ab-hero {
  position: relative;
  min-height: clamp(540px, 70vh, 760px);
  background-color: var(--ab-blue-dk);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ab-hero .elementor-background-overlay {
  background: rgba(20, 28, 80, 0.8) !important;
}

.ab-hero__title .elementor-heading-title {
  color: #ffffff !important;
  font-size: clamp(34px, 4.4vw, 56px) !important;
  line-height: 1.15 !important;
  margin-bottom: 20px !important;
}

.ab-hero__desc p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: clamp(14px, 1.15vw, 16px) !important;
  line-height: 1.85 !important;
}

/* ── Quick Nav Bar ────────────────────────────────────────────────────────── */
.ab-quick-nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: #f6f3ee;
  border-top: 1px solid rgba(20, 35, 51, 0.08);
  border-bottom: 1px solid rgba(20, 35, 51, 0.18);
}

.ab-quick-nav .elementor-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ab-quick-nav .ab-nav-link .elementor-button,
.ab-quick-nav a {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 0 16px !important;
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1f2a2d !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  transition: color 0.2s ease !important;
}

.ab-quick-nav .ab-nav-link .elementor-button::after,
.ab-quick-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.ab-quick-nav .elementor-column:first-child .elementor-button::after,
.ab-quick-nav .ab-nav-link .elementor-button:hover::after,
.ab-quick-nav a:hover::after {
  background: #b7874d !important;
}

.ab-quick-nav .ab-nav-link .elementor-button:hover,
.ab-quick-nav a:hover {
  color: #1f2a2d !important;
  background: transparent !important;
}

/* ── Year Display (Lịch sử hình thành) ────────────────────────────────────── */
.ab-year-display .elementor-heading-title {
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: clamp(72px, 8vw, 100px) !important;
  font-weight: 700 !important;
  color: var(--ab-blue) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.04em !important;
  user-select: none;
}

.ab-history-quote {
  background: var(--ab-off);
  padding: 16px 20px;
  border-radius: var(--ab-radius);
}

/* ── Cards System (Hiệu ứng hiện đại, tinh gọn) ───────────────────────────── */
.ab-card,
.ab-page .elementor-widget-icon-box.ab-card,
.ab-page .ab-cap-card,
.ab-page .ab-doc-item,
.ab-page .ab-value-item,
.ab-page .ab-policy-card {
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  padding: 32px 26px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ab-card:hover,
.ab-cap-card:hover,
.ab-doc-item:hover,
.ab-value-item:hover,
.ab-policy-card:hover {
  transform: translateY(-4px);
  border-color: var(--ab-blue);
  box-shadow: var(--ab-shadow-hover);
}

/* Thẻ Tầm nhìn & Sứ mệnh */
.ab-card--vision {
  border-top: 3px solid var(--ab-blue) !important;
}

.ab-card--mission {
  border-top: 3px solid var(--ab-gold) !important;
}

.ab-card--vision:hover,
.ab-card--mission:hover {
  background: var(--ab-white);
}

/* Icon Box Styling */
.ab-page .elementor-icon-box-icon {
  margin-bottom: 18px !important;
}

.ab-page .elementor-icon-box-icon .elementor-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: var(--ab-blue-lt) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 19px !important;
  color: var(--ab-blue) !important;
  transition: all 0.22s ease !important;
}

.ab-card:hover .elementor-icon-box-icon .elementor-icon {
  background: var(--ab-blue) !important;
  color: #ffffff !important;
}

.ab-card--mission:hover .elementor-icon-box-icon .elementor-icon {
  background: var(--ab-gold) !important;
  color: #ffffff !important;
}

.ab-page .elementor-icon-box-title {
  margin-bottom: 12px !important;
  font-size: 20px !important;
  color: var(--ab-text) !important;
}

.ab-page .elementor-icon-box-description {
  font-size: 13.5px !important;
  line-height: 1.8 !important;
  color: var(--ab-muted) !important;
}

/* Thẻ giá trị cốt lõi (5 thẻ) */
.ab-value-item {
  padding: 30px 20px !important;
  text-align: center !important;
}

.ab-value-item .elementor-icon-box-icon {
  margin-left: auto !important;
  margin-right: auto !important;
}

.ab-value-item .elementor-icon-box-title {
  font-size: 17px !important;
}

/* ── Stats / Counters (Con số nổi bật) ────────────────────────────────────── */
.ab-stats-section {
  background-color: var(--ab-blue-dk) !important;
}

.ab-counter-box .elementor-counter-number-wrapper {
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: clamp(48px, 5.5vw, 68px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin-bottom: 8px !important;
}

.ab-counter-box .elementor-counter-number,
.ab-counter-box .elementor-counter-number-prefix,
.ab-counter-box .elementor-counter-number-suffix {
  color: #ffffff !important;
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
}

.ab-counter-box .elementor-counter-title {
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

/* ── Checklists (Chính sách chất lượng & CTA) ──────────────────────────────── */
.ab-quality-checklist .elementor-icon-list-item {
  padding: 10px 0 !important;
  border-bottom: 1px dashed var(--ab-border) !important;
}

.ab-quality-checklist .elementor-icon-list-item:last-child {
  border-bottom: none !important;
}

.ab-quality-checklist .elementor-icon-list-icon {
  color: var(--ab-blue) !important;
  font-size: 15px !important;
  margin-right: 12px !important;
}

.ab-quality-checklist .elementor-icon-list-text {
  font-size: 14.5px !important;
  color: var(--ab-text) !important;
  font-weight: 500 !important;
}

.ab-cta-checklist .elementor-icon-list-item {
  padding: 8px 0 !important;
}

.ab-cta-checklist .elementor-icon-list-icon {
  color: var(--ab-gold) !important;
  margin-right: 12px !important;
}

.ab-cta-checklist .elementor-icon-list-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14.5px !important;
}

/* ── Buttons (Nút bấm sang trọng, sắc sảo) ───────────────────────────────── */
.ab-page .elementor-button {
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  min-height: 48px !important;
  padding: 12px 28px !important;
  border-radius: var(--ab-radius) !important;
  box-shadow: none !important;
  transition: all 0.22s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ab-btn-primary .elementor-button {
  background: var(--ab-blue) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--ab-blue) !important;
}

.ab-btn-primary .elementor-button:hover {
  background: var(--ab-blue-dk) !important;
  border-color: var(--ab-blue-dk) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(41, 57, 146, 0.25) !important;
}

.ab-btn-outline .elementor-button {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
}

.ab-btn-outline .elementor-button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

.ab-btn-cta-gold .elementor-button {
  background: var(--ab-gold) !important;
  color: var(--ab-blue-dk) !important;
  border: 1.5px solid var(--ab-gold) !important;
}

.ab-btn-cta-gold .elementor-button:hover {
  background-image: var(--dgp-gold-gradient) !important;
  border-color: var(--dgp-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--dgp-gold) 30%, transparent) !important;
}

.ab-btn-cta-outline .elementor-button {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
}

.ab-btn-cta-outline .elementor-button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

/* ── Motion polish (visual only, content untouched) ───────────────────────── */
@keyframes abFloatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes abGlowPulse {
  0%, 100% { box-shadow: 0 0 0 transparent; }
  50% { box-shadow: 0 18px 40px color-mix(in srgb, var(--dgp-gold) 12%, transparent); }
}

.ab-page .ab-hero__title,
.ab-page .ab-hero__desc,
.ab-page .ab-btn-primary,
.ab-page .ab-btn-outline,
.ab-page .ab-card,
.ab-page .ab-value-item,
.ab-page .ab-policy-card,
.ab-page .ab-cap-card,
.ab-page .elementor-widget-image,
.ab-page .elementor-widget-icon-box,
.ab-page .elementor-widget-text-editor,
.ab-page .elementor-counter {
  will-change: transform, opacity, filter;
}

.ab-page .ab-hero__title {
  animation: abFloatSoft 8s ease-in-out infinite;
}

.ab-page .ab-card,
.ab-page .ab-value-item,
.ab-page .ab-policy-card,
.ab-page .ab-cap-card,
.ab-page .elementor-widget-image,
.ab-page .elementor-widget-icon-box {
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.35s ease, filter 0.45s ease;
}

.ab-page .ab-card:hover,
.ab-page .ab-value-item:hover,
.ab-page .ab-policy-card:hover,
.ab-page .ab-cap-card:hover,
.ab-page .elementor-widget-image:hover,
.ab-page .elementor-widget-icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(30, 42, 110, 0.10);
}

.ab-page .elementor-button {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.ab-page .elementor-button:hover {
  transform: translateY(-2px);
}

.ab-page .elementor-counter {
  animation: abGlowPulse 4.2s ease-in-out infinite;
}

.ab-page .ab-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.ab-page .ab-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .ab-page .ab-hero__title,
  .ab-page .elementor-counter,
  .ab-page .ab-card,
  .ab-page .ab-value-item,
  .ab-page .ab-policy-card,
  .ab-page .ab-cap-card,
  .ab-page .elementor-widget-image,
  .ab-page .elementor-widget-icon-box,
  .ab-page .elementor-button,
  .ab-page .ab-reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

.ab-btn-doc .elementor-button {
  background: var(--ab-blue) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--ab-blue) !important;
  min-height: 38px !important;
  padding: 8px 18px !important;
  font-size: 10px !important;
}

.ab-btn-doc .elementor-button:hover {
  background: var(--ab-blue-dk) !important;
  transform: translateY(-2px);
}

/* ── Images & Gallery ─────────────────────────────────────────────────────── */
.ab-card-image img,
.ab-gallery-thumb img {
  border-radius: var(--ab-radius);
  border: 1px solid var(--ab-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  object-fit: cover;
  display: block;
}

.ab-card-image:hover img,
.ab-gallery-thumb:hover img {
  transform: scale(1.02);
  box-shadow: var(--ab-shadow);
  border-color: var(--ab-blue);
}

/* ── Form Tư Vấn (Contact Form 7) ─────────────────────────────────────────── */
.ab-cf7-form .wpcf7-form p {
  margin-bottom: 14px !important;
}

.ab-cf7-form label {
  display: block;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ab-text);
  margin-bottom: 6px;
}

.ab-cf7-form input[type="text"],
.ab-cf7-form input[type="email"],
.ab-cf7-form input[type="tel"],
.ab-cf7-form textarea {
  width: 100% !important;
  padding: 11px 14px !important;
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 13.5px !important;
  color: var(--ab-text) !important;
  background: #ffffff !important;
  border: 1px solid var(--ab-border) !important;
  border-radius: var(--ab-radius) !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ab-cf7-form input:focus,
.ab-cf7-form textarea:focus {
  border-color: var(--ab-blue) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(41, 57, 146, 0.1) !important;
}

.ab-cf7-form input[type="submit"] {
  width: 100% !important;
  background: var(--ab-blue) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--ab-radius) !important;
  padding: 13px 24px !important;
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  margin-top: 6px !important;
}

.ab-cf7-form input[type="submit"]:hover {
  background: var(--ab-blue-dk) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(41, 57, 146, 0.25) !important;
}

/* ── Elementor Reset Overrides ────────────────────────────────────────────── */
.ab-page .elementor-section {
  max-width: none !important;
}

.ab-page .elementor-widget-heading .elementor-heading-title {
  margin: 0;
}

.ab-page .elementor-widget-text-editor p {
  margin: 0;
}

.ab-page .elementor-widget-text-editor p + p {
  margin-top: 14px;
}

/* ── Responsive Styling ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ab-hero { min-height: 520px; }
  .ab-value-item { margin-bottom: 14px; }
}

@media (max-width: 768px) {
  .ab-hero { min-height: 480px; padding: 60px 16px 50px !important; }
  .ab-hero__title .elementor-heading-title { font-size: 32px !important; }
  .ab-quick-nav .ab-nav-link .elementor-button { font-size: 10px !important; padding: 0 10px !important; min-height: 44px !important; }
  .ab-year-display .elementor-heading-title { font-size: 64px !important; }
  .ab-card { padding: 24px 20px; margin-bottom: 16px; }
  .ab-counter-box { margin-bottom: 24px; }
  .ab-stats-section .elementor-column { border-right: none !important; }
}
body.page-id-476 .dgp-visual-about-hero-action.elementor-widget-button .elementor-button:is(:hover, :focus, :focus-visible, :active) {
    background-color: #ffe600 !important;
    border-color: #ffe600 !important;
    color: #1e2a6e !important;
}
