:root {
  --yellow: #ffbf13;
  --yellow-dark: #dfa300;
  --header: #061921;
  --dark: #212529;
  --footer: #212529;
  --navy: #2d373f;
  --text: #777;
  --heading: #222529;
  --muted: #ededed;
  --border: #dee2e6;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Metric-matched fallbacks — keep line wraps stable across font swap */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 100%;
  descent-override: 35%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Poppins Fallback";
  src: local("Roboto");
  size-adjust: 105%;
  ascent-override: 100%;
  descent-override: 35%;
  line-gap-override: 0%;
}

body {
  margin: 0;
  font-family: Poppins, "Poppins Fallback", Arial, sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; }

a { color: var(--heading); text-decoration: none; }
a:hover { color: var(--yellow-dark); }

h1, h2, h3, h4 {
  font-family: Poppins, "Poppins Fallback", Arial, sans-serif;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.6em;
}
h1 { font-size: 1.4rem; line-height: 44px; }
h2 { font-size: 1.2rem; line-height: 42px; }
h3 { font-size: 1.0rem; line-height: 30px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 12px;
}

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* Header */
.site-header {
  border-top: 2px solid var(--yellow);
  background: var(--header);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 77px;
  padding: 8px 0 4px;
}

.logo {
  display: block;
  width: 100px;
  height: 61px;
  flex-shrink: 0;
}
.logo img {
  width: 100px;
  height: 61px;
  display: block;
  object-fit: contain;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.header-phone .icon-whatsapp {
  color: var(--yellow);
  flex-shrink: 0;
}
.header-phone:hover { color: var(--yellow); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--yellow);
  cursor: pointer;
  padding: 8px;
  line-height: 0;
}
.nav-toggle .icon-menu {
  display: block;
  width: 22px;
  height: 22px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: space-between;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 20px 8px 19px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.3px;
  color: var(--yellow);
  white-space: nowrap;
}
.main-nav > .container > ul > li > a::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 12px;
  height: 3px;
  background: var(--yellow);
  opacity: 0;
  transition: right .3s cubic-bezier(.55, 0, .1, 1), opacity .2s;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}
.main-nav > .container > ul > li > a:hover::before,
.main-nav:not(:hover) > .container > ul > li > a.is-active::before {
  opacity: 1;
  right: 0;
}
.main-nav .icon-chevron {
  width: 10px;
  height: 10px;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform .2s ease;
}

.has-dropdown {
  position: relative;
}
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px 0;
  background: var(--header);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  z-index: 1100;
}
@media (min-width: 1200px) {
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    display: block;
  }
}
.has-dropdown .dropdown a {
  padding: 10px 18px;
  white-space: nowrap;
  color: var(--yellow);
}
.has-dropdown .dropdown a:hover,
.has-dropdown .dropdown a.is-active {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* Hero — min-height reserves space for CLS; do not use aspect-ratio here
   (with min-height it forces ~1903px width and throws the title off-centre) */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
  overflow: hidden;
  background: var(--yellow);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}
.hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px 16px;
  background: var(--header);
  color: var(--yellow);
  font-size: clamp(1.5rem, 4vw, 2.6875rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  max-width: min(100% - 24px, 36rem);
  box-sizing: border-box;
}

.home-intro {
  background: var(--muted);
  border-top: 1px solid var(--border);
  color: var(--heading);
  padding: 1.7rem 0;
}
.home-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.5px;
  color: var(--heading);
  font-weight: 700;
}
.home-intro em {
  font-style: italic;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.home-intro em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 10px;
  background: url("/images/pencil-blue-line.png") left center / contain no-repeat;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: -.96px;
  color: #000;
  font-weight: 400;
}

.section { padding: 48px 0; }
.section-muted {
  background: var(--muted);
  padding: 20px 0 50px;
}

.who-we-are h2 {
  font-size: 1.575rem;
  font-weight: 400;
  line-height: 42px;
}
.who-we-are h2 span { font-weight: 800; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid #999;
  text-align: center;
  padding: 16px 12px 20px;
  background: #fff;
  transition: box-shadow .2s;
}
.service-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.service-card img {
  display: block;
  margin: 0 auto 12px;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: contain;
}
.service-card h3 { font-size: 18px; margin: 0; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.spec-card {
  text-align: center;
}
.spec-card img {
  display: block;
  margin: 0 auto 10px;
  width: auto;
  max-width: 100%;
  max-height: 280px;
  aspect-ratio: 291 / 395;
  height: auto;
  object-fit: contain;
}
.spec-card a {
  font-weight: 600;
  color: var(--heading);
}
.spec-card a:hover { color: var(--yellow-dark); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.content-image { margin-top: 24px; }
.content-image > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 540;
  object-fit: cover;
  background: #f3f3f3;
}
.two-col.content-image > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero-bar {
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  font-size: 13px;
}
.page-hero-bar a { color: var(--text); }
.page-hero-bar span { color: var(--heading); }

.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose p { margin: 0 0 1em; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 13px;
}
.prose th, .prose td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  vertical-align: top;
}
.prose th { background: #f6f6f6; text-align: left; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  text-align: center;
  background: #fff;
  transition: box-shadow .3s;
}
.product-card:hover { box-shadow: 0 0 12px rgba(255,191,19,.55); }
.product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f3f3f3;
}
.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-image .pic-2 {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s;
}
.product-card:hover .pic-2 { opacity: 1; }
.product-body { padding: 20px 16px 24px; }
.product-body h3 { font-size: 17px; color: #16a085; margin-bottom: 8px; }
.product-body p { margin: 0 0 4px; color: #222; line-height: 1.5; }
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  color: #888;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.product-card:hover .btn,
.btn-primary {
  background: var(--navy);
  color: var(--yellow);
  border-color: transparent;
}
.btn-dark {
  background: #000;
  color: #fff;
  border: 0;
  padding: 12px 28px;
  font-size: 16px;
}
.btn-dark:hover { background: var(--navy); color: var(--yellow); }

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 14px; }
.form-group.full { grid-column: 1 / -1; }
label, .form-label {
  display: block;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea,
.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}
fieldset:not(.sf-step-el) {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 18px 20px 8px;
  margin: 0 0 22px;
}
/* Step wizard wraps each step in fieldset.sf-step-el — no box border */
.sf-wizard fieldset.sf-step-el {
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
legend {
  font-weight: 700;
  color: var(--heading);
  padding: 0 8px;
}
.office-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.office-box p, .office-box li { margin: 0 0 8px; }
.office-box ul { list-style: none; padding: 0; }

.notice {
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px;
  margin: 12px 0 20px;
}

.checkbox { margin: 12px 0; }
.checkbox input { margin-right: 8px; }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #bbb;
  margin-top: auto;
}
.footer-main {
  position: relative;
  padding: 50px 0 30px;
}
.footer-ribbon {
  position: absolute;
  top: -16px;
  left: 12px;
  background: var(--yellow);
  color: var(--heading);
  font-weight: 700;
  padding: 6px 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--yellow); }
.site-footer h3 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { line-height: 1.8; }
.footer-links i {
  display: inline-block;
  width: 1em;
  color: var(--yellow);
  margin-right: 8px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 14px 0;
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.thankyou {
  text-align: center;
  padding: 80px 20px;
}

.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single {
  height: 42px !important;
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  background: var(--yellow) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px !important;
  color: #fff !important;
  padding-left: 12px !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #fff !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important;
}

.sole-btn {
  background: var(--navy);
  color: var(--yellow);
  border: 0;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* Blog listing */
.blog-intro {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.05rem;
}
.blog-status {
  margin: 0 0 20px;
  font-size: 13px;
  color: #888;
  min-height: 1.2em;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}
.blog-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f3f3f3;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 20px;
}
.blog-card-date {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}
.blog-card-title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 10px;
}
.blog-card-title a { color: var(--heading); }
.blog-card-title a:hover { color: var(--yellow-dark); }
.blog-card-excerpt {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}
.blog-card-btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 16px;
  font-size: 13px;
}
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
}
.blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--heading);
  font-weight: 600;
  font-size: 13px;
}
a.blog-page-btn:hover {
  background: var(--navy);
  color: var(--yellow);
  border-color: transparent;
}
.blog-page-btn.is-current {
  background: var(--navy);
  color: var(--yellow);
  border-color: transparent;
}
.blog-page-btn.is-disabled {
  opacity: .4;
  cursor: default;
}
.blog-post-meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: #888;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.blog-post {
  //* max-width: 760px; *//
  margin: 0 auto;
}
.blog-post-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--heading);
}
.blog-intro-row {
  display: grid;
  gap: 20px;
  margin: 0 0 1.8em;
  align-items: start;
}
.blog-post-hero {
  margin: 0;
}
.blog-post-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f3f3f3;
}
.blog-post-body {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}
.blog-post-body .blog-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--heading);
  margin: 0;
}
.blog-post-body h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 1.8em 0 0.55em;
  color: var(--heading);
}
.blog-post-body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.45em;
  color: var(--heading);
}
.blog-post-body p {
  margin: 0 0 1.1em;
}
.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}
.blog-post-body li {
  margin-bottom: 0.45em;
}
.blog-steps {
  list-style: decimal;
  margin: 0 0 1.5em;
  padding-left: 1.6em;
}
.blog-steps > li {
  margin-bottom: 1.5em;
  padding-left: 0.35em;
}
.blog-steps > li > :last-child {
  margin-bottom: 0;
}
.blog-steps ul {
  margin-top: 0.4em;
}
.blog-post-body a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-post-body a:hover {
  color: var(--yellow-dark);
}
@media (min-width: 768px) {
  .blog-intro-row {
    grid-template-columns: 1fr minmax(220px, 500px);
    gap: 28px;
  }
}
@media (max-width: 767px) {
  .blog-intro-row .blog-post-hero {
    order: -1;
  }
}
.blog-cta {
  margin: 2.5em 0 0;
  padding: 24px 22px;
  background: #f7f7f7;
  border-left: 4px solid var(--yellow);
}
.blog-cta h2 {
  margin-top: 0;
  font-size: 1.2rem;
}
.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.2em 0 0 !important;
}
.blog-cta-actions .btn {
  text-decoration: none;
}
.blog-cta-actions .btn:not(.btn-dark) {
  background: #fff;
  color: var(--heading);
}
.blog-cta-actions .btn:not(.btn-dark):hover {
  border-color: var(--navy);
  color: var(--navy);
}
.blog-post-back {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-weight: 600;
}
.blog-post-back a {
  color: var(--heading);
  text-decoration: none;
}
.blog-post-back a:hover {
  color: var(--yellow-dark);
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--header);
  color: #ddd;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 12px;
}
.cookie-banner-text h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
}
.cookie-banner-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #ccc;
  max-width: 760px;
}
.cookie-banner-text a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover {
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner-actions .btn {
  white-space: nowrap;
}
.cookie-accept-all {
  background: var(--yellow);
  color: var(--heading);
  border-color: var(--yellow);
  font-weight: 600;
}
.cookie-accept-all:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--heading);
}
body.cookie-banner-open {
  padding-bottom: 120px;
}

@media (max-width: 1199px) {
  .card-grid, .product-grid, .spec-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .main-nav a {
    padding: 12px 8px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .main-nav > .container > ul > li > a::before { display: none; }
  .has-dropdown > a {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .has-dropdown > a .icon-chevron {
    margin-left: auto;
    width: 12px;
    height: 12px;
  }
  .has-dropdown.is-open > a .icon-chevron {
    transform: rotate(180deg);
  }
  .has-dropdown .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    padding: 0 0 6px 14px;
    background: transparent;
  }
  .has-dropdown.is-open > .dropdown {
    display: block;
  }
  .has-dropdown .dropdown a {
    padding: 10px 8px;
    font-weight: 500;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 500px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.25;
  }
  .header-bar { min-height: 69px; }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    flex-direction: column;
  }
  .cookie-banner-actions .btn {
    width: 100%;
    text-align: center;
  }
  body.cookie-banner-open {
    padding-bottom: 220px;
  }
}

@media (max-width: 575px) {
  .card-grid, .product-grid, .spec-grid, .two-col, .form-row, .footer-grid, .footer-links, .blog-grid {
    grid-template-columns: 1fr;
  }
  .header-phone { font-size: 15px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
}
