:root {
  --navy: #071823;
  --navy-2: #0b2432;
  --ink: #10242e;
  --steel: #60717a;
  --paper: #f3f1eb;
  --white: #fffefa;
  --yellow: #e6b64a;
  --line: rgba(13, 38, 50, .16);
}

/* PHP/cPanel image rendering */
.corporate-hero-image img,
.home-about-media > img,
.project-strip article > div img,
.product-image > img,
.detail-main-image > img,
.detail-thumbs > div img,
.projects-page-grid article > div img,
.corporate-page-image > img,
.admin-thumb > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-image > img,
.detail-main-image > img,
.detail-thumbs > div img,
.corporate-page-image > img,
.admin-thumb > img {
  position: absolute;
  inset: 0;
}
.detail-video,.project-video{width:100%;margin-top:24px;background:#04151e;max-height:520px}
.admin-wide{margin:0 0 24px}.admin-main>.admin-grid{margin:24px 0}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.admin-tabs a{padding:11px 15px;background:#fff;border:1px solid #d8dfe1;color:#263b45;font-size:9px;font-weight:800;text-transform:uppercase}
.admin-tabs a:hover{color:#fff;background:#0e91d0}.admin-form-grid{grid-template-columns:repeat(2,1fr)}.admin-form-grid .span-2{grid-column:1/-1}
.admin-alert{margin-bottom:20px;padding:14px 18px;font-size:12px}.admin-alert.success{background:#e7f5ea;color:#24652f}.admin-alert.error{background:#fbeaea;color:#8b2727}
.admin-login-body{min-height:100vh;display:grid;place-items:center;background:#061b26;padding:20px}
.admin-login{width:min(850px,100%);display:grid;grid-template-columns:1fr 1fr;background:#fff;box-shadow:0 25px 80px #0006}
.admin-login-brand{padding:50px 35px;display:flex;flex-direction:column;justify-content:center;background:#eef3f5}
.admin-login-brand img{width:100%;height:auto}.admin-login-brand p{text-align:center;color:#60727b;font-size:10px;text-transform:uppercase;letter-spacing:.12em}
.admin-login form{padding:55px 40px;display:flex;flex-direction:column;justify-content:center}.admin-login h1{font-size:42px;color:#092331}.admin-login form>p{color:#718189;font-size:12px}
.admin-login label{display:grid;gap:7px;margin-top:16px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.admin-login input{padding:12px;border:1px solid #ccd5d8}.admin-login form>a{margin-top:20px;color:#60727b;font-size:10px}
@media(max-width:700px){.admin-login{grid-template-columns:1fr}.admin-login-brand{padding:25px}.admin-login-brand img{max-height:120px;object-fit:contain}.admin-form-grid{grid-template-columns:1fr}.admin-form-grid .span-2{grid-column:auto}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body), Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { object-fit: cover; }
button, input, textarea, select { font: inherit; }

.site-header {
  height: 82px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font: 700 27px/1 var(--font-display), sans-serif;
  transform: skew(-8deg);
}
.brand > span:last-child { display: flex; flex-direction: column; line-height: .92; }
.brand b { font: 600 24px/1 var(--font-display), sans-serif; letter-spacing: .08em; }
.brand small { margin-top: 5px; color: #a9b5bb; font-size: 8px; letter-spacing: .45em; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { color: #c9d0d3; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.site-header nav a:hover { color: var(--yellow); }
.header-cta { font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.header-cta span { color: var(--yellow); margin-left: 10px; }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 56% 44%;
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0 44% 0 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, black, transparent);
}
.hero-copy { padding: 10vh 4vw 5vh 8vw; position: relative; z-index: 2; }
.kicker, .eyebrow { color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.kicker span { display: inline-block; width: 38px; height: 1px; background: var(--yellow); vertical-align: middle; margin-right: 14px; }
h1, h2 { font-family: var(--font-display), Impact, sans-serif; text-transform: uppercase; margin: 0; line-height: .9; letter-spacing: -.025em; }
h1 { font-size: clamp(72px, 8.7vw, 145px); }
h1 em, h2 em { color: var(--yellow); font-style: normal; }
.hero-lead {
  max-width: 580px;
  color: #b8c2c7;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.7;
  margin: 34px 0 30px;
}
.hero-actions { display: flex; gap: 12px; }
.button {
  min-width: 182px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  border: 1px solid transparent;
  cursor: pointer;
}
.button.primary { background: var(--yellow); color: var(--navy); }
.button.ghost { color: white; border-color: rgba(255,255,255,.35); }
.button:hover { transform: translateY(-2px); }
.hero-stats {
  margin-top: 7vh;
  display: flex;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
}
.hero-stats > div { min-width: 140px; display: flex; flex-direction: column; }
.hero-stats strong { font: 600 28px/1 var(--font-display), sans-serif; }
.hero-stats span { color: #84939b; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; margin-top: 7px; }
.hero-visual { position: relative; min-height: 620px; }
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 28%), linear-gradient(0deg, rgba(7,24,35,.72), transparent 45%);
}
.hero-caption {
  position: absolute;
  z-index: 2;
  left: 7%;
  bottom: 7%;
  padding: 18px 22px;
  min-width: 250px;
  background: rgba(7,24,35,.85);
  border-left: 3px solid var(--yellow);
  display: flex;
  flex-direction: column;
}
.hero-caption span { color: var(--yellow); font-size: 8px; letter-spacing: .2em; }
.hero-caption b { font: 500 22px/1.2 var(--font-display), sans-serif; text-transform: uppercase; margin: 5px 0; }
.hero-caption small { color: #9aabb3; font-size: 9px; }
.vertical-label {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  font-size: 8px;
  letter-spacing: .25em;
}
.ticker {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  padding: 0 3vw;
  overflow: hidden;
  background: var(--yellow);
  color: var(--navy);
  font: 600 18px/1 var(--font-display), sans-serif;
  letter-spacing: .08em;
  white-space: nowrap;
}
.ticker i { font-style: normal; font-size: 8px; }

.section { padding: 110px 8vw; }
.section-heading { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 50px; margin-bottom: 58px; }
.section-heading.compact { grid-template-columns: 1fr auto; }
.section-heading h2, .process-section h2, .contact-section h2 { font-size: clamp(54px, 6vw, 92px); }
.section-heading > p, .process-copy > p:last-child { color: var(--steel); line-height: 1.8; font-size: 14px; max-width: 420px; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.expertise-grid article { min-height: 285px; padding: 28px; border-right: 1px solid var(--line); position: relative; }
.expertise-grid article:last-child { border-right: 0; }
.expertise-grid article > span { color: var(--yellow); font: 600 18px/1 var(--font-display), sans-serif; }
.expertise-grid h3 { margin: 58px 0 14px; font: 500 27px/1.05 var(--font-display), sans-serif; text-transform: uppercase; }
.expertise-grid p { color: var(--steel); font-size: 12px; line-height: 1.7; }
.expertise-grid b { position: absolute; bottom: 25px; right: 26px; font-weight: 400; }
.expertise-grid article:hover { background: var(--navy); color: white; }
.expertise-grid article:hover p { color: #9baab1; }

.work-section, .project-gallery { background: #e8e5dd; }
.outline-link { align-self: end; border-bottom: 1px solid var(--ink); padding: 10px 0; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: var(--white); }
.work-media { height: 340px; position: relative; overflow: hidden; background: #c9c7c0; }
.work-media img, .blog-thumb img { transition: transform .5s ease; }
.work-card:hover img, .blog-card:hover img { transform: scale(1.035); }
.work-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 8px 10px;
  color: white;
  background: rgba(7,24,35,.84);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.play-badge {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 12px;
}
.work-copy { padding: 26px; }
.work-copy h3, .blog-card h3 { margin: 8px 0 10px; font: 500 27px/1.1 var(--font-display), sans-serif; text-transform: uppercase; }
.work-copy > p:not(.eyebrow), .blog-card > p:last-child { color: var(--steel); font-size: 12px; line-height: 1.7; min-height: 42px; }
.text-link { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 20px; text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .1em; }

.process-section {
  padding: 105px 8vw;
  display: grid;
  grid-template-columns: 40% 60%;
  color: white;
  background: var(--navy);
}
.process-copy { padding-right: 7vw; }
.process-list { border-top: 1px solid rgba(255,255,255,.15); }
.process-list > div {
  min-height: 110px;
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.process-list span { color: var(--yellow); font: 500 18px/1 var(--font-display), sans-serif; }
.process-list h3 { font: 500 23px/1 var(--font-display), sans-serif; text-transform: uppercase; }
.process-list p { color: #94a3aa; font-size: 11px; line-height: 1.6; }

.blog-section { background: var(--paper); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { border-top: 3px solid var(--ink); padding-top: 18px; }
.blog-thumb { height: 230px; position: relative; overflow: hidden; margin-bottom: 20px; }
.contact-section {
  padding: 100px 8vw;
  display: grid;
  grid-template-columns: 58% 42%;
  background: var(--yellow);
  color: var(--navy);
}
.contact-section .eyebrow { color: var(--navy); }
.contact-copy > p { max-width: 480px; line-height: 1.7; }
.contact-section .button { background: var(--navy); color: white; margin: 16px 0 32px; }
.contact-copy address { font-style: normal; font-size: 11px; line-height: 1.7; }
footer {
  min-height: 150px;
  padding: 38px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background: #041017;
}
footer p, footer a { color: #829098; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
footer > div:last-child { display: flex; gap: 25px; }

/* Admin */
.admin-shell { min-height: 100vh; background: #e9e7e0; }
.admin-header {
  min-height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: white;
}
.admin-header > div { display: flex; align-items: center; gap: 18px; }
.admin-header h1 { font-size: 24px; letter-spacing: .02em; }
.admin-header p { margin: 4px 0 0; color: #8fa0a8; font-size: 10px; }
.admin-header nav { display: flex; gap: 12px; }
.admin-header a { padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); font-size: 10px; text-transform: uppercase; }
.admin-main { padding: 42px 4vw 80px; }
.admin-intro { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.admin-intro h2 { font-size: 52px; }
.admin-intro p { color: var(--steel); max-width: 540px; line-height: 1.6; }
.admin-grid { display: grid; grid-template-columns: minmax(330px, .75fr) 1.25fr; gap: 24px; align-items: start; }
.admin-panel { background: white; border: 1px solid var(--line); }
.panel-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.panel-head h3 { margin: 0; font: 500 22px/1 var(--font-display); text-transform: uppercase; }
.panel-head span { color: var(--steel); font-size: 10px; }
.content-form { padding: 22px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.content-form label { display: grid; gap: 7px; color: #4f6068; font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.content-form input, .content-form select, .content-form textarea {
  width: 100%;
  border: 1px solid #ccd1d2;
  background: #fafaf8;
  padding: 11px 12px;
  color: var(--ink);
  outline: none;
}
.content-form input:focus, .content-form select:focus, .content-form textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(230,182,74,.15); }
.content-form textarea { min-height: 90px; resize: vertical; }
.upload-box { border: 1px dashed #adb6b9; padding: 14px; background: #f5f4ef; }
.form-status { margin: 0; padding: 12px; font-size: 11px; background: #eef5ee; color: #2c6532; }
.form-status.error { background: #fbecec; color: #8c2525; }
.admin-list { padding: 0 20px; }
.admin-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.admin-thumb { width: 70px; height: 62px; position: relative; background: #ddd; }
.admin-item h4 { margin: 0 0 5px; font: 500 18px/1.1 var(--font-display); text-transform: uppercase; }
.admin-item p { margin: 0; color: var(--steel); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.status-dot { color: #47754a; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.delete-button { border: 0; background: transparent; color: #a34a45; cursor: pointer; font-size: 11px; padding: 8px; }

@media (max-width: 1050px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr 42%; }
  .hero-copy { padding-left: 5vw; }
  .section { padding-left: 5vw; padding-right: 5vw; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-grid article:nth-child(2) { border-right: 0; }
  .expertise-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work-media { height: 280px; }
}
@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 20px; }
  .header-cta { font-size: 0; }
  .header-cta span { font-size: 18px; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { min-height: 690px; padding: 75px 24px 45px; }
  h1 { font-size: clamp(67px, 22vw, 104px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { justify-content: space-between; }
  .hero-stats > div { min-width: 0; }
  .hero-visual { min-height: 520px; }
  .ticker { justify-content: flex-start; }
  .section { padding: 75px 22px; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .section-heading h2, .process-section h2, .contact-section h2 { font-size: 58px; }
  .expertise-grid, .work-grid, .blog-grid { grid-template-columns: 1fr; }
  .expertise-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .work-media { height: 360px; }
  .process-section, .contact-section { grid-template-columns: 1fr; padding: 75px 22px; gap: 55px; }
  .process-list > div { grid-template-columns: 45px 1fr; padding: 20px 0; }
  .process-list p { grid-column: 2; }
  footer { flex-direction: column; align-items: flex-start; gap: 25px; padding: 45px 22px; }
  .admin-header { padding: 16px 20px; align-items: flex-start; }
  .admin-header .brand-mark { display: none; }
  .admin-header nav { flex-direction: column; }
  .admin-main { padding: 30px 18px; }
  .admin-intro { display: block; }
  .admin-intro h2 { font-size: 42px; }
  .admin-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* Multi-page corporate site */
.topbar {
  min-height: 34px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d7e0e5;
  background: #061721;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.topbar > div { display: flex; gap: 28px; }
.topbar a:hover { color: #1593cf; }
.corporate-header {
  min-height: 106px;
  padding: 8px 5vw;
  display: grid;
  grid-template-columns: 285px 1fr auto;
  align-items: center;
  gap: 38px;
  background: white;
  border-bottom: 1px solid #dfe4e6;
  position: relative;
  z-index: 20;
}
.corporate-logo { width: 278px; height: 88px; display: block; overflow: hidden; }
.corporate-logo img { width: 100%; height: 100%; object-fit: contain; }
.corporate-header nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 34px); }
.corporate-header nav a {
  position: relative;
  padding: 41px 0;
  color: #263b45;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.corporate-header nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 24px;
  height: 2px;
  background: #118dcc;
  transition: right .25s ease;
}
.corporate-header nav a:hover { color: #118dcc; }
.corporate-header nav a:hover:after { right: 0; }
.quote-button {
  min-height: 45px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 30px;
  color: white;
  background: #0a87c5;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.quote-button:hover { background: var(--navy); }

.corporate-hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}
.corporate-hero-image, .corporate-hero-overlay { position: absolute; inset: 0; }
.corporate-hero-image img { object-position: center 50%; }
.corporate-hero-overlay { background: linear-gradient(90deg, rgba(4,20,29,.95) 0%, rgba(4,20,29,.82) 46%, rgba(4,20,29,.18) 80%); }
.corporate-hero-copy { width: min(760px, 58vw); margin-left: 8vw; position: relative; z-index: 2; }
.corporate-hero-copy h1 { margin: 15px 0 28px; font-size: clamp(56px, 6.2vw, 103px); }
.corporate-hero-copy h1 em { display: inline-block; color: #25a3df; font-style: normal; }
.corporate-hero-copy > p:not(.eyebrow) { max-width: 660px; color: #c1ccd1; font-size: 16px; line-height: 1.8; }
.corporate-hero-copy > div { margin-top: 32px; display: flex; gap: 12px; }
.button.light { color: white; border-color: rgba(255,255,255,.55); }
.hero-facts {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 0;
  display: flex;
  background: white;
  color: var(--ink);
}
.hero-facts div { width: 145px; padding: 24px 26px; border-right: 1px solid #e1e5e6; display: flex; flex-direction: column; }
.hero-facts b { font: 600 27px/1 var(--font-display); color: #118dcc; }
.hero-facts span { margin-top: 7px; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }

.home-about {
  padding: 115px 8vw;
  display: grid;
  grid-template-columns: 48% 1fr;
  gap: 8vw;
  align-items: center;
  background: white;
}
.home-about-media { min-height: 550px; position: relative; }
.home-about-media > span {
  position: absolute;
  right: -38px;
  bottom: 40px;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  color: white;
  background: #0e91d0;
  font: 600 48px/1 var(--font-display);
}
.home-about-media small { margin-top: 8px; font: 800 8px/1.3 var(--font-body); letter-spacing: .12em; }
.home-about-copy h2, .home-section-head h2, .detail-description h2, .corporate-page h2, .contact-page h2 {
  margin: 12px 0 28px;
  font-size: clamp(50px, 5vw, 78px);
}
.home-about-copy > p:not(.eyebrow) { color: #64757d; font-size: 13px; line-height: 1.9; }
.line-link {
  margin-top: 20px;
  padding: 12px 0;
  display: inline-flex;
  gap: 35px;
  border-bottom: 2px solid #0e91d0;
  color: #112a36;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.home-services, .home-products, .home-projects, .related-products { padding: 105px 8vw; }
.home-services { background: #f1f3f2; }
.home-products, .related-products { background: white; }
.home-section-head {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.home-section-head > p { width: 380px; color: #60727b; font-size: 13px; line-height: 1.8; }
.home-section-head .line-link { margin: 0; }
.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-cards article {
  min-height: 310px;
  padding: 30px;
  border: 1px solid #d6dcde;
  border-right: 0;
  background: white;
  display: flex;
  flex-direction: column;
}
.service-cards article:last-child { border-right: 1px solid #d6dcde; }
.service-cards span { color: #0e91d0; font: 600 17px/1 var(--font-display); }
.service-cards h3 { margin: 55px 0 15px; font: 500 28px/1.1 var(--font-display); text-transform: uppercase; }
.service-cards p { color: #6a7b82; font-size: 11px; line-height: 1.8; }
.service-cards a { margin-top: auto; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.service-cards article:hover { color: white; background: #09212d; }
.service-cards article:hover p { color: #9babb2; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.product-card { border: 1px solid #e0e4e5; background: white; }
.product-image { height: 330px; display: block; position: relative; overflow: hidden; background: #e4e6e5; }
.product-image img { transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-image > span {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 10px;
  color: white;
  background: rgba(5,26,37,.9);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.product-card-copy { padding: 23px; }
.product-card-copy > p:first-child { margin: 0; color: #0e91d0; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.product-card-copy h3 { margin: 9px 0 11px; font: 500 25px/1.1 var(--font-display); text-transform: uppercase; }
.product-card-copy > p:nth-of-type(2) { min-height: 58px; color: #6a7a82; font-size: 11px; line-height: 1.75; }
.product-link { margin-top: 18px; padding-top: 15px; display: flex; justify-content: space-between; border-top: 1px solid #e0e4e5; font-size: 9px; font-weight: 800; text-transform: uppercase; }

.home-projects { color: white; background: #061b26; }
.home-section-head.inverted .line-link { color: white; }
.project-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-strip article > div { height: 310px; position: relative; margin-bottom: 20px; overflow: hidden; }
.project-strip article > div img { transition: transform .4s; }
.project-strip article:hover img { transform: scale(1.035); }
.project-strip article > span { color: #159bd9; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.project-strip h3 { margin: 8px 0; font: 500 25px/1.1 var(--font-display); text-transform: uppercase; }
.home-cta { padding: 70px 8vw; display: flex; align-items: center; justify-content: space-between; color: white; background: #0e91d0; }
.home-cta h2 { margin: 8px 0 0; font: 500 clamp(38px, 4vw, 60px)/.95 var(--font-display); text-transform: uppercase; }
.home-cta .eyebrow { color: #d9f2ff; }
.button.dark { min-width: 230px; color: white; background: #061b26; }

.corporate-footer {
  min-height: 0;
  padding: 0;
  display: block;
  color: #c5cfd3;
  background: #04151e;
}
.footer-main {
  padding: 70px 8vw 55px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 6vw;
}
.footer-company { max-width: 390px; }
.footer-logo { width: 270px; height: 110px; padding: 8px; background: white; overflow: hidden; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.corporate-footer h3 { margin: 0 0 24px; color: white; font: 500 18px/1 var(--font-display); text-transform: uppercase; }
.corporate-footer p, .corporate-footer a {
  display: block;
  color: #8fa0a8;
  font-size: 10px;
  line-height: 1.9;
  text-transform: none;
  letter-spacing: 0;
}
.corporate-footer a { margin-bottom: 9px; }
.corporate-footer a:hover { color: #21a5e2; }
.footer-bottom {
  min-height: 70px;
  padding: 0 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom > div { display: flex; gap: 24px; }

.page-hero {
  min-height: 320px;
  padding: 70px 8vw 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: white;
  background: radial-gradient(circle at 80% 40%, #12394a 0, transparent 35%), #061b26;
}
.page-hero h1 { margin: 12px 0; font-size: clamp(62px, 7vw, 100px); }
.page-hero > div:first-child > p:last-child { max-width: 650px; color: #9fb0b8; line-height: 1.7; }
.breadcrumb { display: flex; gap: 10px; color: #879aa3; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb b { color: #20a3df; }

.listing-layout { padding: 80px 6vw 110px; display: grid; grid-template-columns: 245px 1fr; gap: 45px; background: #f4f5f3; }
.filter-panel { padding: 26px; align-self: start; background: white; border: 1px solid #dde2e3; }
.filter-panel h3 { margin: 0 0 20px; font: 500 23px/1 var(--font-display); text-transform: uppercase; }
.filter-panel h4 { margin: 28px 0 9px; padding-bottom: 8px; border-bottom: 1px solid #dfe3e4; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.filter-panel a { padding: 8px 0; display: block; color: #65757c; font-size: 11px; }
.filter-panel a:hover, .filter-panel a.active { color: #0e91d0; font-weight: 800; }
.listing-bar { min-height: 48px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #d4dadc; }
.listing-bar p, .listing-bar a { font-size: 10px; color: #66777e; }
.listing-content .product-grid { grid-template-columns: repeat(3, 1fr); }
.listing-content .product-image { height: 260px; }

.detail-breadcrumb { padding: 20px 7vw; display: flex; gap: 9px; background: #f3f4f2; color: #7b898f; font-size: 9px; text-transform: uppercase; }
.detail-breadcrumb b { color: #0e91d0; }
.product-detail { padding: 65px 7vw 95px; display: grid; grid-template-columns: 56% 1fr; gap: 6vw; background: white; }
.detail-main-image { min-height: 600px; position: relative; background: #e8eae8; }
.detail-thumbs { margin-top: 14px; display: flex; gap: 12px; }
.detail-thumbs > div { width: 120px; height: 100px; position: relative; border: 1px solid #d5dbdc; }
.detail-copy { padding-top: 20px; }
.detail-copy h1 { margin: 12px 0 20px; color: #092331; font-size: clamp(52px, 5vw, 82px); }
.detail-brand { padding-bottom: 18px; border-bottom: 1px solid #dfe4e5; font-size: 11px; color: #65767e; }
.detail-summary { margin: 25px 0; color: #61727a; font-size: 14px; line-height: 1.8; }
.detail-specs { margin: 25px 0 30px; border-top: 1px solid #dce1e2; }
.detail-specs > div { padding: 14px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #dce1e2; }
.detail-specs span { color: #708088; font-size: 9px; text-transform: uppercase; }
.detail-specs b { font-size: 10px; text-transform: uppercase; }
.detail-note { color: #879399; font-size: 9px; }
.detail-description { padding: 90px 10vw; display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; background: #f0f2f1; }
.detail-description > div:last-child { color: #61727a; font-size: 13px; line-height: 1.9; }
.detail-description ul { padding: 0; list-style: none; }
.detail-description li { padding: 11px 0 11px 25px; border-bottom: 1px solid #d9dfe0; position: relative; }
.detail-description li:before { content: "✓"; position: absolute; left: 0; color: #0e91d0; font-weight: 800; }

.taxonomy-grid { padding: 80px 8vw 110px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; background: #f2f4f2; }
.taxonomy-grid > a { min-height: 260px; padding: 32px; position: relative; border: 1px solid #dbe0e1; background: white; }
.taxonomy-grid span { color: #0e91d0; font: 600 18px/1 var(--font-display); }
.taxonomy-grid h2, .brand-grid h2 { margin: 42px 0 12px; font: 500 35px/1 var(--font-display); text-transform: uppercase; }
.taxonomy-grid p { width: 75%; color: #687981; font-size: 11px; line-height: 1.8; }
.taxonomy-grid b { position: absolute; left: 32px; bottom: 28px; font-size: 9px; text-transform: uppercase; }
.taxonomy-grid i { position: absolute; right: 30px; bottom: 26px; color: #0e91d0; font-size: 23px; font-style: normal; }
.taxonomy-grid > a:hover { color: white; background: #08222f; }
.taxonomy-grid > a:hover p { color: #9dabb2; }
.brand-grid { padding: 85px 8vw 120px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; background: white; }
.brand-grid > a { min-height: 220px; padding: 32px; display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: center; border: 1px solid #dae0e1; }
.brand-letter { width: 100px; height: 100px; display: grid; place-items: center; color: white; background: #0e91d0; font: 600 40px/1 var(--font-display); }
.brand-grid h2 { margin: 0 0 10px; }
.brand-grid p { color: #6e7e85; font-size: 11px; line-height: 1.7; }
.brand-grid span { color: #0e91d0; font-size: 9px; font-weight: 800; text-transform: uppercase; }

.projects-page-grid { padding: 80px 7vw 120px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 28px; background: #f3f4f2; }
.projects-page-grid article.featured { grid-column: 1 / -1; }
.projects-page-grid article > div { height: 410px; position: relative; margin-bottom: 23px; overflow: hidden; }
.projects-page-grid article.featured > div { height: 620px; }
.projects-page-grid h2 { margin: 8px 0; font: 500 31px/1.1 var(--font-display); text-transform: uppercase; }
.projects-page-grid article > p:not(.eyebrow) { color: #64757d; font-size: 11px; line-height: 1.7; }
.projects-page-grid article > span { color: #0e91d0; font-size: 8px; font-weight: 800; text-transform: uppercase; }

.corporate-page { padding: 95px 8vw 120px; display: grid; grid-template-columns: 48% 1fr; gap: 7vw; align-items: center; background: white; }
.corporate-page-image { min-height: 620px; position: relative; }
.corporate-page > div:last-child > p:not(.eyebrow) { color: #62737b; font-size: 13px; line-height: 1.9; }
.values-row { margin-top: 35px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dce2e3; }
.values-row div { padding: 20px 15px 0 0; display: flex; flex-direction: column; }
.values-row b { color: #0e91d0; font: 500 19px/1 var(--font-display); text-transform: uppercase; }
.values-row span { margin-top: 8px; color: #77868c; font-size: 9px; line-height: 1.5; }
.contact-page { padding: 90px 8vw 120px; display: grid; grid-template-columns: 40% 1fr; gap: 8vw; background: #f1f3f2; }
.contact-page address { margin: 30px 0; color: #61737b; font-style: normal; line-height: 1.9; }
.contact-page > div > a { display: block; margin: 10px 0; color: #0e91d0; font-weight: 800; font-size: 11px; }
.contact-form { padding: 34px; display: grid; gap: 16px; background: white; border: 1px solid #dce1e2; }
.contact-form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 7px; color: #50636c; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 12px; border: 1px solid #cdd5d7; background: #fafbfa; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #0e91d0; }

.admin-taxonomy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.taxonomy-form { padding: 18px; display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 8px; border-bottom: 1px solid var(--line); }
.taxonomy-form input { min-width: 0; padding: 10px; border: 1px solid #ccd1d2; }
.taxonomy-form button { padding: 0 15px; border: 0; color: white; background: #0e91d0; cursor: pointer; }
.taxonomy-list { padding: 0 18px; }
.taxonomy-list > div { padding: 14px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.taxonomy-list span { display: flex; flex-direction: column; }
.taxonomy-list small { margin-top: 4px; color: #78868c; font-size: 9px; }
.taxonomy-list button { border: 0; color: #a34a45; background: none; cursor: pointer; }
.taxonomy-list em { color: #89969b; font-size: 8px; font-style: normal; text-transform: uppercase; }

@media (max-width: 1180px) {
  .corporate-header { grid-template-columns: 240px 1fr auto; gap: 18px; }
  .corporate-logo { width: 230px; }
  .corporate-header nav { gap: 16px; }
  .corporate-header nav a { font-size: 9px; }
  .listing-content .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .corporate-header { min-height: auto; grid-template-columns: 1fr auto; padding: 10px 20px; }
  .corporate-logo { width: 210px; height: 75px; }
  .corporate-header nav { grid-column: 1 / -1; order: 3; padding: 10px 0 4px; justify-content: flex-start; gap: 20px; overflow-x: auto; }
  .corporate-header nav a { padding: 8px 0; white-space: nowrap; }
  .corporate-header nav a:after { bottom: 0; }
  .corporate-hero { min-height: 650px; }
  .corporate-hero-copy { width: auto; margin: 0 25px; }
  .hero-facts { right: 0; }
  .home-about, .corporate-page { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .project-strip { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-panel { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .filter-panel h3 { width: 100%; }
  .filter-panel h4 { width: 100%; }
  .filter-panel a { padding: 3px 0; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-description, .contact-page { grid-template-columns: 1fr; }
  .admin-taxonomy { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .quote-button { padding: 0 12px; gap: 8px; font-size: 8px; }
  .corporate-logo { width: 175px; height: 68px; }
  .corporate-hero { min-height: 700px; align-items: flex-start; padding-top: 85px; }
  .corporate-hero-copy h1 { font-size: 55px; }
  .corporate-hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .corporate-hero-copy > div { flex-direction: column; }
  .hero-facts { left: 0; right: 0; }
  .hero-facts div { width: 33.333%; padding: 18px; }
  .home-about, .home-services, .home-products, .home-projects, .related-products { padding: 70px 20px; }
  .home-about-media { min-height: 430px; }
  .home-about-media > span { right: 0; width: 120px; height: 120px; font-size: 38px; }
  .home-section-head { grid-template-columns: 1fr; align-items: start; }
  .home-section-head > p { width: auto; }
  .service-cards, .product-grid, .listing-content .product-grid { grid-template-columns: 1fr; }
  .service-cards article { border-right: 1px solid #d6dcde; border-bottom: 0; }
  .service-cards article:last-child { border-bottom: 1px solid #d6dcde; }
  .home-cta { padding: 55px 22px; align-items: flex-start; flex-direction: column; gap: 30px; }
  .footer-main { padding: 55px 22px; grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 1 / -1; }
  .footer-bottom { padding: 20px 22px; align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: 330px; padding: 65px 22px 40px; display: block; }
  .breadcrumb { margin-top: 30px; }
  .listing-layout { padding: 55px 20px 80px; }
  .product-image { height: 320px; }
  .detail-breadcrumb { padding: 15px 20px; overflow-x: auto; white-space: nowrap; }
  .product-detail { padding: 35px 20px 70px; }
  .detail-main-image { min-height: 430px; }
  .detail-description { padding: 70px 22px; }
  .taxonomy-grid, .brand-grid { padding: 55px 20px 80px; grid-template-columns: 1fr; }
  .brand-grid > a { grid-template-columns: 80px 1fr; padding: 22px; }
  .brand-letter { width: 75px; height: 75px; font-size: 30px; }
  .projects-page-grid { padding: 55px 20px 80px; grid-template-columns: 1fr; }
  .projects-page-grid article.featured { grid-column: auto; }
  .projects-page-grid article > div, .projects-page-grid article.featured > div { height: 390px; }
  .corporate-page { padding: 65px 20px 80px; }
  .corporate-page-image { min-height: 450px; }
  .values-row { grid-template-columns: 1fr; }
  .contact-page { padding: 65px 20px 80px; }
  .contact-form > div { grid-template-columns: 1fr; }
  .taxonomy-form { grid-template-columns: 1fr; }
  .taxonomy-form button { min-height: 40px; }
}

/* cPanel v2: mobile navigation, managed slider and media galleries */
.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 11px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: #0e91d0;
  cursor: pointer;
}
.menu-toggle span { width: 100%; height: 2px; display: block; background: #fff; transition: .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.corporate-slider { position: relative; overflow: hidden; background: #061923; }
.hero-slide { display: none; }
.hero-slide.is-active { display: flex; animation: sliderFade .55s ease both; }
@keyframes sliderFade { from { opacity: .35; } to { opacity: 1; } }
.slider-arrow {
  width: 48px;
  height: 58px;
  position: absolute;
  z-index: 5;
  top: 48%;
  border: 1px solid rgba(255,255,255,.45);
  color: white;
  background: rgba(4,22,31,.5);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; z-index: 6; left: 50%; bottom: 22px; display: flex; gap: 8px; transform: translateX(-50%); }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid white; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.is-active { background: #20a3df; border-color: #20a3df; }

.detail-thumbs { flex-wrap: wrap; }
.detail-thumbs > .gallery-thumb {
  width: 120px;
  height: 100px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background: #e8eae8;
  cursor: pointer;
}
.detail-thumbs > .gallery-thumb.is-active { border-color: #0e91d0; }
.detail-thumbs > .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.content-video-section { padding: 80px 7vw 95px; background: #071d29; color: white; }
.content-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.content-video-grid video,
.content-video-grid iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; background: #020b10; }
.external-video-card { min-height: 180px; padding: 30px; display: flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid #32505e; background: #0b2937; color: white; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.external-video-card span { color: #20a3df; font-size: 24px; }

.projects-page-grid article > .project-gallery { height: auto; overflow: visible; }
.projects-page-grid article.featured > .project-gallery { height: auto; }
.project-gallery > .project-main-image { width: 100%; height: 410px; display: block; object-fit: cover; }
.projects-page-grid article.featured .project-main-image { height: 620px; }
.project-thumbs { height: auto !important; margin: 10px 0 0 !important; display: flex; gap: 8px; overflow-x: auto !important; }
.project-thumbs button { width: 90px; height: 70px; padding: 0; flex: 0 0 auto; border: 2px solid transparent; background: none; cursor: pointer; }
.project-thumbs button.is-active { border-color: #0e91d0; }
.project-thumbs img { width: 100% !important; height: 100% !important; position: static !important; object-fit: cover; }
.projects-page-grid article > .project-videos { height: auto; margin: 25px 0 0; overflow: visible; }
.project-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .corporate-header { position: relative; grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: flex; order: 2; }
  .corporate-header .quote-button { order: 3; }
  .corporate-header nav {
    width: 100%;
    max-height: 0;
    padding: 0 22px;
    display: flex;
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    grid-column: auto;
    order: initial;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border-top: 1px solid #dce2e3;
    box-shadow: 0 18px 28px rgba(5,25,35,.14);
    transition: max-height .3s ease, opacity .2s ease, visibility .2s;
  }
  .corporate-header nav.is-open { max-height: 520px; padding-top: 12px; padding-bottom: 16px; visibility: visible; opacity: 1; }
  .corporate-header nav a { padding: 14px 4px; border-bottom: 1px solid #e4e8e9; }
  .corporate-header nav a:after { display: none; }
}

@media (max-width: 600px) {
  .corporate-header { grid-template-columns: 1fr auto; }
  .corporate-header .quote-button { display: none; }
  .corporate-hero-copy { margin: 0 48px 0 25px; }
  .slider-arrow { width: 35px; height: 46px; font-size: 27px; }
  .slider-prev { left: 4px; }
  .slider-next { right: 4px; }
  .content-video-section { padding: 60px 20px; }
  .content-video-grid, .project-videos { grid-template-columns: 1fr; }
  .project-gallery > .project-main-image,
  .projects-page-grid article.featured .project-main-image { height: 390px; }
}

/* cPanel v3: compact modern visual system and editable admin records */
.corporate-hero-copy h1 { font-size: clamp(42px, 5vw, 74px); line-height: .98; letter-spacing: -.025em; }
.home-about-copy h2,
.home-section-head h2,
.detail-description h2,
.corporate-page h2,
.contact-page h2 { font-size: clamp(36px, 3.8vw, 58px); line-height: 1; letter-spacing: -.02em; }
.page-hero h1 { font-size: clamp(42px, 5.5vw, 76px); letter-spacing: -.025em; }
.detail-copy h1 { font-size: clamp(38px, 4vw, 62px); line-height: 1; letter-spacing: -.02em; }
.home-cta h2 { font-size: clamp(32px, 3.5vw, 52px); line-height: 1; }
.admin-intro h2 { font-size: clamp(34px, 4vw, 46px); }

.home-about { padding-top: 90px; padding-bottom: 90px; gap: 6vw; }
.home-about-media {
  min-height: 0;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 4 / 3;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #dce4e6;
  border-radius: 20px;
  background: linear-gradient(145deg, #eef3f4, #fff);
  box-shadow: 0 24px 65px rgba(7,31,43,.12);
}
.home-about-media > img { width: 100%; height: 100%; margin: 0; border-radius: 13px; object-fit: cover; }
.home-about-media > span { right: 28px; bottom: 28px; border-radius: 14px; box-shadow: 0 15px 34px rgba(10,110,157,.3); }

.button, .quote-button { border-radius: 8px; }
.service-cards { gap: 16px; }
.service-cards article {
  min-height: 285px;
  border: 1px solid #dce3e5;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(8,34,46,.05);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.service-cards article:last-child { border-right: 1px solid #dce3e5; }
.service-cards article:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(5,25,35,.16); }
.service-cards h3 { margin-top: 42px; font-size: 24px; }
.product-card { overflow: hidden; border-radius: 14px; box-shadow: 0 8px 30px rgba(8,34,46,.06); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(8,34,46,.13); }
.product-card-copy h3, .project-strip h3 { font-size: 22px; }
.project-strip article > div { border-radius: 14px; }
.taxonomy-grid > a, .brand-grid > a, .filter-panel, .contact-form { border-radius: 14px; box-shadow: 0 8px 28px rgba(8,34,46,.05); }
.detail-main-image, .project-gallery > .project-main-image { overflow: hidden; border-radius: 16px; }

.admin-panel { overflow: hidden; border-radius: 12px; box-shadow: 0 8px 28px rgba(8,34,46,.06); }
.admin-edit-panel { margin-bottom: 26px; border: 2px solid #169bd9; }
.admin-cancel-link { color: #697a82; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.admin-item-actions { display: flex; align-items: center; gap: 5px; }
.admin-item-actions > a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #087db5;
  background: #e9f6fc;
  font-size: 10px;
  font-weight: 800;
}
.admin-item-actions form { margin: 0; }
.existing-media, .existing-videos { padding: 16px; border: 1px solid #d9e1e3; border-radius: 10px; background: #f6f8f8; }
.existing-media > b, .existing-videos > b { margin-bottom: 12px; display: block; color: #263d47; font-size: 10px; }
.existing-media > div { display: flex; flex-wrap: wrap; gap: 10px; }
.existing-media label { width: 120px; padding: 7px; border: 1px solid #dbe2e4; border-radius: 8px; background: white; }
.existing-media img { width: 100%; height: 78px; display: block; border-radius: 5px; object-fit: cover; }
.existing-videos { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.existing-videos > b { width: 100%; }
.upload-box small { color: #71828a; font-size: 8px; text-transform: none; }

@media (max-width: 900px) {
  .home-about-media { max-width: 680px; margin: 0 auto; aspect-ratio: 16 / 10; }
  .service-cards { gap: 12px; }
}
@media (max-width: 600px) {
  .corporate-hero-copy h1 { font-size: clamp(38px, 12vw, 52px); }
  .home-about-copy h2, .home-section-head h2, .detail-description h2, .corporate-page h2, .contact-page h2 { font-size: 38px; }
  .page-hero h1 { font-size: 46px; }
  .home-about-media { min-height: 0; aspect-ratio: 4 / 3; padding: 9px; border-radius: 15px; }
  .home-about-media > span { right: 18px; bottom: 18px; }
  .admin-item { grid-template-columns: 58px 1fr; }
  .admin-thumb { width: 58px; height: 54px; }
  .admin-item-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* cPanel v4: contact, WhatsApp and direct web enquiry */
.header-actions { display: flex; align-items: stretch; gap: 8px; }
.header-whatsapp {
  min-height: 45px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #22a968;
  border-radius: 8px;
  color: #147747;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.header-whatsapp:hover { color: white; background: #1fa765; }
.topbar > div { display: flex; gap: 18px; align-items: center; }

.contact-page-modern { align-items: start; }
.contact-details { position: sticky; top: 30px; }
.contact-methods { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-page .contact-method {
  min-height: 112px;
  margin: 0;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #dce4e6;
  border-radius: 12px;
  color: #12303e;
  background: white;
  box-shadow: 0 8px 24px rgba(8,34,46,.05);
}
.contact-page .contact-method.whatsapp { border-color: #bde7cf; background: #f0fbf5; }
.contact-method span { margin-bottom: 7px; color: #708189; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-method b { font-size: 15px; line-height: 1.35; }
.contact-method small { margin-top: 7px; color: #1d925d; font-size: 8px; line-height: 1.5; }
.contact-form { border-radius: 18px; box-shadow: 0 24px 65px rgba(7,31,43,.1); }
.contact-form-heading { margin-bottom: 5px; }
.contact-form-heading h3 { margin: 8px 0; font: 500 29px/1.1 var(--font-display); text-transform: uppercase; }
.contact-form-heading > p:last-child { margin: 0; color: #6d7e85; font-size: 10px; line-height: 1.6; }
.contact-alert { padding: 14px 16px; border-radius: 8px; font-size: 11px; line-height: 1.55; }
.contact-alert.success { color: #23623f; background: #e7f7ee; border: 1px solid #bde4cc; }
.contact-alert.error { color: #872c2c; background: #fcecec; border: 1px solid #efc5c5; }
.contact-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-source-note { color: #718189; font-size: 8px; line-height: 1.5; }
.contact-map-section {
  padding: 80px 8vw 100px;
  display: grid;
  grid-template-columns: minmax(240px, .55fr) 1.45fr;
  gap: 5vw;
  align-items: center;
  background: white;
}
.contact-map-section h2 { margin: 10px 0 18px; font-size: clamp(36px, 3.8vw, 58px); line-height: 1; }
.contact-map-section > div:first-child > p:last-child { color: #65767e; font-size: 12px; line-height: 1.8; }
.contact-map { min-height: 470px; padding: 10px; border: 1px solid #dce4e6; border-radius: 18px; background: #eef3f4; box-shadow: 0 22px 60px rgba(7,31,43,.1); }
.contact-map iframe { width: 100%; height: 450px; display: block; border: 0; border-radius: 12px; }

@media (max-width: 1180px) {
  .header-whatsapp { display: none; }
}
@media (max-width: 900px) {
  .header-actions { order: 3; }
  .contact-details { position: static; }
  .contact-map-section { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .corporate-header .header-actions { display: none; }
  .contact-methods { grid-template-columns: 1fr; }
  .contact-page .contact-method { min-height: 90px; }
  .contact-map-section { padding: 60px 20px 75px; }
  .contact-map { min-height: 360px; padding: 7px; }
  .contact-map iframe { height: 345px; }
}

/* cPanel v5: floating WhatsApp, sidebar admin and business documents */
.floating-whatsapp {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  min-height: 54px;
  padding: 7px 17px 7px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  color: white;
  background: #1fa765;
  box-shadow: 0 14px 34px rgba(21,126,75,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(21,126,75,.45); }
.floating-whatsapp span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 11px; font-weight: 900; }
.floating-whatsapp b { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.map-empty { min-height: 450px; display: grid; place-items: center; color: #657880; font-size: 12px; }

.admin-shell-sidebar { min-height: 100vh; display: flex; background: #eef2f4; }
.admin-sidebar {
  width: 255px;
  min-height: 100vh;
  padding: 20px 14px;
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  color: #d7e3e8;
  background: #071d29;
  box-shadow: 12px 0 35px rgba(4,22,31,.12);
}
.admin-sidebar-logo { height: 92px; margin: 0 6px 24px; padding: 8px; overflow: hidden; border-radius: 12px; background: white; }
.admin-sidebar-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav a { min-height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 12px; border-radius: 9px; color: #a9bbc3; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.admin-sidebar nav a span { width: 24px; color: #32aee5; font-size: 17px; text-align: center; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: white; background: #113343; }
.admin-sidebar nav a.active { box-shadow: inset 3px 0 #24a7df; }
.admin-sidebar-bottom { margin-top: auto; display: grid; gap: 6px; }
.admin-sidebar-bottom a { padding: 11px 13px; border: 1px solid #294653; border-radius: 8px; color: #91a8b2; font-size: 9px; text-transform: uppercase; }
.admin-workspace { width: calc(100% - 255px); min-height: 100vh; margin-left: 255px; }
.admin-topbar { min-height: 72px; padding: 0 3vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce4e7; background: white; }
.admin-topbar > div { display: flex; align-items: center; gap: 12px; }
.admin-topbar b, .admin-topbar small { display: block; }
.admin-topbar b { color: #102d3a; font-size: 15px; }
.admin-topbar small { margin-top: 4px; color: #7b8c93; font-size: 9px; }
.admin-topbar > a { padding: 10px 13px; border: 1px solid #d7e2e6; border-radius: 8px; color: #147ea9; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-menu-button { display: none; border: 0; background: none; font-size: 22px; cursor: pointer; }
.admin-section-main { max-width: 1500px; margin: 0 auto; padding: 38px 3vw 80px; }
.admin-section-title { margin-bottom: 28px; display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.admin-section-title h1 { margin: 6px 0 0; color: #0b2734; font: 550 clamp(34px,4vw,52px)/1 var(--font-display); }
.admin-section-title > p { max-width: 560px; margin: 0; color: #687b83; font-size: 11px; line-height: 1.7; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.admin-stat-grid a { min-height: 150px; padding: 22px; display: flex; flex-direction: column; border: 1px solid #dce5e8; border-radius: 14px; background: white; box-shadow: 0 8px 26px rgba(8,34,46,.05); }
.admin-stat-grid span { color: #6f8188; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-stat-grid b { margin: 16px 0; color: #0c8bc5; font: 600 42px/1 var(--font-display); }
.admin-stat-grid small { margin-top: auto; color: #28434e; font-size: 9px; }
.admin-quick-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.admin-quick-grid a { padding: 24px; display: flex; flex-direction: column; gap: 9px; border-radius: 14px; color: white; background: #092532; }
.admin-quick-grid b { font-size: 13px; }.admin-quick-grid span { color: #9fb1b9; font-size: 10px; line-height: 1.6; }
.admin-two-column { display: grid; grid-template-columns: minmax(330px,.72fr) 1.28fr; gap: 22px; align-items: start; }
.admin-form-panel { max-width: 1050px; }
.admin-form-panel .content-form { padding: 30px; }
.admin-panel + .admin-panel { margin-top: 22px; }
.admin-two-column > .admin-panel + .admin-panel { margin-top: 0; }
.content-form small { color: #71828a; font-size: 8px; line-height: 1.5; text-transform: none; }
.company-list { padding: 5px 20px; }
.company-list article { padding: 16px 0; display: flex; justify-content: space-between; gap: 15px; align-items: center; border-bottom: 1px solid #e2e7e9; }
.company-list article > div:first-child { display: flex; flex-direction: column; gap: 5px; }
.company-list b { color: #17323e; font-size: 13px; }.company-list span { color: #71838a; font-size: 9px; }
.company-filter { margin-bottom: 20px; padding: 10px; display: flex; gap: 8px; overflow-x: auto; border: 1px solid #dce5e8; border-radius: 12px; background: white; }
.company-filter a { padding: 10px 14px; flex: 0 0 auto; border-radius: 7px; color: #61757e; background: #eef3f5; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.company-filter a.active { color: white; background: #0c8bc5; }
.status-filter { margin: -10px 0 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.status-filter a { padding: 7px 11px; border: 1px solid #d8e2e5; border-radius: 18px; color: #687b83; background: white; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.status-filter a.active { color: white; border-color: #0b7650; background: #0b7650; }
.document-create-panel { margin-bottom: 22px; }
.document-items-editor { margin-top: 12px; display: grid; gap: 12px; }
.document-item-head { display: flex; justify-content: space-between; align-items: center; }
.document-item-head b { color: #173541; font-size: 13px; }.document-item-head span { color: #71838a; font-size: 9px; }
.document-items-editor fieldset { padding: 15px; border: 1px solid #dce4e7; border-radius: 10px; background: #f8fafb; }
.document-items-editor legend { padding: 0 8px; color: #178dbb; font-size: 9px; font-weight: 800; }
.document-item-grid { display: grid; grid-template-columns: 2fr .6fr .6fr .8fr 2fr 1fr; gap: 10px; align-items: end; }
.document-item-grid textarea { min-height: 44px; }
.document-list { padding: 5px 20px; }
.document-list article { min-height: 82px; padding: 14px 0; display: grid; grid-template-columns: 65px 1fr auto 130px auto; gap: 14px; align-items: center; border-bottom: 1px solid #e1e7e9; }
.document-type { padding: 8px; border-radius: 6px; color: #0b7fab; background: #e5f5fb; font-size: 8px; font-weight: 900; text-align: center; }
.document-list h4 { margin: 0 0 5px; font-size: 13px; }.document-list p { margin: 0; color: #74858c; font-size: 9px; }
.document-total { color: #0a6b49; font-size: 12px; white-space: nowrap; }
.document-status-form select { width: 100%; padding: 8px; border: 1px solid #d7e1e4; border-radius: 7px; background: white; font-size: 9px; }
.admin-empty { padding: 35px; color: #71828a; font-size: 11px; text-align: center; }.admin-empty a { color: #0c8bc5; font-weight: 800; }

.document-view { min-height: 100vh; padding: 35px; background: #dfe5e8; }
.document-toolbar { max-width: 1050px; margin: 0 auto 15px; display: flex; justify-content: space-between; }
.document-toolbar a, .document-toolbar button { padding: 11px 16px; border: 0; border-radius: 8px; color: white; background: #0a2b39; font-size: 10px; font-weight: 800; cursor: pointer; }
.print-document { width: min(1050px,100%); margin: 0 auto; padding: 55px; color: #17313c; background: white; box-shadow: 0 25px 70px rgba(5,24,33,.18); }
.print-header { padding-bottom: 28px; display: flex; justify-content: space-between; gap: 30px; border-bottom: 3px solid #159bd9; }
.print-header img { width: 310px; height: 120px; object-fit: contain; }
.print-header > div { text-align: right; }.print-header span,.print-parties small,.print-title small,.print-notes small { color: #168fc4; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.print-header h1 { margin: 8px 0; font-size: 28px; }.print-header p { margin: 0; color: #71838a; font-size: 10px; }
.print-parties { padding: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-bottom: 1px solid #dce3e5; }
.print-parties h2 { margin: 8px 0; font-size: 18px; }.print-parties p { margin: 6px 0; color: #65777f; font-size: 10px; line-height: 1.65; }
.print-title { padding: 25px 0; display: flex; justify-content: space-between; align-items: center; }.print-title h2 { margin: 7px 0 0; font-size: 23px; }
.print-status { padding: 9px 13px; border-radius: 20px; color: #0e8055; background: #e6f7ee; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.print-items article { padding: 15px 0; display: grid; grid-template-columns: 120px 1fr 190px; gap: 18px; align-items: center; border-bottom: 1px solid #e0e6e8; break-inside: avoid; }
.print-items article:not(:has(img)) { grid-template-columns: 1fr 190px; }
.print-items article > img { width: 120px; height: 85px; border-radius: 7px; object-fit: cover; }
.print-item-copy { display: flex; gap: 12px; }.print-item-copy > span { color: #159bd9; font-size: 10px; font-weight: 900; }
.print-item-copy h3 { margin: 0 0 6px; font-size: 14px; }.print-item-copy p { margin: 0; color: #687a82; font-size: 9px; line-height: 1.6; }
.print-item-price { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; text-align: right; }.print-item-price span { grid-column: 1/-1; color: #71838a; font-size: 8px; }.print-item-price b { font-size: 9px; }.print-item-price strong { color: #0b7650; font-size: 10px; }
.print-totals { width: 380px; margin: 30px 0 30px auto; }.print-totals div { padding: 10px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #e0e5e7; font-size: 10px; }.print-totals .grand-total { padding: 15px; color: white; background: #0b2b38; font-size: 14px; }
.print-notes { padding: 20px; border-radius: 8px; background: #f2f6f7; }.print-notes p { margin: 8px 0 0; color: #60727a; font-size: 10px; line-height: 1.7; }
.print-footer { margin-top: 30px; padding-top: 15px; display: flex; justify-content: space-between; border-top: 1px solid #dce3e5; color: #78888e; font-size: 8px; }

@media (max-width: 1150px) {
  .admin-stat-grid { grid-template-columns: repeat(3,1fr); }
  .document-item-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .document-item-grid .item-description { grid-column: 1/4; }
  .document-list article { grid-template-columns: 55px 1fr auto; }
  .document-status-form,.document-list .admin-item-actions { grid-column: auto; }
}
@media (max-width: 820px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform .25s ease; }
  .admin-sidebar-open .admin-sidebar { transform: translateX(0); }
  .admin-workspace { width: 100%; margin-left: 0; }
  .admin-menu-button { display: block; }
  .admin-two-column,.admin-quick-grid { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: repeat(2,1fr); }
  .admin-section-title { align-items: start; flex-direction: column; }
  .document-item-grid { grid-template-columns: 1fr 1fr; }
  .document-item-grid .item-description { grid-column: 1/-1; }
  .print-document { padding: 30px; }.print-header img { width: 220px; }
}
@media (max-width: 600px) {
  .floating-whatsapp { right: 14px; bottom: 14px; padding-right: 9px; }.floating-whatsapp b { display: none; }
  .admin-section-main { padding: 28px 16px 60px; }.admin-topbar { padding: 0 16px; }.admin-topbar > a { display: none; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }.admin-stat-grid a { min-height: 125px; padding: 17px; }
  .admin-form-grid,.field-row { grid-template-columns: 1fr; }.admin-form-grid .span-2 { grid-column: auto; }
  .document-list article { grid-template-columns: 50px 1fr; }.document-total { text-align: right; }
  .document-status-form,.document-list .admin-item-actions { grid-column: 1/-1; }
  .document-view { padding: 0; }.document-toolbar { padding: 10px; margin: 0; }.print-document { padding: 22px; box-shadow: none; }
  .print-header { flex-direction: column; }.print-header > div { text-align: left; }.print-parties { grid-template-columns: 1fr; gap: 22px; }
  .print-items article,.print-items article:not(:has(img)) { grid-template-columns: 1fr; }.print-items article > img { width: 100%; height: 180px; }.print-totals { width: 100%; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  .document-view { padding: 0; background: white; }.document-toolbar { display: none; }.print-document { width: 100%; padding: 0; box-shadow: none; }
  .print-header img { width: 250px; height: 90px; }.print-items article { page-break-inside: avoid; }
}

/* cPanel v6: readable typography and flexible document editor */
:root {
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI", Arial, sans-serif;
}
body { font-size: 15px; font-weight: 400; }
.corporate-hero-copy > p:not(.eyebrow),
.home-about-copy > p:not(.eyebrow),
.home-section-head > p,
.service-cards p,
.product-card-copy > p:nth-of-type(2),
.projects-page-grid article > p:not(.eyebrow),
.detail-summary,
.detail-description > div:last-child,
.corporate-page > div:last-child > p:not(.eyebrow),
.contact-page address,
.contact-map-section > div:first-child > p:last-child {
  color: #405862;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.78;
}
.corporate-hero-copy > p:not(.eyebrow) { color: #e0e9ed; font-size: 16px; font-weight: 500; }
.page-hero p { color: #d6e1e5; font-size: 14px; font-weight: 500; line-height: 1.7; }
.product-card-copy > p:nth-of-type(2) { min-height: 68px; }
.footer-main p, .footer-main a { font-size: 11px; font-weight: 500; line-height: 1.7; }

.admin-sidebar nav a { font-size: 11px; font-weight: 700; }
.admin-section-title > p { color: #465f69; font-size: 13px; font-weight: 500; line-height: 1.7; }
.admin-topbar small, .admin-item p, .company-list span, .document-list p, .panel-head span { color: #526a74; font-size: 10px; font-weight: 500; }
.admin-quick-grid span { color: #c1d0d6; font-size: 12px; font-weight: 500; }
.content-form label { color: #2d4651; font-size: 10px; font-weight: 750; }
.content-form input, .content-form select, .content-form textarea { min-height: 44px; color: #172f3a; font-size: 13px; font-weight: 500; }
.content-form textarea { min-height: 100px; }
.content-form small { color: #526a74; font-size: 10px; font-weight: 500; }
.admin-item h4, .company-list b, .document-list h4 { font-weight: 700; }
.content-form > .admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }

.document-item-row legend { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.remove-document-item, .remove-existing-image {
  padding: 6px 9px;
  border: 0;
  border-radius: 6px;
  color: #9a3939;
  background: #fbeaea;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.document-form-actions { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.add-document-item { min-height: 44px; padding: 0 18px; border: 1px solid #168fc4; border-radius: 8px; color: #087fae; background: #eaf7fc; font-size: 10px; font-weight: 800; cursor: pointer; }
.document-existing-images { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.document-existing-images label { width: 120px; padding: 7px; display: grid; gap: 7px; border: 1px solid #d9e2e5; border-radius: 8px; background: white; }
.document-existing-images img { width: 100%; height: 80px; display: block; border-radius: 5px; object-fit: cover; }

.print-items article.has-images { grid-template-columns: 170px 1fr 190px; }
.print-items article.no-images { grid-template-columns: 1fr 190px; }
.print-item-images { display: grid; grid-template-columns: repeat(2,1fr); gap: 5px; }
.print-item-images img { width: 100%; height: 72px; display: block; border-radius: 5px; object-fit: cover; }
.print-item-images img:first-child:nth-last-child(1) { grid-column: 1/-1; height: 100px; }

@media (max-width: 820px) {
  .content-form > .admin-form-grid { grid-template-columns: 1fr; }
  .document-form-actions { align-items: stretch; flex-direction: column; }
  .add-document-item, .document-form-actions .button { width: 100%; justify-content: center; }
  .print-items article.has-images, .print-items article.no-images { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-about-copy > p:not(.eyebrow), .home-section-head > p, .service-cards p, .product-card-copy > p:nth-of-type(2), .projects-page-grid article > p:not(.eyebrow), .detail-summary { font-size: 14px; }
  .admin-section-title > p { font-size: 12px; }
  .content-form input, .content-form select, .content-form textarea { font-size: 14px; }
}

/* cPanel v7: product images fit without cropping */
.product-image {
  height: 310px;
  padding: 10px;
  background: #fff;
}
.product-image > img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain !important;
  object-position: center;
  background: #fff;
}
.product-card:hover .product-image img { transform: scale(1.015); }
.detail-main-image {
  height: clamp(470px, 44vw, 660px);
  min-height: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e1e7e9;
}
.detail-main-image > img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain !important;
  object-position: center;
  background: #fff;
}
.detail-thumbs > .gallery-thumb { background: #fff; }
.detail-thumbs > .gallery-thumb img {
  padding: 5px;
  object-fit: contain !important;
  background: #fff;
}

@media (max-width: 600px) {
  .product-image { height: 285px; }
  .detail-main-image { height: 390px; min-height: 0; padding: 10px; }
  .detail-main-image > img { padding: 4px; }
}

/* cPanel v8: compact image boxes in printable proposals and service reports */
.print-item-images {
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 7px;
  align-self: start;
}
.print-item-images img,
.print-item-images img:first-child:nth-last-child(1) {
  width: 100%;
  height: 78px;
  padding: 5px;
  grid-column: auto;
  object-fit: contain !important;
  object-position: center;
  border: 1px solid #dce4e7;
  border-radius: 6px;
  background: #fff;
}

@media print {
  .print-items article.has-images {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) 150px !important;
    gap: 15px !important;
    align-items: start !important;
  }
  .print-items article.no-images {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 150px !important;
    gap: 15px !important;
  }
  .print-item-images {
    width: 180px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 86px) !important;
    gap: 6px !important;
    align-content: start !important;
  }
  .print-item-images img,
  .print-item-images img:first-child:nth-last-child(1) {
    width: 86px !important;
    height: 68px !important;
    padding: 4px !important;
    grid-column: auto !important;
    object-fit: contain !important;
    border: 1px solid #d7e0e3 !important;
    border-radius: 5px !important;
    background: #fff !important;
  }
  .print-item-copy { min-width: 0; }
  .print-item-price { width: 150px; }
}
