/* =========================================
   MLYN Technologies — Premium Design System
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --dark-green: #0b5d3b;
  --mid-green: #1a7a50;
  --light-green: #3cb371;
  --pale-green: #e8f5ee;
  --accent-gold: #c8a96e;
  --white: #ffffff;
  --off-white: #f8faf9;
  --text-dark: #0d1f17;
  --text-mid: #3a5244;
  --text-light: #6b8c7a;
  --border: #d4e8dc;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(11, 93, 59, 0.08);
  --shadow-lg: 0 12px 48px rgba(11, 93, 59, 0.14);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }
p { color: var(--text-mid); font-size: 1.05rem; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-green);
  display: inline-block;
  margin-bottom: 1rem;
}

/* ── Top Bar ── */
.top-bar {
  background: var(--dark-green);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 9px 0;
  font-family: var(--font-body);
  position: sticky;
  top: 0;
  z-index: 1001;
  transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--white); }

.top-bar .top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow: hidden;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar i { margin-right: 5px; color: var(--light-green); }

.btn-call {
  background: var(--light-green);
  color: var(--white) !important;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-call i {
  color: var(--white) !important;
  font-size: 0.75rem;
  transition: var(--transition);
}

.btn-call:hover {
  background: var(--white);
  color: var(--dark-green) !important;
}

.btn-call:hover i {
  color: var(--dark-green) !important;
}

/* ── Navigation ── */
.main-nav {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 38px;
  z-index: 1000;
  transition: var(--transition);
}

.main-nav.scrolled {
  box-shadow: 0 4px 24px rgba(11,93,59,0.13);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(212,232,220,0.6);
}

.navbar-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1;
}

.navbar-brand .logo-tagline {
  font-size: 0.68rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  display: block;
  font-family: var(--font-mono);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--dark-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.logo-icon svg { width: 28px; height: 28px; }

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 1.4rem 1.1rem !important;
  letter-spacing: 0.02em;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--dark-green);
  transition: var(--transition);
}

.navbar-nav .nav-link:not(.nav-cta):hover::after,
.navbar-nav .nav-link.active::after { width: 60%; }

.navbar-nav .nav-link:not(.nav-cta):hover { color: var(--dark-green) !important; }

.nav-cta {
  background: var(--light-green) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.42rem 1.2rem !important;
  margin-left: 0.6rem;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  border: 1.5px solid var(--light-green) !important;
  box-shadow: 0 2px 10px rgba(60,179,113,0.28) !important;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
  letter-spacing: 0.01em !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.nav-cta:hover {
  background: var(--dark-green) !important;
  color: var(--white) !important;
  border-color: var(--dark-green) !important;
  box-shadow: 0 3px 14px rgba(11,93,59,0.3) !important;
  transform: translateY(-1px) !important;
}
.nav-cta::after { display: none !important; }

/* ── Buttons ── */
.btn-primary-custom {
  background: var(--dark-green);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--dark-green);
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-green-outline {
  background: transparent;
  color: var(--dark-green);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--dark-green);
  transition: var(--transition);
  cursor: pointer;
}

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

/* ── Hero ── */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, #071a10 0%, #0b5d3b 50%, #1a7a50 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233cb371' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-float-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60,179,113,0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-float-2 {
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--light-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero h1 em {
  color: var(--light-green);
  font-style: normal;
}

.hero p.lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-image-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  animation: fadeInRight 1s ease 0.4s both;
}

.hero-instruments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.instrument-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  transition: var(--transition);
}

.instrument-chip:hover {
  background: rgba(60,179,113,0.2);
  border-color: rgba(60,179,113,0.4);
  transform: translateY(-2px);
}

.instrument-chip-icon { font-size: 1.6rem; margin-bottom: 6px; }
.instrument-chip-name { font-size: 0.78rem; color: rgba(255,255,255,0.8); font-weight: 500; }

/* ── Sections ── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--text-dark); color: var(--white); }
.section-pale { background: var(--pale-green); }
.section-green { background: var(--dark-green); color: var(--white); }

.section-header { margin-bottom: 4rem; }
.section-header.text-center { text-align: center; }

.section-header h2 { color: var(--text-dark); margin-bottom: 1rem; }
.section-dark .section-header h2,
.section-green .section-header h2 { color: var(--white); }

.section-header p { max-width: 600px; }
.section-header.text-center p { margin: 0 auto; }

/* ── About Preview ── */
.about-preview { background: var(--white); }

.about-visual {
  position: relative;
  height: 480px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.about-img-main .about-img-placeholder { background: linear-gradient(135deg, #0b5d3b, #3cb371); }
.about-img-secondary .about-img-placeholder { background: linear-gradient(135deg, #1a7a50, #c8a96e); }

.iso-badge {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 5;
}

.iso-badge-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1;
}

.iso-badge-label {
  font-size: 0.65rem;
  color: var(--text-light);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--pale-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-text h5 { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-dark); margin-bottom: 4px; }
.value-text p { font-size: 0.9rem; margin: 0; }

/* ── Products Grid ── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-green);
}

.product-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--pale-green) 0%, #d4ead9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(11,93,59,0.08));
}

.product-card-body { padding: 1.5rem; }

.product-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: 0.5rem;
}

.product-card-body h4 { color: var(--text-dark); margin-bottom: 0.6rem; }
.product-card-body p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 1.2rem; }

.product-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.product-card-link:hover { color: var(--light-green); gap: 10px; }

/* ── Services Cards ── */
.service-plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
  overflow: hidden;
  will-change: transform;
}

.service-plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  transition: var(--transition);
}

.service-plan-card:hover::before { background: var(--light-green); }

.service-plan-card.featured {
  border-color: var(--dark-green);
  background: var(--dark-green);
  color: var(--white);
}

.service-plan-card.featured::before { background: var(--light-green); }
.service-plan-card.featured h3 { color: var(--white); }
.service-plan-card.featured p { color: rgba(255,255,255,0.75); }
.service-plan-card.featured .plan-feature { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }

.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--light-green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: var(--font-mono);
}

.plan-icon {
  width: 56px;
  height: 56px;
  background: var(--pale-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-plan-card.featured .plan-icon {
  background: rgba(255,255,255,0.15);
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.plan-feature i { color: var(--light-green); font-size: 0.9rem; }

.spec-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
  will-change: transform;
}

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

.spec-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--mid-green) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(60,179,113,0.12);
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.75); }

/* ── Testimonial / Quote ── */
.quote-block {
  background: var(--pale-green);
  border-left: 4px solid var(--dark-green);
  padding: 2rem 2.5rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  font-style: italic;
}

/* ── Why Choose Us ── */
.advantage-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.advantage-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--light-green);
}

.adv-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--dark-green), var(--mid-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.adv-text h5 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 5px; color: var(--text-dark); }
.adv-text p { font-size: 0.88rem; margin: 0; }

/* ── Contact ── */
.contact-info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--pale-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-green);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item h6 { font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--text-mid); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.2rem; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--off-white);
  outline: none;
}

.form-control:focus {
  border-color: var(--dark-green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11,93,59,0.08);
}

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

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #071a10 0%, #0b5d3b 60%, #1a7a50 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233cb371' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; }

.breadcrumb-custom {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.breadcrumb-custom a { color: rgba(255,255,255,0.55); }
.breadcrumb-custom a:hover { color: var(--white); }
.breadcrumb-custom .sep { opacity: 0.4; }
.breadcrumb-custom .current { color: var(--light-green); }

/* ── Team Card ── */
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--dark-green), var(--light-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h4 { color: var(--text-dark); margin-bottom: 4px; font-size: 1.1rem; }
.team-role { font-size: 0.82rem; color: var(--light-green); font-family: var(--font-mono); letter-spacing: 0.08em; margin-bottom: 1rem; }
.team-bio { font-size: 0.88rem; color: var(--text-mid); }

.team-social { display: flex; justify-content: center; gap: 10px; margin-top: 1rem; }
.team-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--pale-green); color: var(--dark-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.team-social a:hover { background: var(--dark-green); color: var(--white); }

/* ── Product Detail ── */
.product-detail-hero {
  background: var(--pale-green);
  padding: 80px 0;
}

.product-showcase {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  font-size: 8rem;
  line-height: 1;
}

.spec-table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td { padding: 12px 0; font-size: 0.9rem; }
.spec-table td:first-child { font-weight: 600; color: var(--text-dark); width: 45%; }
.spec-table td:last-child { color: var(--text-mid); }

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pale-green);
  color: var(--dark-green);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 4px;
}

.feature-badge i { color: var(--light-green); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: bounce 2s ease infinite;
}

.whatsapp-float a:hover { transform: scale(1.1); }

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

/* ── Footer ── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-brand .logo-text { color: var(--white); font-size: 1.8rem; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; max-width: 280px; }

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}

.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--light-green); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0;
  margin-top: 3rem;
}

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

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.animate-fade-right { animation: fadeInRight 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Map ── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--dark-green), var(--light-green));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.divider.center { margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 80px 0 60px; }
  .about-visual { height: 300px; margin-bottom: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .top-bar-left { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero h1 { font-size: 2.4rem; }
  .hero-image-card { margin-top: 2rem; }
  .about-visual { height: 250px; }
  .iso-badge { display: none; }
  .service-plan-card { margin-bottom: 1.5rem; }
  .btn-call { font-size: 0.75rem; padding: 5px 10px; }
  .btn-call i { display: none; }
}

@media (max-width: 576px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stats .d-flex { flex-direction: row !important; }
  .hero-instruments-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Hero Showcase Card ── */
.hero-showcase-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  animation: fromRight 1s cubic-bezier(.16,1,.3,1) .35s both;
}

.hsc-info-card {
  grid-column: 1; grid-row: 1;
  background: rgba(4,20,12,.55); /* lighter — was .82 */
  border: 1px solid rgba(60,179,113,.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 2;
}

.hsc-label {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--light-green);
}

.hsc-title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; /* increased from 1.22rem */
  color: var(--white); line-height: 1.22;
}

.hsc-sub {
  font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.6; /* increased from .81rem */
}

.hsc-main-img {
  grid-column: 2; grid-row: 1 / 3;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.6rem; min-height: 290px; overflow: hidden;
}

.hsc-main-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.38));
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.hsc-main-img:hover img { transform: scale(1.06); }

.hsc-bottom-row { display: none; } /* replaced by hsc-bottom-merged */

.hsc-panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; min-height: 130px; overflow: hidden;
}

.hsc-panel img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.28));
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}
.hsc-panel:hover img { transform: scale(1.1); }

/* Responsive showcase */
@media (max-width: 768px) {
  /* On mobile: stack everything in a single column, 4 rows */
  .hero-showcase-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 2rem;
  }

  /* Row 1: Info text card */
  .hsc-info-card {
    order: 1;
    width: 100%;
  }

  /* Row 2: Main portrait carousel (HPLC) */
  .hsc-main-img {
    order: 2;
    width: 100%;
    min-height: 240px;
    height: 240px;
    grid-column: unset;
    grid-row: unset;
  }

  /* Row 3: Bottom landscape carousel (GC/Dissolution) */
  .hsc-bottom-merged {
    order: 3;
    width: 100%;
    min-height: 130px;
    height: 130px;
  }

  .hsc-bottom-row { display: none !important; }
}

/* ── Logo sizing ── */
.navbar-brand img {
  height: 52px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
}

/* Product card image fix */
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 1.2rem;
}

/* ── Footer Logo Card ── */
.footer-logo-card {
  display: inline-block;
  background: white;
  border-radius: 12px;
  padding: 10px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  margin-bottom: 1.2rem;
}
.footer-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}
.footer-logo-card img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}
