:root {
  --brand-red: #E8001D;
  --deep-red: #C0392B;
  --text-dark: #1A1A1A;
  --brand-dark: #2C3E50;
  --white: #FFFFFF;
  --soft-white: #F8F8F8;
  --warm-light: #FDF6F0;
  --red-tint: #FFF0EE;
  --steel-blue: #2D6A9F;
  --soft-teal: #3D9E9E;
  --gold: #C9A84C;
  --border: #E0E0E0;
  --gray-text: #7A7A7A;
  --dark-footer: #2C2C2C;
  --line-green: #06C755;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Prompt', 'Noto Sans Thai', sans-serif;
  color: var(--text-dark);
  background: var(--soft-white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: 0.5px; }
.brand-name span { color: var(--brand-red); }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { font-size: 15px; font-weight: 400; color: var(--text-dark); }
.main-nav a:hover { color: var(--brand-red); }
.nav-cta {
  background: var(--brand-red); color: var(--white) !important;
  padding: 8px 20px; border-radius: 24px; font-weight: 500;
}
.nav-cta:hover { background: var(--deep-red); }

.menu-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text-dark); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #FFF 55%, var(--red-tint) 100%);
  padding: 64px 0 48px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: 40px; line-height: 1.3; font-weight: 600; }
.hero h1 span { color: var(--brand-red); }
.hero p.lead { margin: 18px 0 28px; font-size: 18px; color: var(--gray-text); }
.hero-img img { border-radius: 16px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 28px;
  font-size: 16px; font-weight: 500; cursor: pointer; border: none;
  transition: all .2s;
  font-family: inherit;
}
.btn-red { background: var(--brand-red); color: var(--white); }
.btn-red:hover { background: var(--deep-red); }
.btn-outline { background: transparent; color: var(--text-dark); border: 1.5px solid var(--text-dark); }
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); }
.btn-line { background: var(--line-green); color: var(--white); }
.btn-line:hover { filter: brightness(0.92); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== Trust bar ===== */
.trust-bar { background: var(--brand-dark); color: var(--white); padding: 18px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.trust-item { font-size: 14px; line-height: 1.5; }
.trust-item strong { display: block; font-size: 15px; font-weight: 500; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-warm { background: var(--warm-light); }
.section-title { text-align: center; font-size: 30px; font-weight: 600; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--gray-text); margin-bottom: 40px; font-size: 16px; }
.section-title .en { color: var(--brand-red); }

/* ===== Product cards ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.product-card .p-img { background: #fff; padding: 16px; }
.product-card .p-img img { height: 190px; object-fit: contain; margin: 0 auto; }
.p-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.p-tag { font-size: 12px; color: var(--brand-red); font-weight: 500; letter-spacing: .5px; }
.product-card .p-tag { display: block; min-height: 42px; }
.p-name { font-size: 18px; font-weight: 600; margin: 4px 0 6px; }
.p-desc { font-size: 13.5px; color: var(--gray-text); flex: 1; }
.p-price { font-size: 20px; font-weight: 600; color: var(--brand-red); margin: 12px 0 14px; }
.p-price small { font-size: 13px; color: var(--gray-text); font-weight: 400; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--white); border-radius: 16px; padding: 26px 22px; border: 1px solid var(--border); }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand-red);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 18px; margin-bottom: 14px;
}
.step-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--gray-text); }

.booking-note {
  margin-top: 28px; background: var(--red-tint); border-radius: 12px;
  padding: 18px 24px; font-size: 14.5px; text-align: center; color: var(--deep-red);
}

/* ===== Rental ===== */
.rental-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rental-grid img { border-radius: 16px; }
.rental-content h2 { font-size: 28px; font-weight: 600; margin-bottom: 14px; }
.rental-content p { margin-bottom: 12px; color: #444; }
.rental-list { list-style: none; margin: 16px 0 24px; }
.rental-list li { padding-left: 28px; position: relative; margin-bottom: 10px; font-size: 15px; }
.rental-list li::before { content: "✓"; position: absolute; left: 0; color: var(--soft-teal); font-weight: 700; }

/* ===== About / FAQ ===== */
.about-box { max-width: 780px; margin: 0 auto; text-align: center; }
.about-box p { color: #444; margin-bottom: 14px; }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 500; font-size: 15.5px; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 20px; color: var(--brand-red); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 20px 16px; font-size: 14.5px; color: var(--gray-text); }

/* ===== Contact / Footer ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px; text-align: center; }
.contact-card .ic { font-size: 30px; margin-bottom: 10px; }
.contact-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; color: var(--gray-text); }
.contact-card a { color: var(--brand-red); font-weight: 500; }

.site-footer { background: var(--dark-footer); color: #ccc; padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.site-footer h4 { color: var(--white); font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #444; padding-top: 18px; text-align: center; font-size: 12.5px; color: #999; }

/* ===== Floating LINE button ===== */
.line-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: var(--line-green); color: var(--white);
  border-radius: 30px; padding: 12px 22px; font-weight: 500; font-size: 15px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22); display: flex; align-items: center; gap: 8px;
}
.line-float:hover { filter: brightness(.92); }

/* ===== Product detail page ===== */
.breadcrumb { font-size: 13.5px; color: var(--gray-text); padding: 18px 0 0; }
.breadcrumb a:hover { color: var(--brand-red); }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 32px 0 56px; align-items: start; }
.pd-gallery .pd-main { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.pd-gallery .pd-main img { height: 420px; object-fit: contain; margin: 0 auto; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumbs img {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 6px; height: 74px; object-fit: contain; cursor: pointer; width: 100%;
}
.pd-thumbs img.active { border-color: var(--brand-red); }

.pd-info .p-tag { font-size: 13px; }
.pd-info h1 { font-size: 30px; font-weight: 600; line-height: 1.35; margin: 6px 0 10px; }
.pd-info .pd-price { font-size: 30px; color: var(--brand-red); font-weight: 600; }
.pd-info .pd-price small { font-size: 14px; color: var(--gray-text); font-weight: 400; }
.pd-highlights { list-style: none; margin: 20px 0; }
.pd-highlights li { padding-left: 30px; position: relative; margin-bottom: 10px; font-size: 15px; }
.pd-highlights li::before { content: "●"; position: absolute; left: 4px; color: var(--brand-red); font-size: 10px; top: 7px; }

.pd-deposit-box {
  background: var(--red-tint); border-radius: 14px; padding: 18px 22px; margin: 22px 0;
  font-size: 14.5px;
}
.pd-deposit-box strong { color: var(--brand-red); }
.pd-cta { display: flex; flex-direction: column; gap: 12px; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.spec-table th, .spec-table td { padding: 12px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.spec-table th { width: 42%; color: var(--gray-text); font-weight: 400; background: var(--soft-white); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.related-note { text-align: center; margin-top: 32px; }

/* ===== Booking modal ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 300;
  align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: 18px; max-width: 480px; width: 100%;
  max-height: 92vh; overflow-y: auto; padding: 28px;
}
.modal h2 { font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.modal .m-sub { font-size: 14px; color: var(--gray-text); margin-bottom: 18px; }
.modal label { display: block; font-size: 14px; font-weight: 500; margin: 14px 0 6px; }
.modal input[type="text"], .modal input[type="tel"], .modal select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--white);
}
.modal input:focus, .modal select:focus { outline: none; border-color: var(--brand-red); }
.terms-box {
  background: var(--soft-white); border-radius: 10px; padding: 14px 16px;
  font-size: 13.5px; color: #444; margin: 18px 0 8px;
}
.terms-box ul { margin: 6px 0 0 18px; }
.terms-box li { margin-bottom: 4px; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 18px; font-size: 13.5px; }
.consent-row input { margin-top: 4px; }
.modal .btn-red:disabled { background: #ccc; cursor: not-allowed; }
.m-close-btn { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--gray-text); float: right; }

/* success step */
.booking-success { text-align: center; }
.booking-success .code-badge {
  display: inline-block; background: var(--red-tint); color: var(--brand-red);
  font-weight: 600; font-size: 20px; letter-spacing: 1px;
  padding: 10px 24px; border-radius: 12px; margin: 14px 0;
}
.booking-success ol { text-align: left; margin: 14px 0 20px 22px; font-size: 14.5px; }
.booking-success ol li { margin-bottom: 8px; }

/* ===== Product feature sections ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.feature-card img { width: 100%; height: auto; display: block; background: #fff; }
.feature-card .f-body { padding: 16px 18px 20px; }
.feature-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--gray-text); }

.award-badge {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 16px; background: var(--white); margin: 16px 0 18px;
}
.if-box {
  background: #E2001A; color: #fff; font-weight: 700; font-size: 22px;
  width: 46px; height: 46px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.award-text { font-size: 12.5px; letter-spacing: 1px; color: var(--gray-text); line-height: 1.5; }
.award-text strong { color: var(--text-dark); font-weight: 600; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 44px; }
.feature-row img { border-radius: 16px; width: 100%; }
.feature-row h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.feature-row h3 span { color: var(--brand-red); }
.feature-row p { color: #444; font-size: 15px; }
.feature-row.rev .fr-img { order: 2; }

.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.mode-card { background: var(--white); border-radius: 16px; padding: 26px 22px; border-top: 4px solid var(--brand-red); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.mode-card .m-num { font-size: 13px; color: var(--brand-red); font-weight: 600; letter-spacing: 1px; }
.mode-card h3 { font-size: 17.5px; font-weight: 600; margin: 4px 0 8px; }
.mode-card p { font-size: 14px; color: var(--gray-text); }
.mode-card.has-video { padding: 0 0 20px; overflow: hidden; display: flex; flex-direction: column; }
.mode-card video { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; background: #000; }
.mode-card .m-body { padding: 18px 22px 0; }

.closer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.closer-grid img { border-radius: 16px; width: 100%; }

.inbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; max-width: 940px; margin: 0 auto; }
.inbox-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px 12px; text-align: center; }
.inbox-card img { height: 110px; object-fit: contain; margin: 0 auto 10px; }
.inbox-card span { font-size: 13.5px; color: var(--text-dark); }

.inbox-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.inbox-list span {
  background: var(--white); border: 1px solid var(--border); border-radius: 24px;
  padding: 8px 18px; font-size: 14px;
}

.pd-faq { max-width: 780px; margin: 0 auto; }

.cta-band { background: var(--brand-dark); color: var(--white); text-align: center; padding: 52px 0; }
.cta-band h2 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.cta-band p { color: #cfd8e0; margin-bottom: 22px; }
.cta-band .btn-row { justify-content: center; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .rental-grid, .pd-grid { grid-template-columns: 1fr; }
  .product-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .mode-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 20px; }
  .feature-row.rev .fr-img { order: 0; }
  .closer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 18px 24px;
    border-bottom: 1px solid var(--border); gap: 16px; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .pd-gallery .pd-main img { height: 300px; }
}
@media (max-width: 540px) {
  .product-grid, .steps-grid, .feature-grid, .mode-cards { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .hero { padding: 40px 0 32px; }
}

/* ===== Banners ===== */
.home-banner img, .pd-banner img { width: 100%; height: auto; display: block; }
.home-banner img { max-height: 480px; object-fit: cover; object-position: center 35%; }
@media (max-width: 700px) {
  .home-banner img { max-height: 240px; }
}

/* ===== Video section ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-grid:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, 1fr); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; display: block; background: #000; }
@media (max-width: 900px) { .video-grid, .video-grid:has(> :last-child:nth-child(2)) { grid-template-columns: 1fr; } }

/* ===== Video thumbnail cards ===== */
.video-card { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.video-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.video-card .vc-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.15); transition: background .2s; }
.video-card:hover .vc-play { background: rgba(0,0,0,.3); }
.vc-play span { background: rgba(232,0,29,.92); color: #fff; border-radius: 50%; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 5px; }
