/* =============================================
   MATIZA LEASING COMPANY - MAIN STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --green-dark:   #1a4731;
  --green-main:   #2e7d52;
  --green-light:  #4caf50;
  --green-pale:   #e8f5e9;
  --green-mist:   #f1f8f2;
  --green-border: #d8e4dc;
  --earth-brown:  #6d4c2a;
  --earth-tan:    #c9a96e;
  --earth-cream:  #fdf6ec;
  --earth-ink:    #2f2414;
  --dark:         #1a1a2e;
  --dark-soft:    #2d3748;
  --footer-green: #0f2d1d;
  --danger:       #e53935;
  --gray:         #718096;
  --gray-light:   #f7f8fa;
  --placeholder:  #9aa8b6;
  --border-soft:  #e2e8f0;
  --white:        #ffffff;
  --whatsapp:     #25d366;
  --whatsapp-dark:#1ebe5d;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 48px rgba(0,0,0,.16);
  --shadow-premium: 0 24px 70px rgba(15,45,29,.16);
  --ring-soft:    0 0 0 1px rgba(201,169,110,.18);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   all .3s cubic-bezier(.2,.8,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background:
    linear-gradient(180deg, rgba(232,245,233,.38) 0, rgba(255,255,255,0) 320px),
    var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

:focus-visible {
  outline: 3px solid var(--earth-tan);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.page-hero h1,
.cta-banner h2,
.service-card-body h3,
.svc-card h4,
.info-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

body,
button,
input,
select,
textarea,
.nav-link,
.btn-primary,
.btn-outline,
.btn-outline-white,
.btn-whatsapp,
.hero-badge,
.section-subtitle,
.form-label,
.form-control,
.form-select,
.cat-tab {
  font-family: 'Inter', Arial, sans-serif;
}

img, video, iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.lucide {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  stroke-width: 2.2;
  vertical-align: -.14em;
}

.icon-spin {
  animation: icon-spin 1s linear infinite;
}

@keyframes icon-spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-drift {
  from { transform: scale(1.025) translate3d(0,0,0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}

a, p, h1, h2, h3, h4, h5, h6, .val {
  overflow-wrap: break-word;
}

/* ---- UTILITY ---- */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.bg-green-pale { background: var(--green-pale); }
.bg-dark       { background: var(--green-dark); }
.bg-cream      { background: var(--earth-cream); }
.text-green    { color: var(--green-main); }
.text-earth    { color: var(--earth-brown); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.25;
}
.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--earth-tan));
  border-radius: 2px;
  margin: 12px auto 20px;
  box-shadow: 0 6px 18px rgba(201,169,110,.22);
}
.animate-in {
  animation: fadeInUp .35s ease forwards;
}
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn-primary,
.btn-whatsapp,
.btn-outline,
.btn-outline-white {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(46,125,82,.35);
}
.btn-primary::before,
.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.24) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  z-index: -1;
}
.btn-primary:hover::before,
.btn-whatsapp:hover::before { transform: translateX(120%); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(46,125,82,.36);
  color: var(--white);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--green-main);
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid var(--green-main);
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--green-main);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(46,125,82,.22);
}
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.6);
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--whatsapp);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(216,228,220,.72);
  box-shadow: 0 8px 28px rgba(15,45,29,.08);
  transition: var(--transition);
}
.navbar.is-scrolled {
  box-shadow: 0 14px 36px rgba(15,45,29,.14);
}
.navbar-brand .site-logo {
  width: 216px;
  height: 50px;
  display: block;
}
.navbar-brand .brand-text { line-height: 1.2; }
.navbar-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--green-dark);
}
.navbar-brand .brand-sub {
  font-size: .68rem; color: var(--gray);
  display: block; letter-spacing: .03em;
}
.nav-link {
  font-weight: 500; font-size: .86rem;
  color: var(--dark-soft) !important;
  padding: 6px 10px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--green-main) !important;
  background: var(--green-pale);
}
.nav-link:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--earth-tan);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease;
}
.nav-link:not(.nav-cta):hover::after,
.nav-link:not(.nav-cta).active::after { transform: scaleX(1); }
.nav-cta {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark)) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover {
  opacity: .9;
  background: var(--green-dark) !important;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-matiza-services.webp') center/cover no-repeat;
  transform: scale(1.025);
  animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,71,49,.88) 0%, rgba(26,71,49,.6) 60%, rgba(0,0,0,.3) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-content .col-lg-8 {
  animation: fadeInUp .75s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--green-pale);
  padding: 6px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: var(--ring-soft), 0 16px 40px rgba(0,0,0,.12);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 20px;
}
.hero-title span { color: var(--earth-tan); }
.hero-desc { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; margin-bottom: 32px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stat {
  transition: transform .28s ease;
}
.hero-stat:hover { transform: translateY(-3px); }
.hero-stat .num {
  font-size: 2rem; font-weight: 800; color: var(--white);
  font-family: 'Playfair Display', serif;
}
.hero-stat .lbl { font-size: .8rem; color: rgba(255,255,255,.7); }

/* ---- INTRO STRIP ---- */
.intro-strip {
  background: var(--green-dark);
  padding: 28px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.18);
}
.intro-strip .item {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.9);
}
.intro-strip .icon-wrap {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.intro-strip .icon-wrap :is(i, svg) { color: var(--earth-tan); font-size: 1.1rem; }
.intro-strip .lbl { font-size: .78rem; opacity: .7; }
.intro-strip .val { font-weight: 600; font-size: .92rem; }

/* ---- SERVICE CARDS ---- */
.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--ring-soft);
  transition: var(--transition);
  background: var(--white);
  height: 100%;
  position: relative;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
}
.service-card-img {
  position: relative; overflow: hidden; height: 220px;
}
.service-card-img::after,
.product-card-media::after,
.svc-card-media::after,
.gallery-item::after,
.why-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15,45,29,.18));
  pointer-events: none;
  opacity: .65;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(26,71,49,.88);
  backdrop-filter: blur(10px);
  color: var(--white); padding: 4px 12px;
  border-radius: 20px; font-size: .75rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.28);
  z-index: 1;
}
.service-card-body { padding: 24px; }
.service-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--green-dark); margin-bottom: 10px;
}
.service-card-body p { color: var(--gray); font-size: .92rem; margin-bottom: 18px; }
.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}
.feature-list li {
  font-size: .85rem;
  color: var(--gray);
  padding: 3px 0;
}
.feature-list :is(i, svg) {
  color: var(--green-main);
  margin-right: .5rem;
}

/* ---- LOCATION ADVANTAGES ---- */
.loc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm), var(--ring-soft);
  border-left: 4px solid var(--green-main);
  transition: var(--transition);
}
.loc-card:hover { transform: translateX(4px) translateY(-2px); box-shadow: var(--shadow-md), var(--ring-soft); }
.loc-card .icon {
  width: 42px; height: 42px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.loc-card .icon :is(i, svg) { color: var(--green-main); font-size: 1.1rem; }
.loc-card h5 { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.loc-card p { color: var(--gray); font-size: .85rem; margin: 0; }

/* ---- WHY CHOOSE US ---- */
.why-card {
  text-align: center; padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--ring-soft);
  transition: var(--transition);
  border: 1px solid rgba(46,125,82,.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.why-card.has-img {
  padding: 0;
}
.why-card-img {
  height: 140px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.why-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.why-card:hover .why-card-img img {
  transform: scale(1.06);
}
.why-card-content {
  padding: 24px 18px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.why-card.has-img .why-icon {
  margin: -56px auto 16px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.why-card:hover {
  box-shadow: var(--shadow-premium);
  border-color: var(--green-light);
  transform: translateY(-7px);
}
.why-card:hover .why-icon {
  transform: scale(1.08);
}
.why-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--green-pale), var(--green-border));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.why-icon :is(i, svg) { color: var(--green-main); font-size: 1.6rem; }
.why-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--green-dark); }
.why-card p { color: var(--gray); font-size: .88rem; margin: 0; }

/* ---- PRODUCT CARDS ---- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), var(--ring-soft);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--green-border);
  height: 100%;
}
.product-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--earth-cream);
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.035); }
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 50px;
  font: 700 .72rem 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 1;
}
.product-badge.popular { background: var(--earth-tan); color: var(--earth-ink); }
.product-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-7px);
  border-color: var(--green-light);
}
.product-card-icon {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--green-pale), var(--green-mist));
}
.product-card-body { padding: 18px; }
.product-card-body h3,
.product-card-body h5 { font-weight: 700; font-size: 1.14rem; margin-bottom: 7px; color: var(--green-dark); }
.product-card-body p { font-size: .86rem; color: var(--gray); margin-bottom: 14px; }
.stock-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--green-main);
  font-size: .75rem;
  font-weight: 700;
}
.stock-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 0 4px rgba(76,175,80,.14);
}
.product-price {
  color: var(--earth-brown);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.product-enquiry-link {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  background: var(--green-main);
  color: var(--white);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.product-enquiry-link:hover { background: var(--green-dark); color: var(--white); }

/* ---- PRODUCT CATALOGUE ---- */
.shop-eyebrow { font-size: .78rem; letter-spacing: .1em; margin-bottom: 7px; }
.quick-shop { background: var(--white); }
.quick-shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.quick-shop-heading > div { max-width: 700px; }
.quick-shop-heading p:last-child { color: var(--gray); margin: 0; }
.quick-shop-divider { margin: 12px 0 18px; }
.quick-product-card {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm), var(--ring-soft);
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.quick-product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-premium); color: inherit; }
.quick-product-card img { width: 100%; height: 180px; object-fit: cover; }
.quick-product-card span {
  display: inline-block;
  margin: 16px 18px 3px;
  color: var(--green-main);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.quick-product-card h3 { font-size: 1.08rem; color: var(--green-dark); margin: 0 18px 5px; }
.quick-product-card p { color: var(--gray); font-size: .82rem; line-height: 1.55; margin: 0 18px 18px; }
.shop-toolbar {
  display: flex;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto 22px;
}
.product-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--green-border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-search:focus-within {
  border-color: var(--green-main);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(46,125,82,.1);
}
.product-search svg { color: var(--green-main); }
.product-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--dark);
  font-size: .92rem;
}
.no-products {
  margin: 25px auto 0;
  padding: 25px;
  max-width: 600px;
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  color: var(--gray);
}
/* ---- SERVICE LIST CARDS ---- */
.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm), var(--ring-soft);
  transition: var(--transition);
  border: 1px solid var(--green-border);
  height: 100%;
}
.svc-card:hover {
  box-shadow: var(--shadow-premium);
  border-color: var(--green-light);
  transform: translateY(-7px);
}
.svc-card-media {
  height: 178px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--green-mist);
  position: relative;
}
.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.svc-card:hover .svc-card-media img { transform: scale(1.04); }
.svc-card h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--green-dark); margin-bottom: 10px; }
.svc-card p { color: var(--gray); font-size: .9rem; margin-bottom: 18px; }
.svc-card ul { list-style: none; margin-bottom: 20px; }
.svc-card ul li {
  display: flex; align-items: center; gap: 8px;
  color: var(--dark-soft); font-size: .88rem;
  padding: 4px 0;
}
.svc-card ul li::before {
  content: '✓'; color: var(--green-main);
  font-weight: 700; font-size: .9rem;
}

/* ---- GALLERY ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm), var(--ring-soft);
  transition: var(--transition);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-premium); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(26,71,49,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
  z-index: 1;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay :is(i, svg) { color: var(--white); font-size: 2rem; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.92);
  cursor: pointer;
  animation: fadeIn .25s ease;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  object-fit: contain;
}

/* ---- CONTACT FORM ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-premium), var(--ring-soft);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--dark-soft); margin-bottom: 6px; }
.form-control, .form-select {
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .92rem;
  transition: var(--transition);
  background: var(--gray-light);
}
.form-control:focus, .form-select:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(46,125,82,.12);
  background: var(--white);
}
.form-control::placeholder { color: var(--placeholder); }
.was-validated .form-control:invalid,
.was-validated .form-select:invalid { border-color: var(--danger); }
.was-validated .form-control:valid { border-color: var(--green-main); }

/* ---- INFO BLOCKS ---- */
.info-card {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%);
  pointer-events: none;
}
.info-card h4 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 20px; color: var(--earth-tan); }
.info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.info-item .icon { color: var(--earth-tan); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.info-item .lbl { font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.info-item .val { font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 500; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 140px 0 70px;
  background: url('../images/hero-matiza-services.webp') center 52%/cover no-repeat;
  position: relative; overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,71,49,.94) 0%, rgba(26,71,49,.82) 45%, rgba(26,71,49,.58) 100%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white); font-weight: 700; line-height: 1.2;
}
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.breadcrumb-item, .breadcrumb-item a {
  color: rgba(255,255,255,.65) !important;
  font-size: .85rem;
}
.breadcrumb-item.active { color: var(--earth-tan) !important; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4) !important; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 60px 0;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-premium);
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white); font-weight: 700;
}
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 9998;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); background: var(--whatsapp-dark); }
.wa-float :is(i, svg) { color: var(--white); font-size: 1.6rem; }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,.5); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,.8); }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--footer-green);
  color: rgba(255,255,255,.8);
  padding: 64px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.footer-logo .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--white);
}
.footer-logo .brand-sub { font-size: .75rem; color: rgba(255,255,255,.5); }
.footer-site-logo {
  width: 230px;
  height: auto;
  display: block;
}
.footer p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.8; }
.footer h6 {
  color: var(--earth-tan);
  font-weight: 700; font-size: .88rem;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none; font-size: .88rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--earth-tan); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  margin-top: 48px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-decoration: none;
  transition: var(--transition);
}
.social-links a:hover { background: var(--green-main); color: var(--white); }

/* ---- CATEGORY TABS ---- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.cat-tab {
  padding: 8px 20px; border-radius: 50px;
  border: 2px solid var(--border-soft);
  background: var(--white);
  color: var(--dark-soft); font-weight: 500; font-size: .88rem;
  cursor: pointer; transition: var(--transition);
}
.cat-tab:hover, .cat-tab.active {
  background: var(--green-main);
  border-color: var(--green-main);
  color: var(--white);
}

/* ---- ABOUT PAGE ---- */
.value-card {
  text-align: center; padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green-main);
}
.value-card :is(i, svg) { font-size: 2rem; color: var(--green-main); margin-bottom: 12px; }
.value-card h5 { font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.value-card p { color: var(--gray); font-size: .88rem; margin: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1199px) {
  .section-pad { padding: 60px 0; }
  .navbar .container { max-width: 100%; }
  .navbar-collapse { max-height: calc(100vh - 78px); overflow-y: auto; }
  .navbar-nav {
    align-items: stretch !important;
    background: var(--white);
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 8px;
  }
  .nav-link { padding: 10px 12px !important; }
  .nav-cta { text-align: center; margin-top: 4px; }
  .hero { min-height: auto; }
  .hero .min-vh-100 { min-height: auto !important; padding-top: 150px !important; padding-bottom: 90px !important; }
  .footer { padding-top: 52px; }
}

@media (max-width: 767px) {
  .section-pad { padding: 48px 0; }
  .section-pad-sm { padding: 40px 0; }
  .section-subtitle { font-size: .96rem; }
  .page-hero { padding: 112px 0 48px; }
  .page-hero p { font-size: .96rem; }
  .hero .min-vh-100 { padding-top: 130px !important; padding-bottom: 64px !important; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-desc { font-size: 1rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin-top: 36px;
    padding-top: 24px;
  }
  .hero-stat .num { font-size: 1.7rem; }
  .contact-form-wrap { padding: 24px; }
  .intro-strip .item { margin-bottom: 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns > a { width: 100%; justify-content: center; }
  .cta-banner .text-end { text-align: left !important; margin-top: 20px; }
  .cta-banner { padding: 48px 0; }
  .cta-banner .d-flex { flex-direction: column; align-items: stretch; }
  .cta-banner .d-flex > a { justify-content: center; }
  .service-card-img { height: 200px; }
  .svc-card { padding: 24px; }
  .info-card { padding: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: -12px;
    padding: 0 12px 8px;
    scrollbar-width: thin;
  }
  .cat-tab { flex: 0 0 auto; }
  .quick-shop-heading { align-items: flex-start; flex-direction: column; }
  .quick-shop-heading .btn-primary { width: 100%; justify-content: center; }
  .quick-product-card img { height: 150px; }
  .shop-toolbar { align-items: stretch; flex-direction: column; }
  .product-card-media { height: 190px; }
  .footer-bottom .container { justify-content: center !important; text-align: center; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  table { display: block; width: 100%; overflow-x: auto; }
  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 575px) {
  .container { --bs-gutter-x: 1.5rem; }
  .navbar { padding-block: 2px !important; }
  .navbar-brand { min-width: 0; margin-right: 8px; }
  .navbar-brand .site-logo { width: 190px; height: auto; }
  .navbar-toggler { padding: 6px; flex-shrink: 0; }
  .hero-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
  }
  .hero-title { font-size: clamp(1.85rem, 9.5vw, 2.35rem); }
  .intro-strip .row > [class*="col-"] { width: 100%; }
  .intro-strip .item {
    justify-content: flex-start !important;
    text-align: left;
    margin-bottom: 0;
  }
  .intro-strip .val { font-size: .86rem; }
  .why-card { padding: 24px 14px; }
  .why-icon { width: 56px; height: 56px; }
  .why-card h5 { font-size: .94rem; }
  .why-card p { font-size: .82rem; }
  .service-card-body { padding: 20px; }
  .quick-product-card img { height: 125px; }
  .quick-product-card h3 { font-size: .98rem; margin-inline: 13px; }
  .quick-product-card span { margin-left: 13px; }
  .quick-product-card p { display: none; }
  .product-enquiry-link { min-height: 44px; }
  .contact-form-wrap, .info-card, .svc-card { padding: 20px; border-radius: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer { padding-top: 44px; }
  .footer .row { --bs-gutter-y: 2.25rem; }
  .footer .col-6 { width: 100%; }
  .btn-primary, .btn-outline, .btn-outline-white, .btn-whatsapp {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .navbar-brand .site-logo { width: 168px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat .num { font-size: 1.5rem; }
  .row > .col-6:has(.why-card) { width: 100%; }
}

@media (hover: none) {
  .service-card:hover,
  .why-card:hover,
  .product-card:hover,
  .quick-product-card:hover,
  .svc-card:hover,
  .gallery-item:hover,
  .loc-card:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-whatsapp:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
