/* ==========================================================================
   Dentrust — Responsive stylesheet
   --------------------------------------------------------------------------
   Mobile      : @media only screen and (max-width: 640px)
   Tablet      : @media only screen and (min-width: 641px) and (max-width: 1199px)
   Wide tablet : @media only screen and (min-width: 1024px) and (max-width: 1199px)
                 — sub-range tweaks layered on top of tablet

   Note: tablet range matches the hamburger range (≤1200px) so any device
   that gets the mobile nav also gets tablet sizing — no "dead zone".
   ========================================================================== */


/* ==========================================================================
   1. SHARED — Hamburger + Mobile Navigation (applies up to 1200px)
   ========================================================================== */
@media only screen and (max-width: 1270px) {

  /* Body lock when menu is open */
  body.no-scroll {
    overflow: hidden;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Hide desktop primary menu + CTA button */
  .header .main_menu,
  .header .menu_button {
    display: none !important;
  }

  /* Header row */
  .header .header_menu {
    align-items: center;
    justify-content: space-between;
  }

  .header.active {
    left: 15px;
    right: 15px;
    width: auto;
    top: 10px;
    padding: 6px 14px;
  }

  .header.active .logo_site img {
    max-width: 120px;
  }

  /* --------------------------------------------------------
     Hamburger Button — 3 animated bars → X
     -------------------------------------------------------- */
  .mobile__menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 38px;
    height: 30px;
    padding: 4px 0;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile__menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 3px;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                opacity 0.25s ease,
                background-color 0.3s ease,
                width 0.3s ease;
  }

  /* Middle bar shorter for a polished look */
  .mobile__menu span:nth-child(2) {
    width: 70%;
    align-self: flex-end;
  }

  /* Hover micro-interaction (desktop tablet) */
  .mobile__menu:hover span:nth-child(1) {
    transform: translateX(-2px);
  }
  .mobile__menu:hover span:nth-child(2) {
    width: 100%;
  }
  .mobile__menu:hover span:nth-child(3) {
    transform: translateX(2px);
  }

  /* Open state — bars morph into an X */
  .mobile__menu.is-open span {
    background: #ffffff;
    width: 100%;
  }
  .mobile__menu.is-open span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }
  .mobile__menu.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile__menu.is-open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  /* --------------------------------------------------------
     Overlay
     -------------------------------------------------------- */
  .mobile__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(50, 51, 53, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1000;
  }

  .mobile__overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* --------------------------------------------------------
     Slide-in Mobile Navigation
     -------------------------------------------------------- */
  .mobile__nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 88%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(160deg, #ffffff 0%, #fbf6ef 100%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    padding: 90px 30px 40px;
    z-index: 1001;
    transform: translateX(105%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
  }

  .mobile__nav.is-open {
    transform: translateX(0);
  }

  /* Decorative accent bar */
  .mobile__nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient);
  }

  .close__mobile {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .close__mobile:hover {
    background: var(--accent-end);
    transform: rotate(90deg);
  }

  /* Mobile menu list */
  .mobile__nav .menu,
  .mobile__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
  }

  .mobile__nav .menu li,
  .mobile__nav ul li {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    border-bottom: 1px solid rgba(220, 173, 123, 0.25);
  }

  .mobile__nav.is-open .menu li,
  .mobile__nav.is-open ul li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Staggered entry */
  .mobile__nav.is-open .menu li:nth-child(1) { transition-delay: 0.15s; }
  .mobile__nav.is-open .menu li:nth-child(2) { transition-delay: 0.22s; }
  .mobile__nav.is-open .menu li:nth-child(3) { transition-delay: 0.29s; }
  .mobile__nav.is-open .menu li:nth-child(4) { transition-delay: 0.36s; }
  .mobile__nav.is-open .menu li:nth-child(5) { transition-delay: 0.43s; }
  .mobile__nav.is-open .menu li:nth-child(6) { transition-delay: 0.50s; }
  .mobile__nav.is-open .menu li:nth-child(7) { transition-delay: 0.57s; }
  .mobile__nav.is-open .menu li:nth-child(8) { transition-delay: 0.64s; }

  .mobile__nav .menu li a,
  .mobile__nav ul li a {
    display: block;
    padding: 16px 4px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .mobile__nav .menu li a::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--gradient);
    border-radius: 2px;
    transition: transform 0.3s ease;
  }

  .mobile__nav .menu li a:hover,
  .mobile__nav .menu li.current-menu-item a {
    color: var(--accent-end);
    padding-left: 14px;
  }

  .mobile__nav .menu li a:hover::before,
  .mobile__nav .menu li.current-menu-item a::before {
    transform: translateY(-50%) scaleY(1);
  }

  .mobile__nav .phone_menu {
    margin-top: auto;
    padding-top: 30px;
  }

  .mobile__nav .phone_menu .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border-radius: 6px;
    background: var(--gradient);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(220, 173, 123, 0.35);
    border: 0;
  }

  .mobile__nav .phone_menu .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(220, 173, 123, 0.5);
  }
}


/* ==========================================================================
   2. TABLET — 641px → 1199px (matches hamburger range)
   ========================================================================== */
@media only screen and (min-width: 641px) and (max-width: 1199px) {

  body {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 16px;
  }

  .mb-dt { margin-bottom: 80px; }

  .title {
    font-size: 34px;
    line-height: 44px;
    margin-bottom: 30px;
  }

  .title img { width: 28px; }

  header {
    margin-top: 15px;
    margin-bottom: 30px;
    padding: 10px 18px;
  }

  header .logo_site img { max-width: 140px; }

  header.active {
    left: 30px;
    right: 30px;
    width: auto;
    top: 10px;
  }

  /* ---------- HOME HERO ---------- */
  .home_hero {
    padding: 60px 40px;
    margin-bottom: 60px;
  }

  .home_hero .container_md .col-md-7 { max-width: 70%; }
  .home_hero .container_md .col-md-5 { display: none; }

  .home_hero h1 {
    font-size: 52px;
    line-height: 64px;
  }

  .home_hero .hero {
    margin-bottom: 80px;
  }

  .hero .trusted-row { margin-bottom: 40px; }

  /* ---------- WHY SECTION ---------- */
  .why-section { margin-bottom: 80px; }

  .why-section .col-text { padding: 10px; }

  .why-section .col-box .box {
    padding: 22px;
  }

  .why-section .col-box .box .nr {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 50px;
  }

  .why-section .col-box .box h4 {
    font-size: 19px;
    line-height: 24px;
  }

  .why-section .col-box .box p { font-size: 16px; }

  .why-section .btn-dt { left: 25px; bottom: 25px; }

  /* ---------- HAPPY SLIDER ---------- */
  .happy-section .swiper-slide .sw-content { bottom: 40px; }
  .happy-section .swiper-slide .sw-content h3 {
    font-size: 24px;
    line-height: 36px;
  }

  /* ---------- CTA SECTION ---------- */
  .cta-section {
    padding: 40px;
  }

  .cta-section h2 {
    font-size: 26px;
    line-height: 38px;
  }

  .cta-section .col-form { padding-right: 20px; }
  .cta-section .col-img { padding-left: 20px; }

  .cta-section .social-row {
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 18px;
  }

  .cta-section .social-row .phone { font-size: 22px; }

  /* ---------- ABOUT-DF ---------- */
  .about-df .col-text {
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .about-df .col-text h2 { margin-bottom: 30px; }
  .about-df .col-text .desc {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 40px;
  }

  /* ---------- EXPERT / VIDEO BLOCK ---------- */
  .video-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-player iframe { height: 420px; }

  .video-list { width: 100%; }

  .video-block .video-item {
    padding-left: 25px;
    padding-right: 25px;
  }

  .video-block .video-item .img-box img {
    width: 110px;
    height: 75px;
  }

  /* ---------- CTA SECTION 2 ---------- */
  .cta-section-2 { padding: 28px; }
  .cta-section-2 .col-text {
    padding-left: 30px;
  }
  .cta-section-2 .col-text h2 {
    font-size: 30px;
    line-height: 44px;
  }
  .cta-section-2 .col-text p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 30px;
  }
  .cta-section-2 .col-img { min-height: 380px; }

  /* ---------- SERVICES ---------- */
  .service_content { padding: 22px; }
  .service_content h3 { font-size: 20px; }

  /* ---------- TEAM ---------- */
  .team-section .swiper { padding-bottom: 70px; }

  /* ---------- DIPLOM ---------- */
  .diplom-section .list-cert {
    padding-left: 15px;
    grid-gap: 15px;
  }

  .diplom-section .list-cert .cert-item {
    width: calc(33.33% - 12px);
  }

  /* ---------- FAQ ---------- */
  .faq-section .col-acord { padding: 28px; }

  .faq-section .col-acord .accordion-header span {
    font-size: 18px;
    line-height: 26px;
  }

  .faq1 { padding-right: 18px; }
  .faq2 { padding-left: 18px; }

  /* ---------- REVIEW ---------- */
  .review-section .swiper-slide { padding: 25px; }

  /* ---------- CONTACT ---------- */
  .contact-section .col-text { padding-right: 25px; }

  .contact-section .box-list {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .contact-section .box-list .box {
    width: calc(50% - 6px);
  }

  .contact-section .box-list .box .sp-text {
    font-size: 18px;
    line-height: 36px;
  }

  .contact-section .contact-form { padding-right: 0; }

  /* ---------- CONTACT PAGE ---------- */
  .page-template-contact .page_hero { margin-bottom: 15px; }

  .page_hero { padding: 15px; }

  .page_hero .d-flex {
    display: flex;
    align-items: stretch;
  }

  .page_text {
    padding: 0px;
  }

  .page_text h1 {
    margin-top: 60px;
    font-size: 38px;
    line-height: 46px;
  }

  .page_text p {
    font-size: 13px;
  }

  .page_bg {
    min-height: 240px;
  }

  .contact_info {
    padding: 25px;
    margin-bottom: 60px;
  }

  .contact_info .d-flex {
    display: flex;
    flex-direction: column;
  }

  .contact_item {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .contact_item.contact-section .title {
    font-size: 28px;
    line-height: 38px;
  }

  .contact_info .box-list {
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .grid3.socials {
    margin-bottom: 30px;
    padding-bottom: 30px;
    gap: 12px;
  }

  .single_social {
    font-size: 14px;
  }

  .single_social a {
    gap: 8px;
  }

  .single_social img {
    height: 18px;
  }

  .cf_contact_page h3 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .contact_map {
    padding-left: 0;
    padding-top: 10px;
  }

  .contact_map iframe {
    height: 480px;
  }

  /* ---------- DANTURA FIXA HERO (.hero.section-dt) ---------- */
  .hero.section-dt { padding: 0; }
  .hero.section-dt .row { display: flex; flex-wrap: wrap; }
  .hero.section-dt .col-text {
    padding-right: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .hero.section-dt .col-text .title {
    font-size: 36px;
    line-height: 46px;
  }
  .hero.section-dt .col-text .desc {
    font-size: 16px;
    line-height: 26px;
  }
  .hero.section-dt .col-img { min-height: 380px; }
  .hero.section-dt .review-box {
    right: 15px;
    bottom: 30px;
    padding: 16px;
  }
  .hero .control-video .btn-play {
    width: 70px;
    height: 70px;
    padding: 22px;
  }
  .control-video { column-gap: 22px; bottom: 30px; }
  .control-video img { width: 26px; }

  /* ---------- BEFORE/AFTER SECTION ---------- */
  .ba-section .col-content { padding: 22px; }
  .ba-section .col-content:nth-child(1) {
    border-right: 0;
    border-bottom: 1px solid var(--accent);
  }
  .ba-section .col-content .section-top { margin-bottom: 24px; }
  .ba-section .col-content .section-top .quote { width: 40px; }
  .ba-section .col-content .section-top .box-text { padding-left: 18px; }
  .ba-section .col-content .section-top .box-text h4 {
    font-size: 18px;
    line-height: 24px;
  }
  .ba-section .col-content .section-bottom { padding-right: 0; }

  /* ---------- SELECT SECTION ---------- */
  .select-section { padding: 50px 30px; }
  .select-section h2 { margin-bottom: 50px; }
  .select-section .col-text { padding-right: 25px; }
  .select-section .bg-logo { display: none; }
  .select-section .col-list { gap: 20px; row-gap: 35px; }
  .select-section .col-list .select-box {
    width: 100%;
    padding: 20px;
  }
  .select-section .col-list .select-box .box-top h4 {
    font-size: 26px;
    line-height: 36px;
  }

  /* ---------- SELECT SECTION 2 ---------- */
  .select-section-2 .col-select .box { padding: 22px; }
  .select-section-2 .col-select .box .box-top { padding-bottom: 25px; }
  .select-section-2 .col-select .box .box-top .col-img { width: 140px; }
  .select-section-2 .col-select.select-2 .box-top .col-img { width: 160px; }
  .select-section-2 .col-select .box-top .col-text {
    padding-left: 18px;
    padding-right: 0;
  }
  .select-section-2 .col-select .box-top .col-text h4 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 14px;
  }
  .select-section-2 .col-select .box-top .col-text p {
    font-size: 14px;
    line-height: 22px;
  }
  .select-section-2 .col-select .box ul { margin-top: 25px; }
  .select-section-2 .col-select .box ul li {
    font-size: 15px;
    line-height: 22px;
  }

  /* ---------- STEP SECTION ---------- */
  .step-section .row-steps {
    display: flex;
    flex-wrap: wrap;
    row-gap: 45px;
  }
  .step-section .box-step { padding: 0 12px; }
  .step-section .box-step .arrow-step {
    width: 40px;
    height: 40px;
    right: -20px;
  }
  .step-section .box-step h4 {
    font-size: 18px;
    line-height: 24px;
  }
  .step-section .box-step p {
    font-size: 15px;
    line-height: 24px;
  }

  /* ---------- VIDEO SLIDER ---------- */
  .section-video .videoSlider { padding-bottom: 50px; }
  .section-video .swiper-slide .btn-play {
    width: 42px;
    height: 42px;
  }
  .section-video .swiper-slide .sw-content {
    font-size: 15px;
    line-height: 24px;
  }

  /* ---------- PRICE SECTION ---------- */
  .price-section .row-price { gap: 20px; }
  .price-section .row-price .box-price { padding: 25px; }
  .price-section .row-price .box-price h4 { font-size: 17px; }
  .price-section .row-price .box-price h3 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 18px;
  }
  .price-section .row-price .box-price ul {
    margin-bottom: 25px;
  }
  .price-section .row-price .box-price ul li {
    font-size: 15px;
    line-height: 22px;
  }
  .price-section .row-price .box-price .btn-dt {
    width: auto;
    padding: 10px 18px;
    font-size: 15px;
  }
  .price-section .row-price .box-price .price {
    font-size: 28px;
    line-height: 32px;
  }
  .price-section .price_img img { max-width: 140px; margin-left: auto; }

  /* ---------- SERVICES PAGE (grid listing) ---------- */
  .services_page { margin-bottom: 80px; }
  .services_page .services_item.grid3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* ---------- SERVICES PRICE LIST ---------- */
  .services_price_list .d-flex {
    flex-direction: column;
  }
  .services_price_list .col-md-9,
  .services_price_list .col-md-3 { padding: 0; }
  .price_list { padding: 25px; }
  .single_pricelist { margin-bottom: 40px; }
  .single_pricelist h3 {
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 15px;
  }
  .price_itemlist { padding: 12px 18px; }
  .price_itemlist h4 {
    width: calc(100% - 170px);
    font-size: 17px;
    line-height: 24px;
  }
  .price_itemlist p {
    width: 170px;
    font-size: 17px;
  }
  .price_sidebar.col-md-3 {
    width: 100%;
    margin-left: 0;
    margin-top: 25px;
    position: static;
  }
  .price_sidebar h3 {
    font-size: 24px;
    line-height: 30px;
  }

  /* ---------- FAQ DANTURA FIXA variant ---------- */
  .faq-section .col-text { padding-right: 20px; }
  .faq-section .col-text .desc {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 30px;
  }
  .faq-section .col-text .faq-btns .btns-row { bottom: 18px; }

  /* ---------- HERO PAGE (single + page templates) ---------- */
  .hero_page { padding: 18px; margin-bottom: 50px; }
  .hero_page h1 {
    font-size: 40px;
    line-height: 50px;
  }

  /* ---------- PAGE CONTENT ---------- */
  .page_content {
    padding: 35px;
    margin-bottom: 60px;
  }
  .page_content h2 {
    margin-top: 35px;
    font-size: 26px;
    line-height: 36px;
  }
  .simple_page_content img {
    height: auto;
    border-radius: 5px;
  }

  /* ---------- FOOTER ---------- */
  .footer-row { padding: 30px; }

  .footer-row .logo-footer { margin-bottom: 40px; }
  .footer-row .logo-footer img { max-width: 240px; }
  .socials-footer { margin-bottom: 40px; column-gap: 10px; }
  .socials-footer a { width: 46px; height: 46px; }
  .socials-footer img { height: 24px; }

  .footer-row .col-menu h4,
  .footer-row .col-info h4 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 18px;
  }

  .footer-row .col-menu ul { padding-left: 22px; }
  .footer-row .col-info .box-info { padding-left: 22px; }

  .cta-footer {
    font-size: 18px;
    line-height: 26px;
    padding: 18px;
  }

  /* ---------- MODAL ---------- */
  .modal-content {
    margin: 10% auto;
    padding: 40px 25px;
    width: 90%;
  }

  .modal-content h2 {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 20px;
  }
}


/* ==========================================================================
   2b. WIDE TABLET — 1024px → 1199px
   Layered on top of tablet to give wider devices a more generous treatment
   (iPad landscape 1024, iPad Pro 11" landscape 1194, iPad Pro 12.9" portrait 1024).
   ========================================================================== */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {

  body {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 17px;
  }
  .happy-section .swiper-slide img {
    height: 270px;
  }
  .video-block {
    grid-template-columns: 1.6fr 1fr!important;
  }
  .happy-section .swiper-slide .sw-content h3 {
    font-size: 20px;
  }
  .happy-section .swiper-slide .sw-content {
    bottom: 20px;
  }
  .page-template-contact .page_text h1 {
    font-size: 30px;
    line-height: 40px;
  }
  .contact_item,
  .contact_map {
    width: 100%;
  }
  .contact_info .d-flex.form7 {
    flex-direction: row;
  }
  .contact-section .box-list .box {
        width: calc(33.333% - 14px);
    }

  .mb-dt { margin-bottom: 100px; }

  .title {
    font-size: 38px;
    line-height: 48px;
    margin-bottom: 35px;
  }

  .title img { width: 32px; }

  header {
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 11px 20px;
  }

  header .logo_site img { max-width: 160px; }

  header.active {
    left: 40px;
    right: 40px;
    width: auto;
    top: 10px;
  }

  /* Hero spaces breathe more on wide tablet */
  .home_hero {
    padding: 80px 50px;
    margin-bottom: 70px;
  }

  .home_hero h1 {
    font-size: 58px;
    line-height: 72px;
  }

  .home_hero .hero { margin-bottom: 120px; }

  .hero.section-dt .col-text {
    padding-right: 50px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero.section-dt .col-text .title {
    font-size: 42px;
    line-height: 54px;
  }

  .hero.section-dt .col-img { min-height: 460px; }

  /* Why section: more padding inside boxes */
  .why-section .col-box .box { padding: 25px; }
  .why-section .col-box .box .nr { font-size: 36px; margin-bottom: 60px; }
  .why-section .col-box .box h4 { font-size: 20px; line-height: 26px; }

  /* CTA section */
  .cta-section { padding: 20px; }
  .cta-section h2 { font-size: 30px; line-height: 44px; }
  .cta-section .col-form { padding-right: 30px; }
  .cta-section .col-img { padding-left: 30px; }
  .d-flex.form7 .submit_button input {
    padding: 15px 20px;
  }
  /* Video block: side-by-side again on wide tablet */
  .video-block { grid-template-columns: 2fr 1fr; gap: 25px; }
  .video-player iframe { height: 430px; }
  .video-list { width: auto; }

  /* About-df */
  .about-df .col-text {
    padding-right: 50px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .about-df .col-text h2 { margin-bottom: 40px; }
  .about-df .col-text .desc { font-size: 20px; line-height: 32px; margin-bottom: 50px; }

  /* CTA section 2 */
  .cta-section-2 { padding: 32px; }
  .cta-section-2 .col-text { padding-left: 40px; }
  .cta-section-2 .col-text h2 { font-size: 36px; line-height: 52px; }
  .cta-section-2 .col-text p { font-size: 20px; line-height: 32px; margin-bottom: 40px; }
  .cta-section-2 .col-img { min-height: 440px; }

  /* Team & swiper paddings */
  .team-section .swiper { padding-bottom: 80px; }

  /* Diplom layout */
  .diplom-section .list-cert { padding-left: 18px; grid-gap: 18px; }
  .diplom-section .list-cert .cert-item { width: calc(33.33% - 14px); }

  /* FAQ Dantura Fixa */
  .faq-section .col-acord { padding: 35px; }
  .faq-section .col-acord .accordion-header span { font-size: 20px; line-height: 28px; }

  /* Contact page */
  .page_text h1 { font-size: 52px; line-height: 62px; margin-top: 80px; padding-right: 20px;}
  .contact_info { padding: 30px; }
  .contact_item.contact-section .title { font-size: 32px; line-height: 42px; }

  /* Contact map height for wide tablet */
  .contact_map iframe { height: 560px; }

  /* Footer */
  .footer-row { padding: 35px; }
  .footer-row .logo-footer img { max-width: 280px; }
  .footer-row .col-menu h4,
  .footer-row .col-info h4 {
    font-size: 24px;
    line-height: 30px;
  }

  /* Dantura Fixa specifics */
  .select-section { padding: 60px 35px; }
  .select-section .col-list .select-box {
    width: calc(50% - 15px);
  }

  .select-section-2 .col-select .box { padding: 28px; }
  .select-section-2 .col-select .box-top .col-text h4 {
    font-size: 24px;
    line-height: 30px;
  }

  /* Price section */
  .price-section .row-price { gap: 25px; }
  .price-section .row-price .box-price { padding: 32px; }
  .price-section .row-price .box-price h3 { font-size: 28px; line-height: 34px; }
  .price-section .row-price .box-price ul li { font-size: 16px; line-height: 24px; }
  .price-section .row-price .box-price .price { font-size: 34px; line-height: 38px; }

  /* Services grid: 3 cols look good at this width */
  .services_page .services_item.grid3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Services price list: sidebar side-by-side again on wide tablet */
  .services_price_list .d-flex { flex-direction: row; }
  .services_price_list .col-md-9 { padding-right: 0; }
  .price_sidebar.col-md-3 {
    width: calc(25% - 20px);
    margin-left: 20px;
    margin-top: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
  }

  /* Hero page (single + page templates) */
  .hero_page { padding: 20px; margin-bottom: 60px; }
  .hero_page h1 { font-size: 40px; line-height: 50px; }
  .page_content { padding: 45px; }
}

@media only screen and (min-width: 1024px) and (max-width: 1365px) {
  .video-list {
    height: 440px;
    overflow-y: scroll;
  }
  .video-player iframe {
    height: 440px;
  }
  .video-block {
    grid-template-columns: 1.6fr 1fr !important;
  }
  .video-list {
    width: 430px;
  }
  .ba-section .col-content .section-top > img {
    height: 100px;
    object-fit: cover;
  }
  .ba-section .col-content .section-top .quote {
    height: auto;
  }
  .review-section .swiper-slide {
    padding: 20px 15px;
  }
  .review-section .title {
    margin-bottom: 40px;
  }
}

/* ==========================================================================
   3. MOBILE — max-width: 640px
   ========================================================================== */
@media only screen and (max-width: 640px) {

  /* ---------- GLOBAL ---------- */
  body {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
    line-height: 1.55;
  }
  .simple_page_content ul li {
    margin: 5px 0;
  }
  .hero_page.th-page {
    padding: 60px 15px 80px;
  }
  .hero_page.th-page h1 {
    font-size: 38px;
    line-height: 46px;
  }
  .hero_page.th-page h2 {
    font-size: 20px;
    line-height: 30px;
  }
  .video-facade__play {
    width: 60px;
    height: 60px;
  }
  .video-list {
    height: 300px;
  }
  .ba-section .col-content .section-top img {
    height: 75px;
    object-fit: cover;
  }
  .ba-section .col-content .section-top .quote {
    height: auto;
  }
  .happy-section .swiper-slide img {
    height: 310px;
  }
  .mb-dt { margin-bottom: 60px; }

  .bg-title {
    font-size: 12px;
    line-height: 18px;
    padding: 6px 18px;
    margin-bottom: 10px;
  }
.page-template-contact .page_text h1 {
  font-size: 26px;
  line-height: 34px;
  margin-top: 25px;
  padding-right: 0;
}

  .title {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 24px;
    margin-top: 10px
  }

  .title img {
    display: none;
  }

  .btn-dt {
    font-size: 16px;
    line-height: 22px;
    padding: 12px 20px;
  }

  .btn-grd { max-width: 100%; }

  .btns-row {
    flex-direction: column;
    row-gap: 12px;
  }

  .btns-row .btn-dt { width: 100%; }

  /* ---------- HEADER ---------- */
  header {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px 14px;
  }

  header .logo_site img { max-width: 120px; }

  header.active {
    left: 15px;
    right: 15px;
    top: 5px;
  }

  /* ---------- HOME HERO ---------- */
  .home_hero {
    padding: 40px 20px 50px;
    margin-bottom: 50px;
    background-position: 75% center;
  }

  .home_hero:before {
    width: 100%;
    background: linear-gradient(to bottom, rgba(136, 99, 67, 0.85) 0%, rgba(136, 99, 67, 0.65) 100%);
  }

  .home_hero .container_md .col-md-7 {
    max-width: 100%;
    padding: 0;
  }

  .home_hero .container_md .col-md-5 { display: none; }

  .home_hero h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .home_hero p {
    font-size: 16px;
    line-height: 26px;
  }

  .home_hero .hero {
    margin-bottom: 0;
  }

  .home_hero a {
    margin-top: 30px;
    width: 100%;
  }

  .hero .trusted-row {
    margin-bottom: 30px;
    align-items: center;
  }

  .hero .trusted-row img {
    width: 40px;
    height: 42px;
  }

  .hero .trusted-row .trust-2,
  .hero .trusted-row .trust-3 {
    width: 44px;
    height: 46px;
  }

  .trusted-text {
    margin-left: 10px;
    margin-top: 0;
  }

  .trusted-text span { font-size: 14px; line-height: 18px; }
  .trusted-text p { font-size: 16px; line-height: 20px; }

  /* ---------- WHY SECTION ---------- */
  .why-section { margin-bottom: 60px; }

  .why-section .row {
    display: flex;
    flex-wrap: wrap;
  }

  .why-section .col-text {
    padding: 0 0 10px;
    margin-bottom: 10px;
  }

  .why-section .col-text .desc { margin-bottom: 0; }

  .why-section .col-box {
    padding: 0px;
    margin-bottom: 10px;
  }

  .why-section .col-box .box {
    padding: 20px;
    height: 100%;
  }

  .why-section .col-box .box .nr {
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 30px;
  }

  .why-section .col-box .box h4 {
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 12px;
  }

  .why-section .col-box .box p {
    font-size: 14px;
    line-height: 22px;
  }

  .why-section .col-img {
    padding: 0px;
  }

  .why-section .col-img img {
    max-height: 280px;
  }

  .why-section .btn-dt {
    left: 16px;
    bottom: 16px;
    right: 16px;
    width: auto;
    max-width: none;
  }

  /* ---------- HAPPY SLIDER ---------- */
  .happy-section .swiper { padding-bottom: 50px; }

  .happy-section .swiper-slide .sw-content {
    bottom: 30px;
  }

  .happy-section .swiper-slide .sw-content h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .happy-section .swiper-slide .sw-content p {
    font-size: 14px;
  }

  /* Pagination — smaller dots on mobile */
  .swiper .swiper-pagination span {
    width: 30px;
    height: 8px;
  }

  /* ---------- CTA SECTION ---------- */
  .cta-section {
    padding: 20px;
  }

  .cta-section .row {
    display: flex;
    flex-direction: column;
  }

  .cta-section .col-form {
    padding-right: 0;
    order: 2;
  }

  .cta-section .col-img {
    padding-left: 0;
    order: 1;
    min-height: 180px;
    margin-bottom: 25px;
  }

  .cta-section h2 {
    font-size: 22px;
    line-height: 32px;
    margin-top: 0;
    margin-bottom: 18px;
  }

  .cta-section form { margin-bottom: 25px; }
  .cta-section form input { padding: 12px 14px; font-size: 15px; }

  .cta-section .col-form .col-input { padding-right: 0; }

  .cta-section .social-row {
    row-gap: 10px;
    column-gap: 15px;
    justify-content: center;
        align-items: center;
        margin-top: -10px
  }

  .cta-section .social-row .phone {
    font-size: 18px;
  }
  .cta-section .social-row .socials a {
    width: 28px;
    height: 28px;
  }

  .cta-section .social-row .phone img {
    width: 28px;
    height: 28px;
  }
  .cta-section .social-row .socials img {
    height: 16px;
}

  .cta-section .social-row span {
    align-self: center;
  }

  .d-flex.form7 .col-12 { padding: 0; margin-bottom: 15px; }
  .cta-section .d-flex.form7,
  .cf_contact_page .d-flex.form7 { margin: 0 -6px; }

  /* ---------- ABOUT-DF ---------- */
  .about-df .row {
    display: flex;
    flex-direction: column;
  }
  .contact-section .cf_contact_page .accept {
    margin-top: 0;
    margin-bottom: 0;
  }

  .about-df .col-text {
    padding: 0;
    margin-bottom: 25px;
    order: 1;
  }

  .about-df .col-video {
    order: 2;
    min-height: 320px;
  }

  .about-df .col-text h2 {
    margin-bottom: 22px;
  }

  .about-df .col-text .desc {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 30px;
  }

  .about-df .col-video .box-video .bg-grad {
    width: calc(100% - 30px);
    left: 15px;
    bottom: 15px;
  }

  /* ---------- EXPERT / VIDEO BLOCK ---------- */
  .expert-section .section-top { margin-bottom: 30px; }

  .video-block {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .video-player iframe { height: 230px; }

  .video-list {
    width: 100%;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .video-list .video-list-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .video-list .video-list-header h3 {
    font-size: 17px;
    line-height: 24px;
  }

  .video-block .video-item {
    padding-left: 18px;
    padding-right: 18px;
  }

  .video-block .video-item .img-box img {
    width: 90px;
    height: 64px;
  }

  .video-block .video-item .video-info {
    font-size: 14px;
    line-height: 20px;
  }

  /* ---------- CTA SECTION 2 ---------- */
  .cta-section-2 { padding: 18px; }

  .cta-section-2 .row-cta {
    display: flex;
    flex-direction: column;
  }

  .cta-section-2 .col-img {
    min-height: 240px;
    margin-bottom: 22px;
  }

  .cta-section-2 .col-text { padding-left: 0; }

  .cta-section-2 .col-text h2 {
    font-size: 22px;
    line-height: 32px;
  }

  .cta-section-2 .col-text p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 25px;
  }

  /* ---------- SERVICES ---------- */
  .services-section .section-top { margin-bottom: 30px; }

  .service_swiper { padding: 14px; }
  .card-content img { height: 180px; }

  .service_content {
    padding: 22px 18px;
    margin-top: 8px;
  }

  .service_content h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .service_content a {
    margin-top: 20px;
    font-size: 16px;
    padding: 12px 20px;
  }

  .dots_slider { margin-top: 30px; }

  /* ---------- TEAM ---------- */
  .team-section.team_df { margin-bottom: 60px; }

  .team-section .swiper { padding-bottom: 70px; }

  .team-section .swiper-slide h4 {
    font-size: 17px;
    line-height: 22px;
    margin-top: 14px;
  }

  .team-section .swiper-slide .box-bottom {
    padding-left: 14px;
    padding-right: 14px;
    bottom: 14px;
  }

  .team-section .swiper-slide .box-bottom p {
    font-size: 13px;
    line-height: 24px;
    padding: 4px 14px;
  }

  .team-section .swiper-button-prev,
  .team-section .swiper-button-next {
    width: 42px;
    height: 42px;
  }

  .team-section .swiper-button-prev { left: calc(50% - 50px); }
  .team-section .swiper-button-next { right: calc(50% - 50px); }

  /* ---------- DIPLOM ---------- */
  .diplom-section .row-diplom {
    display: flex;
    flex-direction: column;
  }

  .diplom-section .col-cert {
    margin-bottom: 15px;
  }

  .diplom-section .list-cert {
    padding-left: 0;
    grid-gap: 10px;
  }

  .diplom-section .list-cert .cert-item {
    width: calc(50% - 5px);
  }

  /* ---------- CASE SECTION ---------- */
  .case-section .text-center { margin-bottom: 30px; }

  /* ---------- FAQ ---------- */
  .faq-section .section-top { margin-bottom: 30px; }

  .faq-section .col-acord {
    padding: 22px 18px;
  }

  .faq-section .col-acord .d-flex {
    flex-direction: column;
  }

  .faq1 { padding-right: 0; }
  .faq2 { padding-left: 0; }

  .faq-section .col-acord .accordion-header span {
    font-size: 16px;
    line-height: 22px;
    padding-right: 10px;
    padding-top: 4px;
  }

  .accordion-header { padding: 14px 0; }

  /* ---------- REVIEW ---------- */
  .review-section .title { margin-bottom: 30px; }

  .review-section .swiper { padding-bottom: 40px; }

  .review-section .swiper-slide {
    padding: 22px 18px;
  }

  .review-section .swiper-slide .desc {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 22px;
  }

  /* ---------- CONTACT ---------- */
  .contact-section.section-dt { margin-bottom: 60px; }

  .contact-section .row1 {
    padding-bottom: 25px;
    margin-bottom: 30px;
  }

  .contact-section .row1 .col-text {
    padding-right: 0;
    margin-bottom: 25px;
  }

  .contact-section .box-list {
    flex-direction: column;
    row-gap: 12px;
  }

  .contact-section .box-list .box {
    width: 100%;
    padding: 18px;
  }

  .contact-section .box-list .box .icon-svg {
    margin-bottom: 16px;
  }

  .contact-section .box-list .box .sp-text {
    font-size: 18px;
    line-height: 32px;
  }

  .contact-section .row > .col-text {
    margin-bottom: 25px;
  }

  .contact-section .contact-form { padding-right: 0; }

  .contact-section .col-input { padding: 12px; }

  .contact-section .col-input input {
    height: 54px;
    padding: 14px;
  }

  /* ---------- CONTACT PAGE ---------- */
  .page-template-contact .page_hero {
    margin-bottom: 10px;
  }

  .page_hero {
    padding: 12px;
    margin-bottom: 50px;
  }

  .page_hero .d-flex {
    display: flex;
    flex-direction: column-reverse;
  }

  .page_text {
    padding: 15px;
    margin-top: 15px;
    order: 1;
  }

  .page_text p {
    font-size: 10px;
    line-height: 12px;
    padding: 6px 12px;
    gap: 8px;
  }

  .page_text p img {
    width: 12px;
  }

  .page_text h1 {
    margin-top: 25px;
    font-size: 32px;
    line-height: 40px;
  }

  .page_bg {
    order: 2;
    min-height: 140px;
  }

  .contact_info {
    padding: 16px;
    margin-bottom: 50px;
  }
  .page_hero .page_text {
    justify-content: center;
  }
  .page_hero .page_text h1 {
    text-align: center;
  }

  .contact_info .d-flex {
    display: flex;
    flex-direction: column;
  }

  .contact_item {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .contact_item.contact-section .title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 0;
  }

  .contact_info .box-list {
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Override the home-style 3 columns — stack vertically for tap targets */
  .grid3.socials {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 25px;
  }

  .single_social {
    font-size: 16px;
  }

  .single_social a {
    gap: 10px;
  }

  .single_social img {
    height: 18px;
  }
  .cf_contact_page h4 {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .cf_contact_page h3 {
    font-size: 20px;
    line-height: 28px;
    margin-top: 10px;
    margin-bottom: 14px;
  }

  .cf_contact_page .d-flex.form7 {
    margin-top: 18px;
    margin-left: 0;
    margin-right: 0;
  }

  .contact_map {
    padding-left: 0;
    padding-top: 0;
  }

  .contact_map iframe {
    height: 320px;
    border-radius: 5px;
  }

  /* ---------- DANTURA FIXA HERO (.hero.section-dt) ---------- */
  .hero.section-dt { padding: 0; }
  .hero.section-dt .row {
    display: flex;
    flex-direction: column;
  }
  .hero.section-dt .col-text {
    padding: 25px 20px 30px;
    order: 1;
  }
  .hero.section-dt .col-text .title {
    font-size: 28px;
    line-height: 36px;
  }
  .hero.section-dt .col-text .desc {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 25px;
  }
  .hero.section-dt .col-img {
    order: 2;
    min-height: 230px;
  }
  .hero.section-dt .col-text .btns-row {
    margin-bottom: 20px;
  }
  .hero.section-dt .review-box {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    column-gap: 18px;
  }
  .hero.section-dt .review-box .stars {
    margin-bottom: 0;
    font-size: 18px;
    column-gap: 6px;
  }
  .hero.section-dt .review-box img { width: 80px; }
  .hero.section-dt .review-box p { font-size: 13px; line-height: 18px; }
  .control-video {
    bottom: 20px;
    column-gap: 16px;
  }
  .control-video img { width: 22px; }
  .hero .control-video .btn-play {
    width: 60px;
    height: 60px;
    padding: 18px;
  }

  /* ---------- BEFORE/AFTER SECTION ---------- */
  .ba-section .row.ba-row {
    display: flex;
    flex-direction: column;
  }
  .ba-section .col-content { padding: 18px; }
  .ba-section .col-content:nth-child(1) {
    border-right: 0;
    border-bottom: 1px solid var(--accent);
  }
  .ba-section .col-content .section-top { margin-bottom: 20px; }
  .ba-section .col-content .section-top .quote { width: 32px; }
  .ba-section .col-content .section-top .box-text { padding-left: 14px; }
  .ba-section .col-content .section-top .box-text h4 {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 6px;
  }
  .ba-section .col-content .section-top .box-text p { font-size: 13px; }
  .ba-section .col-content .section-bottom {
    padding-right: 0;
  }
  .ba-section .col-content .section-bottom p {
    font-size: 14px;
    line-height: 22px;
  }

  /* ---------- SELECT SECTION ---------- */
  .select-section {
    padding: 30px 18px;
  }
  .select-section .row {
    display: flex;
    flex-direction: column;
  }
  .select-section h2 { margin-bottom: 35px; }
  .select-section .col-text {
    padding-right: 0;
    padding-bottom: 20px;
  }
  .select-section .bg-logo { display: none; }
  .select-section .col-list {
    gap: 0;
    row-gap: 35px;
  }
  .select-section .col-list .select-box {
    width: 100%;
    padding: 18px;
  }
  .select-section .col-list .select-box p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 22px;
  }
  .select-section .col-list .select-box .box-top h4 {
    font-size: 22px;
    line-height: 30px;
  }
  .select-section .col-list .select-box .box-top p {
    font-size: 15px;
    line-height: 22px;
    text-align: left;
    margin: 0;
  }

  /* ---------- SELECT SECTION 2 ---------- */
  .select-section-2 .section-top { margin-bottom: 30px; }
  .select-section-2 .row-select {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-bottom: 30px;
  }
  .select-section-2 .col-select {
    padding-left: 0;
    padding-right: 0;
  }
  .select-section-2 .col-select .box { padding: 20px; }
  .select-section-2 .col-select .box .box-top {
    flex-direction: column;
    padding-bottom: 22px;
    text-align: center;
  }
  .select-section-2 .col-select .box .box-top .col-img {
    width: 130px;
    margin: 0 auto 15px;
  }
  .select-section-2 .col-select.select-2 .box-top .col-img { width: 150px; }
  .select-section-2 .col-select .box-top .col-text {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  .select-section-2 .col-select .box-top .col-text h4 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 12px;
  }
  .select-section-2 .col-select .box-top .col-text p {
    font-size: 14px;
    line-height: 22px;
  }
  .select-section-2 .col-select .box ul { margin-top: 22px; }
  .select-section-2 .col-select .box ul li {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 12px;
    column-gap: 10px;
  }
  .select-section-2 .col-select .box ul li img {
    width: 13px;
    height: 13px;
    margin-top: 5px;
  }
  .select-section-2 .btns-row.btn-center {
    flex-direction: column;
    column-gap: 0;
    row-gap: 12px;
  }

  /* ---------- STEP SECTION ---------- */
  .step-section .title { margin-bottom: 30px; }
  .step-section .row-steps {
    display: flex;
    flex-direction: column;
    row-gap: 35px;
  }
  .step-section .box-step { padding: 0; }
  .step-section .box-step .arrow-step { display: none; }
  .step-section .box-step .box-img { margin-bottom: 18px; }
  .step-section .box-step .box-img span {
    width: 100px;
    font-size: 13px;
    line-height: 16px;
    padding-top: 7px;
  }
  .step-section .box-step h4 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 8px;
  }
  .step-section .box-step p {
    font-size: 14px;
    line-height: 22px;
  }

  /* ---------- VIDEO SLIDER ---------- */
  .section-video .videoSlider { padding-bottom: 50px; }
  .section-video .swiper-slide .btn-play {
    width: 38px;
    height: 38px;
  }
  .section-video .swiper-slide .bg-grad {
    column-gap: 10px;
    bottom: 18px;
    width: calc(100% - 20px);
    left: 10px;
  }
  .section-video .swiper-slide .bg-grad img { width: 14px; }
  .section-video .swiper-slide .sw-content {
    padding: 0 10px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 22px;
  }

  /* ---------- PRICE SECTION ---------- */
  .price-section .row-price {
    gap: 16px;
    grid-template-columns: repeat(1, 1fr);
  }
  .price-section .row-price .col-price { width: 100%; }
  .price-section .row-price .box-price { padding: 22px 18px;}
  .price-section .row-price .box-price h4 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 5px;
  }
  .price-section .row-price .box-price .d-flex {
     flex-direction: column-reverse;
  }
  .price-section .row-price .box-price h3 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 18px;
  }
  .price-section .row-price .col-price-white .box-price .box-bottom {
    border-color: var(--accent)
  }
  .price-section .row-price .box-price .d-flex {
    flex-wrap: wrap;
  }
  .price-section .price_content { width: 100%; padding-right: 0; }
  .price-section .price_img {
    width: 160px;
    margin-bottom: 20px;
  }
  .price-section .row-price .box-price ul {
    margin-bottom: 22px;
  }
  .price-section .row-price .box-price ul li {
    font-size: 15px;
    line-height: 22px;
    padding-left: 24px;
    margin-bottom: 10px;
  }
  .price-section .row-price .box-price ul li:before {
    width: 14px;
    height: 14px;
    top: 4px;
  }
  .price-section .row-price .box-price .box-bottom {
    flex-direction: column-reverse;
    row-gap: 14px;
    align-items: flex-start;
    border-top: 1px solid white;
    padding-top: 20px;
    margin-top: 10px;
  }
  .price-section .row-price .box-price .btn-dt {
    width: 100%;
  }
  .price-section .row-price .box-price .price {
    font-size: 28px;
    line-height: 32px;
  }

  /* ---------- SERVICES PAGE (grid listing) ---------- */
  .services_page { margin-bottom: 50px; }
  .services_page .services_item.grid3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ---------- SERVICES PRICE LIST ---------- */
  .services_price_list .d-flex {
    display: flex;
    flex-direction: column;
  }
  .services_price_list .col-md-9,
  .services_price_list .col-md-3 { padding: 0; }
  .price_list { padding: 22px 18px; }
  .single_pricelist { margin-bottom: 20px; padding: 15px;}
  .single_pricelist h3 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 14px;
  }
  .single_list {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .price_itemlist {
    padding: 14px 16px;
  }
  .price_itemlist h4 {
    width: 100%;
    padding-right: 0;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 4px;
  }
  .price_itemlist p {
    width: 100%;
    text-align: left;
    font-size: 18px;
    line-height: 24px;
    transform: none;
  }
  .price_sidebar {
    position: static;
    margin-top: 25px;
    padding: 24px 20px;
    width: 100%;
  }
  .price_sidebar.col-md-3 {
    width: 100%;
    margin-left: 0;
    padding: 20px;
  }
  .price_sidebar .acceptance p {
    margin-top: 0;
  }
  .price_sidebar h3 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 16px;
  }
  .sidebar_contact {
    margin-top: 30px;
    padding-top: 25px;
  }
  .sidebar_contact .sidebar_phone a {
    font-size: 22px;
    line-height: 28px;
  }

  /* ---------- FAQ DANTURA FIXA (col-text + col-acord) ---------- */
  .faq-section > .row {
    display: flex;
    flex-direction: column;
  }
  .faq-section .col-text {
    padding-right: 0;
    margin-bottom: 25px;
  }
  .faq-section .col-text .desc {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 22px;
  }
  .faq-section .col-text .faq-btns .btns-row {
    position: static;
    padding-top: 18px;
    flex-direction: column;
    row-gap: 12px;
  }
  .faq-section .col-text .faq-btns .btn-dt {
    width: 100%;
  }

  /* ---------- HERO PAGE (single + page templates) ---------- */
  .hero_page {
    padding: 16px;
    margin-bottom: 20px;
  }
  .hero_page h1 {
    font-size: 28px;
    line-height: 36px;
  }
  ul {
    padding-left: 25px;
  }

  /* ---------- PAGE CONTENT (single + page) ---------- */
  .page_content {
    padding: 25px 20px;
    margin-bottom: 50px;
  }
  .page_content h2 {
    margin-top: 25px;
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 8px;
  }
  .simple_page_content img {
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
  }
  .simple_page_content h3 {
    font-size: 20px;
    line-height: 28px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  /* ---------- 404 PAGE ---------- */
  .not_found_page {
    padding: 30px 20px 50px;
  }
  .not_found_page h2 {
    font-size: 72px;
    line-height: 1;
  }
  .button_cta { margin-top: 35px; }

  /* ---------- FOOTER ---------- */
  .footer-row {
    padding: 25px 20px;
  }

  .footer-row .col-logo {
    margin-bottom: 30px;
  }

  .footer-row .logo-footer img {
    max-width: 200px;
  }

  .footer-row .logo-footer {
    margin-bottom: 25px;
  }

  .socials-footer {
    margin-bottom: 25px;
    column-gap: 10px;
  }

  .socials-footer a {
    width: 44px;
    height: 44px;
  }

  .socials-footer img {
    height: 22px;
  }

  .footer-row .col-menu {
    margin-bottom: 30px;
  }

  .footer-row .col-menu h4,
  .footer-row .col-info h4 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 18px;
  }

  .footer-row .col-menu ul {
    padding-left: 18px;
  }

  .footer-row .col-menu ul li {
    font-size: 16px;
    line-height: 20px;
    padding-bottom: 14px;
  }

  .footer-row .col-info .box-info {
    padding-left: 18px;
  }

  .footer-row .col-info .box-info .text-accent {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 14px;
  }

  .footer-row .col-info .box-info .text-link {
    font-size: 16px;
  }

  .cta-footer {
    padding: 16px;
    font-size: 14px;
    line-height: 22px;
  }

  .copyrights {
    font-size: 14px;
  }

  /* ---------- MODAL ---------- */
  .modal-content {
    margin: 18% auto;
    padding: 50px 18px 30px;
    width: 92%;
  }

  .modal-content h2 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 18px;
  }

  .modal-content .close {
    width: 34px;
    height: 34px;
  }

  .d-flex.form7 input {
    padding: 15px;
    font-size: 15px;
  }
  .cta-section form .accept {
    margin-top: 0px;
    margin-bottom: 0px;;
  }
  .cta-section .d-flex.form7 .submit_button input {
    padding: 15px;
  }
  .cta-section h2 {
    text-align: center;
  }
}


@media only screen and (min-width: 641px) and (max-width: 1023px) {
  .contact_info .d-flex.form7 {
    flex-direction: row;
  }
  .video-list {
    height: 340px;
  }
  .happy-section .swiper-slide img {
    height: 280px;
  }
  .price-section .row-price {
    grid-template-columns: repeat(1, 1fr);
  }
  .happy-section .swiper-slide .sw-content {
    bottom: 20px;
  }
  .happy-section .swiper-slide .sw-content h3 {
    font-size: 20px;
  }
  .ba-section .col-content {
    width: 100%;
  }
  .review-section .title {
    margin-bottom: 40px;
  }
  .page_bg {
    min-height: 200px;
  }
  .card-content img {
    height: 200px;
  }
  .cta-section.section-dt .row {
    flex-direction: column-reverse;
  }
  .cta-section.section-dt .row > .col-12 {
    width: 100%;
  }
  .cta-section {
    padding: 25px;
    padding-bottom: 40px;
  }
  .cta-section.section-dt .row > .col-12 {
    padding: 0;
  }
  .cta-section.section-dt .row > .col-12.col-img {
    height: 300px;
    margin-bottom: 30px;
  }
  .section-dt.cta-section h2 {
    text-align: center;
  }
  .cta-section .social-row {
    justify-content: center;
    margin-top: -20px;
  }
  .page-template-contact .page_text h1 {
    font-size: 28px;
    line-height: 36px;
    margin-top: 50px;
  }
  .contact-section .box-list .box {
    padding: 12px;
  }
  .contact_map {
    width: 100%;
  }
  .contact_item {
    width: 100%;
  }
  .services_price_list .col-md-9,
  .services_price_list .col-md-3 {
    width: 100%;
  }
  .contact-section .box-list .box {
        width: calc(33.3333% - 14px);
    }
  .single_pricelist h3 {
    padding: 0px;
    padding-bottom: 0;
  }
  .single_pricelist {
    margin-bottom: 20px;
  }
  .services_price_list .col-md-3 {
    padding: 30px;
  }
  .price_sidebar h3 {
    margin-bottom: 30px
  }
}

@media only screen and (min-width: 641px) and (max-width: 1199px) {
  .services_price_list .col-md-9,
  .services_price_list .col-md-3 {
    width: 100%
  }
  .services_price_list .d-flex {
    flex-direction: column;
  }
  .single_pricelist h3 {
    padding-bottom: 0;
  }
  .single_pricelist {
    padding: 25px;
    margin-bottom: 0;
  }
  .services_price_list .col-md-3 {
    margin-left: 0;
    position: initial;
    margin-top: 40px;
    padding: 40px;
  }
  .price_sidebar h3 {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 15px;
  }
  .services_price_list .d-flex.form7 {
    flex-direction: row;
  }
  .price_sidebar .d-flex.form7 .col-12 {
    padding: 3px;
    width: 50%;
  }
  .price_sidebar .d-flex.form7 .col-12.acceptance,
  .price_sidebar .d-flex.form7 .col-12.submit_button {
    width: 100%;
  }
}
