/*
 * Sintrel Theme – Main Stylesheet
 * Matches Figma design export exactly.
 * -------------------------------------------------------
 * 1. Reset & Base
 * 2. Typography
 * 3. Layout / Container
 * 4. Buttons
 * 5. Header
 * 6. Footer
 * 7. Hero / Page Banner
 * 8. Sections (Layout blocks)
 * 9. Product Cards
 * 10. Partner Logos
 * 11. FAQ Accordion
 * 12. CTA Banner
 * 13. Breadcrumbs
 * 14. Forms
 * 15. Utility
 * 16. Responsive
 */

/* ══════════════════════════════════════════════════════════
   1. Reset & Base
   ══════════════════════════════════════════════════════════ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;           /* prevent horizontal scroll from full-width sections */
}

body {
  font-family:    var(--sintrel-font-sans);
  font-size:      1rem;
  line-height:    1.6;
  color:          var(--sintrel-text-primary);
  background:     var(--sintrel-white);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

/* Full-width page wrappers */
#page, .site { width: 100%; max-width: none; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══════════════════════════════════════════════════════════
   2. Typography
   ══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family:  var(--sintrel-font-sans);
  font-weight:  700;
  line-height:  1.2;
  color:        var(--sintrel-black);
}

h1 { font-size: clamp(2.25rem, 4vw, 3.75rem); }   /* ~60px */
h2 { font-size: clamp(1.75rem, 3vw, 3rem);    }   /* ~48px */
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem);  }   /* ~24px */
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem;    }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.sintrel-tagline {
  font-size:    0.875rem;
  font-weight:  600;
  line-height:  1.4;
  color:        var(--sintrel-text-primary);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════════════════════
   3. Layout / Container
   ══════════════════════════════════════════════════════════ */

.sintrel-container {
  width:      100%;
  max-width:  calc(var(--container-max) + var(--container-padding) * 2);
  margin-left:  auto;
  margin-right: auto;
  padding-left:  var(--container-padding);
  padding-right: var(--container-padding);
}

.sintrel-main { min-height: 50vh; width: 100%; overflow-x: hidden; }

/* Section padding (Figma: py-28 = 112px) */
.sintrel-section {
  padding-top:    7rem;
  padding-bottom: 7rem;
}
.sintrel-section--sm {
  padding-top:    3.5rem;
  padding-bottom: 3.5rem;
}
.sintrel-section--gray { background-color: var(--sintrel-gray-lightest); }
.sintrel-section--dark { background-color: var(--sintrel-black); color: var(--sintrel-white); }

/* Two-column layout */
.sintrel-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.sintrel-two-col--center { align-items: center; }

/* Three-column layout */
.sintrel-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Five-column product carousel */
.sintrel-product-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ══════════════════════════════════════════════════════════
   4. Buttons
   ══════════════════════════════════════════════════════════ */

.sintrel-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             0.5rem;
  font-size:       1rem;
  font-weight:     400;
  line-height:     1.5;
  white-space:     nowrap;
  transition:      background var(--sintrel-transition), color var(--sintrel-transition), border-color var(--sintrel-transition), opacity var(--sintrel-transition);
  text-decoration: none;
  border-radius:   var(--sintrel-radius-sm);
}

/* Sizes */
.sintrel-btn--md { padding: 0.75rem 1.5rem; }    /* py-3 px-6 */
.sintrel-btn--sm { padding: 0.5rem  1.25rem; }   /* py-2 px-5 */

/* Primary: Black fill */
.sintrel-btn--primary {
  background-color: var(--sintrel-black);
  color:            var(--sintrel-white);
  border:           1px solid var(--sintrel-black);
}
.sintrel-btn--primary:hover {
  background-color: #222;
  border-color:     #222;
  text-decoration:  none;
}

/* Secondary: Outline */
.sintrel-btn--secondary {
  background-color: transparent;
  color:            var(--sintrel-black);
  border:           1px solid var(--sintrel-black);
}
.sintrel-btn--secondary:hover {
  background-color: var(--sintrel-black);
  color:            var(--sintrel-white);
  text-decoration:  none;
}

/* Secondary on dark backgrounds */
.sintrel-btn--secondary-dark {
  background-color: transparent;
  color:            var(--sintrel-white);
  border:           1px solid var(--sintrel-white);
}
.sintrel-btn--secondary-dark:hover {
  background-color: var(--sintrel-white);
  color:            var(--sintrel-black);
  text-decoration:  none;
}

/* Link style button */
.sintrel-btn--link {
  padding: 0;
  background: none;
  border: none;
  color: var(--sintrel-black);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════
   5. Header
   ══════════════════════════════════════════════════════════ */

.sintrel-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sintrel-white);
  width: 100%;
}

/* Offset sticky header when WP admin bar is visible */
.admin-bar .sintrel-header { top: 32px; }
@media screen and ( max-width: 782px ) { .admin-bar .sintrel-header { top: 46px; } }

/* Meta bar */
.sintrel-header__meta {
  border-bottom: 1px solid var(--sintrel-border);
  padding: 0.4rem 0;
}
.sintrel-header__meta-inner {
  display:         flex;
  justify-content: flex-end;
  align-items:     center;
  gap:             2rem;
}
.sintrel-nav-meta {
  display:     flex;
  align-items: center;
  gap:         2rem;
}
.sintrel-nav-meta li a {
  font-size:   0.75rem;
  font-weight: 400;
  color:       var(--sintrel-black);
  white-space: nowrap;
}
.sintrel-nav-meta li a:hover { text-decoration: underline; }

.sintrel-header__account {
  font-size:   0.75rem;
  color:       var(--sintrel-black);
  white-space: nowrap;
}

/* Main bar */
.sintrel-header__main {
  border-bottom: 1px solid var(--sintrel-border);
}
.sintrel-header__main-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          64px;
  gap:             1.5rem;
}

/* Logo */
.sintrel-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.sintrel-logo { height: 32px; width: auto; }

/* Primary nav */
.sintrel-nav { flex: 1; }
.sintrel-nav__list {
  display:     flex;
  align-items: center;
  gap:         2rem;
}
.sintrel-nav__list li { position: relative; }

.sintrel-nav__link {
  display:     inline-flex;
  align-items: center;
  gap:         0.25rem;
  font-size:   1rem;
  font-weight: 400;
  color:       var(--sintrel-black);
  white-space: nowrap;
  padding:     0.25rem 0;
}
.sintrel-nav__link:hover { text-decoration: none; color: var(--sintrel-black); }
.sintrel-nav__link:hover::after,
.sintrel-nav__list li.current-menu-item > .sintrel-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--sintrel-black);
}

.sintrel-nav__chevron { transition: transform var(--sintrel-transition); width: 18px; height: 18px; }
.sintrel-nav__link--dropdown[aria-expanded="true"] .sintrel-nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.sintrel-nav__dropdown {
  display:          none;
  position:         absolute;
  top:              calc(100% + 8px);
  left:             0;
  min-width:        220px;
  background:       var(--sintrel-white);
  border:           1px solid var(--sintrel-border);
  padding:          0.5rem 0;
  box-shadow:       0 8px 24px rgba(0,0,0,.08);
  z-index:          200;
}
.sintrel-nav__list li:hover > .sintrel-nav__dropdown,
.sintrel-nav__list li:focus-within > .sintrel-nav__dropdown { display: block; }
.sintrel-nav__dropdown li a {
  display:     block;
  padding:     0.5rem 1rem;
  font-size:   0.9375rem;
  color:       var(--sintrel-black);
  white-space: nowrap;
}
.sintrel-nav__dropdown li a:hover { background: var(--sintrel-gray-lightest); text-decoration: none; }

/* Header actions */
.sintrel-header__actions {
  display:     flex;
  align-items: center;
  gap:         1rem;
  flex-shrink: 0;
}

.sintrel-header__search-toggle {
  display:     flex;
  align-items: center;
  color:       var(--sintrel-black);
  background:  var(--sintrel-gray-lighter);
  border:      none;
  padding:     0.25rem 0.75rem;
  border-radius: var(--sintrel-radius-sm);
  gap:         0.5rem;
}
.sintrel-header__search-toggle::after { content: 'Suche'; font-size: 0.875rem; color: var(--sintrel-gray-medium); }

.sintrel-header__cart {
  position: relative;
  display:  flex;
  align-items: center;
  color: var(--sintrel-black);
}
.sintrel-header__cart-count {
  position:         absolute;
  top:              -6px;
  right:            -8px;
  background:       var(--sintrel-black);
  color:            var(--sintrel-white);
  font-size:        0.625rem;
  font-weight:      600;
  width:            16px; height: 16px;
  border-radius:    50%;
  display:          flex;
  align-items:      center;
  justify-content:  center;
}
.sintrel-header__cart-count:empty,
.sintrel-header__cart-count[data-cart-count="0"] { display: none; }

/* Burger (mobile) */
.sintrel-header__burger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  padding:        4px;
}
.sintrel-header__burger span {
  display:       block;
  width:         22px; height: 2px;
  background:    var(--sintrel-black);
  border-radius: 2px;
  transition:    transform var(--sintrel-transition), opacity var(--sintrel-transition);
}
.sintrel-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sintrel-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sintrel-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar */
.sintrel-header__search-bar {
  border-bottom: 1px solid var(--sintrel-border);
  padding: 0.75rem 0;
  background: var(--sintrel-white);
}
.sintrel-header__search-bar .search-form { display: flex; gap: 0.5rem; }
.sintrel-header__search-bar .search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sintrel-border);
  font-size: 1rem;
  border-radius: var(--sintrel-radius-sm);
}
.sintrel-header__search-bar .search-submit {
  padding: 0.5rem 1rem;
  background: var(--sintrel-black);
  color: var(--sintrel-white);
  border: none;
  border-radius: var(--sintrel-radius-sm);
  cursor: pointer;
}

/* Mobile menu */
.sintrel-mobile-menu {
  background: var(--sintrel-white);
  border-bottom: 1px solid var(--sintrel-border);
  padding: 1rem 0;
}
.sintrel-mobile-nav__list { padding: 0 1.5rem; }
.sintrel-mobile-nav__list li { border-bottom: 1px solid var(--sintrel-border); }
.sintrel-mobile-nav__list li a { display: block; padding: 0.75rem 0; font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   6. Footer
   ══════════════════════════════════════════════════════════ */

.sintrel-footer {
  background: var(--sintrel-gray-lightest); /* matches mock bg-zinc-100 */
  border-top: 1px solid var(--sintrel-border);
  margin-top: auto;
  width: 100%;
}

.sintrel-footer__inner {
  display:      grid;
  grid-template-columns: 3fr 2fr;  /* brand ≈65% / link cols ≈35% – matches mock */
  gap:          4rem;              /* gap-16 = 64px */
  padding-top:    5rem;
  padding-bottom: 5rem;
}

/* Two nav-col wrappers inside .sintrel-footer__links */
.sintrel-footer__links {
  display: flex;
  gap: 4rem;            /* gap-6 = 24px for nav cols – spread them with flex */
  justify-content: flex-start;
  align-items: flex-start;
}
.sintrel-footer__nav-col { flex: 1; }

.sintrel-footer__logo { display: inline-block; margin-bottom: 2rem; }
.sintrel-footer__contact p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; }
.sintrel-footer__contact strong { font-weight: 600; }
.sintrel-footer__contact a { text-decoration: underline; }

.sintrel-footer__social { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sintrel-footer__social-link {
  display:     flex;
  align-items: center;
  color:       var(--sintrel-black);
  transition:  opacity var(--sintrel-transition);
}
.sintrel-footer__social-link:hover { opacity: 0.7; text-decoration: none; }

/* Footer nav columns */
.sintrel-footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sintrel-footer__nav-list li a { font-size: 1rem; font-weight: 600; color: var(--sintrel-black); }
.sintrel-footer__nav-list li a:hover { text-decoration: underline; }

/* Bottom bar */
.sintrel-footer__bottom {
  border-top: 1px solid var(--sintrel-border);
  padding: 1.5rem 0;
}
.sintrel-footer__bottom-inner {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  flex-wrap:       wrap;
  gap:             1rem;
}
.sintrel-footer__copy { font-size: 0.875rem; color: var(--sintrel-text-primary); }
.sintrel-footer__legal-list { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.sintrel-footer__legal-list li a {
  font-size:       0.875rem;
  text-decoration: underline;
  color:           var(--sintrel-black);
}

/* ══════════════════════════════════════════════════════════
   7. Hero / Page Banner
   ══════════════════════════════════════════════════════════ */

.sintrel-hero {
  position:       relative;
  min-height:     520px;
  background:     var(--sintrel-bg-dark) center/cover no-repeat;
  display:        flex;
  align-items:    center;
  padding:        5rem 0;
  overflow:       hidden;
}
.sintrel-hero::before {
  content:    '';
  position:   absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index:    1;
}
.sintrel-hero .sintrel-container { position: relative; z-index: 2; }

.sintrel-hero--home { min-height: 900px; }
.sintrel-hero--page { min-height: 280px; }

.sintrel-hero__content { max-width: 560px; }

.sintrel-hero__tagline {
  font-size:   0.875rem;
  font-weight: 600;
  color:       rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}
.sintrel-hero__title {
  font-size:   clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color:       var(--sintrel-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.sintrel-hero__text {
  font-size:     1.125rem;
  line-height:   1.75;
  color:         rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}
.sintrel-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   8. Section Blocks (Layout)
   ══════════════════════════════════════════════════════════ */

/* About / Layout 53 – two col with icon list */
.sintrel-layout__subheading {
  font-size:   1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.sintrel-layout__title {
  font-size:   clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.sintrel-layout__text { font-size: 1.125rem; line-height: 1.75; color: var(--sintrel-text-primary); }

/* Icon list (Akkreditierter Partner / Persönlicher Support) */
.sintrel-icon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 0.5rem 0;
  margin-top: 1.5rem;
}
.sintrel-icon-item { display: flex; gap: 1rem; }
.sintrel-icon-item__icon { flex-shrink: 0; width: 32px; height: 32px; }
.sintrel-icon-item__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.sintrel-icon-item__text { font-size: 1rem; line-height: 1.6; }

/* Service cards (Kalibrierung / Reparatur / Beratung) */
.sintrel-service-card { display: flex; flex-direction: column; gap: 1.5rem; }
.sintrel-service-card__img {
  width: 100%;
  aspect-ratio: 416 / 160;
  object-fit: cover;
  background: var(--sintrel-gray-lighter);
}
.sintrel-service-card__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.sintrel-service-card__text { font-size: 1rem; line-height: 1.6; }

/* Process / Ablauf list */
.sintrel-process ol { padding-left: 1.25rem; counter-reset: process; list-style: none; }
.sintrel-process li { counter-increment: process; margin-bottom: 1rem; padding-left: 0.5rem; }
.sintrel-process li::before { content: counter(process) '. '; font-weight: 700; }

/* Team members */
.sintrel-team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.sintrel-team-card { display: flex; flex-direction: column; gap: 1rem; }
.sintrel-team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--sintrel-gray-lighter);
  object-fit: cover;
  overflow: hidden;
}
.sintrel-team-card__name  { font-size: 1rem; font-weight: 700; }
.sintrel-team-card__role  { font-size: 0.875rem; color: var(--sintrel-gray-neutral); }
.sintrel-team-card__text  { font-size: 0.9375rem; line-height: 1.6; }
.sintrel-team-card__social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.sintrel-team-card__social a { color: var(--sintrel-black); }

/* ══════════════════════════════════════════════════════════
   9. Product Cards
   ══════════════════════════════════════════════════════════ */

.sintrel-product-card {
  display:        flex;
  flex-direction: column;
  gap:            1rem;
}
.sintrel-product-card__img-wrap {
  width: 100%;
  aspect-ratio: 304 / 365;
  overflow: hidden;
  background: var(--sintrel-gray-lighter);
}
.sintrel-product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sintrel-product-card:hover .sintrel-product-card__img { transform: scale(1.03); }

.sintrel-product-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.sintrel-product-card__info { flex: 1; }
.sintrel-product-card__name { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.sintrel-product-card__desc { font-size: 0.875rem; color: var(--sintrel-text-primary); margin-top: 0.25rem; line-height: 1.4; }
.sintrel-product-card__price { font-size: 1.25rem; font-weight: 600; white-space: nowrap; }

/* WooCommerce ul.products override */
ul.products {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
}
ul.products li.product { display: flex; flex-direction: column; gap: 1rem; }
ul.products li.product a.woocommerce-loop-product__link { display: block; }
ul.products li.product img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--sintrel-gray-lighter); }
ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 600; margin-top: 0.75rem; }
ul.products li.product .price { font-size: 1.125rem; font-weight: 600; }
ul.products li.product .button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--sintrel-black);
  font-size: 1rem;
  text-align: center;
  transition: background var(--sintrel-transition);
}
ul.products li.product .button:hover { background: var(--sintrel-black); color: var(--sintrel-white); text-decoration: none; }

/* ══════════════════════════════════════════════════════════
   10. Partner Logos
   ══════════════════════════════════════════════════════════ */

.sintrel-partners {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.sintrel-partner-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.sintrel-partner-logo img { height: 28px; width: auto; }

/* ══════════════════════════════════════════════════════════
   11. FAQ Accordion
   ══════════════════════════════════════════════════════════ */

.sintrel-faq { display: flex; gap: 4rem; }
.sintrel-faq__intro { max-width: 320px; flex-shrink: 0; }
.sintrel-faq__intro h2 { font-size: clamp(2rem,3.5vw,3rem); margin-bottom: 1rem; }
.sintrel-faq__intro p  { font-size: 1rem; line-height: 1.6; }
.sintrel-faq__list { flex: 1; }

.sintrel-faq__item {
  border: 1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  margin-bottom: 0.75rem;
}
.sintrel-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--sintrel-black);
  gap: 1rem;
}
.sintrel-faq__question:hover { background: var(--sintrel-gray-lightest); }
.sintrel-faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  transition: transform var(--sintrel-transition);
}
.sintrel-faq__item--open .sintrel-faq__icon { transform: rotate(45deg); }
.sintrel-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
}
.sintrel-faq__item--open .sintrel-faq__answer {
  max-height: 500px;
  padding: 0 1.25rem 1rem;
}

/* ══════════════════════════════════════════════════════════
   12. CTA Banner (dark / grey background)
   ══════════════════════════════════════════════════════════ */

.sintrel-cta-banner {
  background: var(--sintrel-bg-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.sintrel-cta-banner .sintrel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.sintrel-cta-banner__content { flex: 1; }
.sintrel-cta-banner__title {
  font-size: clamp(1.75rem,3vw,2.5rem);
  font-weight: 700;
  color: var(--sintrel-white);
  margin-bottom: 0.75rem;
}
.sintrel-cta-banner__text { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.sintrel-cta-banner__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}
/* Avatar + phone */
.sintrel-cta-banner__person { display: flex; align-items: center; gap: 1rem; }
.sintrel-cta-banner__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.2);
}
.sintrel-cta-banner__phone { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.sintrel-cta-banner__phone strong { display: block; color: var(--sintrel-white); font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   13. Breadcrumbs
   ══════════════════════════════════════════════════════════ */

.sintrel-breadcrumb {
  display:     flex;
  align-items: center;
  flex-wrap:   wrap;
  gap:         0.25rem;
  padding:     1.25rem 0;
  font-size:   0.875rem;
}
.sintrel-breadcrumb__item a { color: var(--sintrel-black); }
.sintrel-breadcrumb__item a:hover { text-decoration: underline; }
.sintrel-breadcrumb__sep { flex-shrink: 0; opacity: 0.5; }
.sintrel-breadcrumb__item:last-child { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   14. Forms (general)
   ══════════════════════════════════════════════════════════ */

.sintrel-input,
.sintrel-select,
.sintrel-textarea {
  width:         100%;
  padding:       0.625rem 0.75rem;
  font-size:     1rem;
  border:        1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  background:    var(--sintrel-white);
  color:         var(--sintrel-black);
  transition:    border-color var(--sintrel-transition);
  outline:       none;
}
.sintrel-input:focus,
.sintrel-select:focus,
.sintrel-textarea:focus { border-color: var(--sintrel-black); }

.sintrel-form-group { margin-bottom: 1.25rem; }
.sintrel-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }

/* Search form */
.search-form { display: flex; gap: 0.5rem; }
.search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sintrel-border);
  border-radius: var(--sintrel-radius-sm);
  font-size: 1rem;
}
.search-submit {
  padding: 0.5rem 1rem;
  background: var(--sintrel-black);
  color: var(--sintrel-white);
  border: none;
  border-radius: var(--sintrel-radius-sm);
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   15. Utility
   ══════════════════════════════════════════════════════════ */

.u-text-center { text-align: center; }
.u-mt-4  { margin-top: 1rem; }
.u-mt-8  { margin-top: 2rem; }
.u-mb-4  { margin-bottom: 1rem; }
.u-mb-8  { margin-bottom: 2rem; }
.u-pt-4  { padding-top: 1rem; }
.u-divider { border: none; border-top: 1px solid var(--sintrel-border); margin: 2rem 0; }

.sintrel-placeholder-img {
  width: 100%; height: 100%;
  background: var(--sintrel-gray-lighter);
  display: flex; align-items: center; justify-content: center;
  color: var(--sintrel-gray-medium);
}

/* 404 page */
.sintrel-main--404 { padding: 7rem 0; }
.sintrel-404 { max-width: 560px; }
.sintrel-404__tagline { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.sintrel-404__title { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }
.sintrel-404__text  { font-size: 1.125rem; margin-bottom: 2rem; }

/* ══════════════════════════════════════════════════════════
   16. Responsive
   ══════════════════════════════════════════════════════════ */

/* ─── 1200px: tighter horizontal padding ────────────────── */
@media (max-width: 1200px) {
  :root { --container-padding: 24px; }
  .sintrel-footer__inner { grid-template-columns: 3fr 2fr; }
}

/* ─── 1024px: tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Header */
  .sintrel-nav,
  .sintrel-header__search-toggle::after { display: none; }
  .sintrel-header__burger { display: flex; }

  /* Section padding */
  .sintrel-section     { padding-top: 5rem; padding-bottom: 5rem; }
  .sintrel-section--sm { padding-top: 2.5rem; padding-bottom: 2.5rem; }

  /* Hero */
  .sintrel-hero--home { min-height: 600px; }

  /* PHP-rendered grid layouts */
  .sintrel-two-col    { grid-template-columns: 1fr; gap: 3rem; }
  .sintrel-three-col  { grid-template-columns: 1fr 1fr; }
  .sintrel-icon-list  { grid-template-columns: 1fr; }
  ul.products         { grid-template-columns: 1fr 1fr; }
  .sintrel-team-grid  { grid-template-columns: 1fr 1fr; }
  .sintrel-faq        { flex-direction: column; }
  .sintrel-faq__intro { max-width: 100%; }
  .sintrel-cta-banner .sintrel-container { flex-direction: column; }
  .sintrel-partners   { grid-template-columns: repeat(2, 1fr); }
  .sintrel-footer__inner { grid-template-columns: 1fr; }
  .sintrel-footer__links { gap: 2rem; }

  /* Elementor: 2-col outer sections (50/60/40) → stack to 1 column */
  .elementor-top-column.elementor-col-50,
  .elementor-top-column.elementor-col-60,
  .elementor-top-column.elementor-col-40 { width: 100% !important; }

  /* Elementor: 3-col outer sections (33/34) → 2 per row */
  .elementor-top-column.elementor-col-33,
  .elementor-top-column.elementor-col-34 { width: 50%  !important; }

  /* Elementor: 4-col process steps (25) → 2 per row */
  .elementor-top-column.elementor-col-25 { width: 50%  !important; }

  /* Elementor: inner 3-col service cards (33/34) → 2 per row */
  .elementor-inner-column.elementor-col-33,
  .elementor-inner-column.elementor-col-34 { width: 50% !important; }

  /* Elementor: inner 2-col contact/image (40/60) → stack */
  .elementor-inner-column.elementor-col-40,
  .elementor-inner-column.elementor-col-60 { width: 100% !important; }

  /* Elementor: reduce section vertical padding */
  .elementor-section.elementor-top-section {
    padding-top:    4rem !important;
    padding-bottom: 4rem !important;
  }
}

/* ─── 768px: mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --container-padding: 16px; }

  /* Header */
  .sintrel-header__meta { display: none; }

  /* Section padding */
  .sintrel-section { padding-top: 4rem; padding-bottom: 4rem; }

  /* Hero */
  .sintrel-hero        { min-height: 400px; }
  .sintrel-hero--home  { min-height: 480px; }
  .sintrel-hero--page  { min-height: 200px; }
  .sintrel-hero__content { max-width: 100%; }

  /* PHP-rendered grid layouts */
  .sintrel-three-col            { grid-template-columns: 1fr; }
  ul.products                   { grid-template-columns: 1fr 1fr; }
  .sintrel-team-grid            { grid-template-columns: 1fr; }
  .sintrel-footer__inner        { grid-template-columns: 1fr; gap: 2rem; }
  .sintrel-footer__bottom-inner { flex-direction: column; text-align: center; }
  .sintrel-partners             { grid-template-columns: 1fr 1fr; }

  /* Elementor: all columns stack to full width */
  .elementor-column { width: 100% !important; }

  /* Elementor: reduce section padding */
  .elementor-section.elementor-top-section {
    padding-top:    3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Partner logo grid inside HTML widget: keep 2-col */
  .elementor-widget-html [style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ─── 480px: small mobile ───────────────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .sintrel-hero__actions { flex-direction: column; }
  .sintrel-hero--home    { min-height: 380px; }
  .sintrel-hero__actions .sintrel-btn { width: 100%; justify-content: center; }

  /* PHP-rendered layouts */
  ul.products            { grid-template-columns: 1fr; }
  .sintrel-partners      { grid-template-columns: 1fr; }
  .sintrel-footer__links { flex-direction: column; gap: 2rem; }

  /* Elementor: minimal section padding */
  .elementor-section.elementor-top-section {
    padding-top:    2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ══════════════════════════════════════════════════════════
   17. Elementor full-width overrides
   ══════════════════════════════════════════════════════════ */

/* Ensure Elementor sections span the full viewport width */
.elementor-section.elementor-section-stretched {
  width:       100vw    !important;
  margin-left: calc( 50% - 50vw ) !important;
}

/* Cap Elementor inner container to our 1440-px design grid */
.elementor-top-section > .elementor-container,
.elementor-section > .elementor-container {
  max-width: 1440px;
  flex-wrap: wrap; /* allow columns to reflow at responsive breakpoints */
}

/* Prevent columns from overflowing their flex container */
.elementor-column { min-width: 0; }

/* Remove Elementor default section padding that conflicts with our design */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1440px;
}

/* Elementor Page title / breadcrumb area */
.elementor-page-title .elementor-heading-title { word-break: break-word; }

/* Elementor-generated columns should never exceed 100% */
.elementor-col-100 { width: 100% !important; }

/* ══════════════════════════════════════════════════════════
   18. Block Editor align-wide / align-full
   ══════════════════════════════════════════════════════════ */

.alignwide {
  max-width: calc( var(--container-max) + 128px );
  margin-left:  auto;
  margin-right: auto;
}

.alignfull {
  width:        100vw;
  max-width:    100vw;
  margin-left:  calc( 50% - 50vw );
  margin-right: calc( 50% - 50vw );
}

/* WooCommerce shop page should use full available width */
.woocommerce-page .sintrel-main,
.woocommerce .sintrel-main {
  width: 100%;
}
