:root {
    --primary: #FDAC53;
    --primary-hover: #fc8807;
    --secondary: #131313;
    --dark: #1f1f1f;
    --body: #4A4A4A;
    --muted: #6c757d;
    --line: #dee2e6;
    --light: #f8f9fa;
    --white: #ffffff;
    --primary-readable: #a95500;
    --primary-readable-hover: #743900;
    --focus-ring: rgba(253, 172, 83, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--body);
    background: var(--white);
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    scroll-behavior: smooth;
    overflow-wrap: break-word;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

a {
    color: var(--primary-readable);
    text-decoration: none;
    overflow-wrap: anywhere;
}

a:hover {
    color: var(--primary-readable-hover);
    text-decoration: underline;
}

h1,
.font-weight-black {
    color: var(--secondary);
    font-weight: 800 !important;
    letter-spacing: 0;
    line-height: 1.12;
}

h2,
.font-weight-bolder {
    font-weight: 800 !important;
    letter-spacing: 0;
    line-height: 1.16;
}

h3,
.font-weight-bold {
    font-weight: 700 !important;
    letter-spacing: 0;
    line-height: 1.22;
}

h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
    letter-spacing: 0;
    line-height: 1.3;
}

h5,
.font-weight-medium {
    font-weight: 500 !important;
    letter-spacing: 0;
}

h6,
.font-weight-normal {
    font-weight: 400 !important;
    letter-spacing: 0;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

.rounded {
    border-radius: 8px !important;
}

.text-primary {
    color: var(--primary) !important;
}

.brand-wordmark .text-primary,
.bg-secondary .text-primary,
.footer-main .text-primary,
.carousel-caption .text-primary {
    color: var(--primary) !important;
}

.contact-info .text-primary {
    color: var(--primary-readable) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-muted {
    color: var(--muted) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary.text-white,
small.bg-primary {
    color: var(--secondary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    transition: 0.3s;
    white-space: normal;
}

.btn:focus-visible {
    box-shadow: 0 0 0 0.2rem var(--focus-ring);
}

.btn-primary {
    color: var(--secondary);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--secondary);
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: none;
}

.btn-secondary {
    color: var(--white);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: var(--white);
    background-color: #2a2a2a;
    border-color: #2a2a2a;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--secondary);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: var(--white);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-link {
    color: var(--primary-readable);
    min-height: 44px;
}

.btn-link:hover {
    color: var(--primary-readable-hover);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline-primary:focus-visible,
.btn-outline-secondary:focus-visible,
.btn-link:focus-visible {
    box-shadow: 0 0 0 0.2rem var(--focus-ring) !important;
}

.btn-square,
.btn-lg-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 52px;
    height: 52px;
}

.gap-3 {
    gap: 1rem;
}

.nav-bar {
    top: 0;
    left: 0;
    width: 100%;
}

@media (min-width: 992px) {
    .nav-bar {
        position: absolute;
        z-index: 999;
    }

    .nav-bar .navbar {
        background: none !important;
    }
}

.navbar-dark .navbar-brand:hover {
    text-decoration: none;
}

.brand-wordmark {
    max-width: 270px;
    overflow-wrap: anywhere;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
    text-transform: none;
}

.brand-wordmark-line {
    display: block;
}

.brand-wordmark-accent {
    color: var(--primary);
}

.navbar-dark .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 30px 12px;
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar-dark .navbar-toggler:focus-visible,
.navbar-dark .navbar-nav .nav-link:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

small.bg-primary {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0.2rem 0.45rem !important;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800 !important;
}

@media (max-width: 991.98px) {
    .nav-bar {
        position: relative;
        z-index: 999;
        background: var(--secondary);
    }

    .navbar {
        padding: 0.75rem 1rem;
    }

    .brand-wordmark {
        max-width: 195px;
        font-size: 24px;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 11px 0;
        font-size: 17px;
    }
}

.hero-carousel {
    background: var(--secondary);
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-caption {
    width: 100%;
    max-width: 900px;
}

.carousel-caption .display-3 {
    font-size: 68px;
    line-height: 1.08;
    max-width: 760px;
}

.carousel-caption p {
    max-width: 760px;
    font-size: 21px;
    line-height: 1.55;
}

.carousel-img {
    width: 100%;
    height: 768px;
    object-fit: cover;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

.carousel-indicators {
    width: 60px;
    top: 0;
    right: calc(100% - 60px);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-indicators li {
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 100%;
    background: transparent !important;
    background-clip: content-box;
    opacity: 1;
}

.carousel-indicators li::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    content: "";
    border-radius: 100%;
    background: var(--white);
    transform: translate(-50%, -50%);
}

.carousel-indicators .active::after {
    width: 16px;
    height: 16px;
    background-color: var(--primary);
}

@media (max-width: 991.98px) {
    .carousel-img {
        height: 620px;
    }

    .carousel-indicators {
        width: 44px;
        right: calc(100% - 44px);
    }

    .carousel-indicators li {
        width: 44px;
        height: 44px;
    }

    .carousel-caption .display-3 {
        font-size: 44px;
        line-height: 1.1;
    }

    .carousel-caption p {
        font-size: 18px;
        line-height: 1.5;
    }
}

@media (max-width: 575.98px) {
    .carousel-img {
        height: 560px;
    }

    .hero-caption {
        padding: 2rem 2.25rem 2rem 3.5rem !important;
    }

    .carousel-indicators {
        width: 44px;
        right: calc(100% - 44px);
    }

    .carousel-indicators li {
        width: 44px;
        height: 44px;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .carousel-caption h5 {
        font-size: 16px;
        line-height: 1.25;
    }

    .carousel-caption .display-3 {
        font-size: 34px;
        font-weight: 800 !important;
        line-height: 1.1;
    }

    .carousel-caption p {
        font-size: 16px;
        line-height: 1.55;
    }
}

@media (max-width: 380px) {
    .hero-caption {
        padding-right: 1.5rem !important;
        padding-left: 3rem !important;
    }

    .carousel-caption .display-3 {
        font-size: 30px;
    }
}

.about-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
}

.about-contact {
    min-height: 120px;
    background: var(--white);
}

.service-item i {
    width: 64px;
    flex: 0 0 64px;
    text-align: center;
}

.service-link {
    align-self: flex-start;
}

.fact-item {
    min-height: 210px;
    background: var(--white);
}

.fact-item .display-3 {
    line-height: 1;
}

.cms-slider {
    position: relative;
    width: 100%;
}

.cms-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.cms-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.cms-slider-slide {
    flex: 0 0 calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
}

.cms-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.cms-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

.cms-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
}

.cms-slider-dot {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: 0.25s ease;
}

.cms-slider-dot::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    content: "";
    border-radius: 10px;
    background: #dddddd;
    transform: translate(-50%, -50%);
    transition: 0.25s ease;
}

.cms-slider-dot.active::after {
    width: 28px;
    background: var(--primary);
}

.cms-slider.is-static .cms-slider-controls {
    display: none;
}

.team-photo {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-body {
    min-height: 178px;
    padding: 30px;
    background: var(--white);
}

.team-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.team-item .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    background: rgba(253, 172, 83, 0.72);
    border: 15px solid var(--white);
    transition: 0.5s;
}

.team-item:hover .team-overlay,
.team-item:focus-within .team-overlay {
    opacity: 1;
}

.team-social,
.footer-social {
    width: 44px;
    height: 44px;
    line-height: 42px;
}

.price-head {
    min-height: 172px;
    text-align: center;
}

.price-head h3,
.price-head h1 {
    color: var(--secondary);
}

.price-value {
    font-size: 42px;
    line-height: 1.15;
    white-space: nowrap;
}

.price-head-featured {
    background-color: #ffc078 !important;
}

.price-currency {
    margin-right: 6px;
    font-size: 16px;
    line-height: 1.4;
}

.price-period {
    margin-left: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.price-body {
    min-height: 255px;
    background: var(--white);
}

.price-services {
    min-height: 132px;
    line-height: 1.8;
}

.testimonial-text {
    min-height: 156px;
    padding: 25px 30px;
    background: var(--white);
    line-height: 1.6;
}

.testimonial-text::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    bottom: -20px;
    left: 30px;
    border: 10px solid;
    border-color: var(--white) transparent transparent transparent;
    z-index: 2;
}

.testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    bottom: -24px;
    left: 28px;
    border: 12px solid;
    border-color: var(--line) transparent transparent transparent;
    z-index: 1;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.blog-section-desc {
    max-width: 700px;
}

.blog-img {
    height: 320px;
    object-fit: cover;
}

.blog-date {
    width: 88px;
    min-height: 80px;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: var(--secondary);
    text-align: center;
}

.blog-body {
    min-height: 188px;
    padding: 30px;
    background: var(--white);
}

.blog-author-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.blog-title {
    color: var(--secondary);
    text-decoration: none;
    white-space: normal;
}

.blog-title:hover,
.blog-title:focus {
    color: var(--primary-hover);
    text-decoration: none;
}

.footer-main a:hover,
.footer-bottom a:hover {
    color: var(--primary-hover) !important;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
    background: var(--white);
}

.back-to-top {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    z-index: 99;
}

.back-to-top.show {
    display: inline-flex;
}

.modal-content {
    border: 0;
    border-radius: 8px;
}

.modal-header {
    border-bottom-color: var(--line);
}

.modal-title {
    color: var(--secondary);
    font-weight: 700;
}

.form-label {
    font-weight: 600;
    line-height: 1.35;
}

.form-control {
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    font-size: 16px;
    line-height: 1.45;
    border-radius: 4px;
}

textarea.form-control {
    min-height: 112px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--focus-ring);
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
}

.form-check-label {
    display: inline-block;
    min-height: 44px;
    line-height: 1.45;
}

.btn-disabled {
    opacity: 0.65;
}

.map-container {
    min-height: 450px;
    border: 1px solid var(--line);
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 32px;
        line-height: 1.15;
    }

    h4 {
        font-size: 20px;
        line-height: 1.35;
    }

    .btn {
        width: auto;
        min-height: 46px;
        padding: 0.75rem 1.1rem;
    }

    .service-item {
        align-items: flex-start;
    }

    .cms-slider-track {
        gap: 0;
    }

    .cms-slider-slide {
        flex-basis: 100%;
        max-width: 100%;
    }

    .price-body,
    .testimonial-text,
    .blog-body {
        min-height: auto;
    }

    .team-body,
    .blog-body,
    .testimonial-text {
        padding: 24px;
    }

    .blog-img {
        height: 240px;
    }

    .modal-dialog {
        margin: 0.75rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
    }
}
