/* =========================================================
   HIEPHOINGUOIVN CONTACT V1.1
   Fix duplicate Neoton title/breadcrumb + header overlap
   ========================================================= */
:root{
 --hnv-contact-navy:#071735;
 --hnv-contact-red:#b6202f;
 --hnv-contact-blue:#0798d2;
 --hnv-contact-text:#344054;
 --hnv-contact-muted:#667085;
 --hnv-contact-line:#e7eaf0;
 --hnv-contact-soft:#f7f5f1;
}

/* ---------------------------------------------------------
   REMOVE THE OLD NEOTON PAGE TITLE/BREADCRUMB.
   Scoped only to the Contact page.
   --------------------------------------------------------- */
body.hnv-contact-page .rs-breadcrumbs,
body.hnv-contact-page .breadcrumbs-inner,
body.hnv-contact-page .breadcrumb-area,
body.hnv-contact-page .page-title-area,
body.hnv-contact-page .back-breadcrumbs,
body.hnv-contact-page .reactheme-breadcrumbs,
body.hnv-contact-page .rts-breadcrumb-area,
body.hnv-contact-page .breadcrumb-section,
body.hnv-contact-page .page-title-section,
body.hnv-contact-page .inner-page-title,
body.hnv-contact-page .breadcrumb-wrap{
 display:none!important;
 height:0!important;
 min-height:0!important;
 max-height:0!important;
 padding:0!important;
 margin:0!important;
 border:0!important;
 overflow:hidden!important;
 visibility:hidden!important;
}

/* In some Neoton builds the wrapper is generic but contains the breadcrumb. */
body.hnv-contact-page .main-contain > .rs-breadcrumbs,
body.hnv-contact-page #content > .rs-breadcrumbs{
 display:none!important;
}

/* ---------------------------------------------------------
   REAL HEADER OVERLAP FIX.
   Same desktop header structure as the Single template.
   --------------------------------------------------------- */
body.hnv-contact-page main.hnv-contact-v1{
 background:#fff;
 color:var(--hnv-contact-text);
 position:relative!important;
 clear:both!important;
 z-index:1!important;
 margin-top:104px!important;
}

/* Narrow desktop: Neoton menu may wrap to two lines. */
@media (min-width:992px) and (max-width:1199px){
 body.hnv-contact-page main.hnv-contact-v1{
   margin-top:148px!important;
 }
}

/* Tablet/mobile header uses another layout. */
@media (max-width:991px){
 body.hnv-contact-page main.hnv-contact-v1{
   margin-top:0!important;
 }
}

.hnv-contact-shell{
 width:min(1180px,calc(100% - 40px));
 margin:0 auto;
}

.hnv-contact-hero{
 background:var(--hnv-contact-soft);
 padding:32px 0 30px;
 border-bottom:1px solid #ece8e1;
 position:relative;
 z-index:1;
}

.hnv-contact-hero .hnv-contact-shell{
 max-width:900px;
}

.hnv-contact-kicker{
 display:block;
 margin:0 0 8px;
 color:var(--hnv-contact-red);
 font-size:11px;
 line-height:1.4;
 font-weight:700;
 letter-spacing:.075em;
}

body.hnv-contact-page .hnv-contact-hero h1{
 display:block!important;
 position:static!important;
 float:none!important;
 clear:both!important;
 width:auto!important;
 height:auto!important;
 min-height:0!important;
 max-height:none!important;
 overflow:visible!important;
 margin:0!important;
 padding:0!important;
 color:var(--hnv-contact-navy)!important;
 font-size:38px!important;
 line-height:1.18!important;
 font-weight:700!important;
 letter-spacing:-.02em!important;
 text-transform:none!important;
 white-space:normal!important;
 clip:auto!important;
 clip-path:none!important;
 transform:none!important;
 opacity:1!important;
 visibility:visible!important;
}

.hnv-contact-hero p{
 max-width:680px;
 margin:11px 0 0;
 color:var(--hnv-contact-muted);
 font-size:15px;
 line-height:1.65;
}

.hnv-contact-section{
 padding:52px 0 64px;
}

.hnv-contact-grid{
 display:grid;
 grid-template-columns:minmax(280px,340px) minmax(0,1fr);
 gap:68px;
 align-items:start;
}

.hnv-contact-heading{
 display:flex;
 align-items:center;
 gap:15px;
 margin-bottom:25px;
}

.hnv-contact-heading h2{
 margin:0;
 color:var(--hnv-contact-navy);
 font-size:24px;
 line-height:1.3;
 font-weight:700;
}

.hnv-contact-heading span{
 width:62px;
 height:2px;
 background:var(--hnv-contact-red);
}

.hnv-info-card{
 display:flex;
 gap:15px;
 padding:17px 0;
 border-bottom:1px solid var(--hnv-contact-line);
}

.hnv-info-icon{
 width:42px;
 height:42px;
 flex:0 0 42px;
 display:flex;
 align-items:center;
 justify-content:center;
 border-radius:50%;
 color:#fff;
 background:var(--hnv-contact-navy);
}

.hnv-info-card h3{
 margin:1px 0 4px;
 color:var(--hnv-contact-navy);
 font-size:14px;
 line-height:1.35;
 font-weight:700;
}

.hnv-info-card p{
 margin:0;
 color:var(--hnv-contact-muted);
 font-size:14px;
 line-height:1.55;
}

.hnv-info-card a{
 color:var(--hnv-contact-text);
 word-break:break-word;
}

.hnv-info-note{
 margin-top:20px;
 padding:18px 18px;
 border-left:3px solid var(--hnv-contact-red);
 background:#fafafa;
}

.hnv-info-note strong{
 color:var(--hnv-contact-navy);
 font-size:14px;
}

.hnv-info-note p{
 margin:7px 0 0;
 color:var(--hnv-contact-muted);
 font-size:13px;
 line-height:1.65;
}

.hnv-contact-form{
 padding:26px;
 border:1px solid var(--hnv-contact-line);
 border-radius:7px;
 background:#fff;
 box-shadow:0 9px 30px rgba(16,24,40,.045);
}

.hnv-form-row{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:18px;
}

.hnv-field{margin-bottom:18px;}

.hnv-field label{
 display:block;
 margin-bottom:7px;
 color:var(--hnv-contact-navy);
 font-size:12.5px;
 line-height:1.4;
 font-weight:600;
}

.hnv-field label span{color:var(--hnv-contact-red);}

.hnv-field input,
.hnv-field textarea{
 width:100%;
 box-sizing:border-box;
 border:1px solid #e1e5ea;
 border-radius:4px;
 background:#f9fafb;
 color:var(--hnv-contact-text);
 font:inherit;
 font-size:14px;
 outline:none;
}

.hnv-field input{
 height:46px;
 padding:0 14px;
}

.hnv-field textarea{
 min-height:150px;
 padding:13px 14px;
 resize:vertical;
}

.hnv-field input:focus,
.hnv-field textarea:focus{
 background:#fff;
 border-color:#91cbe3;
 box-shadow:0 0 0 3px rgba(7,152,210,.08);
}

.hnv-submit{
 min-width:160px;
 height:44px;
 border:0;
 border-radius:3px;
 padding:0 22px;
 background:var(--hnv-contact-blue);
 color:#fff;
 font-size:13px;
 font-weight:700;
 cursor:pointer;
}

.hnv-form-note{
 margin:13px 0 0;
 color:#98a2b3;
 font-size:11.5px;
 line-height:1.55;
}

.hnv-form-alert{
 margin-bottom:18px;
 padding:12px 14px;
 border-radius:4px;
 font-size:13px;
 line-height:1.5;
}

.hnv-form-success{
 color:#1f6846;
 background:#eef9f3;
 border:1px solid #cfeada;
}

.hnv-form-error{
 color:#8a2635;
 background:#fff1f3;
 border:1px solid #f0cbd1;
}

.hnv-honeypot{
 position:absolute!important;
 left:-99999px!important;
 width:1px!important;
 height:1px!important;
 overflow:hidden!important;
}

@media(max-width:991px){
 .hnv-contact-grid{
   grid-template-columns:1fr;
   gap:42px;
 }
}

@media(max-width:767px){
 .hnv-contact-shell{
   width:min(100% - 26px,1180px);
 }
 .hnv-contact-hero{
   padding:26px 0 24px;
 }
 body.hnv-contact-page .hnv-contact-hero h1{
   font-size:30px!important;
 }
 .hnv-contact-section{
   padding:38px 0 48px;
 }
 .hnv-form-row{
   grid-template-columns:1fr;
   gap:0;
 }
 .hnv-contact-form{
   padding:20px 17px;
 }
 .hnv-submit{
   width:100%;
 }
 .hnv-contact-heading h2{
   font-size:21px;
 }
}
