/* ============================================================
   tyreonsite · style.css  — Red / Gold / Yellow Theme
   ============================================================ */
:root{
  --red-dark:#6b0000;--red-main:#c00000;--red-mid:#e00000;--red-light:#ff4444;
  --gold:#d4af37;--gold-light:#f5cf6e;--yellow:#ffd000;--yellow-pale:#fff8dc;
  --cream:#fffbf0;--dark-bg:#1a0000;--dark2:#2d0000;
  --text-dark:#1a0000;--text-mid:#5a1a1a;--text-light:#8b3a3a;
  --white:#ffffff;--radius:12px;--shadow:0 4px 20px rgba(100,0,0,.13);
  --transition:.22s ease;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Prompt','Noto Sans Thai',sans-serif;color:var(--text-dark);background:var(--white);line-height:1.7;overflow-x:hidden}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ── Utilities ── */
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.section{padding:64px 20px}
.section-white{background:var(--white)}
.section-dark{background:linear-gradient(160deg,var(--dark-bg),var(--dark2));color:#fff}
.section-cream{background:var(--cream)}
.section-title{text-align:center;margin-bottom:44px}
.eyebrow{color:var(--red-main);font-weight:700;font-size:.82rem;text-transform:uppercase;letter-spacing:2px}
.section-dark .eyebrow{color:var(--gold-light)}
.section-title h2{font-size:1.8rem;font-weight:900;margin:10px 0;color:var(--text-dark)}
.section-dark .section-title h2{color:#fff}
.section-title p{color:var(--text-light);font-size:.95rem}
.section-dark .section-title p{color:rgba(255,255,255,.7)}
.divider{width:52px;height:3px;background:linear-gradient(90deg,var(--red-main),var(--gold));margin:16px auto 0;border-radius:4px}
.section-dark .divider{background:linear-gradient(90deg,var(--gold),var(--yellow))}
.accent{color:var(--gold-light)}

/* ── Buttons ── */
.btn{display:inline-block;padding:12px 28px;border-radius:50px;font-weight:700;font-size:.95rem;transition:var(--transition);cursor:pointer;border:none;font-family:inherit}
.btn-red{background:linear-gradient(135deg,var(--red-main),var(--red-light));color:#fff;box-shadow:0 4px 16px rgba(192,0,0,.35)}
.btn-red:hover{transform:translateY(-2px);box-shadow:0 6px 22px rgba(192,0,0,.45)}
.btn-gold{background:linear-gradient(135deg,var(--gold),var(--yellow));color:var(--dark-bg);box-shadow:0 4px 16px rgba(212,175,55,.35);font-weight:800}
.btn-gold:hover{transform:translateY(-2px)}
.btn-outline{background:transparent;border:2px solid var(--gold);color:var(--gold)}
.btn-outline:hover{background:var(--gold);color:var(--dark-bg)}
.btn-sm{padding:8px 18px;font-size:.85rem}
.btn-red-large{display:inline-block;padding:16px 36px;border-radius:50px;font-weight:800;font-size:1.05rem;background:linear-gradient(135deg,var(--red-main),var(--red-light));color:#fff;box-shadow:0 4px 18px rgba(192,0,0,.4)}
.btn-gold-large{display:inline-block;padding:16px 36px;border-radius:50px;font-weight:800;font-size:1.05rem;background:linear-gradient(135deg,var(--gold),var(--yellow));color:var(--dark-bg);box-shadow:0 4px 18px rgba(212,175,55,.4)}

/* ── Navbar ── */
.cb-navbar{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);border-bottom:3px solid var(--red-main);padding:12px 20px;box-shadow:0 4px 22px rgba(192,0,0,.15)}
.cb-navbar-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.cb-brand{display:flex;align-items:center;gap:10px}
.cb-brand img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid var(--red-main)}
.cb-brand-name{font-weight:800;color:var(--red-main);font-size:1rem}
.cb-brand-tag{font-size:.72rem;color:var(--text-light)}
.cb-nav-links{display:flex;gap:20px;font-size:.9rem;font-weight:600}
.cb-nav-links a{color:var(--text-mid);transition:var(--transition)}
.cb-nav-links a:hover,.cb-nav-links a.active{color:var(--red-main)}
.cb-nav-cta{display:flex;gap:10px}

/* ── Hero ── */
.cb-hero{background:linear-gradient(rgba(20,0,0,.88),rgba(20,0,0,.95)),url('https://rtdai.co.th/pig/crp35.jpg') center/cover;padding:80px 20px;color:#fff}
.cb-hero-grid{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.cb-hero-grid>div:first-child{flex:1 1 350px}
.cb-hero-badge{display:inline-block;background:linear-gradient(90deg,var(--red-main),var(--red-light));color:#fff;padding:6px 18px;border-radius:50px;font-size:.83rem;font-weight:700;margin-bottom:20px;box-shadow:0 3px 12px rgba(192,0,0,.3)}
.cb-hero h1{font-size:2.1rem;font-weight:900;line-height:1.3;margin-bottom:14px}
.hero-sub{font-size:1.1rem;color:rgba(255,255,255,.8);font-weight:500}
.cb-hero-lead{font-size:1rem;color:rgba(255,255,255,.85);margin-bottom:26px;border-left:4px solid var(--gold);padding-left:14px}
.cb-hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px}
.cb-hero-stats{display:flex;flex-wrap:wrap;gap:24px;background:rgba(255,255,255,.08);padding:20px;border-radius:var(--radius);border:1px solid rgba(212,175,55,.3)}
.cb-hero-stat-num{color:var(--gold-light);font-size:1.5rem;font-weight:900}
.cb-hero-stat-label{color:rgba(255,255,255,.65);font-size:.78rem}
.cb-hero-img{flex:1 1 320px}
.cb-hero-img img{border-radius:16px;border:3px solid var(--gold);box-shadow:0 10px 30px rgba(0,0,0,.5)}

/* ── Trust Strip ── */
.trust-strip{background:var(--white);padding:36px 20px;border-bottom:1px solid rgba(192,0,0,.15)}
.trust-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;text-align:center;max-width:1100px;margin:0 auto}
.trust-item{flex:1 1 200px;padding:10px}
.trust-icon{font-size:2rem;margin-bottom:6px}
.trust-item h4{color:var(--red-main);font-size:1rem;font-weight:700;margin-bottom:4px}
.trust-item p{font-size:.88rem;color:var(--text-light)}

/* ── Services ── */
.services-grid{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}
.service-card{flex:1 1 300px;max-width:360px;border:1px solid rgba(192,0,0,.18);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#fff;transition:var(--transition)}
.service-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(192,0,0,.2)}
.service-card-img img{width:100%;height:220px;object-fit:cover}
.service-card-body{padding:20px}
.service-card-body h3{font-size:1.05rem;font-weight:700;color:var(--text-dark);margin-bottom:10px}
.service-card-body p{font-size:.9rem;color:var(--text-light);margin-bottom:14px}
.more{color:var(--red-main);font-weight:700;font-size:.9rem}

/* ── Process ── */
.process-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.process-step{flex:1 1 200px;max-width:240px;text-align:center;padding:30px 20px;background:rgba(255,255,255,.07);border-radius:var(--radius);border:1px solid rgba(212,175,55,.2)}
.process-num{color:var(--gold-light);font-size:2.8rem;font-weight:900;margin-bottom:14px}
.process-step h3{color:#fff;font-size:1rem;margin-bottom:8px}
.process-step p{color:rgba(255,255,255,.65);font-size:.88rem}

/* ── Promo ── */
.promo-grid{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.promo-img{flex:1 1 300px}
.promo-img img{border-radius:var(--radius);box-shadow:var(--shadow);border:3px solid var(--gold)}
.promo-text{flex:1 1 320px}
.promo-text h2{font-size:1.6rem;font-weight:900;color:var(--text-dark);margin:10px 0 16px}
.promo-text>p{color:var(--text-mid);margin-bottom:18px;font-size:.95rem}
.check-list{list-style:none;padding:0;margin-bottom:24px}
.check-list li{padding:6px 0;color:var(--text-mid);font-size:.93rem;border-bottom:1px dashed rgba(192,0,0,.12)}
.check-list li strong{color:var(--red-main)}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}

/* ── Gallery ── */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.gallery-item img{width:100%;height:160px;object-fit:cover;border-radius:8px;border:2px solid transparent;transition:var(--transition);cursor:pointer}
.gallery-item:hover img{border-color:var(--gold);transform:scale(1.03)}
.gallery-full-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.gallery-full-grid .gallery-item img{height:200px}

/* ── Calculator ── */
.calc-wrap{max-width:720px;margin:0 auto;background:#fff;border-radius:var(--radius);padding:32px;box-shadow:var(--shadow);border:1px solid rgba(192,0,0,.12)}
.calc-wrap h3{font-size:1.15rem;font-weight:700;color:var(--red-main);margin-bottom:20px;text-align:center}
.calc-form{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:20px}
.calc-field{flex:1 1 200px;display:flex;flex-direction:column;gap:6px}
.calc-field label{font-weight:600;color:var(--text-mid);font-size:.9rem}
.calc-field select,.calc-field input{padding:10px 14px;border:2px solid rgba(192,0,0,.2);border-radius:8px;font-family:inherit;font-size:.9rem;color:var(--text-dark)}
.calc-field select:focus,.calc-field input:focus{outline:none;border-color:var(--red-main)}
.calc-result{background:linear-gradient(135deg,var(--red-dark),var(--dark2));color:#fff;border-radius:var(--radius);padding:20px;margin-top:16px}
.price-total{font-size:1.4rem;font-weight:900;color:var(--gold-light);margin-top:10px}
.calc-note{font-size:.8rem;color:var(--text-light);margin-top:12px;text-align:center}

/* ── Knowledge ── */
.knowledge-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.knowledge-card{flex:1 1 280px;max-width:350px;background:#fff;border-radius:var(--radius);padding:24px;border:1px solid rgba(192,0,0,.12);box-shadow:var(--shadow)}
.knowledge-num{font-size:2rem;font-weight:900;color:var(--gold);margin-bottom:10px}
.knowledge-card h3{font-size:1rem;font-weight:700;color:var(--text-dark);margin-bottom:8px}
.knowledge-card p{font-size:.88rem;color:var(--text-light)}

/* ── CTA Banner ── */
.cta-banner{background:linear-gradient(135deg,var(--red-dark),var(--red-main));padding:60px 20px;text-align:center;color:#fff}
.cta-banner h2{font-size:1.8rem;font-weight:900;margin-bottom:12px}
.cta-banner p{font-size:1rem;color:rgba(255,255,255,.85);margin-bottom:28px}
.cta-buttons{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}

/* ── Reviews ── */
.review-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.review-card{flex:1 1 280px;max-width:340px;background:#fff;border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);border:1px solid rgba(192,0,0,.12);display:flex;flex-direction:column}
.review-stars{color:var(--gold);font-size:1.2rem;margin-bottom:10px}
.review-text{font-size:.9rem;color:var(--text-mid);font-style:italic;flex:1}
.review-meta{margin-top:14px;border-top:1px dashed rgba(192,0,0,.15);padding-top:12px}
.review-name{font-weight:700;color:var(--text-dark);font-size:1rem}
.review-place{font-size:.82rem;color:var(--text-light)}

/* ── Articles ── */
.article-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.article-card{flex:1 1 280px;max-width:340px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(192,0,0,.1);background:#fff;transition:var(--transition)}
.article-card:hover{transform:translateY(-3px)}
.article-img img{width:100%;height:180px;object-fit:cover}
.article-body{padding:18px}
.article-tag{display:inline-block;background:linear-gradient(90deg,var(--red-main),var(--red-light));color:#fff;font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:50px;margin-bottom:8px}
.article-body h3{font-size:.95rem;font-weight:700;margin-bottom:8px}
.article-body h3 a{color:var(--text-dark)}
.article-body h3 a:hover{color:var(--red-main)}
.article-body p{font-size:.85rem;color:var(--text-light)}

/* ── FAQ ── */
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:#fff;border:1px solid rgba(192,0,0,.18);border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(192,0,0,.06)}
.faq-q{width:100%;padding:18px 22px;background:transparent;border:none;text-align:left;font-family:inherit;font-size:1rem;font-weight:700;color:var(--text-dark);cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.faq-q:hover{background:rgba(192,0,0,.04)}
.toggle{color:var(--red-main);font-size:1.3rem;font-weight:700;flex-shrink:0;margin-left:12px;transition:var(--transition)}
.faq-a{display:none;padding:14px 22px 18px;font-size:.92rem;color:var(--text-mid);border-top:1px dashed rgba(192,0,0,.15)}
.faq-a.open{display:block}

/* ── Provinces ── */
.region-block{margin-bottom:28px}
.region-title{color:var(--gold-light);font-size:1rem;font-weight:700;margin-bottom:12px;text-align:center;padding-bottom:6px;border-bottom:2px solid rgba(212,175,55,.3)}
.prov-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.prov-pill{display:inline-block;background:rgba(192,0,0,.15);border:1.5px solid var(--red-main);color:#fff;padding:6px 14px;border-radius:50px;font-size:.84rem;font-weight:600;transition:var(--transition)}
.prov-pill:hover{background:var(--gold);color:var(--dark-bg);border-color:var(--gold)}

/* ── Contact Form ── */
.contact-grid{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.contact-info-box{flex:1 1 280px}
.contact-form-box{flex:2 1 360px;background:#fff;border-radius:var(--radius);padding:32px;box-shadow:var(--shadow);border:1px solid rgba(192,0,0,.12)}
.contact-form-box h3{font-size:1.2rem;font-weight:700;color:var(--red-main);margin-bottom:20px}
.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.form-group label{font-weight:600;color:var(--text-mid);font-size:.9rem}
.form-group input,.form-group select,.form-group textarea{padding:10px 14px;border:2px solid rgba(192,0,0,.2);border-radius:8px;font-family:inherit;font-size:.9rem;color:var(--text-dark);transition:var(--transition)}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--red-main)}
.form-group textarea{min-height:120px;resize:vertical}
.info-item{display:flex;align-items:flex-start;gap:14px;padding:16px 0;border-bottom:1px dashed rgba(192,0,0,.15)}
.info-icon{font-size:1.5rem;flex-shrink:0;margin-top:2px}
.info-label{font-weight:700;color:var(--text-dark);margin-bottom:4px;font-size:.95rem}
.info-value{font-size:.9rem;color:var(--text-mid)}
.info-value a{color:var(--red-main);font-weight:600}

/* ── Page Hero (inner pages) ── */
.page-hero{background:linear-gradient(rgba(20,0,0,.85),rgba(20,0,0,.92)),url('https://rtdai.co.th/pig/crp35.jpg') center/cover;padding:60px 20px;text-align:center;color:#fff}
.page-hero h1{font-size:2rem;font-weight:900;margin-bottom:12px;color:#fff}
.page-hero h1 span{color:var(--gold-light)}
.page-hero p{color:rgba(255,255,255,.8);font-size:1rem;max-width:600px;margin:0 auto}
.breadcrumb{font-size:.82rem;color:rgba(255,255,255,.55);margin-bottom:14px}
.breadcrumb a{color:var(--gold-light)}

/* ── Footer ── */
.cb-footer{background:var(--dark-bg);color:rgba(255,255,255,.8);padding:50px 20px 0}
.cb-footer-grid{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.1)}
.cb-footer h3{color:var(--gold-light);margin-bottom:14px;font-size:1.1rem}
.cb-footer h4{color:var(--gold-light);margin-bottom:14px;font-size:.95rem}
.cb-footer p{font-size:.88rem;line-height:1.8}
.cb-footer .contact-info p{margin:4px 0}
.cb-footer .contact-info a{color:var(--gold-light)}
.cb-footer-links{list-style:none;padding:0}
.cb-footer-links li{margin-bottom:8px}
.cb-footer-links a{color:rgba(255,255,255,.7);font-size:.88rem;transition:var(--transition)}
.cb-footer-links a:hover{color:var(--gold-light)}
.cb-footer-bottom{text-align:center;padding:18px;font-size:.8rem;color:rgba(255,255,255,.4)}

/* ── Float CTA ── */
.float-cta{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;gap:10px;z-index:999}

/* ── Lightbox ── */
.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:9999;align-items:center;justify-content:center}
.lightbox.open{display:flex}
.lightbox-close{position:absolute;top:20px;right:24px;background:none;border:none;color:#fff;font-size:2.5rem;cursor:pointer;line-height:1}
.lightbox img{max-width:90vw;max-height:90vh;border-radius:8px;border:3px solid var(--gold)}

/* ── Responsive ── */
@media(max-width:780px){
  .cb-nav-links{display:none}
  .cb-hero h1{font-size:1.5rem}
  .section-title h2{font-size:1.35rem}
  .cta-banner h2{font-size:1.3rem}
  .page-hero h1{font-size:1.5rem}
  .contact-grid{flex-direction:column}
}
