/* ==========================================================================
   PCFLP — ขัดเงาพื้นคอนกรีต
   Design tokens: deep navy + polished-concrete silver + azure sheen accent
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root{
  --ink:        #060D1A;
  --navy:       #0E2A4E;
  --navy-2:     #163B6B;
  --navy-3:     #1F4A82;
  --azure:      #4C93E8;
  --azure-deep: #2569B8;
  --silver:     #AAB9CB;
  --pearl:      #F3F5F8;
  --paper:      #FFFFFF;
  --graphite:   #1B2430;
  --muted:      #5B6B7E;
  --line:       rgba(170,185,203,0.18);
  --line-light: #DFE4EB;

  --font-display:'Kanit', sans-serif;
  --font-body:'Sarabun', sans-serif;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--graphite);
  background:var(--paper);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; color:var(--navy); line-height:1.2; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{ outline:2px solid var(--azure); outline-offset:3px; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:500;
  font-size:13px;
  letter-spacing:.22em;
  color:var(--azure);
  text-transform:uppercase;
}
.eyebrow::before{
  content:"";
  width:26px; height:2px;
  background:var(--azure);
  display:inline-block;
}
.eyebrow.on-light{ color:var(--azure-deep); }

/* ---------- signature element: the "sheen" divider ----------
   A thin horizontal bar that mimics the streak of light travelling
   across a freshly polished concrete floor. Used between sections. */
.sheen{
  position:relative;
  height:2px;
  width:100%;
  background:var(--line);
  overflow:hidden;
  margin:0;
}
.sheen::after{
  content:"";
  position:absolute;
  top:0; left:-40%;
  width:40%; height:100%;
  background:linear-gradient(90deg, transparent, var(--azure) 50%, transparent);
  animation:sheen-move 5.5s ease-in-out infinite;
}
@media (prefers-reduced-motion:reduce){
  .sheen::after{ animation:none; left:10%; opacity:.6; }
}
@keyframes sheen-move{
  0%{ left:-40%; }
  55%{ left:100%; }
  100%{ left:100%; }
}

/* ---------- nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(6,13,26,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:20px;
  letter-spacing:.04em;
  color:var(--paper);
}
.brand small{
  display:block;
  font-family:var(--font-body);
  font-weight:400;
  font-size:11px;
  letter-spacing:.02em;
  color:var(--silver);
}
.brand-mark{
  width:38px; height:38px;
  border-radius:3px;
  background:linear-gradient(155deg, var(--navy-3), var(--ink));
  border:1px solid rgba(76,147,232,.5);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display);
  font-weight:700;
  color:var(--azure);
  font-size:14px;
  flex:none;
}
.nav-links{
  display:flex;
  gap:36px;
}
.nav-links a{
  font-family:var(--font-display);
  font-size:14.5px;
  font-weight:400;
  letter-spacing:.03em;
  color:var(--silver);
  padding:6px 2px;
  border-bottom:1px solid transparent;
  transition:color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{
  color:var(--paper);
  border-color:var(--azure);
}
.nav-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--azure);
  color:var(--ink);
  font-family:var(--font-display);
  font-weight:600;
  font-size:14px;
  padding:10px 20px;
  border-radius:3px;
  transition:background .2s, transform .2s;
}
.nav-cta:hover{ background:#6FA8EF; transform:translateY(-1px); }

.nav-toggle{ display:none; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
  letter-spacing:.02em;
  padding:14px 28px;
  border-radius:3px;
  border:1px solid transparent;
  transition:all .2s ease;
}
.btn-primary{ background:var(--azure); color:var(--ink); }
.btn-primary:hover{ background:#6FA8EF; transform:translateY(-1px); }
.btn-outline{ border-color:rgba(255,255,255,.35); color:var(--paper); }
.btn-outline:hover{ border-color:var(--paper); background:rgba(255,255,255,.06); }
.btn-outline.on-light{ border-color:var(--navy-3); color:var(--navy); }
.btn-outline.on-light:hover{ background:var(--pearl); }

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:92vh;
  display:flex;
  align-items:flex-end;
  background:var(--ink);
  overflow:hidden;
}
.hero-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.55;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(6,13,26,.55) 0%, rgba(6,13,26,.35) 35%, rgba(6,13,26,.96) 100%),
    linear-gradient(100deg, rgba(6,13,26,.9) 0%, rgba(6,13,26,.15) 55%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding:120px 0 76px;
  color:var(--paper);
  max-width:760px;
}
.hero h1{
  color:var(--paper);
  font-size:clamp(34px, 5.4vw, 62px);
  font-weight:700;
  letter-spacing:.005em;
  margin:18px 0 22px;
}
.hero h1 em{
  font-style:normal;
  color:var(--azure);
}
.hero p.lead{
  color:var(--silver);
  font-size:18px;
  max-width:560px;
  margin-bottom:34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-stats{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  margin-top:56px;
}
.hero-stat{ padding:20px 0 0; }
.hero-stat b{
  display:block;
  font-family:var(--font-display);
  font-size:clamp(22px,3vw,32px);
  color:var(--paper);
  font-weight:600;
}
.hero-stat span{ color:var(--silver); font-size:13px; }

/* page header (for non-home pages) */
.page-hero{
  position:relative;
  background:var(--ink);
  color:var(--paper);
  padding:150px 0 70px;
  overflow:hidden;
}
.page-hero-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.32;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(6,13,26,.75), rgba(6,13,26,.97));
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:var(--paper); font-size:clamp(30px,4.6vw,48px); margin-top:14px; }
.page-hero p{ color:var(--silver); max-width:600px; margin-top:16px; font-size:17px; }

/* ---------- sections ---------- */
section{ padding:96px 0; }
.section-light{ background:var(--paper); }
.section-pearl{ background:var(--pearl); }
.section-navy{ background:var(--navy); color:var(--paper); }
.section-ink{ background:var(--ink); color:var(--paper); }

.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(26px,3.6vw,38px); margin-top:16px; }
.section-head p{ color:var(--muted); margin-top:16px; font-size:16.5px; }
.section-head.on-dark p{ color:var(--silver); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- services grid ---------- */
.grid-services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  background:var(--line-light);
  border:1px solid var(--line-light);
}
.service-card{
  position:relative;
  background:var(--paper);
  padding:34px 30px 30px;
  overflow:hidden;
}
.service-card .num{
  font-family:var(--font-display);
  font-size:13px;
  color:var(--azure-deep);
  letter-spacing:.1em;
}
.service-card h3{
  font-size:20px;
  margin:16px 0 12px;
  color:var(--navy);
}
.service-card p{ color:var(--muted); font-size:15px; }
.service-card::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0;
  width:0;
  background:var(--azure);
  transition:width .28s ease;
}
.service-card:hover::before{ width:4px; }

/* ---------- process (real sequence → numbered) ---------- */
.process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  position:relative;
}
.process-step{
  padding:0 26px 0 0;
  position:relative;
}
.process-step + .process-step{ border-left:1px solid var(--line); padding-left:26px; }
.process-step .step-no{
  font-family:var(--font-display);
  font-size:44px;
  font-weight:600;
  color:rgba(255,255,255,.16);
  display:block;
  margin-bottom:6px;
}
.process-step h3{ color:var(--paper); font-size:18px; margin-bottom:10px; }
.process-step p{ color:var(--silver); font-size:14.5px; }

/* ---------- why us ---------- */
.why-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:64px;
  align-items:center;
}
.why-list{ display:flex; flex-direction:column; gap:0; }
.why-item{
  display:flex;
  gap:18px;
  padding:22px 0;
  border-top:1px solid var(--line-light);
}
.why-item:last-child{ border-bottom:1px solid var(--line-light); }
.why-item .mark{
  flex:none;
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid var(--azure-deep);
  color:var(--azure-deep);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display);
  font-size:14px;
}
.why-item h4{ font-size:16.5px; color:var(--navy); margin-bottom:4px; }
.why-item p{ color:var(--muted); font-size:14.5px; }
.why-media{ position:relative; }
.why-media img{ border-radius:4px; }
.why-media .tag{
  position:absolute; bottom:-22px; left:-22px;
  background:var(--navy);
  color:var(--paper);
  padding:18px 22px;
  border-radius:4px;
  font-family:var(--font-display);
}
.why-media .tag b{ display:block; font-size:26px; color:var(--azure); }
.why-media .tag span{ font-size:12.5px; color:var(--silver); }

/* ---------- gallery ---------- */
.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:190px;
  gap:10px;
}
.gallery a{ display:block; overflow:hidden; border-radius:3px; }
.gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery a:hover img{ transform:scale(1.06); }
.gallery .tall{ grid-row:span 2; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--navy);
  color:var(--paper);
  padding:64px 0;
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
}
.cta-inner h2{ color:var(--paper); font-size:clamp(22px,3vw,30px); max-width:520px; }
.cta-inner p{ color:var(--silver); margin-top:10px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:var(--silver); padding-top:70px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
}
.footer-brand p{ color:var(--silver); font-size:14.5px; margin-top:16px; max-width:280px; }
.footer-col h4{
  color:var(--paper);
  font-family:var(--font-display);
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:18px;
}
.footer-col li{ margin-bottom:11px; font-size:14.5px; }
.footer-col a:hover{ color:var(--paper); }
.footer-bottom{
  border-top:1px solid var(--line);
  padding:22px 0;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:13.5px;
  color:var(--muted);
}
.footer-bottom a:hover{ color:var(--silver); }

/* ---------- contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}
.contact-card{
  display:flex; gap:16px;
  padding:20px 0;
  border-top:1px solid var(--line-light);
}
.contact-card:last-child{ border-bottom:1px solid var(--line-light); }
.contact-card .ic{
  flex:none;
  width:42px; height:42px;
  border-radius:50%;
  background:var(--pearl);
  color:var(--azure-deep);
  display:flex; align-items:center; justify-content:center;
}
.contact-card h4{ font-size:16px; color:var(--navy); margin-bottom:4px; }
.contact-card p, .contact-card a{ color:var(--muted); font-size:15px; }

.form{ display:flex; flex-direction:column; gap:18px; }
.form label{ font-size:14px; font-weight:600; color:var(--navy); margin-bottom:7px; display:block; }
.form input, .form select, .form textarea{
  width:100%;
  border:1px solid var(--line-light);
  background:var(--pearl);
  border-radius:3px;
  padding:13px 15px;
  font-family:var(--font-body);
  font-size:15px;
  color:var(--graphite);
}
.form input:focus, .form select:focus, .form textarea:focus{ background:var(--paper); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-note{ font-size:13px; color:var(--muted); }

.map-frame{
  border:1px solid var(--line-light);
  border-radius:4px;
  overflow:hidden;
  filter:grayscale(1) contrast(1.1);
}
.map-frame:hover{ filter:none; transition:filter .3s; }

/* ---------- legal / privacy page ---------- */
.legal{ max-width:820px; }
.legal h2{ font-size:22px; margin:44px 0 14px; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ color:var(--muted); font-size:15.5px; margin-bottom:14px; }
.legal ul{ padding-left:20px; list-style:disc; }
.legal ol{ padding-left:20px; }
.legal strong{ color:var(--navy); }
.legal .updated{
  display:inline-block;
  font-size:13px;
  color:var(--azure-deep);
  background:var(--pearl);
  padding:6px 14px;
  border-radius:20px;
  margin-bottom:30px;
}

/* ---------- about page specifics ---------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.split img{ border-radius:4px; }
.stat-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  background:var(--line);
  border:1px solid var(--line);
  margin-top:40px;
}
.stat-box{ background:var(--navy-2); padding:26px 24px; }
.stat-box b{ font-family:var(--font-display); font-size:30px; color:var(--paper); display:block; }
.stat-box span{ font-size:13px; color:var(--silver); }

.values{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}
.value-card{ padding:0; }
.value-card .vn{ font-family:var(--font-display); font-size:12.5px; color:var(--azure-deep); letter-spacing:.14em; }
.value-card h3{ font-size:19px; margin:12px 0 10px; }
.value-card p{ color:var(--muted); font-size:15px; }

/* ---------- responsive ---------- */
@media (max-width:980px){
  .grid-services{ grid-template-columns:repeat(2,1fr); }
  .process{ grid-template-columns:repeat(2,1fr); row-gap:36px; }
  .process-step + .process-step{ border-left:none; padding-left:0; }
  .process-step:nth-child(odd){ border-right:1px solid var(--line); padding-right:26px; }
  .why-grid, .split, .contact-grid{ grid-template-columns:1fr; }
  .why-media{ order:-1; }
  .gallery{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .hero-stats{ grid-template-columns:repeat(2,1fr); row-gap:20px; }
  .values{ grid-template-columns:1fr; }
  .stat-row{ grid-template-columns:1fr; }
}
@media (max-width:720px){
  .nav-links{ display:none; }
  .grid-services{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:repeat(2,1fr); grid-auto-rows:140px; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
}
