body {
    font-family: "Inter", sans-serif;
    color: #111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #ff4b22;
    color: #fff;
}

.mobile {
    display: none;
}

/* header ***************************************************************/

header {
    background: #fff;
    transition: all ease .3s;
    z-index: 100;
    width: 100%;
}

header.scroll {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    opacity: 1;
    visibility: visible;
    animation-name: fadeInDown;
    animation-duration: 400ms;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
}

.header-logo img {
    width: 80px;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.05);
}

.header-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.header-nav-item {
    margin: 0 6px;
    position: relative;
}

.header-nav-link {
    padding: 30px 18px;
    font-family: "Bauhaus", sans-serif;
    font-size: 16px;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: 22px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #ff4b22;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.header-nav-item:hover .header-nav-link {
    color: #ff4b22;
}

.header-nav-item:hover .header-nav-link::after {
    transform: scaleX(1);
}

.header-nav-arrow {
    border: solid #212529;
    border-radius: .5px;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    position: absolute;
    transition: all .3s ease;
    right: -1px;
    top: 8px;
}

.header-nav-item:hover .header-nav-arrow {
    border-color: #ff4b22;
    transform: rotate(225deg);
    top: 11px;
}

.header-nav-sub {
    position: absolute;
    top: 45px;
    left: 0;
    z-index: 1000;
    padding: 12px 0;
    list-style: none;
    min-width: 200px;
    visibility: hidden;
    opacity: 0;
    margin-top: 10px;
    transition: all .25s ease;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.header-nav-item:hover .header-nav-sub {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
}

.header-nav-sub a {
    padding: 10px 20px;
    display: block;
    width: 100%;
    white-space: nowrap;
    color: #111;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease;
}

.header-nav-sub a:hover {
    color: #ff4b22;
    padding-left: 25px;
}

.header-right {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 16px;
}

.header-lang {
    display: flex;
    gap: 6px;
}

.header-lang-link {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.header-lang-link:hover {
    color: #ff4b22;
    background: #fff5f2;
}

.header-lang-link.active {
    color: #ff4b22;
    background: #fff5f2;
    pointer-events: none;
}

.header-login-button {
    padding: 10px 22px;
    background: #ff4b22;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 55px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 34, 0.3);
}

.header-login-button:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* hero ***************************************************************/

.hero-wrap {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 92px);
    padding: 40px 0;
}

.hero-left {
    width: 50%;
}

.hero-subtitle {
    font-size: 18px;
    color: #ff4b22;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    margin: 0 0 30px;
    font-family: "Adineue", sans-serif;
    font-weight: 600;
    line-height: 1.15;
    color: #111;
}

.hero-description {
    font-size: 18px;
    color: #6a6a6a;
    margin: 0 0 32px;
    line-height: 1.7;
}

.hero-form {
    display: flex;
}

.hero-form input[type="tel"] {
    position: relative;
    display: block;
    width: 100%;
    height: 58px;
    border: 2px solid #EDEDED;
    border-radius: 55px;
    font-size: 16px;
    color: #333;
    background: #fff;
    padding: 10px 25px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 300ms ease;
    outline: none;
}

.hero-form input[type="tel"]:focus {
    border-color: #ff4b22;
    box-shadow: 0px 10px 30px rgba(255, 75, 34, 0.1);
}

.hero-form input[type="hidden"] {
    display: none;
}

.hero-form button {
    background: #ff4b22;
    padding: 15px 30px;
    color: #fff;
    text-align: center;
    border-radius: 55px;
    transition: all 300ms ease;
    font-size: 16px;
    border: none;
    margin-left: 16px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 75, 34, 0.3);
}

.hero-form button:hover {
    background: #111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.hero-right {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 16px;
    justify-content: center;
}

.hero-image {
    width: 240px;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all ease 0.4s;
}

.hero-image:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.hero-image-link {
    position: relative;
    display: block;
    text-decoration: none;
}

.hero-image-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: rgba(14, 19, 29, 0.8);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    letter-spacing: 0.3px;
}

.hero-image-link:hover .hero-image-label {
    opacity: 1;
    transform: translateY(0);
}

.hero-shape {
    position: absolute;
}

#hero-shape-1 {
    top: -37px;
    left: 24px;
}

#hero-shape-2 {
    right: 0;
    top: calc(50% - 122px);
}

/* partners ***************************************************************/

#partners {
    padding: 40px 0;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.partners-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bbb;
    font-weight: 600;
    margin-bottom: 24px;
}

.partners-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.partners-logo {
    opacity: 0.35;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-height: 45px;
    filter: grayscale(100%);
}

.partners-logo:hover {
    opacity: 0.9;
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* services ***************************************************************/

#services {
    padding: 80px 0;
}

.services-row {
    display: flex;
    align-items: stretch;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.services-block {
    flex: 1;
    min-width: 240px;
    max-width: 280px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.services-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.services-title {
    font-family: 'Bauhaus', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.services-description {
    font-size: 14px;
    color: #6a6a6a;
    margin-bottom: 20px;
    line-height: 1.6;
}

.services-list {
    list-style: none;
    padding-left: 21px;
    margin: 0;
    font-size: 14px;
}

.services-list li {
    margin-bottom: 6px;
    position: relative;
    line-height: 1.5;
}

.services-list li:before {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    position: absolute;
    border-bottom: 2px solid #ff4b22;
    border-right: 2px solid #ff4b22;
    transform: rotate(45deg);
    left: -18px;
    top: 5px;
}

/* gifts ***************************************************************/

#gifts {
    padding: 80px 0;
    background: url("../img/services-bg.png") no-repeat center center;
    background-size: cover;
}

.section-subtitle {
    font-size: 18px;
    color: #ff4b22;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title {
    text-align: center;
    font-family: "Adineue", sans-serif;
    font-weight: 600;
    font-size: 40px;
    margin: 0;
    margin-bottom: 50px;
    color: #111;
}

.gifts-row-1 {
    display: flex;
    justify-content: space-between;
}

.gifts-row-2 {
    display: flex;
    justify-content: space-evenly;
}

.gifts-border {
    text-align: center;
    border-radius: 20px;
    padding: 30px;
    width: 30%;
    background: linear-gradient(135deg, #f1eaff 0%, #e8dfff 100%);
    margin-bottom: 5%;
    transition: transform 0.3s ease;
}

.gifts-border:hover {
    transform: translateY(-4px);
}

.gifts-block {
    padding: 25px 15px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.gifts-icon {
    margin-bottom: 15px;
}

.gifts-text {
    font-size: 16px;
    font-weight: 600;
}

.gifts-description {
    font-size: 14px;
    color: #6a6a6a;
    margin: 0;
}

/* faq ***************************************************************/

#faq {
    padding: 80px 0;
}

.faq-accordion {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.faq-accordion-item {
    margin-bottom: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion-item:hover {
    border-color: #d0d0d0;
}

.faq-accordion-item.active {
    border-color: #ff4b22;
    box-shadow: 0 4px 20px rgba(255, 75, 34, 0.08);
}

.faq-accordion-header {
    position: relative;
    padding: 22px 75px 22px 30px;
    cursor: pointer;
    transition: all ease 0.3s;
}

.faq-accordion-header:hover {
    background: #fafafa;
}

.faq-accordion-header p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.faq-accordion-header::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 25px;
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 300;
    color: #666;
    transition: all ease 0.4s;
    line-height: 1;
}

.faq-accordion-item.active .faq-accordion-header::after {
    content: "-";
    transform: rotate(360deg);
    border-color: #ff4b22;
    background: #ff4b22;
    color: #fff;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 30px;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 700px;
    padding-bottom: 20px;
}

.faq-accordion-content p {
    color: #6a6a6a;
    line-height: 1.7;
}

.faq-accordion-content img {
    width: 300px;
    border-radius: 8px;
}

.faq-accordion-content a {
    color: #ff4b22;
    text-decoration: underline;
    margin-bottom: 16px;
    display: inline-block;
}

/* portfolio ***************************************************************/

#portfolio {
    padding: 80px 0;
    background: url("../img/portfolio-bg.png") no-repeat center center;
    background-size: cover;
}

.portfolio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.portfolio-image {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 75, 34, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.portfolio-block:hover .portfolio-image {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 75, 34, 0.2);
}

.portfolio-block {
    width: calc(33.333% - 30px);
    min-width: 280px;
}

.portfolio-link {
    font-size: 20px;
    color: #ff4b22;
    text-decoration: none;
    font-family: 'Adineue', sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.portfolio-link:hover {
    color: #d63a12;
    border-bottom-color: #ff4b22;
}

.portfolio-title {
    margin-top: 12px;
    font-weight: 500;
}

.portfolio-description {
    font-size: 14px;
    color: #6a6a6a;
    line-height: 1.6;
}

/* contacts ***************************************************************/

#contacts {
    padding: 80px 0;
    background: #f9f9f9;
}

.contacts-form {
    display: flex;
    justify-content: center;
}

.contacts-form form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    width: 420px;
    padding: 35px;
    background: linear-gradient(135deg, #f1eaff 0%, #e8dfff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contacts-form input[type="text"],
.contacts-form input[type="tel"] {
    width: 100%;
    height: 48px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0 20px;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.contacts-form input:focus {
    border-color: #ff4b22;
    box-shadow: 0 0 0 3px rgba(255, 75, 34, 0.1);
}

.contacts-form button {
    width: 100%;
    padding: 14px 35px;
    background: #ff4b22;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 55px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 34, 0.3);
}

.contacts-form button:hover {
    background: #e0401a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 34, 0.35);
}

.contacts-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contacts-block {
    width: calc(33.333% - 30px);
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all ease 0.3s;
}

.contacts-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.contacts-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4b22 0%, #ff6b45 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(255, 75, 34, 0.25);
}

.contacts-icon img {
    width: 36px;
    filter: brightness(0) invert(1);
}

.contacts-title {
    font-size: 22px;
    font-family: 'Adineue', sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
}

.contacts-link {
    color: #6A6A6A;
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.contacts-link:hover {
    color: #ff4b22;
}

/* footer ***************************************************************/

footer {
    padding: 60px 0 0;
    background: #0E131D;
    color: #fff;
}

footer p {
    margin: 0;
    color: #A9A7B0;
}

.footer-mega {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.footer-col:first-child {
    flex: 1.5;
    min-width: 220px;
}

.footer-tagline {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.footer-heading {
    font-family: 'Bauhaus', sans-serif;
    font-size: 15px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-link {
    display: block;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-link:hover {
    color: #ff4b22;
    padding-left: 4px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    color: #555;
}

.footer-brand img {
    opacity: 0.8;
}

/* Inner pages - content wrapper */
main {
    min-height: 60vh;
}

main .container-fluid {
    max-width: 1320px;
    margin: 0 auto;
}

/* Smooth scroll for all anchor links */
html {
    scroll-behavior: smooth;
}

/* Section scroll margin for fixed header */
section {
    scroll-margin-top: 92px;
}

/* Message container override */
#message-container.display-message {
    display: grid !important;
    opacity: 1 !important;
    z-index: 99999 !important;
}

/* Bootstrap overrides for inner pages */
.btn-primary {
    background-color: #ff4b22;
    border-color: #ff4b22;
}

.btn-primary:hover {
    background-color: #e0401a;
    border-color: #e0401a;
}

.bg-primary {
    background-color: #ff4b22 !important;
}

/* Inner page content padding */
.inner-page-content {
    padding: 40px 0;
}

/* Mobile header lang */
.header-lang-mobile {
    display: inline-block;
    font-size: 14px;
}

.header-lang-mobile.active {
    color: #ff4b22;
}

/* Inner page compatibility - classes used by existing inner pages */
.borderout-inner {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 16px;
}

.borderout-primary {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #ff4b22;
}

.text-l1 { color: #111; }
.text-l2 { color: #333; }
.text-l3 { color: #fff; }

.glow {
    box-shadow: 0 0 8px rgba(255, 75, 34, 0.2);
}

.logotype-width {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Loader (kept for inner pages that use it) */
#loader {
    position: fixed;
    display: none;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    top: 0;
    left: 0;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top: 3px solid #ff4b22;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Offcanvas styles for inner pages */
.offcanvas {
    z-index: 1050;
}

.offcanvas-menu .list {
    list-style: none;
    padding: 0;
}

.offcanvas-menu .list li {
    margin-bottom: 4px;
}

.offcanvas-menu .list a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.offcanvas-menu .list a:hover {
    background: #fff5f2;
    color: #ff4b22;
}

/* CKEditor content styling */
.ck-content img,
main img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Form styling for inner pages */
main .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 16px;
    transition: border-color 0.3s ease;
}

main .form-control:focus {
    border-color: #ff4b22;
    box-shadow: 0 0 0 3px rgba(255, 75, 34, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff4b22;
}
