:root {
  --ntv-primary: #CAA05C;
  --ntv-dark:    #1C1C1D;
  --ntv-text:    #59585D;
  --ntv-muted:   #9F9FA4;
  --ntv-border:  #E3E3E8;
  --ntv-field:   #F6F6F6;
}
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--ntv-text);
  font-size: 16px;
  line-height: 1.75;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cal Sans', sans-serif;
  color: var(--ntv-dark);
  font-weight: 400;
  line-height: 1.2;
}
a { color: var(--ntv-dark); }
a:hover { color: var(--ntv-primary); }
.button, button, input[type=submit] {
  background: var(--ntv-primary);
  color: #fff;
  border-radius: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 500;
}
.ntv-quote-btn, .woocommerce a.button.ntv-quote-btn {
  background: var(--ntv-dark); color: #fff; border-radius: 0;
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 500;
}
.ntv-quote-btn:hover, .woocommerce a.button.ntv-quote-btn:hover {
  background: var(--ntv-primary); color: #fff;
}

/* =========================================================
   EFFECTS (hover, buttons, header, Ken Burns) — Nhóm 1
   ========================================================= */

/* ---- Scroll reveal (own IntersectionObserver, class-based) ----
   Hidden state applies ONLY when <html class="ntvjs"> is present (set by an
   early inline script). If JS is disabled, nothing hides -> content always shows. */
.ntvjs .ntv-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.ntvjs .ntv-reveal.ntv-in { opacity: 1; transform: none; }
.ntvjs .ntv-d1 { transition-delay: .1s; }
.ntvjs .ntv-d2 { transition-delay: .2s; }
.ntvjs .ntv-d3 { transition-delay: .3s; }
.ntvjs .ntv-d4 { transition-delay: .4s; }
.ntvjs .ntv-d5 { transition-delay: .5s; }
.ntvjs .ntv-d6 { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  .ntvjs .ntv-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Card image zoom + overlay + title reveal ---- */
/* Elementor image-box cards (.ntv-card) used for homepage projects/blog */
.ntv-card .elementor-image-box-img { overflow: hidden; position: relative; }
.ntv-card .elementor-image-box-img img { transition: transform .6s ease; }
.ntv-card:hover .elementor-image-box-img img { transform: scale(1.08); }
.ntv-card .elementor-image-box-img::after {
  content: ""; position: absolute; inset: 0; background: rgba(28,28,29,.35);
  opacity: 0; transition: opacity .4s ease;
}
.ntv-card:hover .elementor-image-box-img::after { opacity: 1; }

/* Shortcode project cards */
.ntv-project-card__img { overflow: hidden; position: relative; }
.ntv-project-card__img img { transition: transform .6s ease; }
.ntv-project-card:hover .ntv-project-card__img img { transform: scale(1.08); }
.ntv-project-card__img::after {
  content: "\f30b"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; background: rgba(202,160,92,.55);
  opacity: 0; transition: opacity .4s ease;
}
.ntv-project-card:hover .ntv-project-card__img::after { opacity: 1; }

/* WooCommerce product cards */
.woocommerce ul.products li.product a img { overflow: hidden; transition: transform .6s ease; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.05); }

/* Blog archive cards image zoom */
body.blog article.post > a, body.archive.category article.post > a { display: block; overflow: hidden; }
body.blog article.post img, body.archive.category article.post img { transition: transform .6s ease; }
body.blog article.post:hover img, body.archive.category article.post:hover img { transform: scale(1.06); }

/* ---- Button fill-from-left on hover ---- */
.elementor-button, .ntv-btn-gold, .ntv-quote-btn,
.woocommerce a.button, .ntv-contact-form .wpcf7-submit {
  position: relative; overflow: hidden; z-index: 0; transition: color .35s ease;
}
.elementor-button::before, .ntv-btn-gold::before, .ntv-quote-btn::before,
.woocommerce a.button::before, .ntv-contact-form .wpcf7-submit::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ntv-dark);
  transform: scaleX(0); transform-origin: left center; transition: transform .35s ease;
}
.ntv-quote-btn::before, .ntv-single-project__cta .ntv-btn-gold::before { background: var(--ntv-primary); }
.elementor-button:hover::before, .ntv-btn-gold:hover::before, .ntv-quote-btn:hover::before,
.woocommerce a.button:hover::before, .ntv-contact-form .wpcf7-submit:hover::before {
  transform: scaleX(1);
}

/* ---- Sticky header shrink on scroll ---- */
.ntv-header { transition: padding .3s ease, box-shadow .3s ease, background .3s ease; }
.ntv-header.ntv-scrolled {
  padding-top: 10px !important; padding-bottom: 10px !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

/* ---- Carousel (testimonials / generic) ---- */
.ntv-carousel { position: relative; }
.ntv-carousel__viewport { overflow: hidden; width: 100%; }
.ntv-carousel__track { display: flex; transition: transform .6s cubic-bezier(.4,.0,.2,1); will-change: transform; }
.ntv-carousel__slide { flex: 0 0 100%; box-sizing: border-box; padding: 0 15px; }
.ntv-carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.ntv-carousel__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--ntv-border); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.ntv-carousel__dot.is-active { background: var(--ntv-primary); width: 26px; border-radius: 5px; }
.ntv-carousel__arrow {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ntv-border);
  background: #fff; color: var(--ntv-dark); font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.ntv-carousel__arrow:hover { background: var(--ntv-primary); color: #fff; border-color: var(--ntv-primary); }
.ntv-carousel__arrow--prev { left: -10px; }
.ntv-carousel__arrow--next { right: -10px; }
@media (max-width: 767px) { .ntv-carousel__arrow { display: none; } }

/* ---- Testimonial marquee (3-up, continuous slow auto-scroll) ---- */
.ntv-testi-marquee { width: 100%; }
.ntv-testi-viewport {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.ntv-testi-track { display: flex; align-items: stretch; will-change: transform; }
/* Beat Elementor's .e-con flex-shrink:1 so cards keep their JS-set width. */
.ntv-testi-track > .ntv-testi-item { flex: 0 0 auto !important; box-sizing: border-box; }

.ntv-testi-card {
  border: 1px solid var(--ntv-border); border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,.04);
  transition: box-shadow .3s ease, transform .3s ease;
  height: 100%;
}
.ntv-testi-card::before {
  content: "\201C"; display: block; font-family: Georgia, serif;
  font-size: 56px; line-height: .4; color: var(--ntv-primary); opacity: .45;
}
.ntv-testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.09); }
.ntv-testi-card .elementor-widget-text-editor p {
  font-size: 15.5px; line-height: 1.75; color: #59585D;
}
.ntv-testi-person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 6px; }
.ntv-testi-avatar {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cal Sans', sans-serif; font-size: 19px; color: #fff; overflow: hidden;
  background-color: var(--c, var(--ntv-primary));
  background-image: linear-gradient(135deg, rgba(255,255,255,.18), rgba(0,0,0,.14));
}
.ntv-testi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ntv-testi-meta { display: flex; flex-direction: column; line-height: 1.35; }
.ntv-testi-meta strong { font-family: 'Cal Sans', sans-serif; font-size: 16px; color: var(--ntv-dark); font-weight: 600; }
.ntv-testi-meta em { font-style: normal; font-size: 13px; color: #9F9FA4; }
/* No-JS / pre-JS fallback: wrap into a readable grid instead of overflowing */
.ntv-testi-marquee > .ntv-testi-card { flex: 1 1 300px; }

/* ---- Hero multi-banner slider: each banner slides DOWN from the top ---- */
.ntv-kenburns > .ntv-hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ntv-hero-slide {
  position: absolute; inset: 0; overflow: hidden;
  transform: translateY(-101%);
  transition: transform 1.1s cubic-bezier(.76,0,.24,1);
  will-change: transform;
}
.ntv-hero-slide.is-active { transform: translateY(0); }
.ntv-hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background-image: inherit; background-size: cover; background-position: center;
  background-repeat: no-repeat;
  animation: ntvKenburns 22s ease-in-out infinite alternate;
}
/* When JS slider is active, hide the single ::before image to avoid doubling */
.ntv-hero-hasslides.ntv-kenburns::before { display: none; }

/* ---- Homepage: transparent header overlays the hero, turns solid on scroll ---- */
body.home #masthead {
  position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 999;
}
body.home #masthead .ntv-header {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  padding-top: 28px !important;   /* breathing room from the top edge (shrinks on scroll) */
}
/* Logo, phone + hamburger stay white over the hero at every width */
body.home #masthead .ntv-header .elementor-heading-title,
body.home #masthead .ntv-header .elementor-icon-list-text,
body.home #masthead .ntv-header .elementor-icon-list-icon i,
body.home #masthead .ntv-header .hfe-menu-toggle,
body.home #masthead .ntv-header .elementor-menu-toggle { color: #fff !important; }
body.home #masthead .ntv-header .hfe-nav-menu-icon svg,
body.home #masthead .ntv-header .hfe-nav-menu__toggle svg { fill: #fff !important; }
/* Inline nav links only turn white on desktop (over the hero). On mobile the
   menu opens as a white dropdown panel, so links keep their default dark color. */
@media (min-width: 1025px) {
  body.home #masthead .ntv-header .hfe-nav-menu .menu-item > a { color: #fff !important; }
}

/* Elementor won't let us paint the container's own background, so solidify the
   #masthead wrapper instead once the inner header gains .ntv-scrolled. */
body.home #masthead:has(.ntv-header.ntv-scrolled) {
  background-color: #fff !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.08) !important;
}
body.home #masthead .ntv-header.ntv-scrolled .hfe-nav-menu .menu-item > a,
body.home #masthead .ntv-header.ntv-scrolled .elementor-heading-title,
body.home #masthead .ntv-header.ntv-scrolled .elementor-icon-list-text,
body.home #masthead .ntv-header.ntv-scrolled .elementor-icon-list-icon i,
body.home #masthead .ntv-header.ntv-scrolled .hfe-menu-toggle,
body.home #masthead .ntv-header.ntv-scrolled .elementor-menu-toggle { color: var(--ntv-dark) !important; }
body.home #masthead .ntv-header.ntv-scrolled .hfe-nav-menu-icon svg,
body.home #masthead .ntv-header.ntv-scrolled .hfe-nav-menu__toggle svg { fill: var(--ntv-dark) !important; }
/* keep the gold hover/active accent readable in both states */
body.home #masthead .ntv-header .hfe-nav-menu .menu-item > a:hover,
body.home #masthead .ntv-header .hfe-nav-menu .current-menu-item > a { color: var(--ntv-primary) !important; }

/* Hero fills the viewport and bleeds up beneath the fixed header */
body.home .ntv-hero-section { min-height: 100vh; }

/* ---- Parallax foreground images ---- */
.ntv-parallax { transform: translateY(var(--ntv-par, 0)); transition: transform .1s linear; }

/* ---- Ken Burns slow zoom on hero / CTA backgrounds ----
   Self-contained: ::before = zooming image layer (inherits the container's
   background-image), ::after = dark overlay. Content children sit above both. */
.ntv-kenburns { position: relative; overflow: hidden; background-color: var(--ntv-dark); }
.ntv-kenburns::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: inherit; background-size: cover; background-position: center center;
  background-repeat: no-repeat;
  animation: ntvKenburns 22s ease-in-out infinite alternate;
}
.ntv-kenburns::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(28,28,29,.6); pointer-events: none;
}
.ntv-kenburns > * { position: relative; z-index: 2; }
@keyframes ntvKenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .ntv-kenburns::before { animation: none; } }

/* Process step: oversized faded number watermark */
.ntv-step { position: relative; }
.ntv-step .ntv-step-num .elementor-heading-title {
  font-size: 72px !important; line-height: 1;
  color: transparent !important;
  -webkit-text-stroke: 1.5px rgba(202,160,92,.55); text-stroke: 1.5px rgba(202,160,92,.55);
  margin-bottom: 8px;
}

/* Grid utilities for Elementor flex containers */
.ntv-row-3 > .elementor-widget, .ntv-row-3 > .e-con { width: calc(33.333% - 20px); flex: 0 0 auto; min-width: 0; }
.ntv-row-4 > .elementor-widget, .ntv-row-4 > .e-con { width: calc(25% - 30px); flex: 0 0 auto; min-width: 0; }
.ntv-split > .elementor-widget, .ntv-split > .e-con { width: calc(50% - 30px); flex: 0 0 auto; min-width: 0; }
@media (max-width: 1024px) {
  .ntv-row-3 > .elementor-widget, .ntv-row-3 > .e-con,
  .ntv-row-4 > .elementor-widget, .ntv-row-4 > .e-con { width: calc(50% - 20px); }
}
@media (max-width: 767px) {
  .ntv-row-3 > .elementor-widget, .ntv-row-3 > .e-con,
  .ntv-row-4 > .elementor-widget, .ntv-row-4 > .e-con,
  .ntv-split > .elementor-widget, .ntv-split > .e-con { width: 100%; }
}

/* Section label (small gold uppercase kicker) */
.ntv-label .elementor-heading-title {
  color: var(--ntv-primary);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Project / blog cards */
.ntv-cards .elementor-image-box-wrapper { display: block; }
.ntv-cards .elementor-image-box-img { width: 100% !important; margin: 0 0 4px; }
.ntv-cards .elementor-image-box-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Service cards on the services page get a boxed look */
.ntv-svc .elementor-widget-icon-box { border: 1px solid var(--ntv-border); padding: 32px 28px; transition: border-color .3s; }
.ntv-svc .elementor-widget-icon-box:hover { border-color: var(--ntv-primary); }

/* Intro image fills its half column */
.ntv-intro-img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }

/* Contact form (CF7) */
.ntv-contact-form label { display: block; font-size: 14px; font-weight: 500; color: var(--ntv-dark); margin-bottom: 14px; }
.ntv-contact-form input[type=text], .ntv-contact-form input[type=tel],
.ntv-contact-form input[type=email], .ntv-contact-form textarea {
  width: 100%; background: #fff; border: 1px solid var(--ntv-border);
  padding: 12px 16px; margin-top: 6px; font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px;
}
.ntv-contact-form textarea { min-height: 130px; }
.ntv-contact-form input:focus, .ntv-contact-form textarea:focus { outline: none; border-color: var(--ntv-primary); }
.ntv-contact-form .wpcf7-submit { width: 100%; padding: 14px; cursor: pointer; }
.ntv-contact-form .wpcf7-not-valid-tip { font-size: 12px; }

/* WooCommerce catalog cards */
.woocommerce ul.products li.product { text-align: left; }
.woocommerce ul.products li.product img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cal Sans', sans-serif; font-size: 18px; color: var(--ntv-dark); padding-top: 14px;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title { color: var(--ntv-primary); }
.woocommerce ul.products li.product .price { color: var(--ntv-primary); font-weight: 600; font-size: 15px; }
.woocommerce ul.products li.product .ntv-quote-btn { display: inline-block; margin-top: 10px; padding: 10px 22px; font-size: 14px; }
.woocommerce-products-header__title.page-title { font-size: 44px; margin: 40px 0 10px; }
.woocommerce .woocommerce-breadcrumb { color: var(--ntv-muted); font-size: 13px; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--ntv-border); padding: 8px 12px; }
/* Single product */
.woocommerce div.product .product_title { font-family: 'Cal Sans', sans-serif; font-size: 32px; }
.woocommerce div.product p.price { color: var(--ntv-primary); font-size: 24px; font-weight: 600; }
.woocommerce div.product .ntv-quote-btn { display: inline-block; padding: 14px 32px; margin-top: 12px; }

/* Blog archive: 3-column card grid (Hello theme markup) */
body.blog .site-main, body.archive.category .site-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
body.blog .site-main .page-content, body.archive.category .site-main .page-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  width: 100%;
}
body.blog .site-main > .page-header, body.archive.category .site-main > .page-header {
  border-bottom: 1px solid var(--ntv-border);
  padding-bottom: 24px;
  margin-bottom: 40px;
  width: 100%;
}
body.blog .site-main > .page-header .entry-title,
body.archive.category .site-main > .page-header .entry-title { font-size: 44px; }
body.blog article.post, body.archive.category article.post { display: flex; flex-direction: column; }
body.blog article.post > a, body.archive.category article.post > a { order: 1; }
body.blog article.post .entry-title, body.archive.category article.post .entry-title { order: 2; font-size: 20px; margin: 16px 0 8px; }
body.blog article.post .entry-title a, body.archive.category article.post .entry-title a { color: var(--ntv-dark); }
body.blog article.post .entry-title a:hover, body.archive.category article.post .entry-title a:hover { color: var(--ntv-primary); }
body.blog article.post > p, body.archive.category article.post > p { order: 3; color: var(--ntv-muted); font-size: 14px; margin: 0; }
body.blog article.post img, body.archive.category article.post img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
}
body.blog .page-content > nav, body.archive.category .page-content > nav { grid-column: 1 / -1; }
@media (max-width: 1024px) { body.blog .site-main .page-content, body.archive.category .site-main .page-content { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { body.blog .site-main .page-content, body.archive.category .site-main .page-content { grid-template-columns: 1fr; } }

/* Single post: readable measure, Antra accents */
body.single-post .site-main { max-width: 800px; margin: 0 auto; padding: 60px 24px 90px; }
body.single-post .entry-title { font-size: 40px; margin-bottom: 24px; }
body.single-post .site-main img { width: 100%; height: auto; }
body.single-post blockquote { border-left: 3px solid var(--ntv-primary); margin: 24px 0; padding: 8px 24px; color: var(--ntv-dark); }

/* Project detail (Elementor pages) */
.ntv-project-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.ntv-infobar { border: 1px solid var(--ntv-border); padding: 28px 32px; }
.ntv-gallery .elementor-widget-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---- Projects CPT: grid shortcode ---- */
.ntv-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.ntv-filter {
  background: none; border: 1px solid var(--ntv-border); color: var(--ntv-text);
  padding: 8px 22px; cursor: pointer; font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px; font-weight: 500; transition: all .25s;
}
.ntv-filter:hover { border-color: var(--ntv-primary); color: var(--ntv-dark); }
.ntv-filter.is-active { background: var(--ntv-primary); border-color: var(--ntv-primary); color: #fff; }

.ntv-projects-grid { display: flex; flex-wrap: wrap; gap: 30px; }
.ntv-project-card { display: block; width: calc(33.333% - 20px); text-decoration: none; }
.ntv-project-card__img { display: block; }
.ntv-project-card__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ntv-project-card .ntv-noimg { display: block; width: 100%; aspect-ratio: 4/3; background: var(--ntv-field); }
.ntv-project-card__title {
  display: block; font-family: 'Cal Sans', sans-serif; font-size: 20px;
  color: var(--ntv-dark); margin: 16px 0 4px; transition: color .25s;
}
.ntv-project-card:hover .ntv-project-card__title { color: var(--ntv-primary); }
.ntv-project-card__cat { display: block; color: var(--ntv-muted); font-size: 14px; }
@media (max-width: 1024px) { .ntv-project-card { width: calc(50% - 15px); } }
@media (max-width: 767px)  { .ntv-project-card { width: 100%; } }

/* ---- Projects CPT: single template ---- */
.ntv-single-project__band { background: var(--ntv-field); padding: 56px 48px; }
.ntv-single-project__band h1 { font-size: 44px; }
.ntv-single-project__hero { margin-top: 48px; }
.ntv-single-project__crumb { color: var(--ntv-muted); font-size: 14px; margin-bottom: 8px; }
.ntv-single-project__cat { color: var(--ntv-primary); font-weight: 500; margin-top: 6px; }
.ntv-single-project__hero { max-width: 1140px; margin: 60px auto 0; padding: 0 24px; }
.ntv-single-project__hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; }
.ntv-single-project__body { max-width: 1140px; margin: 0 auto; padding: 48px 24px; }
.ntv-single-project .ntv-infobar {
  display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px;
}
.ntv-infobar__item { display: flex; flex-direction: column; gap: 4px; }
.ntv-infobar__label { color: var(--ntv-primary); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.ntv-infobar__value { font-family: 'Cal Sans', sans-serif; font-size: 18px; color: var(--ntv-dark); }
.ntv-single-project__content { max-width: 800px; }
.ntv-single-project__content img { width: 100%; height: auto; margin: 16px 0; }
.ntv-single-project__cta {
  text-align: center; background: var(--ntv-dark); color: #fff; padding: 90px 48px;
}
.ntv-single-project__cta h2 { color: #fff; font-size: 40px; margin-bottom: 24px; }
.ntv-btn-gold {
  display: inline-block; background: var(--ntv-primary); color: #fff;
  padding: 14px 32px; font-weight: 500; text-decoration: none;
}
.ntv-btn-gold:hover { background: #fff; color: var(--ntv-dark); }
.ntv-cards .elementor-image-box-title { font-family: 'Cal Sans', sans-serif; font-size: 20px; margin: 18px 0 6px; }
.ntv-cards .elementor-image-box-description { color: var(--ntv-muted); font-size: 14px; }
.ntv-cards .elementor-widget-image-box:hover .elementor-image-box-title { color: var(--ntv-primary); }

/* Header layout: logo | menu | actions — keep each zone at natural width */
.ntv-header > .elementor-widget-heading { width: auto; flex: 0 0 auto; }
.ntv-header > .elementor-widget-navigation-menu { width: auto; flex: 1 1 auto; min-width: 0; }
.ntv-header > .e-con { width: auto; flex: 0 0 auto; }
.ntv-header .hfe-nav-menu h2,
.ntv-header .elementor-widget-heading h2 { white-space: nowrap; }
/* The inline horizontal menu only exists above the HFE tablet breakpoint
   (<=1024 collapses to the hamburger), so only style it as an inline flex row
   there. Below 1025 it must NOT be forced visible/in-flow. */
@media (min-width: 1025px) {
  .ntv-header .hfe-nav-menu ul.hfe-nav-menu {
    display: flex; flex-wrap: nowrap; justify-content: center; white-space: nowrap;
  }
}
/* Fix horizontal overflow on inner pages: when collapsed (<=1024) but not yet
   opened, HFE leaves the horizontal <ul> in normal flow (display:flex,
   visibility:hidden), reserving ~335px and pushing the page wider than the
   screen. Home only escaped this because its header is position:fixed. Pull the
   closed menu out of the layout; the open dropdown (.menu-is-active) is intact. */
@media (max-width: 1024px) {
  .ntv-header nav.hfe-nav-menu__layout-horizontal:not(.menu-is-active) > ul.hfe-nav-menu {
    display: none !important;
  }
}

/* Mobile header: single tidy row, hide phone */
@media (max-width: 767px) {
  .ntv-header {
    padding: 12px 20px !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .ntv-header > * { width: auto !important; flex: 0 0 auto !important; }
  .ntv-header .elementor-widget-icon-list { display: none; }
  .ntv-header > .e-con { display: none; } /* hide phone + CTA on mobile: logo + hamburger only */
  .ntv-header > .elementor-widget-navigation-menu { min-width: 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
}

/* Header nav */
.ntv-header .hfe-nav-menu .menu-item a {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ntv-dark);
}
.ntv-header .hfe-nav-menu .menu-item a:hover,
.ntv-header .hfe-nav-menu .current-menu-item > a {
  color: var(--ntv-primary);
}

/* Footer quick links: plain text list, no default check icons */
.elementor-element-ftrqlist .elementor-icon-list-icon { display: none; }
.elementor-element-ftrqlist .elementor-icon-list-item a:hover .elementor-icon-list-text { color: var(--ntv-primary); }

/* Footer newsletter form — wrap-friendly so it never overflows a narrow column
   (e.g. the footer column in the 768-1024 tablet range). */
.ntv-newsletter { display: flex; gap: 0; flex-wrap: wrap; }
.ntv-newsletter input[type=email] {
  background: #2A2A2B;
  border: 1px solid #3A3A3B;
  color: #fff;
  padding: 12px 18px;
  flex: 1 1 240px;
  min-width: 0;
  box-sizing: border-box;
  font-family: 'Be Vietnam Pro', sans-serif;
}
.ntv-newsletter input[type=email]::placeholder { color: var(--ntv-muted); }
.ntv-newsletter button {
  background: var(--ntv-primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  cursor: pointer;
}
.ntv-newsletter button:hover { background: #fff; color: var(--ntv-dark); }

/* =========================================================
   MOBILE RESPONSIVE (<=767px) — the Elementor JSON generators emit
   desktop-only padding/typography (no _mobile variants), so top-level
   sections keep 48-120px side padding and 58px headings on phones.
   These rules tame the section rhythm + type scale for handsets, where
   ~90% of traffic lands. Override the Elementor container --padding
   custom props (!important beats the cached, non-important post CSS).
   ========================================================= */
@media (max-width: 767px) {
  /* Top-level sections: comfortable side gutters + lighter vertical rhythm.
     Header/footer keep their own rules; nested inner containers keep 0 pad. */
  .elementor > .e-con {
    --padding-left: 20px !important;
    --padding-right: 20px !important;
    --padding-top: 52px !important;
    --padding-bottom: 52px !important;
  }

  /* Fluid heading scale — bare h1/h2 rules can't beat Elementor's per-widget
     selectors, so target the heading widget's title element directly. */
  .elementor h1.elementor-heading-title { font-size: clamp(28px, 8.5vw, 38px) !important; line-height: 1.15 !important; }
  .elementor h2.elementor-heading-title { font-size: clamp(23px, 6.6vw, 30px) !important; line-height: 1.2 !important; }
  .elementor h3.elementor-heading-title { font-size: clamp(19px, 5.4vw, 24px) !important; line-height: 1.25 !important; }

  /* Hero: fill less than full-height so the scroll cue sits in view, and
     keep the headline from crowding the header. */
  body.home .ntv-hero-section { min-height: 88vh; }
  body.home #masthead .ntv-header { padding-top: 12px !important; }

  /* Process step watermark number: 72px is too heavy at phone width. */
  .ntv-step .ntv-step-num .elementor-heading-title { font-size: 52px !important; }

  /* Footer newsletter: stack the field + button so nothing overflows. */
  .ntv-newsletter { flex-direction: column; gap: 10px; }
  .ntv-newsletter input[type=email] { min-width: 0; width: 100%; box-sizing: border-box; }
  .ntv-newsletter button { width: 100%; }

  /* Single project: shrink the oversized band/CTA padding + type. */
  .ntv-single-project__band { padding: 40px 20px; }
  .ntv-single-project__band h1 { font-size: 30px; }
  .ntv-single-project__cta { padding: 52px 20px; }
  .ntv-single-project__cta h2 { font-size: 28px; }
  .ntv-single-project__hero,
  .ntv-single-project__body { padding-left: 20px; padding-right: 20px; }
  .ntv-single-project .ntv-infobar { gap: 24px; padding: 24px 20px; }

  /* WooCommerce + blog headings that use fixed desktop sizes. */
  .woocommerce-products-header__title.page-title,
  body.blog .site-main > .page-header .entry-title,
  body.archive.category .site-main > .page-header .entry-title,
  body.single-post .entry-title { font-size: 30px; }
  .woocommerce div.product .product_title { font-size: 26px; }
}
