/* =========================================================
   BASE / RESET (TOKEN-DRIVEN)
========================================================= */
* { box-sizing: border-box;
        }
  body {
      margin: 0;
      font-family: var(--font-family-base);      
      font-size: var(--font-size-md); /* 1.05rem = 16.8px */
      line-height: var(--line-height-base);
      background: var(--color-surface);
      color: var(--color-text);
       font-weight: var(--font-weight-regular);      
        }

/* Container */
.container {
  max-width: var(--container-max-width);
  padding-inline: var(--container-padding);
  margin-inline: auto;
}
/**/
/* Headings Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading, "Poppins", sans-serif); 
  margin: 0 0 var(--space-sm, 1rem); 
  color: var(--color-text, #1a1a1a); 
  letter-spacing: -0.01em;
  word-break: break-word;
  font-weight: var(--font-weight-bold, 700);
}

/* ======================================================
   FLUID DESKTOP SCALE (=1024px)  Using clamp() for smoothness
====================================================== */
h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem); /* 2.5-3.5rem */
  line-height: 1.15;
  margin-top: 0;
}

h2 {
  font-size: clamp(1.85rem, 4vw + 0.5rem, 2.15rem); /* 2-2.5rem */
  line-height: 1.2;
  margin-top: 2rem;
}

h3 {
  font-size: clamp(1.625rem, 3vw + 0.5rem, 2rem); /* 1.625-2rem */
  line-height: 1.25;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw + 0.25rem, 1.5rem); /* 1.25-1.5rem */
  line-height: 1.35;
}

h5 {
  font-size: clamp(1rem, 2vw, 1.25rem); /* 1-1.25rem */
  font-weight: var(--font-weight-medium, 600);
  line-height: 1.4;
}

h6 {
  font-size: clamp(0.875rem, 1.5vw + 0.25rem, 1rem); /* 0.875-1rem */
  font-weight: var(--font-weight-medium, 600);
  line-height: 1.45;
  color: var(--color-text-muted, #6b7280);
}

/* ======================================================
   TABLET OVERRIDES (768px  1023px)  Smoother scaling
====================================================== */

@media (max-width: 1023px) {
  h1 { font-size: clamp(2.25rem, 6vw, 3rem); }
  h2 { font-size: clamp(1.875rem, 5vw, 2.25rem); }
  h3 { font-size: clamp(1.5rem, 4vw, 1.875rem); }
  h4 { font-size: clamp(1.125rem, 3vw, 1.375rem); }
  h5 { font-size: clamp(0.95rem, 2.5vw, 1.125rem); }
  h6 { font-size: clamp(0.85rem, 2vw, 1rem); }
}

/* ======================================================
   MOBILE SCALE (<768px)  Optimized for thumb-friendly reading
====================================================== */

@media (max-width: 767px) {
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 1.875rem); }
  h3 { font-size: clamp(1.25rem, 5vw, 1.5rem); }
  h4 { font-size: clamp(1.125rem, 4vw, 1.25rem); }
  h5, h6 { 
    font-size: clamp(0.875rem, 3.5vw, 1rem); 
  }

  h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--space-xs, 0.75rem);
    line-height: 1.35;
  }
}

/* ======================================================
   EXTRA SMALL MOBILE (<500px)  Ultra-tight for narrow screens
====================================================== */

@media (max-width: 500px) {
  h1 { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  h2 { font-size: clamp(1.35rem, 7vw, 1.25rem); }
  h3 { font-size: clamp(1.15rem, 6vw, 1.175rem); }
  h4 { font-size: clamp(1rem, 5vw, 1.125rem); }
  h5 { font-size: clamp(0.875rem, 4vw, 1rem); }
  h6 { font-size: clamp(0.75rem, 3vw, 0.875rem); }

  h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--space-xs, 0.625rem);
    line-height: 1.3;
  }
}
@font-face {
  font-display: swap;
}
/*@font-face {
  font-family: 'Custom';
  src: url('/fonts/main.woff2') format('woff2');
  font-display: swap;
}*/
/* =========================================================
   PARAGRAPH SYSTEM (EMCO TYPOGRAPHY)
========================================================= */

p {
  margin: 0 0 var(--space-md);
  font-size: var(--font-size-md); /* ~16.517px sweet spot */
  line-height: 1.7; /* better readability */
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.01em;
  /* max-width: 65ch; optimal reading width */
  opacity: 0.92;
}

/* First paragraph (hero/intro feel) */
p:first-of-type {
  font-size: calc(var(--font-size-md) + 0.05rem);
  line-height: 1.75;
  color: var(--color-text);
}

/* Muted paragraph (secondary info) */
p.muted {
  color: var(--color-text-muted);
}

/* Strong emphasis inside paragraph */
p strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

/* Inline highlight inside paragraph */
p .highlight {
  color: var(--emco-brand-primary);
  font-weight: var(--font-weight-medium);
}

/* Links inside paragraph */
p a {
  color: var(--emco-brand-primary);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: all var(--transition-fast);
}

p a:hover {
  color: var(--emco-brand-accent);
  border-bottom-color: var(--emco-brand-accent);
}

/* Spacing control for compact UI sections */
.section-tight p {
  margin-bottom: var(--space-sm);
}

/* Lead paragraph (you already have .lead  refine it) */
.lead {
  font-size: 1.15rem;
  line-height: 1.7; 
  font-weight: var(--font-weight-medium);
}
/* Small text */ 
.small{font-size:.85rem;line-height:1.4;color:var(--color-text-muted);}
@media (max-width: 1023px) {
  p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  p {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .lead {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}
/* ===============================
   Gradient Highlight (Default / Light)
================================ */
.brand-highlight {
background:var(--gradient-spectrum); -webkit-background-clip:text; color:transparent;
}

/* ===============================
   Gradient Highlight (Dark Theme)
================================ */
:root[data-theme="dark"] .brand-highlight {
  background: linear-gradient(
    90deg,
    var(--emco-brand-sec),
    var(--emco-brand-accent)
  );
   -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
/* =========================================================
   LINKS
========================================================= */

a {
  color: var(--emco-brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.text-center {
  text-align: center;
}
a:hover {
  color: var(--emco-brand-accent);
}
.text-capitalize {
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.text-brand  {
color:var(--emco-brand-primary);
}
.text-brand-sec  {
color:var(--emco-brand-sec);
}
.text-accent  {
color:var(--emco-brand-accent);
}
/* === Solid Borders === */
.emco-border-red {
  border: 1px solid var(--emco-red);
  border-radius: var(--radius-md);
}

.emco-border-blue {
  border: 1px solid var(--emco-blue);
  border-radius: var(--radius-md);
}

.emco-border-orange {
  border: 1px solid var(--emco-orange);
  border-radius: var(--radius-md);
}

.emco-border-green {
  border: 1px solid var(--emco-green);
  border-radius: var(--radius-md);
}

.emco-border-leaf {
  border: 1px solid var(--emco-leaf);
  border-radius: var(--radius-md);
}

/* === Gradient Borders (cool effect) === */
.emco-border-gradient-1 {
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: var(--card-light);
  background-clip: padding-box;
  position: relative;
}

.emco-border-gradient-1::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(
    90deg,
    var(--emco-red),
    var(--emco-orange),
    var(--emco-blue),
    var(--emco-green),
    var(--emco-leaf)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* === Bottom Border Accent (clean card look) === */
.emco-border-bottom {
  border-bottom: 4px solid var(--emco-green);
}
.emco-border-top {
  border-top: 2px solid; /* thickness */
  border-image: linear-gradient(
    to right,
    var(--emco-red) 0% 20%,
    var(--emco-blue) 20% 40%,
    var(--emco-orange) 40% 60%,
    var(--emco-green) 60% 80%,
    var(--emco-leaf) 80% 100%
  ) 5;
}
.rounded {
 border-radius:var(--radius-md);
}
/* =========================================================
   MEDIA
========================================================= */

img,
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}
/* =========================================================
   SECTIONS
========================================================= */
.section {
  padding: var(--space-xl) 0;
}

.section-muted {
  background: var(--color-surface);
}
.section-highlight {
	background: var(--color-card);
}
.section-header {
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .section-header {
    padding: 0 var(--space-sm, 0.75rem);
  }
  
  .section-subtitle {
    margin: var(--space-sm, 0.75rem) auto 0;
  }
}
 .header-cta {
  margin-top: var(--space-lg, 1.5rem);
}
.section-title {
	font-weight:700;
}
#consultation, #core-services, .bg-brand{
  background: var(--gradient-brand);
  color:#FFFFFF;
}
#core-services h2, #core-services .lead, .bg-brand h2, .bg-brand h3, .bg-brand .lead {
  color:#FFFFFF;
}
.bg-brand .product-title,  .bg-brand .card  {
color:#000;  
}
 .bg-accent {
  background: var(--gradient-spectrum);
  color:#FFFFFF;
}
/* =========================================================
   UTILITIES (GLOBAL)
========================================================= */

.d-none,
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.no-text {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.no-right-click {
  pointer-events: none;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  line-height: 1;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

/* Primary */
.btn-primary {
  background: var(--gradient-brand);
  color: var(--neutral-0);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background:  var(--emco-brand-primary);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--neutral-0);
  border: 2px solid var(--neutral-0);
}

.btn-outline:hover {
  background: var(--emco-brand-accent);
  color: var(--color-text-inverse);
}

/* Disabled */
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
/* ===============================
   EMCO PRIMARY CTA BUTTON
================================= */
.emco-btn {
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  background: var(--gradient-brand);
  color: var(--color-text-inverse);
  border: none;

  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);

  cursor: pointer;
}

.emco-btn-sm {
  padding: 0.5rem 0.83rem;
  border-radius: var(--radius-pill);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  background: var(--gradient-brand);
  color: var(--color-text-inverse);
  border: none;

  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);

  cursor: pointer;
}
/* Hover (desktop only) */
@media (hover: hover) {
  .emco-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.03);
  }
}

/* Active / Press */
.emco-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Keyboard focus */
.emco-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--color-surface),
    0 0 0 4px var(--emco-brand-primary);
}

/* Disabled */
.emco-btn:disabled,
.emco-btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  filter: none;
}

/* Spinner */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-text-inverse);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.emco-btn.loading .spinner {
  display: inline-block;
}

.emco-btn.loading .btn-text {
  opacity: 0.6;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===============================
   OPTIONAL VARIANTS
================================= */

/* Inline button (not full width) */
.emco-btn.inline {
  width: auto;
  padding-inline: 1.4rem;
}

/* Outline variant */
.emco-btn.outline {
  background: transparent;
  color: var(--emco-brand-primary);
  border: 1px solid var(--emco-brand-primary);
}

.emco-btn.outline:hover:not(:disabled) {
  background: var(--gradient-brand);
  color: var(--color-text-inverse);
  border-color: transparent;
}

/* ===============================
   REDUCED MOTION
================================= */
@media (prefers-reduced-motion: reduce) {
  .emco-btn {
    transition: none;
  }
}

/* =========================================================
   FORMS
========================================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

input,
textarea,
select {
  font-family: inherit;
  font-size: var(--font-size-sm);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-text);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

/* Focus */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--emco-brand-primary);
  box-shadow: 0 0 0 3px rgba(6,112,86,0.2);
}

/* Error */
.form-error input,
.form-error textarea,
.form-error select {
  border-color: var(--color-error);
}

.form-error small {
  color: var(--color-error);
}

/* Success */
.form-success input,
.form-success textarea,
.form-success select {
  border-color: var(--color-success);
}

.form-success small {
  color: var(--color-success);
}
/* =========================================================
   CARDS
========================================================= */

.card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              opacity var(--transition-fast);
}
.card {
  backdrop-filter: blur(6px);
}
.card p{
 font-size: var(--font-size-md);
}
/* Hover */
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Active */
.card:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Disabled */
.card.disabled {
  opacity: 0.5;
  pointer-events: none;
}
/* =========================================================
   GRID SYSTEM (Mobile First)
========================================================= */

/* Base Grid */
.grid {
  display: grid;
  width: 100%;
}

/* Column Utilities (Desktop Default) */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
/* Gap Utilities */
.gap-xs { gap: var(--space-xs, 8px); }
.gap-sm { gap: var(--space-sm, 12px); }
.gap-md { gap: var(--space-md, 18px); }
.gap-lg { gap: var(--space-lg, 28px); }

/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */

/* Large Tablets (= 1024px) */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (= 768px) */
@media (max-width: 768px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (= 576px) */
@media (max-width: 576px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   PRINT STYLES
========================================================= */

@media print {

  body {
    background: #fff;
    color: #000;
  }

  header,
  footer,
  nav,
  .btn,
  .cta-band {
    display: none !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}
/**/
/* =========================================================
   TOASTS
========================================================= */

 
/* =========================================================
   MODAL
=========================================================  */

/* =========================================================
   TABLES
========================================================= */

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.table th,
.table td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table th {
  background: var(--color-surface);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.table tr:hover {
  background: var(--overlay-light);
}

/* Compact */
.table.compact th,
.table.compact td {
  padding: var(--space-xs);
}
/* =========================================================
   BADGES
========================================================= */

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-pill);
 background: rgba(1, 101, 105,0.55);
   color: var(--neutral-50);
}

.badge-success {
  background:var(--emco-brand-sec);
  color: var(--color-text);
}

.badge-error {
  background: rgba(226,58,51,0.15);
  color: var(--color-error);
}

.badge-warning,.badge-orange {
  background: rgba(239,134,56,0.15);
  color: var(--color-warning);
}
:root[data-theme="dark"] .badge-success {
  background: rgba(0,168,107,0.15);
  color: var(--color-text-muted);
}
/**/
/* =========================================================
   TABS
========================================================= */

.tabs {
  width: 100%;
}

/* Tab Buttons */
.tab-list {
  display: flex;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.tab {
  padding: var(--space-sm) var(--space-md);
  background: none;
  border: none;
  cursor: pointer;

  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);

  position: relative;
  transition: color var(--transition-fast);
}

.tab:hover {
  color: var(--emco-brand-primary);
}

.tab.active {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

/* Active underline */
.tab.active::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: var(--emco-brand-primary);
}

/* Panels */
.tab-panels {
  padding-top: var(--space-md);
}

.tab-panel {
  display: none;
  animation: fade-in 200ms ease-in;
}

.tab-panel.active {
  display: block;
}

/* Motion */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* =========================================================
   ACCORDION
========================================================= */

.accordion {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--color-border);
}

.accordion-header {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-card);
  border: none;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  text-align: left;
}

.accordion-header:hover {
  background: var(--overlay-light);
}

/* Icon */
.accordion-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

/* Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: var(--color-surface);
  transition: max-height var(--transition-base),
              padding var(--transition-base);

  padding: 0 var(--space-md);
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: var(--space-sm) var(--space-md);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}
/**/
/* =========================
   FAQ + SIDEBAR SECTION
========================= */

.emco-sec {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 992px) {
  .emco-sec {
    grid-template-columns: minmax(0, 1fr) 340px; 
  }
}

/* =========================
   MAIN CONTENT
========================= */

.emco-sec article {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.emco-sec article h2 {
  margin-top: var(--space-lg);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.emco-sec article > p {
  color: var(--color-text-muted);
}

/* ================================
   FAQ
================================ */

.faq-item {
  background: var(--color-card);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-sm);
  padding: var(--space-md);
  cursor: pointer;
  transition: background var(--transition-base),
              box-shadow var(--transition-base);
}

.faq-item:hover {
  background: var(--overlay-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  margin: 0;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  color: var(--emco-brand-primary);
  font-weight: var(--font-weight-bold);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: var(--space-sm);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn var(--transition-fast);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   SIDEBAR
========================= */

.emco-sec aside {
  display: grid;
  gap: var(--space-lg);
}
.emco-sec .card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.card p.text-center {
  font-weight: var(--font-weight-semibold);
}

/* =========================
   FORM ELEMENTS (TOKEN-DRIVEN)
========================= */

form {
  width: 100%;
}

/* Labels */
form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

/* Inputs / Select / Textarea */
form input,
form select,
form textarea {
  width: 95%;
    padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-family: inherit;
  line-height: 1.4;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

/* Placeholder */
form input::placeholder,
form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Focus State */
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--emco-brand-primary);
  box-shadow: 0 0 0 2px rgba(89, 255, 214, 0.25);
  background: var(--color-surface);
}

/* Disabled */
form input:disabled,
form select:disabled,
form textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Error State (JS / Server) */
form .is-error,
form input[aria-invalid="true"] {
  border-color: var(--color-error);
}

form .error-text {
  margin-top: 4px;
  font-size: var(--font-size-xs);
  color: var(--color-error);
}

/* Helper / Hint Text */
form .helper-text {
  margin-top: 4px;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 480px) {
  form label {
    font-size: 11px;
  }

  form input,
  form select,
  form textarea {
    font-size: 14px; /* iOS zoom prevention */
    padding: 0.85rem 1rem;
  }
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}
/* =========================
   ACCESSIBILITY
========================= */

form input:focus-visible,
form select:focus-visible,
form textarea:focus-visible {
  outline: none;
}
/* =========================================================
   SIDEBAR BLOG IMAGE  OVERLAY DATE
========================================================= */
.sidebar-title {
	font-size: var(--font-size-md);
}
/* =========================================================
   SIDEBAR BLOG TITLE
========================================================= */

.sidebar-blog-title {
  margin: 0.6rem 0 0.25rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Link styling */
.sidebar-blog-title a {
  color: var(--color-text);
  text-decoration: none;
  display: inline;
  background-image: linear-gradient(
    transparent 60%,
    rgba( var(--emco-brand-primary-rgb), 0.18 )
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition:
    color var(--transition-fast),
    background-size 260ms ease;
}

/* Hover / focus */
.sidebar-blog-title a:hover,
.sidebar-blog-title a:focus-visible {
  color: var(--emco-brand-primary);
  background-size: 100% 100%;
}

/* Clamp to 2 lines (clean cards) */
@supports (-webkit-line-clamp: 2) {
  .sidebar-blog-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

/* Subtle polish on card hover */
.sidebar-blog-item:hover .sidebar-blog-title a {
  color: var(--emco-brand-primary);
}

.sidebar-blog-img {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Image */
.sidebar-blog-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast),
              opacity var(--transition-fast);
}

/* Gradient overlay */
.sidebar-blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
}

/* Hover polish */
.sidebar-blog-item:hover .sidebar-blog-img img {
  transform: scale(1.03);
  opacity: 0.96;
}

/* =========================================================
   DATE BADGE ON IMAGE
========================================================= */

.sidebar-blog-date {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  z-index: 2;

  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;

  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  padding: 0.25rem 0.45rem;
  border-radius: var(--radius-sm);
  line-height: 1;
}

/* =========================================================
   CONTENT SPACING ADJUSTMENT
========================================================= */

.sidebar-blog-content {
  margin-top: 0.35rem;
}

/* Hide duplicate date text below (since its on image now) */
.sidebar-blog-content > .sidebar-blog-date {
  display: none;
}

/* =========================================================
   MOBILE TUNING
========================================================= */

@media (max-width: 640px) {
  .sidebar-blog-img img {
    aspect-ratio: 4 / 3;
  }

  .sidebar-blog-date {
    font-size: 0.7rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }
}


/* =========================
   MOBILE TUNING
========================= */

@media (max-width: 991px) {

  .emco-sec {
    grid-template-columns: 1fr;
  }

  .emco-sec article { order: 1; }
  .emco-sec aside   { order: 2; }
}

/* ===============================================
   EMCO TABLE (Responsive)
================================================= */

.emco-table .table-wrapper {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.emco-table table {
  width: 100%;
  border-collapse: collapse;
}

.emco-table thead {
  background: var(--color-card);
}

.emco-table th {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  color: var(--emco-brand-primary);
  border-bottom: 1px solid var(--color-border);
}

.emco-table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.emco-table tbody tr:hover {
  background: var(--overlay-light);
}

.emco-table td.actions {
  text-align: right;
}

.emco-table .btn {
  padding: 0.25rem 0.59rem;
  border-radius: var(--radius-pill);
  background: var(--emco-brand-primary);
  color: #fff;
  border: none;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  font-size:095rem;
}

.emco-table .btn:hover {
  filter: brightness(1.1);
}

/* =========================
   MOBILE TABLE ? CARDS
========================= */

@media (max-width: 720px) {
  .emco-table table,
  .emco-table thead,
  .emco-table tbody,
  .emco-table tr,
  .emco-table td {
    display: block;
  }

  .emco-table thead {
    display: none;
  }

  .emco-table tbody tr {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
  }

  .emco-table tbody tr::before {
    content: attr(data-service);
    display: block;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-xs);
  }

  .emco-table td {
    display: none;
  }

  .emco-table td:nth-child(2),
  .emco-table td:nth-child(3),
  .emco-table td:nth-child(4) {
    display: block;
    font-weight: var(--font-weight-medium);
  }
}
/**/
 .p-type { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.intro-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.intro-feats li {
  position: relative;
  padding: 4px 0 8px 28px; /* space for tick */
  font-size:var(--fornt-size-sm);
  color: #333;
}

/* Tick icon */
.intro-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Bottom dotted line */
.intro-feats li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  background-image: radial-gradient(#bbb 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}
li.dim { opacity: 0.45; }
.price svg {
  vertical-align: middle;
  margin-right: 4px;
  color: #111;
}
/* ================================
   Feature List
   Modes:
   - default / .auto   ? 2-col desktop, 1-col mobile
   - .single           ? always single column
   - .double           ? always two columns
================================= */
/* Base */
.feature-list {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: grid;
  gap: 8px 28px;

  /* Local tokens */
  --icon-size: 1.2rem;
  --icon-top: 0.25rem;
}

/* List Item */
.feature-list li {
  position: relative;
  padding-left: calc(var(--icon-size) + 0.8rem);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-text);
}

/* Dark / inverse sections */
body.dark .feature-list li {
  color: var(--color-text);
}

/* ===============================
   Column Behaviour
================================= */

/* Default / auto ? 2 columns desktop */
.feature-list:not(.single):not(.double) {
  grid-template-columns: repeat(2, 1fr);
}

/* Forced single */
.feature-list.single {
  grid-template-columns: 1fr !important;
}

/* Forced double */
.feature-list.double {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* ===============================
   Icon (Inline SVG)
================================= */
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--icon-top);
  width: var(--icon-size);
  height: var(--icon-size);

  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<circle cx='12' cy='12' r='11' fill='%23e9f8f0' stroke='%23067056' stroke-width='1.5'/>\
<path d='M7.5 12.5l3 3 6-6.5' fill='none' stroke='%23067056' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") no-repeat center center;

  background-size: contain;
  transition: transform .25s var(--ease-standard), filter .25s var(--ease-standard);
}

/* Dark mode icon tuning */
body.dark .feature-list li::before {
  filter: brightness(1.15);
}

/* Hover */
.feature-list li:hover::before {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ===============================
   Responsive
================================= */
@media (max-width: 600px) {

  /* Auto collapses */
  .feature-list.auto,
  .feature-list:not(.single):not(.double) {
    grid-template-columns: 1fr;
  }

  .feature-list {
    gap: 6px 12px;
  }

  .feature-list li {
    font-size: 0.94rem;
    line-height: 1.45;
    padding-left: calc(var(--icon-size) + 0.6rem);
  }

  .feature-list li::before {
    width: 1.05rem;
    height: 1.05rem;
    top: 0.2rem;
  }
}