/* ============================================================
   T-CHAN CO., LTD. — main stylesheet
   Theme: ขาว (white) / ดำ (black) / แดง (red) — ตามโทนโลโก้
   ============================================================ */

:root{
  --red: #D6142A;
  --red-dark: #A80F20;
  --red-light: #FF4D5E;
  --black: #101012;
  --black-soft: #1A1A1D;
  --gray-900: #202024;
  --gray-700: #4A4A4F;
  --gray-500: #78787E;
  --gray-300: #D6D6DA;
  --gray-100: #F4F4F6;
  --white: #FFFFFF;

  --font-display: 'Kanit', 'Noto Sans Thai', sans-serif;
  --font-body: 'Noto Sans Thai', 'Prompt', sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.20);

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--gray-900);
  background:var(--white);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.25;
  margin:0 0 .5em;
  color:var(--black);
}
p{ margin:0 0 1em; }
a{ color:var(--red); text-decoration:none; }
a:hover{ color:var(--red-dark); }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

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

.section{ padding:80px 0; }
.section-alt{ background:var(--gray-100); }
.section-dark{ background:var(--black); color:var(--gray-300); }
.section-dark h2, .section-dark h3{ color:var(--white); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:14px;
}
.eyebrow::before{
  content:'';
  width:24px;
  height:2px;
  background:var(--red);
  display:inline-block;
}

.section-head{ max-width:680px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(26px,3.4vw,38px); }
.section-head p{ color:var(--gray-700); font-size:17px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 30px;
  border-radius:6px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:15px;
  border:2px solid transparent;
  transition:all .2s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--red); color:var(--white); border-color:var(--red); }
.btn-primary:hover{ background:var(--red-dark); border-color:var(--red-dark); color:var(--white); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.5); }
.btn-outline:hover{ border-color:var(--white); color:var(--white); background:rgba(255,255,255,.08); }
.btn-dark{ background:var(--black); color:var(--white); border-color:var(--black); }
.btn-dark:hover{ background:var(--gray-900); color:var(--white); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 18px; font-size:13px; }

/* ---------------- Header ---------------- */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(16,16,18,.96);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:32px; width:auto; }
.logo-badge{
  display:inline-flex; align-items:center;
  background:#fff; padding:6px 10px; border-radius:8px; line-height:0;
}
.brand-text{ font-family:var(--font-display); color:var(--white); font-weight:700; font-size:17px; line-height:1.2; }
.brand-text small{ display:block; font-weight:400; font-size:11px; color:var(--gray-300); letter-spacing:.04em; }

.main-nav{ display:flex; align-items:center; gap:0; flex-wrap:nowrap; }
.main-nav a{
  color:var(--gray-300);
  font-family:var(--font-display);
  font-size:14px;
  font-weight:500;
  padding:10px 13px;
  border-radius:6px;
  transition:.2s;
  white-space:nowrap;
}
.main-nav a:hover, .main-nav a.active{ color:var(--white); background:rgba(255,255,255,.08); }
.main-nav a.active{ color:var(--red-light); }

.header-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.header-cta .btn{ padding:11px 20px; font-size:14px; white-space:nowrap; }

.lang-switch{ display:flex; align-items:center; border:1px solid rgba(255,255,255,.25); border-radius:20px; overflow:hidden; }
.lang-switch a{
  padding:6px 13px; font-size:12.5px; font-weight:700; font-family:var(--font-display);
  color:var(--gray-300); letter-spacing:.03em;
}
.lang-switch a.active{ background:var(--red); color:var(--white); }
.lang-switch a:hover{ color:var(--white); }
.lang-switch-mobile{ display:none; }

.nav-toggle{
  display:none; background:none; border:0; color:var(--white); font-size:26px;
}

@media(max-width:1300px){
  .brand-text small{ display:none; }
}

@media(max-width:960px){
  .main-nav{
    position:fixed; inset:78px 0 0 0; background:var(--black); z-index:999;
    flex-direction:column; align-items:stretch; padding:20px; gap:4px;
    transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ padding:14px 10px; border-bottom:1px solid rgba(255,255,255,.06); border-radius:0; }
  .nav-toggle{ display:block; }
  .header-cta .btn-text{ display:none; }
  .lang-switch-desktop{ display:none; }
  .lang-switch-mobile{ display:flex; margin-top:14px; align-self:flex-start; }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  min-height:640px;
  display:flex; align-items:center;
  background:var(--black);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:.55;
}
.hero-gradient{
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(10,10,12,.98) 20%, rgba(10,10,12,.75) 55%, rgba(214,20,42,.35) 100%);
}
.hero-content{ position:relative; z-index:2; padding:100px 0 70px; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--red-light); font-family:var(--font-display); font-weight:600;
  font-size:13px; letter-spacing:.15em; text-transform:uppercase; margin-bottom:20px;
}
.hero h1{
  color:var(--white); font-size:clamp(34px,5.4vw,58px); max-width:820px; margin-bottom:20px;
}
.hero h1 span{ color:var(--red-light); }
.hero p.lead{
  color:var(--gray-300); font-size:18px; max-width:600px; margin-bottom:34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:56px; }

.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid rgba(255,255,255,.15);
  max-width:760px;
}
.stat-item{ padding:22px 20px 0; border-left:1px solid rgba(255,255,255,.15); }
.stat-item:first-child{ border-left:0; padding-left:0; }
.stat-item .num{ font-family:var(--font-display); font-size:30px; font-weight:700; color:var(--white); }
.stat-item .num span{ color:var(--red-light); }
.stat-item .label{ font-size:12.5px; color:var(--gray-500); margin-top:4px; }

@media(max-width:720px){
  .stat-strip{ grid-template-columns:repeat(2,1fr); row-gap:20px; max-width:none; }
  .stat-item:nth-child(3){ border-left:0; padding-left:0; }
}

/* ---------------- Cards / grids ---------------- */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media(max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:620px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.feature-card{
  background:var(--white); border:1px solid var(--gray-300); border-radius:var(--radius);
  padding:30px 26px; transition:.2s;
}
.feature-card:hover{ box-shadow:var(--shadow-md); border-color:transparent; transform:translateY(-3px); }
.feature-icon{
  width:52px; height:52px; border-radius:12px; background:var(--black);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  color:var(--red-light);
}
.feature-icon svg{ width:26px; height:26px; }
.feature-card h3{ font-size:18px; margin-bottom:8px; }
.feature-card p{ color:var(--gray-700); font-size:14.5px; margin:0; }

/* stat block (about) */
.about-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:36px; }
.about-stat{ text-align:center; padding:22px 10px; background:var(--gray-100); border-radius:var(--radius); }
.about-stat .num{ font-family:var(--font-display); font-weight:700; font-size:28px; color:var(--red); }
.about-stat .label{ font-size:13px; color:var(--gray-700); margin-top:4px; }
@media(max-width:720px){ .about-stats{ grid-template-columns:repeat(2,1fr); } }

/* image + text split */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.split img{ border-radius:var(--radius); box-shadow:var(--shadow-md); width:100%; height:100%; object-fit:cover; }
@media(max-width:900px){ .split{ grid-template-columns:1fr; gap:32px; } }

.check-list li{ display:flex; gap:12px; margin-bottom:12px; font-size:15px; color:var(--gray-700); }
.check-list li::before{
  content:''; flex:0 0 auto; width:20px; height:20px; margin-top:2px; border-radius:50%;
  background:var(--red);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
}

/* ---------------- Process steps ---------------- */
.process-track{
  display:grid; grid-template-columns:repeat(6,1fr); gap:16px; counter-reset:step;
}
.process-step{
  background:var(--white); border:1px solid var(--gray-300); border-radius:var(--radius);
  padding:24px 18px; position:relative;
}
.process-step .step-num{
  font-family:var(--font-display); font-weight:700; font-size:26px; color:var(--gray-300);
  margin-bottom:10px;
}
.process-step h4{ font-size:15px; margin-bottom:6px; }
.process-step p{ font-size:13px; color:var(--gray-700); margin:0; }
.process-step.is-highlight .step-num{ color:var(--red); }
@media(max-width:960px){ .process-track{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:620px){ .process-track{ grid-template-columns:repeat(2,1fr); } }

/* ---------------- Service org chart ---------------- */
.chart-frame{
  background:var(--white); border-radius:16px; padding:36px 28px 24px;
  box-shadow:0 20px 50px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.04);
  border:1px solid var(--gray-200,#eee);
}
.chart-wrap{ overflow-x:auto; padding:6px 0 10px; -webkit-overflow-scrolling:touch; }
.chart-svg{ min-width:980px; width:100%; height:auto; display:block; margin:0 auto; overflow:visible; }
.chart-box{
  width:100%; height:100%; box-sizing:border-box; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px; text-align:center; font-family:var(--font-display); font-size:13.5px; font-weight:600; line-height:1.28;
  color:var(--black); background:var(--white); border:2px solid var(--gray-300); border-radius:10px; padding:8px 12px;
  box-shadow:0 2px 6px rgba(16,16,18,.06);
  transition:transform .18s ease, box-shadow .18s ease;
}
.chart-box:hover{ transform:translateY(-3px); box-shadow:0 10px 22px rgba(16,16,18,.14); }
.chart-box .chart-icon{ width:22px; height:22px; flex-shrink:0; }
.chart-box .chart-icon svg{ width:100%; height:100%; }
.chart-box.root{
  background:var(--white); color:var(--black); border-color:var(--red); border-width:2.5px;
  font-size:17px; font-weight:700; letter-spacing:.02em;
}
.chart-box.root .chart-icon{ color:var(--red); width:24px; height:24px; }
.chart-box.category{ border-color:var(--red); font-weight:700; font-size:14.5px; border-width:2.5px; }
.chart-box.category .chart-icon{ color:var(--red); }
.chart-box.category.highlight{ border-color:var(--red); }
.chart-box.category.highlight .chart-icon{ color:var(--red); }
.chart-box.child{ background:var(--gray-100); border-color:var(--red); font-weight:500; font-size:12.5px; color:var(--black); box-shadow:none; }
.chart-box.child:hover{ background:var(--white); border-color:var(--red); }
.chart-box.child.highlight{ background:var(--gray-100); border-color:var(--red); color:var(--black); }
.chart-box.child.highlight:hover{ background:var(--white); border-color:var(--red); }
@media(max-width:720px){ .chart-svg{ min-width:900px; } .chart-frame{ padding:24px 16px 16px; border-radius:12px; } }

/* ---------------- Portfolio ---------------- */
.filter-bar{
  display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px;
}
.filter-bar select, .filter-bar input[type=text]{
  padding:11px 16px; border-radius:6px; border:1px solid var(--gray-300);
  font-family:var(--font-body); font-size:14.5px; background:var(--white);
}
.filter-bar input[type=text]{ flex:1; min-width:220px; }
.filter-bar button{ }

.project-card{
  background:var(--white); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm); border:1px solid var(--gray-300);
  transition:.2s;
}
.project-card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.project-card .thumb{
  aspect-ratio:3/2; width:100%; object-fit:cover; background:var(--gray-100);
}
.project-card .thumb-placeholder{
  aspect-ratio:3/2; width:100%; background:linear-gradient(135deg,#161618,#232327);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.project-card .thumb-placeholder svg{ width:56px; height:56px; opacity:.35; }
.project-card .thumb-placeholder::after{
  content:''; position:absolute; right:-30px; top:-30px; width:140px; height:140px;
  border:2px solid rgba(214,20,42,.4); border-radius:50%;
}
.project-card .body{ padding:20px; }
.project-card .badge{
  display:inline-block; font-size:11.5px; font-weight:600; color:var(--red);
  background:rgba(214,20,42,.08); padding:4px 10px; border-radius:20px; margin-bottom:10px;
}
.project-card h4{ font-size:16px; margin-bottom:8px; min-height:44px; }
.project-card .meta{ font-size:13px; color:var(--gray-700); display:flex; flex-direction:column; gap:4px; }
.project-card .meta span{ display:flex; gap:6px; align-items:flex-start; }

/* ---------------- Video play overlay + lightbox modal ---------------- */
.thumb-wrap{ position:relative; }
.video-play-btn{
  position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; cursor:pointer;
  background:rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; transition:.2s;
}
.video-play-btn:hover{ background:rgba(0,0,0,.4); }
.video-play-btn .play-icon{
  width:56px; height:56px; border-radius:50%; background:rgba(255,255,255,.95);
  display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,.35);
  transition:.2s;
}
.video-play-btn:hover .play-icon{ transform:scale(1.08); background:var(--white); }
.video-play-btn .play-icon svg{ width:22px; height:22px; margin-left:3px; color:var(--red); }

.video-modal{
  position:fixed; inset:0; z-index:2000; display:none; align-items:center; justify-content:center;
  background:rgba(8,8,10,.92); padding:20px;
}
.video-modal.open{ display:flex; }
.video-modal .video-modal-inner{ width:100%; max-width:900px; }
.video-modal video{ width:100%; max-height:80vh; border-radius:8px; background:#000; display:block; }
.video-modal-close{
  position:absolute; top:20px; right:24px; width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.12); border:0; color:var(--white); font-size:22px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:.2s;
}
.video-modal-close:hover{ background:rgba(255,255,255,.22); }

.portfolio-table-wrap{ overflow-x:auto; border:1px solid var(--gray-300); border-radius:var(--radius); }
table.portfolio-table{ width:100%; border-collapse:collapse; min-width:720px; }
table.portfolio-table th, table.portfolio-table td{
  padding:13px 16px; text-align:left; font-size:14px; border-bottom:1px solid var(--gray-300);
}
table.portfolio-table th{
  background:var(--black); color:var(--white); font-family:var(--font-display); font-weight:500;
  font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; position:sticky; top:0;
}
table.portfolio-table tbody tr:hover{ background:var(--gray-100); }
table.portfolio-table tfoot td{ font-weight:700; background:var(--gray-100); }

.load-more-wrap{ text-align:center; margin-top:36px; }

/* ---------------- Coverage / map ---------------- */
.coverage-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.coverage-wrap img{ border-radius:var(--radius); }
.region-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:24px; }
.region-card{ background:var(--gray-100); border-radius:8px; padding:16px; text-align:center; }
.region-card .num{ font-family:var(--font-display); font-weight:700; color:var(--red); font-size:20px; }
.region-card .label{ font-size:12px; color:var(--gray-700); }
@media(max-width:900px){ .coverage-wrap{ grid-template-columns:1fr; } }
@media(max-width:560px){ .region-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------------- News ---------------- */
.news-card{ background:var(--white); border:1px solid var(--gray-300); border-radius:var(--radius); overflow:hidden; transition:.2s; }
.news-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.news-card img{ aspect-ratio:16/10; object-fit:cover; width:100%; }
.news-card .body{ padding:20px; }
.news-card .cat{ font-size:11.5px; color:var(--red); font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
.news-card h3{ font-size:17px; margin:8px 0; }
.news-card .date{ font-size:12.5px; color:var(--gray-500); }
.news-card .excerpt{ font-size:14px; color:var(--gray-700); }
.video-badge{
  position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:50%;
  background:rgba(16,16,18,.75); display:flex; align-items:center; justify-content:center;
}
.video-badge svg{ width:15px; height:15px; color:var(--white); margin-left:2px; }

/* ---------------- Links ---------------- */
.link-card{
  display:flex; align-items:flex-start; gap:16px; background:var(--white); border:1px solid var(--gray-300);
  border-radius:var(--radius); padding:22px; transition:.2s;
}
.link-card:hover{ border-color:var(--red); box-shadow:var(--shadow-sm); }
.link-card .icon{
  flex:0 0 auto; width:44px; height:44px; border-radius:10px; background:var(--gray-100);
  display:flex; align-items:center; justify-content:center; color:var(--red);
}
.link-card h4{ font-size:15.5px; margin-bottom:6px; color:var(--black); }
.link-card p{ font-size:13.5px; color:var(--gray-700); margin:0; }

/* ---------------- Contact ---------------- */
.contact-wrap{ display:grid; grid-template-columns:1fr 1.1fr; gap:50px; }
.contact-info-card{ background:var(--black); color:var(--white); border-radius:var(--radius); padding:40px 34px; }
.contact-info-card h3{ color:var(--white); }
.contact-row{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.contact-row:last-child{ border-bottom:0; }
.contact-row .icon{
  flex:0 0 auto; width:40px; height:40px; border-radius:50%; background:var(--red);
  display:flex; align-items:center; justify-content:center;
}
.contact-row .icon svg{ width:18px; height:18px; }
.contact-row .label{ font-size:12px; color:var(--gray-500); margin-bottom:2px; }
.contact-row .value{ font-size:14.5px; color:var(--white); }
.contact-row .value a{ color:var(--white); }
.qr-box{ margin-top:20px; display:flex; align-items:center; gap:16px; }
.qr-box img{ width:88px; height:88px; border-radius:8px; background:var(--white); padding:6px; }

.form-group{ margin-bottom:18px; }
.form-group label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:6px; color:var(--gray-900); }
.form-group input, .form-group textarea, .form-group select{
  width:100%; padding:13px 15px; border:1px solid var(--gray-300); border-radius:6px;
  font-family:var(--font-body); font-size:14.5px; background:var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{
  outline:2px solid var(--red); outline-offset:1px; border-color:var(--red);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:620px){ .form-row{ grid-template-columns:1fr; } .contact-wrap{ grid-template-columns:1fr; } }

.alert{ padding:14px 18px; border-radius:8px; font-size:14.5px; margin-bottom:22px; }
.alert-success{ background:#E7F7EE; color:#146C43; border:1px solid #B7E4C7; }
.alert-error{ background:#FDECEC; color:#B02A2A; border:1px solid #F3B4B4; }

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--black); color:var(--gray-500); padding:64px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 0.9fr 0.9fr 1.6fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand img{ height:38px; margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color:var(--gray-500); max-width:280px; }
.footer-col h5{ color:var(--white); font-size:14px; margin-bottom:16px; }
.footer-col li{ margin-bottom:10px; }
.footer-col a{ color:var(--gray-500); font-size:14px; }
.footer-col a:hover{ color:var(--white); }
.footer-phone-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4px 16px; }
.footer-phone-grid span{ font-size:14px; color:var(--gray-500); white-space:nowrap; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:13px; flex-wrap:wrap; gap:10px; }
.social-links{ display:flex; gap:10px; }
.social-links a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:var(--white);
}
.social-links a:hover{ background:var(--red); }
@media(max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .footer-grid{ grid-template-columns:1fr; } .footer-phone-grid{ grid-template-columns:1fr 1fr; } }

/* ---------------- Page header (inner pages) ---------------- */
.page-header{
  background:var(--black); color:var(--white); padding:64px 0 44px; position:relative; overflow:hidden;
}
.page-header::after{
  content:''; position:absolute; right:-60px; top:-60px; width:260px; height:260px;
  border:2px solid rgba(214,20,42,.35); border-radius:50%;
}
.page-header h1{ color:var(--white); font-size:clamp(28px,4vw,42px); margin-bottom:10px; }
.breadcrumb{ font-size:13.5px; color:var(--gray-500); }
.breadcrumb a{ color:var(--gray-500); }
.breadcrumb a:hover{ color:var(--white); }
.breadcrumb .sep{ margin:0 8px; }

/* ---------------- Misc ---------------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.mb-0{ margin-bottom:0; }
.pill{ display:inline-block; padding:5px 14px; border-radius:20px; background:var(--gray-100); font-size:12.5px; color:var(--gray-700); }

.empty-state{ text-align:center; padding:60px 20px; color:var(--gray-500); }

.back-to-top{
  position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%;
  background:var(--red); color:var(--white); display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); opacity:0; pointer-events:none; transition:.25s; z-index:900;
}
.back-to-top.show{ opacity:1; pointer-events:auto; }
