/* ============================================================
   ELYSIAN FALSE CEILING — COMPONENTS
   All 15 components from Section D.9
   ============================================================ */


/* ══════════════════════════════════════════
   COMPONENT 1: NAVIGATION
   Section D.9 / Component 1
══════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--navbar-height);
  transition: background-color var(--transition-slow),
              box-shadow var(--transition-slow),
              border-bottom-color var(--transition-slow);
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

/* Scrolled state — solid dark background */
.navbar.scrolled {
  background-color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  box-shadow: var(--shadow-dark);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ══════════════════════════════════════════════════
   NAVBAR BRAND — Gold mark + text, no image
   ══════════════════════════════════════════════════ */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand-mark {
  font-size: 28px;
  color: var(--color-accent, #C9A84C);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar-brand-name {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-accent, #C9A84C);
  line-height: 1;
  white-space: nowrap;
}

.navbar-brand-sub {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.navbar-brand:hover .navbar-brand-name {
  color: var(--color-accent-light, #D4B96A);
}
.navbar-brand:hover .navbar-brand-sub {
  color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .navbar-brand-name {
  color: var(--color-accent, #C9A84C);
}
.navbar.scrolled .navbar-brand-sub {
  color: var(--color-text-secondary, #6B6B6B);
}

@media (max-width: 767px) {
  .navbar-brand {
    gap: 8px;
  }
  .navbar-brand-mark {
    font-size: 22px;
  }
  .navbar-brand-name {
    font-size: 18px;
    letter-spacing: 0.14em;
  }
  .navbar-brand-sub {
    font-size: 8px;
    letter-spacing: 0.22em;
  }
}

/* Hide any old logo image classes */
.navbar-logo-img,
.navbar-logo-icon {
  display: none !important;
}

/* ── Desktop Nav Links ── */
.navbar-nav {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-nav {
    display: flex;
    align-items: center;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* Chevron icon in dropdown trigger */
.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

/* ── Dropdown ── */
.nav-dropdown {
  position: relative;
}

.dropdown-mega {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  background-color: var(--color-primary);
  border: 1px solid var(--color-border-dark);
  border-top: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  padding: var(--space-6);
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  z-index: var(--z-dropdown);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-dropdown:hover .dropdown-mega,
.nav-dropdown:focus-within .dropdown-mega {
  display: grid;
  opacity: 1;
  pointer-events: auto;
}

/* Show chevron rotation on open */
.nav-dropdown:hover .chevron,
.nav-dropdown:focus-within .chevron {
  transform: rotate(180deg);
}

.dropdown-col-title {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border-dark);
}

.dropdown-link {
  display: block;
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-1) 0;
  transition: color var(--transition-base), padding-left var(--transition-base);
  line-height: 1.7;
}

.dropdown-link:hover {
  color: var(--color-accent);
  padding-left: var(--space-2);
}

/* ── Navbar CTA Button ── */
.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: inline-flex;
    font-size: var(--text-body-sm);
    padding: 10px 22px;
  }
}

/* ── Hamburger (mobile) ── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
  z-index: calc(var(--z-overlay) + 1);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: fixed;
  inset: 0;
  background-color: var(--color-primary);
  padding: var(--space-24) var(--space-8) var(--space-12);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--color-text-light);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-dark);
  width: 100%;
  display: block;
  transition: color var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--color-accent);
}

/* Mobile services sub-list */
.mobile-sub-list {
  padding-left: var(--space-5);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  list-style: none;
}

.mobile-sub-link {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-1) 0;
  transition: color var(--transition-base);
}

.mobile-sub-link:hover {
  color: var(--color-accent);
}

.mobile-menu-cta {
  margin-top: var(--space-8);
}

/* ── Body lock when menu open ── */
body.menu-open {
  overflow: hidden;
}


/* ══════════════════════════════════════════
   COMPONENT 2: FOOTER
   Section D.9 / Component 2
══════════════════════════════════════════ */

.footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding-top: var(--space-20);
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-16);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    gap: var(--space-8);
  }
}

/* Footer logo */
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: var(--space-5);
  opacity: 1;
}

.footer-tagline {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: var(--space-6);
}

/* Footer column headings */
.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-base);
  line-height: 1.7;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* Footer contact info */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-base);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

/* Footer social icons */
.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-dark);
  color: rgba(255, 255, 255, 0.65);
  transition: border-color var(--transition-base), color var(--transition-base), background-color var(--transition-base);
}

.footer-social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: rgba(201, 168, 76, 0.08);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-block: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

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

.footer-copyright {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.45);
}

.footer-tagline-bottom {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.45);
}


/* ══════════════════════════════════════════
   COMPONENT 3: HERO
   Section D.9 / Component 3
══════════════════════════════════════════ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Variant heights */
.hero--full   { min-height: 100vh; }
.hero--medium { min-height: 65vh; }
.hero--short  { min-height: 45vh; }

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--navbar-height) + var(--space-10));
  padding-bottom: var(--space-16);
  max-width: 700px;
}

.hero--full .hero-content {
  padding-top: calc(var(--navbar-height) + var(--space-20));
  padding-bottom: var(--space-24);
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-light);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

@media (max-width: 479px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
}

/* Spacing between hero content elements */
.hero-content .breadcrumb,
.hero-content .breadcrumb--light {
  margin-bottom: var(--space-6);
}
.hero-content .hero-eyebrow {
  margin-bottom: var(--space-4);
}
.hero-content .hero-title {
  margin-bottom: var(--space-5);
}
.hero-content .hero-subtitle {
  margin-bottom: var(--space-8);
}

/* Hero divider (curved SVG wave) */
.hero-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Breadcrumb inside hero — positioned below hero content */
.hero-breadcrumb {
  position: relative;
  z-index: 2;
  padding-block: var(--space-4);
  background-color: rgba(26, 23, 20, 0.7);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}


/* ══════════════════════════════════════════
   COMPONENT 5: SERVICE CARD
   Section D.9 / Component 5
══════════════════════════════════════════ */

.service-card {
  display: block;
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-surface);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-content {
  padding: var(--space-6);
}

.service-card-title {
  font-family: var(--font-body);
  font-size: var(--text-h5);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.service-card-desc {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-link {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-base), color var(--transition-base);
}

.service-card:hover .service-card-link {
  gap: var(--space-2);
  color: var(--color-accent-hover);
}


/* ══════════════════════════════════════════
   COMPONENT 6: PROJECT CARD
   Section D.9 / Component 6
══════════════════════════════════════════ */

.project-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.project-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-surface);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform var(--transition-slow);
}

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

/* Overlay with project info */
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.project-card-location,
.project-card-service {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.8);
  display: block;
}

.project-card-service {
  color: var(--color-accent);
  margin-top: var(--space-1);
}

/* Tags below image */
.project-card-tags {
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  background-color: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tag--service {
  background-color: rgba(201, 168, 76, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.tag--type {
  background-color: var(--color-surface);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.tag--area {
  background-color: var(--color-surface);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}


/* ══════════════════════════════════════════
   COMPONENT 7: BLOG CARD
   Section D.9 / Component 7
══════════════════════════════════════════ */

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-surface);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

/* Category pill badge */
.blog-card-category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 1;
}

.blog-card-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-family: var(--font-body);
  font-size: var(--text-h5);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.blog-card-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.blog-card-excerpt {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-link {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-base);
  margin-top: auto;
}

.blog-card:hover .blog-card-link {
  gap: var(--space-2);
}


/* ══════════════════════════════════════════
   COMPONENT 8: PACKAGE CARDS
   Section D.9 / Component 8
══════════════════════════════════════════ */

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.package-card {
  position: relative;
  background-color: var(--color-surface-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Standard — featured/highlighted card */
.package-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  background-color: rgba(201, 168, 76, 0.04);
}

/* Most Popular badge */
.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.package-name {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-text-light);
}

.package-card--featured .package-name {
  color: var(--color-accent);
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.package-features li {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.75);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.6;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 13px;
}

.package-warranty {
  display: flex;
  align-items: center;
}

.warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-success);
  background-color: rgba(91, 140, 90, 0.12);
  border: 1px solid rgba(91, 140, 90, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.warranty-badge::before {
  content: '✓';
  font-weight: 700;
}

.package-best-for {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-top: auto;
}

/* Package CTA notes below grid */
.packages-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.65);
}

.packages-note a {
  color: var(--color-accent);
  font-weight: 500;
}


/* ══════════════════════════════════════════
   COMPONENT 9: BUTTONS
   Section D.9 / Component 9
══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: transform var(--transition-base),
              background-color var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.99);
}

/* Primary — Gold background, dark text */
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-gold);
}

/* Secondary — Dark background, white text */
.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: #2A2520;
  border-color: #2A2520;
}

/* Ghost — Transparent, white border, white text */
.btn-ghost {
  background-color: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-text-light);
}

/* WhatsApp — Green */
.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  border-color: #1DA851;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* Button size variants */
.btn-sm {
  font-size: var(--text-body-sm);
  padding: 10px 22px;
}

.btn-lg {
  font-size: var(--text-body-lg);
  padding: 18px 40px;
}


/* ══════════════════════════════════════════
   COMPONENT 10: FLOATING WHATSAPP BUTTON
   Section D.9 / Component 10
══════════════════════════════════════════ */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: var(--z-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--color-whatsapp);
  box-shadow: var(--shadow-dark);
  color: #FFFFFF;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: wa-pulse 4s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  animation-play-state: paused;
}

.whatsapp-float-icon {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

/* Tooltip — slides out on hover */
.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  font-size: var(--text-body-sm);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base), transform var(--transition-base);
  transform: translateY(-50%) translateX(8px);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Mobile — raise above potential sticky bar */
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 90px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}


/* ══════════════════════════════════════════
   COMPONENT 11: TESTIMONIAL CARD
   Section D.9 / Component 11
══════════════════════════════════════════ */

.testimonial-card {
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  color: var(--color-accent);
}

.testimonial-quote p {
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: 500;
  font-style: italic;
  line-height: 1.65;
  color: var(--color-text-primary);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
}

.testimonial-author strong {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  display: block;
}

.testimonial-author span {
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
}


/* ══════════════════════════════════════════
   TESTIMONIAL SLIDER WRAPPER
   (JS-powered in home.js)
══════════════════════════════════════════ */

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: var(--space-2);
}

@media (min-width: 768px) {
  .testimonial-slide {
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    min-width: 33.333%;
  }
}

/* Dots navigation */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.slider-dot.active {
  background-color: var(--color-accent);
  transform: scale(1.4);
}


/* ══════════════════════════════════════════
   COMPONENT 12: TRUST BAR
   Section D.9 / Component 12
══════════════════════════════════════════ */

.trust-bar {
  padding-block: var(--space-12);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
  text-align: center;
}

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

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

/* The number row */
.trust-stat-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.trust-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
}

.trust-stat-suffix {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
}

.trust-stat-label {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-text-light);
  margin-top: var(--space-2);
}

.trust-stat-sub {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ══════════════════════════════════════════
   COMPONENT 13: BREADCRUMB
   Section D.9 / Component 13
══════════════════════════════════════════ */

.breadcrumb {
  padding-block: var(--space-4);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-size: var(--text-body-sm);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

.breadcrumb-list a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb-list a:hover {
  color: var(--color-accent);
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 500;
}

/* Light breadcrumb variant (on light backgrounds) */
.breadcrumb--light .breadcrumb-list li {
  color: var(--color-text-secondary);
}

.breadcrumb--light .breadcrumb-list li:not(:last-child)::after {
  color: var(--color-text-muted);
}

.breadcrumb--light .breadcrumb-list a {
  color: var(--color-text-secondary);
}

.breadcrumb--light .breadcrumb-list a:hover {
  color: var(--color-accent);
}

.breadcrumb--light .breadcrumb-list li[aria-current="page"] {
  color: var(--color-accent);
}


/* ══════════════════════════════════════════
   COMPONENT 14: FAQ ACCORDION
   Section D.9 / Component 14
══════════════════════════════════════════ */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-secondary);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.5;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-border);
}

.faq-answer-inner p {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Dark background variant */
.section-dark .faq-item {
  background-color: var(--color-surface-dark);
  border-color: var(--color-border-dark);
}

.section-dark .faq-question {
  color: var(--color-text-light);
}

.section-dark .faq-question:hover,
.section-dark .faq-question[aria-expanded="true"] {
  color: var(--color-accent);
}

.section-dark .faq-answer-inner {
  border-top-color: var(--color-border-dark);
}

.section-dark .faq-answer-inner p {
  color: rgba(255, 255, 255, 0.7);
}


/* ══════════════════════════════════════════
   COMPONENT 15: PROCESS STEPS
   Section D.9 / Component 15
══════════════════════════════════════════ */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), rgba(201, 168, 76, 0.2));
}

@media (min-width: 1024px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  /* Horizontal connecting line */
  .process-steps::before {
    left: 48px;
    right: 48px;
    top: 23px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent), rgba(201, 168, 76, 0.2));
  }
}

.process-step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  position: relative;
}

@media (min-width: 1024px) {
  .process-step {
    flex-direction: column;
    flex: 1;
    padding: 0 var(--space-5);
    text-align: center;
    align-items: center;
  }

  .process-step:first-child {
    padding-left: 0;
  }

  .process-step:last-child {
    padding-right: 0;
  }
}

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step-content {
  flex: 1;
  padding-top: var(--space-2);
}

@media (min-width: 1024px) {
  .process-step-content {
    padding-top: var(--space-4);
  }
}

.process-step-title {
  font-family: var(--font-body);
  font-size: var(--text-h5);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.section-dark .process-step-title {
  color: var(--color-text-light);
}

.process-step-desc {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.section-dark .process-step-desc {
  color: rgba(255, 255, 255, 0.65);
}


/* ══════════════════════════════════════════
   SERVICE AREAS PILLS
   (Homepage Section 9 — Serving Bangalore)
══════════════════════════════════════════ */

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.area-pill {
  display: inline-block;
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: var(--color-text-secondary);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: border-color var(--transition-base), color var(--transition-base);
}

.area-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}


/* ══════════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════════ */

.cta-section {
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: var(--space-4);
}

.cta-section .section-subtitle {
  margin-inline: auto;
  margin-bottom: var(--space-8);
}


/* ══════════════════════════════════════════
   FILTER BAR (Services / Projects pages)
══════════════════════════════════════════ */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: var(--space-5);
  background-color: var(--color-secondary);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: var(--navbar-height);
  z-index: var(--z-raised);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  cursor: pointer;
  transition: border-color var(--transition-base),
              color var(--transition-base),
              background-color var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-btn.active {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
}


/* ══════════════════════════════════════════
   CONTACT FORM
   (Contact page)
══════════════════════════════════════════ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-text-primary);
}

.form-label span.required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background-color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Radio group */
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  cursor: pointer;
  color: var(--color-text-primary);
}

.form-radio-label input[type="radio"] {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Error message */
#formError {
  font-size: var(--text-body-sm);
  color: #D95252;
  background-color: rgba(217, 82, 82, 0.08);
  border: 1px solid rgba(217, 82, 82, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: none;
}

#formError.visible {
  display: block;
}

/* Success state */
.form-success {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  display: none;
}

.form-success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: rgba(91, 140, 90, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
}

/* Honeypot (hidden spam field) */
.form-honeypot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}


/* ══════════════════════════════════════════
   ALIASES — added by complete-main-pages.js
   Ensures footer HTML written by different
   generators renders correctly.
══════════════════════════════════════════ */

/* blog/complete-blogs.js uses footer-bottom-left / footer-bottom-right */
.footer-bottom-left {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom-right {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.45);
}

/* contact/index.html uses footer-heading */
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

/* .footer-inner is a harmless wrapper used in some pages */
.footer-inner {
  width: 100%;
}

/* Hero dark background fallback — shows while image loads */
.hero {
  background-color: var(--color-primary);
}
