/* Shared opener brands carousel + model specs grid
   Source: homepage brands-section / logo-carousel */

.brands-section {
  --primary-blue: #0066cc;
  --primary-blue-dark: #004999;
  --accent-orange: #ff6600;
  --text-dark: #2b2b2b;
  --text-light: #5f5f5f;
  --light-gray: #f8f9fa;
  --medium-gray: #e0e0e0;
  --white: #ffffff;
  padding: 60px 20px;
  background: linear-gradient(180deg, #ffffff 0%, var(--light-gray) 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.brands-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}

.brands-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-orange), var(--primary-blue));
}

.brands-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.brands-header {
  text-align: center;
  margin-bottom: 50px;
}

.brands-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.2;
}

.brands-highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brands-subtitle {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.brands-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.brands-stat {
  text-align: center;
}

.brands-stat-number {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.brands-stat-label {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  background: var(--light-gray);
  border-radius: 20px;
  margin: 0 auto 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--light-gray) 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--light-gray) 0%, transparent 100%);
}

.logo-track {
  display: flex;
  animation: gds-opener-brands-scroll 40s linear infinite;
  width: max-content;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

@keyframes gds-opener-brands-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  margin: 0 30px;
  text-align: center;
  position: relative;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  background: white;
  padding: 20px;
  border-radius: 16px;
  border: 3px solid var(--medium-gray);
  transition: all 0.4s ease;
  cursor: pointer;
}

.logo-wrapper:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.2);
  transform: translateY(-8px);
}

.logo-item img {
  height: 150px;
  width: auto;
  max-width: 350px;
  object-fit: contain;
  transition: transform 0.4s ease;
  border-radius: 8px;
}

.logo-wrapper:hover img {
  transform: scale(1.08);
}

.brand-overlay {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  color: white;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

/* Text-only type chips (homepage / suburbs) — scoped to avoid clashing with opener page cards */
.brands-section .opener-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.brands-section .opener-type-item {
  background: white;
  padding: 22px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.brands-section .opener-type-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
}

.brands-section .opener-type-item strong {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: #1a1a1a;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.brands-section .opener-type-item span {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.brands-section .opener-type-item .opener-price {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: #f0f8ff;
  padding: 3px 10px;
  border-radius: 12px;
}

/* Photo + rich model writeups under carousel (opener service pages) */
.opener-models-header {
  text-align: center;
  margin: 10px 0 32px;
}

.opener-models-header h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.opener-models-header p {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

.opener-models-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0 0 40px;
}

@media (min-width: 900px) {
  .opener-models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.opener-model-card {
  background: white;
  border-radius: 18px;
  border: 1px solid #e6eaf0;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(11, 26, 46, 0.07);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.opener-model-card:hover {
  border-color: rgba(0, 102, 204, 0.35);
  box-shadow: 0 14px 36px rgba(0, 102, 204, 0.12);
  transform: translateY(-3px);
}

.opener-model-photo {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
  padding: 28px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-bottom: 1px solid #e8edf3;
}

.opener-model-photo img {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.opener-model-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.opener-model-body h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: #0b1a2e;
  margin: 0 0 12px;
  line-height: 1.25;
}

.opener-model-intro {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin: 0 0 20px;
}

.opener-model-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  flex: 1;
}

@media (min-width: 480px) {
  .opener-model-features {
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
  }
}

.opener-model-feature {
  margin: 0;
  padding: 14px 14px 14px 16px;
  background: #f7f9fc;
  border-radius: 12px;
  border-left: 3px solid var(--primary-blue);
}

.opener-model-feature dt {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0b1a2e;
  margin: 0 0 4px;
  line-height: 1.3;
}

.opener-model-feature dd {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.45;
  margin: 0;
}

.opener-model-price {
  display: inline-block;
  align-self: flex-start;
  margin-top: 18px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: #f0f8ff;
  padding: 5px 11px;
  border-radius: 10px;
}

.brands-list {
  margin: 50px 0;
  text-align: center;
}

.brands-list h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 25px;
  font-weight: 700;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.brand-tag {
  background: white;
  color: var(--primary-blue);
  padding: 10px 20px;
  border-radius: 25px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.brand-tag:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  color: white;
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.brands-cta {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  border-radius: 20px;
  margin-top: 50px;
  box-shadow: 0 15px 50px rgba(0, 102, 204, 0.3);
}

.brands-cta h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 15px;
  font-weight: 800;
}

.brands-cta p {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.brands-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.brands-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.brands-btn-white {
  background: white;
  color: var(--primary-blue);
}

.brands-btn-white:hover {
  transform: translateY(-3px);
  background: var(--accent-orange);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
}

.brands-btn-outline {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.brands-btn-outline:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .logo-item { margin: 0 20px; }
  .logo-item img { height: 130px; max-width: 300px; }
}

@media (max-width: 768px) {
  .brands-section { padding: 60px 15px; }
  .logo-item img { height: 110px; max-width: 250px; }
  .logo-carousel::before,
  .logo-carousel::after { width: 40px; }
  .brands-cta-buttons { flex-direction: column; align-items: center; }
  .brands-btn { width: 100%; max-width: 400px; justify-content: center; }
  .brands-stats { flex-direction: column; gap: 20px; }
  .brands-stat-number { font-size: 2rem; }
  .brands-section .opener-types-grid { grid-template-columns: 1fr; }
  .opener-model-photo { min-height: 160px; padding: 22px 18px 16px; }
  .opener-model-body { padding: 20px 18px 24px; }
}

@media (max-width: 576px) {
  .logo-item { margin: 0 15px; }
  .logo-item img { height: 90px; max-width: 200px; }
  .logo-wrapper { padding: 15px; }
  .brand-overlay { font-size: 0.9rem; padding: 6px 15px; }
}
