/*
Theme Name: Enterprise Consulting Theme
Version: 2.7.3
Description: Premium consulting layout with global strip, white consulting header, hero, service cards, stats strip, and sustainability footer background.
*/

:root{
  --green:#0f5b46;
  --gold:#c5a059;
  --ink:#1f2a2e;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#ffffff;
  --soft:#f7f9f8;
  --radius:14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#111827;
  background:var(--bg);
}

a{color:inherit;text-decoration:none}
.container{max-width:1240px;margin:0 auto;padding:0 22px}

/* ---
   WORLD-CLASS HEADER SYSTEM
   --- */

.ect-topbar{
  background:#ffffff;
  border-bottom:1px solid var(--line);
  font-size:12.5px;
  color:#334155;
}
.ect-topbar__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 0;
  gap:14px;
}
.ect-topbar__links,
.ect-topbar__links ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.ect-topbar__links a{opacity:.9}
.ect-topbar__links .sep{opacity:.45}
.ect-topbar__right{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.ect-topbar__mini{display:inline-flex; align-items:center; gap:8px; opacity:.92}
.ect-topbar__mini:hover{opacity:1; text-decoration:underline}
.ect-topbar__mini .dot{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block}
.ect-topbar__right .pipe{opacity:.45}

.ect-header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
  transition: box-shadow .2s ease, border-color .2s ease;
  border-bottom:1px solid rgba(229,231,235,.85);
}
.ect-header.is-scrolled{box-shadow: 0 10px 26px rgba(0,0,0,.07)}
.ect-header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.ect-brand{display:flex; align-items:center; gap:12px; min-width:160px}
.ect-brand .custom-logo{height:38px;width:auto; max-width:220px}
.ect-brand a.custom-logo-link{display:inline-flex; align-items:center}
.ect-brand__text{font-weight:900; letter-spacing:.2px}

.ect-nav{flex:1}
.ect-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:26px;
}
.ect-menu > li{position:relative}
.ect-menu a{
  font-weight:750;
  color:#0f172a;
  padding:10px 6px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.ect-menu a:hover{color:var(--green)}

/* Dropdown */
.ect-menu li ul{
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  min-width:260px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  padding:10px;
  display:none;
  list-style:none;
  margin:0;
  z-index:60;
}
.ect-menu li:hover > ul{display:block}
.ect-menu li ul li a{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}
.ect-menu li ul li a:hover{background:var(--soft)}

.ect-actions{display:flex; align-items:center; gap:10px; justify-content:flex-end; min-width:220px}
.ect-actions__cta{white-space:nowrap}
.ect-icon{
  position:relative;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#0f172a;
}
.ect-icon:hover{border-color:#cbd5e1; color:var(--green)}
.ect-cartcount{
  position:absolute;
  right:-6px;
  top:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}

.ect-burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.ect-burger span{display:block;width:18px;height:2px;background:#0f172a;border-radius:2px}

.ect-mobile{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  backdrop-filter:saturate(140%) blur(6px);
  z-index:100;
}
.ect-mobile__inner{
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:min(420px, 92vw);
  background:#fff;
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.ect-mobile__top{display:flex; align-items:center; justify-content:space-between; gap:12px}
.ect-mobile__brand .custom-logo{height:34px;width:auto}
.ect-mobile__close{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:22px;line-height:1}
.ect-mobile__menu{flex:1; overflow:auto; padding-right:4px}
.ect-mobilemenu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.ect-mobilemenu a{display:flex;justify-content:space-between;align-items:center;padding:12px 12px;border-radius:14px;border:1px solid var(--line);font-weight:750}
.ect-mobilemenu a:hover{background:var(--soft)}
.ect-mobilemenu ul{list-style:none;margin:6px 0 0 0;padding:0 0 0 10px;display:flex;flex-direction:column;gap:6px}
.ect-mobilemenu ul a{border-style:dashed;font-weight:700}
.ect-mobile__cta{display:grid;gap:10px}


/* Legacy classes kept for compatibility with any cached markup (no longer used in v2.7.3) */
.top-strip, .site-header, .nav-row { display:none; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 16px;
  border-radius:10px;
  border:1px solid transparent;
  font-weight:700;
  cursor:pointer;
}
.btn-gold{background:var(--gold); color:#fff}
.btn-ghost{border-color:var(--line); background:#fff; color:#0f172a}
.icon-btn{
  width:42px; height:42px; border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  display:inline-flex; align-items:center; justify-content:center;
}

/* Nav row */
.nav-row{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}
.nav-row .navwrap{
  display:flex; align-items:center; justify-content:center;
  padding:10px 0;
}
.nav-row ul{list-style:none;margin:0;padding:0;display:flex;gap:28px;align-items:center}
.nav-row a{font-weight:650; color:#0f172a}
.nav-row a:hover{color:var(--green)}

/* Hero */
.hero{
  position:relative;
  min-height:560px;
  display:flex;
  align-items:flex-end;
  padding:0 0 34px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.0) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.72) 100%),
    url('https://india.rsustain.com/wp-content/uploads/2026/01/hero.jpg') center/cover no-repeat;
}
.hero .content{
  width:100%;
  color:#fff;
}
.hero h1{
  margin:0;
  font-size:46px;
  line-height:1.06;
  font-weight:850;
  letter-spacing:-.6px;
  text-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.hero .sub{
  margin-top:14px;
  font-size:18px;
  color:rgba(255,255,255,.92);
  max-width:860px;
}
.hero .meta{
  margin-top:16px;
  font-size:15px;
  color:rgba(255,255,255,.92);
  font-weight:650;
}
.hero .cta{
  margin-top:18px;
}

/* Sections */
.section{padding:52px 0}
.section-title{font-size:22px;font-weight:800;margin:0 0 16px 0;color:#111827}
.card-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:16px 16px 14px;
}
.card h3{margin:0 0 8px;font-size:14px;font-weight:850;color:#111827}
.card p{margin:0;font-size:12.5px;color:#475569;line-height:1.4}

/* Stats strip */
.stats{
  margin-top:22px;
  border-radius:18px;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.25)),
    url('https://india.rsustain.com/wp-content/uploads/2026/01/stats.jpg') center/cover no-repeat;
}
.stats .inner{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  padding:22px 18px;
  color:#fff;
  text-align:center;
}
.stat .num{font-weight:900;font-size:28px;letter-spacing:-.2px}
.stat .lbl{font-size:12.5px;opacity:.95;margin-top:4px;font-weight:650}

/* Two feature panels */
.panels{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  margin-top:18px;
}
.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:20px;
}
.panel h3{margin:0 0 8px;font-size:18px;font-weight:850}
.panel p{margin:0 0 14px;color:#475569;line-height:1.55}
.panel .actions{display:flex;gap:10px;flex-wrap:wrap}

/* Footer */
.ect-footer{
  margin-top:40px;
  background:
    linear-gradient(180deg, rgba(15,91,70,.90), rgba(15,91,70,.94)),
    url('https://india.rsustain.com/wp-content/uploads/2026/01/footer.jpg') center/cover no-repeat;
  color:#eaf5f0;
  padding:54px 0 34px;
}

.ect-footer__grid{
  display:grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap:22px;
  align-items:start;
}
.ect-footer__logo .custom-logo{height:38px;width:auto;filter:brightness(1.1) contrast(1.05)}
.ect-footer__name{font-weight:900;font-size:18px}
.ect-footer__tagline{margin:12px 0 0;opacity:.92;line-height:1.55}
.ect-footer__badges{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.badge{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:6px 10px;font-size:12px;background:rgba(0,0,0,.12)}
.ect-footer__contact{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;opacity:.95}
.ect-footer__contactlink:hover{text-decoration:underline}
.ect-footer__col h4{margin:0 0 12px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;opacity:.92}
.ect-footer__links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.ect-footer__links a{opacity:.92}
.ect-footer__links a:hover{opacity:1;text-decoration:underline}

.ect-footer__bottom{margin-top:26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.18);display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.ect-footer__fine{opacity:.9;font-size:12.5px}
.ect-footer__legal-links{list-style:none;margin:0;padding:0;display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;opacity:.95}
.ect-footer__legal-links a:hover{text-decoration:underline}

/* Content templates */
.content-area{padding:34px 0}
.content-area article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:22px;
}

/* Responsive */
@media (max-width: 1020px){
  .card-grid{grid-template-columns: repeat(2, 1fr);}
  .stats .inner{grid-template-columns: repeat(2, 1fr);}
  .panels{grid-template-columns: 1fr;}
  .hero h1{font-size:40px}
  .ect-menu{gap:18px}
  .ect-actions__cta{display:none}
}

@media (max-width: 900px){
  .ect-nav{display:none}
  .ect-burger{display:inline-flex}
  .ect-actions{min-width:auto}
}

@media (max-width: 640px){
  .container{padding:0 16px}
  .hero{min-height:520px}
  .hero h1{font-size:34px}
  .ect-topbar__row{flex-direction:column;align-items:flex-start}
  .ect-footer__grid{grid-template-columns:1fr;}
  .ect-footer__bottom{flex-direction:column;align-items:flex-start}
}
@media (max-width: 560px){
  .header-row{grid-template-columns: 1fr; text-align:center}
  .header-actions{justify-content:center}
  .nav-row ul{gap:16px; flex-wrap:wrap; justify-content:center}
  .hero{min-height:520px}
  .hero h1{font-size:34px}
}



/* ---------- Menu polish (v2.7.2) ---------- */

/* Normalize WP menus */
.nav-row ul, .top-strip ul, .site-footer ul { list-style:none; margin:0; padding:0; }
.nav-row li, .top-strip li, .site-footer li { margin:0; padding:0; }
.nav-row a, .top-strip a, .site-footer a { text-decoration:none; }

/* Top strip: inline links with dot separators */
.top-strip .links, .top-strip .menu { display:flex; flex-wrap:wrap; gap:0; align-items:center; }
.top-strip .links li, .top-strip .menu li { display:inline-flex; align-items:center; }
.top-strip .links li + li::before, .top-strip .menu li + li::before{
  content:"•";
  margin:0 10px;
  opacity:.35;
}

/* Header nav: cleaner typography and spacing */
.nav-row ul{ gap:26px; flex-wrap:wrap; justify-content:center; }
.nav-row li{ position:relative; }
.nav-row a{ padding:8px 2px; display:inline-flex; align-items:center; gap:6px; }

/* Dropdown styling */
.nav-row ul.sub-menu{
  position:absolute;
  top: calc(100% + 8px);
  left: -10px;
  min-width: 260px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  padding:10px;
  display:none;
  z-index:40;
}
.nav-row ul.sub-menu li a{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  color:#0f172a;
  font-weight:650;
}
.nav-row ul.sub-menu li a:hover{
  background: rgba(15,91,70,.08);
  color: var(--green);
}
.nav-row li:hover > ul.sub-menu,
.nav-row li:focus-within > ul.sub-menu{
  display:block;
}

/* Footer menu: inline with separators */
.site-footer .links, .site-footer .menu { display:flex; gap:0; justify-content:center; flex-wrap:wrap; }
.site-footer .links li, .site-footer .menu li{ display:inline-flex; align-items:center; }
.site-footer .links li + li::before, .site-footer .menu li + li::before{
  content:"•";
  margin:0 12px;
  opacity:.55;
}
.site-footer .links a, .site-footer .menu a{ opacity:.95; }

/* Logo smaller & consistent */
.custom-logo-link img{
  max-height:56px;
  width:auto;
  height:auto;
}
@media (max-width: 560px){
  .custom-logo-link img{ max-height:48px; }
}

/* Reduce header height slightly */
.header-row{ padding:12px 0; }
