/* ============================================================
   Tunan Energy Storage — Redesigned to replicate the
   mobanwang lo202206/202206107 template design system.
   Primary: #32C36C (green) · Dark: #1A2A36 (navy) · Light: #F6F7F8
   ============================================================ */

:root {
  --primary: #32C36C;
  --primary-dark: #279E56;
  --primary-light: #E9F8F0;
  --secondary: #1A2A36;
  --dark: #1A2A36;
  --light: #F6F7F8;
  --gray-50: #F6F7F8;
  --gray-100: #EEF1F4;
  --gray-200: #DDE3E9;
  --gray-400: #9AA7B2;
  --gray-600: #6B7884;
  --gray-800: #2C3A46;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 0 45px rgba(0, 0, 0, .08);
  --shadow-sm: 0 5px 20px rgba(0, 0, 0, .06);
  --accent: var(--primary);
  --accent-light: var(--primary-light);
  --accent-dark: var(--primary-dark);
  --container: 1320px;
  --font-head: 'Roboto', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', sans-serif;
  --font-body: 'Open Sans', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}

h1 { font-size: 46px; font-weight: 900; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin: 0 0 16px; }
a { color: var(--primary); text-decoration: none; transition: .3s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.alt { background: var(--light); }
.mt-2 { margin-top: 12px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }

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

@media (max-width: 991px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 34px; } h2 { font-size: 28px; }
}

/* ---------- Section header (eyebrow + title) ---------- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .section-eyebrow {
  display: inline-block; position: relative; padding-bottom: 12px;
  color: var(--primary); font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; font-size: 14px;
}
.section-header .section-eyebrow::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 50px; height: 3px; background: var(--primary); border-radius: 3px;
}
.section-header h2 { font-size: 38px; margin-top: 16px; }
.section-header p { color: var(--gray-600); max-width: 720px; margin: 12px auto 0; }
.section-header.left { text-align: left; }
.section-header.left .section-eyebrow::after { left: 0; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: .4s; text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--dark); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--dark); color: #cfd6dd; font-size: 14px;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 44px; max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.topbar-left span, .topbar-right span, .topbar-right a, .topbar-right button {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 22px; color: #cfd6dd;
}
.topbar a:hover, .topbar-right button:hover { color: var(--primary); }
.topbar i { color: var(--primary); }
.topbar-lang { background: transparent; border: none; cursor: pointer; font-size: 14px; padding: 0; }
.topbar-lang .lang-label { font-weight: 600; }
.lang-switch {
  background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff;
  padding: 4px 14px; border-radius: 30px; cursor: pointer; font-size: 13px; transition: .3s;
}
.lang-switch:hover { background: var(--primary); border-color: var(--primary); }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: #fff;
  box-shadow: 0 2px 25px rgba(0, 0, 0, .07);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--dark); }
.brand:hover { color: var(--dark); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 22px; font-family: var(--font-head);
}
.brand-mark::after { content: 'T'; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 28px 16px; color: var(--dark); font-family: var(--font-head);
  font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .5px;
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 22px; height: 3px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: .3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-quote { background: var(--primary); color: #fff; padding: 10px 22px; border-radius: 30px; }
.btn-quote:hover { background: var(--primary-dark); color: #fff; }
.nav-toggle {
  display: none; background: var(--primary); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 8px; font-size: 20px; cursor: pointer;
}

@media (max-width: 991px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; max-height: 0; overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08); transition: max-height .3s;
  }
  .main-nav.open { max-height: 600px; }
  .main-nav a { padding: 14px 24px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .btn-quote { display: none; }
}

/* ============================================================
   HERO (template-style full-width banner)
   ============================================================ */
.hero {
  position: relative; min-height: 600px; display: flex; align-items: center;
  background: url(../img/ref/carousel-1.jpg) center center / cover no-repeat;
  padding: 120px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,42,54,.85) 0%, rgba(26,42,54,.55) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.hero-inner > div { max-width: 720px; }
.hero-badge {
  display: inline-block; background: rgba(50,195,108,.18); color: #8ef0b6;
  border: 1px solid rgba(50,195,108,.4); padding: 6px 16px; border-radius: 30px;
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: 52px; line-height: 1.15; margin-bottom: 18px; }
.hero-subtitle { color: #cfe3d6; font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.hero-desc { color: #d6dee5; font-size: 16px; max-width: 620px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-outline:hover { background: #fff; color: var(--dark); }

/* Hero stats strip */
.hero-stats {
  position: relative; z-index: 1; margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px;
}
.hero-stats .stat { color: #fff; }
.hero-stats .stat b { display: block; font-size: 40px; font-family: var(--font-head); color: var(--primary); line-height: 1; }
.hero-stats .stat span { font-size: 14px; color: #cdd6dd; }

@media (max-width: 768px) {
  .hero { padding: 90px 0; min-height: auto; }
  .hero h1 { font-size: 36px; }
}

/* ============================================================
   ADVANTAGES / FEATURE ROW
   ============================================================ */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 991px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantage-grid { grid-template-columns: 1fr; } }

.advantage-item {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow-sm); text-align: center; transition: .4s; border: 1px solid var(--gray-100);
}
.advantage-item:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.advantage-num {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 900; font-size: 28px;
}
.advantage-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.advantage-desc { font-size: 14px; color: var(--gray-600); }

/* ============================================================
   PRODUCT CARDS (template "service-item" style)
   ============================================================ */
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .4s; border: 1px solid var(--gray-100);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-image { position: relative; aspect-ratio: 4/3; background: var(--gray-50); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: .5s; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 14px; border-radius: 30px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: #fff;
}
.tag-air { background: var(--primary); }
.tag-liquid { background: #2E86C1; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 19px; margin: 0; }
.product-meta { display: flex; gap: 24px; padding: 14px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.product-meta div { display: flex; flex-direction: column; }
.product-meta span { font-size: 12px; color: var(--gray-400); text-transform: uppercase; }
.product-meta strong { font-size: 15px; color: var(--dark); font-family: var(--font-head); }
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   CASE CARDS (template "portfolio" style)
   ============================================================ */
.case-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); height: 320px; color: #fff;
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.case-card:hover img { transform: scale(1.08); }
.case-card::before, .case-card::after {
  content: ''; position: absolute; top: 0; width: 0; height: 100%;
  background: rgba(26,42,54,.7); transition: .5s; z-index: 1;
}
.case-card::before { left: 50%; }
.case-card::after { right: 50%; }
.case-card:hover::before { width: 51%; left: 0; }
.case-card:hover::after { width: 51%; right: 0; }
.case-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(26,42,54,.85) 0%, rgba(26,42,54,0) 60%);
}
.case-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 26px; }
.case-tag {
  display: inline-block; background: var(--primary); color: #fff; padding: 4px 12px;
  border-radius: 30px; font-size: 12px; font-weight: 700; margin-bottom: 10px;
}
.case-content h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.case-content p { color: #d8e0e6; font-size: 14px; margin: 0; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partner-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.partner-logo {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: .3s; height: 96px;
}
.partner-logo img { max-width: 100%; max-height: 56px; object-fit: contain; opacity: .92; transition: .3s; }
.partner-logo:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-logo:hover img { opacity: 1; }
@media (max-width: 992px) { .partner-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 576px) { .partner-row { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.partner-chip {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 12px 20px; font-family: var(--font-head); font-weight: 700; color: var(--gray-600);
  box-shadow: var(--shadow-sm); transition: .3s; font-size: 14px;
}
.partner-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-4px); }
.partners-strip { background: var(--light); padding: 60px 0; }
.partners-strip .section-header { margin-bottom: 30px; }

/* ============================================================
   SPLIT SECTION (about / feature image+text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 991px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; display: block; }
.split-text h2 { margin-bottom: 16px; }
.split-text .lead { color: var(--gray-600); }
.feature-list { margin-top: 18px; }
.feature-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--gray-800); }
.feature-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
  position: absolute; left: 0; top: 1px; color: var(--primary); font-size: 15px;
}
.app-list li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--gray-600); }
.app-list li::before { content: '\f105'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; color: var(--primary); }

/* ============================================================
   CTA / QUOTE BANNER
   ============================================================ */
.cta-banner {
  position: relative; padding: 70px 0; text-align: center; color: #fff; overflow: hidden;
  background: linear-gradient(rgba(26,42,54,.88), rgba(26,42,54,.92)), url(../img/ref/quote.jpg) center/cover no-repeat;
}
.cta-banner h2 { color: #fff; font-size: 34px; margin-bottom: 12px; }
.cta-banner p { color: #d6dee5; max-width: 640px; margin: 0 auto 24px; }
.cta-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-banner .btn-outline:hover { background: #fff; color: var(--dark); }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  position: relative; padding: 90px 0 70px; color: #fff;
  background: linear-gradient(rgba(26,42,54,.82), rgba(26,42,54,.88)), url(../img/ref/carousel-2.jpg) center/cover no-repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 42px; margin: 0; }
.page-hero p { color: #cfe3d6; font-size: 18px; margin: 10px 0 0; }
.page-hero .breadcrumb { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { margin: 0 8px; }

/* ============================================================
   DETAIL (product/case/solution)
   ============================================================ */
.detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
@media (max-width: 991px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-image { border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-50); box-shadow: var(--shadow-sm); }
.detail-image img { width: 100%; display: block; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 768px) { .split-2 { grid-template-columns: 1fr; } }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--gray-100); }
.spec-table th { background: var(--light); color: var(--dark); font-family: var(--font-head); width: 40%; font-weight: 700; }
.spec-table tr:hover td { background: var(--primary-light); }

.card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.card-text { color: var(--gray-600); }
.process-list { counter-reset: step; margin-top: 14px; }
.process-list li { position: relative; padding-left: 44px; margin-bottom: 14px; counter-increment: step; color: var(--gray-800); }
.process-list li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px;
  background: var(--primary); color: #fff; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 14px;
}
.card blockquote { margin: 0; }

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-chip {
  background: #fff; border: 2px solid var(--gray-200); color: var(--gray-600);
  padding: 9px 24px; border-radius: 30px; cursor: pointer; font-family: var(--font-head);
  font-weight: 600; font-size: 14px; transition: .3s;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: #fff; border: none; padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--dark); display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '\f067'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--primary); transition: .3s; }
.faq-item.open .faq-q::after { content: '\f068'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; background: var(--light); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 18px 22px; margin: 0; color: var(--gray-600); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 991px) { .contact-wrap { grid-template-columns: 1fr; } }

/* Layout helpers for the inquiry form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-family: var(--font-head); margin-bottom: 7px; color: var(--dark); font-size: 14px; }
.req { color: #e23b3b; margin-left: 2px; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--gray-600); }

/* Base input styling */
.form-control {
  width: 100%; padding: 12px 15px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; color: var(--dark); background: #fff;
  box-shadow: inset 0 1px 2px rgba(16,24,40,.04); transition: border-color .2s, box-shadow .2s;
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:hover { border-color: var(--primary); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }

/* ===== Beautified message box ===== */
.form-textarea {
  min-height: 184px; padding: 16px 18px; border-radius: var(--radius-lg);
  line-height: 1.75; font-size: 15px; letter-spacing: .1px; resize: vertical;
  border: 1.5px solid var(--gray-200);
  background: linear-gradient(180deg, #fcfdfe 0%, #ffffff 55%);
  box-shadow: inset 0 1px 3px rgba(16,24,40,.05);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-textarea::placeholder { color: var(--gray-400); font-style: italic; }
.form-textarea:hover { border-color: var(--primary); }
.form-textarea:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px var(--primary-light), 0 8px 20px rgba(39,158,86,.12);
}

.form-success {
  display: none; background: var(--primary-light); color: var(--primary-dark);
  border: 1px solid var(--primary); padding: 14px 18px; border-radius: var(--radius); margin-top: 10px;
}
.form-success.show { display: block; }

/* Contact info card */
.contact-info-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 28px 26px;
  box-shadow: 0 8px 30px rgba(16,24,40,.06);
}
.contact-info-card h3 { margin: 0 0 18px; font-size: 19px; color: var(--dark); }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--gray-200); }
.contact-row:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-row strong { display: block; font-size: 13px; color: var(--gray-600); font-weight: 600; margin-bottom: 3px; letter-spacing: .3px; }
.contact-row span { font-size: 15px; color: var(--dark); }
.contact-row a { color: var(--primary); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

/* ============================================================
   TIMELINE (about milestones)
   ============================================================ */
.timeline { position: relative; padding-left: 30px; margin-top: 20px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.timeline-year { font-family: var(--font-head); font-weight: 900; color: var(--primary); font-size: 18px; }
.timeline-event { color: var(--gray-600); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: #9aa7b2; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 900; font-size: 22px; color: #fff; margin-bottom: 16px; }
.footer-brand .brand-mark { background: var(--primary); }
.footer-desc { font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--primary); border-radius: 3px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a, .footer-col ul li { color: #9aa7b2; font-size: 14px; transition: .3s; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom {
  margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #7e8b96;
}
.footer-bottom a { color: #9aa7b2; }
.footer-bottom a:hover { color: var(--primary); }
.btn-social {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #9aa7b2; margin-right: 8px; transition: .3s;
}
.btn-social:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   WHATSAPP FLOAT + BACK TO TOP
   ============================================================ */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 96px; z-index: 1100;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: .3s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 1100;
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer;
  box-shadow: 0 5px 18px rgba(39,158,86,.45); opacity: 0; visibility: hidden; transition: .4s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); color: #fff; }

/* ============================================================
   VALUE BOXES (service page tiers etc.)
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 991px) { .value-grid { grid-template-columns: 1fr; } }
.value-item { text-align: center; padding: 40px 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: .4s; }
.value-item:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-item .vi-num { font-family: var(--font-head); font-weight: 900; font-size: 44px; color: var(--primary); line-height: 1; }
.value-item h3 { margin: 14px 0 8px; }
.value-item p { font-size: 14px; color: var(--gray-600); }

/* ---------- Compatibility helpers (legacy inline markup) ---------- */
.card-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 8px;
}
.card-eyebrow.accent { color: var(--primary); }
.card-eyebrow.warning { color: #E0A800; }
.text-muted { color: var(--gray-600); }

/* Make legacy inline two-column grids stack on mobile */
@media (max-width: 768px) {
  .grid[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
  .detail-grid[style*="1fr"] { grid-template-columns: 1fr !important; }
}
