/* White/blue Sinthai — shared base (หน้าแรก + /beer/) · WEB-HOME3 ปรับหน้าแรกใหม่ 15/11/2569 · ⛔ ไม่อ้างไฟล์/ฟอนต์ภายนอก */
:root { --white:#fff; --sky:#edf7fc; --sky2:#dcecf6; --blue:#006cac; --deep:#073b6b; --cyan:#23a7df; --muted:#526a7e; --line:#c8dfeb; --max:1160px; --radius:10px; --shadow:0 10px 30px rgba(7,59,107,.10); }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; font-family:Tahoma,"Leelawadee UI",sans-serif; color:var(--deep); background:white; font-size:17px; line-height:1.8; overflow-wrap:break-word; overflow-x:hidden; }
p,figure,h1,h2,h3 { margin:0; }
.wrap { width:100%; max-width:var(--max); padding:0 32px; margin:0 auto; }
a { color:var(--blue); text-decoration:none; }
a:focus-visible { outline:3px solid var(--cyan); outline-offset:5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.top { border-top:4px solid var(--cyan); background:white; box-shadow:0 1px 0 #e3eff6; position:relative; z-index:2; }
.bar { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-top:16px; padding-bottom:16px; }
.identity { display:flex; align-items:center; gap:16px; }
.logo { display:block; width:59px; height:72px; object-fit:contain; }
.brand { font-size:20px; font-weight:700; }
.area { color:var(--muted); font-size:13px; }
.header-phone { padding:10px 0 10px 24px; border-left:1px solid var(--line); font-size:16px; font-weight:700; }
h1 { font-size:62px; line-height:1.42; font-weight:700; letter-spacing:-1px; color:var(--blue); }
h2 { font-size:30px; line-height:1.5; scroll-margin-top:24px; }
h3 { font-size:23px; line-height:1.65; }
.intro { display:block; font-size:21px; font-weight:400; color:var(--deep); letter-spacing:0; margin-bottom:14px; }
.lead { margin-top:22px; font-size:18px; color:var(--muted); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; margin-top:28px; padding:12px 24px; background:var(--blue); color:white; border:1px solid var(--blue); border-radius:8px; font-size:17px; font-weight:700; }
.btn:hover { background:var(--deep); border-color:var(--deep); }
.btn-ghost { background:white; color:var(--blue); }
.btn-ghost:hover { background:var(--sky); color:var(--deep); border-color:var(--deep); }

/* ── หน้าแรก: เมนูบนหัว ── */
.home-nav { display:flex; align-items:center; gap:28px; margin-left:auto; font-size:15px; font-weight:700; }
.home-nav a { display:inline-block; padding:10px 0; color:var(--deep); }
.home-nav a:hover { color:var(--blue); }

/* ── Hero ── */
.hero { background:linear-gradient(180deg, var(--sky) 0%, #f6fbfe 100%); }
.hero-layout { display:grid; grid-template-columns:1fr 1.1fr; align-items:center; gap:56px; padding-top:56px; padding-bottom:64px; }
.hero h1 { font-size:46px; line-height:1.5; letter-spacing:-.5px; }
.hero .intro { font-size:20px; margin-bottom:10px; }
.h1-line { display:block; }
.hero .lead { margin-top:18px; font-size:19px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero-actions .btn { margin-top:0; }
.hero-photo img { display:block; width:100%; height:auto; border-radius:14px; box-shadow:var(--shadow); }
.hero-photo figcaption { display:flex; align-items:center; gap:12px; margin-top:15px; font-size:13px; color:var(--muted); }
.hero-photo figcaption::before { content:""; display:block; height:2px; width:32px; background:var(--cyan); }

/* ── ตัวเลข ── */
.stats-band { background:var(--deep); color:white; }
/* WEB-HOME5 (owner 15/11/2569 "ตัวหนังสือไม่ชัด ใช้ icon ช่วย เน้นตัวหนังสือ"): ไอคอน → ตัวเลขใหญ่ "60+" → ชื่อหนา สีขาวล้วน */
.stats { list-style:none; margin:0; padding:44px 0; display:grid; grid-template-columns:repeat(4,1fr); }
.stat { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; padding:6px 16px; min-width:0; }
.stat + .stat { border-left:1px solid rgba(255,255,255,.18); }
.stat-icon { display:block; width:56px; height:56px; padding:12px; margin-bottom:12px; border-radius:50%; background:rgba(159,214,242,.14); box-sizing:content-box; }
.stat-num { font-size:52px; line-height:1.1; font-weight:800; color:white; white-space:nowrap; letter-spacing:-.01em; }
.stat-num b { font-weight:800; color:#7cc8ef; margin-left:2px; }
.stat-label { margin-top:8px; font-size:20px; font-weight:700; color:white; line-height:1.35; }
.stat-label small { display:block; margin-top:2px; font-size:14px; font-weight:400; color:#bfe3f7; }

/* ── เริ่มต้นคุยกับสินไทย ── */
.contact { padding-top:64px; padding-bottom:64px; }
.section-head { display:flex; justify-content:space-between; align-items:baseline; gap:24px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.section-head p { font-size:15px; color:var(--muted); }
.paths { display:grid; grid-template-columns:1fr 1fr; gap:24px; padding-top:32px; }
.path { display:flex; flex-direction:column; padding:28px 32px 20px; background:white; border:1px solid var(--line); border-top:4px solid var(--cyan); border-radius:0 0 var(--radius) var(--radius); }
.path p { margin-top:10px; margin-bottom:20px; color:var(--muted); font-size:16px; }
.phone { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:auto; padding:12px 0 4px; border-top:1px solid #e3eff6; font-weight:700; font-size:17px; min-height:48px; }
.phone span { display:flex; justify-content:center; align-items:center; width:38px; height:38px; border:1px solid var(--line); border-radius:50%; font-size:22px; }
.phone:hover span { background:var(--sky); }

/* ── คู่ค้า ── */
.partners-sec { background:var(--sky); padding:60px 0 64px; }
.partners { list-style:none; margin:0; padding:32px 0 0; display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.partner { display:flex; align-items:center; justify-content:center; height:124px; padding:14px; background:white; border:1px solid var(--line); border-radius:var(--radius); min-width:0; }
.partner img { display:block; max-width:100%; height:auto; }
.partner img { object-fit:contain; }
/* WEB-HOME4 (owner 15/11/2569 "ทำให้โลโก้แต่ละอันเท่า ๆ กัน"): ขนาดตาม "พื้นที่ภาพเท่ากัน" (~7,000 px²) ไม่ใช่กว้างเท่ากัน
   โลโก้ตั้ง (SPC) สูงแต่แคบ · โลโก้นอน (PENS/ดีเฟรช/โก๋แก่) กว้างแต่เตี้ย ⇒ น้ำหนักสายตาใกล้กัน */
.partner .pl-spc    { width:65px;  height:96px; }
.partner .pl-pens   { width:156px; height:42px; }
.partner .pl-dfresh { width:148px; height:49px; }
.partner .pl-kohkae { width:138px; height:51px; }
.partner-name span { font-size:17px; font-weight:700; line-height:1.4; text-align:center; color:var(--deep); white-space:nowrap; }

/* ── กิจกรรมของเรา (เพิ่มภาพ = เพิ่ม <figure> ใน .act-grid) ── */
.activities { padding-top:64px; padding-bottom:64px; }
.act-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding-top:32px; }
.act-grid figure { display:flex; flex-direction:column; min-width:0; }
.act-grid img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius); background:var(--sky); }
.act-grid figcaption { margin-top:10px; font-size:14px; line-height:1.5; color:var(--muted); }
.act-feature { grid-column:span 2; grid-row:span 2; }
.act-feature img { flex:1 1 0; height:0; min-height:0; aspect-ratio:auto; }
.act-feature figcaption { font-size:15px; font-weight:700; color:var(--deep); }
.act-grid:has(> figure:nth-child(2):last-child) { grid-template-columns:1fr 1fr; }
.act-grid:has(> figure:nth-child(2):last-child) > .act-feature { grid-column:auto; grid-row:auto; }
.act-grid:has(> figure:nth-child(2):last-child) > .act-feature img, .act-feature:only-child img { flex:none; height:auto; aspect-ratio:4/3; }
.act-feature:only-child { grid-column:1 / -1; grid-row:auto; }
.act-more { margin-top:28px; text-align:center; }
.act-more .btn { margin-top:0; }
/* ภาพตั้ง: ตัดเป็นช่องเท่าภาพอื่น โดยเลื่อนกรอบขึ้นให้เห็นใบหน้า */
.act-portrait img { object-position:50% 30%; }

/* ── ภายในคลังสินค้า ── */
.warehouse { padding:0 0 64px; }
.warehouse-layout { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
.warehouse figure { background:var(--sky); border-radius:var(--radius) 0 0 var(--radius); overflow:hidden; }
.warehouse img { display:block; width:100%; height:100%; object-fit:cover; }
.warehouse-copy { background:var(--sky); padding:40px 42px; display:flex; flex-direction:column; justify-content:center; border-radius:0 var(--radius) var(--radius) 0; }
.warehouse-copy p { margin-top:12px; color:var(--muted); font-size:16px; }
.territory { margin-top:26px; padding-top:22px; border-top:1px solid var(--line); }
.territory span { display:block; font-size:14px; color:var(--muted); }
.territory strong { display:block; font-size:23px; margin-top:4px; }

/* ── บริการงานเบียร์สด ── */
.beer-cta { padding-bottom:64px; }
.beer-box { padding:36px 40px; background:var(--sky); border-left:4px solid var(--cyan); border-radius:0 var(--radius) var(--radius) 0; }
.beer-box h2 { color:var(--deep); margin-bottom:12px; }
.beer-box p { margin-bottom:12px; color:var(--muted); font-size:16px; max-width:760px; }
.beer-box .notice { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); font-size:14px; }
.beer-box .btn { margin-top:8px; }

/* ── ท้ายหน้า (ใช้ร่วมกับ /beer/) ── */
.foot { background:var(--deep); color:white; }
.footer-content { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-top:32px; padding-bottom:32px; }
.footer-name { font-size:19px; font-weight:700; margin-bottom:6px; }
.footer-content p+p { font-size:13px; color:#d2eaf8; }
.footer-content a { display:inline-block; background:white; color:var(--deep); padding:12px 22px; border-radius:6px; font-size:16px; font-weight:700; }
.foot .staff { display:inline-block; background:transparent; color:#d2eaf8; padding:8px 0; border-radius:0; font-size:13px; font-weight:400; text-decoration:underline; text-underline-offset:4px; }
.foot-links { display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
a[href^="tel:"] { white-space:nowrap; }

/* ── เมนูหน้า /beer/ ── */
.nav { display:flex; flex-wrap:wrap; align-items:center; gap:4px 24px; font-size:16px; font-weight:700; }
.nav a { display:inline-block; padding:10px 0; min-height:44px; }
.nav a:hover { color:var(--deep); }
a.identity { color:var(--deep); }

/* ── คู่ค้า: ต่ำกว่า 1200px ⇒ 3 คอลัมน์ 2 แถว (6 ช่องเล็กเกิน ชื่อบริษัทขึ้นบรรทัดกลางคำ) ── */
@media (max-width:1199px) { .partners { grid-template-columns:repeat(3,1fr); } }

/* ── แท็บเล็ต ── */
@media (max-width:1023px) {
 .hero-layout { grid-template-columns:1fr; gap:36px; padding-top:44px; padding-bottom:48px; }
 .hero h1 { font-size:42px; }
 .stat-num { font-size:44px; }
 .stats { grid-template-columns:repeat(2,1fr); row-gap:28px; }
 .stat:nth-child(3) { border-left:0; }
}

/* ── มือถือ ── */
@media (max-width:759px) {
 .wrap { padding-left:24px; padding-right:24px; }
 .bar { padding-top:12px; padding-bottom:12px; }
 .identity { gap:12px; }
 .logo { width:47px; height:57px; }
 .brand { font-size:17px; }
 .area { font-size:12px; }
 .header-phone, .home-nav { display:none; }
 h1 { font-size:48px; line-height:1.35; letter-spacing:-.5px; }
 .intro { font-size:17px; margin-bottom:12px; }
 .lead { font-size:16px; margin-top:18px; }
 .btn { font-size:16px; margin-top:22px; }
 h2 { font-size:25px; }
 h3 { font-size:21px; }
 .hero-layout { gap:28px; padding-top:30px; padding-bottom:36px; }
 .hero h1 { font-size:31px; line-height:1.55; letter-spacing:0; }
 .hero .intro { font-size:16px; margin-bottom:6px; }
 .hero .lead { font-size:16px; margin-top:12px; }
 .hero-actions { margin-top:22px; gap:10px; }
 .hero-actions .btn { flex:1 1 100%; }
 .hero-photo img { border-radius:10px; }
 .hero-photo figcaption { font-size:12px; margin-top:12px; }
 .stats { padding:26px 0; }
 .stat { padding:2px 8px; }
 .stat-icon { width:40px; height:40px; padding:9px; margin-bottom:8px; }
 .stat-num { font-size:34px; }
 .stat-label { font-size:16px; margin-top:4px; }
 .stat-label small { font-size:12px; }
 .contact { padding-top:40px; padding-bottom:40px; }
 .section-head { display:block; padding-bottom:18px; }
 .section-head p { margin-top:6px; font-size:14px; }
 .paths { grid-template-columns:1fr; gap:16px; padding-top:22px; }
 .path { padding:22px 20px 14px; }
 .path p { font-size:15px; margin-bottom:14px; }
 .phone { font-size:16px; }
 .partners-sec { padding:40px 0 44px; }
 .partners { grid-template-columns:1fr 1fr; gap:12px; padding-top:22px; }
 .partner { height:100px; padding:12px; }
 .partner .pl-spc    { width:52px;  height:76px; }
 .partner .pl-pens   { width:126px; height:34px; }
 .partner .pl-dfresh { width:120px; height:40px; }
 .partner .pl-kohkae { width:112px; height:41px; }
 .partner-name span { font-size:16px; }
 .activities { padding-top:40px; padding-bottom:40px; }
 .act-grid { grid-template-columns:1fr 1fr; gap:12px; padding-top:22px; }
 .act-grid > .act-feature, .act-grid:has(> figure:nth-child(2):last-child) > figure, .act-grid:has(> figure:nth-child(2):last-child) > .act-feature { grid-column:1 / -1; grid-row:auto; }
 .act-grid > .act-feature img { flex:none; height:auto; aspect-ratio:4/3; }
 .act-grid figcaption { font-size:13px; margin-top:6px; }
 .act-grid > figure:nth-child(even):last-child { grid-column:1 / -1; }
 .act-more { margin-top:22px; }
 .warehouse { padding-bottom:36px; }
 .warehouse-layout { grid-template-columns:1fr; }
 .warehouse figure { border-radius:var(--radius) var(--radius) 0 0; }
 .warehouse img { height:auto; }
 .warehouse-copy { padding:26px 24px; border-radius:0 0 var(--radius) var(--radius); }
 .warehouse-copy p { font-size:15px; }
 .territory { margin-top:20px; padding-top:18px; }
 .territory strong { font-size:21px; }
 .act-more .btn { width:100%; }
 .beer-cta { padding-bottom:36px; }
 .beer-box { padding:24px 20px; }
 .footer-content { display:block; padding-top:28px; padding-bottom:28px; }
 .footer-content a { margin-top:20px; }
 .foot-links { align-items:flex-start; margin-top:20px; }
 .foot-links a { margin-top:0; }
 .bar:has(.nav) { flex-wrap:wrap; }
 .nav { gap:0 18px; font-size:15px; }
}
