.tg-container{max-width:1180px;margin:0 auto;padding:24px 20px 50px;color:#1a2c4e}
.tg-hero{margin:0 0 20px;padding:26px 30px;text-align:center;border-radius:20px;background:linear-gradient(135deg,#0f172a 0%,#0b4eaa 55%,#083c86 100%);box-shadow:0 16px 38px rgba(15,23,42,.16)}
.tg-hero-icon,.tg-card-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;color:#fff;background:linear-gradient(135deg,#0b4eaa,#c89a3c)}
.tg-hero-icon{width:48px;height:48px;margin:0 auto 12px;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:rgba(255,255,255,.12);color:#e8d5a8;font-size:21px}
.tg-hero h1{max-width:850px;margin:0 auto 8px;color:#fff;font-family:'Outfit','Poppins',sans-serif;font-size:26px;font-weight:800;line-height:1.25}
.tg-hero>p{max-width:720px;margin:0 auto;color:#f0e4c4;font-size:14px;line-height:1.6}
.tg-disclaimer{display:flex;align-items:flex-start;gap:12px;margin:0 0 28px;padding:16px 18px;border:1px solid #fde68a;border-radius:12px;background:#fffbeb}
.tg-disclaimer>i{margin-top:3px;color:#b45309;font-size:18px}
.tg-disclaimer p{margin:0;color:#78350f;font-size:13px;line-height:1.65}
.tg-disclaimer a{color:#78350f;font-weight:700;text-decoration:underline}
.tg-grid{display:grid;gap:20px;margin-bottom:32px}
.tg-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.tg-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.tg-card{display:flex;flex-direction:column;min-width:0;padding:22px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04);transition:transform .2s ease,box-shadow .2s ease}
.tg-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(15,23,42,.1)}
.tg-card-icon{width:48px;height:48px;margin-bottom:14px;border-radius:12px;font-size:20px}
.tg-card h2,.tg-card h3{margin:0 0 8px;color:#1a2c4e;font-family:'Outfit','Poppins',sans-serif;font-size:17px;font-weight:750;line-height:1.35}
.tg-card-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.tg-card-heading .tg-card-icon{margin:0}
.tg-card-heading h2{margin:0 0 4px;font-size:18px}
.tg-card-heading p{margin:0;color:#64748b;font-size:13px}
.tg-field{margin:0 0 16px}
.tg-field label,.tg-unit-grid label{display:block;color:#334155;font-size:13px;font-weight:700}
.tg-field input,.tg-field select,.tg-unit-grid input{display:block;width:100%;height:44px;margin-top:7px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1e293b;font:inherit}
.tg-field input:focus,.tg-field select:focus,.tg-unit-grid input:focus{border-color:#0b4eaa;outline:2px solid rgba(11,78,170,.14)}
.tg-results{overflow:hidden;margin-top:10px;border:1px solid #e2e8f0;border-radius:10px}
.tg-results>div{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e2e8f0;color:#475569;font-size:13px}
.tg-results>div:last-child{border-bottom:0}
.tg-results strong{color:#1a2c4e;text-align:right}
.tg-results .tg-result-total{background:#eff5ff;color:#1a2c4e;font-weight:800}
.tg-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tg-unit-grid label{font-size:12px}
.tg-unit-grid label small{display:block;margin-top:3px;color:#64748b;font-size:11px;font-weight:500}
.tg-unit-grid input{height:40px}
.tg-unit-wide{grid-column:1/-1}
.tg-note{margin:16px 0 0;color:#64748b;font-size:12px;line-height:1.6}
.tg-card-description{margin:0 0 18px;color:#64748b;font-size:13px;line-height:1.65}
.tg-tamil{margin:0 0 10px;color:#0b4eaa;font-size:13px;font-weight:600}
.tg-primary-link,.tg-secondary-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:8px;font-size:13px;font-weight:700;text-decoration:none!important;transition:background .2s ease,transform .2s ease}
.tg-primary-link{margin-top:auto;background:#0b4eaa;color:#fff!important}
.tg-primary-link:hover{transform:translateY(-1px);background:#083c86;color:#fff!important}
.tg-secondary-link{background:#fff;color:#0b4eaa!important}
.tg-secondary-link:hover{background:#eff5ff;color:#083c86!important}
.tg-directory{scroll-margin-top:calc(var(--cp-header-h,80px) + 18px)}
.tg-section-heading{margin:34px 0 18px;text-align:center}
.tg-section-heading h2{margin:0 0 8px;color:#1a2c4e;font-family:'Outfit','Poppins',sans-serif;font-size:22px;font-weight:800}
.tg-section-heading p{max-width:680px;margin:0 auto;color:#64748b;font-size:14px;line-height:1.6}
.tg-sample-note{margin:14px 0 20px;padding:12px 14px;border:1px solid #dbeafe;border-radius:9px;background:#eff5ff;color:#334b6e;text-align:center;font-size:12px;line-height:1.5}
.tg-sample-label{display:inline-block;margin-bottom:10px;padding:4px 8px;border:1px solid #fde68a;border-radius:999px;background:#fffbeb;color:#92400e;font-size:10px;font-weight:800}
.tg-badge{align-self:flex-start;margin:0 0 12px;padding:4px 9px;border:1px solid #bfdbfe;border-radius:999px;background:#eff5ff;color:#0b4eaa;font-size:10px;font-weight:800}
.tg-address{display:flex;align-items:flex-start;gap:8px;margin:0 0 14px;color:#64748b;font-size:12px;line-height:1.55}
.tg-address i{margin-top:3px;color:#94a3b8}
.tg-chip-list{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 16px}
.tg-chip-list span{padding:4px 9px;border:1px solid #dbeafe;border-radius:999px;background:#eff5ff;color:#0b4eaa;font-size:11px;font-weight:600}
.tg-field-label{margin-bottom:4px;color:#0b4eaa;font-size:11px;text-transform:uppercase;letter-spacing:.3px}
.tg-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 10px;padding:20px 24px;border-radius:12px;background:#0b4eaa}
.tg-cta p{margin:0;color:#fff;font-size:15px;font-weight:700}
.tg-meta{margin:0 0 16px;color:#64748b;font-size:12px}
.tg-project-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}
.tg-project-top .tg-card-icon{margin:0}
.tg-project-top .tg-badge{margin:4px 0 0}
.tg-badge-amber{border-color:#fde68a;background:#fffbeb;color:#b45309}
.tg-badge-teal{border-color:#bfdbfe;background:#eff5ff;color:#0b4eaa}
.tg-badge-slate{border-color:#cbd5e1;background:#f1f5f9;color:#475569}
.tg-timeline{margin:0 0 14px;padding:8px 10px;border:1px solid #dbeafe;border-radius:8px;background:#eff5ff;color:#0b4eaa;font-size:12px;font-weight:700;line-height:1.5}
.tg-timeline i{margin-right:5px}
.tg-impact{margin-top:auto;padding:12px;border-left:3px solid #c89a3c;border-radius:0 8px 8px 0;background:#f8fafc}
.tg-impact strong{color:#1a2c4e;font-size:11px;text-transform:uppercase;letter-spacing:.3px}
.tg-impact strong i{color:#c89a3c}
.tg-impact p{margin:7px 0 0;color:#475569;font-size:12px;line-height:1.6}
@media(max-width:992px){.tg-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.tg-grid-two,.tg-grid-three{grid-template-columns:1fr}.tg-container{padding:18px 14px 36px}.tg-hero{padding:24px 18px}.tg-hero h1{font-size:22px}.tg-cta{flex-direction:column;text-align:center}.tg-card-heading{align-items:flex-start}}

/* === Responsive fixes (phones/tablets) - desktop >=1200px untouched === */
@media(max-width:768px){
.tg-container{padding:18px 16px 40px}
.tg-hero h1{font-size:clamp(20px,5.8vw,24px);overflow-wrap:anywhere}
.tg-hero>p,.tg-disclaimer p,.tg-card-description,.tg-card-heading p,.tg-section-heading p,.tg-impact p{font-size:14px}
.tg-address,.tg-note,.tg-meta,.tg-sample-note,.tg-timeline{font-size:13px}
.tg-disclaimer p,.tg-card,.tg-address,.tg-note{overflow-wrap:anywhere}
.tg-section-heading h2{font-size:clamp(19px,5.4vw,22px);overflow-wrap:anywhere}
.tg-field input,.tg-field select,.tg-unit-grid input{height:48px!important;margin-bottom:0!important;font-size:16px}
.tg-results>div{font-size:14px;flex-wrap:wrap}
.tg-primary-link,.tg-secondary-link{min-height:46px;font-size:14px}
.tg-card:hover{transform:none}
/* global cp-responsive forces section{padding:..0 !important}; calculator cards are <section> */
section.tg-card{padding:20px 18px!important;gap:0!important}
.tg-cta p{font-size:15px}
}
@media(max-width:480px){
.tg-hero{padding:22px 16px;border-radius:16px}
.tg-card,section.tg-card{padding:18px 16px!important}
.tg-unit-grid{grid-template-columns:1fr;gap:12px}
.tg-primary-link{width:100%}
.tg-cta{padding:18px 16px}
.tg-cta .tg-secondary-link{width:100%}
}
