/* ============================================================
   LA RAISON GREENTEC — greentec.css
   Design System: Dark teal + gold luxury solar brand
   ============================================================ */
:root {
  --green-dark: #0f3d2e;
  --green-mid: #1a5c43;
  --green-light: #236b50;
  --gold: #c9a84c;
  --gold-light: #e0c06a;
  --gold-pale: #f5e9c0;
  --white: #ffffff;
  --off-white: #f0f4f2;
  --text-muted: #a8c4b8;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(201, 168, 76, 0.45);

  --font-display: "Comfortaa", cursive;
  --font-body: "Outfit", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --transition: 0.3s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--green-dark);
  color: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── Utility ──────────────────────────────────────────────── */
.gold {
  color: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  margin-bottom: 2.5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  padding: 0.75rem 2.2rem;
  border: 2px solid var(--gold);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
  margin-top: 2rem;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-gold {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: var(--gold);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: var(--green-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: none;
}

/* ie- cta-button */
.cta-btn {
  background: var(--green-accent);
  color: white;
  padding: 10px 25px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  width: 170px;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

nav .cta-btn:hover {
  background: rgb(85, 123, 85);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
  letter-spacing: 1;
}

/* ie- hero-cta */
.hero-content .cta-btn {
  width: 160px;
}

.hero-content .cta-btn:hover {
  background: rgb(85, 123, 85);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
  letter-spacing: 1;
}

/* ie- nav-ul */
nav ul {
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* ie- nav-image */
nav img {
  height: 38px;
}

/* ie- nav-links */
nav a {
  text-decoration: none;
  color: var(--green-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  transition: var(--transition);
}

nav a:hover {
  color: var(--gold);
  letter-spacing: 3.5px;
}

nav li.nav-active a {
  color: var(--gold);
  font-weight: 600;
}

/* ie- mobile-menu-button */
.menu-btn {
  display: none;
  font-size: 1.5rem;
}

nav .cta-btn:hover {
  background: rgb(85, 123, 85);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
  letter-spacing: 1px;
}
/* ie- sidebar */
.side-bar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  padding: 40px;
  background: rgba(178, 221, 200, 0.434);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
  z-index: 1000;
}

.side-bar li:first-child {
  margin: 0;
  margin-bottom: 40px;
  align-self: flex-end;
}

.side-bar.active {
  right: 0;
}

.side-bar a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  transition: 0.3s;
}

.side-bar a:hover {
  opacity: 1;
  color: var(--gold-light);
  padding-left: 10px;
}

.side-bar a.nav-active {
  color: var(--accent);
  font-weight: 600;
}

/* ie- sidebar-overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.536);
  backdrop-filter: blur(7px);
  z-index: 998;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(
    160deg,
    var(--green-mid) 0%,
    var(--green-dark) 100%
  );
  padding: 4rem 5% 3.5rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero-heading .gold {
  color: var(--gold);
}

/* Hero image cards */
.hero-images {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex: 1;
  max-width: 52%;
}

.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2.5px solid var(--card-border);
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.hero-img-tall {
  width: 54%;
  height: 420px;
}
.hero-img-short {
  width: 44%;
  height: 320px;
}
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

/* ============================================================
   BENEFITS / WHAT GREENTEC GIVES YOU
   ============================================================ */
.benefits {
  background: linear-gradient(
    180deg,
    var(--green-dark) 0%,
    var(--green-mid) 100%
  );
  padding: 4.5rem 5%;
}

.benefits-icons {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}
.benefit-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--gold);
  transition:
    background var(--transition),
    color var(--transition);
}
.benefit-item:hover .benefit-icon {
  background: var(--gold);
  color: var(--green-dark);
}
.benefit-item p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1.4;
}

/* Feature cards row */
.feature-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  max-width: 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
}
.feature-icon {
  font-size: 1.8rem;
  color: var(--gold);
}
.feature-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.6;
  font-weight: 300;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  background: var(--green-dark);
  padding: 5rem 5%;
}
.why-us-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-wrap: wrap;
}
.why-us-text {
  flex: 1;
  min-width: 280px;
}
.why-us-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.why-us-text > p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  font-weight: 300;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--off-white);
}
.why-list li i {
  color: var(--gold);
  font-size: 1rem;
}

.why-us-visual {
  flex: 1;
  min-width: 260px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.stat-box {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform var(--transition);
}
.stat-box:hover {
  transform: scale(1.03);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   PRODUCTS TEASER
   ============================================================ */
.products-teaser {
  background: linear-gradient(
    180deg,
    var(--green-dark) 0%,
    var(--green-mid) 100%
  );
  padding: 5rem 5%;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}
.product-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.product-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-info {
  padding: 1.5rem;
}
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.product-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.product-link {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.product-link:hover {
  gap: 0.8rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--green-dark);
  padding: 5rem 5%;
}
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-text {
  flex: 1;
  min-width: 260px;
}
.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.contact-text > p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--off-white);
}
.contact-details i {
  color: var(--gold);
  width: 18px;
  text-align: center;
}

/* Form */
.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group select option {
  background: var(--green-dark);
  color: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea {
  resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a2a1e;
  padding: 3.5rem 5% 0;
}
.footer-inner {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.footer-brand {
  flex: 2;
  min-width: 200px;
}

.footer-brand .footer-logo-img {
  width: 120px;
  height: auto;
  max-width: 100%;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  max-width: 260px;
}
.footer-links,
.footer-social {
  flex: 1;
  min-width: 140px;
}
.footer-links h4,
.footer-social h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icons a {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.social-icons a:hover {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}

.footer-bottom {
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 2.5rem;
  }
  .hero-images {
    max-width: 100%;
    width: 100%;
  }
  .hero-img-tall {
    height: 300px;
  }
  .hero-img-short {
    height: 220px;
  }

  .why-us-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .contact-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }

  .hero {
    padding: 3rem 5%;
    min-height: auto;
  }
  .hero-images {
    flex-direction: column;
  }
  .hero-img-tall,
  .hero-img-short {
    width: 100%;
    height: 220px;
  }

  .benefits-icons {
    gap: 1.5rem;
  }
  .benefit-icon {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  .feature-cards {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    max-width: 100%;
    width: 100%;
  }

  .why-us-visual {
    grid-template-columns: 1fr 1fr;
  }
  .hideOnMobile {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}

/* ============================================================
   PRODUCTS SECTION (Swiper Slider)
   ============================================================ */
.products-section {
  background: linear-gradient(
    180deg,
    var(--green-mid) 0%,
    var(--green-dark) 100%
  );
  padding: 5rem 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.products-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
}
.btn-view-all-products {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold);
  background: transparent;
  transition:
    background var(--transition),
    color var(--transition);
  white-space: nowrap;
}
.btn-view-all-products:hover {
  background: var(--gold);
  color: var(--green-dark);
}
.product-slider-wrapper {
  position: relative;
}
.product-slider {
  padding-bottom: 3rem !important;
}

/* Card */
.product-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--gold-light);
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.new-badge {
  background: #3ecf8e;
  color: #fff;
}
.product-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.5s ease;
}
.product-card:hover .product-image {
  transform: scale(1.04);
}
.product-body {
  padding: 1.4rem 1.4rem 1.6rem;
}
.product-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-body .price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition:
    gap var(--transition),
    color var(--transition);
}
.product-cta:hover {
  gap: 0.75rem;
  color: var(--gold-light);
}

/* Swiper pagination */
.product-slider .swiper-pagination-bullet {
  background: rgba(201, 168, 76, 0.35);
  opacity: 1;
  transition:
    background var(--transition),
    transform var(--transition);
}
.product-slider .swiper-pagination-bullet-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Nav arrows */
.product-nav {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 1.5rem));
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1.5px solid var(--card-border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition:
    background var(--transition),
    color var(--transition);
  user-select: none;
}
.product-nav:hover {
  background: var(--gold);
  color: var(--green-dark);
}
.product-nav.prev {
  left: -22px;
}
.product-nav.next {
  right: -22px;
}

@media (max-width: 640px) {
  .product-nav {
    top: auto;
    bottom: 0.2rem;
    transform: none;
    background: rgba(201, 168, 76, 0.2);
  }
  .product-nav.prev {
    left: calc(50% - 56px);
  }
  .product-nav.next {
    right: calc(50% - 56px);
  }
}

/* ============================================================
   PRODUCT MODAL
   ============================================================ */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 25, 15, 0.88);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.product-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.product-modal {
  background: var(--green-dark);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
}
.product-modal-overlay.active .product-modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition);
}
.modal-close:hover {
  background: var(--gold);
  color: var(--green-dark);
}
.modal-img-wrap {
  flex: 0 0 45%;
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}
.modal-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}
.modal-badge-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
}
.modal-info {
  flex: 1;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.modal-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}
.modal-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.modal-specs tr {
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.modal-specs tr:last-child {
  border-bottom: none;
}
.modal-specs td {
  padding: 0.55rem 0;
  font-size: 0.88rem;
}
.modal-specs td:first-child {
  color: var(--text-muted);
  font-weight: 400;
  width: 45%;
}
.modal-specs td:last-child {
  color: var(--white);
  font-weight: 600;
}
.modal-cta {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 640px) {
  .product-modal {
    flex-direction: column;
  }
  .modal-img-wrap {
    flex: none;
    height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .modal-info {
    padding: 1.5rem;
  }
}

/* ============================================================
   BLOG / ARTICLES SECTION — Sanity CMS powered
   ============================================================ */

/* ── Section Layout ──────────────────────────────────────── */
.blog-section {
  background: linear-gradient(180deg, var(--green-dark) 0%, #0a2a1e 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.blog-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── Header ──────────────────────────────────────────────── */
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sub-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.blog-header .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--white);
  text-align: left;
  margin-bottom: 0;
  line-height: 1.3;
}

.btn-view-all {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  background: transparent;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition);
}
.btn-view-all:hover {
  background: var(--gold);
  color: var(--green-dark);
}

/* ── Grid ────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

/* ── Blog Card ───────────────────────────────────────────── */
.blog-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  border-color: var(--gold-light);
}

.card-image {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  flex-shrink: 0;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .card-image img {
  transform: scale(1.05);
}

/* Fallback gradient image placeholder */
.card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--green-mid) 0%,
    var(--green-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(201, 168, 76, 0.4);
}

.card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}

.card-read-more {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition:
    gap var(--transition),
    color var(--transition);
}
.blog-card:hover .card-read-more {
  gap: 0.6rem;
  color: var(--gold-light);
}

/* ── Skeleton Loading ────────────────────────────────────── */
.skeleton-card {
  pointer-events: none;
}
.skeleton-image {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 400% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
.skeleton-line {
  height: 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 400% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
.skeleton-line.wide {
  width: 90%;
}
.skeleton-line.medium {
  width: 70%;
}
.skeleton-line.narrow {
  width: 45%;
  height: 10px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ── Error / Empty state ─────────────────────────────────── */
.blog-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.blog-error i {
  display: block;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  opacity: 0.5;
}

/* ============================================================
   ARTICLES PAGE (articles.html)
   ============================================================ */

.articles-hero {
  background: linear-gradient(
    160deg,
    var(--green-mid) 0%,
    var(--green-dark) 100%
  );
  padding: 5.5rem 5% 4rem;
  text-align: center;
}

.articles-hero .sub-label {
  display: block;
  margin-bottom: 0.7rem;
}

.articles-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.articles-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.articles-main {
  background: var(--green-dark);
  padding: 4.5rem 5%;
}

.articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  align-items: center;
}

.filter-btn {
  padding: 0.45rem 1.2rem;
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
}

/* Articles grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Featured first card */
.articles-grid .blog-card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
}
.articles-grid .blog-card:first-child .card-image {
  flex: 0 0 46%;
  height: auto;
  min-height: 280px;
  max-height: 380px;
}
.articles-grid .blog-card:first-child .card-body {
  padding: 2rem 2rem 2rem;
  justify-content: center;
}
.articles-grid .blog-card:first-child .card-title {
  font-size: 1.4rem;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.articles-grid .blog-card:first-child .card-excerpt {
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 168, 76, 0.3);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover,
.page-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   SINGLE ARTICLE PAGE (article.html)
   ============================================================ */

.article-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background: var(--green-dark);
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  transition: transform 0.6s ease;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 61, 46, 0.98) 0%,
    rgba(15, 61, 46, 0.4) 60%,
    transparent 100%
  );
}
.article-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 5% 3.5rem;
  max-width: 820px;
  width: 100%;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.article-breadcrumb a {
  color: var(--gold);
  transition: color var(--transition);
}
.article-breadcrumb a:hover {
  color: var(--gold-light);
}
.article-breadcrumb i {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.article-category-tag {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.article-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.article-meta-item i {
  color: var(--gold);
  font-size: 0.78rem;
}

/* Article body */
.article-body-wrap {
  background: var(--green-dark);
  padding: 4rem 5%;
  display: flex;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: flex-start;
}

.article-content {
  flex: 1;
  min-width: 280px;
  max-width: 740px;
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.9rem;
  margin-top: 2.2rem;
  line-height: 1.3;
}
.article-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}
.article-content h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
}

.article-content p {
  font-size: 0.98rem;
  color: var(--off-white);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.3rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}
.article-content li {
  font-size: 0.97rem;
  color: var(--off-white);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.article-content ul li::marker {
  color: var(--gold);
}
.article-content ol li::marker {
  color: var(--gold);
  font-weight: 700;
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.8rem 1.4rem;
  margin: 1.8rem 0;
  background: rgba(201, 168, 76, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-content blockquote p {
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 0;
}

.article-content img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 1.8rem 0;
  border: 1.5px solid var(--card-border);
}

.article-content strong {
  color: var(--white);
  font-weight: 600;
}
.article-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content a:hover {
  color: var(--gold-light);
}

/* Article sidebar */
.article-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.related-article-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
}
.related-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.related-article-item:hover {
  opacity: 0.75;
}
.related-article-thumb {
  width: 60px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}
.related-article-thumb-placeholder {
  width: 60px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 168, 76, 0.3);
  font-size: 1rem;
}
.related-article-title {
  font-size: 0.83rem;
  color: var(--off-white);
  line-height: 1.4;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA sidebar */
.sidebar-cta-card {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
}
.sidebar-cta-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.sidebar-cta-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* Article loading skeleton */
.article-skeleton {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.skeleton-hero-block {
  height: 52vh;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 400% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
.article-skeleton-line {
  height: 16px;
  border-radius: 8px;
  margin-bottom: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 400% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .articles-grid .blog-card:first-child {
    flex-direction: column;
  }
  .articles-grid .blog-card:first-child .card-image {
    flex: none;
    height: 240px;
    max-height: 240px;
    width: 100%;
  }
  .article-body-wrap {
    flex-direction: column;
  }
  .article-sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid .blog-card:first-child .card-title {
    font-size: 1.15rem;
  }
  .article-hero-content {
    padding: 2rem 5% 2.5rem;
  }
}
