/* ==========================================================================
   Armstrong Machinery — Homepage styles
   --------------------------------------------------------------------------
   1. Tokens & base
   2. Shared components (typography, buttons, placeholders, tabs, tiles)
   3. Page sections (layout of each section, top to bottom)
   4. Motion & interaction layer (loader, header, hero, reveals…)
   5. Responsive overrides
   6. Reduced motion
   ========================================================================== */


/* ==========================================================================
   1. Tokens & base
   ========================================================================== */
:root {
  --ease: cubic-bezier(.22, 1, .36, 1);
  --red: #E32329;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Quattrocento Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: #0E1A2B; }
a:hover { color: #E32329; }

:focus-visible { outline: 2px solid #E32329; outline-offset: 3px; }

/* Utilities */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}


/* ==========================================================================
   2. Shared components
   ========================================================================== */
.page {
  width: 100%;
  font-family: 'Quattrocento Sans', sans-serif;
  color: #0E1A2B;
  background: #fff;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.relative-wrap { position: relative; }

.sec { padding: 80px 0; }

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.head--tight { margin-bottom: 40px; }

/* --- Typography --- */
.eyebrow {
  font: 600 13px/1 'Quattrocento Sans', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #E32329;
  margin: 0 0 16px;
}
.eyebrow--red { color: #E32329; }

.h2 {
  font: 700 48px/1.08 'Quattrocento Sans', sans-serif;
  letter-spacing: -.02em;
  margin: 0;
  color: #0E1A2B;
}
.h2 em { font-style: normal; color: #E32329; }
.h2--regular { font-weight: 400; }
/* short description under a section heading (same text style as the About Us paragraphs) */
.head-desc { max-width: 760px; margin: 20px 0 0; font: 400 17px/1.75 'Quattrocento Sans', sans-serif; color: #4A4F57; }
.values-desc { margin: -28px 0 48px; max-width: 900px; } /* sits under the Values heading, which already has a 48px bottom margin */


/* Large section titles (plants, testimonials) */
.display-title {
  font: 500 64px/1.1 'Quattrocento Sans', sans-serif;
  letter-spacing: -.045em;
  margin: 0;
  color: #1A1A1A;
}
.display-title--tight { line-height: 1.08; }

.body-text {
  font-size: 15px;
  line-height: 1.6;
  color: #4A5568;
  margin: 0;
}

.small-text {
  font-size: 14px;
  line-height: 1.55;
  color: #4A5568;
  margin: 0;
}

/* Short red accent bar */
.accent-bar {
  display: block;
  width: 56px;
  height: 3px;
  background: #E32329;
}

/* --- Buttons & links --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  background: #E32329;
  color: #fff;
  font: 600 15px/1 'Quattrocento Sans', sans-serif;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover { background: #B61C21; color: #fff; }
.btn.ghost { background: transparent; color: #0E1A2B; border: 1.5px solid #0E1A2B; }
.btn.ghost:hover { background: #0E1A2B; color: #fff; }

/* Colour variants keep their colour on hover */
.btn--red,
.btn--red:hover { background: #E32329; }

/* Bootstrap's .btn:hover/:focus/:active (dark text + blue glow) must not leak into these buttons */
.btn:not(.ghost),
.btn:not(.ghost):hover,
.btn:not(.ghost):focus,
.btn:not(.ghost):active { color: #fff; }
.btn.ghost:focus:not(:hover),
.btn.ghost:active:not(:hover) { color: #0E1A2B; }
.btn:focus,
.btn:active { box-shadow: none; }
.btn:focus-visible { outline: 2px solid #0E1A2B; outline-offset: 2px; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.link {
  font: 600 15px/1 'Quattrocento Sans', sans-serif;
  color: #0E1A2B;
  text-decoration: none;
  border-bottom: 1.5px solid #E32329;
  padding-bottom: 4px;
}
.link--start { align-self: flex-start; }

.card { background: #fff; border: 1px solid #DADDE2; }

.tag {
  display: inline-block;
  font: 600 11px/1 'Quattrocento Sans', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #E32329;
  border: 1px solid #E32329;
  padding: 6px 8px;
}

/* --- Header navigation --- */
.nav a { font: 500 15px/1 'Quattrocento Sans', sans-serif; color: #0E1A2B; text-decoration: none; }
.nav a:hover { color: #E32329; }
.navw { display: flex; gap: 30px; align-items: center; }
.navw a { color: #fff; font: 500 18px/1 'Quattrocento Sans', sans-serif; }
.navw a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }

.ibtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.ibtn--static { cursor: default; } /* the globe icon is display-only: no click action */

/* Prev / next arrow buttons (testimonials) */
.slider-ctrl { display: flex; align-items: center; gap: 24px; }
.slider-count { font: 400 15px/1 'Quattrocento Sans', sans-serif; color: #4A4F57; }
.slider-count b { font-weight: 600; color: #1A1A1A; }

.arrow-btn {
  width: 52px;
  height: 52px;
  border: 1px solid #1A1A1A;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow-btn--dark { border: 0; background: #1A1A1A; }

/* --- Video tiles --- */
.vt {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: repeating-linear-gradient(135deg, #2A2F36 0 12px, #30363E 12px 24px);
}
.vt:hover { color: #fff; }
.vt:hover .ex i { width: 44px; }
.vt .ov { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 17, 20, .9) 0%, rgba(15, 17, 20, .4) 55%, rgba(15, 17, 20, .25) 100%); }
.vt .no { position: absolute; top: 18px; left: 22px; font: 500 12px/1 'Quattrocento Sans', sans-serif; color: #E6E8EB; }
.vt .bd { position: relative; padding: 0 24px 22px; }
.vt .big { font: 400 46px/1 'Quattrocento Sans', sans-serif; letter-spacing: -.04em; }
.vt .sm { font: 400 12px/1.3 'Quattrocento Sans', sans-serif; color: #D5D8DD; margin-top: 6px; }
.vt .ttl { font: 600 15px/1.3 'Quattrocento Sans', sans-serif; border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 16px; padding-top: 14px; }
.vt .ex { display: flex; align-items: center; gap: 10px; font: 700 11px/1 'Quattrocento Sans', sans-serif; letter-spacing: .1em; margin-top: 14px; }
.vt .ex i { display: block; width: 28px; height: 2px; background: #E32329; transition: width .2s; }


/* ==========================================================================
   3. Page sections
   ========================================================================== */

/* --- Site header --- */
.hdr-brand {
  display: flex;
  align-items: center;
  padding-left: 88px;
  text-decoration: none;
}
.hdr-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px 0 80px;
}
.hdr-tools { display: flex; gap: 28px; align-items: center; }

.hdr-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 18px/1 'Quattrocento Sans', sans-serif;
  color: #fff;
  text-decoration: none;
}

/* --- Hero --- */
/* --- Intro --- */
.intro { padding: 80px 0; background: #F4F4F4; }
.intro-title,
.values-title,
.industries-title {
  max-width: 1120px;
  margin: 0 0 48px;
  font: 300 56px/1.14 'Quattrocento Sans', sans-serif;
  font-size: clamp(34px, 4.1vw, 58px);
  letter-spacing: -.04em;
  color: #1A1A1A;
}
/* H2 kept smaller than the hero H1 (max 64px) at every screen size */
.intro-title { font-size: clamp(24px, 2.8vw, 42px); }
.intro-cols strong { color: #1A1A1A; font-weight: 700; }
/* tagline sits right under the About Us heading (which already has a 48px bottom margin) */
.intro-tagline { margin: -28px 0 48px; font: 400 20px/1.5 'Quattrocento Sans', sans-serif; color: #1A1A1A; }
.intro-tagline strong { font-weight: 700; }
.intro-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 64px;
  max-width: 1080px;
}
.intro-cols p {
  margin: 0;
  font: 400 17px/1.75 'Quattrocento Sans', sans-serif;
  color: #4A4F57;
}
.intro-actions { margin-top: 44px; }

/* --- Stats grid --- */
#stats {
  position: relative;
  background: #F4F4F4;
  padding: 8px 0 0; /* the next grey section (plants) supplies the gap, so the two don't stack */
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #DCDCDC;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 40px 32px 0;
  border-right: 1px solid #DCDCDC;
  border-bottom: 1px solid #DCDCDC;
}
.stat:nth-child(3n) { border-right: 0; }
.stat .accent-bar { margin-top: 28px; }
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}
.stat-fig { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.stat-value {
  font: 300 84px/1 'Quattrocento Sans', sans-serif;
  font-size: clamp(52px, 5.4vw, 84px);
  letter-spacing: -.05em;
  color: #1A1A1A;
}
.stat-unit { font: 300 30px/1 'Quattrocento Sans', sans-serif; color: #5F6368; white-space: nowrap; }
.stat-label {
  font: 400 14px/1.4 'Quattrocento Sans', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4A4F57;
  margin: 18px 0 10px;
}
.stat-desc {
  font: 400 14px/1.5 'Quattrocento Sans', sans-serif;
  color: #4A4F57;
  max-width: 260px;
}
.stat-ico {
  flex: none;
  min-width: 0;
  max-width: 38%;
  height: auto;
}

/* --- Our plants (map) --- */
#plants {
  position: relative;
  background: #F4F4F4;
  padding: 80px 0 0;
}
.plants-head {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}
.plants-intro {
  font: 400 18px/1.6 'Quattrocento Sans', sans-serif;
  color: #4A4F57;
  margin: 8px 0 0;
}
.map-wrap {
  position: relative;
  margin-left: 16px;
  height: 620px;
  border-radius: 24px 0 0 0;
  overflow: hidden;
  background: #D9DCD6;
}
#plantLegend {
  position: absolute;
  left: 24px;
  bottom: 0;
  width: 380px;
  background: #F4F4F4;
  border-radius: 16px 16px 0 0;
  padding: 12px 10px 14px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .25);
}

/* --- Why Armstrong (six pillars) --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #DADDE2;
  border-left: 1px solid #DADDE2;
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border-right: 1px solid #DADDE2;
  border-bottom: 1px solid #DADDE2;
}
.pillar-title { font: 700 24px/1.2 'Quattrocento Sans', sans-serif; margin: 0; }
/* "Built For a Stronger Tomorrow": same pillar cards, four in a row (two on tablets; mobile stacks via .g) */
.pillars--4 { grid-template-columns: repeat(4, 1fr); }
.pillars--4 .pillar { padding: 32px; }
.pillars--4 .pillar-title { font-size: 21px; }
.pillars--4 .pillar img { flex: none; align-self: flex-start; }
@media (max-width: 1100px) { .pillars--4 { grid-template-columns: repeat(2, 1fr); } }
/* pillar icon hover: icon turns red and lifts slightly */
.pillar svg { flex: none; transition: transform .35s var(--ease); }
.pillar svg path, .pillar svg circle { transition: stroke .3s; }
@media (hover: hover) {
  .pillar:hover svg { transform: translateY(-4px); }
  .pillar:hover svg path, .pillar:hover svg circle { stroke: #E32329; }
}


/* --- Videos --- */
#videos { padding-top: 0; padding-bottom: 0; } /* the next white section (values) supplies the gap */
.video-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 12px;
}
.video-row--rev { grid-template-columns: 1fr 1.45fr; }
.video-row + .video-row { margin-top: 12px; }

/* --- Values --- */
.section-tint { background: #F3F4F2; }

/* values: numbered tabs + text + photo */
.vals {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-top: 8px;
}
.vals-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 36px 32px;
  border-radius: 16px;
  background: #E32329;
}
.vals-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border: 0;
  background: none;
  font: 400 17px/1.3 'Quattrocento Sans', sans-serif;
  color: rgba(255, 255, 255, .72);
  text-align: left;
  cursor: pointer;
  transition: color .3s, font-size .3s var(--ease);
}
.vals-tab small { min-width: 22px; font: 400 14px/1 'Quattrocento Sans', sans-serif; opacity: .85; }
.vals-tab:hover { color: #fff; }
.vals-tab.on { color: #fff; font-size: 22px; font-weight: 500; white-space: nowrap; }
.vals-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: transparent; }
.vals-tab.on i { background: rgba(255, 255, 255, .35); }
.vals-tab.on i::after { content: ""; display: block; height: 100%; background: #fff; animation: valsFill var(--dur, 7s) linear forwards; }
.vals.paused .vals-tab.on i::after { animation-play-state: paused; }
@keyframes valsFill { from { width: 0; } to { width: 100%; } }

.vals-stage { display: grid; }
.vals-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .7s var(--ease), visibility 0s linear .5s;
}
.vals-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease .1s, transform .8s var(--ease) .1s, visibility 0s; }
.vals-copy h3 { margin: 0 0 20px; font: 400 30px/1.25 'Quattrocento Sans', sans-serif; letter-spacing: -.02em; color: #1A1A1A; }
.vals-copy p { margin: 0; font: 400 17px/1.7 'Quattrocento Sans', sans-serif; color: #4A4F57; }
.vals-media { overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; background: #E6E8EB; }
.vals-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --- Industries --- */
.ind-head .industries-title { margin: 0; }
.industries {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.industries::-webkit-scrollbar { display: none; }
.industry {
  display: flex;
  flex: 0 0 calc((100% - 40px) / 3);
  box-sizing: border-box;
  flex-direction: column;
  padding: 24px 24px 30px;
  border: 1px solid #E1E3E6;
  background: #fff;
  scroll-snap-align: start;
}
.industry-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(ellipse 80% 75% at 50% 45%, #FFFFFF 0%, #EEF0F2 70%, #E2E5E9 100%);
}
.industry-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.industry:hover .industry-img img { transform: scale(1.06); }
.industry-desc { margin: 0; font: 400 13px/1.5 'Quattrocento Sans', sans-serif; color: #6B7078; }
.industry-title { margin: 18px 0 6px; font: 500 18px/1.3 'Quattrocento Sans', sans-serif; color: #1A1A1A; }

/* --- Blogs --- */
#blogs { scroll-margin-top: 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog { display: flex; flex-direction: column; }
.blog-img { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background: #E6E8EB; }
.blog-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.blog:hover .blog-img img { transform: scale(1.06); }
.blog-cat { margin: 22px 0 10px; font: 500 13px/1 'Quattrocento Sans', sans-serif; color: #6B7078; }
.blog-title { margin: 0; font: 500 22px/1.3 'Quattrocento Sans', sans-serif; color: #1A1A1A; }
.blog-title a { color: inherit; text-decoration: none; transition: color .25s; }
.blog-title a:hover { color: #E32329; }
.blog-ex { margin: 12px 0 18px; font: 400 15px/1.6 'Quattrocento Sans', sans-serif; color: #5F6368; }
.blog-more { align-self: flex-start; margin-top: auto; font: 600 14px/1 'Quattrocento Sans', sans-serif; color: #0E1A2B; text-decoration: none; }
.blog-more span { display: inline-block; transition: transform .3s var(--ease); }
.blog-more:hover span { transform: translateX(5px); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; gap: 40px; } .blog-title { font-size: 20px; } }

/* --- Certificates --- */
.certs { padding: 80px 0; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
}
.cert-name { font: 700 17px/1.3 'Quattrocento Sans', sans-serif; }
.cert-logo { display: block; width: 100%; height: 110px; object-fit: contain; }

/* --- Process --- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 2px solid #0E1A2B;
}
.step { padding: 28px 20px 0 0; }
.step:last-child { padding-right: 0; }
.step-no { font: 800 32px/1 'Quattrocento Sans', sans-serif; color: #E32329; }
.step-title { font: 700 19px/1.2 'Quattrocento Sans', sans-serif; margin: 16px 0 8px; }

/* --- Testimonials --- */
#testimonials {
  position: relative;
  overflow: hidden;
  background: #F4F4F4;
  padding: 80px 0;
}
.tm-head {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.tm-intro {
  font: 400 17px/1.65 'Quattrocento Sans', sans-serif;
  color: #4A4F57;
  margin: 0;
}
.tm-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* --- Footer --- */
.foot {
  background: #0E1A2B;
  color: #C9D1DC;
  padding: 96px 0 32px;
}
.foot a { color: #C9D1DC; text-decoration: none; font: 400 15px/2 'Quattrocento Sans', sans-serif; }
.foot a:hover { color: #fff; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr 1.4fr;
  gap: 40px;
}
.foot-contact { font-size: 15px; line-height: 1.7; }
.foot-contact > div { display: flex; gap: 6px; margin-bottom: 4px; }
.foot-contact a { line-height: 1.7; }
.foot-title--gap { margin-top: 32px; }
.foot-sub { margin: 0 0 6px; font: 700 14px/1.4 'Quattrocento Sans', sans-serif; color: #fff; }
.foot .foot-addr { display: block; line-height: 1.6; margin-bottom: 24px; }
.foot-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.foot .foot-apps a { display: block; line-height: 0; }
.foot-apps img { display: block; width: 100px; height: auto; }
.foot-logo { display: block; margin-bottom: 24px; }
.foot-about { font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.foot-about b { color: #fff; font-weight: 600; }
.foot .foot-btn { color: #fff; font-size: 14px; line-height: 1; }
.foot .foot-btn.ghost { border-color: #4A5B73; }
.foot-title {
  font: 700 14px/1 'Quattrocento Sans', sans-serif;
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid #2D3E57;
  border-bottom: 1px solid #2D3E57;
  padding: 24px 0;
  margin: 64px 0 24px;
  font: 600 13px/1 'Quattrocento Sans', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.foot-social {
  display: flex;
  gap: 20px;
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
}
.foot .foot-social a { font-size: 14px; line-height: 1; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  border-top: 1px solid #2D3E57;
  margin-top: 64px;
  padding-top: 24px;
}
@media (max-width: 900px) { .foot-bottom { margin-top: 40px; padding-top: 20px; } }
.foot-socials { display: flex; align-items: center; gap: 18px; }
.foot .foot-socials a { display: block; line-height: 0; transition: transform .25s var(--ease), opacity .25s; }
.foot .foot-socials a:hover { transform: translateY(-2px); opacity: .85; }
.foot-socials svg { display: block; }
.foot-legal { display: flex; align-items: center; gap: 12px; }
.foot .foot-legal a { font-size: 13px; line-height: 1; }

/* --- Footer: same look as armstrongex.com (dark photo background, red accents, "›" links) --- */
.foot {
  background: linear-gradient(rgba(0,0,0,.5) 0%, rgba(0,0,0,.6) 75%, #111 100%) top center / 100% 559px no-repeat,
              url('../images/footer-bg.png') top center / 100% 559px no-repeat, #111;
  color: #DDD;
  padding: 80px 0 20px;
}
@media (max-width: 991px) { .foot { background-size: 100% 100%, cover, auto; padding-top: 44px; } }
.foot a, .foot p { color: #DDD; font: 400 16px/1.5 'Quattrocento Sans', sans-serif; }
.foot a:hover { color: #E41E29; }
.foot-grid { grid-template-columns: 22% 5% 15% 19% 15% 24%; gap: 0; margin-bottom: 60px; }
.foot-grid > * { padding-right: 24px; min-width: 0; }
@media (min-width: 901px) { .foot-grid > :nth-child(2) { grid-column-start: 3; } }
.foot-about { font-size: 16px; color: #DDD; margin: 0 0 24px; }
.foot-title { position: relative; margin: 0 0 24px; padding-bottom: 8px; font: 700 18px/normal 'Quattrocento Sans', sans-serif; letter-spacing: 0; text-transform: none; color: #fff; }
.foot-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: #c0392b; }
.foot-title--gap { margin-top: 24px; }
.foot-links li:not(:last-child) { margin-bottom: 10px; }
.foot .foot-links a { display: flex; align-items: baseline; gap: 8px; transition: transform .3s ease-in-out, color .3s ease-in-out; }
.foot .foot-links a::before { content: '\203A'; flex: none; color: #c0392b; font-size: 18px; line-height: 1; }
.foot .foot-links a:hover { transform: translateX(10px); }
.foot-contact { font-size: 16px; line-height: 1.5; }
.foot-contact > div { display: flex; gap: 6px; margin-bottom: 4px; }
.foot-contact span { color: #E41E29; }
.foot-contact a { line-height: 1.5; }
.foot-contact .foot-nums { display: flex; flex-direction: column; }
.foot-sub { margin: 0 0 10px; font: 400 16px/30px 'Quattrocento Sans', sans-serif; color: #E41E29; }
.foot .foot-addr { display: block; line-height: 1.5; margin-bottom: 16px; }
.foot-apps img { width: 90px; }
.foot-bottom { margin-top: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); align-items: center; font-size: 14px; color: #DDD; }
.foot .foot-legal a, .foot-bottom > span:first-child { font-size: 14px; }

/* --- Floating action buttons --- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.fab-btn--mail { background: #E32329; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0, 0, 0, .25); } /* white ring keeps it visible over the red contact section */
.fab-btn--whatsapp { overflow: hidden; }
.fab-btn--whatsapp img { display: block; width: 100%; height: 100%; }
.fab-btn--call { background: #2B2F36; }
.fab-btn--mail svg { width: 19px; height: 19px; }
.fab-btn--call svg { width: 17px; height: 17px; }


/* ==========================================================================
   4. Motion & interaction layer
   ========================================================================== */


/* ---------- header ---------- */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 476px 1fr 152px;
  height: 136px;
  color: #fff;
  transform: translateY(-100%);
  transition: background .45s var(--ease), height .45s var(--ease), transform .5s var(--ease), box-shadow .45s;
}
body.loaded #siteHeader { transform: none; transition-delay: 0s; }
#siteHeader.scrolled {
  background: #fff;
  height: 88px !important;
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .25);
}
#siteHeader.scrolled a,
#siteHeader.scrolled span,
#siteHeader.scrolled button { color: #1A1A1A !important; }
#siteHeader.scrolled svg { stroke: #1A1A1A; }
#siteHeader.hide { transform: translateY(-100%) !important; }
#siteHeader .navw a { position: relative; text-decoration: none !important; }
#siteHeader .navw a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
#siteHeader .navw a:hover::after { transform: scaleX(1); transform-origin: left; }

.hdr-contact { position: relative; overflow: hidden; isolation: isolate; }
.hdr-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.hdr-contact:hover::before { transform: none; }
.hdr-contact:hover { color: #fff !important; }

.burger {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
}
.burger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s, background .3s; }
#siteHeader.scrolled .burger span { background: #1A1A1A; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  padding: 96px 32px 32px;
  background: #111820;
  clip-path: circle(0 at calc(100% - 40px) 38px);
  transition: clip-path .7s var(--ease);
}
.mmenu.open { clip-path: circle(150% at calc(100% - 40px) 38px); }
.mmenu nav { display: flex; flex-direction: column; gap: 6px; }
.mmenu a {
  font: 500 34px/1.25 'Quattrocento Sans', sans-serif;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.03em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .6s var(--ease);
}
.mmenu.open a { opacity: 1; transform: none; }
.mmenu a:hover { color: var(--red); }

/* ---------- logo ---------- */
.logo { display: block; width: auto; max-width: 100%; }
/* header: white over the hero video, full colour once the header turns white */
.logo-hdr { filter: brightness(0) invert(1); transition: filter .45s, height .45s var(--ease), margin .45s var(--ease); }
.logo-hdr--icon { height: 48px; margin-right: 12px; }
.logo-hdr--text { height: 38px; }
#siteHeader.scrolled .logo-hdr { filter: none; }
/* while the header is transparent over the bright video, a soft shadow keeps the white menu readable (no layer over the video) */
#siteHeader:not(.scrolled) .logo-hdr { filter: brightness(0) invert(1) drop-shadow(0 1px 5px rgba(0, 0, 0, .55)); }
#siteHeader:not(.scrolled) .navw a,
#siteHeader:not(.scrolled) .hdr-contact { text-shadow: 0 2px 12px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35); }
#siteHeader:not(.scrolled) .ibtn svg,
#siteHeader:not(.scrolled) .burger span { filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6)); }
#siteHeader.scrolled .logo-hdr--icon { height: 42px; }
#siteHeader.scrolled .logo-hdr--text { height: 33px; }
/* footer logo is already red + white for the dark background */
.logo-ftr { height: 88px; }
@media (max-width: 1024px) {
  .logo-hdr--icon { height: 38px; margin-right: 10px; }
  .logo-hdr--text { height: 30px; }
  #siteHeader.scrolled .logo-hdr--icon { height: 34px; }
  #siteHeader.scrolled .logo-hdr--text { height: 27px; }
}

/* ---------- hero ---------- */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* always exactly one screen tall (svh = stable on mobile browser bars) */
  overflow: hidden;
  color: #fff;
  background: #111820;
}
.hero-bgs { position: absolute; inset: 0; overflow: hidden; }
.hero-video { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; background: #111820; }

.hero-copy {
  position: absolute;
  left: 116px;
  right: 116px;
  bottom: clamp(56px, 12vh, 112px);
  z-index: 1;
  max-width: 600px; /* wide enough for the heading to sit on two lines */
}
/* phones / portrait tablets: video shown (almost) whole instead of a thin centre strip; the heading sits over the bottom of it on a dark gradient */
@media (max-width: 767px), (max-width: 1024px) and (orientation: portrait) {
  #hero { height: auto; min-height: 0; padding-top: 76px; display: grid; }
  .hero-bgs { position: relative; inset: auto; grid-area: 1 / 1; width: 100%; min-height: 80vw; }
  .hero-video { inset: 0; height: 100%; }
  .hero-bgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 14, 20, .85) 0%, rgba(10, 14, 20, .55) 45%, rgba(10, 14, 20, 0) 80%); pointer-events: none; }
  .hero-copy { position: relative; grid-area: 1 / 1; align-self: end; left: auto !important; right: auto !important; bottom: auto !important; max-width: none; padding: 90px 20px 24px; z-index: 1; }
  #heroTitle { font-size: clamp(21px, 6vw, 34px) !important; }
  #heroSub { font-size: 14px !important; margin-top: 10px !important; }
}
#heroTitle {
  margin: 0;
  font: 700 64px/1.25 'Quattrocento Sans', sans-serif;
  font-size: clamp(30px, min(4.5vw, 7vh), 64px);
  letter-spacing: -.04em;
  color: #fff;
}
#heroSub {
  max-width: 920px;
  margin: clamp(14px, 2.6vh, 26px) 0 0;
  font: 400 17px/1.8 'Quattrocento Sans', sans-serif;
  font-size: clamp(16px, min(1.4vw, 2.6vh), 21px);
  letter-spacing: .02em;
  color: #fff;
}
#heroSub strong { font-weight: 700; }
/* readability comes from a text shadow only: no box, no layer over the video */
/* heading shadow: plain text-shadow; the word boxes (for the rise-in animation) are padded so the shadow is never clipped */
#heroTitle { text-shadow: 0 2px 12px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35); }
#heroSub { font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .4); }
#heroTitle .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .35em; margin: -.35em; } /* roomy box so the text-shadow is not clipped */
#heroTitle .w > span { display: inline-block; transform: translateY(160%); transition: transform 1s var(--ease); }
#heroTitle.show .w > span { transform: none; }
#heroTitle.out .w > span { transform: translateY(-160%); transition: transform .55s cubic-bezier(.7, 0, .84, 0); }
#heroSub { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform 1s var(--ease); }
#heroSub.show { opacity: 1; transform: none; transition-delay: .45s; }

/* ---------- smooth scroll (Lenis) ---------- */
html.lenis,
html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- headings: word-by-word mask reveal ---------- */
h2.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
h2.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
h2.split.in .w > span { transform: none; }

/* ---------- image wipes on reveal ---------- */
.vt::after { content: ""; }
.rv .vt::after,
.vt.rv::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #E32329;
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 1.1s var(--ease) calc(var(--d, 0) * 90ms + .15s);
  pointer-events: none;
}
.rv.in .vt::after,
.vt.in::after { transform: scaleY(0); }
.rv .vt-img,
.vt.rv .vt-img { transform: scale(1.25); transition: transform 1.6s var(--ease) .2s; }
.rv.in .vt-img,
.vt.in .vt-img { transform: scale(1); }
.rv.in .vt:hover .vt-img,
.vt.rv.in:hover .vt-img { transform: scale(1.07); }

/* ---------- scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.rv-fade { opacity: 0; transition: opacity 1.2s ease; }
.rv-fade.in { opacity: 1; }
.bar56 { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .35s; }
.in .bar56,
.bar56.in { transform: scaleX(1); }
.draw path,
.draw circle,
.draw ellipse,
.draw rect { transition: stroke-dashoffset 1.8s var(--ease); }
.count { font-variant-numeric: tabular-nums; }

/* ---------- stats tiles ---------- */
#stats .stat { transition: background .4s; }
#stats .stat:hover { background: #fff; }
.stat-ico { transition: transform .6s var(--ease); }
.stat:hover .stat-ico { transform: translateY(-6px); }

/* ---------- plants: unit switcher + satellite map ---------- */
#plantLegend { z-index: 2; }
#plantLegend button { transition: background .4s var(--ease), color .3s; }
#plantLegend .u { display: block; width: 100%; min-height: 44px; padding: 14px 18px; border: 0; border-radius: 10px; background: none; color: #1A1A1A; text-align: left; cursor: pointer; }
#plantLegend .u .n { display: flex; align-items: baseline; gap: 10px; font: 600 16px/1.3 'Quattrocento Sans', sans-serif; }
#plantLegend .u .n i { flex: none; align-self: center; width: 9px; height: 9px; border-radius: 2px; background: var(--red); }
#plantLegend .u .n em { font-style: normal; font-weight: 400; font-size: 13px; color: #5F6368; }
#plantLegend .u .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
#plantLegend .u .a > span { overflow: hidden; padding-left: 19px; font: 400 13px/1.5 'Quattrocento Sans', sans-serif; }
#plantLegend .u.on { background: #3A3F47; color: #fff; }
#plantLegend .u.on .n em { color: #D5D8DD; }
#plantLegend .u.on .a { grid-template-rows: 1fr; }
#plantLegend .u.on .a > span { color: #E6E8EB; padding-top: 8px; }
#plantLegend .u:not(.on):hover { background: #E9E9E9; }

.pmap { position: absolute; inset: 0; z-index: 0; background: #3B4232; }
.pmap .leaflet-tile { filter: saturate(.92) contrast(1.04); }
.pmap-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pmap-zoom { position: absolute; top: 20px; right: 20px; z-index: 2; display: flex; flex-direction: column; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.pmap-zoom button { width: 44px; height: 44px; border: 0; background: #fff; font: 600 20px/1 'Quattrocento Sans', sans-serif; color: #1A1A1A; cursor: pointer; transition: background .2s, color .2s; }
.pmap-zoom button + button { border-top: 1px solid #E2E2E2; }
.pmap-zoom button:hover { background: var(--red); color: #fff; }

.pin-wrap { background: none; border: 0; }
.pin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  white-space: nowrap;
  cursor: pointer;
  font: 600 14px/1 'Quattrocento Sans', sans-serif;
  color: #1A1A1A;
  transform: scale(0) translateY(10px);
  transform-origin: left bottom;
  transition: background .35s, color .35s, transform .6s var(--ease);
}
.pin i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); transition: background .35s; }
.pin em { font-style: normal; font-weight: 400; font-size: 12px; color: #5F6368; transition: color .35s; }
.pins-in .pin { transform: none; transition-delay: var(--pd, 0s); }
.pin-wrap.on .pin { background: var(--red); color: #fff; }
.pin-wrap.on .pin i { background: #fff; }
.pin-wrap.on .pin em { color: #FFE1E1; }
.pin:hover { transform: translateY(-3px) !important; }
/* active (red) label: small play button, click plays the unit video on the map */
.pin-play { display: none; position: relative; flex: none; width: 22px; height: 22px; margin-right: -6px; border-radius: 50%; background: #fff; text-decoration: none; transition: transform .3s var(--ease); }
.pin-play::after { content: ""; position: absolute; left: 9px; top: 6px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--red); }
.pin-wrap.on .pin-play { display: inline-block; }
.pin-wrap.on .pin:hover .pin-play { transform: scale(1.12); }
.pins-in .pin-wrap.on .pin { cursor: pointer; }

/* unit video, plays on top of the map */
.pmap-video { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: #05080D; opacity: 0; transition: opacity .35s; }
.pmap-video[hidden] { display: none; }
.pmap-video.open { opacity: 1; }
.pmap-video-frame { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pmap-video-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.pmap-video-frame iframe { width: 100%; height: 100%; border: 0; background: #000; }
.pmap-video-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font: 400 28px/1 'Quattrocento Sans', sans-serif; cursor: pointer; transition: background .25s; }
.pmap-video-x:hover { background: var(--red); }
@media (max-width: 900px) {
  .pmap-video { bottom: auto; height: 380px; }
  .pmap-video-frame video { object-fit: contain; }   /* phone / tablet: show the whole picture instead of cropping the sides */
}
.pin-addr {
  display: block;
  width: 260px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  font: 400 12.5px/1.5 'Quattrocento Sans', sans-serif;
  color: #33383F;
  white-space: normal;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease);
}
.pins-in .pin-wrap.on .pin-addr { opacity: 1; transform: none; transition-delay: .25s; }
@media (max-width: 900px) {
  .pin-addr { display: none; }
}
.plot { transition: fill-opacity .5s, stroke .4s; }
.leaflet-container { font-family: 'Quattrocento Sans', sans-serif; }
.map-wrap::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #F4F4F4; transform-origin: right; transition: transform 1.4s var(--ease) .1s; pointer-events: none; }
.map-wrap.in::after { transform: scaleX(0); }

/* ---------- slider arrow buttons ---------- */
.arrow-btn { transition: background .3s, color .3s, transform .3s var(--ease); }
.arrow-btn:hover { background: var(--red); border-color: var(--red); }
.arrow-btn:hover svg { stroke: #fff; }

/* ---------- buttons & links ---------- */
.btn { transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(227, 35, 41, .6); }

/* ---------- play buttons, video cards, lightbox ---------- */
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 10px 30px -8px rgba(227, 35, 41, .6);
  transition: transform .5s var(--ease);
}
.play::before { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ping 2.4s ease-out infinite; }
.play.sm { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.play.sm::before { left: 22px; top: 18px; border-width: 10px 0 10px 16px; }
a:hover .play { transform: scale(1.1); }




.ytm[hidden],
.mmenu[hidden] { display: none !important; }
.ytm { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 10, 14, .88); opacity: 0; transition: opacity .4s; }
.ytm.open { opacity: 1; }
.ytm-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; transform: scale(.94); transition: transform .5s var(--ease); }
.ytm.open .ytm-box { transform: none; }
.ytm-frame,
.ytm-frame iframe,
.ytm-frame video { width: 100%; height: 100%; border: 0; background: #000; }
.ytm-x { position: absolute; right: 0; top: -56px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: transparent; cursor: pointer; }
.ytm-x:hover { background: var(--red); border-color: var(--red); }

/* ---------- video tiles ---------- */
.vt { background: #2A2F36 !important; isolation: isolate; }
.vt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, #2A2F36 0 12px, #30363E 12px 24px); transition: transform 1.2s var(--ease); }
.vt-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vt:hover .vt-img { transform: scale(1.07); }
.vt video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform 1.2s var(--ease); }
.vt.playing video { opacity: 1; }
.vt:hover::before,
.vt:hover video { transform: scale(1.07); }
.vt .ov { transition: opacity .5s; }
.vt:hover .ov { opacity: .8; }
.vt .big { transition: transform .6s var(--ease); }
.vt:hover .big { transform: translateX(6px); }


/* ---------- testimonials ---------- */
.tm-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #DCDCDC; border-bottom: 1px solid #DCDCDC; }
.tm-card { position: relative; display: flex; flex-direction: column; min-height: 420px; margin: 0; padding: 40px 36px 0; background: #fff; transition: background .7s var(--ease), box-shadow .7s var(--ease), transform .7s var(--ease); }
.tm-card + .tm-card { border-left: 1px solid #DCDCDC; }
.tm-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tm-card .stars { display: flex; gap: 4px; }
.tm-card .stars svg { fill: var(--red); transition: fill .5s; }
.tm-card .stars svg.off { fill: #D5D5D5; }
.tm-card .qm { font: 500 96px/.7 'Quattrocento Sans', sans-serif; color: #EDEDED; transition: color .5s; }
.tm-card blockquote { flex: 1; margin: 28px 0 0; font: 400 22px/1.5 'Quattrocento Sans', sans-serif; letter-spacing: -.01em; color: #1A1A1A; transition: color .5s, font-size .5s; }
.tm-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 24px 0 28px; border-top: 1px solid #E6E6E6; transition: border-color .5s; }
.tm-card .av { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #F1F1F1; font: 600 15px/1 'Quattrocento Sans', sans-serif; color: #1A1A1A; transition: background .5s, color .5s; }
.tm-card .av { overflow: hidden; } /* photo avatars (Priya Shah, Diksha Paltani): the image fills the same 48px circle */
.tm-card .av img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tm-card .nm { display: block; font: 600 17px/1.3 'Quattrocento Sans', sans-serif; color: #1A1A1A; transition: color .5s; }
.tm-card .rl { display: block; font: 400 14px/1.4 'Quattrocento Sans', sans-serif; color: #5F6368; transition: color .5s; }
.tm-card.on { z-index: 1; background: var(--red); box-shadow: 0 24px 48px -16px rgba(227, 35, 41, .45); border-color: transparent; }
.tm-card.on + .tm-card { border-left-color: transparent; }
.tm-card.on .stars svg { fill: #fff; }
.tm-card.on .stars svg.off { fill: rgba(255, 255, 255, .4); }
.tm-card.on .qm { color: rgba(255, 255, 255, .35); }
.tm-card.on blockquote { color: #fff; font-weight: 500; font-size: 28px; line-height: 1.35; letter-spacing: -.02em; }
.tm-card.on figcaption { border-top-color: rgba(255, 255, 255, .3); }
.tm-card.on .av { background: #fff; color: var(--red); font-weight: 700; }
.tm-card.on .nm { color: #fff; }
.tm-card.on .rl { color: #FFE4E4; }
.tm-card .in-t { transition: opacity .45s ease, transform .6s var(--ease); }
.tm-track.swap .in-t { opacity: 0; transform: translateY(12px); }
/* Testimonials: more compact, same layout and content. Smaller heading, card height, padding and quote text (placed after the base .tm-* rules so it wins) */
#testimonials .display-title { font-size: clamp(34px, 3.6vw, 48px); }
.tm-head { margin-bottom: 40px; }
.tm-card { min-height: 300px; padding: 28px 28px 0; }
.tm-card .qm { font-size: 68px; }
.tm-card blockquote { margin-top: 20px; font-size: 18px; line-height: 1.55; }
.tm-card.on blockquote { font-size: 22px; line-height: 1.4; }
.tm-card figcaption { margin-top: 20px; padding: 18px 0 20px; gap: 12px; }
.tm-card .av { width: 44px; height: 44px; }
.tm-card .nm { font-size: 16px; }
.tm-card .rl { font-size: 13px; }
.tm-card.on { border-radius: 8px; box-shadow: 0 16px 32px -14px rgba(227, 35, 41, .4); }
@media (max-width: 900px) {
  .tm-card { min-height: 0; padding: 24px 22px 0; }
  .tm-card.on blockquote { font-size: 20px; }
}
.dots { display: flex; gap: 8px; align-items: center; }
.dots span { width: 28px; height: 2px; background: #C9C9C9; transition: width .5s var(--ease), background .4s; }
.dots span.on { width: 56px; background: var(--red); }

/* ---------- floating actions ---------- */
.fab a { position: relative; transform: scale(0); transition: transform .5s var(--ease), box-shadow .3s; }
.fab.show a { transform: scale(1); }
.fab.show a:nth-child(2) { transition-delay: .06s; }
.fab.show a:nth-child(3) { transition-delay: .12s; }
.fab a:hover { transform: scale(1.08) !important; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }


/* ==========================================================================
   5. Responsive
   ========================================================================== */
/* Header steps down gradually so the menu + "Contact Us" always fit (minmax(0,1fr) lets the middle column shrink) */
@media (max-width: 1800px) {
  #siteHeader { grid-template-columns: clamp(260px, 24vw, 476px) minmax(0, 1fr) 150px; }
  #siteHeader .hdr-brand { padding-left: clamp(32px, 4vw, 88px); }
  #siteHeader .hdr-main { padding: 0 36px 0 48px; }
  #siteHeader .navw { gap: clamp(16px, 1.6vw, 30px); }
  #siteHeader .hdr-tools { gap: 18px; }
}

@media (max-width: 1440px) {
  #siteHeader { grid-template-columns: 280px minmax(0, 1fr) 130px; }
  #siteHeader .hdr-brand { padding-left: 40px; }
  #siteHeader .hdr-main { padding: 0 28px 0 32px; }
  #siteHeader .navw { gap: 18px; }
  #siteHeader .navw a { font-size: 16px; }
  #siteHeader .hdr-tools { gap: 10px; }
  .hdr-contact { font-size: 16px; }
}

@media (max-width: 1280px) {
  #siteHeader { grid-template-columns: 250px minmax(0, 1fr) 120px; }
  #siteHeader .hdr-brand { padding-left: 28px; }
  #siteHeader .hdr-main { padding: 0 16px 0 24px; }
  #siteHeader .navw { gap: 14px; }
  #siteHeader .navw a { font-size: 15px; }
  #siteHeader .hdr-tools { gap: 2px; }
  .hero-copy { left: 40px; right: 40px; }
}

/* laptop / desktop range (1281-1600): hero text and the map panel line up with the content column below, headings scale smoothly */
@media (min-width: 1281px) and (max-width: 1600px) {
  .hero-copy { left: clamp(40px, 4vw, 64px); right: clamp(40px, 4vw, 64px); } /* lines up with the logo */
  #plantLegend { left: calc((100vw - 1200px) / 2 - 16px); }
}
@media (min-width: 1101px) and (max-width: 1535px) {
  .h2 { font-size: clamp(40px, 3.5vw, 48px); }
  .display-title { font-size: clamp(50px, 4.4vw, 64px); }
}

@media (max-width: 1100px) {
  #siteHeader { grid-template-columns: 232px minmax(0, 1fr) 108px; }
  #siteHeader .hdr-brand { padding-left: 20px; }
  #siteHeader .hdr-main { padding: 0 8px 0 16px; }
  #siteHeader .navw { gap: 11px; }
  #siteHeader .navw a { font-size: 14px; }
  .ibtn { min-width: 38px; }
  .hdr-contact { font-size: 15px; }
}

@media (max-width: 1024px) {
  #siteHeader { grid-template-columns: 1fr auto; height: 76px; }
  #siteHeader.scrolled { height: 68px !important; }
  #siteHeader .hdr-main,
  .hdr-contact { display: none; }
  #siteHeader .hdr-brand { padding-left: 24px; }
  .burger { display: flex; }

  .hero-copy { left: 24px; right: 24px; bottom: 72px; }
  /* scales with the screen so the heading stays on two even lines */
  #heroTitle { font-size: clamp(24px, 5.6vw, 44px); text-wrap: balance; }
  #heroSub { font-size: 17px; margin-top: 18px; }
  #heroSub br { display: none; }


  .tm-track { grid-template-columns: 1fr; }
  .tm-card:not(.on) { display: none; }
  .tm-card + .tm-card { border-left: 0; }

  .vals { grid-template-columns: 270px minmax(0, 1fr); gap: 32px; }
  .vals-tab.on { font-size: 20px; }
  .vals-tabs { padding: 28px 22px; }
  .vals-slide { gap: 28px; }
  .vals-copy h3 { font-size: 25px; }
  .industry { flex-basis: calc((100% - 20px) / 2); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .h2 { font-size: 34px; }
  .sec { padding: 48px 0; }
  .head { flex-direction: column; align-items: flex-start; }
  .vals { grid-template-columns: 1fr; gap: 28px; }
  .vals-slide { grid-template-columns: 1fr; gap: 24px; }
  .vals-copy h3 { font-size: 24px; }
  .g { grid-template-columns: 1fr !important; }
  .nav { display: none !important; }

  .intro { padding: 48px 0; }
  #plants { padding-top: 48px; }
  #testimonials,
  .certs { padding: 48px 0; }


  .stat { border-right: 0; }
  .stat-ico { width: 100px; height: 86px; }
  .stat-value { font-size: 64px; }

  #plants h2,
  #testimonials h2 { font-size: 42px; }
  .map-wrap { display: flex; flex-direction: column; height: auto; margin-left: 0; border-radius: 0; }
  .pmap { position: relative; height: 380px; }
  .pmap-zoom { top: 12px; right: 12px; }
  #plantLegend { position: relative; left: 0; width: auto; border-radius: 0; box-shadow: none; }

  .vt { height: 300px; }
  #testimonials .tm-head { gap: 24px; }


  footer .g { grid-template-columns: 1fr 1fr !important; }
  footer .g > div:first-child,
  footer .g > div:last-child { grid-column: 1 / -1; }
  /* Media + Careers fill the empty space under "About Us" (left column) beside the long Products list */
  footer .g { grid-template-rows: auto auto 1fr auto; column-gap: 24px; }
  .foot-grid > * { padding-right: 0; }   /* the column gap already separates them; extra right padding made the Products text too narrow */
  footer .g > div:first-child { grid-row: 1; }
  footer .g > :nth-child(2) { grid-column: 1; grid-row: 2; }
  footer .g > :nth-child(3) { grid-column: 2; grid-row: 2 / span 2; }
  footer .g > :nth-child(4) { grid-column: 1; grid-row: 3; }
  footer .g > div:last-child { grid-row: 4; }

  .fab { right: 16px; bottom: 16px; }
  .fab a { width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .pin em { display: none; }
  #heroSub { font-size: 16px; }
  .hero-copy { bottom: 40px; }
  footer .g { grid-template-columns: 1fr 1fr !important; }
  .stat { padding: 32px 20px 0; }
  .stat-value { font-size: 48px; }
  .stat-unit { white-space: normal; }
  .stat-ico { width: 76px; height: 66px; }
  .industry { flex-basis: 84%; }
}


/* ==========================================================================
   6. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .rv,
  .rv-fade,
  #heroSub { opacity: 1 !important; transform: none !important; }
  #heroTitle .w > span,
  h2.split .w > span { transform: none !important; }
  .vt::after { display: none; }
  .map-wrap { clip-path: none !important; }
}

/* header: menu links sit in the exact centre of the screen (desktop) */
@media (min-width: 1101px) {
  #siteHeader .navw { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  #siteHeader .hdr-main { justify-content: flex-end; }
}

/* testimonials intro: smaller text */
.tm-intro { font-size: 15px; line-height: 1.6; }

/* blog photos: show the whole image, never cropped */
.blog-img { aspect-ratio: auto; background: none; }
.blog-img img { height: auto; object-fit: contain; }

/* blog titles: max 2 lines, then "..." */
.blog-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* hero heading: always 3 lines on every screen except mobile; the width scales with the font so the wrap is the same everywhere */
@media (min-width: 701px) {
  .hero-copy { max-width: none; }
  #heroTitle { max-width: 11em; }
}

/* section spacing: tighter on 1536px and smaller screens (901px+; mobile already has its own) */
@media (min-width: 901px) and (max-width: 1536px) {
  .sec { padding: 64px 0; }
  .intro { padding: 64px 0; }
  #plants { padding-top: 64px; }
  .certs { padding: 64px 0; }
  #testimonials { padding: 64px 0; }
  .foot { padding-top: 72px; }
  .head { margin-bottom: 44px; }
  .head--tight { margin-bottom: 32px; }
}

/* 1280px laptops: more breathing room left and right of the content */
@media (min-width: 1101px) and (max-width: 1280px) {
  .wrap { padding: 0 72px; }
  .hero-copy { left: 72px; right: 72px; }
  #plantLegend { left: 56px; }
}

/* footer buttons: always side by side in one row (desktop/tablet), stacked only on small phones */
.foot .btn-row { flex-wrap: nowrap; gap: 10px; }
.foot .foot-btn { padding: 0 20px; white-space: nowrap; }
@media (max-width: 360px) { .foot .btn-row { flex-wrap: wrap; } }

/* mobile menu: call / mail / region icons (hidden from the header on small screens) */
.mm-tools { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.mm-tools a, .mm-tools span { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; opacity: 0; transform: translateY(20px); transition: opacity .5s .35s, transform .6s .35s var(--ease), background .3s; }
.mmenu.open .mm-tools a, .mmenu.open .mm-tools span { opacity: 1; transform: none; }
.mm-tools a:hover { background: var(--red); border-color: var(--red); }

/* plants heading: tighter gap between the title and the intro text on tablet / mobile */
@media (max-width: 900px) {
  .plants-head { gap: 16px; margin-bottom: 32px; }
  .plants-intro { margin: 0; }
}

/* section headers on tablet / mobile: smaller gap under the title and before the content */
@media (max-width: 900px) {
  .head { gap: 16px; margin-bottom: 32px; }
  .head--tight { margin-bottom: 28px; }
  .tm-head { gap: 16px; margin-bottom: 32px; }
}

/* values / industries titles: smaller gap below on tablet / mobile */
@media (max-width: 900px) {
  .values-title, .industries-title { margin-bottom: 24px; }
  .vals { margin-top: 0; }
  .ind-head { margin-bottom: 28px; }
}

/* process steps: two columns on tablet / mobile */
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr !important; column-gap: 20px; row-gap: 8px; }
  .step { padding: 24px 0 0; }
  .step:last-child { padding-right: 0; }
  .step-no { font-size: 28px; }
  .step-title { font-size: 17px; margin: 12px 0 6px; }
}

/* footer link columns: two per row on mobile; long items (email) wrap instead of overflowing */
@media (max-width: 560px) {
  .foot-grid { column-gap: 20px; row-gap: 32px; }
  .foot a { overflow-wrap: anywhere; }
}

/* values on tablet / mobile: swipeable text tabs, active one gets a red progress line underneath */
@media (max-width: 900px) {
  .vals-tabs { position: relative; flex-direction: row; gap: 28px; padding: 0; background: none; border-radius: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; box-shadow: inset 0 -1px 0 #DADDE2; }
  .vals-tabs::-webkit-scrollbar { display: none; }
  .vals-tab { flex: none; gap: 8px; align-items: baseline; padding: 14px 0 16px; border: 0; border-radius: 0; background: none; color: #6B7078; font-size: 16px; white-space: nowrap; scroll-snap-align: start; }
  .vals-tab small { min-width: 0; font-size: 12px; opacity: 1; color: #E32329; }
  .vals-tab:hover { color: #0E1A2B; }
  .vals-tab.on { background: none; color: #0E1A2B; font-size: 16px; font-weight: 700; }
  .vals-tab i { display: block; height: 2px; }
  .vals-tab.on i { background: #DADDE2; }
  .vals-tab.on i::after { background: #E32329; }
}

/* footer badges, social links and legal line: clean stacked layout on mobile */
@media (max-width: 700px) {
  .foot-badges { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0; margin: 40px 0 20px; line-height: 1.3; }
  .foot-badges > span { line-height: 1.3; }
  .foot-social { margin: 6px 0 0; padding-top: 18px; border-top: 1px solid #2D3E57; width: 100%; flex-wrap: wrap; gap: 14px 26px; }
  .foot .foot-social a { font-size: 15px; }
  .foot-bottom { flex-direction: column; gap: 16px; }
  .foot-legal { flex-wrap: wrap; gap: 10px 22px; }
}

/* hero text shadow: same values as the reference site (shadow only; font and size unchanged) */
#heroSub { text-shadow: 0 1px 8px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .4); }

/* category tiles are links now */
a.vt { text-decoration: none; color: #fff; cursor: pointer; }

/* values tabs (desktop): the active tab is enlarged with a transform instead of a font-size change,
   so the list height never changes and nothing jumps when the tab switches */
@media (min-width: 901px) {
  .vals-tab, .vals-tab.on { font-size: 17px; font-weight: 400; transition: color .3s; }
  .vals-tab span { display: inline-block; transform-origin: left center; transition: transform .5s var(--ease); will-change: transform; }
  .vals-tab.on span { transform: scale(1.294); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .vals-tab.on span { transform: scale(1.176); }
}

/* while a video is open (plant unit video / video popup) it has first priority: the floating mail / WhatsApp / call buttons and the "Inquiry Now" tab are hidden */
body:has(.pmap-video.open) .fab,
body:has(.pmap-video.open) .Brochurs_btn_side,
body:has(.ytm.open) .fab,
body:has(.ytm.open) .Brochurs_btn_side { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: opacity .2s, visibility 0s .2s; }

/* unit video: the close (X) button gets its own bar above the player, so it no longer covers YouTube's settings / controls */
.pmap-video { flex-direction: column; align-items: stretch; justify-content: flex-start; padding-top: 56px; box-sizing: border-box; }
.pmap-video .pmap-video-x { top: 6px; right: 12px; z-index: 3; }
.pmap-video .pmap-video-frame { flex: 1 1 auto; height: auto; min-height: 0; }
/* make the close bar blend with the player (same black, slimmer) so it does not look like a separate band */
.pmap-video { background: #000; padding-top: 48px; }
.pmap-video .pmap-video-x { top: 2px; right: 10px; width: 44px; height: 44px; }
.pmap-video .pmap-video-frame iframe, .pmap-video .pmap-video-frame video { display: block; }
/* YouTube iframe: exactly 16:9 and centred, so its own title bar sits on the video picture (not on empty black space above it) */
.pmap-video .pmap-video-frame { align-items: center; justify-content: center; }
.pmap-video .pmap-video-frame iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 100%; }

/* unit video = centred 16:9 popup over a dark backdrop (same idea as the .ytm video popup); X sits in the screen corner, away from the player controls */
.pmap-video { position: fixed; inset: 0; height: 100%; bottom: 0; z-index: 90; display: flex; flex-direction: row; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; background: rgba(8, 10, 14, .9); }
.pmap-video .pmap-video-frame { flex: none; width: min(1100px, 100%); height: auto; aspect-ratio: 16 / 9; max-height: 100%; display: block; }
.pmap-video .pmap-video-frame iframe,
.pmap-video .pmap-video-frame video { width: 100%; height: 100%; aspect-ratio: auto; max-height: none; border: 0; background: #000; }
.pmap-video .pmap-video-x { position: fixed; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; }
