@font-face {
    font-family: 'BeVietnamPro';
    src: url(../fonts/BeVietnamPro.woff2) format('woff2');
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: 'Fraunces';
    src: url(../fonts/Fraunces.woff2) format('woff2'); 
    font-display: swap;
    font-style: normal;
    font-weight: 600;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'BeVietnamPro', system-ui, sans-serif;
    color: #3f2820;
    background: #f5ede0;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #a8452d;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 5px;
}
a:hover,a:focus{
    color: inherit;
    text-decoration: none;
}
button:focus{
    outline: none;
}
.title{
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.link{
    text-decoration: underline;
    font-weight: 700;
    color: #A8452D;
}
.link:hover,.link:focus{
    color: #7A2E1B;
    text-decoration: underline;
}
.btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0px 26px;
    border-radius: 999px;
    background: #f5ede0;
    color: #3f2820;
    font-weight: 700;
    font-size: 16px;
}
.btn_style2{
    background: transparent;
    color: #f5ede0;
    border: 2px solid #f5ede0;
}
.btn:hover,.btn:focus{
    color: #3f2820;
}
.btn_style2:hover,.btn_style2:focus{
    color: #f5ede0;
}
.scroll-margin-top{
    scroll-margin-top: 24px;
}
header{
    position: relative;
    padding-block: 64px 56px;
    background: url(https://silveranttattoo.com/public_folder/files_upload/202505/1747545061-silver-ant-tattoo-home-page19201080jpg.webp) no-repeat center / cover;
}
header::before{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 1;
}
header .container{
    position: relative;
    display: grid;
    row-gap: 28px;
    z-index: 2;
}
.header-subtitle{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #e9d6bc;
}
.header-title{
    margin: 0;
    font-size: 58px;
    line-height: 1.05;
    color: #f5ede0;
}
.header-desc{
    margin: 0;
    max-width: 680px;
    font-size: 20px;
    line-height: 1.55;
    color: #f5ede0;
}
.header-desc strong{
    color: #fff;
    background: #a8452d;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}
.header-grids{
    display: grid;
    gap: 16px;
}
.header-grid-item{
    background: #f5ede0;
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.header-grid-item span{
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6b5448;
}
.header-grid-item h3{
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    color: #a8452d;
    line-height: 1.15;
}
.header-grid-item p{
    margin: 0;
    font-size: 15px;
    color: #6b5448;
}
.header-grid-item_dark{
    background: #a8452d;
    border: 2px dashed #f5ede0;
}
.header-grid-item_dark span,.header-grid-item_dark h3,
.header-grid-item_dark p{
    color: #fff8ec;
}
.header-btns{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
@media only screen and (min-width: 36rem){
    .header-grids{
        grid-template-columns: repeat(2,1fr);
    }
}
@media only screen and (min-width: 62rem){
    .header-grids{
        grid-template-columns: repeat(3,1fr);
    }
}
.prices,.estimate,.how-estimate,.detail,.pro-tip,.faq{
    padding-block: 36px 24px;
}
.section-title{
    margin-bottom: 8px;
    font-size: 36px;
    color: #3f2820;
}
.section-desc{
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: #6b5448;
}
.price-items{
    background: #5b3a2e;
    border-radius: 22px;
    padding: 14px;
    margin-block: 20px 64px;
}
.price-items-wrap{
    background: #fffbf3;
    border-radius: 14px;
    overflow: hidden;
}
.price-items-head{
    display: none;
    align-items: center;
    gap: 12px 24px;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: #f0e3cf;
}
.price-items-head span:nth-child(1){
    flex: 1 1 260px;
}
.price-items-head span:nth-child(2){
    flex: 0 1 250px;
}
.price-items-head span:nth-child(3){
    flex: 1 1 220px;
}
.price-items-head span:nth-child(4){
    flex: 0 0 76px;
}
.price-item-body{
    max-height: 743px;
    overflow-y: auto;
    overflow-x: hidden;
}
.price-item{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding: 22px 28px;
    border-top: 2px dashed #e2d3be;
    color: #3f2820;
}
.price-item_free{
    background: #FCE9D6;
}
.price-item:hover,.price-item:focus{
    background: #F8DDC2;
}
.price-item>div:nth-child(1){
    flex: 1 1 260px;
}
.price-item>div:nth-child(2){
    flex: 0 1 250px;
}
.price-item>div:nth-child(3){
    flex: 1 1 220px;
}
.price-item>div:nth-child(4){
    flex: 0 0 76px;
}
.price-item>div:nth-child(1),.price-item>div:nth-child(2){
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.price-title{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.price-content{
    font-size: 15px;
    color: #6b5448;
    margin: 0;
}
.price-numb{
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    color: #a8452d;
}
.price-detail{
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 15px;
    color: #a8452d;
}
.price-detail svg{
    width: 20px;
    height: 20px;
}
.price-items-foot{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 16px 28px;
    background: #f0e3cf;
    border-top: 2px dashed #e2d3be;
    font-size: 16px;
}
@media only screen and (min-width: 75rem){
    .price-items-head{
        display: flex;
    }
}
.card{
    background: #fffbf3;
    border: 1px solid #e2d3be;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.card-style2{
    background: #a8452d;
    border: none;
    gap: 10px;
}
.card-style3{
    background: #5b3a2e;
    color: #f5ede0;
    justify-content: space-between;
}
.card-style4{
    background: #f0e3cf;
    border: 2px dashed #c9b08f;
    gap: 8px;
}
.card-title{
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Fraunces', Georgia, serif;
}
.card-style2 .card-title{
    font-size: 36px;
    color: #fff8ec;
}
.card-style4 .card-title{
    font-family: 'BeVietnamPro', system-ui, sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    color: #a8452d;
}
.card-subtitle{
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff8ec;
    margin-top: 0;
}
.card-style3 .card-subtitle{
    color: #e9d6bc;
    margin-bottom: 10px;
}
.card-content{
    margin: 0;
    max-width: 720px;
    font-size: clamp(0.875rem, 0.838rem + 0.188vw, 1.063rem);
    line-height: 1.6;
}
.card-style2 .card-content{
    color: #fff8ec;
}
.card-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}
.card-grid-item{
    background: #f5ede0;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
}
.card-grid-title{
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.card-grid-subtitle{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #6b5448;
    margin: 0;
}
.card-grid-content{
    margin-bottom: 0;
}
.card-grid-price{
    font-size: 32px;
    font-weight: 700;
    color: #a8452d;
    line-height: 1.2;
}
.estimate-grid{
    display: grid;
    margin-top: 20px;
    gap: 20px;
}
.group{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.label{
    font-size: 18px;
    font-weight: 700;
}
.pills-wrap{
    overflow-y: hidden;
    overflow-x: auto;
}
.pills{
    display: flex;
    width: max-content;
    gap: 8px;
}
.pill-btn{
    min-height: 44px;
    padding-inline: 20px;
    border-radius: 999px;
    border: 2px solid #5b3a2e;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: #fffbf3;
    color: #3f2820;
}
.pill-btn_active{
    background: #5b3a2e;
    color: #fff8ec;
}
#hrs{
    font-size: 16px;
    font-weight: 700;
    color: #a8452d;
}
#hrs-range{
    width: 100%; 
    accent-color: #a8452d; 
    height: 32px;
}
.hrs-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #6b5448;
}
.session-input{
    display: flex;
    align-items: center;
    gap: 12px;
}
#session{
    border: none;
    outline: none;
    appearance: none;
    width: 40px;
    height: 36px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}
#session::-webkit-outer-spin-button,
#session::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#numb-increase,#numb-decrease{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #5b3a2e;
    background: #fffbf3;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
#sessions-price{
    font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    font-weight: 700;
    line-height: 1.05;
}
.total-price-detail{
    display: block;
    margin-bottom: 10px;
}
.sessions-free{
    display: flex;
    align-self: flex-start;
    width: fit-content;
    background: #a8452d;
    color: #fff8ec;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
#sessions-txt{
    margin-bottom: 10px;
}
@media only screen and (min-width: 62rem){
    .estimate-grid{
        grid-template-columns: 1.3fr 1fr;
    }
}
.how-estimate .section-title{
    margin-bottom: 20px;
}
.how-estimate .grid-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.how-estimate .card{
    padding: 24px;
    gap: 8px;
}
.how-estimate .card-title{
    font-size: 34px;
    color: #a8452d;
}
.how-estimate .card-subtitle{
    font-size: 19px;
    font-weight: 700;
    color: #3f2820;
}
.detail .section-title{
    margin-bottom: 24px;
}
.detail .card{
    gap: 20px;
    margin-bottom: 24px;
}
.detail .card-top{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
}
.example-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.example-list a{
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #e2d3be;
    height: 300px;
}
.example-list figure img{
    height: 300px;
    width: auto;
    transition: transform .5s ease-in-out;
}
.example-list a:hover img{
    transform: scale(1.2);
}
.example-list figcaption{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 14px;
    background: rgba(63, 40, 32, 0.9);
    color: #fff8ec;
    font-size: 14px;
    font-weight: 700;
}
.detail .card-grid-price{
    font-size: 24px;
}
#long-sessions{
    margin-bottom: 0;
}
.faq-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.faq .card{
    gap: 10px;
}
.faq .card-title{
    font-family: "Be Vietnam Pro", system-ui, sans-serif;
    font-size: 19px;
    line-height: 1.35;
}
@media only screen and (min-width: 48rem){
    .faq-grid{
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}
footer{
    background: #3f2820;
    color: #f5ede0;
    margin-top: 40px;
    padding-block: 56px;
}
.footer-wrap{
    display: grid;
    gap: 32px 64px;
}
.footer-wrap-left,.footer-wrap-right ul{
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
    line-height: 1.5;
}
footer .section-title{
    margin-bottom: 0;
    color: inherit;
}
footer .section-desc{
    color: inherit;
}
.footer-btns{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}
.footer-wrap-right span{
    display: block;
    color: #e9d6bc;
}
.footer-wrap-right a{
    color: #f5ede0;
}
.footer-wrap-right ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
@media only screen and (min-width: 62rem){
    .footer-wrap{
        grid-template-columns: 1.5fr 1fr;
    }
}
