@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Color Palette */
  --color-green-deep: #08281d;
  --color-green: #0d3526;
  --color-green-light: #164836;
  --color-cream: #F4F1EA;
  --color-cream-soft: #FAF9F6;
  --color-cream-dark: #E6E2D8;
  --color-rust: #C7682B;
  --color-rust-soft: #D57B42;
  --color-charcoal: #181816;
  --color-muted: #626058;
  --color-muted-light: #8E8B80;
  --color-white: #ffffff;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
  --header-height-scrolled: 70px;
  
  /* Transitions */
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows */
  --shadow-premium: 0 30px 60px -15px rgba(13, 53, 38, 0.12);
  --shadow-hover: 0 40px 80px -20px rgba(13, 53, 38, 0.2);
  --shadow-button: 0 8px 24px -6px rgba(199, 104, 43, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 990; /* Must stay behind header (z-index: 1000) so it never covers the drawer */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.wrap {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 40px);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-green);
}

/* Typography Helpers */
.editorial-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.text-rust {
  color: var(--color-rust);
}

.descriptor {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-rust);
  display: block;
  margin-bottom: 12px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--color-rust);
  color: var(--color-cream);
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-rust {
  background-color: var(--color-rust);
  color: var(--color-cream-soft);
  box-shadow: var(--shadow-button);
}

.btn-rust:hover {
  background-color: var(--color-rust-soft);
  transform: translateY(-2px);
}

.btn-green {
  background-color: var(--color-green);
  color: var(--color-cream);
}

.btn-green:hover {
  background-color: var(--color-green-light);
  transform: translateY(-2px);
}

.btn-ghost-green {
  background-color: transparent;
  border: 1.5px solid var(--color-green);
  color: var(--color-green);
}

.btn-ghost-green:hover {
  background-color: var(--color-green);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.btn-ghost-cream {
  background-color: transparent;
  border: 1.5px solid rgba(244, 241, 234, 0.25);
  color: var(--color-cream);
}

.btn-ghost-cream:hover {
  background-color: var(--color-cream);
  color: var(--color-green);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Sticky Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
}

header.overlay {
  background-color: transparent;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}

header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(13, 53, 38, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

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

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-cream);
}

.logo-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--color-cream);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-cream);
  line-height: 1;
}

header.scrolled .logo-mark {
  border-color: var(--color-cream-soft);
  color: var(--color-cream-soft);
}

.logo-mark::after {
  content: "";
  position: absolute;
  width: 18%;
  height: 18%;
  background-color: var(--color-rust);
  border-radius: 50%;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.logo-word {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-cream);
  opacity: 0.8;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-rust);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1010;
  padding: 10px 6px;
}

.menu-toggle span {
  display: block;
  width: calc(100% - 12px);
  height: 2.5px;
  border-radius: 2px;
  background-color: var(--color-cream);
  position: absolute;
  left: 6px;
  transition: all var(--transition-fast);
}

.menu-toggle span:nth-child(1) { top: 11px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.menu-toggle.open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
  background-color: #ffffff;
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.menu-toggle.open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
  background-color: #ffffff;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--color-green);
  color: var(--color-cream);
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(8, 40, 29, 0.95) 45%, rgba(8, 40, 29, 0.5) 100%), url('../images/lucens-hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  z-index: 1;
  opacity: 0.85;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 660px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--color-cream);
  margin-bottom: 24px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-copy p.promise {
  font-size: 1.5rem;
  color: var(--color-rust-soft);
  margin-bottom: 24px;
}

.hero-copy p.lead {
  font-size: 1.15rem;
  color: var(--color-cream-dark);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.85rem;
  color: var(--color-cream-dark);
  opacity: 0.85;
  line-height: 1.4;
}

.hero-trust .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-rust);
  flex-shrink: 0;
}

/* Premium Form Card */
.form-card {
  background-color: var(--color-cream-soft);
  border-radius: 12px;
  padding: 44px;
  box-shadow: var(--shadow-premium);
  color: var(--color-charcoal);
  border: 1px solid var(--color-cream-dark);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-green);
}

.form-card p.form-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--color-green-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-cream-dark);
  border-radius: 6px;
  background-color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C7682B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 42px;
  cursor: pointer;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-rust);
  box-shadow: 0 0 0 3px rgba(199, 104, 43, 0.1);
}

.form-card .btn-submit {
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  font-size: 1rem;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 16px;
}

.form-success-wrapper {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.form-success-wrapper.active {
  display: block;
}

.form-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--color-rust);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.form-success-icon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: var(--color-rust);
  border-radius: 50%;
  top: 10%;
}

.form-success-icon span {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-green);
}

.form-success-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.form-success-wrapper p {
  color: var(--color-muted);
  line-height: 1.6;
}

/* Sections Base */
.section {
  padding: 120px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Editorial Brand Story */
.brand-story {
  background-color: var(--color-cream-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 2;
}

.story-visual::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  border-left: 2px solid var(--color-rust);
  border-top: 2px solid var(--color-rust);
  z-index: 1;
}

.story-copy {
  padding-left: 20px;
}

.story-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 24px;
}

.story-copy p {
  font-size: 1.08rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Market Opportunity */
.market-stats {
  background-color: var(--color-green);
  color: var(--color-cream);
}

.market-stats .section-head h2 {
  color: var(--color-cream);
}

.market-stats .section-head p {
  color: var(--color-cream-dark);
  opacity: 0.8;
}

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

.stat-item {
  background-color: rgba(244, 241, 234, 0.04);
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 8px;
  padding: 48px 40px;
  transition: all var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-8px);
  background-color: rgba(244, 241, 234, 0.07);
  border-color: rgba(244, 241, 234, 0.15);
}

.stat-num {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-cream-soft);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.stat-num span {
  font-size: 2rem;
  color: var(--color-rust-soft);
}

.stat-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-cream-soft);
}

.stat-desc {
  font-size: 0.92rem;
  color: var(--color-cream-dark);
  opacity: 0.75;
  line-height: 1.6;
}

/* Why Lucens Sticky Scroll */
.why-lucens {
  background-color: var(--color-cream);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-sticky-visual {
  position: sticky;
  top: 120px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  background-color: var(--color-green);
}

.why-sticky-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity var(--transition-smooth);
}

.why-sticky-visual img.active {
  opacity: 0.9;
}

.why-scroll-copy {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding-bottom: 100px;
}

.why-item {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-item h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-item h3 span {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-rust);
  font-size: 2.2rem;
  font-weight: 300;
}

.why-item p {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* Services Immersive Section */
.services-section {
  background-color: var(--color-cream-soft);
  overflow: hidden;
}

.services-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-cream-dark);
  transition: all var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-rust);
}

.service-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-content {
  padding: 32px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--color-green);
}

.service-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-cream);
  color: var(--color-green-light);
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px solid var(--color-cream-dark);
}

.service-card:hover .service-badge {
  background-color: var(--color-rust);
  color: var(--color-cream-soft);
  border-color: var(--color-rust);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-tier-mark {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-rust);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* FOCO Model Section */
.foco-section {
  background-color: var(--color-cream);
}

.foco-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.foco-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.foco-copy p {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.foco-splits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.split-card {
  background-color: var(--color-cream-soft);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--color-cream-dark);
}

.split-card h4 {
  font-size: 1.15rem;
  color: var(--color-green);
  margin-bottom: 8px;
}

.split-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

/* Animated Flow Chart */
.flow-diagram {
  background-color: var(--color-green-deep);
  border-radius: 12px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.flow-diagram::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1.5px solid rgba(244, 241, 234, 0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.flow-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-rust);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(199, 104, 43, 0.3);
}

.flow-content {
  color: var(--color-cream);
}

.flow-content h4 {
  font-size: 1.1rem;
  color: var(--color-cream-soft);
  margin-bottom: 4px;
}

.flow-content p {
  font-size: 0.88rem;
  color: var(--color-cream-dark);
  opacity: 0.8;
  margin: 0;
  line-height: 1.4;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 54px;
  bottom: -40px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--color-rust), rgba(244, 241, 234, 0.15));
}

/* Franchise Formats (Collection & Plant) */
.formats-section {
  background-color: var(--color-cream-soft);
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.format-card {
  background-color: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-cream-dark);
  padding: 50px 44px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.format-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-rust);
}

.format-card.featured {
  background-color: var(--color-green);
  color: var(--color-cream);
  border-color: var(--color-green);
}

.format-card.featured h3 {
  color: var(--color-cream);
}

.format-card.featured p {
  color: var(--color-cream-dark);
}

.format-tag {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--color-rust);
  color: var(--color-cream);
  padding: 6px 14px;
  border-radius: 30px;
}

.format-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: 8px;
}

.format-card.featured .format-subtitle {
  color: var(--color-rust-soft);
}

.format-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.format-role {
  font-size: 0.96rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.format-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--color-cream-dark);
  border-bottom: 1px solid var(--color-cream-dark);
  margin-bottom: 36px;
}

.format-card.featured .format-metrics {
  border-color: rgba(244, 241, 234, 0.12);
}

.metric-item .metric-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.format-card.featured .metric-item .metric-label {
  color: var(--color-cream-dark);
  opacity: 0.8;
}

.metric-item .metric-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-green);
}

.format-card.featured .metric-item .metric-value {
  color: var(--color-cream-soft);
}

.metric-item .metric-value small {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}

.format-bullet-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-green);
  margin-bottom: 16px;
}

.format-card.featured .format-bullet-heading {
  color: var(--color-cream-soft);
}

.format-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.format-bullets li {
  font-size: 0.95rem;
  color: var(--color-charcoal);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}

.format-card.featured .format-bullets li {
  color: var(--color-cream-dark);
}

.format-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-rust);
  margin-top: 8px;
  flex-shrink: 0;
}

.format-card .btn {
  width: 100%;
}

.format-disclaimer-note {
  font-size: 0.74rem;
  color: var(--color-muted-light);
  line-height: 1.4;
  margin-top: 14px;
  font-style: italic;
}

.format-card.featured .format-disclaimer-note {
  color: var(--color-cream-dark);
  opacity: 0.6;
}

/* What Lucens Provides */
.provides-section {
  background-color: var(--color-cream);
}

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

.provide-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 44px 36px;
  border: 1px solid var(--color-cream-dark);
  transition: all var(--transition-smooth);
}

.provide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-rust);
}

.provide-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--color-rust);
  margin-bottom: 18px;
  font-weight: 400;
}

.provide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.provide-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Franchise Journey Timeline */
.journey-section {
  background-color: var(--color-green);
  color: var(--color-cream);
}

.journey-section .section-head h2 {
  color: var(--color-cream);
}

.journey-section .section-head p {
  color: var(--color-cream-dark);
  opacity: 0.8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.timeline::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background-color: rgba(244, 241, 234, 0.15);
  z-index: 1;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-green-deep);
  border: 2px solid var(--color-rust);
  color: var(--color-cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 8px var(--color-green);
  transition: all var(--transition-fast);
}

.timeline-step:hover .timeline-num {
  background-color: var(--color-rust);
  transform: scale(1.15);
}

.timeline-step h3 {
  font-size: 1.15rem;
  color: var(--color-cream-soft);
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 0.88rem;
  color: var(--color-cream-dark);
  opacity: 0.75;
  line-height: 1.5;
}

/* Pan-India Expansion */
.expansion-section {
  background-color: var(--color-cream-soft);
  position: relative;
}

.expansion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.expansion-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}

.expansion-copy p {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

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

.city-pill {
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  padding: 16px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.city-pill:hover {
  border-color: var(--color-rust);
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

.city-name {
  font-weight: 600;
  color: var(--color-green);
}

.city-status {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-rust);
}

.city-pill.active .city-status {
  color: #15803d;
}

.map-placeholder {
  background-color: var(--color-green-deep);
  border-radius: 12px;
  height: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-graphic {
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(rgba(244, 241, 234, 0.1) 2px, transparent 2px);
  background-size: 24px 24px;
}

.map-label {
  position: absolute;
  color: var(--color-cream);
  text-align: center;
  padding: 30px;
}

.map-label h4 {
  color: var(--color-cream-soft);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.map-label p {
  font-size: 0.88rem;
  color: var(--color-cream-dark);
  opacity: 0.8;
}

/* FAQ Accordion */
.faq-section {
  background-color: var(--color-cream);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-rust);
}

.faq-trigger {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-green);
}

.faq-trigger:focus {
  outline: none;
  background-color: var(--color-cream-soft);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-rust);
  line-height: 1;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

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

.faq-content p {
  padding: 0 32px 28px;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Cinematic Closing CTA */
.closing-cta {
  position: relative;
  background-color: var(--color-green-deep);
  color: var(--color-cream);
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(8, 40, 29, 0.92), rgba(8, 40, 29, 0.98)), url('../images/plant-hub.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.4;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.closing-cta h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--color-cream-soft);
  margin-bottom: 24px;
}

.closing-cta p {
  font-size: 1.15rem;
  color: var(--color-cream-dark);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.85;
}

/* Scroll Animation Hooks & 3D Transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* 3D Entry Reveals */
.reveal-3d {
  opacity: 0;
  transform: perspective(1000px) rotateX(15deg) translateY(45px) scale(0.96);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top center;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.reveal-3d.in {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

.form-card.reveal-3d {
  transform: translateY(15px);
}

.form-card.reveal-3d.in {
  opacity: 1;
  transform: translateY(0) !important;
}

/* Interactive Hover System (Stabilized - No wobbling/tilting) */
.tilt-card {
  position: relative;
  transform: none !important;
}

.form-card {
  position: relative;
  transform: none !important;
}

.tilt-card > *,
.tilt-card h3,
.tilt-card .btn,
.tilt-card .form-group,
.tilt-card .service-tier-mark,
.tilt-card .service-img-wrap,
.tilt-card .format-metrics {
  transform: none !important;
}

.tilt-glare {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-3d {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tilt-card {
    transform: none !important;
    transition: none !important;
  }
  .tilt-glare {
    display: none !important;
  }
}


/* Footer */
footer {
  background-color: var(--color-green-deep);
  color: var(--color-cream);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo-lockup {
  margin-bottom: 20px;
}

.footer-brand .footer-slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-rust-soft);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-cream-dark);
  opacity: 0.7;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-rust-soft);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-cream-dark);
  opacity: 0.75;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--color-cream-soft);
}

.footer-col.contact-col p {
  font-size: 0.9rem;
  color: var(--color-cream-dark);
  opacity: 0.75;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--color-cream-dark);
  opacity: 0.65;
}

.footer-disclaimer {
  width: 100%;
  margin-top: 16px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.45);
}

.footer-legal-links {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Contact & Location Grids */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.location-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (LAPTOP, TABLET, PHABLET, MOBILE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Large & Standard Laptops (1025px - 1280px)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .wrap {
    padding: 0 32px;
  }
}

@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-links {
    gap: clamp(14px, 1.8vw, 24px);
  }

  .nav-links a {
    font-size: 0.86rem;
  }

  .nav-links .btn {
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  }

  .form-card {
    padding: 34px 28px;
  }

  .why-grid {
    gap: 50px;
  }

  .services-slider {
    gap: 20px;
  }

  .foco-grid {
    gap: 50px;
  }

  .formats-grid {
    gap: 28px;
  }

  .format-card {
    padding: 40px 32px;
  }

  .timeline {
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   2. Tablets & Small Laptops (1024px & down - iPad Pro / Air / Mini)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
    --header-height-scrolled: 64px;
  }

  .wrap {
    padding: 0 24px;
  }

  /* Hamburger Menu Toggle */
  .menu-toggle {
    display: block;
  }

  /* Off-canvas Navigation Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100dvh;
    background-color: #061e16;
    border-left: 1px solid rgba(244, 241, 234, 0.15);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + 20px) 24px 40px;
    gap: 6px;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s ease;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
    z-index: 1005;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    padding: 14px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: #FAF9F6;
    border-bottom: 1px solid rgba(244, 241, 234, 0.08);
    transition: all var(--transition-fast);
    letter-spacing: -0.01em;
  }

  .nav-links a:hover,
  .nav-links a.active {
    opacity: 1;
    background-color: rgba(244, 241, 234, 0.12);
    color: #ffffff;
    padding-left: 24px;
    border-color: rgba(244, 241, 234, 0.15);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.btn-rust {
    margin-top: 18px;
    text-align: center;
    padding: 16px 20px;
    background-color: var(--color-rust);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    border-bottom: none;
    box-shadow: 0 6px 24px rgba(199, 104, 43, 0.45);
  }

  .nav-links a.btn-rust:hover {
    background-color: var(--color-rust-soft);
    padding-left: 20px;
  }

  /* Hero Section (Tablet) */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 70px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }
  
  .hero-copy h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .form-card {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
    padding: 36px 30px;
  }
  
  /* Brand Story (Tablet) */
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-visual {
    max-width: 520px;
    margin: 0 auto;
  }
  
  .story-visual::before {
    display: none;
  }

  .story-copy {
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }

  .story-copy h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  }
  
  /* Why Lucens Sticky (Tablet) */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .why-sticky-visual {
    position: relative;
    top: 0;
    height: 320px;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
  }
  
  .why-scroll-copy {
    gap: 32px;
    padding-bottom: 0;
    max-width: 650px;
    margin: 0 auto;
  }
  
  .why-item {
    min-height: auto;
    padding: 24px;
    background-color: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-cream-dark);
  }

  .why-item h3 {
    font-size: 1.5rem;
  }
  
  /* Services Showcase (Tablet) */
  .services-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
  }
  
  /* FOCO Model (Tablet) */
  .foco-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .foco-copy {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  
  .foco-splits {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
  }

  .flow-diagram {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }

  /* Franchise Formats (Tablet) */
  .formats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 680px;
    margin: 0 auto;
  }

  .format-card {
    padding: 38px 32px;
  }

  .format-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* What Lucens Provides (Tablet) */
  .provides-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Pan-India Expansion (Tablet) */
  .expansion-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .expansion-copy {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    text-align: left;
  }

  .map-placeholder {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
    height: 340px;
  }

  /* Contact & Locations (Tablet) */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Timeline Journey (Tablet) */
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
  
  .timeline::after {
    display: none;
  }

  .timeline-step {
    text-align: left;
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 28px;
  }

  .timeline-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: rgba(244, 241, 234, 0.2);
  }
  
  .timeline-num {
    margin: 0;
    box-shadow: none;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }
  
  .timeline-step div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Footer (Tablet) */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   3. Portrait Tablets & Mobile Devices (768px & down)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --header-height-scrolled: 60px;
  }
  
  .wrap {
    padding: 0 clamp(16px, 3.5vw, 20px);
  }
  
  .section {
    padding: clamp(54px, 8vw, 75px) 0;
  }

  /* Override inline 140px padding on subpages for tablets & mobile */
  section[style*="padding-top: 140px"],
  section[style*="padding-top:140px"],
  .hero[style*="padding-top: 140px"],
  .hero[style*="padding-top:140px"] {
    padding-top: calc(var(--header-height) + 24px) !important;
  }

  div[style*="padding: 40px"],
  div[style*="padding:40px"] {
    padding: clamp(20px, 4vw, 28px) !important;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h2 {
    font-size: clamp(1.85rem, 5vw, 2.4rem);
    margin-bottom: 14px;
  }

  .section-head p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Form Card (Mobile) */
  .form-card {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .form-card h3 {
    font-size: 1.35rem;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important; /* Prevents mobile browser auto-zooming & page displacement */
    padding: 13px 15px;
    min-height: 48px;
  }

  .form-card .btn-submit {
    min-height: 48px;
    font-size: 0.95rem;
    padding: 14px;
  }

  /* FOCO Section (Mobile) */
  .foco-splits {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .split-card {
    padding: 22px 18px;
  }

  .flow-diagram {
    padding: 32px 20px;
    gap: 30px;
  }

  .flow-step {
    gap: 16px;
  }

  .flow-icon {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .flow-step:not(:last-child)::after {
    left: 22px;
    top: 46px;
    bottom: -30px;
  }

  /* Format Metrics: Clean 2x2 Grid */
  .format-card {
    padding: 32px 20px;
  }

  .format-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 18px 12px;
  }

  .metric-item .metric-value {
    font-size: 1.3rem;
  }

  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .plant-specs-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .plant-spec-card {
    padding: 20px 18px !important;
  }

  .services-slider {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-content {
    padding: 24px 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-item {
    padding: 28px 20px;
  }

  .stat-num {
    font-size: clamp(2.5rem, 8vw, 3.6rem);
  }
  
  .provides-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .provide-card {
    padding: 30px 22px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   4. Small Smartphones & Compact Mobile (480px & down to 320px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --header-height: 64px;
    --header-height-scrolled: 58px;
  }

  .wrap {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  /* Logo scaling on compact screens */
  .logo-lockup {
    gap: 10px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .logo-word {
    font-size: 1.35rem;
  }

  /* Hero Section (Phone) */
  .hero {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 48px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.3rem);
    margin-bottom: 16px;
  }

  .hero-copy p.promise {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .hero-copy p.lead {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 14px 18px;
    font-size: 0.88rem;
  }

  .hero-trust {
    justify-content: flex-start;
    font-size: 0.8rem;
  }
  
  .btn {
    white-space: normal;
    text-align: center;
    padding: 14px 18px;
  }

  /* Form card (Phone) */
  .form-card {
    padding: 22px 16px;
    border-radius: 10px;
  }

  .form-card h3 {
    font-size: 1.25rem;
  }

  .form-card p.form-desc {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .format-card {
    padding: 24px 16px;
    border-radius: 10px;
  }

  .format-tag {
    top: 20px;
    right: 16px;
    font-size: 0.62rem;
    padding: 4px 10px;
  }

  .format-card h3 {
    font-size: 1.5rem;
  }

  .format-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px 8px;
  }

  .metric-item .metric-label {
    font-size: 0.68rem;
  }

  .metric-item .metric-value {
    font-size: 1.15rem;
  }

  .cities-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .city-pill {
    padding: 12px 16px;
  }

  .map-placeholder {
    height: 260px;
  }

  .map-label h4 {
    font-size: 1.1rem;
  }

  .map-label p {
    font-size: 0.82rem;
  }
  
  .faq-trigger {
    padding: 16px 16px;
    font-size: 0.95rem;
  }
  
  .faq-content p {
    padding: 0 16px 16px;
    font-size: 0.88rem;
  }

  .stat-num {
    font-size: clamp(2.3rem, 8vw, 3.2rem);
    letter-spacing: -0.02em;
  }

  .stat-num span {
    font-size: 1.5rem;
  }

  .closing-cta {
    padding: 80px 0;
  }

  .closing-cta h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
  }

  .closing-cta p {
    font-size: 1rem;
  }

  .closing-inner .btn {
    width: 100%;
  }

  .why-item {
    padding: 18px 16px;
  }

  .why-item h3 {
    font-size: 1.25rem;
    gap: 10px;
  }

  .why-item h3 span {
    font-size: 1.7rem;
  }

  .timeline-step {
    gap: 14px;
    padding-bottom: 24px;
  }

  .timeline-num {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .timeline-step:not(:last-child)::before {
    left: 19px;
    top: 40px;
  }

  .timeline-step h3 {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li a {
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.breadcrumbs li a:hover {
  color: var(--color-rust);
}

.breadcrumbs li span[aria-current="page"] {
  color: var(--color-green);
  font-weight: 600;
}

.breadcrumbs .breadcrumb-sep {
  color: var(--color-muted-light);
  font-size: 0.75rem;
  user-select: none;
}

/* Breadcrumbs in dark hero headers */
.hero .breadcrumbs,
.hero .breadcrumbs li a,
.hero .breadcrumbs .breadcrumb-sep {
  color: rgba(244, 241, 234, 0.7);
}

.hero .breadcrumbs li a:hover {
  color: var(--color-rust-soft);
}

.hero .breadcrumbs li span[aria-current="page"] {
  color: var(--color-cream);
}

/* ==========================================================================
   Thank You Page Components
   ========================================================================== */
.thank-you-card {
  background: var(--color-cream-soft);
  border: 1px solid var(--color-cream-dark);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-premium);
}

.thank-you-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-cream);
  font-size: 2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  margin-bottom: 24px;
}

.thank-you-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--color-green);
  margin-bottom: 16px;
}

.thank-you-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: left;
  margin: 36px 0;
  padding: 24px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-cream-dark);
}

.next-step-box {
  padding: 12px;
}

.next-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-rust);
  margin-bottom: 8px;
}

.next-step-box h4 {
  font-size: 1rem;
  color: var(--color-green);
  margin-bottom: 6px;
}

.next-step-box p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* ==========================================================================
   404 Error Page Components
   ========================================================================== */
.error-card {
  text-align: center;
  padding: 80px 20px;
  max-width: 680px;
  margin: 0 auto;
}

.error-code {
  font-size: clamp(4rem, 10vw, 7rem);
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-rust);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-green);
  margin-bottom: 16px;
}

.error-desc {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* ==========================================================================
   Lucens Plant Page Specific Enhancements
   ========================================================================== */
.plant-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.plant-spec-card {
  background: var(--color-cream-soft);
  border: 1px solid var(--color-cream-dark);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.plant-spec-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-rust);
  margin-bottom: 8px;
}

.plant-spec-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 8px;
}

.plant-spec-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .thank-you-card {
    padding: 36px 20px;
  }
  .next-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .thank-you-actions {
    flex-direction: column;
  }
  .thank-you-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp & Phone Call with Periodic Shake Effect)
   ========================================================================== */
.floating-actions {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  z-index: 2147483647 !important; /* Maximum 32-bit integer z-index */
  pointer-events: auto !important;
}

.floating-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.28s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.floating-btn:hover {
  transform: scale(1.12) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.floating-btn svg {
  pointer-events: none;
  display: block;
}

/* Authentic WhatsApp Button */
.floating-whatsapp {
  background-color: #25D366;
  background-image: radial-gradient(circle at 30% 30%, #2ee572 0%, #25D366 65%, #1eb956 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(0, 0, 0, 0.15);
  animation: lucensShake 4.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* Calling Button (Lucens Terracotta Rust) */
.floating-call {
  background-color: #C7682B;
  background-image: radial-gradient(circle at 30% 30%, #e07d3c 0%, #C7682B 70%, #ac541d 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(199, 104, 43, 0.42), 0 4px 10px rgba(0, 0, 0, 0.15);
  animation: lucensShake 4.5s ease-in-out infinite;
  animation-delay: 2.5s;
}

.floating-call svg {
  width: 25px;
  height: 25px;
  fill: #ffffff;
}

/* Pulsing radar glow rings */
.floating-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
}

.floating-whatsapp::before {
  border: 2.5px solid #25D366;
  animation: lucensPulse 2.4s ease-out infinite;
}

.floating-call::before {
  border: 2.5px solid #C7682B;
  animation: lucensPulse 2.4s ease-out infinite 1.2s;
}

/* Periodic Shake / Vibration Animation ("Kapna") */
@keyframes lucensShake {
  0%, 76%, 100% {
    transform: rotate(0deg) scale(1);
  }
  78%, 82%, 86%, 90% {
    transform: rotate(-11deg) scale(1.1);
  }
  80%, 84%, 88%, 92% {
    transform: rotate(11deg) scale(1.1);
  }
  94% {
    transform: rotate(-4deg) scale(1.05);
  }
  96% {
    transform: rotate(4deg) scale(1.02);
  }
  98% {
    transform: rotate(0deg) scale(1.01);
  }
}

/* Expanding Radar Pulse Animation */
@keyframes lucensPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  65% {
    transform: scale(1.42);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Tooltip Badge on Laptop / Desktop Hover */
.floating-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0d3526;
  color: #F4F1EA;
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(244, 241, 234, 0.15);
}

.floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0d3526;
}

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

/* 1. Tablet Devices (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .floating-actions {
    bottom: 45px !important;
    right: 22px !important;
    gap: 12px !important;
  }
  .floating-btn {
    width: 54px;
    height: 54px;
  }
  .floating-whatsapp svg {
    width: 29px;
    height: 29px;
  }
  .floating-call svg {
    width: 23px;
    height: 23px;
  }
  .floating-tooltip {
    right: 64px;
    font-size: 0.8rem;
  }
}

/* 2. Mobile Phone Devices (Below 768px) */
@media (max-width: 767px) {
  .floating-actions {
    bottom: 85px !important; /* Elevated higher so it does not block footer or CTA buttons */
    right: 16px !important;
    gap: 12px !important;
    display: flex !important;
    position: fixed !important;
  }
  .floating-btn {
    width: 50px !important;
    height: 50px !important;
  }
  .floating-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
  .floating-call svg {
    width: 22px !important;
    height: 22px !important;
  }
  .floating-tooltip {
    display: none !important; /* Clean touch target on mobile */
  }
}

