/* ============================================================
   INTERIOR MATERIALS PK — Global Stylesheet
   ============================================================ */

/* Google Fonts — DM Sans + Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* New design tokens */
  --bg:            #FAFAF8;
  --bg-alt:        #F4F1EC;
  --accent:        #C1521F;
  --accent-hover:  #A8421A;
  --accent-pale:   #F0E3D8;
  --text:          #1C1410;
  --text-muted:    #7A6E68;
  --border:        #E8E0D8;
  --dark:          #1C1410;
  --wa:            #25D366;
  --wa-hover:      #1da851;

  /* Legacy aliases — keeps all subpages working unchanged */
  --terracotta:       var(--accent);
  --terracotta-light: #D96B3A;
  --terracotta-pale:  var(--accent-pale);
  --brown-dark:       var(--dark);
  --brown-mid:        #5C3D2E;
  --beige:            var(--bg-alt);
  --sand:             var(--border);
  --sand-dark:        #C9B8AE;
  --white:            #FFFFFF;
  --gray-light:       var(--bg);
  --gray-mid:         var(--text-muted);
  --gray-dark:        var(--text);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', Arial, sans-serif;

  /* Layout */
  --topbar-h:          44px;
  --nav-height:        72px;
  --border-radius-card: 12px;
  --border-radius-btn:  6px;
  --transition:        0.3s ease;
  --shadow-card:       0 2px 16px rgba(28,20,16,0.07);
  --shadow-hover:      0 8px 32px rgba(28,20,16,0.13);
  --max-width:         1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--brown-mid); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-bg-white     { background: var(--white); }
.section-bg-beige     { background: var(--bg-alt); }
.section-bg-gray      { background: var(--bg); }
.section-bg-dark      { background: var(--dark); }
.section-bg-terracotta{ background: var(--accent); }
.section-bg-alt       { background: var(--bg-alt); }  /* new alias */

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center    { text-align: center; }
.text-white     { color: var(--white) !important; }
.text-terracotta{ color: var(--accent); }
.text-muted     { color: var(--text-muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--border-radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--bg-alt);
  border-color: var(--bg-alt);
  color: var(--dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-whatsapp {
  background: var(--wa);
  color: var(--white);
  border-color: var(--wa);
}

.btn-whatsapp:hover {
  background: var(--wa-hover);
  border-color: var(--wa-hover);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================================
   LOGO — inline SVG
   ============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* SVG fill="currentColor" picks this up for the wordmark text */
  color: var(--white);            /* default: legible on dark hero */
  /* --logo-bg controls the diamond cut-out fill in the SVG icon.
     Default matches the dark hero/transparent-navbar background.
     Overridden below when the surface changes. */
  --logo-bg: #1C1410;
}

/* White navbar (scrolled state) */
.navbar.scrolled .logo {
  color: var(--dark);
  --logo-bg: #ffffff;
}

/* Footer — always on dark #1C1410 surface */
.footer .logo {
  color: var(--white);
  --logo-bg: #1C1410;
}

/* ── Logo grid variant (location & sub-pages) ── */
.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  flex-shrink: 0;
}

.logo-grid .sq1 { background: var(--accent);              border-radius: 3px 0 0 0; }
.logo-grid .sq2 { background: rgba(255,255,255,0.25);     border-radius: 0 3px 0 0; }
.logo-grid .sq3 { background: rgba(255,255,255,0.25);     border-radius: 0 0 0 3px; }
.logo-grid .sq4 { background: var(--accent);              border-radius: 0 0 3px 0; }

.navbar.scrolled .logo-grid .sq2,
.navbar.scrolled .logo-grid .sq3 { background: rgba(28,20,16,0.18); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.logo-wordmark {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: inherit;
  white-space: nowrap;
}

.logo-wordmark span { color: var(--accent); }

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

.navbar.scrolled .logo-tagline { color: var(--text-muted); }
.footer .logo-tagline           { color: rgba(255,255,255,0.45); }

/* ============================================================
   TOP BAR (homepage only)
   ============================================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-h);
  background: var(--dark);
  display: flex;
  align-items: center;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
  transition: color var(--transition);
}

.top-bar-phone:hover { color: var(--white); }

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-bar-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}

.top-bar-icon:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;           /* default — subpages have no top-bar */
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), top var(--transition);
  /* SVG logo cut-out matches dark hero/page-hero behind transparent bar */
  --logo-bg: #1C1410;
}

/* On homepage, push navbar below the top bar */
body.home .navbar { top: var(--topbar-h); }

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(28,20,16,0.1);
}

.navbar.scrolled .nav-link      { color: var(--text); }
.navbar.scrolled .nav-link:hover{ color: var(--accent); }

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 8px 9px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

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

.navbar.scrolled .nav-link.active { color: var(--accent); }

/* Dropdown */
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.dropdown a:hover {
  background: var(--accent-pale);
  color: var(--accent);
}

/* Areas dropdown — 3-column grid */
.dropdown.dropdown-areas {
  display: flex !important;
  flex-wrap: wrap;
  width: 540px;
  min-width: 540px;
  padding: 8px 0;
  left: auto;
  right: 0;
}

.dropdown.dropdown-areas a {
  width: 33.333%;
  box-sizing: border-box;
  padding: 8px 14px;
  font-size: 0.825rem;
  white-space: nowrap;
  border-bottom: none;
}

.has-dropdown:hover .dropdown.dropdown-areas {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .hamburger span { background: var(--dark); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu-sub { padding-left: 20px; }

.mobile-menu-sub a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.mobile-menu-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 20px 0 8px;
  border-bottom: none !important;
}

/* Areas section in mobile menu — compact 2-column grid */
.mobile-menu-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
}

.mobile-menu-areas a {
  font-size: 0.9rem !important;
  padding: 9px 0 !important;
}

/* ============================================================
   HERO — SPLIT LAYOUT (homepage)
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* homepage: offset for top-bar + navbar */
  padding: calc(var(--topbar-h) + var(--nav-height) + 56px) 0 80px;
}

/* Subtle diagonal grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(193,82,31,0.05) 0,
    rgba(193,82,31,0.05) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 32px 32px;
  pointer-events: none;
}

/* Split grid */
.hero-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left — text */
.hero-left { display: flex; flex-direction: column; gap: 0; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(193,82,31,0.35);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.hero-left h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-accent { color: var(--accent); }

.hero-left > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 36px;
}

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

/* Right — image grid */
.hero-right { position: relative; }

.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 420px;
}

.hero-img-cell {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: transform var(--transition);
  overflow: hidden;
}

.hero-img-cell:hover { transform: scale(1.02); }

/* Each cell gets a unique gradient */
.hero-cell-1 { background: linear-gradient(135deg, #3D2010 0%, var(--accent) 100%); }
.hero-cell-2 { background: linear-gradient(135deg, #2E1A0E 0%, #7A4E32 100%); }
.hero-cell-3 { background: linear-gradient(135deg, #1A120A 0%, #3D2318 100%); }
.hero-cell-4 { background: linear-gradient(135deg, #A8421A 0%, #5C3D2E 100%); }

/* make first cell taller */
.hero-cell-1 { grid-row: span 1; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 8px 24px;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ============================================================
   PRODUCT CATEGORY CARDS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

/* Image / colour area */
.cat-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: filter var(--transition);
}

.cat-card:hover .cat-card-img { filter: brightness(1.08); }

/* Category-specific gradients */
.cat-img-panels  { background: linear-gradient(135deg, #3D2010, var(--accent)); }
.cat-img-flooring{ background: linear-gradient(135deg, #2E1A0E, #8B6347); }
.cat-img-ceiling { background: linear-gradient(135deg, #2C1F14, #5C4A36); }
.cat-img-acoustic{ background: linear-gradient(135deg, #1A1010, #6B3D28); }
.cat-img-mdf     { background: linear-gradient(135deg, #222810, #4A5020); }
.cat-img-cladding{ background: linear-gradient(135deg, #1A2028, #3A5060); }

.cat-card-body {
  padding: 22px 24px 24px;
}

.cat-card-body h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.cat-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

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

/* ============================================================
   WHY CHOOSE US — 3-CARD
   ============================================================ */
.why3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why3-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-card);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why3-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.why3-icon {
  width: 68px;
  height: 68px;
  background: var(--accent-pale);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: background var(--transition);
}

.why3-card:hover .why3-icon { background: var(--accent); }
.why3-card:hover .why3-icon svg { stroke: var(--white) !important; }

.why3-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.why3-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   BRANDS STRIP
   ============================================================ */
.brands-section {
  background: var(--white);
  padding: 52px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.brands-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-box {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sand-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  white-space: nowrap;
  cursor: default;
}

.brand-box:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-pale);
}

/* Old .brand-item alias kept for subpages */
.brand-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sand-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--transition);
  white-space: nowrap;
}

.brand-item:hover { color: var(--accent); }

/* ============================================================
   RECENT PROJECTS GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-item {
  border-radius: var(--border-radius-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  display: block;
  background: var(--bg-alt);
  cursor: pointer;
  text-decoration: none;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.project-item:hover .project-placeholder { transform: scale(1.05); }

/* Unique gradient per project */
.proj-1 { background: linear-gradient(135deg, #3D2010, var(--accent) 120%); }
.proj-2 { background: linear-gradient(135deg, #2E1A0E, #7A4E32); }
.proj-3 { background: linear-gradient(135deg, #1A1A0E, #4A5020); }
.proj-4 { background: linear-gradient(135deg, #1A2028, #3A5060); }
.proj-5 { background: linear-gradient(135deg, #28101A, #6B3D4A); }
.proj-6 { background: linear-gradient(135deg, #101828, #204060); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,20,16,0.92) 0%, rgba(28,20,16,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 22px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.project-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 5px;
}

.project-overlay span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   CTA BANNER (terracotta)
   ============================================================ */
.cta-banner {
  background: var(--accent);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.05) 0,
    rgba(255,255,255,0.05) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner-inner h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-banner-inner p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (inner / subpages)
   ============================================================ */
.page-hero {
  background: var(--dark);
  padding: calc(var(--nav-height) + 48px) 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(193,82,31,0.06) 0,
    rgba(193,82,31,0.06) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 30px 30px;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 0;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.breadcrumb a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

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

.breadcrumb span {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.3);
}

.breadcrumb .current {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb-dark a     { color: var(--text-muted); }
.breadcrumb-dark span  { color: var(--sand-dark); }
.breadcrumb-dark .current { color: var(--text); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--accent); padding: 20px 0; }

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-item-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.25);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.card-body   { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); }

/* Category Cards (subpage variant) */
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.category-card:hover::before { transform: scaleX(1); }

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--accent-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.category-card:hover .category-icon { background: var(--accent); }
.category-icon svg { transition: stroke var(--transition), fill var(--transition); }
.category-card:hover .category-icon svg path,
.category-card:hover .category-icon svg rect,
.category-card:hover .category-icon svg circle { stroke: var(--white); }

.category-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.category-card p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }

.category-card .link-arrow {
  font-size: 0.825rem;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  transition: gap var(--transition);
}

.category-card:hover .link-arrow { gap: 10px; }

/* Product cards */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

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

.product-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.product-card-placeholder-icon {
  width: 56px;
  height: 56px;
  background: var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-body { padding: 20px; }

.product-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-pale);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.product-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--dark); }
.product-card p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--brown-mid);
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.blog-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--accent-pale), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.blog-category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--dark); transition: color var(--transition); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 0.875rem; color: var(--text-muted); flex: 1; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   WHY CHOOSE US (4-col subpage variant)
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item { text-align: center; }

.why-icon {
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-card);
}

.why-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p  { font-size: 0.875rem; color: var(--text-muted); }

/* ============================================================
   FEATURES / USP
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.feature-item { display: flex; gap: 16px; align-items: flex-start; }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h4 { margin-bottom: 4px; font-size: 0.95rem; }
.feature-item p  { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-card);
  padding: 28px;
}

.testimonial-stars {
  color: #F4B400;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
  gap: 16px;
  transition: background var(--transition);
  user-select: none;
}

.faq-question:hover { background: var(--accent-pale); }
.faq-item.open .faq-question { background: var(--accent-pale); color: var(--accent); }

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
}

.faq-item.open .faq-toggle {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   PRICE TABLE
   ============================================================ */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.price-table thead { background: var(--dark); color: var(--white); }

.price-table th {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.price-table tbody tr:hover { background: var(--accent-pale); }
.price-table .price-highlight { color: var(--accent); font-weight: 600; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table thead { background: var(--accent); color: var(--white); }
.comparison-table th   { padding: 16px 20px; font-size: 0.875rem; font-weight: 600; text-align: left; }
.comparison-table td   { padding: 14px 20px; font-size: 0.875rem; border-bottom: 1px solid var(--border); background: var(--white); }
.comparison-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.comparison-table .check { color: #22c55e; font-weight: 600; }
.comparison-table .cross { color: #ef4444; }

/* ============================================================
   CTA SECTIONS (subpage dark variant)
   ============================================================ */
.cta-section {
  background: var(--dark);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(193,82,31,0.06) 0,
    rgba(193,82,31,0.06) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 30px 30px;
}

.cta-section-inner { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.65); margin-bottom: 32px; font-size: 1.05rem; }
.cta-section .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Inline CTA box */
.cta-box {
  background: var(--accent-pale);
  border: 1px solid var(--sand-dark);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 40px 0;
}

.cta-box h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--dark); }
.cta-box p  { color: var(--brown-mid); margin-bottom: 20px; font-size: 0.9rem; }
.cta-box .cta-box-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { max-width: 640px; }

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown-mid);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: 6px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(193,82,31,0.12);
}

select.form-control   { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   CONTACT INFO
   ============================================================ */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }

.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 { font-size: 0.875rem; margin-bottom: 2px; color: var(--dark); }
.contact-info-item a,
.contact-info-item p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; transition: color var(--transition); }
.contact-info-item a:hover { color: var(--accent); }

/* ============================================================
   PORTFOLIO / PROJECTS (subpage)
   ============================================================ */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 500;
  border: 1px solid var(--sand-dark);
  border-radius: 20px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg);
  cursor: pointer;
}

.portfolio-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--border), var(--accent-pale));
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,20,16,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4   { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.portfolio-overlay span { font-size: 0.8rem; color: var(--border); }

/* ============================================================
   BLOG / ARTICLE
   ============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.article-content h2 { margin: 40px 0 16px; }
.article-content h3 { margin: 28px 0 12px; }
.article-content p  { margin-bottom: 18px; line-height: 1.8; }
.article-content ul,
.article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 8px; font-size: 0.95rem; color: var(--text); }

.article-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0 40px;
}

.article-toc h3 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-toc ol { margin-left: 20px; }
.article-toc li { margin-bottom: 8px; }
.article-toc a  { font-size: 0.875rem; color: var(--accent); transition: color var(--transition); }
.article-toc a:hover { color: var(--brown-mid); }

.article-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.article-post-meta span { display: flex; align-items: center; gap: 6px; }

.sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.sidebar-links { display: flex; flex-direction: column; gap: 8px; }

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--accent); }
.sidebar-links a::before { content: '→'; color: var(--accent); font-size: 0.8rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.service-card:hover .service-icon { background: var(--accent); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   ABOUT STATS
   ============================================================ */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-stat {
  text-align: center;
  padding: 24px;
  background: var(--accent-pale);
  border-radius: 8px;
}

.about-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--brown-mid);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); --logo-bg: #1C1410; }

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 10px; }

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  text-decoration: none;
  font-weight: 600;
}

.social-icon:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item span:first-child {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span:last-child,
.footer-contact-item a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: waFloat 3s ease-in-out infinite;
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: var(--wa-hover);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  transform: translateY(-2px);
}

.whatsapp-float svg { flex-shrink: 0; }

@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ============================================================
   TRENDING BADGE
   ============================================================ */
.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff3e0;
  color: #e65100;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #ffcc02;
  margin-left: 8px;
  vertical-align: middle;
}

/* ============================================================
   PRODUCT SPECS LIST
   ============================================================ */
.specs-list { display: flex; flex-direction: column; gap: 0; }

.spec-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.spec-row:last-child { border-bottom: none; }

.spec-label {
  width: 180px;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.spec-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   UTILITY
   ============================================================ */
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px 0;
}

.divider-center { margin: 16px auto; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
}

.notice-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 24px 0;
}

/* ============================================================
   RESPONSIVE — TABLET (< 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .footer-main       { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-grid          { grid-template-columns: repeat(2, 1fr); }
  .about-stats       { grid-template-columns: repeat(2, 1fr); }
  .blog-layout       { grid-template-columns: 1fr; }
  .sidebar           { position: static; }
  .portfolio-grid    { grid-template-columns: repeat(2, 1fr); }
  .hero-split        { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-grid     { height: 280px; }
  .cat-grid          { grid-template-columns: repeat(2, 1fr); }
  .why3-grid         { grid-template-columns: repeat(3, 1fr); }
  .projects-grid     { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --topbar-h:   40px;
  }

  .section    { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

  .nav-menu          { display: none; }
  .hamburger         { display: flex; }
  .nav-actions .btn  { display: none; }

  /* Hero adjustments */
  .hero { padding: calc(var(--topbar-h) + var(--nav-height) + 32px) 0 56px; }
  .hero-split    { grid-template-columns: 1fr; gap: 32px; }
  .hero-img-grid { height: 220px; }
  .hero-ctas     { gap: 12px; }

  /* Stats */
  .stats-inner { gap: 0; }
  .stat-item   { min-width: 50%; padding: 12px 16px; }
  .stat-sep    { display: none; }

  /* Category cards */
  .cat-grid     { grid-template-columns: 1fr; }
  .cat-card-img { height: 140px; }

  /* Why 3 */
  .why3-grid { grid-template-columns: 1fr; }

  /* Brands */
  .brands-strip { gap: 8px; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Grid helpers */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features-grid   { grid-template-columns: 1fr; }
  .footer-main     { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }
  .trust-bar-inner { gap: 20px; }
  .trust-divider   { display: none; }
  .form-row        { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .about-stats     { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom   { flex-direction: column; text-align: center; }

  /* Top bar — hide phone text on very small screens */
  .top-bar-phone span:last-child { display: none; }

  /* WhatsApp float */
  .whatsapp-float { padding: 12px 14px; }
  .whatsapp-float .wa-label { display: none; }

  /* CTA banner */
  .cta-banner-btns { flex-direction: column; align-items: center; }

  .page-hero { padding: calc(var(--nav-height) + 32px) 0 40px; }
  .page-hero-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .why-grid      { grid-template-columns: 1fr; }
  .about-stats   { grid-template-columns: 1fr; }
  .hero-ctas     { flex-direction: column; }
  .hero-ctas .btn{ text-align: center; justify-content: center; }
  .stat-item     { min-width: 100%; }
  .cat-grid      { grid-template-columns: 1fr; }
  .why3-grid     { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .logo-wordmark { font-size: 0.88rem; letter-spacing: 1px; }
}
