/* =====================================================
   WORLD PROD CO., LTD. — Stylesheet
   ดัดแปลงจาก WORLD PROD Modern Blank Template V2
   ===================================================== */

:root{
  --navy:#041b33;
  --navy2:#062b4f;
  --blue:#075fa8;
  --sky:#0ea5e9;
  --cyan:#38bdf8;
  --white:#ffffff;
  --soft:#f5fbff;
  --pale:#eaf6ff;
  --line:#dbeafe;
  --text:#334155;
  --muted:#64748b;
  --shadow:0 24px 60px rgba(4,27,51,.16);
  --shadow-soft:0 14px 34px rgba(4,27,51,.08);
  --radius:28px;
  --container:min(1240px,92%);
  --amber:#f59e0b;
  --amber-dark:#d97706;
  --gray-light:#dbeafe;
  --gray:#64748b;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Inter","Segoe UI","Noto Sans Thai","Prompt",Arial,Helvetica,sans-serif;
  letter-spacing:-0.01em;
  color:#0f172a;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.10), transparent 32%),
    linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  line-height:1.7;
  overflow-x:hidden;
}
h1,h2,h3,h4{ color:var(--navy); line-height:1.25; margin:0 0 .6em; }
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }
.container{ width:var(--container); margin:0 auto; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:13px 28px; border-radius:999px; font-weight:800; font-size:.95rem;
  border:2px solid transparent; cursor:pointer; transition:.2s ease;
}
.btn-primary{ background:linear-gradient(135deg,var(--blue),var(--sky)); color:var(--white); box-shadow:0 14px 28px rgba(7,95,168,.22); }
.btn-primary:hover{ filter:brightness(1.05); color:var(--white); }
.btn-outline{ background:rgba(255,255,255,.15); border-color:rgba(255,255,255,.6); color:var(--white); }
.btn-outline:hover{ background:var(--white); color:var(--blue); }
.btn-outline-dark{ background:transparent; border-color:var(--line); color:var(--blue); }
.btn-outline-dark:hover{ background:var(--pale); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid var(--line); color:var(--blue);
  border-radius:999px; padding:9px 14px; font-weight:900;
  box-shadow:var(--shadow-soft); margin-bottom:14px; font-size:.8rem; letter-spacing:.02em;
}

.section{ padding:70px 0; }
.section-alt{ background:var(--soft); }
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.bracket{ position:relative; }

/* =========================== HEADER =========================== */
.site-header{
  position:sticky; top:0; z-index:9999;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(219,234,254,.9);
}
.topbar{ background:var(--navy); color:#cfe6fb; font-size:.8rem; }
.topbar .container{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:7px; padding-bottom:7px; flex-wrap:wrap; gap:6px;
}
.topbar a{ color:#cfe6fb; }
.topbar .topbar-links{ display:flex; gap:18px; flex-wrap:wrap; align-items:center; }

.navbar{
  width:var(--container); margin:auto; min-height:112px;
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; position:relative; padding:12px 0;
}
.brand{ flex:0 0 auto; display:flex; align-items:center; gap:16px; min-width:0; }
.brand img{ height:clamp(64px,7vw,92px); width:auto; max-width:180px; object-fit:contain; flex:0 0 auto; }
.brand .fallback-mark{ font-size:2.4rem; line-height:1; }
.brand-text{ display:flex; flex-direction:column; gap:2px; line-height:1.2; min-width:0; }
.brand-text strong{
  font-size:1.1rem; font-weight:900; color:var(--navy); white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis; max-width:46vw;
}
.brand-text small{
  font-size:.74rem; font-weight:700; color:var(--blue); text-transform:uppercase;
  letter-spacing:.03em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:46vw;
}

.nav-toggle{
  display:none; width:50px; height:50px; border:0; border-radius:18px;
  background:linear-gradient(135deg,var(--blue),var(--sky)); color:#fff;
  font-size:1.55rem; cursor:pointer; box-shadow:0 14px 28px rgba(7,95,168,.22);
  align-items:center; justify-content:center;
}
.header-actions{ display:flex; align-items:center; gap:9px; flex:0 0 auto; }
.lang-switch{ display:inline-flex; }
.lang-switch a{
  width:50px; height:42px; display:flex; align-items:center; justify-content:center;
  border:1px solid #bae6fd; background:#fff; color:var(--blue); border-radius:999px;
  font-weight:900; box-shadow:0 10px 22px rgba(7,95,168,.08); font-size:.9rem;
}

.main-nav{ flex:1; display:flex; justify-content:flex-end; }
.main-nav ul{ display:flex; align-items:center; gap:6px; }
.main-nav a{
  display:inline-flex; align-items:center; justify-content:center; padding:11px 13px;
  border-radius:999px; color:#24364f; font-weight:900; font-size:.94rem;
  white-space:nowrap; transition:.18s ease;
}
.main-nav a:hover,.main-nav a.active{ background:linear-gradient(135deg,#eaf6ff,#dff4ff); color:var(--blue); }
.nav-close,.nav-overlay{ display:none; }

/* dropdown submenu */
.main-nav li{ position:relative; }
.main-nav li.has-dropdown > a .caret{ font-size:.7em; margin-left:3px; }
.main-nav ul.dropdown{
  display:none; position:absolute; top:100%; left:0; background:#fff; min-width:220px;
  padding:8px; margin:0; border:1px solid var(--line); border-radius:18px;
  box-shadow:var(--shadow); flex-direction:column; z-index:50;
}
@media (hover:hover) and (pointer:fine){
  .main-nav li.has-dropdown:hover ul.dropdown{ display:flex; }
}
.main-nav li.has-dropdown.open ul.dropdown{ display:flex; }
.main-nav ul.dropdown a{ justify-content:flex-start; border-radius:12px; }

/* =========================== HERO (page-hero) =========================== */
.page-hero{
  position:relative; overflow:hidden; padding:84px 0 54px;
  background:
    radial-gradient(circle at 10% 18%, rgba(14,165,233,.18), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(7,95,168,.14), transparent 34%),
    linear-gradient(135deg,#eef8ff 0%,#ffffff 58%,#f7fbff 100%);
}
.page-hero::before{
  content:''; position:absolute; right:-120px; top:-120px; width:420px; height:420px;
  border-radius:50%; background:linear-gradient(135deg,rgba(14,165,233,.18),rgba(7,95,168,.05));
}
.page-hero::after{
  content:''; position:absolute; left:-60px; bottom:-120px; width:340px; height:340px;
  border-radius:50%; background:rgba(14,165,233,.08);
}
.hero-inner{
  position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr;
  gap:34px; align-items:center;
}
.page-hero h1{
  margin:18px 0 12px; font-size:clamp(2.2rem,4.6vw,4.4rem); line-height:1.05;
  letter-spacing:-1.4px; color:var(--navy);
}
.page-subtitle{ margin:0; font-size:clamp(1.02rem,1.7vw,1.2rem); color:var(--text); max-width:760px; }
.shape-line{
  width:100%; height:1px; background:linear-gradient(90deg,transparent,var(--sky),transparent);
  opacity:.45; margin-top:34px;
}
.hero-panel{
  background:rgba(255,255,255,.70); border:1px solid rgba(186,230,253,.85);
  border-radius:32px; padding:24px; box-shadow:var(--shadow); backdrop-filter:blur(18px);
  position:relative; overflow:hidden;
}
.hero-panel-logo{ width:min(100%,340px); margin:auto; }
.hero-photo-stack{ position:relative; width:100%; aspect-ratio:16/10; border-radius:22px; overflow:hidden; margin-bottom:16px; }
.hero-panel-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  border-radius:22px; margin:0; opacity:0; transition:opacity .6s ease; z-index:1;
}
.hero-panel-photo.active{ opacity:1; z-index:2; }
.panel-text{ margin:14px 0 0; text-align:center; color:var(--muted); font-weight:700; }
.hero-dots{ display:flex; justify-content:center; gap:8px; margin-top:14px; }
.hero-dots button{ width:9px; height:9px; border-radius:50%; border:none; background:var(--line); cursor:pointer; padding:0; }
.hero-dots button.active{ background:var(--sky); width:22px; border-radius:6px; }

/* breadcrumb inside inner-page hero */
.breadcrumb{ font-size:.85rem; color:var(--muted); margin-top:6px; }
.breadcrumb a{ color:var(--blue); }
.breadcrumb span{ color:var(--navy); font-weight:700; }

/* stat strip */
.stat-strip{ background:linear-gradient(135deg,var(--navy),var(--navy2)); }
.stat-strip .container{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; padding:26px 20px; }
.stat-item{ text-align:center; color:var(--white); }
.stat-item strong{ display:block; font-size:1.7rem; color:var(--cyan); font-weight:900; }
.stat-item span{ font-size:.78rem; color:#cfe6fb; letter-spacing:.03em; }

/* =========================== CARDS =========================== */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:1fr; }
.grid-4{ grid-template-columns:1fr; }

.card{
  background:var(--white); border-radius:24px; overflow:hidden;
  box-shadow:var(--shadow-soft); transition:transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column; border:1px solid var(--line);
}
.card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.card-img{ height:200px; background:var(--pale) center/cover no-repeat; position:relative; }
.card-body{ padding:22px 22px 26px; flex:1; display:flex; flex-direction:column; }
.card-body h3{ font-size:1.08rem; margin-bottom:10px; }
.card-body p{ color:var(--muted); font-size:.92rem; flex:1; }
.card-link{ margin-top:14px; font-weight:800; font-size:.88rem; color:var(--blue); }
.card-meta{ font-size:.75rem; color:var(--blue); font-weight:800; letter-spacing:.03em; margin-bottom:8px; text-transform:uppercase; }

.icon-badge{
  width:52px; height:52px; border-radius:18px; background:linear-gradient(135deg,var(--blue),var(--sky));
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  color:#fff; font-weight:900; box-shadow:0 14px 26px rgba(7,95,168,.2);
}

/* =========================== CTA =========================== */
.cta-band{ background:linear-gradient(135deg,var(--navy),var(--navy2)); color:var(--white); text-align:center; padding:60px 0; }
.cta-band h2{ color:var(--white); }
.cta-band p{ color:#cfe6fb; max-width:520px; margin:0 auto 26px; }

/* =========================== CONTACT =========================== */
.contact-wrap{ display:grid; gap:36px; grid-template-columns:1fr; }
.contact-info-card{ background:linear-gradient(135deg,var(--navy),var(--navy2)); color:var(--white); padding:34px 28px; border-radius:28px; }
.contact-info-card h3{ color:var(--white); }
.contact-info-item{ display:flex; gap:14px; margin-bottom:20px; align-items:flex-start; }
.contact-info-item strong{ display:block; color:var(--cyan); font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; }
.form-group{ margin-bottom:18px; }
.form-group label{ display:block; margin-bottom:7px; font-weight:700; font-size:.9rem; }
.form-control{
  width:100%; padding:12px 16px; border:1px solid var(--line); border-radius:16px;
  font-family:inherit; font-size:.95rem; background:var(--white);
}
.form-control:focus{ outline:2px solid var(--sky); outline-offset:1px; border-color:var(--sky); }
textarea.form-control{ resize:vertical; min-height:130px; border-radius:20px; }
.alert{ padding:14px 18px; border-radius:16px; margin-bottom:20px; font-size:.92rem; }
.alert-success{ background:#e0fbea; color:#166534; border:1px solid #86D6A4; }
.alert-error{ background:#fde8e8; color:#9B1C1C; border:1px solid #F0A6A6; }

/* =========================== FOOTER =========================== */
.site-footer{ background:linear-gradient(135deg,var(--navy),var(--navy2)); color:#dbeafe; padding:44px 0 0; }
.footer-grid{ display:grid; gap:30px; grid-template-columns:1fr; padding-bottom:30px; }
.footer-grid h4{ color:#fff; font-size:1rem; }
.footer-grid a{ color:#dbeafe; }
.footer-grid a:hover{ color:var(--cyan); }
.footer-grid li{ margin-bottom:10px; font-size:.92rem; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding:16px 0; text-align:center; font-size:.85rem; color:#a7c7e6; }
.social-row{ display:flex; gap:12px; margin-top:14px; }
.social-row a{
  width:36px; height:36px; border:1px solid rgba(255,255,255,.25); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:.85rem;
}

/* =========================== PAGINATION =========================== */
.pagination{ display:flex; gap:8px; justify-content:center; margin-top:36px; flex-wrap:wrap; }
.pagination a,.pagination span{
  min-width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:12px; font-size:.9rem;
}
.pagination .active{ background:var(--blue); color:var(--white); border-color:var(--blue); }

/* =========================== ARTICLE / DETAIL ============================ */
.article-body{ max-width:760px; }
/* =========================== CONTENT COLUMNS (จากตัวจัดคอลัมน์ใน Rich Text Editor) =========================== */
.content-columns{ display:grid; grid-template-columns:1fr; gap:22px; margin:20px 0; }
.content-columns > div{ min-width:0; }
@media (min-width:700px){
  .content-columns.cols-2{ grid-template-columns:repeat(2,1fr); }
  .content-columns.cols-3{ grid-template-columns:repeat(3,1fr); }
  .content-columns.cols-4{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:960px){
  .content-columns.cols-4{ grid-template-columns:repeat(4,1fr); }
}

.article-body table,.wp-copy table{
  width:100%; border-collapse:collapse; margin:20px 0; font-size:.88rem;
  border-radius:14px; overflow:hidden; box-shadow:var(--shadow-soft);
}
.article-body th,.wp-copy th{
  background:linear-gradient(135deg,var(--navy),var(--navy2)); color:#fff; text-align:left;
  padding:11px 14px; font-weight:800; font-size:.82rem;
}
.article-body td,.wp-copy td{ padding:10px 14px; border-bottom:1px solid var(--line); }
.article-body tr:nth-child(even) td{ background:var(--soft); }
.article-body .spec-note{ font-size:.82rem; color:var(--muted); line-height:1.7; margin-top:18px; }
.article-body .spec-note ol{ padding-left:20px; margin:6px 0 0; }
.article-body img{ border-radius:20px; margin:20px 0; }
.article-body h2,.article-body h3{ margin-top:1.4em; }
.article-meta{ display:flex; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:.85rem; margin-bottom:26px; }

/* =========================== PRODUCT CATALOG: CATEGORY GROUPS =========================== */
.category-jump{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px; }
.category-jump a{
  padding:9px 18px; border:1px solid var(--line); border-radius:999px; font-size:.86rem;
  font-weight:800; color:var(--blue); background:var(--white);
}
.category-jump a:hover{ background:linear-gradient(135deg,var(--blue),var(--sky)); border-color:var(--blue); color:#fff; }

.category-grid-2col{ display:grid; grid-template-columns:1fr; gap:44px 40px; }
@media (min-width:860px){ .category-grid-2col{ grid-template-columns:1fr 1fr; align-items:start; } }

.category-block{ scroll-margin-top:120px; }
.category-block-head{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  margin-bottom:18px; padding-bottom:12px; border-bottom:2px solid var(--line); position:relative;
}
.category-block-head::after{
  content:''; position:absolute; left:0; bottom:-2px; width:56px; height:2px;
  background:linear-gradient(90deg,var(--blue),var(--sky));
}
.category-block-title{ font-size:1.25rem; margin:0; }
.category-block-viewall{
  flex:0 0 auto; font-size:.82rem; font-weight:800; color:var(--blue); white-space:nowrap;
}
.category-block-viewall:hover{ color:var(--sky); }
.category-block-more{
  display:block; text-align:center; margin-top:18px; font-size:.85rem; font-weight:800;
  color:var(--blue); padding:10px; border:1px dashed var(--line); border-radius:14px;
}
.category-block-more:hover{ background:var(--pale); border-color:var(--blue); }

.product-mini-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:480px){ .product-mini-grid{ grid-template-columns:repeat(2,1fr); gap:12px; } }

.product-mini-card{ display:block; text-decoration:none; }
.product-mini-img{
  width:100%; aspect-ratio:1/1; background-size:cover; background-position:center;
  border-radius:16px; border:1px solid var(--line); margin-bottom:9px; transition:.2s ease;
}
.product-mini-card:hover .product-mini-img{ transform:translateY(-3px); box-shadow:var(--shadow-soft); }
.product-mini-name{
  font-size:.85rem; font-weight:800; color:var(--navy); text-align:center; line-height:1.35;
}
.product-mini-card:hover .product-mini-name{ color:var(--blue); }

/* =========================== FILTER TABS (categories) =========================== */
.filter-tabs{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.filter-tabs a{ padding:9px 18px; border:1px solid var(--line); border-radius:999px; font-size:.88rem; font-weight:800; color:var(--text); background:var(--white); }
.filter-tabs a.active,.filter-tabs a:hover{ background:linear-gradient(135deg,var(--blue),var(--sky)); border-color:var(--blue); color:var(--white); }

/* =========================== PRODUCT GALLERY =========================== */
.gallery-thumbs{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:10px; }
.gallery-thumbs img{ border-radius:12px; height:70px; width:100%; object-fit:cover; }

/* =========================== JOB LISTING =========================== */
.job-list{ display:flex; flex-direction:column; gap:16px; }
.job-card{
  display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;
  background:var(--white); border-radius:24px; box-shadow:var(--shadow-soft); padding:24px;
  transition:.2s ease; border:1px solid var(--line);
}
.job-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.job-card h3{ margin-bottom:8px; }
.job-tags{ display:flex; gap:16px; flex-wrap:wrap; font-size:.85rem; color:var(--muted); }

/* =========================== PUBLIC-SIDE FORM PANEL =========================== */
.card-panel-public{ background:var(--white); border-radius:24px; box-shadow:var(--shadow-soft); padding:26px; border:1px solid var(--line); }
.card-panel-public h3{ margin-bottom:16px; }

/* =========================== TWO-COLUMN LAYOUT =========================== */
.two-col{ display:grid; grid-template-columns:1fr; gap:34px; align-items:start; }
@media (min-width:960px){
  .two-col{ grid-template-columns:1fr 1fr; }
  .product-media-col{ position:sticky; top:130px; align-self:start; }
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* =========================== MAP EMBED (Google Maps) =========================== */
.map-embed-wrap{
  position:relative; width:100%; padding-top:45%; border-radius:24px; overflow:hidden;
  box-shadow:var(--shadow-soft); border:1px solid var(--line);
}
.map-embed-wrap iframe{
  position:absolute; inset:0; width:100% !important; height:100% !important; border:0;
}

/* =========================== ABOUT US: HIGHLIGHTS + FALLBACK CARD =========================== */
.about-highlights{ display:flex; flex-direction:column; gap:12px; margin-top:22px; }
.about-highlight-item{ display:flex; align-items:flex-start; gap:12px; font-size:.95rem; color:var(--text); }
.about-highlight-icon{
  flex:0 0 auto; width:24px; height:24px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--sky));
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:900; margin-top:1px;
}
.about-fallback-card{
  background:linear-gradient(135deg,var(--navy),var(--navy2)); border-radius:24px; padding:40px 28px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px; min-height:320px;
  box-shadow:var(--shadow);
}
.about-fallback-logo{ width:min(70%,220px); filter:brightness(0) invert(1); opacity:.95; }
.about-fallback-stats{ display:flex; gap:28px; }
.about-fallback-stats div{ text-align:center; }
.about-fallback-stats strong{ display:block; color:var(--cyan); font-size:1.4rem; font-weight:900; }
.about-fallback-stats span{ color:#cfe6fb; font-size:.75rem; letter-spacing:.03em; }

/* =========================== ABOUT US: RICH BRAND PAGE (wp-*) =========================== */
:root{
  --red:#b42328; --red-dark:#8f1c20; --red-pale:#fdecec;
  --scr-blue:#123c55;
}
.wp-about-page{ overflow-x:hidden; }
.wp-container{ width:var(--container); margin:0 auto; }

/* local jump nav */
.wp-local-nav{
  position:sticky; top:148px; z-index:40; background:rgba(255,255,255,.95); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line); overflow-x:auto;
}
@media (max-width:940px){ .wp-local-nav{ top:122px; } }
@media (max-width:560px){ .wp-local-nav{ top:110px; } }
.wp-local-nav-inner{ display:flex; gap:6px; width:var(--container); margin:0 auto; padding:12px 0; white-space:nowrap; }
.wp-local-nav a{
  padding:9px 16px; border-radius:999px; font-weight:800; font-size:.86rem; color:var(--navy);
  flex:0 0 auto;
}
.wp-local-nav a:hover{ background:var(--pale); color:var(--blue); }

/* kicker / title / subtitle / lead */
.wp-kicker{
  display:inline-block; font-size:.78rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase;
  color:var(--blue); margin-bottom:10px;
}
.wp-title{ font-size:clamp(1.7rem,3.4vw,2.5rem); color:var(--navy); margin:0 0 .35em; line-height:1.2; }
.wp-subtitle{ font-size:1.05rem; color:var(--muted); margin:0 0 18px; }
.wp-lead{ font-size:1.02rem; line-height:1.8; color:var(--text); }

/* hero: about company */
.wp-about-hero{ padding:52px 0 20px; }
.wp-hero-grid{ display:grid; grid-template-columns:1fr; gap:40px; align-items:center; }
@media (min-width:960px){ .wp-hero-grid{ grid-template-columns:1.05fr .95fr; } }
.wp-brand-lockup{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.wp-brand-lockup img{ width:56px; height:56px; object-fit:contain; }
.wp-brand-lockup small{ display:block; font-weight:800; color:var(--navy); font-size:.85rem; }
.wp-brand-lockup strong{ display:block; color:var(--blue); font-size:.8rem; font-weight:700; }
.wp-hero-visual{ position:relative; }
.wp-main-photo{ width:100%; border-radius:24px; box-shadow:var(--shadow); aspect-ratio:16/10; object-fit:cover; }
.wp-float-photo{
  position:absolute; right:-16px; bottom:-28px; width:38%; border-radius:18px;
  border:5px solid #fff; box-shadow:var(--shadow); aspect-ratio:3/4; object-fit:cover;
}
.wp-hero-badge{
  position:absolute; left:16px; bottom:16px; background:rgba(4,27,51,.85); color:#fff;
  padding:12px 18px; border-radius:16px; font-size:.82rem; backdrop-filter:blur(6px); max-width:240px;
}
.wp-hero-badge strong{ display:block; color:var(--cyan); font-size:1rem; margin-bottom:2px; }

/* generic sections */
.wp-section{ padding:60px 0; }
.wp-section-light{ background:var(--soft); }
.wp-section-dark{ background:linear-gradient(135deg,var(--navy),var(--navy2)); color:#dbeafe; }
.wp-section-dark .wp-kicker{ color:var(--cyan); }
.wp-section-dark .wp-title,.wp-section-dark h3{ color:#fff; }
.wp-two-col{ display:grid; grid-template-columns:1fr; gap:32px; align-items:start; }
@media (min-width:860px){ .wp-two-col{ grid-template-columns:1fr 1fr; } }

.wp-card{ background:var(--white); border-radius:22px; padding:28px; box-shadow:var(--shadow-soft); border:1px solid var(--line); }
.wp-section-dark .wp-card{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); }
.wp-card h3{ margin-top:0; }

.wp-check-list{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:11px; }
.wp-check-list li{ position:relative; padding-left:30px; font-size:.94rem; line-height:1.55; }
.wp-check-list li::before{
  content:'✓'; position:absolute; left:0; top:0; width:20px; height:20px; border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--sky)); color:#fff; font-size:.68rem; font-weight:900;
  display:flex; align-items:center; justify-content:center;
}
.wp-red-list li::before{ background:linear-gradient(135deg,var(--red),var(--red-dark)); }

.wp-image-strip{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:40px; }
.wp-image-strip figure{ margin:0; border-radius:20px; overflow:hidden; box-shadow:var(--shadow-soft); }
.wp-image-strip img{ width:100%; height:100%; object-fit:cover; display:block; }
.wp-image-strip figure:first-child{ grid-column:1 / -1; aspect-ratio:16/7; }
.wp-image-strip figure:not(:first-child){ aspect-ratio:1/1; }
@media (min-width:768px){ .wp-image-strip{ grid-template-columns:1.4fr 1fr 1fr; } .wp-image-strip figure:first-child{ grid-column:auto; aspect-ratio:auto; height:100%; } }

/* brand section headers (SCR / Armstrong) */
.wp-brand-header{ display:flex; align-items:center; gap:22px; margin-bottom:24px; flex-wrap:wrap; }
.wp-brand-logo{ max-width:150px; max-height:80px; object-fit:contain; }

.wp-fact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:28px 0; }
.wp-fact{
  background:var(--pale); border:1px solid var(--line); border-radius:18px; padding:18px 14px;
  text-align:center; font-size:.82rem; color:var(--muted); line-height:1.4;
}
.wp-fact strong{ display:block; color:var(--blue); font-size:1.5rem; font-weight:900; margin-bottom:4px; }

.wp-media-copy{ display:grid; grid-template-columns:1fr; gap:26px; align-items:center; margin:36px 0; }
@media (min-width:860px){ .wp-media-copy{ grid-template-columns:1fr 1fr; } .wp-media-copy.reverse .wp-media{ order:2; } }
.wp-media{ border-radius:22px; overflow:hidden; box-shadow:var(--shadow-soft); border:1px solid var(--line); background:#fff; }
.wp-media img{ width:100%; display:block; aspect-ratio:3/2; object-fit:cover; }
.wp-media.contain{ padding:20px; }
.wp-media.contain img{ aspect-ratio:auto; object-fit:contain; }
.wp-copy h3{ margin-top:0; }

.wp-cert-wrap{
  display:flex; flex-wrap:wrap; gap:28px; align-items:center; justify-content:space-between;
  background:var(--pale); border:1px solid var(--line); border-radius:24px; padding:28px; margin:40px 0;
}
.wp-cert-wrap img{ max-width:220px; height:auto; }
.wp-cert-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.wp-cert-tag{
  padding:7px 14px; border-radius:999px; background:#fff; border:1px solid var(--line);
  font-size:.78rem; font-weight:800; color:var(--blue);
}

.wp-products-title{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.wp-products-title h3{ margin:2px 0 0; }

.wp-product-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
@media (min-width:640px){ .wp-product-grid{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:960px){ .wp-product-grid{ grid-template-columns:repeat(4,1fr); } }
.wp-product-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:14px; text-align:center; box-shadow:var(--shadow-soft); transition:.2s ease; }
.wp-product-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.wp-product-img{ aspect-ratio:1/1; background:var(--pale); border-radius:12px; overflow:hidden; margin-bottom:10px; display:flex; align-items:center; justify-content:center; }
.wp-product-img img{ width:100%; height:100%; object-fit:contain; padding:8px; }
.wp-product-card h4{ font-size:.86rem; margin:0; color:var(--navy); line-height:1.35; }
.wp-product-card h4 small{ display:block; font-weight:400; color:var(--muted); font-size:.78rem; margin-top:4px; }

.wp-downstream-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:16px; }
@media (min-width:640px){ .wp-downstream-grid{ grid-template-columns:repeat(4,1fr); } }
.wp-downstream-grid figure{ margin:0; background:var(--pale); border:1px solid var(--line); border-radius:14px; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.wp-downstream-grid img{ width:100%; height:100%; object-fit:contain; padding:10px; }

/* armstrong hero photo cluster */
.wp-armstrong-hero{ display:grid; grid-template-columns:1fr; gap:14px; margin:28px 0 8px; }
@media (min-width:860px){ .wp-armstrong-hero{ grid-template-columns:1.6fr 1fr; } }
.wp-big{ border-radius:20px; overflow:hidden; box-shadow:var(--shadow-soft); }
.wp-big img{ width:100%; height:100%; object-fit:cover; display:block; }
.wp-armstrong-side{ display:flex; flex-direction:column; gap:14px; }
.wp-armstrong-side img{ width:100%; border-radius:20px; box-shadow:var(--shadow-soft); object-fit:cover; aspect-ratio:16/9; }

.wp-red-card{ background:var(--red-pale); border-color:#f5c9ca; }
.wp-red-card h3{ color:var(--red-dark); }

.wp-closing{ padding:60px 0; text-align:center; background:linear-gradient(135deg,var(--navy),var(--navy2)); color:#fff; }
.wp-closing h2{ color:#fff; margin-bottom:8px; }
.wp-closing p{ color:#cfe6fb; margin:0; font-size:1.05rem; }

/* =========================== RESPONSIVE =========================== */
@media (min-width:640px){
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .stat-strip .container{ grid-template-columns:repeat(4,1fr); }
}

@media (min-width:860px){
  .contact-wrap{ grid-template-columns:.9fr 1.3fr; }
  .footer-grid{ grid-template-columns:1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width:960px){
  .grid-3{ grid-template-columns:repeat(3,1fr); }
  .grid-4{ grid-template-columns:repeat(4,1fr); }
  .hero-inner{ grid-template-columns:1.1fr .9fr; }
}

@media (max-width:1120px){
  .navbar{ min-height:100px; }
  .brand img{ height:clamp(56px,8vw,80px); max-width:150px; }
  .main-nav a{ font-size:.86rem; padding:10px 9px; }
}

@media (max-width:940px){
  .navbar{ min-height:88px; width:92%; }
  .brand{ max-width:calc(100vw - 150px); }
  .brand img{ height:56px; max-width:130px; }
  .brand-text small{ display:none; }
  .brand-text strong{ font-size:1rem; max-width:44vw; }
  .nav-toggle{ display:inline-flex; }
  .main-nav{
    display:none; position:absolute; top:calc(100% + 8px); left:0; right:0;
    background:#fff; border:1px solid var(--line); border-radius:24px; padding:12px;
    box-shadow:var(--shadow); z-index:10000;
  }
  .main-nav.open{ display:flex; }
  .main-nav ul{ flex-direction:column; align-items:stretch; width:100%; gap:2px; }
  .main-nav a{
    width:100%; justify-content:space-between; padding:15px 16px; border-radius:16px;
    font-size:1rem; border-bottom:1px solid rgba(219,234,254,.75);
  }
  .main-nav ul.dropdown{ position:static; box-shadow:none; border:none; padding-left:14px; margin-top:2px; }
  .main-nav ul.dropdown a{ border-bottom:none; }
  .hero-inner{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  body.menu-open::before{ content:''; position:fixed; inset:0; background:rgba(4,27,51,.28); z-index:9998; }
  .site-header{ z-index:9999; }
}

@media (max-width:560px){
  .navbar{ min-height:76px; padding:8px 0; }
  .brand{ gap:10px; }
  .brand img{ height:46px; max-width:100px; }
  .brand-text strong{ font-size:.88rem; max-width:38vw; }
  .lang-switch a{ width:42px; height:36px; font-size:.85rem; }
  .nav-toggle{ width:44px; height:44px; border-radius:15px; }
  .page-hero{ padding:46px 0 32px; }
  .page-hero h1{ font-size:clamp(1.9rem,10vw,2.8rem); letter-spacing:-.8px; }
  .hero-panel{ padding:18px; border-radius:26px; }
  .map-embed-wrap{ padding-top:75%; }
}

/* accessibility */
a:focus-visible,button:focus-visible,.form-control:focus-visible{ outline:3px solid var(--sky); outline-offset:2px; }
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; scroll-behavior:auto !important; } }
