/* =========================
   Welcome (Hero Mini) — Clean
   ========================= */

body {
  padding-top: 0 !important;
}

/* Section wrapper: centered, consistent with site grid */
.welcome-section {
  width: 90%;
  margin: 0 auto;
  margin: 0 auto;
  padding: 40px 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Content row: fill the section width */
.content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* text | logo */
  gap: clamp(8px, 2vw, 16px);
  flex-wrap: nowrap;
  /* keep side-by-side */
  min-width: 0;
  /* prevents overflow with long text */
}

/* Heading */
.contenth1 {
  color: #fff;
  margin: 0;
  line-height: 1.15;
  font-weight: 800;
  /* fluid but bounded type */
  font-size: clamp(22px, 3.2vw, 36px);
  /* let it take available space while keeping room for logo */
  flex: 1 1 auto;
  max-width: 72%;
  overflow-wrap: anywhere;
  /* safe wrapping if very long */
}

/* Logo */
.logowel {
  flex: 0 0 auto;
  height: auto;
  /* fluid width with sensible bounds */
  width: clamp(72px, 14vw, 160px);
  margin: 0;
  display: block;
}

/* =========================
   Responsive Tweaks
   ========================= */

/* Tablets */
@media (max-width: 1024px) {
  .contenth1 {
    max-width: 70%;
    font-size: clamp(20px, 3.8vw, 32px);
  }

  .logowel {
    width: clamp(68px, 16vw, 140px);
  }
}

/* Narrow phones — still side-by-side */
@media (max-width: 600px) {
  .contenth1 {
    max-width: 68%;
    font-size: clamp(18px, 5.4vw, 28px);
  }

  .logowel {
    width: clamp(64px, 22vw, 120px);
  }
}

/* Prevent unexpected gap above the next section */
.welcome-section+* {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ============================
   Video Section
   ============================ */

.video-section {
  width: 90%;
  /* ✅ match other sections */

  /* full layout width on desktop */
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px) 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Responsive video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* ✅ modern way to lock aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.35);
}

/* Video element */
.responsive-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ============================
   Responsive Adjustments
   ============================ */

/* Tablet */
@media (max-width: 1024px) {
  .video-section {
    width: 90vw;
    /* ✅ stays consistent with tablet grid */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .video-section {
    width: 90vw;
    padding: 16px 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .video-section {
    width: 90vw;
    padding: 14px 0;
  }
}


.underquote_container {
  width: 90%;
  /* ✅ keep consistent with other sections */

  /* matches your global layout */
  margin: 20px auto;
  /* reduced vertical spacing for better flow */
  border-radius: 8px;
  padding: 24px 20px;
  /* consistent padding */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.underquote_quote {
  margin: 0 auto;

  /* ✅ keeps text from being too wide */
}

.quote_mark {
  display: block;
  font-size: 2.4rem;
  color: #eec063;
  font-family: Georgia, serif;
  margin-bottom: 8px;
  line-height: 1;
}

.quote_text {
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: #f0f0f0;
  line-height: 1.5;
  margin: 0;
  padding: 0 10px;
}

/* Tablet */
@media (max-width: 768px) {
  .underquote_container {
    width: 90vw;
    padding: 18px 14px;
    margin: 16px auto;
  }

  .quote_mark {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  .quote_text {
    font-size: 0.98rem;
    line-height: 1.4;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .underquote_container {
    width: 90vw;
    padding: 20px 14px;
    margin: 14px auto;
  }

  .quote_mark {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }

  .quote_text {
    font-size: 0.88rem;
    line-height: 1.35;
  }
}

/* Optional: remove top spacing from next section */
.underquote_container+* {
  margin-top: 0 !important;
  padding-top: 0 !important;
}



.indeximagebio_section {
  font-family: 'Helvetica Neue', sans-serif;
  padding: 0;
  color: #fff;
}

/* Container: full width (1100px max) */
.indeximagebio_container {
  width: 90%;

  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* full 50/50 layout */
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(18px, 3vw, 28px) 0;
  box-sizing: border-box;
}

/* Image */
.indeximagebio_image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.indeximagebio_image img {
  width: 100%;
  max-width: none;
  /* ✅ no restriction on desktop */
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Content */
.indeximagebio_content {
  min-width: 280px;
}

.indeximagebio_content h1 {
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #fff;
}

.indeximagebio_content p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  margin: 0 0 16px;
  color: #eaeaea;
  max-width: 60ch;
}

/* Button */
.indeximagebio_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #f3e3c3, #eec063);
  color: #000;
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.indeximagebio_btn .icon {
  font-weight: 900;
  transition: transform 0.25s ease;
}

.indeximagebio_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  filter: saturate(1.05);
}

.indeximagebio_btn:hover .icon {
  transform: rotate(45deg);
}

/* ============================
   Responsive
   ============================ */

/* Tablet */
@media (max-width: 1024px) {
  .indeximagebio_container {
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 3vw, 28px);
    padding: clamp(16px, 3vw, 24px) 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .indeximagebio_container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
    padding: 16px 0;
  }

  .indeximagebio_image {
    order: -1;
    /* Image first */
  }

  .indeximagebio_image img {
    max-width: 340px;
    margin: 0 auto;
  }

  .indeximagebio_content h1 {
    font-size: clamp(20px, 5vw, 26px);
  }

  .indeximagebio_content p {
    font-size: 15px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .indeximagebio_image img {
    max-width: 500px;
  }

  .indeximagebio_content h1 {
    font-size: 22px;
  }

  .indeximagebio_content p {
    font-size: 14px;
  }
}

/* Remove unwanted spacing below section */
.indeximagebio_section+* {
  margin-top: 0 !important;
  padding-top: 0 !important;
}



/* Section */
.amun_intro {
  font-family: 'Helvetica Neue', sans-serif;
  padding: 0;
  /* no extra vertical space from the section */
  color: #fff;
}

/* Container: always 90vw / 1100px, centered */
.amun_container {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  /* text | image */
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(18px, 3vw, 28px) 0;
  /* controlled vertical breathing */
  box-sizing: border-box;
}

/* Image */
.amun_image {
  display: flex;
  justify-content: center;
}

.amun_image img {
  width: 100%;
  /* nice desktop size */
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Text */
.amun_content {
  min-width: 280px;
}

.amun_content h1 {
  margin: 0 0 10px;
  /* tighter gap to paragraph */
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.amun_content p {
  margin: 0 0 16px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: #eaeaea;
  max-width: 62ch;
}

/* Button */
.amun_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #f3e3c3, #eec063);
  color: #000;
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.amun_btn .icon {
  font-weight: 900;
  transition: transform .25s ease;
}

.amun_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  filter: saturate(1.05);
}

.amun_btn:hover .icon {
  transform: rotate(45deg);
}

/* =========================
   Responsive
   ========================= */

/* Tablet: keep two columns, balance spacing */
@media (max-width: 1024px) {
  .amun_container {
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 3vw, 28px);
    padding: clamp(16px, 3vw, 24px) 0;
  }

  .amun_image img {
    max-width: 360px;
  }
}

/* Phones: stack, image first */
@media (max-width: 768px) {
  .amun_container {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0;
    text-align: center;
  }

  .amun_image {
    order: -1;
  }

  /* image above text without changing markup */
  .amun_image img {
    margin: 0 auto;
  }

  .amun_content h1 {
    font-size: clamp(20px, 5.2vw, 26px);
  }

  .amun_content p {
    font-size: 15px;
    margin-bottom: 14px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .amun_image img {
    max-width: 320px;
  }

  .amun_content h1 {
    font-size: 22px;
  }

  .amun_content p {
    font-size: 14px;
  }
}

/* Ensure no surprise gap below this section on any screen */
.amun_intro+* {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* ================================
   Program Highlight Section
   ================================ */

/* Section Wrapper */
.car-highlight {
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  width: 90%;
  /* ✅ centered, matches team section */
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px) 0;
  box-sizing: border-box;
}

/* Title */
.title-container {
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.titlecenter {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
}

/* ================================
   Product Lineup Section
   ================================ */

/* Section Wrapper */
.prodlineup_section {
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  width: 90%;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px) 0;
  box-sizing: border-box;
}

/* Title */
/* Title */
.prodlineup_title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  /* ✅ Removed bottom margin entirely */
  padding-bottom: 4px;
  /* ✅ Tiny controlled spacing */
}

/* Filter Menu */
.prodlineup_filter-menu {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  margin: 0 auto 16px;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  color: #ffffff;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.prodlineup_filter-option {
  cursor: pointer;
  position: relative;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  transition: color 0.2s, transform 0.12s;
  border-radius: 6px;
}

.prodlineup_filter-option:hover {
  transform: translateY(-1px);
}

.prodlineup_filter-option:focus {
  outline: 3px solid rgba(232, 170, 86, 0.3);
  outline-offset: 3px;
}

.prodlineup_filter-option.active {
  color: #e8aa56;
  font-weight: 600;
}

.prodlineup_filter-option.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  height: 4px;
  width: 40px;
  background-color: #e8aa56;
  border-radius: 2px;
}

/* Program Card */
.prodlineup_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 40px);
  width: 100%;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 24px);
  box-sizing: border-box;
  transition: opacity 320ms ease, transform 320ms ease;
  border-radius: 14px;
}

.prodlineup_container.fade {
  opacity: 1;
  transform: none;
}

.prodlineup_container.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

/* Image */
.prodlineup_image {
  flex: 0 0 clamp(280px, 40%, 420px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.prodlineup_image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.prodlineup_image img:hover {
  transform: scale(1.03);
}

/* Details */
.prodlineup_details {
  flex: 1 1 0;
  min-width: 0;
}

.prodlineup_details h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 8px;
  color: #ffffff;
  line-height: 1.1;
}

.prodlineup_subtitle {
  margin: 0 0 12px;
  color: #e8aa56;
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.prodlineup_details p {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: #e6e6e6;
  margin: 0 0 14px;
  line-height: 1.6;
  max-width: 60ch;
}

/* Button */
.prodlineup_button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #f3e3c3, #eec063);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.prodlineup_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

/* ===================== Responsive ===================== */

/* Tablets */
@media (max-width: 1024px) {
  .prodlineup_container {
    gap: 20px;
    padding: 16px;
  }

  .prodlineup_image {
    flex: 0 0 clamp(240px, 50%, 300px);
  }

  .prodlineup_details h1 {
    font-size: 1.6rem;
  }
}

/* Mobile Stack */
@media (max-width: 768px) {
  .prodlineup_container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 16px;
  }

  .prodlineup_image {
    width: 80%;
    max-width: 360px;
    flex: 0 0 auto;
  }

  .prodlineup_details h1 {
    font-size: 1.4rem;
  }

  .prodlineup_details p {
    font-size: 0.9rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .prodlineup_container {
    padding: 14px;
  }

  .prodlineup_image {
    width: 88%;
    max-width: 320px;
  }

  .prodlineup_details h1 {
    font-size: 1.25rem;
  }

  .prodlineup_details p {
    font-size: 0.88rem;
  }

  .prodlineup_filter-option {
    font-size: 0.85rem;
    padding: 6px 8px;
  }
}

.prodlineup_section {
  padding-bottom: 0 !important;
  /* ✅ removes extra bottom padding */
  margin-bottom: 0 !important;
  /* ✅ kills any section margin */
}

.prodlineup_container {
  margin-bottom: 0 !important;
  /* ✅ ensures the container doesn't add space */
  padding-bottom: 0 !important;
}

.prodlineup_section+* {
  margin-top: 0 !important;
  /* ✅ prevents next section from adding extra top margin */
  padding-top: 0 !important;
}

/* Desktop/Tablet: no extra space under the section */
@media (min-width: 701px) {
  .prodlineup_section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .prodlineup_container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .prodlineup_section+* {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Mobile: bring back a modest gap below the section */
@media (max-width: 700px) {
  .prodlineup_section {
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
  }

  .prodlineup_container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .prodlineup_section+* {
    margin-top: 20px !important;
    padding-top: 0 !important;
  }
}

.about-acetia {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  background-color: #0a0a0a;
  /* optional */
}

.about-container {
  max-width: 800px;
  /* narrower for easier reading */
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.about-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #e8aa56;
  margin-bottom: 20px;
}

.about-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .about-header h2 {
    font-size: 24px;
  }

  .about-header p {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .about-acetia {
    padding: 0px 16px;
  }

  .about-header h2 {
    font-size: 20px;
  }

  .about-header p {
    font-size: 15px;
  }
}

/* Container */
.testimun_name-section {
  background-color: #0a0a0a;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* viewport & masks */
.testimun_name-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  box-sizing: border-box;
}

/* left & right gradient masks */
.testimun_name-container::before,
.testimun_name-container::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.testimun_name-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
}

.testimun_name-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
}

/* slider & wrapper */
.testimun_name-slider {
  display: block;
  width: 100%;
  overflow: visible;
  /* wrapper handles overflow */
}

.testimun_name-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  /* animation is injected by JS with pixel translation to ensure perfect seam */
  will-change: transform;
}

/* single item */
.testimun_name-logo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 320px;
  padding: 12px;
  box-sizing: border-box;
  text-align: center;
}

.testimun_name-title {
  font-size: 22px;
  font-weight: 700;
  color: #e8aa56;
  white-space: nowrap;
}

.testimun_name-text {
  background: linear-gradient(135deg, #ffffff, #aaaaaa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  max-width: 300px;
}

/* pause on hover/focus of container */
.testimun_name-container:hover .testimun_name-wrapper,
.testimun_name-container:focus-within .testimun_name-wrapper {
  animation-play-state: paused !important;
  -webkit-animation-play-state: paused !important;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .testimun_name-wrapper {
    gap: 32px;
  }

  .testimun_name-logo {
    min-width: 220px;
    max-width: 280px;
  }

  .testimun_name-title {
    font-size: 20px;
  }

  .testimun_name-text {
    font-size: 15px;
  }

  .testimun_name-container::before,
  .testimun_name-container::after {
    width: 110px;
  }
}

@media (max-width: 768px) {
  .testimun_name-wrapper {
    gap: 24px;
  }

  .testimun_name-logo {
    min-width: 200px;
    max-width: 240px;
  }

  .testimun_name-title {
    font-size: 18px;
  }

  .testimun_name-text {
    font-size: 14px;
  }

  .testimun_name-container::before,
  .testimun_name-container::after {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .testimun_name-wrapper {
    gap: 18px;
  }

  .testimun_name-logo {
    min-width: 180px;
    max-width: 220px;
  }

  .testimun_name-title {
    font-size: 16px;
  }

  .testimun_name-text {
    font-size: 13px;
  }

  .testimun_name-container::before,
  .testimun_name-container::after {
    width: 60px;
  }
}

/* Key Features — improved responsive layout (no :root vars) */
.key-features-section {
  color: #ffffff;
  padding: 20px 20px 20px 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  box-sizing: border-box;
  background: transparent;
  /* keep existing page background */
}

/* container centered, with a hard max-width like before */
.features-container {
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  /* default: two-column layout on desktop */
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px;
  /* small horizontal breathing room */
}

/* Left Title (keeps fixed column width on wide screens) */
.feature-left {
  flex: 0 0 300px;
  /* fixed-ish left column */
  max-width: 300px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Right features grid (fills remaining space) */
.feature-items {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

/* Individual feature box */
.feature-box {
  background: transparent;
  /* keep transparent, change if you want a card */
  padding: 0;
}

/* Heading with small accent bar */
.feature-box h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  padding-left: 18px;
}

/* decorative bar left of h3 */
.feature-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 3px;
  height: 16px;
  background-color: #e8aa56;
  border-radius: 2px;
}

/* paragraph copy */
.feature-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #dddddd;
  margin: 0;
}

/* Responsive behavior: tablet */
@media (max-width: 1024px) {
  .features-container {
    gap: 24px;
    flex-wrap: wrap;
    /* allow left and right to stack if needed */
    padding: 0 12px;
  }

  .feature-left {
    flex: 1 1 100%;
    max-width: none;
    font-size: 28px;
    margin-bottom: 20px;
  }

  .feature-items {
    grid-template-columns: 1fr;
    /* single column grid on tablet */
    gap: 20px;
    width: 100%;
  }
}

/* Smaller tablets / big phones */
@media (max-width: 768px) {
  .key-features-section {
    padding: 40px 16px;
  }

  .feature-left {
    font-size: 24px;
  }

  .feature-box h3 {
    font-size: 14px;
  }

  .feature-box p {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .key-features-section {
    padding: 32px 14px;
  }

  .features-container {
    gap: 18px;
  }

  .feature-left {
    font-size: 20px;
    line-height: 1.2;
  }

  .feature-items {
    grid-template-columns: 1fr;
    /* still single-column */
    gap: 18px;
  }

  .feature-card {
    /* optional if you want a subtle card look on mobile */
    padding: 8px 0;
  }
}

/* Utility: ensure consistent box-sizing for children */
.features-container,
.feature-items,
.feature-box,
.feature-left {
  box-sizing: border-box;
}

.team-split-section {
  --gap: clamp(24px, 4vw, 48px);

  width: 90%;
  margin: 0 auto 40px;
  /* ⬅ bottom margin added */
  padding: clamp(28px, 5vw, 64px) 0 0;
  color: #fff;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--gap);
}

/* ===== Left column ===== */

.team-split-left {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 18px);
}

.team-overline {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  margin: 0;
}

.team-title {
  color: #e8aa56;
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.05;
}

.team-description {
  margin: 0;
  color: #d1d1d1;
  line-height: 1.55;
  /* allow wider text so the left column uses its space */
  max-width: 62ch;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
}

/* ===== Right column ===== */

.team-split-right {
  position: relative;
  display: flex;
  flex-direction: column;
  /* image then dots */
  align-items: center;
  /* center the square within the column */
  gap: clamp(20px, 2vw, 16px);
}

/* Make the square BIG on desktop so the section feels full-width */
.team-carousel {
  position: relative;
  /* large but safe: grows with column, capped so it doesn't overflow */
  width: clamp(420px, 82%, 560px);
  aspect-ratio: 1 / 1;
  /* perfect square (9:9) */
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b0b;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  will-change: transform;
  cursor: pointer;
}

.team-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity .6s ease, transform .8s cubic-bezier(.25, .85, .25, 1);
}

.team-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.team-slide.exiting {
  opacity: 0;
  transform: scale(1.05);
  z-index: 1;
}

.team-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-slide-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(14px, 2.6vw, 20px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .88) 85%);
}

.team-slide-info span {
  display: block;
  color: #bbb;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
}

.team-slide-info h3 {
  margin: 0.25em 0 0 0;
  font-weight: 800;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  line-height: 1.2;
}

/* ===== Dots BELOW image ===== */

.team-nav-dots {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 14px);
}

.team-dot {
  width: clamp(12px, 1.6vw, 14px);
  height: clamp(12px, 1.6vw, 14px);
  border-radius: 50%;
  border: none;
  background: #4a4a4a;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.team-dot.active {
  background: #e8aa56;
  transform: scale(1.15);
}

/* ===== Hover polish (desktop pointers) ===== */
@media (pointer: fine) {

  .team-carousel:hover,
  .team-carousel:focus-within {
    transform: scale(1.04);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .6), 0 0 18px rgba(232, 170, 86, 0.45);
  }

  .team-carousel img {
    transition: transform .7s ease;
  }

  .team-carousel:hover img,
  .team-carousel:focus-within img {
    transform: scale(1.08);
  }
}

/* ===== Tablet & iPad (portrait & landscape) =====
   Keep 2 columns so portrait looks same as landscape */
@media (max-width: 1180px) {
  .team-carousel {
    width: clamp(380px, 78%, 520px);
  }

  /* slightly smaller but still big */
}

/* ===== Phones only (stack) ===== */
@media (max-width: 700px) {
  .team-split-section {
    grid-template-columns: 1fr;
    /* stack on phones */
    align-items: start;
    text-align: center;
    margin-bottom: 20px;
    /* ✅ adds spacing below the section */
  }

  .team-split-left {
    align-items: center;
  }

  .team-description {
    max-width: 60ch;
  }

  .team-carousel {
    width: 100%;
  }

  /* full-width square on phones */
}


/* Flush spacing below section */
.team-split-section+* {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Base */
.announcement_section {
  width: 90%;
  margin: 10px auto;
  padding: 18px 16px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.announcement_header {
  text-align: left;
  margin-bottom: 12px;
}

.announcement_header h2 {
  margin: 0 0 6px 0;
  color: #e8aa56;
  font-size: 1.9rem;
  line-height: 1.05;
}

.announcement_subtitle {
  margin: 0;
  color: #cfcfcf;
  font-size: 0.95rem;
}

/* Slider container */
.announcement_slider_container {
  position: relative;
  overflow: visible;
  margin: 0;
  border-radius: 16px;
}

.announcement_slider_wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.announcement_slider {
  display: flex;
  gap: 20px;
  transition: transform 500ms cubic-bezier(0.22, 0.9, 0.29, 1);
  will-change: transform;
  align-items: stretch;
  padding-bottom: 4px;
  min-width: 0;
  touch-action: pan-y;
  box-sizing: border-box;
  width: auto;
}

.announcement_slider.no-transition {
  transition: none !important;
}

/* Cards */
.announcement_card {
  flex: 0 0 33.3333%;
  background: #0f0f0f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.announcement_card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #0b0b0b;
}

.announcement_info {
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.announcement_info h3 {
  margin: 0;
  font-size: 18px;
  color: #e8aa56;
  line-height: 1.2;
}

.announcement_info p {
  margin: 0;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.45;
}

/* Buttons */
.announcement_button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(232, 170, 86, 0.6);
  color: #e8aa56;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  z-index: 60;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement_button:hover {
  background: rgba(232, 170, 86, 0.12);
  box-shadow: 0 0 12px rgba(232, 170, 86, 0.45);
  transform: translateY(-50%) scale(1.07);
}

.announcement_button:active {
  transform: translateY(-50%) scale(0.98);
}

.announcement_button.prev {
  left: 14px;
}

.announcement_button.next {
  right: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .announcement_button {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .announcement_slider_container {
    width: 90vw !important;
    max-width: 90vw !important;
    margin: 0 auto !important;
    border-radius: 10px;
  }

  .announcement_section {
    padding: 12px 10px;
  }

  .announcement_card {
    flex: 0 0 100% !important;
    border-radius: 10px;
  }

  .announcement_card img {
    height: 180px;
  }

  .announcement_info h3 {
    font-size: 16px;
  }

  .announcement_info p {
    font-size: 13px;
  }

  .announcement_button {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .announcement_button.prev {
    left: 8px;
  }

  .announcement_button.next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .announcement_section {
    width: 90vw !important;
    max-width: 90vw !important;
  }

  .announcement_slider_container {
    width: 90vw !important;
    max-width: 90vw !important;
    margin: 0 auto !important;
    border-radius: 10px;
  }

  .announcement_slider {
    gap: 12px;
  }

  .announcement_card {
    flex: 0 0 100% !important;
    /* ✅ card fills container width */
    max-width: 100% !important;
    /* ✅ no shrinking */
  }

  .announcement_card img {
    height: 160px;
  }
}

/* ============================
   Layout & alignment fixes (class-only)
   - Enforces max-width: 1100px and responsive ~90% widths
   - Small alignment tweaks (wrap/ordering) to prevent overflow
   - Place this at the end of your CSS
   ============================ */

/* Unified container sizing — class-only */
.welcome-section,
.video-section,
.underquote_container,
.indeximagebio_container,
.amun_container,
.car-highlight,
.prodlineup_section,
.prodlineup_container,
.features-container,
.team-split-section,
.announcement_section,
.announcement_slider_container,
.testimun_name-container,
.key-features-section,
.indeximagebio_section,
.about-acetia,
.team-split-section,
.munterra_container,
.dw-wrap {
  box-sizing: border-box;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(12px, 3.5vw, 20px);
  /* keeps generous gutters */
}

/* Defensive: ensure immediate children don't overflow */
.welcome-section *,
.video-section *,
.underquote_container *,
.indeximagebio_container *,
.amun_container *,
.prodlineup_container *,
.features-container *,
.team-split-section *,
.announcement_section *,
.testimun_name-container * {
  box-sizing: inherit;
  min-width: 0;
}

/* Fix: hero/content row — allow wrapping on narrow viewports to avoid overflow */
@media (max-width: 900px) {
  .content {
    /* welcome-section content row */
    flex-wrap: wrap;
    /* allow logo + heading to stack when needed */
    gap: clamp(8px, 3vw, 14px);
  }

  .contenth1 {
    max-width: 100%;
    flex: 1 1 100%;
    order: 1;
  }

  .logowel {
    flex: 0 0 auto;
    order: 2;
    margin-top: 8px;
  }
}

/* Prevent fixed/absolute CTA or other elements inside final sections from overflowing */
@media (max-width: 560px) {

  .prodlineup_container,
  .announcement_slider_container,
  .indeximagebio_container,
  .amun_container,
  .team-split-section {
    width: 90%;
    /* a safe fallback for very small screens */
    padding-inline: 14px;
  }
}

/* Announcement slider: ensure internal slider respects the container width */
.announcement_slider,
.announcement_slider_wrapper,
.announcement_slider_container {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* Team carousel + slides: ensure the big square scales but never overflows container */
.team-carousel {
  max-width: 100%;
  width: clamp(280px, 60%, 560px);
  /* scales down inside capped container */
}

/* Slider / wrappers: ensure children shrink if necessary */
.testimun_name-wrapper,
.announcement_slider,
.prodlineup_container {
  min-width: 0;
}

/* Defensive small-viewport gutters so content won't touch screen edges */
@media (max-width: 640px) {

  .welcome-section,
  .video-section,
  .underquote_container,
  .indeximagebio_container,
  .amun_container,
  .prodlineup_section,
  .features-container,
  .team-split-section,
  .announcement_section {
    padding-left: 14px;
    padding-right: 14px;
    width: calc(100% - 28px);
    max-width: none;
  }
}

/* Extra defensive rule for very large screens (keeps layout visually centered) */
@media (min-width: 1400px) {

  .welcome-section,
  .video-section,
  .underquote_container,
  .indeximagebio_container,
  .amun_container,
  .car-highlight,
  .prodlineup_section,
  .features-container,
  .team-split-section,
  .announcement_section {
    width: 90%;
  }
}

/* ============================
   Force desktop layout on iPads
   (class-only — drop at end of CSS)
   Targets typical iPad widths (portrait & landscape)
   ============================ */

/* Broad iPad range: small iPad up to large iPad Pro */
@media (min-width: 768px) and (max-width: 1366px) {

  /* Keep the main site containers centered and at site width behavior */
  .dw-wrap,
  .welcome-section,
  .video-section,
  .indeximagebio_container,
  .amun_container,
  .munterra_hero_grid,
  .dw-hero__grid,
  .prodlineup_container {
    width: 90%;
    margin-inline: auto;
    padding-inline: clamp(12px, 4vw, 20px);
    box-sizing: border-box;
  }

  /* Force two-column grids used on desktop to stay two-column */
  .dw-hero__grid,
  .munterra_hero_grid,
  .indeximagebio_container,
  .amun_container,
  .prodlineup_container,
  .team-split-section {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    /* desktop split preserved */
    gap: clamp(16px, 3.2vw, 32px) !important;
    align-items: center !important;
    min-width: 0;
  }

  /* Ensure tiles / card lists preserve 2-up desktop layout */
  .dw-cards,
  .munterra_tiles,
  .munterra_three,
  .feature-items {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: clamp(12px, 3vw, 20px) !important;
  }

  /* Prevent hero or content rows from stacking (logo + heading) */
  .content {
    flex-wrap: nowrap !important;
    gap: clamp(8px, 2vw, 16px);
    align-items: center;
  }

  .contenth1 {
    flex: 1 1 60% !important;
    max-width: 60% !important;
  }

  .logowel {
    flex: 0 0 auto !important;
    width: clamp(72px, 16vw, 160px) !important;
  }

  /* Team carousel: keep square and large but bounded to container */
  .team-carousel {
    width: clamp(360px, 48%, 560px) !important;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
  }

  /* Announcement slider: cards remain multi-column when space allows */
  .announcement_card {
    flex: 0 0 33.3333% !important;
  }

  /* Keep FAQ layout unchanged (two-column-like spacing) */
  .dw-faq .dw-wrap {
    width: min(1100px, 92%);
  }

  /* Ensure images scale down but don't overflow their grid cells */
  .dw-panel,
  .indeximagebio_image img,
  .amun_image img,
  .prodlineup_image img,
  .announcement_card img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-sizing: border-box;
  }

  /* Defensive: make flex/grid children shrink instead of forcing layout break */
  .dw-wrap>*,
  .indeximagebio_container>*,
  .amun_container>*,
  .prodlineup_container>*,
  .team-split-section>* {
    min-width: 0 !important;
  }
}

/* Additional: ensure very narrow iPad-like screens (small landscape) also keep columns */
@media (min-width: 700px) and (max-width: 900px) and (orientation: landscape) {

  .dw-hero__grid,
  .munterra_hero_grid,
  .indeximagebio_container,
  .amun_container {
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(12px, 3vw, 20px) !important;
  }
}

/* ===== Ensure containers occupy ~90vw (clamped) and never exceed 1100px
   Place this at the VERY END of your stylesheet (class-only) ===== */

.dw-wrap,
.welcome-section,
.video-section,
.underquote_container,
.indeximagebio_container,
.amun_container,
.car-highlight,
.prodlineup_section,
.prodlineup_container,
.features-container,
.team-split-section,
.announcement_section,
.announcement_slider_container,
.testimun_name-container,
.key-features-section,
.indeximagebio_section,
.about-acetia,
.munterra_container {
  box-sizing: border-box !important;
  /* prefer 90vw */
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: clamp(12px, 3.5vw, 20px) !important;
  min-width: 0 !important;
  /* allow children to shrink */
}

/* Make sure children respect container sizing and don't overflow */
.dw-wrap *,
.welcome-section *,
.video-section *,
.indeximagebio_container *,
.amun_container *,
.prodlineup_container *,
.features-container *,
.team-split-section *,
.announcement_slider_container *,
.testimun_name-container * {
  box-sizing: inherit !important;
  min-width: 0 !important;
}

/* If any row was previously set to nowrap and causing overflow, allow wrap where needed */
.content,
.content>*,
.prodlineup_container,
.indeximagebio_container,
.amun_container,
.munterra_hero_grid,
.dw-hero__grid {
  min-width: 0 !important;
  flex-wrap: wrap;
}

/* Images / panels should scale to container without exceeding it */
.dw-panel,
.indeximagebio_image img,
.amun_image img,
.prodlineup_image img,
.announcement_card img,
.testimun_name-logo img,
.dw-panel__img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

/* Tablet / iPad: keep desktop two-column grids where intended, bounded by the clamped width */
@media (min-width: 768px) and (max-width: 1366px) {

  .dw-hero__grid,
  .munterra_hero_grid,
  .indeximagebio_container,
  .amun_container,
  .prodlineup_container,
  .team-split-section {
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: clamp(16px, 3vw, 32px) !important;
  }
}

/* Very small viewports: keep comfortable gutters */
@media (max-width: 640px) {

  .dw-wrap,
  .welcome-section,
  .video-section,
  .indeximagebio_container,
  .amun_container,
  .prodlineup_section,
  .features-container,
  .team-split-section,
  .announcement_section {
    width: calc(100% - 28px) !important;
    /* ~14px gutters each side */
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: none !important;
  }
}

/* =========================
  Mobile polish: keep welcome (heading + logo) consistent
  ========================= */

/* Force the welcome row to remain side-by-side (no stacking) on small screens,
   but prevent overflow by truncating heading if necessary. */
@media (max-width: 900px) {

  .welcome-section,
  .welcome-section .content {
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    /* keep side-by-side */
  }

  /* Fixed, predictable logo width on all screens */
  .logowel {
    flex: 0 0 96px !important;
    /* fixed visual size on mobile & desktop */
    width: 96px !important;
    height: auto !important;
    display: block !important;
  }

  /* Heading: allow only a single line visually, but keep accessible (wrap if needed) */
  .contenth1 {
    flex: 1 1 auto !important;
    max-width: calc(100% - 112px) !important;
    /* leave room for logo + gap */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    line-height: 1.05 !important;
    font-size: clamp(18px, 4.5vw, 32px) !important;
  }

  /* Slightly reduce section padding so it fits small screens cleanly */
  .welcome-section {
    padding-inline: 12px !important;
    padding-block: 10px !important;
  }
}

/* Keep the same welcome look even on very small viewports */
@media (max-width: 420px) {
  .logowel {
    flex: 0 0 84px !important;
    width: 84px !important;
  }

  .contenth1 {
    max-width: calc(100% - 100px) !important;
    font-size: clamp(16px, 5.6vw, 28px) !important;
  }
}

/* =========================
  Announcement images: same visible size on all screens
  ========================= */

/* Make announcement card images a locked, consistent visual height
   while preserving cover behavior to avoid distortion. */
.announcement_card {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 360px;
  /* limits how wide a single card image can get on wide screens */
  margin-inline: auto;
  box-sizing: border-box !important;
}

/* Force images to use a fixed display height + cover cropping */
.announcement_card img {
  width: 100% !important;
  height: 220px !important;
  /* consistent visible height across breakpoints */
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 10px !important;
}

/* Preserve the same image height even on mobile where cards become full-width */
@media (max-width: 768px) {
  .announcement_card {
    max-width: 100% !important;
  }

  .announcement_card img {
    height: 220px !important;
  }
}

/* Very small phones — keep same height but slightly reduce card padding so it fits */
@media (max-width: 420px) {
  .announcement_card img {
    height: 200px !important;
  }
}

/* If you use the slider with three-up on desktop, ensure it still shows same image heights */
.announcement_slider .announcement_card,
.announcement_slider_wrapper .announcement_card {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}

/* Minor: remove changing image heights elsewhere that may override */
.announcement_card img,
.announcement_card img[style] {
  max-height: none !important;
  min-height: 0 !important;
}

/* =========================
  Extra defensive: prevent hero overflow from long words/links
  ========================= */
.welcome-section *,
.content * {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Footer styles moved to style.css */