:root{
  --ca-ink:#0f172a;
  --ca-ink-2:#111827;
  --ca-muted:#475569;
  --ca-surface:#ffffff;
  --ca-surface-2:#f8fafc;
  --ca-border:rgba(15,23,42,.12);
  --ca-shadow:0 18px 50px rgba(2,6,23,.10);
  --ca-shadow-soft:0 10px 30px rgba(2,6,23,.08);
  --ca-accent:#FC6C0F; /* logo-matched orange/bronze */
  --ca-accent-hover:#ff7a21;
  --ca-accent-2:#9ca3af; /* metallic grey */
  --ca-radius:18px;
}

html{scroll-behavior:smooth;}
body{
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--ca-ink);
  background:var(--ca-surface);
}

/* Accessibility */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:1rem;
  top:1rem;
  width:auto;
  height:auto;
  padding:.75rem 1rem;
  background:#fff;
  border:1px solid var(--ca-border);
  border-radius:.75rem;
  z-index:9999;
}

/* Global utilities */
.section{padding:4.5rem 0;}
@media (max-width: 575.98px){
  .section{padding:3.25rem 0;}
}
/* Reduce initial top gap under sticky header */
main > .section:first-of-type{padding-top:1.6rem;}
@media (max-width: 575.98px){
  main > .section:first-of-type{padding-top:1.25rem;}
}
.eyebrow{
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ca-muted);
  font-weight:600;
  font-size:.8rem;
}
.text-muted-2{color:var(--ca-muted) !important;}
.text-muted-2 a{
  color:inherit;
  text-decoration:none;
}
.text-muted-2 a:hover{ text-decoration:underline; }
.surface{
  background:var(--ca-surface);
  border:1px solid var(--ca-border);
  border-radius:var(--ca-radius);
}
.surface-soft{
  background:var(--ca-surface-2);
  border:1px solid var(--ca-border);
  border-radius:var(--ca-radius);
}
.shadow-premium{box-shadow:var(--ca-shadow);}
.shadow-soft{box-shadow:var(--ca-shadow-soft);}

/* Navbar */
.brand-lockup{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.brand-lockup img{height:40px;width:auto;}
.brand-title{line-height:1.1;}
.brand-title strong{display:block;font-size:1rem;}
.brand-title span{display:block;font-size:.85rem;color:var(--ca-muted);}

/* Navigation states */
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"],
.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus,
.offcanvas .nav-link[aria-current="page"],
.offcanvas-accordion-toggle:hover,
.offcanvas-accordion-toggle:focus{
  color:var(--ca-accent) !important;
}
.dropdown-menu{
  --bs-dropdown-link-hover-color:var(--ca-ink);
  --bs-dropdown-link-hover-bg:rgba(252,108,15,.10);
  --bs-dropdown-link-active-color:#0b0f1a;
  --bs-dropdown-link-active-bg:var(--ca-accent);
}
.dropdown-item:hover,
.dropdown-item:focus{
  color:var(--ca-ink);
  background-color:rgba(252,108,15,.10);
}
.dropdown-item.active,
.dropdown-item:active{
  color:#0b0f1a;
  background-color:var(--ca-accent);
}

/* Phone view: show brand-title on all sizes */
@media (max-width: 575.98px){
  .brand-title.d-none.d-sm-block{display:block !important;}
  .brand-title{line-height:1.2;}
  .brand-title strong{font-size:.9rem;}
  .brand-title span{font-size:.75rem;}
}

/* Offcanvas nav: expandable Products section */
.offcanvas-accordion-toggle{
  width:100%;
  border:0;
  background:transparent;
  padding:.5rem 0;
  text-align:left;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  cursor:pointer;
  font:inherit;
  color:inherit;
}
.offcanvas-accordion-toggle:hover{
  color:var(--ca-accent);
}

/* Hide hero images on phone view (products-doors and products-windows only) */
@media (max-width: 575.98px){
  .hero .col-lg-6[style*="border-left"] {display:none !important;}
}

.nav-cta .btn{border-radius:999px;}

/* Make nav CTAs visually consistent */
.nav-cta .btn{
  min-width: 130px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
@media (max-width: 1199.98px){
  .nav-cta .btn{min-width: 118px;}
}

/* Desktop separator before primary CTA */
@media (min-width: 992px){
  .navbar .nav-cta{
    position:relative;
    margin-left:.75rem;
    padding-left:1rem;
  }
  .navbar .nav-cta::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:1px;
    height:24px;
    background:rgba(15,23,42,.18);
  }
}

/* Breadcrumb styling (avoid default bright blue) */
.breadcrumb{
  --bs-breadcrumb-divider-color: rgba(15,23,42,.35);
}
.breadcrumb a{
  color: var(--ca-muted);
  text-decoration: none;
}
.breadcrumb a:hover{
  color: var(--ca-ink);
  text-decoration: underline;
}
.breadcrumb-item.active{
  color: var(--ca-ink);
}

/* Offcanvas nav: expandable Products section */
.offcanvas-accordion-toggle{
  width:100%;
  border:0;
  background:transparent;
  padding:.5rem 0;
  text-align:left;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}
.offcanvas-accordion-toggle:focus-visible{
  outline:2px solid rgba(208,138,45,.45);
  outline-offset:3px;
  border-radius:.5rem;
}
.offcanvas-chevron{
  width:10px;
  height:10px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  transition:transform .18s ease;
  opacity:.7;
}
.offcanvas-accordion-toggle[aria-expanded="true"] .offcanvas-chevron{
  transform:rotate(-135deg);
}

/* Sticky sidebar (e.g. Projects filters) */
@media (min-width: 992px){
  .sidebar-sticky{
    position:sticky;
    top:6.75rem; /* below sticky header */
  }
  .sidebar-sticky .sidebar-panel{
    max-height:calc(100vh - 7.5rem);
    overflow:auto;
  }
}

/* Buttons */
.btn-accent{
  --bs-btn-bg:var(--ca-accent);
  --bs-btn-border-color:var(--ca-accent);
  --bs-btn-hover-bg:var(--ca-accent-hover);
  --bs-btn-hover-border-color:var(--ca-accent-hover);
  --bs-btn-color:#0b0f1a;
  --bs-btn-hover-color:#0b0f1a;
  --bs-btn-focus-shadow-rgb:208,138,45;
}
.btn-quote{
  box-shadow: 0 14px 34px rgba(208,138,45,.22);
}
@media (prefers-reduced-motion: no-preference){
  .btn-quote{
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn-quote:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(208,138,45,.28);
  }
}
.btn-ghost{
  --bs-btn-color:var(--ca-ink);
  --bs-btn-border-color:rgba(15,23,42,.24);
  --bs-btn-hover-bg:rgba(15,23,42,.04);
  --bs-btn-hover-border-color:rgba(15,23,42,.32);
  border-radius:999px;
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  border-radius:calc(var(--ca-radius) + 8px);
  border:1px solid var(--ca-border);
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fafc 44%, #e7ebf01c 30%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  
}
.hero > .row{
  position:relative;
  z-index:1;
}
.hero-media{
  min-height:340px;
  border-left:1px solid var(--ca-border);
  background:
    linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.06)),
    url("../images/hero.jpg");
  background-size:cover;
  background-position:center;
}
.hero-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  align-items:center;
}
.hero-cta-row .btn{
  min-width:160px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-width:1px;
}
.hero-cta-row .btn-accent{
  box-shadow:0 14px 30px rgba(252,108,15,.18);
}
.hero-cta-row .btn-ghost{
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.hero-helper{
  max-width:34rem;
  color:var(--ca-muted);
  font-size:.92rem;
}
.hero-trust-inline > span{
  white-space:nowrap;
}
.hero-media--about{
  background-image: url("../images/about_hero.jpg");
  background-position: 70% 35%;
}
.coming-soon
{
  color: #FC6C0F;
}
@media (max-width: 991.98px){
  .hero{background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);}
  .hero-media{min-height:260px;border-left:none;border-top:1px solid var(--ca-border);}
}
@media (max-width: 575.98px){
  .hero-cta-row .btn{width:100%;}
}
.hero h1{
  letter-spacing:-.02em;
}
.hero-lead{
  font-size:1.1rem;
  color:var(--ca-muted);
  max-width:38rem;
}

/* Products page */
.products-page-header{
  padding-bottom:.5rem;
  border-bottom:1px solid var(--ca-border);
}
@media (max-width: 991.98px){
  .products-page-header .hero-lead{
    text-align:left;
  }
}

/* Cards */
.card-premium{
  border:1px solid var(--ca-border);
  border-radius:var(--ca-radius);
  box-shadow:var(--ca-shadow-soft);
  overflow:hidden;
}
.card-premium .card-img-top{
  aspect-ratio: 10 / 10;
  object-fit:cover;
}
.product-category-card{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card-media{
  position:relative;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  padding:1rem;
  overflow:hidden;
  border-bottom:1px solid var(--ca-border);
  background:
    linear-gradient(135deg, rgba(252,108,15,.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3f6f9 100%);
}
.product-card-media::after{
  content:"";
  position:absolute;
  inset:auto 12% 7% 12%;
  height:16%;
  border-radius:50%;
  background:rgba(15,23,42,.10);
  filter:blur(16px);
}
.product-card-img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 18px 22px rgba(15,23,42,.16));
}
.product-card-media--logo .product-card-img{
  width:82%;
  height:82%;
}
.project-showcase-card{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
}
.project-showcase-card .card-img-top{
  padding:0;
  object-fit:cover;
  width:100%;
  height:220px;
  background:
    linear-gradient(135deg, rgba(252,108,15,.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3f6f9 100%);
  border-bottom:1px solid var(--ca-border);
  transition:transform .25s ease;
}
.project-showcase-card:hover .card-img-top{
  transform:scale(1.04);
}
.product-media-label{
  position:absolute;
  z-index:2;
  top:.85rem;
  left:.85rem;
  padding:.35rem .65rem;
  border:1px solid rgba(15,23,42,.12);
  border-radius:999px;
  background:rgba(255,255,255,.86);
  color:var(--ca-ink);
  font-size:.75rem;
  font-weight:700;
  line-height:1;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}
@media (prefers-reduced-motion: no-preference){
  .product-category-card:hover,
  .project-showcase-card:hover{
    transform:translateY(-3px);
    border-color:rgba(252,108,15,.32);
    box-shadow:0 18px 44px rgba(2,6,23,.13);
  }
}
@media (max-width: 575.98px){
  .product-card-media{padding:.75rem;}
}
.icon-badge{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(208,138,45,.12);
  border:1px solid rgba(208,138,45,.20);
  color:#6b4f27;
}
.icon-badge svg{
  display:block;
  width:20px;
  height:20px;
}

/* Featured stats / trust */
.trust-item{height:100%;}

/* About homepage showcase */
.about-showcase{
  overflow:hidden;
  border:1px solid var(--ca-border);
  border-radius:var(--ca-radius);
  background:#fff;
}
.about-showcase-media{
  position:relative;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:#f3f6f9;
}
.about-showcase-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .28s ease;
}
.about-showcase-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 48%, rgba(15,23,42,.58) 100%);
  pointer-events:none;
}
.about-showcase-label{
  position:absolute;
  left:1rem;
  right:1rem;
  bottom:1rem;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  justify-content:space-between;
  gap:.75rem;
  color:#fff;
}
.about-showcase-label span{
  padding:.35rem .65rem;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:.75rem;
  font-weight:700;
  backdrop-filter:blur(10px);
}
.about-showcase-label strong{
  max-width:18rem;
  font-size:1rem;
  line-height:1.2;
  text-align:right;
}
.about-product-chips{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  padding:1rem;
  background:
    linear-gradient(135deg, rgba(252,108,15,.08), transparent 34%),
    #fff;
}
.about-product-chips span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:.42rem .75rem;
  border:1px solid rgba(15,23,42,.12);
  border-radius:999px;
  background:#fff;
  color:var(--ca-ink);
  font-size:.85rem;
  font-weight:700;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
@media (prefers-reduced-motion: no-preference){
  .about-showcase:hover .about-showcase-media img{
    transform:scale(1.035);
  }
}
@media (max-width: 575.98px){
  .about-showcase-label{
    align-items:start;
    flex-direction:column;
  }
  .about-showcase-label strong{
    text-align:left;
  }
}

/* Process */
.step{
  height:100%;
  border:1px solid var(--ca-border);
  border-radius:var(--ca-radius);
  background:#fff;
  padding:1.25rem;
  box-shadow:var(--ca-shadow-soft);
}
.step-number{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(15,23,42,.06);
  font-weight:700;
}

/* Forms */
.form-control, .form-select{
  border-radius:14px;
  border-color:rgba(15,23,42,.18);
}
.form-control:focus, .form-select:focus{
  border-color:rgba(208,138,45,.55);
  box-shadow:0 0 0 .25rem rgba(208,138,45,.18);
}

/* Quote page form actions */
.quote-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
}
.quote-actions .btn{
  border-radius:999px;
  padding-left:1.25rem;
  padding-right:1.25rem;
}
@media (max-width: 575.98px){
  .quote-actions .btn{width:100%;}
}
.quote-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  align-items:center;
}
.quote-email{
  color:var(--ca-accent) !important;
  font-weight:600;
  text-decoration:none;
}
.quote-email:hover{ text-decoration:underline; }
.quote-secondary{
  color:var(--ca-muted);
  text-decoration:underline;
  text-underline-offset:.18em;
}
.quote-secondary:hover{ color:var(--ca-ink); }

/* Contact page form actions */
.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
}
.contact-actions .btn{
  border-radius:999px;
  padding-left:1.25rem;
  padding-right:1.25rem;
}
@media (max-width: 575.98px){
  .contact-actions .btn{width:100%;}
}
.contact-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  align-items:center;
}
.contact-secondary{
  color:var(--ca-muted);
  text-decoration:underline;
  text-underline-offset:.18em;
}
.contact-secondary:hover{ color:var(--ca-ink); }
.contact-phone{
  color:var(--ca-ink);
  text-decoration:none;
  font-weight:600;
}
.contact-phone:hover{ text-decoration:underline; }

/* Generic secondary CTA link */
.cta-secondary{
  color:var(--ca-muted);
  text-decoration:underline;
  text-underline-offset:.18em;
}
.cta-secondary:hover{ color:var(--ca-ink); }

/* Footer */
footer{
  background:#0d1b38;
  color:rgba(255,255,255,.86);
}
footer a{color:rgba(255,255,255,.86); text-decoration:none;}
footer a:hover{color:#fff; text-decoration:underline;}
.footer-muted{color:rgba(255,255,255,.62);}

/* Mobile sticky call button */
.mobile-call{
  display:none; /* hidden on phone by default (was taking too much space) */
  position:fixed;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:1040;
}
.mobile-call.is-enabled{display:block;}
@media (min-width: 768px){
  .mobile-call{display:none;}
}
.mobile-call .btn{
  border-radius:999px;
  box-shadow:var(--ca-shadow);
}

/* Subtle reveal animations (optional) */
@media (prefers-reduced-motion: no-preference){
  [data-reveal]{
    opacity:0;
    transform:translateY(10px);
    transition:opacity .6s ease, transform .6s ease;
  }
  [data-reveal].is-visible{
    opacity:1;
    transform:none;
  }
}
