/*
Theme Name: Draft Thai Standard
Theme URI: https://draftthaistandard.com
Author: Draft Thai Standard
Description: ธีมงานเขียนแบบขออนุญาตก่อสร้าง โทนเส้นแบบสถาปัตยกรรม พร้อมแก้ไขข้อมูลหลักผ่านตัวปรับแต่งธีม
Version: 2.3.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: draftthai-standard
*/
@font-face {
  font-family: "Quark";
  src: url("assets/fonts/quark-light.otf") format("opentype");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Quark";
  src: url("assets/fonts/quark-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}



@font-face {
  font-family: "Arkitech Round Light";
  src: url("assets/fonts/arkitech-round-light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215;
}

:root {
  --ink: #0b0c0d;
  --paper: #f7f7f5;
  --white: #ffffff;
  --gray-1: #eeeeeb;
  --gray-2: #c8c9c7;
  --gray-3: #777a7d;
  --red: #d20c12;
  --blue: #0a2862;
  --line: 1px solid var(--ink);
  --page: min(1440px, 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Arkitech Round Light", "Quark", Tahoma, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-shell { width: var(--page); margin: 0 auto; background: var(--white); overflow: hidden; }
.mark { display: inline-block; width: 8px; height: 8px; background: var(--red); }
.mark-blue { background: var(--blue); }

.site-header { border-bottom: 2px solid var(--ink); background: var(--white); }
.header-meta {
  display: flex; justify-content: space-between; padding: 7px 42px;
  color: var(--gray-3); border-bottom: 1px solid var(--gray-2);
  font: 10px/1.2 "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .14em;
}
.header-main { height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; }
.brand { width: min(590px, 52vw); }
.brand img { width: 100%; max-height: 55px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 700; }
.desktop-nav > a { position: relative; padding: 12px 0; }
.desktop-nav > a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; bottom: 7px; width: 0; height: 1px; background: var(--ink); transition: width .2s; }
.desktop-nav > a:hover::after { width: 100%; }
.nav-contact { display: flex; align-items: center; gap: 9px; padding: 11px 15px !important; border: 1px solid var(--ink); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 10px; border: 1px solid var(--ink); cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; height: 1px; background: var(--ink); }
.mobile-nav nav { position: absolute; right: 0; top: 51px; z-index: 30; width: 220px; display: grid; background: var(--white); border: 1px solid var(--ink); }
.mobile-nav nav a { padding: 14px 18px; border-bottom: 1px solid var(--gray-2); font-size: 13px; font-weight: 700; }

.hero { min-height: 710px; display: grid; grid-template-columns: 1.05fr .95fr; border-bottom: 2px solid var(--ink); }
.hero-copy { position: relative; padding: 96px 72px 70px; border-right: 1px solid var(--ink); }
.drawing-ref { position: absolute; top: 18px; left: 72px; right: 24px; display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--gray-2); font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .08em; }
.drawing-ref b { color: var(--gray-3); font-weight: 400; }
.overline { display: flex; align-items: center; gap: 10px; margin: 0 0 34px; font: 11px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .17em; }
.hero h1 { margin: 0; font-size: clamp(48px, 5.6vw, 86px); line-height: .98; letter-spacing: -.055em; font-weight: 900; }
.hero h1 span { font-weight: 400; color: #343638; }
.hero-lead { max-width: 670px; margin: 37px 0 0; padding-left: 23px; border-left: 4px solid var(--ink); color: #4c4f52; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 42px; }
.primary-action { display: flex; justify-content: space-between; gap: 30px; min-width: 255px; padding: 15px 18px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); font-size: 13px; font-weight: 700; transition: .2s; }
.primary-action:hover { color: var(--ink); background: var(--white); }
.text-action { display: flex; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.hero-contact { display: flex; gap: 25px; margin-top: 55px; color: var(--gray-3); font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .08em; }
.hero-contact a { color: var(--ink); font-weight: 700; }

.drawing-board {
  position: relative; min-height: 710px; overflow: hidden; background-color: #f1f1ef;
  background-image: linear-gradient(rgba(11,12,13,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(11,12,13,.09) 1px, transparent 1px);
  background-size: 34px 34px;
}
.drawing-board::before { content: ""; position: absolute; inset: 34px; border: 1px solid var(--ink); }
.board-axis { position: absolute; display: flex; justify-content: space-around; color: var(--gray-3); font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.axis-x { left: 48px; right: 48px; top: 14px; }
.axis-y { top: 50px; bottom: 50px; left: 14px; flex-direction: column; }
.board-shape { position: absolute; }
.shape-one { left: 20%; top: 22%; width: 58%; height: 51%; border: 4px solid var(--ink); }
.shape-one::before { content: ""; position: absolute; left: 34%; top: 0; bottom: 0; width: 1px; background: var(--ink); }
.shape-one::after { content: ""; position: absolute; left: 0; right: 0; top: 43%; height: 3px; background: var(--ink); }
.shape-one i { position: absolute; border: 1px solid var(--ink); }
.shape-one i:nth-child(1) { width: 23%; height: 25%; top: 9%; left: 6%; }
.shape-one i:nth-child(2) { width: 39%; height: 33%; bottom: 7%; right: 6%; }
.shape-one i:nth-child(3) { width: 21%; height: 19%; bottom: 9%; left: 6%; border-width: 2px; }
.shape-two { right: 9%; top: 13%; width: 17%; height: 14%; border: 1px dashed var(--gray-3); }
.dimension { position: absolute; color: var(--gray-3); font: 9px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.dimension::before, .dimension::after { content: ""; position: absolute; background: var(--ink); }
.dimension-x { left: 20%; right: 22%; bottom: 17%; height: 24px; text-align: center; border-top: 1px solid var(--ink); }
.dimension-x::before, .dimension-x::after { top: -5px; width: 1px; height: 10px; }
.dimension-x::before { left: 0; }.dimension-x::after { right: 0; }
.dimension-y { right: 14%; top: 22%; bottom: 27%; width: 30px; border-left: 1px solid var(--ink); }
.dimension-y span { position: absolute; top: 45%; left: 6px; transform: rotate(90deg); }
.board-note { position: absolute; display: flex; align-items: center; gap: 7px; padding: 5px 7px; background: var(--white); border: 1px solid var(--ink); font: 9px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.note-one { left: 12%; bottom: 10%; }.note-two { right: 8%; top: 31%; }
.line-legend { position: absolute; right: 8%; bottom: 8%; display: grid; gap: 8px; width: 120px; font: 8px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .1em; }
.line-legend i { display: block; background: var(--ink); }
.weight-thin { height: 1px; }.weight-mid { height: 2px; }.weight-bold { height: 5px; }
.board-title { position: absolute; left: 8%; top: 9%; display: grid; }
.board-title strong { font: 700 17px "Arkitech Round Light", "Quark", "Courier New", monospace; }.board-title span { color: var(--gray-3); font: 8px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .18em; }

.signal-strip { min-height: 62px; display: flex; align-items: center; gap: 28px; padding: 0 42px; border-bottom: 1px solid var(--ink); font: 11px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.signal-strip span { display: flex; align-items: center; gap: 9px; }
.signal-strip b { margin-left: auto; color: var(--gray-3); font-weight: 400; }

.section { padding: 95px 70px; }
.section-label { display: flex; align-items: center; gap: 15px; color: var(--gray-3); font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .15em; }
.section-label span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--ink); font-size: 10px; }
.section-label.light { color: #a5a7a9; }.section-label.light span { color: var(--white); border-color: #858789; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; margin: 38px 0 58px; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 4.2vw, 65px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading h2 span { font-weight: 400; color: #4f5254; }
.section-heading p { max-width: 500px; margin: 0; padding-top: 20px; border-top: 1px solid var(--ink); color: #55585b; font-size: 14px; line-height: 1.85; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--ink); }
.service-card { min-height: 305px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--white); transition: background .2s, color .2s; }
.service-card:hover { color: var(--white); background: var(--ink); }
.card-code { display: flex; justify-content: space-between; color: var(--gray-3); font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.service-card:hover .card-code { color: #b9babc; }
.card-code i { font-style: normal; }
.service-card h3 { margin: 58px 0 13px; font-size: 23px; line-height: 1.2; }
.service-card p { margin: 0; color: var(--gray-3); font-size: 13px; line-height: 1.75; }
.service-card:hover p { color: #c7c8c9; }
.service-card a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--gray-2); font-size: 11px; font-weight: 700; }

.process-section { color: var(--white); background: var(--ink); }
.process-heading { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 70px; margin: 42px 0 70px; }
.process-heading h2 { margin: 0; font-size: clamp(42px, 4.3vw, 66px); line-height: 1.05; letter-spacing: -.04em; }
.process-heading p { max-width: 460px; margin: 0; color: #afb1b3; font-size: 14px; line-height: 1.8; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #707274; }
.process-grid article { min-height: 275px; padding: 32px 27px; border-right: 1px solid #5e6062; }
.process-grid article:last-child { border: 0; }
.process-number { display: flex; align-items: center; gap: 15px; color: #a3a5a7; font: 11px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.process-number span { width: 7px; height: 7px; background: var(--red); }
.process-grid article:nth-child(2) .process-number span, .process-grid article:nth-child(4) .process-number span { background: var(--blue); }
.process-grid h3 { margin: 70px 0 15px; font-size: 22px; }
.process-grid p { margin: 0; color: #aeb0b2; font-size: 12px; line-height: 1.8; }
.process-footer { display: flex; align-items: center; gap: 15px; margin-top: 25px; color: #808284; font: 9px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .12em; }
.process-footer i { flex: 1; height: 1px; background: #545658; }

.projects-section { background: var(--paper); }
.section-heading.compact { grid-template-columns: .9fr 1.1fr; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.project-grid article { border: 1px solid var(--ink); background: var(--white); }
.project-diagram { position: relative; aspect-ratio: 1/1.1; overflow: hidden; border-bottom: 1px solid var(--ink); background-image: linear-gradient(rgba(11,12,13,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11,12,13,.08) 1px, transparent 1px); background-size: 20px 20px; }
.diagram-cross { position: absolute; inset: 18%; border: 2px solid var(--ink); }
.diagram-cross::before { content: ""; position: absolute; left: 40%; top: 0; bottom: 0; width: 1px; background: var(--ink); }
.diagram-cross::after { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 1px; background: var(--ink); }
.diagram-block { position: absolute; width: 23%; height: 18%; right: 25%; top: 25%; border: 4px solid var(--ink); }
.project-diagram .mark { position: absolute; left: 10%; bottom: 9%; }
.diagram-2 .diagram-cross { inset: 24% 12% 14% 26%; border-width: 1px; }
.diagram-2 .diagram-block { left: 16%; top: 18%; right: auto; height: 28%; }
.diagram-3 .diagram-cross { inset: 13% 20% 28% 20%; border-width: 5px; }
.diagram-3 .diagram-block { right: 10%; top: auto; bottom: 10%; }
.diagram-4 .diagram-cross { inset: 20% 14%; border-style: dashed; }
.diagram-4 .diagram-block { left: 26%; top: 31%; width: 45%; height: 38%; border-width: 1px; }
.project-caption { position: relative; min-height: 105px; padding: 16px 18px; }
.project-caption b { position: absolute; right: 15px; top: 11px; color: var(--gray-2); font: 24px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.project-caption span { color: var(--gray-3); font: 8px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .12em; }
.project-caption h3 { margin: 12px 0 0; font-size: 16px; }

.principles-section { display: grid; grid-template-columns: .75fr 1.25fr; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.principles-title { padding: 75px 70px; color: var(--white); background: var(--ink); }
.principles-title span { color: #aaa; font: 9px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .16em; }
.principles-title h2 { margin: 45px 0 0; font-size: clamp(42px, 4vw, 62px); line-height: 1.05; letter-spacing: -.04em; }
.principle-list { border-left: 1px solid var(--ink); }
.principle-list > div { display: grid; grid-template-columns: 45px .7fr 1fr; align-items: center; gap: 20px; min-height: 105px; padding: 20px 35px; border-bottom: 1px solid var(--ink); }
.principle-list > div:last-child { border: 0; }
.principle-list b { font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.principle-list span { font-size: 16px; font-weight: 800; }
.principle-list p { margin: 0; color: var(--gray-3); font-size: 12px; }

.contact-section { display: grid; grid-template-columns: 150px 1.1fr .9fr; min-height: 610px; border-bottom: 2px solid var(--ink); }
.contact-index { padding: 55px 35px; border-right: 1px solid var(--ink); font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; }
.contact-index span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; color: var(--white); background: var(--red); }
.contact-index b { display: block; color: var(--gray-3); writing-mode: vertical-rl; letter-spacing: .13em; }
.contact-copy { padding: 90px 65px; border-right: 1px solid var(--ink); }
.contact-copy > p:first-child { display: flex; align-items: center; gap: 10px; font: 10px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .15em; }
.contact-copy h2 { margin: 60px 0 25px; font-size: clamp(42px, 4.6vw, 70px); line-height: 1.05; letter-spacing: -.045em; }
.contact-lead { max-width: 600px; padding-top: 20px; border-top: 1px solid var(--ink); color: var(--gray-3); font-size: 14px; line-height: 1.8; }
.contact-actions { display: grid; grid-template-rows: repeat(4, 1fr); }
.contact-actions a { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 25px 35px; border-bottom: 1px solid var(--ink); transition: .2s; }
.contact-actions a:hover { color: var(--white); background: var(--ink); }
.contact-actions span { color: var(--gray-3); font: 8px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .16em; }
.contact-actions strong { margin-top: 6px; font-size: clamp(15px, 1.5vw, 22px); word-break: break-word; }
.contact-actions i { position: absolute; right: 28px; top: 50%; font-style: normal; }
.contact-actions .line-link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--blue); }

footer { min-height: 140px; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 45px; padding: 35px 42px; background: var(--white); }
footer img { width: min(510px, 42vw); }
footer div { display: grid; color: var(--gray-3); font: 8px "Arkitech Round Light", "Quark", "Courier New", monospace; letter-spacing: .12em; }
footer p { margin: 0; font: 9px "Arkitech Round Light", "Quark", "Courier New", monospace; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }.mobile-nav { display: block; }
  .hero { grid-template-columns: 1fr; }.hero-copy { border-right: 0; border-bottom: 1px solid var(--ink); }.drawing-board { min-height: 610px; }
  .section-heading, .process-heading { grid-template-columns: 1fr; gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }.process-grid { grid-template-columns: repeat(2, 1fr); }.process-grid article { border-bottom: 1px solid #5e6062; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }.principles-section { grid-template-columns: 1fr; }.principle-list { border-left: 0; }
  .contact-section { grid-template-columns: 95px 1fr; }.contact-actions { grid-column: 1/-1; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; border-top: 1px solid var(--ink); }.contact-actions a { min-height: 130px; border-right: 1px solid var(--ink); }
}

@media (max-width: 680px) {
  .header-meta { padding: 7px 16px; }.header-meta span:last-child { display: none; }.header-main { height: 75px; padding: 0 16px; }.brand { width: 75vw; max-width: 330px; }
  .hero-copy { padding: 85px 22px 55px; }.drawing-ref { left: 22px; }.hero h1 { font-size: 46px; }.hero-lead { font-size: 14px; }.hero-contact { flex-direction: column; gap: 7px; }
  .drawing-board { min-height: 480px; }.drawing-board::before { inset: 24px; }.shape-one { left: 17%; top: 24%; width: 62%; }.line-legend { display: none; }
  .signal-strip { flex-wrap: wrap; gap: 13px; padding: 15px 18px; }.signal-strip b { width: 100%; margin: 0; }
  .section { padding: 70px 20px; }.section-heading.compact { grid-template-columns: 1fr; }.section-heading h2, .process-heading h2 { font-size: 43px; }
  .service-grid, .process-grid, .project-grid { grid-template-columns: 1fr; }.service-card { min-height: 275px; }.process-grid article { border-right: 0; }
  .principles-title { padding: 60px 22px; }.principle-list > div { grid-template-columns: 35px 1fr; gap: 12px; padding: 22px; }.principle-list p { grid-column: 2; }
  .contact-section { grid-template-columns: 55px 1fr; }.contact-index { padding: 30px 10px; }.contact-copy { padding: 65px 25px; border-right: 0; }.contact-copy h2 { margin-top: 45px; font-size: 43px; }
  .contact-actions { grid-template-columns: 1fr; }.contact-actions a { min-height: 115px; border-right: 0; }
  footer { grid-template-columns: 1fr; gap: 22px; padding: 35px 20px; } footer img { width: 100%; max-width: 470px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* Version 2 sections: pricing, testimonials and fixed contact */
.principles-section { background: var(--white); }
.principles-title { color: var(--ink); background: var(--white); }
.principle-list span { font-size: 22px; }
.principle-list p { color: #6f7377; font-size: 17px; line-height: 1.65; }
.process-grid p { color: #aeb0b2; font-size: 17px; line-height: 1.65; }
/* มาตรฐานข้อความภาษาไทยขนาดเล็กทั้งเว็บไซต์ */
.desktop-nav,
.mobile-nav nav a,
.hero-lead,
.primary-action,
.text-action,
.section-heading p,
.service-card p,
.service-card a,
.process-heading p,
.process-grid p,
.project-caption h3,
.principle-list p,
.contact-lead,
.pricing-heading p,
.price-card li,
.price-note,
.testimonials-intro p,
.testimonial-card blockquote,
.testimonial-card small { font-size: 17px; }
.pricing-section { padding: 105px 42px; border-top: 2px solid var(--ink); background: #f1f1ef; }
.pricing-heading { max-width: 900px; margin: 0 auto 55px; text-align: center; }
.pricing-heading .overline { justify-content: center; margin-bottom: 20px; }
.pricing-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.04; letter-spacing: -.045em; }
.pricing-heading p { margin: 20px auto 0; color: var(--gray-3); font-size: 15px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: var(--white); }
.price-card { position: relative; min-height: 440px; padding: 42px 36px; border-right: 1px solid var(--ink); }
.price-card:last-child { border-right: 0; }
.price-card.featured { box-shadow: inset 0 7px 0 var(--red); }
.price-code { color: var(--gray-3); font: 10px "Arkitech Round Light", "Quark", monospace; letter-spacing: .14em; }
.price-card h3 { margin: 38px 0 8px; font-size: 25px; }
.price-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 10px 0 24px; }
.price-value strong { font-size: clamp(34px, 3.2vw, 50px); line-height: 1; letter-spacing: -.035em; color: var(--blue); }
.price-value span { color: var(--gray-3); font-size: 12px; white-space: nowrap; }
.price-card ul { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--gray-2); }
.price-card li { position: relative; margin: 12px 0; padding-left: 22px; font-size: 13px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.price-note { margin: 25px 0 0; color: var(--gray-3); font-size: 11px; text-align: center; }

.testimonials-section { padding: 100px 42px; border-top: 1px solid var(--ink); background: var(--white); }
.testimonials-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.testimonials-intro h2 { margin: 28px 0 18px; font-size: clamp(42px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -.04em; }
.testimonials-intro p { max-width: 520px; color: var(--gray-3); font-size: 14px; line-height: 1.8; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.testimonial-card { min-height: 300px; padding: 30px; border-right: 1px solid var(--ink); }
.testimonial-card:last-child { border-right: 0; }
.testimonial-card::before { content: "”"; display: block; color: var(--red); font-size: 52px; line-height: .7; }
.testimonial-card blockquote { margin: 35px 0 30px; font-size: 14px; line-height: 1.75; }
.testimonial-card small { color: var(--gray-3); }
.review-warning { display: inline-block; margin-top: 20px; padding: 7px 10px; border: 1px solid var(--gray-2); color: var(--gray-3); font-size: 10px; }

.floating-contact { position: fixed; right: 18px; bottom: 20px; z-index: 90; display: grid; gap: 10px; }
.floating-contact a { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--white); background: var(--blue); font: 700 10px "Arkitech Round Light", "Quark", sans-serif; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.floating-contact .phone-float { background: var(--red); }

@media (max-width: 1050px) {
  .pricing-grid { grid-template-columns: 1fr; }.price-card { border-right: 0; border-bottom: 1px solid var(--ink); }.price-card:last-child { border-bottom: 0; }
  .testimonials-layout { grid-template-columns: 1fr; }.testimonial-grid { grid-template-columns: 1fr; }.testimonial-card { border-right: 0; border-bottom: 1px solid var(--ink); }.testimonial-card:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  .principle-list p, .process-grid p { font-size: 17px; }
  .pricing-section, .testimonials-section { padding: 70px 20px; }.price-card { min-height: 0; padding: 34px 24px; }
  .floating-contact { right: 10px; bottom: 12px; }.floating-contact a { width: 46px; height: 46px; }
}

/* Dynamic project portfolio */
.project-entry { padding: 0; overflow: hidden; }
.project-link { color: inherit; display: block; height: 100%; text-decoration: none; }
.project-media { aspect-ratio: 1 / 1.08; background: #f5f5f3; border-bottom: 1px solid var(--ink); overflow: hidden; }
.project-media img { display: block; height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.project-entry:hover .project-media img { transform: scale(1.025); }
.project-entry:hover { border-color: var(--red); }
.single-project-header { position: relative; }
.single-project-header .brand img { display: block; height: auto; max-width: 420px; width: 100%; }
.single-project { background: #fff; color: var(--ink); min-height: 80vh; padding: 80px max(24px, calc((100vw - 1500px)/2)) 120px; }
.single-project-head { border-bottom: 1px solid #b9b9b4; margin-bottom: 42px; padding-bottom: 32px; }
.single-project-head h1 { font-family: "Quark", sans-serif; font-size: clamp(42px, 6vw, 88px); line-height: .95; margin: 16px 0; }
.single-project-head > p:last-child { color: #6c6c68; font-size: 24px; max-width: 850px; }
.single-project-hero { margin: 0 0 48px; }
.single-project-hero img { display: block; height: auto; max-height: 780px; object-fit: cover; width: 100%; }
.single-project-content { font-size: 23px; line-height: 1.75; margin: 0 auto 55px; max-width: 920px; }
.project-gallery { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-gallery a { background: #f4f4f1; display: block; overflow: hidden; }
.project-gallery img { display: block; height: 100%; max-height: 680px; object-fit: cover; transition: transform .3s ease; width: 100%; }
.project-gallery a:hover img { transform: scale(1.015); }
@media (max-width: 760px) {
  .single-project { padding: 50px 20px 80px; }
  .single-project-header .brand img { max-width: 260px; }
  .single-project-content, .single-project-head > p:last-child { font-size: 20px; }
  .project-gallery { grid-template-columns: 1fr; }
}

/* Final Thai small-text standard: keep this last so section rules cannot override it. */
.desktop-nav,
.mobile-nav nav a,
.hero-lead,
.primary-action,
.text-action,
.hero-contact,
.signal-strip,
.section-heading p,
.service-card p,
.service-card a,
.process-heading p,
.process-grid p,
.project-caption h3,
.principle-list p,
.contact-lead,
.contact-actions span,
.pricing-heading p,
.price-value span,
.price-card li,
.price-note,
.testimonials-intro p,
.testimonial-card blockquote,
.testimonial-card small { font-size: 17px; }
.price-value { display: block; }
.price-value strong { display: block; }
.price-value span { display: block; margin-top: 12px; }
