/* ==============================================
   MAKA - TRANG GIẢI PHÁP TƯỚI TỰ ĐỘNG BIỆT THỰ
   File: maka-bt.css
   Upload vào: Assets trên Haravan
   
   Thêm vào theme.liquid (trước </head>):
   {{ 'maka-bt.css' | asset_url | stylesheet_tag }}
   ============================================== */

/* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    #maka-bt {
      //font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
      font-family: 'Be Vietnam Pro', sans-serif;
      color: #1A1A1A;
      line-height: 1.7;
      font-size: 16px;
      background: #fff;
    }

    #maka-bt img { max-width: 100%; height: auto; display: block; }

    #maka-bt a { color: #2E7D32; text-decoration: none; }
    #maka-bt a:hover { color: #1B5E20; }

    #maka-bt h1{font-family: 'Be Vietnam Pro', sans-serif;}
    #maka-bt h2{font-family: 'Be Vietnam Pro', sans-serif;}
    #maka-bt h3{font-family: 'Be Vietnam Pro', sans-serif;}
    #maka-bt h5{font-family: 'Be Vietnam Pro', sans-serif;}

    /* ===== LAYOUT HELPERS ===== */
    #maka-bt .maka-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px;
    }

    #maka-bt .maka-section {
      padding: 60px 0;
      background: #fff;
      color: #1A1A1A;
    }

    #maka-bt .maka-section--gray {
      background: #F7F7F7;
    }

    #maka-bt .maka-section--green {
      background: #1B5E20;
      color: #fff;
      padding: 0px 0px;
    }

    #maka-bt .maka-section--green * {
      color: #fff;
    }

    #maka-bt .maka-section--green .maka-btn--primary {
      color: #1A1A1A;
    }

    #maka-bt .maka-section--green .maka-phone-big {
      color: #C8A951;
    }

    #maka-bt .maka-section--green p {
      color: rgba(255,255,255,0.85);
    }

    /* ===== BREADCRUMB ===== */
    #maka-bt .maka-breadcrumb {
      padding: 15px 0;
      font-size: 13px;
      color: #555;
    }

    #maka-bt .maka-breadcrumb a {
      color: #555;
    }

    #maka-bt .maka-breadcrumb span {
      margin: 0 6px;
      color: #ccc;
    }

    /* ===== SECTION 1: HERO ===== */
    #maka-bt .maka-hero {
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: #0a2e0a;
    }

    #maka-bt .maka-hero__bg {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-size: cover;
      background-position: center;
      opacity: 0.45;
    }

    #maka-bt .maka-hero__content {
      position: relative;
      z-index: 2;
      max-width: 1100px;
      margin: 0 auto;
      padding: 60px 20px;
      color: #fff;
    }

    #maka-bt .maka-hero__label {
      display: inline-block;
      background: #C8A951;
      color: #1A1A1A;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 5px 14px;
      margin-bottom: 20px;
    }

    #maka-bt .maka-hero h3 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.3;
      margin-top: 0px;
      margin-bottom: 16px;
      max-width: 700px;
    }

    #maka-bt .maka-hero__sub {
      font-size: 18px;
      line-height: 1.6;
      max-width: 600px;
      margin-bottom: 30px;
      opacity: 0.92;
    }

    #maka-bt .maka-hero__stats {
      display: flex;
      gap: 40px;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }

    #maka-bt .maka-hero__stat-number {
      font-size: 32px;
      font-weight: 700;
      color: #C8A951;
      display: block;
    }

    #maka-bt .maka-hero__stat-text {
      font-size: 14px;
      opacity: 0.85;
    }

    /* ===== BUTTONS ===== */
    #maka-bt .maka-btn {
      display: inline-block;
      padding: 14px 32px;
      font-size: 15px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      text-align: center;
      transition: background 0.3s, transform 0.2s;
      border-radius: 6px;
    }

    #maka-bt .maka-btn:hover {
      transform: translateY(-1px);
    }

    #maka-bt .maka-btn--primary {
      background: #C8A951;
      color: #1A1A1A;
    }

    #maka-bt .maka-btn--primary:hover {
      background: #b8993f;
      color: #1A1A1A;
    }

    #maka-bt .maka-btn--outline {
      background: transparent;
      color: #fff;
      border: 2px solid #fff;
      margin-left: 12px;
    }

    #maka-bt .maka-btn--outline:hover {
      background: rgba(255,255,255,0.12);
      color: #fff;
    }

    #maka-bt .maka-btn--green {
      background: #2E7D32;
      color: #fff;
    }

    #maka-bt .maka-btn--green:hover {
      background: #1B5E20;
      color: #fff;
    }

    /* ===== SECTION HEADERS ===== */
    #maka-bt .maka-section-header {
      text-align: center;
      margin-bottom: 45px;
    }

    #maka-bt .maka-section-header h5 {
      font-size: 28px;
      font-weight: 700;
      color: #1B5E20;
      margin-bottom: 12px;
    }

    #maka-bt .maka-section--green .maka-section-header h5 {
      color: #fff;
    }

    #maka-bt .maka-section-header p {
      font-size: 16px;
      color: #555;
      max-width: 650px;
      margin: 0 auto;
    }

    /* ===== SECTION 2: VẤN ĐỀ ===== */
    #maka-bt .maka-problems {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 50px;
    }

    #maka-bt .maka-problem-card {
      background: #fff;
      border: 1px solid #E0E0E0;
      padding: 30px 24px;
      text-align: center;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      transition: box-shadow 0.3s, transform 0.2s;
    }

    #maka-bt .maka-problem-card:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }

    #maka-bt .maka-problem-card__icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 16px;
      background: #E8F5E9;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
    }

    #maka-bt .maka-problem-card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
      color: #1A1A1A;
    }

    #maka-bt .maka-problem-card p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
    }

    /* ===== SECTION 3: GIẢI PHÁP TỔNG QUAN ===== */
    #maka-bt .maka-solution-intro {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    #maka-bt .maka-solution-intro__image {
      //background: #E8F5E9;
      min-height: 380px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #2E7D32;
      font-size: 14px;
      text-align: center;
      //padding: 20px;
      border: 2px solid #e9e9e9;
      border-radius: 8px;
    }

    #maka-bt .maka-solution-intro__text {
      //background: #fff;
      color: #1A1A1A;
    }

    #maka-bt .maka-solution-intro__text h5 {
      font-size: 26px;
      font-weight: 700;
      color: #1B5E20;
      margin-bottom: 16px;
      line-height: 1.4;
    }

    #maka-bt .maka-solution-intro__text p {
      margin-bottom: 14px;
      color: #555;
    }

    #maka-bt .maka-solution-intro__text strong {
      color: #1A1A1A;
    }

    #maka-bt .maka-solution-intro--reverse .maka-solution-intro__text {
      order: 1;
    }

    #maka-bt .maka-solution-intro--reverse .maka-solution-intro__image {
      order: 2;
    }

    /* ===== SECTION 4: QUY TRÌNH ===== */
    #maka-bt .maka-process {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      counter-reset: step;
    }

    #maka-bt .maka-process__step {
      text-align: center;
      padding: 30px 16px;
      position: relative;
    }

    #maka-bt .maka-process__step:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 24px;
      right: -10px;
      width: 20px;
      height: 2px;
      background: #E0E0E0;
    }

    #maka-bt .maka-process__step::before {
      counter-increment: step;
      content: counter(step);
      display: block;
      width: 48px;
      height: 48px;
      line-height: 48px;
      background: #1B5E20;
      color: #fff;
      font-size: 20px;
      font-weight: 700;
      border-radius: 50%;
      margin: 0 auto 16px;
    }

    #maka-bt .maka-process__step h3 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 8px;
      color: #1A1A1A;
    }

    #maka-bt .maka-process__step p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
    }

    /* ===== SECTION 5: CÁC KHU VỰC TƯỚI ===== */
    #maka-bt .maka-zones {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    #maka-bt .maka-zone-card {
      display: flex;
      gap: 20px;
      background: #fff;
      border: 1px solid #E0E0E0;
      padding: 24px;
      align-items: flex-start;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      transition: box-shadow 0.3s;
    }

    #maka-bt .maka-zone-card:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

    #maka-bt .maka-zone-card__icon {
      flex-shrink: 0;
      width: 50px;
      height: 50px;
      background: #E8F5E9;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
    }

    #maka-bt .maka-zone-card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
      color: #1A1A1A;
    }

    #maka-bt .maka-zone-card p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
    }

    #maka-bt .maka-zone-card__tech {
      font-size: 12px;
      color: #2E7D32;
      font-weight: 600;
      margin-top: 6px;
      display: block;
    }

    /* ===== SECTION 6: THIẾT BỊ ===== */
    #maka-bt .maka-brands {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      margin-bottom: 40px;
    }

    #maka-bt .maka-brand-card {
      background: #fff;
      border: 1px solid #E0E0E0;
      padding: 28px 24px;
      text-align: center;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      transition: box-shadow 0.3s;
    }

    #maka-bt .maka-brand-card:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

    #maka-bt .maka-brand-card__logo {
      min-height: height: 120px;
      margin: 0 auto 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      /* Placeholder cho logo thương hiệu */
    }
    #maka-bt .maka-brand-card__logo img{max-height:120px;}
    #maka-bt .maka-brand-card__country {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #C8A951;
      font-weight: 700;
      margin-bottom: 6px;
    }

    #maka-bt .maka-brand-card h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
      color: #1A1A1A;
    }

    #maka-bt .maka-brand-card p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
    }

    /* ===== SECTION 7: ĐIỀU KHIỂN TỪ XA ===== */
    #maka-bt .maka-smart {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    #maka-bt .maka-smart__image {
      //background: #E8F5E9;
      min-height: 350px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #2E7D32;
      font-size: 14px;
      text-align: center;
      //padding: 20px;
      border: 2px solid #e9e9e9;
    }

    #maka-bt .maka-smart__text h5 {
      font-size: 26px;
      font-weight: 700;
      color: #1B5E20;
      margin-bottom: 16px;
      line-height: 1.4;
    }

    #maka-bt .maka-smart__features {
      list-style: none;
      padding: 0;
    }

    #maka-bt .maka-smart__features li {
      padding: 10px 0;
      border-bottom: 1px solid #E0E0E0;
      font-size: 15px;
      color: #555;
      padding-left: 28px;
      position: relative;
    }

    #maka-bt .maka-smart__features li::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: #43A047;
      font-weight: 700;
    }

    /* ===== SECTION 8: SO SÁNH ===== */
    #maka-bt .maka-compare-wrapper {
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid #E0E0E0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      margin-bottom: 50px;
    }

    #maka-bt .maka-compare-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    #maka-bt .maka-compare-table th, 
    #maka-bt .maka-compare-table td {
      padding: 14px 18px;
      text-align: left;
      border-bottom: 1px solid #E0E0E0;
    }
    #maka-bt .maka-compare-table thead th {
      background: #1B5E20;
      color: #fff;
      font-weight: 600;
      font-size: 14px;
    }

    #maka-bt .maka-compare-table thead th:first-child {
      /* Cột tiêu chí */
    }

    #maka-bt .maka-compare-table tbody tr:nth-child(even) {
      background: #F7F7F7;
    }

    #maka-bt .maka-compare-table .maka-highlight {
      background: #E8F5E9;
      font-weight: 600;
      color: #1B5E20;
    }

    /* ===== SECTION 9: DỰ ÁN TIÊU BIỂU ===== */
    #maka-bt .maka-projects {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    #maka-bt .maka-project-card {
      border: 1px solid #E0E0E0;
      overflow: hidden;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      transition: box-shadow 0.3s, transform 0.2s;
    }

    #maka-bt .maka-project-card:hover {
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
      transform: translateY(-2px);
    }

    #maka-bt .maka-project-card__image {
      height: 220px;
      background: #E8F5E9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #2E7D32;
      font-size: 13px;
      text-align: center;
      //padding: 15px;
    }

    #maka-bt .maka-project-card__body {
      padding: 20px;
    }

    #maka-bt .maka-project-card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
      color: #1A1A1A;
    }

    #maka-bt .maka-project-card__meta {
      font-size: 13px;
      color: #555;
      margin-bottom: 10px;
    }

    #maka-bt .maka-project-card p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
    }

    /* ===== SECTION 10: TESTIMONIAL ===== */
    #maka-bt .maka-testimonials {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    #maka-bt .maka-testimonial {
      background: #fff;
      border: 1px solid #E0E0E0;
      border-left: 4px solid #C8A951;
      padding: 28px;
      position: relative;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    #maka-bt .maka-testimonial__quote {
      font-size: 30px;
      color: #43A047;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 10px;
    }

    #maka-bt .maka-testimonial p {
      font-size: 15px;
      color: #555;
      line-height: 1.7;
      font-style: italic;
      margin-bottom: 16px;
    }

    #maka-bt .maka-testimonial__author {
      font-size: 14px;
      font-weight: 600;
      color: #1A1A1A;
    }

    #maka-bt .maka-testimonial__location {
      font-size: 13px;
      color: #555;
    }

    /* ===== SECTION 11: FAQ ===== */
    #maka-bt .maka-faq-item {
      border-bottom: 1px solid #E0E0E0;
      padding: 20px 0;
    }

    #maka-bt .maka-faq-item h3 {
      font-size: 16px;
      font-weight: 600;
      color: #1A1A1A;
      margin-bottom: 8px;
    }

    #maka-bt .maka-faq-item p {
      font-size: 15px;
      color: #555;
      line-height: 1.7;
    }

    /* ===== SECTION 12: CTA CUỐI ===== */
    #maka-bt .maka-final-cta {
      text-align: center;
      padding: 70px 20px;
    }

    #maka-bt .maka-final-cta h5 {
      font-size: 30px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 14px;
    }

    #maka-bt .maka-final-cta p {
      font-size: 17px;
      color: rgba(255,255,255,0.85);
      margin-bottom: 30px;
      max-width: 550px;
      margin-left: auto;
      margin-right: auto;
    }

    #maka-bt .maka-final-cta .maka-btn {
      margin: 0 6px;
    }

    #maka-bt .maka-phone-big {
      font-size: 22px;
      font-weight: 700;
      color: #C8A951;
      display: block;
      margin-top: 20px;
    }

    /* ===== IMAGE NOTES (Xóa khi đưa lên production) ===== */
    #maka-bt .maka-image-note {
      background: #FFF3E0;
      //border: 1px dashed #E65100;
      //padding: 12px 16px;
      font-size: 13px;
      color: #E65100;
      margin: 8px 0;
      line-height: 1.5;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
      #maka-bt .maka-hero h1 { font-size: 26px; }
      #maka-bt .maka-hero__stats { gap: 24px; }
      #maka-bt .maka-hero__stat-number { font-size: 24px; }

      #maka-bt .maka-problems, 
      #maka-bt .maka-brands { grid-template-columns: 1fr; }

      #maka-bt .maka-solution-intro, 
      #maka-bt .maka-smart, 
      #maka-bt .maka-testimonials, 
      #maka-bt .maka-zones { grid-template-columns: 1fr; }

      #maka-bt .maka-solution-intro--reverse .maka-solution-intro__text { order: 1; }
      #maka-bt .maka-solution-intro--reverse .maka-solution-intro__image { order: 2; }

      #maka-bt .maka-process { grid-template-columns: 1fr 1fr; gap: 16px; display: block;}
      #maka-bt .maka-process__step:not(:last-child)::after { display: none; }

      #maka-bt .maka-projects { grid-template-columns: 1fr; }

      #maka-bt .maka-btn {
        display: block; 
        width: 100%; 
        padding: 16px 24px;
      }
      #maka-bt .maka-btn--outline { margin-left: 0; margin-top: 10px; }
      #maka-bt .maka-hero .maka-btn { font-size: 14px; }

      #maka-bt .maka-compare-table { font-size: 13px; }
      #maka-bt .maka-compare-table th, 
      #maka-bt .maka-compare-table td { padding: 10px 12px; }

      #maka-bt .maka-compare-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }

      #maka-bt .maka-section { padding: 40px 0; }
      #maka-bt .maka-section-header { margin-bottom: 30px; }
      #maka-bt .maka-section-header h5 { font-size: 24px; }

      #maka-bt .maka-section--green {
      padding: 0px 0px;
    }
    }