/* ==========================================================================
   CK Engineering Works — stylesheet
   Palette:  --navy #142A52  --navy-dark #0B1730  --steel #55677C
             --amber #F5A93F  --amber-dark #C97F1C  --paper #F5F2EA  --ink #171B22
   Type:     Display  "Oswald"  (condensed, machined, technical)
             Body     "Inter"
   ========================================================================== */

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

:root{
  --navy: #142A52;
  --navy-dark: #0B1730;
  --steel: #55677C;
  --amber: #F5A93F;
  --amber-dark: #C97F1C;
  --paper: #F5F2EA;
  --paper-dim: #EAE5D8;
  --ink: #171B22;
  --line: rgba(20,42,82,0.14);
  --radius: 2px;
  --maxw: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p{ margin: 0 0 1em; }
a{ color: inherit; }
img{ max-width: 100%; display:block; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ---------- Diagonal wedge signature (echoes the brand's own cover mark) ---------- */
.wedge{
  position: relative;
  overflow: hidden;
}
.wedge::after{
  content:"";
  position:absolute;
  right:-6%;
  bottom:-40%;
  width:46%;
  height:180%;
  background: var(--amber);
  transform: rotate(28deg);
  z-index: 0;
}
.wedge::before{
  content:"";
  position:absolute;
  right:6%;
  bottom:-40%;
  width:30%;
  height:180%;
  background: var(--navy-dark);
  transform: rotate(28deg);
  z-index: 0;
}
.wedge > *{ position:relative; z-index:1; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--navy);
}
.brand-mark{
  width: 42px; height: 44px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.brand-mark img{ width:100%; height:100%; object-fit:contain; }
.brand-name{
  font-family:'Oswald', sans-serif;
  font-weight:600;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:0.03em;
  line-height:1.15;
}
.brand-name small{
  display:block;
  font-family:'Inter', sans-serif;
  text-transform:none;
  font-weight:400;
  letter-spacing:normal;
  font-size:11px;
  color: var(--steel);
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 30px;
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  text-decoration:none;
  font-family:'Oswald', sans-serif;
  font-size: 13px;
  font-weight:500;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-links a:hover{ border-color: var(--amber); }
.nav-links a.active{ border-color: var(--amber-dark); color: var(--amber-dark); }

.nav-toggle{
  display:none;
  background:none;
  border: 1px solid var(--navy);
  width:40px; height:36px;
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.nav-toggle span{ width:20px; height:2px; background:var(--navy); display:block; }

@media (max-width: 760px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute;
    top:100%; left:0; right:0;
    background: var(--paper);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    border-bottom: 1px solid var(--line);
    max-height:0;
    overflow:hidden;
    transition: max-height .25s ease;
  }
  .nav-links.open{ max-height: 320px; }
  .nav-links li{ width:100%; }
  .nav-links a{
    display:block;
    width:100%;
    padding: 14px 28px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }
  .nav-links a.active, .nav-links a:hover{ border-left-color: var(--amber-dark); border-bottom-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero{
  background: var(--navy);
  color: #fff;
  padding: 96px 0 120px;
}
.hero.has-photo{
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-scrim{
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(11,23,48,0.95) 0%, rgba(11,23,48,0.88) 40%, rgba(11,23,48,0.58) 100%);
  z-index:0;
}
.hero.has-photo .wrap{ position:relative; z-index:1; }

/* thin amber rule used as a page-photo signature instead of the full wedge */
.photo-frame{
  position: relative;
  border-bottom: 6px solid var(--amber);
}
.photo-frame img{ width:100%; height:100%; object-fit:cover; }
.hero .eyebrow{
  font-family:'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.hero h1{
  color:#fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 12ch;
  margin-bottom: 22px;
}
.hero p{
  max-width: 46ch;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
}
.hero-actions{
  display:flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap:wrap;
}

.page-hero{
  background: var(--navy);
  color:#fff;
  padding: 64px 0 56px;
}
.page-hero .eyebrow{
  font-family:'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.page-hero h1{ color:#fff; margin-bottom: 8px; font-size: clamp(2rem, 4vw, 2.7rem); }
.page-hero p{ color: rgba(255,255,255,0.78); max-width: 60ch; margin:0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration:none;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor:pointer;
}
.btn-amber{ background: var(--amber); color: var(--navy-dark); }
.btn-amber:hover{ background: var(--amber-dark); }
.btn-ghost{ background: transparent; color:#fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover{ border-color:#fff; }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-dark); }

/* ---------- Sections ---------- */
section{ padding: 72px 0; }
.section-tight{ padding: 48px 0; }
.eyebrow-mini{
  font-family:'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 10px;
  display:block;
}
.section-head{
  max-width: 60ch;
  margin-bottom: 44px;
}
.section-head p{ color: var(--steel); }

.bg-dim{ background: var(--paper-dim); }
.bg-navy{ background: var(--navy); color:#fff; }
.bg-navy h2, .bg-navy h3{ color:#fff; }
.bg-navy p{ color: rgba(255,255,255,0.78); }

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

/* ---------- Cards ---------- */
.card{
  background:#fff;
  border: 1px solid var(--line);
  padding: 30px 26px;
}
.card h3{
  font-size: 1.05rem;
  margin-bottom: 10px;
  display:flex;
  align-items:center;
  gap:10px;
}
.card p{ color: var(--steel); margin:0; font-size:0.95rem; }
.card-num{
  display:inline-flex;
  align-items:center; justify-content:center;
  width: 30px; height:30px;
  background: var(--navy);
  color: var(--amber);
  font-family:'Oswald', sans-serif;
  font-weight:600;
  font-size: 13px;
  flex-shrink:0;
}

.stat{
  border-left: 3px solid var(--amber);
  padding-left: 16px;
}
.stat .num{
  font-family:'Oswald', sans-serif;
  font-size: 2.6rem;
  font-weight:600;
  color: var(--navy);
  line-height:1;
  display:block;
  margin-bottom:6px;
}
.bg-navy .stat .num{ color: var(--amber); }
.stat .label{ color: var(--steel); font-size:0.9rem; }
.bg-navy .stat .label{ color: rgba(255,255,255,0.7); }

/* ---------- Industry tag strip ---------- */
.tag-strip{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 20px;
}
.tag{
  font-family:'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing:0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background:#fff;
}

/* ---------- Process steps ---------- */
.process{
  counter-reset: step;
}
.process-item{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.process-item:last-child{ border-bottom: 1px solid var(--line); }
.process-num{
  font-family:'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight:600;
  color: var(--amber-dark);
}
.process-item h3{ margin-bottom:8px; font-size:1.1rem; }
.process-item ul{ margin: 10px 0 0; padding-left: 18px; color: var(--steel); }
.process-item li{ margin-bottom: 4px; }

/* ---------- Lists ---------- */
.check-list{ list-style:none; margin:0; padding:0; }
.check-list li{
  position:relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--steel);
}
.check-list li::before{
  content:"";
  position:absolute;
  left:0; top:8px;
  width:10px; height:10px;
  background: var(--amber);
}

/* ---------- Blueprint motif (illustrative, original SVG) ---------- */
.blueprint{
  background: var(--navy-dark);
  background-image:
    linear-gradient(rgba(245,169,63,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,169,63,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--navy);
  color:#fff;
  padding: 60px 0;
}
.cta-banner .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  flex-wrap:wrap;
}
.cta-banner h2{ color:#fff; margin:0; font-size: 1.7rem; }
.cta-banner p{ color: rgba(255,255,255,0.75); margin: 6px 0 0; }

/* ---------- Contact ---------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-item{
  display:flex;
  gap: 14px;
  margin-bottom: 26px;
  align-items:flex-start;
}
.contact-icon{
  width: 38px; height:38px;
  background: var(--navy);
  color: var(--amber);
  flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Oswald', sans-serif;
  font-weight:700;
  font-size:14px;
}
.contact-item h4{ margin:0 0 4px; font-size: 0.95rem; }
.contact-item p{ margin:0; color: var(--steel); }
.contact-item a{ color: var(--steel); text-decoration:none; }
.contact-item a:hover{ color: var(--navy); }

form.enquiry{
  background:#fff;
  border: 1px solid var(--line);
  padding: 30px;
}
form.enquiry label{
  display:block;
  font-family:'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
form.enquiry .field{ margin-bottom: 18px; }
form.enquiry input, form.enquiry select, form.enquiry textarea{
  width:100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family:'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus{
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}
form.enquiry textarea{ resize: vertical; min-height: 110px; }

.map-frame{
  border: 1px solid var(--line);
  width:100%;
  height: 300px;
  margin-top: 10px;
}

.qr-card{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.qr-card img{
  width: 148px; height: 148px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.qr-card h4{
  font-family:'Oswald', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0 0 6px;
}
.qr-card p{
  margin: 0;
  color: var(--steel);
  font-size: 0.88rem;
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
  padding: 50px 0 26px;
  font-size: 0.9rem;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap: 30px;
  flex-wrap:wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 20px;
}
.footer-brand .brand-name{ color:#fff; }
.footer-links{ list-style:none; margin:0; padding:0; display:flex; gap:22px; flex-wrap:wrap; }
.footer-links a{ text-decoration:none; color: rgba(255,255,255,0.72); }
.footer-links a:hover{ color: var(--amber); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

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


/* ==========================================================================
   Modern CK Engineering Works homepage
   ========================================================================== */
.modern-header{
  background: var(--paper);
  border-bottom:1px solid rgba(11,23,48,.10);
  position:relative;
  z-index:20;
}
.modern-header .nav{
  min-height:88px;
  gap:28px;
}
.brand-mark-large{
  width:58px;
  height:66px;
}
.modern-header .brand-name{
  font-size:20px;
  color:#102552;
}
.modern-header .brand-name small{
  font-size:12px;
  margin-top:3px;
  color:#202b3c;
}
.modern-header .nav-links{
  margin-left:auto;
  gap:34px;
}
.modern-header .nav-links a{
  font-family:'Inter',sans-serif;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  text-transform:uppercase;
  padding-bottom:9px;
}
.modern-header .nav-links a.active{
  color:#1458d9;
  border-color:#1458d9;
}
.nav-quote{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 20px;
  background:#102a62;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-weight:700;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.nav-quote:hover{background:#071b43;}

.modern-hero{
  min-height:630px;
  padding:0;
  display:flex;
  align-items:center;
}
.modern-hero .hero-scrim{
  background:linear-gradient(90deg,rgba(3,13,31,.98) 0%,rgba(3,13,31,.88) 43%,rgba(3,13,31,.30) 78%,rgba(3,13,31,.15) 100%);
}
.hero-inner{width:100%;}
.hero-copy{max-width:650px;padding:90px 0 120px;}
.modern-hero .eyebrow{
  color:#3e7cff;
  font-family:'Inter',sans-serif;
  font-weight:700;
  letter-spacing:.10em;
  font-size:14px;
}
.modern-hero h1{
  max-width:none;
  font-family:'Inter',sans-serif;
  text-transform:none;
  font-size:clamp(3rem,5.4vw,5rem);
  line-height:1.06;
  letter-spacing:-.045em;
  margin-bottom:26px;
}
.modern-hero h1 span{color:#2e6ee8;}
.modern-hero p{
  max-width:570px;
  font-size:18px;
  line-height:1.65;
  color:rgba(255,255,255,.82);
}
.modern-hero .hero-actions{margin-top:34px;}
.btn-primary{
  background:#2468dc;
  color:#fff;
  border-radius:5px;
  padding:15px 28px;
  border:1px solid #2468dc;
}
.btn-primary:hover{background:#1855bd;border-color:#1855bd;}
.btn-primary span{font-size:20px;line-height:0;}
.modern-hero .btn-ghost{
  border-radius:5px;
  padding:15px 28px;
  font-family:'Inter',sans-serif;
}

.strengths{
  position:relative;
  z-index:5;
  margin-top:-68px;
  padding:0 0 20px;
}
.strength-grid{
  background:#fff;
  border:1px solid rgba(11,23,48,.12);
  border-radius:9px;
  box-shadow:0 14px 40px rgba(11,23,48,.10);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:30px 12px;
}
.strength{
  display:flex;
  gap:18px;
  padding:6px 28px;
  border-right:1px solid rgba(11,23,48,.12);
}
.strength:last-child{border-right:0;}
.strength-icon{
  color:#1458d9;
  font-size:30px;
  line-height:1;
  flex-shrink:0;
  width:34px;
}
.strength h3{
  font-family:'Inter',sans-serif;
  text-transform:none;
  font-size:17px;
  letter-spacing:-.01em;
  color:#111923;
  margin-bottom:7px;
}
.strength p{font-size:14px;color:#687486;margin:0;line-height:1.55;}

.about-preview{background:#fff;padding:100px 0;}
.about-preview-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:76px;
  align-items:center;
}
.about-image{border:0;overflow:hidden;border-radius:4px;}
.about-image img{aspect-ratio:4/3;object-fit:cover;}
.about-copy{max-width:560px;}
.about-copy h2,.services-preview h2,.industries-strip h2,.cta-modern h2{
  font-family:'Inter',sans-serif;
  text-transform:none;
  letter-spacing:-.035em;
  font-size:clamp(2rem,3.5vw,3rem);
  color:#111923;
}
.about-copy p{color:#687486;font-size:16px;line-height:1.75;}
.blue-rule{height:3px;width:52px;background:#2468dc;margin:18px 0 24px;}
.text-link{
  display:inline-flex;
  gap:10px;
  color:#1559c9;
  font-weight:700;
  text-decoration:none;
  margin-top:8px;
}
.text-link:hover{gap:14px;}

.services-preview{background:#f7f9fc;padding:100px 0;}
.centered-head{text-align:center;margin:0 auto 48px;}
.centered-head p{margin:0 auto;max-width:650px;}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.service-card{
  position:relative;
  background:#fff;
  border:1px solid rgba(11,23,48,.10);
  border-radius:7px;
  padding:34px 30px 40px;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease;
}
.service-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px rgba(11,23,48,.10);}
.service-number{color:#2468dc;font-size:13px;font-weight:800;letter-spacing:.08em;}
.service-card h3{
  font-family:'Inter',sans-serif;
  text-transform:none;
  font-size:21px;
  color:#111923;
  margin:18px 0 12px;
}
.service-card p{color:#687486;font-size:15px;line-height:1.65;margin:0;}
.service-arrow{display:block;margin-top:28px;color:#2468dc;font-size:22px;}

.industries-strip{padding:74px 0;background:#fff;border-top:1px solid rgba(11,23,48,.06);}
.industries-inner{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:60px;}
.industries-strip h2{font-size:32px;margin:0;}
.industry-tags{display:flex;flex-wrap:wrap;gap:10px;}
.industry-tags span{
  padding:10px 15px;
  border:1px solid rgba(11,23,48,.14);
  border-radius:6px;
  color:#344154;
  font-size:13px;
  font-weight:600;
  background:#fbfcfe;
}

.cta-modern{background:#0b214b;padding:68px 0;}
.cta-modern-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;}
.cta-modern h2{color:#fff;margin:5px 0 8px;}
.cta-modern p{color:rgba(255,255,255,.72);margin:0;max-width:650px;}
.cta-modern .eyebrow-mini{color:#4f8cff;}

.footer-brand-modern{display:flex;gap:14px;align-items:center;}
.footer-logo-chip{
  width:58px;height:58px;flex-shrink:0;
  background:#fff;
  border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  padding:7px;
}
.footer-logo-chip img{width:100%;height:100%;object-fit:contain;}
.footer-brand-modern .brand-name{font-size:17px;}
.footer-brand-modern p{margin:5px 0 0;color:rgba(255,255,255,.58);font-size:13px;}

@media (max-width: 1000px){
  .modern-header .nav-links{gap:18px;}
  .nav-quote{display:none;}
  .strength-grid{grid-template-columns:repeat(2,1fr);}
  .strength:nth-child(2){border-right:0;}
  .strength:nth-child(-n+2){border-bottom:1px solid rgba(11,23,48,.12);padding-bottom:22px;}
  .strength:nth-child(n+3){padding-top:22px;}
}
@media (max-width: 760px){
  .modern-header .nav{min-height:76px;}
  .brand-mark-large{width:48px;height:56px;}
  .modern-header .brand-name{font-size:16px;}
  .modern-header .brand-name small{font-size:10px;}
  .modern-header .nav-links{margin-left:0;}
  .modern-hero{min-height:600px;}
  .hero-copy{padding:100px 0 150px;}
  .modern-hero h1{font-size:clamp(2.55rem,12vw,4rem);}
  .modern-hero p{font-size:16px;}
  .strengths{margin-top:-50px;}
  .strength-grid{grid-template-columns:1fr;padding:15px;}
  .strength{border-right:0!important;border-bottom:1px solid rgba(11,23,48,.12)!important;padding:22px 10px!important;}
  .qr-card{flex-direction:column; text-align:center;}
  .strength:last-child{border-bottom:0!important;}
  .about-preview,.services-preview{padding:70px 0;}
  .about-preview-grid,.service-grid,.industries-inner{grid-template-columns:1fr;gap:35px;}
  .industries-inner{gap:25px;}
  .cta-modern-inner{align-items:flex-start;flex-direction:column;}
}


/* Fix: keep page-hero photo overlay confined to the hero only.
   The previous .hero-scrim was absolutely positioned without a
   positioned .page-hero parent, causing the navy overlay to cover
   the content below on inner pages. */
.page-hero.has-photo{
  position:relative;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.page-hero.has-photo .hero-scrim{
  position:absolute;
  inset:0;
  z-index:0;
}
.page-hero.has-photo .wrap{
  position:relative;
  z-index:1;
}


/* Products & Services hero: improve text contrast over the mould photograph */
.page-hero.has-photo .wrap{
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.page-hero.has-photo h1{
  color: var(--amber);
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
}
.page-hero.has-photo p{
  color: #fff;
  opacity: 1;
  text-shadow: 0 2px 7px rgba(0,0,0,.7);
}

/* ---------- Scroll reveal animations ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale{
  transform: translateY(16px) scale(0.96);
}
.reveal-scale.is-visible{
  transform: translateY(0) scale(1);
}
.reveal-left{ transform: translateX(-32px); }
.reveal-left.is-visible{ transform: translateX(0); }
.reveal-right{ transform: translateX(32px); }
.reveal-right.is-visible{ transform: translateX(0); }

/* Header gains a subtle lift once the page is scrolled */
.site-header{ transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled{
  box-shadow: 0 6px 24px rgba(11,23,48,0.10);
  border-bottom-color: rgba(11,23,48,0.16);
}

/* Gentle hover lift on cards and photos, reinforces the scroll-in motion */
.card{ transition: transform .3s ease, box-shadow .3s ease; }
.card:hover{ transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,23,48,0.08); }
.photo-frame img{ transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.photo-frame{ overflow:hidden; }
.photo-frame:hover img{ transform: scale(1.045); }

.hero-copy > *{
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn .8s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-copy .eyebrow{ animation-delay: .05s; }
.hero-copy h1{ animation-delay: .18s; }
.hero-copy p{ animation-delay: .32s; }
.hero-copy .hero-actions{ animation-delay: .46s; }
@keyframes heroIn{
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-copy > *{ animation: none; opacity: 1; transform: none; }
  .reveal{ opacity:1 !important; transform:none !important; }
}

/* ===== WhatsApp Contact CTA ===== */
.whatsapp-contact{
  align-items:center;
}
.whatsapp-contact .whatsapp-icon{
  color:#25D366;
}
.whatsapp-contact .whatsapp-icon svg{
  width:24px;
  height:24px;
  display:block;
}
.whatsapp-chat-link{
  display:inline-flex;
  align-items:center;
  color:var(--steel);
  font-weight:700;
  text-decoration:none;
}
.whatsapp-chat-link:hover{
  color:var(--navy);
  text-decoration:underline;
}
