/* =============================================================================
   KCL Interiors Limited — commercial.css
   All commercial-theme specific styles
   ============================================================================= */

/* Google Fonts loaded via <link> in HTML <head> — no @import needed */

/* ---------------------------------------------------------------------------
   COMMERCIAL CUSTOM PROPERTIES
   --------------------------------------------------------------------------- */
:root {
  --color-bg:        #FFFFFF;
  --color-surface:   #F7F7F7;
  --color-brand:     #1A1A2E;
  --color-accent:    #D4541E;
  --color-accent-hv: #B03D10;
  --color-text:      #333333;
  --color-text-inv:  #FFFFFF;
  --color-trust:     #2D6A4F;

  --font-heading: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ---------------------------------------------------------------------------
   COMMERCIAL NAV
   --------------------------------------------------------------------------- */
.com-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.com-nav.scrolled {
  background: rgba(26, 26, 46, 1);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.com-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

.com-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.com-nav .nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  margin-top: -5px;
}

.com-nav .nav-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
}

.com-nav .nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

@media (min-width: 768px) {
  .com-nav .nav-links {
    display: flex;
  }
}

.com-nav .nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.25s ease;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.com-nav .nav-links a:hover,
.com-nav .nav-links a.active {
  color: #D4541E;
  border-bottom-color: #D4541E;
}

.com-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px 7px !important;
  background: #D4541E !important;
  color: #fff !important;
  border-radius: 3px;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  border-color: #D4541E !important;
  border-bottom-color: #D4541E !important;
  transition: background 0.3s ease !important;
}

.com-nav .nav-cta:hover {
  background: #B03D10 !important;
  border-color: #B03D10 !important;
  border-bottom-color: #B03D10 !important;
}

/* Hamburger */
.com-nav .nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.com-nav .nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.com-nav .nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.com-nav .nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.com-nav .nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .com-nav .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.com-nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #1A1A2E;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.com-nav-mobile.open {
  display: flex;
}

.com-nav-mobile a {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.com-nav-mobile a:hover {
  color: #D4541E;
}

.com-nav-mobile .nav-cta-mob {
  display: inline-block;
  padding: 14px 32px;
  background: #D4541E;
  color: #fff !important;
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   COMMERCIAL HERO
   --------------------------------------------------------------------------- */
.com-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.com-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(26, 26, 46, 0.9) 0%,
    rgba(26, 26, 46, 0.6) 60%,
    rgba(26, 26, 46, 0.8) 100%
  );
  z-index: 1;
}

.com-hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 24px 96px;
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

.com-hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4541E;
  background: rgba(212, 84, 30, 0.12);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.com-hero-content h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 4rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 760px;
}

.com-hero-content p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

.com-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-com-primary {
  display: inline-block;
  padding: 16px 36px;
  background: #D4541E;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid #D4541E;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-com-primary:hover {
  background: #B03D10;
  border-color: #B03D10;
  transform: translateY(-2px);
}

.btn-com-ghost {
  display: inline-block;
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.btn-com-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ---------------------------------------------------------------------------
   COMMERCIAL SERVICES GRID
   --------------------------------------------------------------------------- */
.com-services-section {
  background: #FFFFFF;
  padding: 96px 0;
}

.com-services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .com-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .com-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.com-service-card {
  background: #F7F7F7;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.com-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-color: #D4541E;
}

.com-service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.com-service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.com-service-card-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #D4541E;
  margin-bottom: 8px;
}

.com-service-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.com-service-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.com-service-card-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #D4541E;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.com-service-card-link:hover {
  gap: 10px;
}

/* ---------------------------------------------------------------------------
   METRICS BANNER
   --------------------------------------------------------------------------- */
.metrics-banner {
  background: #1A1A2E;
  padding: 64px 0;
}

.metrics-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.metric-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: #D4541E;
  line-height: 1;
}

.metric-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.3px;
}

/* ---------------------------------------------------------------------------
   TRUST STRIP — Commercial
   --------------------------------------------------------------------------- */
.com-trust-strip {
  background: #F7F7F7;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 40px 0;
}

.trust-strip-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  opacity: 0.5;
  text-align: center;
  margin-bottom: 24px;
}

.trust-strip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  align-items: center;
}

.trust-strip-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust-strip-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1A1A2E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}

.trust-strip-badge-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #333;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   CASE STUDY CARDS
   --------------------------------------------------------------------------- */
.case-studies-section {
  background: #FFFFFF;
  padding: 96px 0;
}

.case-study-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .case-study-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-study-card {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #F7F7F7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.case-study-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.case-study-body {
  padding: 32px;
}

.case-study-tag {
  display: inline-block;
  background: rgba(212, 84, 30, 0.1);
  color: #D4541E;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.case-study-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.case-study-card p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.65;
  margin-bottom: 20px;
}

.case-study-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.case-study-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-study-stat-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #D4541E;
}

.case-study-stat-key {
  font-size: 0.72rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------------------------------------------------------------------------
   COMMERCIAL CTA BANNER
   --------------------------------------------------------------------------- */
.com-cta-banner {
  background: #1A1A2E;
  padding: 96px 0;
  text-align: center;
}

.com-cta-banner h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.com-cta-banner p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
}

/* ---------------------------------------------------------------------------
   COMMERCIAL FOOTER
   --------------------------------------------------------------------------- */
.com-footer {
  background: #13131F;
  padding: 80px 0 40px;
  color: #fff;
}

.com-footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .com-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
  }
}

.com-footer-brand .footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.com-footer-brand .footer-logo {
  height: 48px;
}

.com-footer-brand .nav-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  white-space: nowrap;
}

.com-footer-brand p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: 20px;
}

.com-footer-brand .footer-residential-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.25s ease;
}

.com-footer-brand .footer-residential-link:hover {
  color: #D4541E;
}

.com-footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #D4541E;
  margin-bottom: 16px;
}

.com-footer-links a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.com-footer-links a:hover {
  color: #fff;
}

.com-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .com-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.com-footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.com-footer-bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.25s ease;
}

.com-footer-bottom a:hover {
  color: #D4541E;
}

/* ---------------------------------------------------------------------------
   ABOUT PAGE — COMMERCIAL
   --------------------------------------------------------------------------- */
.com-about-section {
  background: #fff;
  padding: 96px 0;
}

.why-kcl-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .why-kcl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: #F7F7F7;
  border: 1px solid #E5E7EB;
  border-radius: 3px;
  padding: 32px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: #D4541E;
}

.why-card-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: #D4541E;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}

.why-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   COMMERCIAL FORM STYLES
   --------------------------------------------------------------------------- */
.com-form-wrapper {
  background: #FFFFFF;
  border-radius: 3px;
  padding: 40px;
  border: 1px solid #E5E7EB;
}

.com-form-wrapper h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.com-form-wrapper .form-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 32px;
}

.com-contact-info {
  background: #1A1A2E;
  border-radius: 3px;
  padding: 48px 40px;
}

.com-contact-info h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.com-callout {
  background: rgba(212, 84, 30, 0.12);
  border-left: 3px solid #D4541E;
  border-radius: 0 3px 3px 0;
  padding: 16px 20px;
  margin-bottom: 32px;
}

.com-callout p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #D4541E;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   FORM — commercial input focus
   --------------------------------------------------------------------------- */
.theme-commercial .form-group input:focus,
.theme-commercial .form-group textarea:focus,
.theme-commercial .form-group select:focus {
  border-color: #D4541E;
  box-shadow: 0 0 0 3px rgba(212, 84, 30, 0.15);
}

/* ---------------------------------------------------------------------------
   COMMERCIAL PORTFOLIO
   --------------------------------------------------------------------------- */
.com-portfolio-section {
  background: #FFFFFF;
  padding: 96px 0;
}

.com-portfolio-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .com-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .com-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------------------------------------------------------------------------
   PAGE OFFSET FOR STICKY NAV
   --------------------------------------------------------------------------- */
.page-offset {
  padding-top: 72px;
}

/* ---------------------------------------------------------------------------
   COMMERCIAL ALT SECTIONS
   --------------------------------------------------------------------------- */
.com-alt-content .eyebrow {
  color: #D4541E;
}

.com-alt-content h2 {
  color: #1A1A2E;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.com-alt-content ul li::before {
  color: #D4541E;
}
