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

:root {
  --primary: #173180;
  --primary-light: #1e3fa0;
  --primary-dark: #0f1f55;
  --secondary: #D1D1D1;
  --secondary-light: #e0e0e0;
  --secondary-dark: #b0b0b0;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.7);
  --white: #ffffff;
  --card-bg: rgba(255,255,255,0.06);
  --card-hover: rgba(255,255,255,0.1);
  --border: rgba(255,255,255,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--primary);
}

/* Brush Metal Texture */
.brush-metal {
  background-color: #e0e0e0;
  background-image: url("../images/briland-zolani/brushed%20aluminum%20stainless%20steel%20seamless%20sheet%20metal%20background.webp");
  background-size: cover;
  background-position: center center;
  color: var(--primary-dark);
}

.brush-primary {
  background:
    repeating-linear-gradient(
      90deg,
      var(--primary) 0px,
      var(--primary-dark) 1px,
      var(--primary-light) 2px,
      var(--primary) 3px
    );
  color: var(--text);
}

a {
  color: var(--secondary-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--white); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  border-bottom: 1px solid var(--border);
}

header.landing-header {
  position: relative;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 160px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 150px;
  width: auto;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

nav > ul > li {
  position: relative;
}

nav > ul > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 4px;
  transition: background 0.2s;
}

nav > ul > li > a:hover,
nav > ul > li > a.active {
  background: rgba(255,255,255,0.12);
}

/* Dropdown */
nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  min-width: 190px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 8px 0;
  z-index: 1001;
}

nav .dropdown:hover .dropdown-menu {
  display: block;
}

nav .dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 1.7rem;
  color: var(--text);
  white-space: nowrap;
}

nav .dropdown-menu li a:hover,
nav .dropdown-menu li a.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* HERO */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,49,128,0.88) 0%, rgba(15,31,85,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 40px 24px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.banner-slide.active {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-family: var(--font);
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.btn-accent {
  background: #e0e0e0;
  color: var(--primary-dark);
}

.btn-accent:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Sections */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 700px;
}

.section p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.alt-bg {
  background: var(--primary-dark);
}

/* Product Tiles Grid */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--card-hover);
}

.tile-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.tile:hover .tile-image img {
  transform: scale(1.05);
}

.tile-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tile-body h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}

.tile-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.tile-body .btn {
  align-self: flex-start;
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,49,128,0.85) 0%, rgba(15,31,85,0.78) 100%);
}

.page-banner h1 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  padding: 0 24px;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.banner-subtitle {
  font-size: 1.15rem;
  color: #fff;
  margin-top: 8px;
  max-width: 700px;
}

.banner-cta {
  margin-top: 24px;
}

.banner-cta-img {
  display: inline-block;
  margin-top: 20px;
  position: relative;
  transition: filter 0.3s ease;
  line-height: 0;
}
.banner-cta-img img {
  display: block;
  height: 160px;
  width: auto;
  border-radius: 6px;
}
.banner-cta-img:hover {
  filter: drop-shadow(0 0 24px rgba(255, 180, 50, 0.9));
}

/* Content page layout */
.content-page {
  padding: 60px 24px;
}

.content-page .container {
  max-width: 900px;
  margin: 0 auto;
}

.content-page h2 {
  font-size: 1.6rem;
  color: var(--white);
  margin: 40px 0 12px;
}

.content-page h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin: 28px 0 8px;
}

.content-page p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.content-page ul {
  margin: 12px 0 20px 24px;
}

.learn-more {
  color: var(--primary);
  font-weight: 700;
}

.quote-box {
  font-size: 1.35rem;
  font-style: italic;
  text-align: center;
  color: var(--secondary);
  background: var(--primary);
  padding: 32px 40px;
  border-radius: var(--radius);
  margin: 40px 0;
  line-height: 1.7;
}

.content-page ul li {
  margin-bottom: 6px;
  line-height: 1.6;
  color: var(--text-muted);
}

.content-page hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.content-page strong {
  color: var(--white);
}

.content-image {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-image.no-border {
  border: none;
  box-shadow: none;
}

.content-image.float-left {
  float: left;
  max-width: 320px;
  margin: 8px 28px 16px 0;
}

.content-image.float-right {
  float: right;
  max-width: 320px;
  margin: 8px 0 16px 28px;
}

.content-image.large {
  max-width: 480px;
}

.content-image.medium {
  max-width: 426px;
}

.content-image.large.float-left {
  margin-right: 36px;
}

.content-image.large.float-right {
  margin-left: 36px;
}

@media (max-width: 600px) {
  .content-image.float-left,
  .content-image.float-right,
  .content-image.large.float-left,
  .content-image.large.float-right {
    float: none;
    max-width: 100%;
    margin: 24px 0;
  }
}

/* Rocket scroll separator */
.rocket-scroll {
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  position: relative;
}

.rocket-scroll img {
  display: block;
  height: 140px;
  width: auto;
}

/* Image scroll flip */
.image-swap {
  position: relative;
  display: block;
}

.image-swap img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
}

.image-swap img:last-child {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.image-swap.flipped img:first-child {
  opacity: 0;
}

.image-swap.flipped img:last-child {
  opacity: 1;
}

/* Rumble scroll animation */
@keyframes rumble {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  10% { transform: translateX(-2px) rotate(-0.5deg); }
  20% { transform: translateX(2px) rotate(0.5deg); }
  30% { transform: translateX(-2px) rotate(-0.5deg); }
  40% { transform: translateX(2px) rotate(0.5deg); }
  50% { transform: translateX(-1px) rotate(-0.3deg); }
  60% { transform: translateX(1px) rotate(0.3deg); }
  70% { transform: translateX(-1px) rotate(-0.3deg); }
  80% { transform: translateX(1px) rotate(0.3deg); }
  90% { transform: translateX(-1px) rotate(-0.3deg); }
}

.content-image.rumble img {
  animation: rumble 0.6s ease-in-out;
  animation-iteration-count: 1;
}

/* CTA Section */
.cta-banner {
  text-align: center;
  padding: 60px 24px;
  background: var(--primary-dark);
}

.cta-banner h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Section */
.form-section {
  padding: 60px 24px;
  background: none;
}

#contact-form {
  scroll-margin-top: 170px;
}

.form-section .container {
  max-width: 640px;
  margin: 0 auto;
}

.form-section h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}

.form-section > .container > p {
  text-align: center;
  color: var(--primary);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

/* Prevent browser autofill from overriding dark input backgrounds */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(30,30,60,0.95) inset !important;
  -webkit-text-fill-color: var(--white) !important;
  caret-color: var(--white);
  border: 2px solid var(--border);
}

.form-section > .container .form-group input:-webkit-autofill,
.form-section > .container .form-group input:-webkit-autofill:hover,
.form-section > .container .form-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(224,224,230,0.9) inset !important;
  -webkit-text-fill-color: var(--primary) !important;
  caret-color: var(--primary);
  border: 2px solid var(--border);
}

.form-group select option {
  background: var(--primary-dark);
  color: var(--white);
}

/* Product/landing page forms (no form-bubble) use primary text */
.form-section > .container .form-group input,
.form-section > .container .form-group textarea,
.form-section > .container .form-group select {
  color: var(--primary);
  background: rgba(255,255,255,0.35);
}

.form-section > .container .form-group input:focus,
.form-section > .container .form-group textarea:focus,
.form-section > .container .form-group select:focus {
  color: var(--primary);
  background: rgba(255,255,255,0.45);
}

.form-section > .container .form-group input::placeholder,
.form-section > .container .form-group textarea::placeholder {
  color: var(--primary);
  font-style: italic;
}

.form-section > .container .form-group select option {
  background: var(--white);
  color: var(--primary);
}

.form-section .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-bubble {
  max-width: 720px;
  margin: 0 auto;
  background: var(--primary-dark);
  border-radius: 24px;
  padding: 40px 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--primary);
}

.form-bubble h2 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--white);
}

.form-bubble > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Trademark Badges */
.trademark-section {
  padding: 40px 24px;
  background: var(--primary-dark);
  text-align: center;
  border-top: 1px solid var(--border);
}

.trademark-section h3 {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trademark-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trademark-badges a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 32px;
  min-width: 220px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  text-align: center;
  text-decoration: none;
  color: var(--text-muted);
}

.trademark-badges a:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
  color: var(--white);
}

.trademark-badges img {
  height: 100px;
  width: auto;
}

.trademark-badge-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.trademark-badge-number {
  display: block;
  font-size: 0.8rem;
  color: var(--primary);
}

/* FAQ Accordion */
.faq-section {
  padding: 60px 24px;
}

.faq-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  line-height: 1.4;
}

.faq-question::after {
  content: '+';
  font-size: 1.7rem;
  font-weight: 700;
  color: #000;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  padding-bottom: 20px;
}

.faq-answer p {
  line-height: 1.8;
  color: var(--text-muted);
}

.faq-answer ul {
  margin: 8px 0 12px 24px;
}

.faq-answer ul li {
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.contact-info h2 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-info .contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-info .contact-detail a {
  color: var(--secondary-light);
}

.contact-info .contact-detail a:hover {
  color: var(--white);
}

.contact-grid .form-section {
  padding-top: 0;
}

.contact-map {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.contact-detail svg {
  stroke: var(--secondary);
  flex-shrink: 0;
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: var(--text);
  padding: 60px 24px 30px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.footer-col p,
.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-logo {
  height: 130px;
  width: auto;
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer Link Group (hover reveal) */
.footer-link-group {
  position: relative;
  margin-bottom: 8px;
}

.footer-link-trigger {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.footer-link-trigger:hover {
  color: var(--white);
}

.footer-link-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding-left: 12px;
}

.footer-link-group.active .footer-link-items {
  max-height: 400px;
}

.footer-link-items a {
  font-size: 0.85rem;
  padding: 3px 0;
  margin-bottom: 2px;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.footer-link-items a:hover {
  border-left-color: var(--secondary);
  color: var(--white);
}

/* Social media links in footer */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-bottom: 0;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  transform: scale(1.1);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    box-shadow: var(--shadow);
    padding: 12px 0;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  nav ul.open {
    display: flex;
  }

  nav > ul > li > a {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1.2rem;
  }

  nav .dropdown-menu li a {
    font-size: 1.1rem;
  }

  nav .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 24px;
    display: none;
  }

  nav .dropdown.open .dropdown-menu {
    display: block;
  }

  .hero {
    min-height: 380px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .tiles-grid {
    grid-template-columns: 1fr;
  }

  .page-banner {
    height: 220px;
  }

  .page-banner h1 {
    font-size: 1.7rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 20px;
  }

  .form-bubble {
    padding: 28px 20px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .header-inner {
    height: 130px;
  }
  .logo img {
    height: 100px;
  }
  #contact-form {
    scroll-margin-top: 140px;
  }

  .form-bubble {
    padding: 24px 16px;
    border-radius: 12px;
  }
}

/* Success message override for dark theme */
.form-success {
  background: #1b5e20;
  border: 1px solid #4caf50;
  color: #c8e6c9;
  padding: 16px 24px;
  border-radius: 6px;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 500;
}

/* Home page brush aluminum theme */
.home-brush {
  --text: #173180;
  --text-muted: #333333;
  --card-bg: rgba(255,255,255,0.7);
  --card-hover: rgba(255,255,255,0.9);
  --border: rgba(23,49,128,0.15);
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  background-color: #e0e0e0;
  background-image: url("../images/briland-zolani/brushed%20aluminum%20stainless%20steel%20seamless%20sheet%20metal%20background.webp");
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

.home-brush header {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.home-brush nav > ul > li > a {
  color: var(--white);
}

.home-brush nav > ul > li > a:hover,
.home-brush nav > ul > li > a.active {
  background: rgba(255,255,255,0.12);
}

.home-brush nav .dropdown-menu {
  background: var(--primary-dark);
  border-color: var(--primary);
}

.home-brush nav .dropdown-menu li a {
  color: var(--secondary);
}

.home-brush nav .dropdown-menu li a:hover,
.home-brush nav .dropdown-menu li a.active {
  background: var(--primary);
  color: var(--white);
}

.home-brush .section-title,
.home-brush .tile-body h3,
.home-brush .cta-banner h2,
.home-brush .content-page h2,
.home-brush .content-page h3,
.home-brush .content-page strong,
.home-brush .contact-info h2,
.home-brush .faq-question {
  color: var(--text);
}

.home-brush .section-subtitle {
  max-width: none;
}

.home-brush .contact-info .contact-detail a {
  color: var(--primary-light);
}

.home-brush .content-page a {
  color: var(--primary-light);
}

.home-brush .trademark-badges a {
  background: var(--card-bg);
}

/* Dark-background sections keep light text in brush mode */
.home-brush .form-section,
.home-brush .trademark-section,
.home-brush .alt-bg {
  --text-muted: rgba(255,255,255,0.7);
}

.home-brush .form-section .form-group label {
  color: var(--primary);
}

.home-brush .form-bubble .form-group label {
  color: var(--white);
}

.home-brush .btn-accent {
  background: var(--primary);
  color: var(--white);
}

.home-brush .btn-accent:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.home-brush .cta-banner {
  background: none;
}

/* Footer stays dark in brush mode */
.home-brush footer {
  background: var(--primary-dark);
  --text-muted: rgba(255,255,255,0.7);
}

.home-brush footer .footer-col a:hover {
  color: var(--white);
}

.home-brush .hamburger span {
  background: var(--white);
}

@media (max-width: 768px) {
  .home-brush nav ul {
    background: var(--primary-dark);
  }

  .home-brush nav > ul > li > a {
    color: var(--secondary);
  }
}
