/*
Theme Name: An Gia App Identity
Theme URI: https://angia.io.vn/
Author: An Gia
Description: Theme WordPress đồng bộ nhận diện ứng dụng An Gia, tối ưu responsive, SEO và hiệu năng.
Version: 5.20.0
Text Domain: angia
*/
:root{--green:#0d4d3e;--green2:#155d4b;--deep:#083f34;--gold:#c79b4b;--gold2:#e7bd66;--ivory:#fffaf1;--paper:#fffdf8;--cream:#f7ecd7;--sage:#dfeae3;--ink:#173a32;--muted:#727a74;--line:#e8dbc4;--shadow:0 16px 42px rgba(48,43,29,.07);--r:26px;--wrap:1360px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font-family:"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;font-size:16px;line-height:1.65;font-weight:400;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}.wrap{width:min(var(--wrap),calc(100% - 64px));margin-inline:auto}
.site-header{height:84px;background:rgba(255,250,241,.96);border-bottom:1px solid rgba(199,155,75,.14);position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}.nav{height:84px;display:flex;align-items:center;gap:38px}.brand img{width:126px;max-height:50px;object-fit:contain}.main-nav{margin-left:auto}.main-nav ul{display:flex;list-style:none;gap:32px;margin:0;padding:0;align-items:center}.main-nav a{font-size:14px;font-weight:500}.main-nav a:hover{color:var(--gold)}.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;min-height:48px;padding:0 25px;font-size:14px;font-weight:600;transition:.2s}.nav-cta{background:var(--green);color:#fff}.menu-toggle{display:none;border:0;background:none;font-size:24px;color:var(--green)}
.hero{background:linear-gradient(115deg,#073f34 0%,#0b5745 58%,#2b765a 100%);min-height:650px;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;inset:auto -8% -55% auto;width:700px;height:700px;border-radius:50%;background:radial-gradient(circle,rgba(231,189,102,.11),transparent 67%)}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;min-height:650px;gap:88px}.hero-copy{color:#fff;position:relative;z-index:2}.eyebrow{font-size:12px;letter-spacing:.2em;font-weight:600;color:#e7c578;margin-bottom:17px}.hero h1,.section h2,.app-values h2,.download h2{margin:0;letter-spacing:-.035em;font-weight:500}.hero h1{font-size:clamp(48px,4.25vw,72px);line-height:1.07;max-width:700px}.hero h1 span{color:#f2c45d}.hero-copy>p{max-width:680px;color:rgba(255,255,255,.82);font-size:18px;margin:24px 0 30px}.actions{display:flex;gap:12px}.btn.gold{background:#e6b84f;color:#153d34}.btn.outline{border:1px solid rgba(255,255,255,.35);color:#fff}.hero-points{display:flex;gap:24px;font-size:13px;color:rgba(255,255,255,.7);margin-top:24px}.phone-stage{height:570px;position:relative;display:grid;place-items:center}.sun-glow{position:absolute;width:455px;height:455px;border-radius:50%;background:radial-gradient(circle,#f4d9961f 0 35%,transparent 36% 47%,#f4d99612 48% 49%,transparent 50%)}.phone{height:515px;width:276px;border:8px solid #17372f;border-radius:42px;overflow:hidden;box-shadow:0 30px 65px rgba(0,0,0,.28);transform:rotate(5deg);background:#fff;z-index:2}.phone img{width:100%;height:100%;object-fit:cover;object-position:top}.hero-symbol{position:absolute;width:138px;right:6%;bottom:8%;filter:drop-shadow(0 14px 24px rgba(0,0,0,.18));z-index:3}
.quick{margin-top:-38px;position:relative;z-index:5}.quick-grid{background:#fff;border:1px solid #f0e7d8;box-shadow:var(--shadow);border-radius:18px;display:grid;grid-template-columns:repeat(5,1fr);overflow:hidden}.quick-item{min-height:98px;display:flex;gap:13px;align-items:center;justify-content:center;border-right:1px solid #eee5d8;font-size:14px;font-weight:500}.quick-item:last-child{border:0}.quick-item span{width:42px;height:42px;border-radius:50%;background:#faf2df;display:grid;place-items:center;overflow:hidden}.quick-item img{width:100%;height:100%;object-fit:cover}
.section{padding:92px 0}.section-head{display:grid;grid-template-columns:1.05fr .95fr;gap:80px;align-items:end;margin-bottom:44px}.section-head h2{font-size:clamp(38px,3.2vw,52px);line-height:1.12}.section-head>p{color:var(--muted);margin:0 0 5px;max-width:570px;font-size:16px}.warm{color:#aa7a33}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tool-card{background:#fff;border:1px solid #eee3d2;border-radius:22px;overflow:hidden;box-shadow:0 10px 28px rgba(50,40,20,.045)}.tool-art{height:245px;background:#f7efdf;overflow:hidden}.tool-art img{width:100%;height:100%;object-fit:cover}.tool-body{padding:24px 24px 26px;position:relative;min-height:150px}.tool-body h3{font-size:21px;margin:0 0 8px;font-weight:600}.tool-body p{font-size:15px;color:var(--muted);margin:0;padding-right:34px}.arrow{position:absolute;right:22px;top:24px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f7e8c7;color:#9d762f}
.app-values{background:linear-gradient(120deg,#083f34,#0c5746);padding:86px 0;color:#fff}.values-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:84px;align-items:center}.app-values h2{font-size:48px;line-height:1.13}.goldtext{color:#e4b85f}.value-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.value-list>div{border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:20px;display:flex;gap:16px;background:rgba(255,255,255,.035)}.value-list b{font-weight:500;color:#e6bd6b}.value-list strong{display:block;font-weight:600;font-size:16px}.value-list small{display:block;color:rgba(255,255,255,.68);font-size:13px;line-height:1.5;margin-top:4px}
.app-showcase{background:#fffdf8}.screens{display:flex;justify-content:center;gap:46px;align-items:flex-start}.screens figure{margin:0;text-align:center}.screens img{height:570px;width:auto;border-radius:30px;box-shadow:0 18px 45px rgba(29,39,34,.12);border:6px solid #fff}.screens figure:nth-child(2) img{height:610px}.screens figcaption{font-size:14px;margin-top:14px;color:#66746d}.text-link{font-size:14px;font-weight:600;border-bottom:1px solid var(--gold);justify-self:end;align-self:end}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.article-card{background:#fff;border:1px solid #eee3d3;border-radius:20px;overflow:hidden;min-width:0;box-shadow:0 10px 28px rgba(50,40,20,.035)}
.article-img{height:220px;background:#f6eddc;overflow:hidden}
.article-img img{width:100%;height:100%;object-fit:cover;object-position:center}
.article-body{padding:22px 22px 24px}
.article-body small{color:#ad813c;font-size:12px}.article-body h3{font-size:22px;line-height:1.3;font-weight:600;margin:8px 0}.article-body p{color:var(--muted);font-size:15px;margin:0 0 14px}.article-body b{font-size:13px;color:#9e762f;font-weight:600}
.article-grid.article-count-1{grid-template-columns:minmax(0,560px)}
.article-grid.article-count-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px}

.download{padding:8px 0 96px}.download-box{background:linear-gradient(105deg,#f4e5c7 0%,#fff9ed 52%,#e6eee7 100%);border:1px solid #ead7b6;border-radius:28px;min-height:300px;padding:48px 60px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.download h2{font-size:42px;max-width:680px}.download p{color:var(--muted);max-width:680px;font-size:16px}.download-brand img{width:215px;filter:drop-shadow(0 18px 28px rgba(69,57,29,.12))}
.site-footer{background:#f3ead8;border-top:1px solid #e6d9c3;padding:62px 0 26px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:60px}.footer-logo{width:138px;margin-bottom:18px}.footer-grid p{font-size:14px;color:#6e746f;max-width:360px}.footer-grid strong{font-size:14px;font-weight:600;display:block;margin-bottom:12px}.footer-grid a{display:block;font-size:13px;color:#6e746f;margin:7px 0}.copyright{border-top:1px solid #dfd2bc;margin-top:40px;padding-top:20px;color:#8a8c87;font-size:12px}.content-narrow{max-width:880px}.content-narrow>h1{font-size:50px;line-height:1.12;font-weight:500}.single-meta{color:var(--muted)}.single-cover{margin:35px 0;border-radius:24px;overflow:hidden}.prose{font-size:18px;line-height:1.85}.prose h2,.prose h3{font-weight:600;line-height:1.3;color:var(--green)}
/* 2.2.0 final desktop/responsive polish */
.articles{padding-top:84px;padding-bottom:84px}
.articles .section-head{margin-bottom:32px}
.tool-card,.article-card,.download-box,.quick-grid{transition:transform .2s ease,box-shadow .2s ease}
@media(hover:hover){.tool-card:hover,.article-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(50,40,20,.075)}}
@media(min-width:1600px){:root{--wrap:1440px}.hero{min-height:680px}.hero-grid{min-height:680px}.section{padding:100px 0}.tool-art{height:260px}.screens img{height:600px}.screens figure:nth-child(2) img{height:640px}}
@media(max-width:1100px){.wrap{width:min(100% - 48px,1180px)}.hero-grid{gap:48px}.tool-art{height:220px}.screens{gap:26px}.screens img{height:500px}.screens figure:nth-child(2) img{height:535px}}
@media(max-width:900px){.wrap{width:min(100% - 32px,1180px)}.main-nav,.nav-cta{display:none}.menu-toggle{display:block;margin-left:auto}.main-nav.open{display:block;position:absolute;top:82px;left:0;right:0;background:var(--ivory);padding:20px}.main-nav.open ul{display:block}.main-nav.open li{padding:10px}.hero-grid{grid-template-columns:1fr;gap:0;padding-top:65px}.hero-copy{text-align:center}.hero-copy>p{margin-left:auto;margin-right:auto}.actions,.hero-points{justify-content:center}.phone-stage{height:480px}.phone{height:440px;width:236px}.quick{margin-top:0;padding:18px 0}.quick-grid{grid-template-columns:repeat(5,1fr)}.quick-item{flex-direction:column;gap:5px;font-size:11px}.section{padding:72px 0}.section-head,.values-grid{grid-template-columns:1fr;gap:22px}.tool-grid{grid-template-columns:1fr 1fr}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-grid.article-count-1{grid-template-columns:minmax(0,560px)}.screens{overflow-x:auto;justify-content:flex-start;padding-bottom:20px}.screens img,.screens figure:nth-child(2) img{height:440px}.footer-grid{grid-template-columns:1fr 1fr}.download-brand{display:none}.text-link{justify-self:start}}
@media(max-width:600px){body{font-size:15px}.site-header,.nav{height:72px}.brand img{width:104px}.hero{min-height:auto}.hero-grid{min-height:auto;padding-top:48px}.hero h1{font-size:39px}.hero-copy>p{font-size:15px}.hero-points{flex-wrap:wrap;gap:8px 14px}.phone-stage{height:420px}.phone{height:390px;width:208px}.hero-symbol{width:90px}.quick-grid{grid-template-columns:repeat(3,1fr);border-radius:14px}.quick-item{padding:10px 4px;min-height:78px;border-bottom:1px solid #eee5d8}.quick-item:nth-child(3){border-right:0}.quick-item:nth-child(4),.quick-item:nth-child(5){border-bottom:0}.quick-item span{width:32px;height:32px}.section-head h2,.app-values h2{font-size:32px}.tool-grid,.article-grid,.value-list,.article-grid.article-count-1,.article-grid.article-count-2{grid-template-columns:1fr}.tool-art{height:210px}.tool-body{min-height:0}.screens img,.screens figure:nth-child(2) img{height:390px}.download-box{padding:32px 26px;min-height:0}.download h2{font-size:30px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px 20px}.footer-grid>div:first-child{grid-column:1/-1}.content-narrow>h1{font-size:36px}.prose{font-size:17px}}
@media(max-width:390px){.wrap{width:calc(100% - 24px)}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-item:nth-child(3){border-right:1px solid #eee5d8}.quick-item:nth-child(even){border-right:0}.quick-item:nth-child(4){border-bottom:1px solid #eee5d8}.quick-item:last-child{grid-column:1/-1}.actions{flex-direction:column;align-items:stretch}.actions .btn{width:100%}}

/* ===== An Gia 5.7.0 — approved hero artwork integration ===== */
.home .site-header{position:absolute;top:0;left:0;right:0;background:transparent;border-bottom:0;backdrop-filter:none;z-index:60}
.home .site-header .nav{height:92px}
.home .site-header .brand img{width:148px;max-height:58px;filter:drop-shadow(0 1px 2px rgba(255,255,255,.3))}
.home .site-header .main-nav a{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.home .site-header .nav-cta{background:#e6b84f;color:#153d34}
.hero-v57{min-height:720px;background-image:url('assets/img/hero-angia-v514.webp');background-position:center center;background-repeat:no-repeat;background-size:cover;overflow:hidden;position:relative}
.hero-v57:after{display:none}
.hero-v57 .hero-grid{display:block;min-height:720px;padding-top:165px}
.hero-v57 .hero-copy{width:min(650px,48%);text-align:left}
.hero-v57 .hero-copy>p{max-width:620px}
.hero-v57 .actions,.hero-v57 .hero-points{justify-content:flex-start}
.hero-v57 .phone-stage{display:none}
.section-head:has(>div:only-child){grid-template-columns:1fr}
.section-head h2,.app-values h2{font-size:35px;font-weight:600}
.footer-download{display:inline-flex;margin-top:18px;min-height:42px;padding:0 18px;align-items:center;border-radius:999px;background:var(--green);color:#fff;font-size:13px;font-weight:600}
@media(max-width:900px){
  .home .site-header .main-nav a{color:var(--green);text-shadow:none}
  .hero-v57{min-height:680px;background-position:62% center}
  .hero-v57 .hero-grid{min-height:680px;padding-top:150px}
  .hero-v57 .hero-copy{width:min(600px,72%);text-align:left}
  .hero-v57 .actions,.hero-v57 .hero-points{justify-content:flex-start}
}
@media(max-width:600px){
  .home .site-header .nav{height:76px}
  .home .site-header .brand img{width:122px}
  .hero-v57{min-height:620px;background-position:46% center}
  .hero-v57:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,65,52,.93) 0%,rgba(4,65,52,.76) 58%,rgba(4,65,52,.12) 100%)}
  .hero-v57 .hero-grid{position:relative;z-index:1;min-height:620px;padding-top:120px}
  .hero-v57 .hero-copy{width:100%;max-width:390px}
  .hero-v57 .hero-copy>p{max-width:360px}
  .hero-v57 .hero-points{max-width:360px}
}


/* ===== An Gia 5.9.0 — header + hero typography lock ===== */
@media(min-width:901px){
  .home .site-header:before{content:"";position:absolute;inset:0 0 auto;height:92px;background:linear-gradient(180deg,rgba(3,54,44,.24) 0%,rgba(3,54,44,.08) 55%,rgba(3,54,44,0) 100%);pointer-events:none}
  .home .site-header .nav{position:relative;z-index:1}
  .home .site-header .brand img{width:158px;max-height:62px;filter:drop-shadow(0 2px 7px rgba(0,0,0,.24))}
  .home .site-header .main-nav a{font-weight:600;text-shadow:0 1px 7px rgba(0,0,0,.45)}
  .hero-v57 h1{font-size:45px;line-height:1.08;font-weight:600;letter-spacing:-.03em;max-width:620px}
}
@media(min-width:601px) and (max-width:900px){
  .hero-v57 h1{font-size:42px;line-height:1.08;font-weight:600}
}
@media(max-width:600px){
  .hero-v57 h1{font-size:35px;line-height:1.08;font-weight:600}
}

/* ===== An Gia 5.9.0 — header visibility / safe hero offset ===== */
@media (min-width: 901px){
  .home .site-header{height:76px;transition:background .22s ease,box-shadow .22s ease,backdrop-filter .22s ease}
  .home .site-header .nav{height:76px}
  .home .site-header:before{height:76px;background:linear-gradient(180deg,rgba(3,48,39,.42) 0%,rgba(3,48,39,.16) 62%,rgba(3,48,39,0) 100%)}
  .home .site-header .brand img{width:148px;max-height:52px;object-fit:contain;content:url('assets/img/logo-text-angia-light.png');filter:drop-shadow(0 2px 7px rgba(0,0,0,.22))}
  .home .site-header .main-nav a{color:#fffdf5;font-weight:600;text-shadow:0 1px 7px rgba(0,0,0,.55)}
  .home .site-header.is-scrolled{position:fixed;background:rgba(255,250,241,.94);box-shadow:0 8px 26px rgba(19,65,52,.10);backdrop-filter:blur(14px)}
  .home .site-header.is-scrolled:before{display:none}
  .home .site-header.is-scrolled .brand img{content:url('assets/img/logo-text-angia.png');filter:none}
  .home .site-header.is-scrolled .main-nav a{color:var(--green);text-shadow:none}
  .home .site-header.is-scrolled .nav-cta{background:var(--green);color:#fff}
  .hero-v57 .hero-grid{padding-top:132px}
}


/* ===== An Gia 5.10.0 — desktop header clarity lock ===== */
@media (min-width:901px){
  .home .site-header{height:84px;background:transparent;border:0;box-shadow:none;backdrop-filter:none}
  .home .site-header:before{height:84px;background:linear-gradient(180deg,rgba(4,55,44,.28) 0%,rgba(4,55,44,.10) 58%,rgba(4,55,44,0) 100%)}
  .home .site-header .nav{height:84px;overflow:visible}
  .home .site-header .brand{height:84px;display:flex;align-items:center;flex:0 0 190px;overflow:visible}
  .home .site-header .brand img{width:180px;max-width:none;max-height:70px;height:auto;object-fit:contain;content:url('assets/img/logo-text-angia-light.png');filter:drop-shadow(0 2px 8px rgba(0,0,0,.30))}
  .home .site-header .main-nav{margin-left:auto;padding:8px 14px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(4,55,44,.30);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 5px 18px rgba(0,0,0,.08)}
  .home .site-header .main-nav ul{gap:26px}
  .home .site-header .main-nav a{color:#fffdf5;font-size:14px;font-weight:600;text-shadow:0 1px 4px rgba(0,0,0,.55)}
  .home .site-header .main-nav a:hover{color:#f2c45d}
  .home .site-header .nav-cta{margin-left:10px;min-height:42px;padding:0 22px;background:#e6b84f;color:#123d33;box-shadow:0 5px 16px rgba(0,0,0,.10)}
  .home .site-header.is-scrolled{height:76px;background:rgba(255,250,241,.95);box-shadow:0 8px 26px rgba(19,65,52,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .home .site-header.is-scrolled .nav{height:76px}
  .home .site-header.is-scrolled .brand{height:76px}
  .home .site-header.is-scrolled .brand img{width:164px;max-height:62px;content:url('assets/img/logo-text-angia.png');filter:none}
  .home .site-header.is-scrolled .main-nav{background:rgba(255,250,241,.82);border-color:rgba(13,77,62,.10);box-shadow:none}
  .home .site-header.is-scrolled .main-nav a{color:var(--green);text-shadow:none}
  .home .site-header.is-scrolled .nav-cta{background:var(--green);color:#fff}
  .hero-v57 .hero-grid{padding-top:140px}
}

/* ===== An Gia 5.11.0 — header/mobile navigation lock ===== */
@media (min-width:901px){
  .home .site-header .brand img{width:180px;max-width:none;max-height:140px;height:auto;object-fit:contain;content:url('assets/img/logo-text-angia-light.png')}
  .home .site-header.is-scrolled .brand img{width:180px;max-height:140px;content:url('assets/img/logo-text-angia.png');filter:none}
}
@media (max-width:900px){
  .home .site-header{position:absolute;top:0;left:0;right:0;height:76px;background:transparent;border:0;box-shadow:none;z-index:80;transition:background .2s ease,box-shadow .2s ease,backdrop-filter .2s ease}
  .home .site-header .nav{height:76px;position:relative;overflow:visible}
  .home .site-header .brand{height:76px;display:flex;align-items:center;position:relative;z-index:82}
  .home .site-header .brand img{width:132px;max-width:none;max-height:58px;height:auto;content:url('assets/img/logo-text-angia-light.png');filter:drop-shadow(0 2px 7px rgba(0,0,0,.24))}
  .home .site-header .menu-toggle{display:flex;width:44px;height:44px;padding:0;align-items:center;justify-content:center;margin-left:auto;border-radius:12px;color:#fffdf5;background:rgba(4,55,44,.28);border:1px solid rgba(255,255,255,.18);font-size:0;position:relative;z-index:82;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
  .home .site-header .menu-toggle:before,.home .site-header .menu-toggle:after{content:"";position:absolute;width:21px;height:2px;border-radius:2px;background:currentColor;transition:.2s ease}
  .home .site-header .menu-toggle:before{transform:translateY(-5px);box-shadow:0 5px 0 currentColor,0 10px 0 currentColor}
  .home .site-header .menu-toggle:after{opacity:0}
  .home .site-header.menu-open .menu-toggle:before{transform:rotate(45deg);box-shadow:none}
  .home .site-header.menu-open .menu-toggle:after{opacity:1;transform:rotate(-45deg)}
  .home .site-header .main-nav.open{display:block;position:absolute;top:68px;left:16px;right:16px;padding:12px;background:rgba(255,250,241,.98);border:1px solid rgba(13,77,62,.10);border-radius:18px;box-shadow:0 18px 46px rgba(13,50,41,.18);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:81}
  .home .site-header .main-nav.open ul{display:flex;flex-direction:column;gap:2px}
  .home .site-header .main-nav.open li{padding:0}
  .home .site-header .main-nav.open a{display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:12px;color:var(--green);font-size:15px;font-weight:600;text-shadow:none}
  .home .site-header .main-nav.open a:hover{background:#f5ead4;color:var(--green)}
  .home .site-header.is-scrolled{position:fixed;height:68px;background:rgba(255,250,241,.95);box-shadow:0 7px 24px rgba(19,65,52,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .home .site-header.is-scrolled .nav,.home .site-header.is-scrolled .brand{height:68px}
  .home .site-header.is-scrolled .brand img{width:126px;max-height:52px;content:url('assets/img/logo-text-angia.png');filter:none}
  .home .site-header.is-scrolled .menu-toggle{color:var(--green);background:rgba(255,250,241,.72);border-color:rgba(13,77,62,.14)}
}
@media (max-width:600px){
  .hero-v57 h1{font-size:28px;line-height:1.12;font-weight:600;letter-spacing:-.025em}
  .hero-v57 .hero-grid{padding-top:112px}
  body.home{padding-bottom:68px}
  .mobile-app-bar{position:fixed;left:0;right:0;bottom:0;z-index:100;display:flex;padding:8px 14px calc(8px + env(safe-area-inset-bottom));background:rgba(255,250,241,.96);border-top:1px solid rgba(13,77,62,.12);box-shadow:0 -8px 28px rgba(19,65,52,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .mobile-app-bar a{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--green);color:#fff;font-size:14px;font-weight:700}
}
@media (min-width:601px){.mobile-app-bar{display:none}}

/* ===== An Gia 5.12.0 — real app hero mockup + unified quick icons ===== */
@media (min-width:901px){
  .hero-v57:after{content:"";display:block;position:absolute;z-index:1;right:0;top:0;width:min(41vw,790px);height:100%;background:url('assets/img/hero-iphone-real-v512.webp') right center/cover no-repeat;pointer-events:none}
  .hero-v57 .hero-grid{position:relative;z-index:2}
  .quick-item span{width:50px;height:50px;background:#fbf1dc;padding:4px}
  .quick-item img{width:100%;height:100%;object-fit:contain;border-radius:50%}
}
@media (max-width:900px){
  .quick-item span{width:44px;height:44px;background:#fbf1dc;padding:3px}
  .quick-item img{object-fit:contain;border-radius:50%}
  .home .site-header .main-nav.open{position:fixed;top:0;right:0;left:auto;width:min(86vw,360px);height:100dvh;padding:92px 20px 24px;border:0;border-radius:0;background:rgba(255,250,241,.985);box-shadow:-20px 0 50px rgba(10,48,39,.22);transform:translateX(0);animation:angiaDrawerIn .28s cubic-bezier(.22,.8,.24,1);z-index:81}
  .home .site-header .main-nav.open ul{gap:4px}
  .home .site-header .main-nav.open a{min-height:54px;padding:0 18px;border-bottom:1px solid rgba(13,77,62,.08);border-radius:10px;justify-content:flex-start;font-size:16px}
  .home .site-header.menu-open:after{content:"";position:fixed;inset:0;background:rgba(3,42,34,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:80}
  .home .site-header.menu-open .menu-toggle{position:fixed;right:18px;top:16px;color:var(--green);background:#f6ecd8;border-color:rgba(13,77,62,.12);z-index:83}
  .home .site-header.menu-open ~ .mobile-app-bar{opacity:0;pointer-events:none}
}
@keyframes angiaDrawerIn{from{transform:translateX(100%)}to{transform:translateX(0)}}

/* ===== An Gia 5.13.0 — hero cleanup + polished mobile navigation ===== */
/* The approved hero already contains the phone artwork. Never stack a second mockup. */
.hero-v57:after{content:none!important;display:none!important;background:none!important}

@media (max-width:900px){
  .home .site-header.menu-open .brand img{
    content:url('assets/img/logo-text-angia.png');
    filter:none;
  }
  .home .site-header.menu-open:after{
    content:none;
    display:none;
  }
  .home .site-header .main-nav.open{
    position:fixed;
    inset:0;
    width:100%;
    height:100dvh;
    margin:0;
    padding:104px 24px calc(92px + env(safe-area-inset-bottom));
    overflow-y:auto;
    border:0;
    border-radius:0;
    background:
      radial-gradient(circle at 92% 4%,rgba(231,184,79,.13),transparent 24%),
      linear-gradient(180deg,#fffaf1 0%,#fbf5e9 100%);
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    z-index:81;
    animation:angiaMenuOpen .30s cubic-bezier(.22,.8,.24,1) both;
  }
  .home .site-header .main-nav.open ul{
    width:min(100%,420px);
    margin:10px auto 0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:8px;
    counter-reset:angiaNav;
  }
  .home .site-header .main-nav.open li{
    padding:0;
    counter-increment:angiaNav;
  }
  .home .site-header .main-nav.open a{
    min-height:58px;
    padding:0 16px;
    display:grid;
    grid-template-columns:34px 1fr 24px;
    align-items:center;
    border:1px solid rgba(13,77,62,.08);
    border-radius:16px;
    background:rgba(255,255,255,.55);
    box-shadow:0 5px 18px rgba(27,67,54,.035);
    color:var(--green);
    font-size:16px;
    font-weight:600;
    line-height:1.2;
    text-align:left;
  }
  .home .site-header .main-nav.open a:before{
    content:"0" counter(angiaNav);
    color:#b7862e;
    font-size:11px;
    font-weight:700;
    letter-spacing:.06em;
  }
  .home .site-header .main-nav.open a:after{
    content:"→";
    justify-self:end;
    color:#b7862e;
    font-size:16px;
    transition:transform .18s ease;
  }
  .home .site-header .main-nav.open a:hover,
  .home .site-header .main-nav.open a:focus-visible{
    background:#f6ead2;
    border-color:rgba(183,134,46,.20);
  }
  .home .site-header .main-nav.open a:hover:after{transform:translateX(3px)}
  .home .site-header.menu-open .menu-toggle{
    position:fixed;
    right:20px;
    top:16px;
    width:46px;
    height:46px;
    border-radius:14px;
    color:var(--green);
    background:#f7ecd6;
    border:1px solid rgba(13,77,62,.12);
    box-shadow:0 6px 20px rgba(20,61,49,.08);
    z-index:83;
  }
}
@keyframes angiaMenuOpen{
  from{opacity:0;transform:translateX(22px)}
  to{opacity:1;transform:translateX(0)}
}


/* ===== An Gia 5.14.0 — single real-app hero + refined mobile navigation ===== */
.hero-v57{background-image:url('assets/img/hero-angia-v514.webp')}
.hero-v57:after{content:none!important;display:none!important}

@media (max-width:900px){
  .home .site-header .main-nav.open{
    inset:0;
    width:100%;
    height:100dvh;
    padding:104px 28px calc(96px + env(safe-area-inset-bottom));
    background:rgba(255,250,241,.985);
    overflow-y:auto;
    animation:angiaMenuFade .24s cubic-bezier(.2,.7,.2,1) both;
  }
  .home .site-header .main-nav.open ul{
    width:100%;
    max-width:none;
    margin:18px 0 0;
    gap:0;
    counter-reset:none;
  }
  .home .site-header .main-nav.open li{
    border-bottom:1px solid rgba(13,77,62,.10);
  }
  .home .site-header .main-nav.open li:last-child{border-bottom:0}
  .home .site-header .main-nav.open a{
    min-height:68px;
    padding:0 4px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    font-size:19px;
    font-weight:600;
    letter-spacing:-.01em;
  }
  .home .site-header .main-nav.open a:before{content:none}
  .home .site-header .main-nav.open a:after{
    content:'›';
    font-family:Arial,sans-serif;
    font-size:28px;
    line-height:1;
    font-weight:300;
    color:#b48635;
    transform:none;
  }
  .home .site-header .main-nav.open a:hover,
  .home .site-header .main-nav.open a:focus-visible{
    background:transparent;
    color:#a87827;
  }
  .home .site-header .main-nav.open a:hover:after{transform:translateX(2px)}
  .home .site-header.menu-open .menu-toggle{
    right:22px;top:18px;width:44px;height:44px;border-radius:50%;
    background:rgba(247,236,214,.86);box-shadow:none;
  }
}
@keyframes angiaMenuFade{
  from{opacity:0;transform:translateY(-8px)}
  to{opacity:1;transform:translateY(0)}
}

/* ===== An Gia 5.16.0 — normalized quick navigation assets ===== */
.quick-item{
  gap:14px;
  line-height:1.2;
}
.quick-item span{
  flex:0 0 50px;
  width:50px;
  height:50px;
  padding:4px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.quick-item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
@media (max-width:900px){
  .quick-grid{align-items:stretch}
  .quick-item{
    min-height:96px;
    padding:10px 6px 9px;
    gap:5px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    line-height:1.2;
  }
  .quick-item span{
    flex:0 0 42px;
    width:42px;
    height:42px;
    padding:3px;
    margin:0;
  }
}
@media (max-width:600px){
  .quick-grid{grid-template-columns:repeat(3,1fr)}
  .quick-item{min-height:88px;padding:9px 4px 8px;font-size:12px}
  .quick-item span{flex-basis:40px;width:40px;height:40px}
  .quick-item:nth-child(3){border-right:0}
  .quick-item:nth-child(4),.quick-item:nth-child(5){border-bottom:0}
}


/* ===== An Gia 5.17.0 — mobile quick menu 3 + centered 2 ===== */
@media (max-width:600px){
  .quick-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  .quick-item{
    grid-column:span 2;
  }
  .quick-item:nth-child(4){
    grid-column:2 / span 2;
    border-right:1px solid #eee5d8;
  }
  .quick-item:nth-child(5){
    grid-column:4 / span 2;
    border-right:0;
  }
}
@media (max-width:390px){
  .quick-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  .quick-item,
  .quick-item:nth-child(3),
  .quick-item:nth-child(even),
  .quick-item:last-child{
    grid-column:span 2;
  }
  .quick-item:nth-child(3){border-right:0}
  .quick-item:nth-child(4){
    grid-column:2 / span 2;
    border-right:1px solid #eee5d8;
    border-bottom:0;
  }
  .quick-item:nth-child(5),
  .quick-item:last-child{
    grid-column:4 / span 2;
    border-right:0;
    border-bottom:0;
  }
}

/* === An Gia V5.18.0 — Quick Menu geometric centering ===
   One contract on desktop/mobile: icon centered above label.
   Mobile keeps 3 + 2 with second row centered. */
.quick-item{
  min-height:112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
  line-height:1.2;
}
.quick-item span{
  flex:0 0 48px;
  width:48px;
  height:48px;
  margin:0 auto;
  display:grid;
  place-items:center;
}
.quick-item img{
  width:48px;
  height:48px;
  display:block;
  object-fit:contain;
  object-position:50% 50%;
}
.quick-item > :not(span){margin:0;text-align:center}
@media (max-width:900px){
  .quick-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
  .quick-item{grid-column:span 2;min-height:88px;gap:5px;}
  .quick-item:nth-child(4){grid-column:2 / span 2;}
  .quick-item:nth-child(5){grid-column:4 / span 2;}
  .quick-item span,.quick-item img{width:42px;height:42px;flex-basis:42px;}
}
@media (max-width:390px){
  .quick-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
  .quick-item{grid-column:span 2;}
  .quick-item:nth-child(4){grid-column:2 / span 2;}
  .quick-item:nth-child(5){grid-column:4 / span 2;}
}

/* === An Gia V5.19.0 — baked circular quick-menu artwork ===
   Circle geometry/transparency is inside the image asset itself.
   CSS only sets display size; no crop, object-position, padding or wrapper centering. */
.quick-item span{
  width:auto;
  height:auto;
  flex:0 0 auto;
  padding:0;
  margin:0;
  border-radius:0;
  background:transparent;
  overflow:visible;
  display:block;
}
.quick-item span img{
  width:52px;
  height:52px;
  display:block;
  max-width:none;
  object-fit:initial;
  border-radius:0;
}
@media (max-width:900px){
  .quick-item span{width:auto;height:auto;flex-basis:auto;padding:0;margin:0;}
  .quick-item span img{width:44px;height:44px;}
}

/* === An Gia V5.20.0 — final transparent PNG quick icons ===
   Each PNG is a centered 512x512 transparent asset. No CSS crop/reposition. */
.quick-item span img{
  width:52px;
  height:52px;
  object-fit:contain;
  object-position:center;
}
@media (max-width:900px){
  .quick-item span img{width:44px;height:44px;}
}
