/* polish.css — แก้ตามรีวิวใหญ่ 10 ต.ค. 2026 (ข้อ 2.5 2.8 2.13 2.14 2.15 2.17 + ปุ่ม LINE/โทร + แถบติดต่อ)
   โหลดหลัง theme-light.css เสมอ · บัมพ์ ?v= ใน base.html ทุกครั้งที่แก้ */

/* 2.5 ตัวหนังสือที่ต้องอ่านใช้ทองเข้ม (contrast ≥ 4.5:1 บนครีม) — ทองสว่างเก็บไว้กับเส้น ขอบ ไอคอน */
:root { --gold-text: #7a5a10; }
.price-amount, .pricing-card .price-amount,
.card-category, .featured-card .card-category, .card-body .card-category,
.svc-cta, .article-category, .article-back,
.contact-item .label, .eyebrow, .page-hero-content .eyebrow, .section-header .eyebrow, .hero-text .eyebrow,
h1 .gradient, h2 .gradient, .gradient,
.day-toast small, .day-bar span b, .lab-eyebrow { color: var(--gold-text); }
.gradient { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor; }
.btn-outline:hover, .service-overview-card:hover h3, .featured-card:hover h3, .footer-links a:hover { color: var(--gold-text); }

/* 2.14 ป้ายหมวดบนการ์ด: เลิกตัวจิ๋วพิมพ์ใหญ่เว้นช่องไฟ (ลายเซ็น AI) — เหลือป้ายแบบนั้นแค่ 1 จุดต่อ section (.eyebrow) */
.card-category, .featured-card .card-category, .card-body .card-category, .article-category {
    text-transform: none; letter-spacing: 0; font-size: 0.82rem; font-weight: 500;
}
/* ภาษาไทยห้ามเว้นช่องไฟ (สระ/วรรณยุกต์หลุดจากพยัญชนะ) — ปุ่มและข้อความไทยทุกจุด */
.btn, .stat-label, .hero-desc, .nav-links a, .day-foot-cap, .form-status, .contact-service-link, .lang-toggle { letter-spacing: 0; }
.btn { text-transform: none; font-size: 0.9rem; font-weight: 600; }
.nav-links a { text-transform: none; font-size: 0.95rem; }
.service-overview-card:hover .svc-cta { letter-spacing: 0; }

/* 2.15 หัวข้อไม่ทิ้งคำเดียวบรรทัดสุดท้าย */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* 2.17 กด Tab แล้วเห็นว่าอยู่ตรงไหน */
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 2px; }

/* 2.13 ปุ่ม/ลิงก์บนมือถือ ≥ 44px */
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.footer-links a, .footer-links p { display: block; min-height: 44px; line-height: 44px; padding: 0; }
.footer-legal { color: inherit; text-decoration: underline; opacity: .85; display: inline-block; padding: 0 .3em; min-height: 44px; line-height: 44px; }
.lang-toggle, .menu-toggle { min-height: 44px; min-width: 44px; }

/* 2.8 แถบคุกกี้แบบบาง: 1 บรรทัด + ปุ่ม 44px · ไม่บัง hero */
.ck-consent { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 99999; width: calc(100% - 20px); max-width: 760px;
    background: #181c22; color: #eef1f5; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.35);
    padding: 10px 12px 10px 16px; font-family: 'Anuphan', 'DM Sans', system-ui, sans-serif; font-size: 13.5px; line-height: 1.45;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ck-consent .ck-text { flex: 1 1 240px; }
.ck-consent .ck-text a { color: #e2c56d; text-decoration: underline; }
.ck-consent .ck-btns { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.ck-consent button { cursor: pointer; min-height: 44px; border-radius: 9px; padding: 0 16px; font: inherit; font-size: 13.5px; }
.ck-consent .ck-min { border: 1px solid rgba(255,255,255,.28); background: transparent; color: #eef1f5; }
.ck-consent .ck-all { border: 0; background: #c9a84c; color: #0b0c10; font-weight: 600; }
@media (max-width: 480px) { .ck-consent { padding: 10px 12px; } .ck-consent .ck-btns { width: 100%; } .ck-consent button { flex: 1; } }

/* 2.2 / 2.6 ปุ่ม LINE + แถบติดต่อติดล่างจอบนหน้าบริการ (มือถือ) */
.btn-line { background: #06c755; color: #fff; border-radius: 0; }
.btn-line:hover { background: #05b04b; color: #fff; }
.btn-line svg { width: 18px; height: 18px; fill: currentColor; }
.contact-bar { display: none; }
.line-float { display: none; }
@media (max-width: 900px) {
    .contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; gap: 1px;
        background: rgba(21,22,27,0.12); border-top: 1px solid rgba(21,22,27,0.12); box-shadow: 0 -8px 30px rgba(21,22,27,0.12); }
    .contact-bar a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; background: #f8f6f1; color: #15161b;
        font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 0 8px; }
    .contact-bar a svg { width: 20px; height: 20px; }
    .contact-bar .cb-line { background: #06c755; color: #fff; }
    .contact-bar .cb-line svg { fill: currentColor; }
    .contact-bar .cb-form { background: #15161b; color: #fff; flex: 1.4 1 0; }
    body:has(.contact-bar) { padding-bottom: 60px; }
    body:has(.contact-bar) .ck-consent { bottom: 68px; }
    .line-float { display: flex; position: fixed; right: 14px; bottom: 14px; z-index: 9000; width: 56px; height: 56px; border-radius: 50%; background: #06c755;
        box-shadow: 0 10px 30px rgba(0,0,0,.25); align-items: center; justify-content: center; }
    .line-float svg { width: 30px; height: 30px; fill: #fff; }
    body:has(.line-float) .ck-consent { bottom: 80px; }
}
/* ช่องทางติดต่อหน้า contact: LINE + โทรกดได้ */
.contact-item .value a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* เก็บตกหลังวัดจริง (11 ต.ค. 2026): h1 หน้าแรกมี rule เฉพาะของธีมที่ใส่ทองสว่างไว้ · ลิงก์ footer-bottom / เบอร์โทรหน้า contact ยังเตี้ยกว่า 44px */
.hero-day .hero-text h1 .gradient { color: var(--gold-text); -webkit-text-fill-color: var(--gold-text); }
.footer .footer-bottom p a.footer-legal { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 .4em; text-transform: none; letter-spacing: 0; }
.contact-item .value a, .footer-links a[href^="tel:"], .footer-links a[href^="mailto:"] { display: inline-block; min-height: 44px; line-height: 44px; }
