/* ==========================================================================
   Base / reset — mirrors the normalisation Elementor + the Collax theme apply
   on the target. Orchestrator-owned: read-only to section builders.
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 1.5em;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; border: 0; }

a { color: inherit; text-decoration: none; transition: all var(--dur); }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

/* Layout primitives, equivalent to Elementor's boxed container -------------- */

.sec { position: relative; width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Visibility utilities matching the Elementor breakpoints ------------------- */

@media (max-width: 767px) {
  .hidden-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hidden-tablet { display: none !important; }
}
@media (min-width: 1025px) {
  .hidden-desktop { display: none !important; }
}

/* The only entrance animations present on the target: slideInUp x3 and the
   fadeInRight the testimonial slider applies to its slide content. */

@keyframes slideInUp {
  from { transform: translate3d(0, 100%, 0); visibility: visible; }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(100%, 0, 0); }
  to { opacity: 1; transform: none; }
}
.animated { animation-duration: 1s; animation-fill-mode: both; }
.animated.slideInUp { animation-name: slideInUp; }
.animated.fadeInRight { animation-name: fadeInRight; }

@media (prefers-reduced-motion: reduce) {
  .animated { animation: none !important; }
  * { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
