/*
Theme Name: Toan Cau Group V1 - Easy Custom
Theme URI: https://toancaugroup.net/
Author: Toan Cau Group
Description: Giao diện Toàn Cầu Group bám sát concept V1, có Customizer trực quan để đổi font, cỡ chữ, logo và hình ảnh mà không cần lập trình.
Version: 1.1.0
Text Domain: toancaugroup
*/

:root{
  --tcg-green:#0b3929;
  --tcg-green-2:#123f2d;
  --tcg-gold:#b9964f;
  --tcg-cream:#f7f5ef;
  --tcg-text:#1d2722;
  --tcg-muted:#68726d;
  --tcg-border:#dedfd9;
  --tcg-body-size:18px;
  --tcg-menu-size:18px;
  --tcg-heading-size:44px;
  --tcg-section-title-size:38px;
  --tcg-button-size:15px;
  --tcg-line-height:1.7;
  --tcg-container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--tcg-text);
  background:#fff;
  font-family:var(--tcg-body-font,Arial,sans-serif);
  font-size:var(--tcg-body-size);
  line-height:var(--tcg-line-height);
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(calc(100% - 40px),var(--tcg-container));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tcg-serif{font-family:var(--tcg-heading-font,Georgia,serif)}
.tcg-gold{color:var(--tcg-gold)}

.tcg-header{
  position:fixed;left:0;right:0;top:0;z-index:1000;color:#fff;
  padding:10px 0;
  background:linear-gradient(180deg,rgba(0,28,20,.88),rgba(0,28,20,.68));
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.tcg-header-inner{display:flex;align-items:center;gap:30px;min-height:62px}
.tcg-logo img{width:auto;max-height:54px}
.tcg-logo-text{font-family:Georgia,serif;font-weight:700;line-height:1.05;letter-spacing:.03em;font-size:22px}
.tcg-logo-text span{display:block;color:#d4b56c}
.tcg-nav{margin-left:auto}
.tcg-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:28px}
.tcg-nav a{
  display:block;padding:14px 0;font-size:var(--tcg-menu-size);
  font-weight:600;letter-spacing:.01em;color:#fff;position:relative;
}
.tcg-nav a:after{content:"";position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--tcg-gold);transform:scaleX(0);transform-origin:left;transition:.2s}
.tcg-nav a:hover:after,.tcg-nav .current-menu-item>a:after{transform:scaleX(1)}
.tcg-menu-toggle{display:none;margin-left:auto;border:1px solid rgba(255,255,255,.55);background:rgba(0,0,0,.18);color:#fff;border-radius:50%;width:46px;height:46px;cursor:pointer}
.tcg-menu-toggle span,.tcg-menu-toggle span:before,.tcg-menu-toggle span:after{display:block;width:18px;height:2px;background:#fff;margin:auto;position:relative}
.tcg-menu-toggle span:before,.tcg-menu-toggle span:after{content:"";position:absolute;left:0}
.tcg-menu-toggle span:before{top:-6px}.tcg-menu-toggle span:after{top:6px}

.tcg-hero{
  min-height:680px;display:flex;align-items:center;position:relative;color:#fff;overflow:hidden;
  background:#082b20;
}
.tcg-hero-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block;
  z-index:0;
}
.tcg-hero:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.18),transparent 30%,rgba(0,0,0,.2));pointer-events:none}
.tcg-hero-content{position:relative;z-index:2;padding-top:90px;max-width:600px}
.tcg-kicker{font-size:15px;letter-spacing:.16em;text-transform:uppercase;color:#dbc98f;font-weight:700;margin-bottom:10px}
.tcg-hero h1{font-family:var(--tcg-heading-font,Georgia,serif);font-size:clamp(48px,var(--tcg-heading-size),76px);line-height:1.02;margin:0 0 20px;letter-spacing:.02em}
.tcg-hero h1 span{display:block;color:#d0ad61}
.tcg-hero-sub{font-size:20px;line-height:1.45;font-weight:600;margin:0 0 18px;max-width:430px}
.tcg-hero-desc{font-size:var(--tcg-body-size);max-width:510px;color:rgba(255,255,255,.9);margin-bottom:28px}
.tcg-buttons{display:flex;flex-wrap:wrap;gap:12px;position:relative;top:-68px;margin-bottom:-68px}
.tcg-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 20px;
  border:1px solid #fff;color:#fff;background:transparent;font-size:var(--tcg-button-size);font-weight:700;text-transform:uppercase;letter-spacing:.04em;
}
.tcg-btn.primary{background:var(--tcg-gold);border-color:var(--tcg-gold);color:#fff}
.tcg-btn:hover{transform:translateY(-1px);opacity:.94}

.tcg-stats{background:#fff;border-bottom:1px solid #e8e8e3}
.tcg-stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.tcg-stat{min-height:105px;display:flex;align-items:center;justify-content:center;gap:13px;border-right:1px solid var(--tcg-border);padding:15px}
.tcg-stat:last-child{border-right:0}
.tcg-stat-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--tcg-green);color:#fff;font-size:18px}
.tcg-stat:nth-child(even) .tcg-stat-icon{background:var(--tcg-gold)}
.tcg-stat strong{font-family:Georgia,serif;font-size:30px;line-height:1;color:var(--tcg-green);font-weight:500}
.tcg-stat:nth-child(even) strong{color:#8e6c2e}
.tcg-stat small{display:block;text-transform:uppercase;color:#737972;font-size:11px;font-weight:700;letter-spacing:.04em;margin-top:4px}

.tcg-philosophy{padding:70px 0;background:#fff}
.tcg-philo-grid{display:grid;grid-template-columns:280px 1fr;gap:38px;align-items:stretch}
.tcg-section-kicker{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:var(--tcg-gold);font-weight:800}
.tcg-philo-intro h2{font-family:var(--tcg-heading-font,Georgia,serif);font-size:var(--tcg-section-title-size);line-height:1.12;margin:8px 0 18px;font-weight:600}
.tcg-philo-intro p{color:var(--tcg-muted);font-size:17px}
.tcg-link{display:inline-flex;gap:10px;align-items:center;border-bottom:1px solid var(--tcg-green);padding:7px 0;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.tcg-philo-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tcg-card{border:1px solid #e2e3dd;background:#fbfbf8;overflow:hidden}
.tcg-card-img{aspect-ratio:1/1;background-size:cover;background-position:center}
.tcg-card-body{text-align:center;padding:16px 15px 20px}
.tcg-card-icon{width:38px;height:38px;border-radius:50%;margin:-35px auto 10px;background:var(--tcg-green);border:3px solid #fff;color:#fff;display:grid;place-items:center;position:relative}
.tcg-card:nth-child(2) .tcg-card-icon{background:var(--tcg-gold)}
.tcg-card h3{font-family:var(--tcg-heading-font,Georgia,serif);color:var(--tcg-green);margin:5px 0;font-size:23px}
.tcg-card .eyebrow{font-size:13px;color:#7c6b46;font-weight:700}
.tcg-card p{font-size:15px;color:var(--tcg-muted);margin:8px 0 0}

.tcg-sector{padding:68px 0;background:linear-gradient(180deg,#063523,#0b3a2a);color:#fff;position:relative;overflow:hidden}
.tcg-sector:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.06),transparent 45%);pointer-events:none}
.tcg-section-heading{text-align:center;position:relative}
.tcg-section-heading .ornament{color:var(--tcg-gold);font-size:20px;margin-bottom:3px}
.tcg-section-heading h2{font-family:var(--tcg-heading-font,Georgia,serif);font-size:var(--tcg-section-title-size);line-height:1.1;margin:0 0 4px;color:#d8bd78}
.tcg-section-heading p{margin:0 0 25px;color:#fff;font-size:16px}
.tcg-sector-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;position:relative}
.tcg-sector-card{min-height:390px;border:1px solid rgba(211,184,112,.8);background-size:cover;background-position:center;position:relative;overflow:hidden;display:flex;align-items:flex-end}
.tcg-sector-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,20,12,.05),rgba(0,22,14,.9))}
.tcg-sector-content{position:relative;padding:25px;color:#fff}
.tcg-sector-icon{width:48px;height:48px;border-radius:50%;background:#fff;color:var(--tcg-green);display:grid;place-items:center;margin-bottom:12px}
.tcg-sector-card h3{font-family:var(--tcg-heading-font,Georgia,serif);font-size:28px;line-height:1.08;margin:0 0 8px}
.tcg-sector-card p{font-size:15px;margin:0 0 15px;color:rgba(255,255,255,.9)}
.tcg-sector-card .tcg-btn{min-height:42px;padding:7px 14px}

.tcg-projects{padding:62px 0;background:#fff}
.tcg-project-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}
.tcg-project-head h2{font-family:var(--tcg-heading-font,Georgia,serif);font-size:var(--tcg-section-title-size);line-height:1.1;margin:0}
.tcg-project-head a{font-size:13px;font-weight:800;text-transform:uppercase}
.tcg-project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.tcg-project{border:1px solid #e2e3dd;background:#fff;overflow:hidden}
.tcg-project-image{aspect-ratio:1.35/1;background-size:cover;background-position:center}
.tcg-project-body{padding:15px}
.tcg-tag{display:inline-block;background:var(--tcg-green);color:#fff;font-size:10px;padding:3px 7px;text-transform:uppercase;font-weight:800}
.tcg-project h3{font-family:var(--tcg-heading-font,Georgia,serif);font-size:22px;margin:10px 0 5px}
.tcg-project-meta{font-size:13px;color:#6f756f}

.tcg-timeline{padding:56px 0;background:#f5f4ee}
.tcg-timeline h2{font-family:var(--tcg-heading-font,Georgia,serif);font-size:var(--tcg-section-title-size);margin:0 0 25px}
.tcg-timeline-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.tcg-timeline-item{border-top:1px solid var(--tcg-gold);padding-top:12px}
.tcg-timeline-item strong{font-family:Georgia,serif;color:var(--tcg-green);font-size:20px}
.tcg-timeline-item p{font-size:14px;color:#6c736e;margin:7px 0}

.tcg-news{padding:55px 0;background:#fff}
.tcg-news-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:20px}
.tcg-news-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tcg-news-card{border:1px solid #e4e5df;background:#fff}
.tcg-news-image{aspect-ratio:1.4/1;background-size:cover;background-position:center}
.tcg-news-body{padding:12px}
.tcg-news-date{font-size:11px;color:#777}
.tcg-news-card h3{font-family:var(--tcg-heading-font,Georgia,serif);font-size:17px;line-height:1.35;margin:5px 0}
.tcg-contact-card{background:var(--tcg-green);color:#fff;padding:26px}
.tcg-contact-card h3{font-family:var(--tcg-heading-font,Georgia,serif);color:#d6bb76;margin:0 0 10px;font-size:24px}
.tcg-contact-card p{font-size:15px;color:rgba(255,255,255,.88)}
.tcg-contact-row{display:flex;gap:10px;align-items:flex-start;font-size:15px;margin:10px 0}

.tcg-footer{background:#062b20;color:#fff;padding:35px 0 20px}
.tcg-footer-grid{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:24px}
.tcg-footer h4{font-size:14px;text-transform:uppercase;color:#d5ba75;margin:0 0 10px}
.tcg-footer p,.tcg-footer li,.tcg-footer a{font-size:14px;color:rgba(255,255,255,.78)}
.tcg-footer ul{list-style:none;margin:0;padding:0}
.tcg-footer li{margin:5px 0}
.tcg-copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:22px;padding-top:14px;text-align:center;font-size:12px;color:rgba(255,255,255,.55)}

@media (max-width: 900px){
  .container{width:min(calc(100% - 28px),var(--tcg-container))}
  .tcg-header-inner{min-height:58px}
  .tcg-nav{display:none;position:fixed;top:70px;left:14px;right:14px;background:rgba(5,34,25,.97);padding:10px 18px;border:1px solid rgba(255,255,255,.15)}
  .tcg-nav.open{display:block}
  .tcg-nav ul{display:block}
  .tcg-nav a{font-size:18px;padding:12px 0}
  .tcg-menu-toggle{display:block}
  .tcg-hero{min-height:700px}
  .tcg-hero-content{padding-top:115px}
  .tcg-hero h1{font-size:48px}
  .tcg-stats-grid{grid-template-columns:repeat(2,1fr)}
  .tcg-stat{border-bottom:1px solid var(--tcg-border)}
  .tcg-philo-grid{grid-template-columns:1fr}
  .tcg-philo-cards{grid-template-columns:1fr 1fr 1fr}
  .tcg-sector-grid{grid-template-columns:1fr}
  .tcg-sector-card{min-height:330px}
  .tcg-project-grid{grid-template-columns:repeat(2,1fr)}
  .tcg-timeline-grid{grid-template-columns:repeat(2,1fr)}
  .tcg-news-grid{grid-template-columns:1fr}
  .tcg-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 620px){
  :root{--tcg-body-size:17px;--tcg-menu-size:18px}
  .container{width:calc(100% - 24px)}
  .tcg-header{padding-top:8px}
  .tcg-logo img{max-height:46px}
  .tcg-logo-text{font-size:18px}
  .tcg-hero{min-height:650px}
  .tcg-hero-content{padding-top:105px}
  .tcg-hero h1{font-size:42px}
  .tcg-hero-sub{font-size:19px}
  .tcg-buttons{display:grid;grid-template-columns:1fr;position:relative;top:-48px;margin-bottom:-48px}
  .tcg-btn{width:100%}
  .tcg-stats-grid{grid-template-columns:1fr 1fr}
  .tcg-stat{justify-content:flex-start;padding:13px 8px}
  .tcg-stat strong{font-size:25px}
  .tcg-stat small{font-size:9px}
  .tcg-philosophy{padding:50px 0}
  .tcg-philo-cards{grid-template-columns:1fr}
  .tcg-card-img{aspect-ratio:1.35/1}
  .tcg-section-heading h2,.tcg-project-head h2,.tcg-timeline h2{font-size:30px}
  .tcg-project-head{align-items:flex-start;gap:10px}
  .tcg-project-grid{grid-template-columns:1fr}
  .tcg-news-list{grid-template-columns:1fr}
  .tcg-footer-grid{grid-template-columns:1fr}
}
