html {
  direction: ltr;
}
body {
  margin: 0;
}
.elementor,
.elementor-section.elementor-top-section,
.elementor-section.elementor-top-section > .elementor-container,
.elementor-section .elementor-container,
.elementor-widget-wrap,
.elementor-widget-container,
.elementor-column,
.elementor-element-populated {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.elementor-section.elementor-top-section > .elementor-container {
  min-height: 0;
}
.elementor-widget:not(:last-child) {
  margin-bottom: 0 !important;
}
.elementor-widget-container > :first-child {
  margin-top: 0;
}
.site-nav a {
  display: inline-block;
}
.site-nav .nav-submenu a {
  display: block;
}
/* Submenu chevron: desktop uses hover, so hide the button there. */
.site-nav .submenu-toggle {
  display: none;
}
@media (max-width: 980px) {
  .site-nav .nav-item.has-submenu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 6px;
    width: 100%;
  }
  .site-nav .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #dedede;
    cursor: pointer;
    appearance: none;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .site-nav .submenu-toggle span {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s ease;
  }
  .site-nav .has-submenu.is-open .submenu-toggle {
    background: rgba(255, 255, 255, 0.12);
    color: var(--yellow);
  }
  .site-nav .has-submenu.is-open .submenu-toggle span {
    transform: translateY(2px) rotate(-135deg);
  }
  /* Collapsed by default; also neutralise the desktop hover/focus rules on touch. */
  .site-nav .nav-item.has-submenu:not(.is-open) .nav-submenu,
  .site-nav .nav-item.has-submenu:not(.is-open):hover .nav-submenu,
  .site-nav .nav-item.has-submenu:not(.is-open):focus-within .nav-submenu {
    display: none;
  }
  .site-nav .nav-item.has-submenu.is-open .nav-submenu {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    width: 100%;
    margin-top: 6px;
    padding: 6px 0 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .site-nav .nav-submenu a {
    padding: 9px 12px;
  }
}
.line-svg-icon,
.line-svg-icon svg {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}
.line-title-accent {
  color: inherit;
}
.line-svg-icon {
  color: var(--line-icon-color, inherit);
}
.footer-social .line-svg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social .line-svg-icon svg,
.footer-social .line-svg-icon img {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}
.contact-form-section .wpcf7 {
  width: 100%;
}
.contact-form-section form.wpcf7-form,
.project-form.wpcf7-form {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(8, 47, 73, 0.08);
  box-shadow: 0 24px 70px rgba(8, 47, 73, 0.08);
  position: relative;
  overflow: hidden;
}
.contact-form-section form.wpcf7-form:before,
.project-form.wpcf7-form:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 60px;
  right: -120px;
  top: -120px;
  background: linear-gradient(145deg, rgba(18, 92, 131, 0.12), rgba(247, 156, 42, 0.08));
  transform: rotate(24deg);
  pointer-events: none;
}
.project-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  font: inherit;
  color: inherit;
}
.project-form input:not([type="submit"]),
.project-form select,
.project-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(8, 47, 73, 0.14);
  background: #f8fafb;
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--brand-blue-deep);
  outline: none;
  font: 500 14px Poppins, Arial, sans-serif;
  appearance: none;
}
.project-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--brand-blue-deep) 50%), linear-gradient(135deg, var(--brand-blue-deep) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.project-form textarea {
  resize: vertical;
  min-height: 150px;
}
.project-form input:not([type="submit"]):focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(18, 92, 131, 0.08);
  background-color: #fff;
}
.project-form ::placeholder {
  color: #8b979e;
  opacity: 1;
}
.project-form .form-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.project-form .form-submit > span {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}
.project-form input.wpcf7-submit {
  width: auto;
  min-width: 185px;
  height: 58px;
  margin: 0;
  padding: 0 48px 0 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-red), #e33d49);
  color: #fff;
  box-shadow: 0 12px 30px rgba(209, 39, 52, 0.24);
  font: 700 14px Poppins, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  appearance: none;
}
.project-form input.wpcf7-submit:hover {
  background: linear-gradient(135deg, var(--brand-red), #e33d49);
  color: #fff;
  box-shadow: 0 16px 38px rgba(209, 39, 52, 0.34);
}
.project-form .wpcf7-not-valid {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(209, 39, 52, 0.07);
}
.project-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: var(--brand-red);
  font: 600 11px Poppins, Arial, sans-serif;
}
.project-form .wpcf7-spinner {
  position: absolute;
  right: -36px;
  margin: 0;
}
.contact-form-section .wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border-width: 1px;
  font: 600 12px Poppins, Arial, sans-serif;
}
.project-form.sent .wpcf7-response-output {
  border-color: #14734b;
  color: #14734b;
}
@media (max-width: 760px) {
  .project-form .form-submit,
  .project-form input.wpcf7-submit {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .contact-form-section form.wpcf7-form,
  .project-form.wpcf7-form {
    padding: 20px;
    border-radius: 22px;
  }
}
.product-images {
  align-items: flex-end;
}
.product-images .product-image {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  min-width: 0;
}
.product-images .product-image img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.elementor-editor-active .hero,
.elementor-editor-active .section {
  pointer-events: auto;
}

/* =========================================================
   Mobile: center all text + full-width buttons
   ========================================================= */
@media (max-width: 760px) {
  /* ---- Text: everything centered ---- */
  body,
  .center-head,
  .footer-grid small,
  .contact-bottom address,
  .project-form input.wpcf7-submit {
    text-align: center;
  }

  /* Text-only flex columns: center children horizontally.
     (Containers that hold images/visuals are deliberately excluded so
     they are not shrunk to zero width.) */
  .hero-content,
  .hero-title-stack,
  .hero-actions,
  .center-head,
  .editorial-aside,
  .flow-type,
  .values-intro,
  .contact-form-copy,
  .visit-actions,
  .page-cta-inner,
  .footer-about,
  .footer-column,
  .footer-contact,
  .footer-bottom,
  .split-section-title,
  .refined-head,
  .process-head {
    align-items: center;
  }

  /* Inline-flex rows (kicker, links, tags, pills) → center */
  .eyebrow,
  .section-kicker,
  .contact-links,
  .footer-links,
  .footer-social,
  .sustain-area-links,
  .manifesto-tags,
  .value-tags,
  .product-pill-row,
  .capability-list,
  .impact-list,
  .direct-contact-list,
  .flow-pipe,
  .visit-actions,
  .hero-actions,
  .story-stat-row,
  .feature-strip,
  .cert-logos,
  .hero-stats {
    justify-content: center;
  }

  /* Elements sized to their content should sit in the middle */
  .section-kicker,
  .eyebrow,
  .footer-brand,
  .footer-column a,
  .mini-label,
  .media-label,
  .text-link,
  .light-link,
  .display-heading,
  .hero-title,
  .section-intro,
  .hero-lead,
  .footer-about,
  .footer-about p,
  .center-head .section-intro {
    margin-left: auto;
    margin-right: auto;
  }

  /* Section heads stack into one centered column */
  .section-head,
  .products .section-head {
    grid-template-columns: 1fr;
  }
  /* Prevent grid blow-out from no-wrap tag rows */
  .sustainability-copy,
  .about-copy,
  .sustainability-lead {
    min-width: 0;
    max-width: 100%;
  }
  .manifesto-tags,
  .value-tags,
  .product-pill-row {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  /* Decorative side-lines next to kickers break centering — hide them */
  .section-kicker:after,
  .display-heading:before {
    display: none;
  }
  /* Heading underline accent sits in the middle */
  .display-heading:after {
    margin-left: auto;
    margin-right: auto;
  }

  /* Cards with icon + text stacked in one column */
  .footer-contact > a,
  .footer-contact-item,
  .contact-card,
  .road-step,
  .flow-card,
  .journey-card,
  .value-card,
  .pillar,
  .sustain-card,
  .sustain-feature,
  .process-step {
    text-align: center;
  }
  .footer-contact > a,
  .footer-contact-item,
  .capability-list article,
  .impact-list article {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .story-stat-row article {
    align-items: center;
  }
  .direct-contact-list a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px 10px;
  }
  .story-stat-row article span {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero-stats article {
    text-align: center;
  }
  .hero-stats p {
    margin-left: auto;
    margin-right: auto;
  }
  .site-nav.open {
    align-items: center;
    text-align: center;
  }
  .site-nav .nav-item {
    align-items: center;
  }
  .site-nav .nav-submenu {
    padding: 0;
    align-items: center;
  }

  /* ---- Buttons: full width ---- */
  .btn,
  .btn-primary,
  .btn-ghost,
  .page-cta .btn,
  .hero-actions .btn,
  .visit-actions .btn,
  .project-form .form-submit,
  .project-form input.wpcf7-submit {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }
  .btn {
    gap: 12px;
  }
  /* Button wrappers inside centered flex columns must still stretch */
  .hero-actions,
  .visit-actions,
  .page-cta-inner > *,
  .project-form .form-bottom,
  .project-form .form-submit,
  .btn,
  .text-link,
  .light-link {
    width: 100%;
    align-self: stretch;
  }
  .hero-actions,
  .visit-actions {
    flex-direction: column;
  }
  .project-form .form-bottom {
    align-items: center;
  }
  .project-form .form-status {
    text-align: center;
  }
  /* Button wrapped in a paragraph (e.g. single product) */
  p > .btn {
    margin-left: 0;
    margin-right: 0;
  }
  /* Contact form submit: keep arrow inside, text centered */
  .project-form .form-submit {
    position: relative;
  }
  .project-form input.wpcf7-submit {
    padding: 0 48px;
  }
  .project-form .wpcf7-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
  /* Text links act as CTAs — full width and centered */
  .text-link,
  .light-link {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}
