/*
Theme Name: copiersvn
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  --primary: #ff7a00;
  --primary-dark: #ef6400;
  --primary-soft: #fff1e4;
  --text: #243244;
  --muted: #667085;
  --line: #e9edf3;
  --bg: #f7f8fc;
  --white: #ffffff;
  --panel: #ffffff;
  --shadow: 0 20px 45px rgba(26, 38, 56, 0.08);
  --container: 1220px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-sans: "Be Vietnam Pro", sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
}

ul li {
  margin: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* UX block - service-hotline ------------------------- */
.service-hotline {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ff7d00, #ff5500);
  color: var(--white);
  box-shadow: 0 18px 40px var(--shadow);
  min-width: 320px;
}

.service-hotline:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
  background: linear-gradient(135deg, #ff880d, #ff4c00);
}

.service-hotline div span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.service-hotline div span i {
  font-size: 24px;
  color: #fff;
}

.service-hotline div:last-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-hotline div p:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.service-hotline div p:last-child {
  font-size: 0.98rem;
  opacity: 0.92;
}

/* UX block - service-promotion ------------------------- */
.service-promotion {
  position: relative;
  width: min(100%, 1290px);
  padding: 44px 26px 26px;
  border: 1.5px solid var(--primary);
  border-radius: 14px;
  background:
    radial-gradient(circle at 9% 30%, rgba(255, 122, 0, 0.08), transparent 23%),
    linear-gradient(90deg, #fffaf7 0%, #fff 48%, #fff8f3 100%);
  box-shadow: 0 16px 36px rgba(255, 122, 0, 0.08);
}

.service-promotion>p:first-child {
  position: absolute;
  top: -1.5px;
  left: 50%;
  min-width: 246px;
  padding: 11px 32px 12px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255, 112, 0, 0.24);
}

.service-promotion .grid {
  display: grid;
  grid-template-columns: 1.06fr 0.95fr 1.18fr 1.22fr;
  align-items: center;
  gap: 0;
}

.service-promotion .grid>div {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 126px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 122, 0, 0.42);
}

.service-promotion .grid div:first-child {
  padding-left: 0;
}

.service-promotion .grid div div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  line-height: 1;
}

.service-promotion .grid div div:first-child i {
  font-size: clamp(40px, 4vw, 64px);
  color: var(--primary);
}

.service-promotion .grid h3 {
  margin-bottom: 8px;
  color: #172033;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.service-promotion .grid p {
  color: #1f2c3d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.service-promotion .grid .card {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 26px;
  min-height: 136px;
  margin-left: 20px;
  padding: 26px 30px 26px 26px;
  border-radius: 10px;
  background: linear-gradient(105deg, #fff6ef 0%, #fff0e6 100%);
}

.service-promotion .grid .card div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: var(--primary-dark);
  font-size: 38px;
}

.service-promotion .grid .card span {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-promotion .grid .card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.service-promotion .note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-right: 2px;
  color: #263344;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.service-promotion .note i {
  color: var(--primary-dark);
  font-size: 31px;
}

/* Contact Form 7 - Gọi lại --------------------------------*/
.contact-card__hotline {
  width: 100%;
  max-width: 460px;
  padding: 20px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.08);
}

.contact-title__hotline {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--title);
}

.contact-card__hotline .contact-title__hotline {
  margin-bottom: 12px;
}

.contact-form__hotline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.input-wrap__hotline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--title);
}

.input-wrap__hotline .wpcf7-form-control-wrap {
  width: 100%;
}

.input-wrap__hotline i {
  position: absolute;
  top: 4%;
  left: 5px;
  font-size: 24px;
  color: var(--primary);
  z-index: 10;
  animation: hotline-ring 1.2s ease-in-out infinite;
  transform-origin: center;
}


@keyframes hotline-ring {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  10%,
  30% {
    transform: rotate(-14deg) scale(1.05);
  }

  20%,
  40% {
    transform: rotate(14deg) scale(1.05);
  }

  50% {
    transform: rotate(-8deg) scale(1.03);
  }

  60% {
    transform: rotate(8deg) scale(1.03);
  }

  70% {
    transform: rotate(0deg) scale(1);
  }
}

.input-wrap__hotline .contact-input__hotline {
  border: 1px solid var(--primary);
  outline: none;
  border-radius: 14px;
  background: var(--panel);
  padding: 0 36px;
  font-size: 16px;
  color: #334155;
  margin: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrap__hotline .contact-input__hotline:focus {
  border-color: #ffb26f;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.08);
}

.input-wrap__hotline.contact-input__hotline::placeholder {
  color: var(--placeholder);
}

.contact-form__hotline .contact-button__hotline {
  border: none;
  border-radius: 14px;
  margin: 0;
  background: linear-gradient(180deg, #ff7a00 0%, #ff6a00 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form__hotline .contact-button__hotline:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.28);
}

.contact-note__hotline {
  font-size: 14px;
  color: var(--text);
  flex-wrap: wrap;
}

.contact-note__hotline i {
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.contact-note__hotline span {
  margin-left: 2px;
}

/* end UX block --------------------- */

/* Contact form 7 - liên hệ dịch vụ-------------------- */
.wpcf7-form {
  margin-bottom: 0;
}

.contact-form {
  width: 100%;
  padding: 26px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(239, 100, 0, 0.98), rgba(255, 138, 31, 0.96)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 35%);
  box-shadow: 0 24px 48px rgba(255, 122, 0, 0.22);
}

.contact-form__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.contact-form__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form__desc {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.55;
}

.wpcf7 .contact-form__desc {
  margin: 0 0 18px;
}

.contact-form__row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.contact-form__row>* {
  flex: 1 1 0;
  min-width: 0;
}

.wpcf7 .contact-form__input,
.wpcf7 .contact-form__textarea {
  display: block;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #273142;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: none;
}

.contact-form__input {
  min-height: 48px;
  padding: 0 16px;
}

.contact-form__textarea {
  min-height: 118px;
  padding: 15px 16px;
  resize: vertical;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #667085;
  opacity: 1;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32);
}

select.contact-form__input {
  cursor: pointer;
}

.wpcf7-submit.contact-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 14px;
  background: var(--white);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wpcf7-submit.contact-form__btn:hover,
.wpcf7-submit.contact-form__btn:focus {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(177, 76, 0, 0.2);
  color: var(--primary-dark);
}

.wpcf7-spinner {
  display: none;
}

.contact-form__note {
  text-align: center;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.wpcf7-form.invalid .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  color: var(--muted);
}

/* end Contect from ------------ */

/*  */




/* --------------brands-------------- */
.brand-box__global {}

.partner-brand__box {
  min-height: 82px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(24, 37, 56, 0.04);
  display: grid;
  place-items: center;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #394555;
  text-transform: uppercase;
}

.brand-box__global .col:nth-child(3) .partner-brand__box {
  color: #cf2026;
}

.brand-box__global .flickity-prev-next-button {
  top: 20px;

}

.brand-box__global .flickity-prev-next-button .flickity-button-icon {
  color: var(--muted);
  border: none;
}

.brand-box__global .flickity-prev-next-button.previous {}

.brand-box__global .flickity-prev-next-button.next {}

/* ======================Product cards===================== */
.product-small.box,
.woocommerce .product-small .box {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(24, 37, 56, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-small .badge-container {
  margin: 10px;
}

.product-small .badge-container .badge {
  height: 2em;
  width: 3.2em;
}

.product-small .badge-container .badge-inner {
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
}

/* css pre next ---------------------------------------------*/
.flickity-button.flickity-prev-next-button.previous,
.flickity-button.flickity-prev-next-button.next {
  opacity: 1;
  margin-top: 0;
  height: 0;
}

.flickity-button.flickity-prev-next-button.previous .flickity-button-icon,
.flickity-button.flickity-prev-next-button.next .flickity-button-icon {
  background: var(--white);
  border: 1px solid var(--primary);
  border-radius: 999px;
}

.flickity-button.flickity-prev-next-button.previous .flickity-button-icon:hover,
.flickity-button.flickity-prev-next-button.next .flickity-button-icon:hover {
  background: var(--primary);
}

.flickity-button.flickity-prev-next-button.previous .flickity-button-icon .arrow,
.flickity-button.flickity-prev-next-button.next .flickity-button-icon .arrow {
  color: var(--primary);
  fill: var(--primary);
}

.flickity-button.flickity-prev-next-button.previous:hover .flickity-button-icon .arrow,
.flickity-button.flickity-prev-next-button.next:hover .flickity-button-icon .arrow,
.flickity-button.flickity-prev-next-button.previous .flickity-button-icon:hover .arrow,
.flickity-button.flickity-prev-next-button.next .flickity-button-icon:hover .arrow {
  color: var(--white);
  fill: var(--white);
} 


/* product -------------------------------------------- */
.product-small.box:hover,
.woocommerce .product-small .box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 0, 0.32);
  box-shadow: 0 16px 30px rgba(24, 37, 56, 0.08);
}

.product-small .box-image {
  aspect-ratio: 1 / 1;
  padding: 14px;
  background: #ffffff;
}

.product-small .box-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-small .box-text {
  padding: 12px 12px 14px;
  text-align: left;
}

.product-small .product-title,
.product-small .product-title a {
  color: #263348;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.product-small .product-title {
  min-height: calc(14px * 1.35 * 2);
}

.product-small .product-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-small .price-wrapper {
  margin-top: 4px;
}

.product-small .price,
.product-small .price ins,
.product-small .price ins .amount {
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
}

.product-small .price del,
.product-small .price del .amount {
  color: #98a2b3;
  font-size: 13px;
  font-weight: 500;
}

/* ------------service dự án tiêu biểu -------------------------------------------- */
.section-17785705656160 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 334px;
  gap: 14px;
}

.section-17785705656160>div {
  overflow: hidden;
  border-radius: 7px;
}

.section-17785705656160 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.section-17785705656160>div:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.section-17785705656160>div:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1;
}

.section-17785705656160>div:nth-child(3) {
  grid-column: 5 / 7;
  grid-row: 1;
}

.section-17785705656160>div:nth-child(4) {
  grid-column: 3 / 7;
  grid-row: 2;
}

.section-17785705656160>div:nth-child(5) {
  grid-column: 1 / 4;
  grid-row: 3;
}

.section-17785705656160>div:nth-child(6) {
  grid-column: 4 / 7;
  grid-row: 3;
}

/* ================== pagination============== */
.woocommerce-pagination .page-numbers.nav-pagination .page-number {
  border: 1px solid rgba(255, 122, 0, 0.32);
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(24, 37, 56, 0.04);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-pagination .page-numbers.nav-pagination a.page-number:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.12);
}

.woocommerce-pagination .page-numbers.nav-pagination .current {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.22);
}

.woocommerce-pagination .page-numbers.nav-pagination .dots {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

/* ======================Footer===================== */
.footer__section {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffd7b1 0%, #ffc286 52%, #ffd2a4 100%);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  padding: 28px 0 22px;
  border-bottom: 1px solid rgba(36, 50, 68, 0.08);
}

.footer-col {
  flex: 1;
  min-height: 100%;
}

.footer-col:nth-child(1) {
  min-width: 420px;
}

.footer-col .brand__foot {
  margin-bottom: 8px;
}

.footer-col .brand-name {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.footer-col .brand-name span {
  color: #30425d;
}

.footer-col .brand-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #8d97a8;
}

.footer-address i {
  font-size: 18px;
  color: var(--primary);
}

.footer-col h3 {
  font-size: 17px;
  margin-bottom: 14px;
  color: #17263a;
}

.col-inner .footer-col ul li {
  margin: 0;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: #5f6f86;
  font-size: 14px;
}

.footer-col p {
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ef6400;
}

.footer-col .footer-info {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-col .footer-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col .footer-info li i {
  font-size: 18px;
  color: var(--primary);
}

.social-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-link {
  width: 38px;
  height: 38px;
  text-decoration: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.08);
}

.social-link i {
  font-size: 18px;
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: start;
  gap: 8px;
}

.footer-contact span {
  line-height: 1.5;
  word-break: break-word;
}

.footer-contact li i {
  font-size: 18px;
  color: var(--primary);
}

/*  */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  color: #68778d;
  font-size: 13px;
}

.footer-bottom p a {
  color: #68778d;
  text-decoration: none;
}


@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* table */
@media (max-width:1024px) {

  /* -------footer */
  .footer-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-col:nth-child(1) {
    min-width: 300px;
  }

  /* ==========UX block================ */
  .service-promotion {
    padding: 60px;
  }

  .service-promotion .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .service-promotion .grid>div {
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 122, 0, 0.24);
  }

  .service-promotion .grid div:first-child {
    padding-left: 18px;
  }

  .service-promotion .grid .card {
    margin-left: 0;
  }
}


/* Tablet + mobile */
@media (max-width: 768px) {

  /* -------footer */
  .footer-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  /* ==========UX block================ */
  .service-promotion {
    padding: 62px 16px 20px;
  }

  .service-promotion .grid {
    grid-template-columns: 1fr;
  }
  
  /* ------------service dự án tiêu biểu ----------*/
  .section-17785705656160 {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
  }

  .section-17785705656160>div:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .section-17785705656160>div:nth-child(1),
  .section-17785705656160>div:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
  }
}


/* chỉnh riêng mobile */
@media (max-width: 560px) {

  /* --------footer------ */
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-col:nth-child(1) {
    min-width: 100%;
  }


   /*=========== Form CF7 ==================================================*/
  .contact-form {
    padding: 22px 18px;
  }

  .contact-form__title {
    font-size: 24px;
  }

  .contact-form__row {
    flex-direction: column;
  }

  .contact-title__hotline {
    font-size: 18px;
  }

  .contact-card__hotline {
    max-width: 100%;
  }
  
  /* ==========UX block========================================================= */
  /* ------------service dự án tiêu biểu ----------*/
  .section-17785705656160 {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 10px;
  }

  .section-17785705656160>div:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
}