/* ==========================================================================
   Top Business Finder — Main Stylesheet
   Layout, typography and motion modelled on the Luxonix (landing-2) theme
   Fonts: Kanit (headings & body) + Inter (fallback)
   Colours: Top Business Finder brand — navy, blue and orange
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --accent: #f15a22;
    --accent-light: #ff8a1f;
    --accent-soft: #fff1ea;
    --blue: #0a6fd1;
    --heading: #0c1b33;
    --dark: #0b1730;
    --dark-2: #0f2142;
    --text: #7b7e86;
    --text-light: rgba(255, 255, 255, 0.72);
    --line: #e9ebef;
    --line-dark: rgba(255, 255, 255, 0.12);
    --bg-soft: #f5f7f9;
    --bg-hero: #f7f7f5;
    --white: #ffffff;

    --font: "Kanit", "Inter", sans-serif;

    --radius: 6px;
    --radius-lg: 12px;
    --radius-pill: 40px;

    --shadow: 0 10px 40px rgba(12, 27, 51, 0.08);
    --shadow-lg: 0 25px 60px rgba(12, 27, 51, 0.14);

    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --container: 1320px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.is-loading {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.5em;
    font-family: var(--font);
    font-weight: 500;
    line-height: 1.2;
    color: var(--heading);
}

p {
    margin: 0 0 1.1em;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

button {
    cursor: pointer;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    padding: 120px 0;
}

.section--soft {
    background: var(--bg-soft);
}

.section--dark {
    background-color: var(--dark);
    color: var(--text-light);
    overflow: hidden;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

/* Wave line pattern used on dark sections (pure CSS, no image) */
.bg-waves {
    background-image:
        repeating-radial-gradient(circle at 110% 120%, transparent 0 22px, rgba(255, 255, 255, 0.035) 22px 23px),
        repeating-radial-gradient(circle at -10% -20%, transparent 0 22px, rgba(255, 255, 255, 0.03) 22px 23px);
}

/* Fine dot texture used on light hero & banners */
.bg-texture {
    background-color: var(--bg-hero);
    background-image: radial-gradient(rgba(12, 27, 51, 0.05) 1px, transparent 1px);
    background-size: 4px 4px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 18px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.icon {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. Preloader (pulsing dots, as in Luxonix digital agency preloader)
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.is-done {
    opacity: 0;
    visibility: hidden;
}

.preloader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.preloader__logo {
    width: 240px;
}

.preloader__dots {
    display: flex;
    gap: 40px;
}

.preloader__dot {
    position: relative;
    width: 10px;
    height: 10px;
}

.preloader__dot span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%) scale(0);
    animation: loaderPulse 2s linear infinite;
}

.preloader__dot span:nth-child(2) {
    animation-delay: 0.5s;
}

.preloader__dot span:nth-child(3) {
    animation-delay: 1s;
}

.preloader__dot:nth-child(2) span {
    background: var(--accent-light);
}

.preloader__dot:nth-child(3) span {
    background: var(--blue);
}

@keyframes loaderPulse {
    40% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }

    80% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   4. Shared UI: eyebrow pill, titles, buttons, tags, sliders
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 3px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--white);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.section--dark .eyebrow {
    background: transparent;
    border-color: var(--line-dark);
}

.section-title {
    margin: 0;
    font-size: clamp(32px, 4.2vw, 60px);
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-title span {
    color: var(--accent);
}

.section-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.section-head__text {
    position: relative;
    max-width: 780px;
}

.section-head__text p {
    margin: 18px 0 0;
}

.section-head--center {
    justify-content: center;
    text-align: center;
}

.section-head--center .section-head__text {
    max-width: 1100px;
    margin: 0 auto;
}

/* Two-line testimonial title on desktop, natural wrapping on smaller screens */
.title-break {
    display: block;
}

/* Four-point sparkle shape (Luxonix decorative star) */
.sparkle {
    width: 46px;
    height: 46px;
    color: var(--heading);
    animation: sparkleSpin 6s linear infinite;
}

.section--dark .sparkle {
    color: var(--white);
}

.sparkle--title {
    position: absolute;
    left: -26px;
    top: 26px;
    width: 34px;
    height: 34px;
}

@keyframes sparkleSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Pill button with white circle arrow */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 6px 6px 6px 30px;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.btn__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--heading);
    box-shadow: 0 4px 14px rgba(12, 27, 51, 0.12);
    transition: transform 0.4s var(--ease);
}

.btn__icon svg {
    transform: rotate(-45deg);
}

.btn:hover .btn__icon {
    transform: rotate(45deg);
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--heading);
}

.btn--dark {
    background: var(--heading);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--accent);
}

.btn--light {
    background: var(--white);
    color: var(--heading);
}

.btn--light .btn__icon {
    background: var(--accent);
    color: var(--white);
}

.btn--light:hover {
    background: var(--accent);
    color: var(--white);
}

.btn--light:hover .btn__icon {
    background: var(--white);
    color: var(--accent);
}

.btn--outline {
    background: transparent;
    color: var(--heading);
    box-shadow: inset 0 0 0 1px var(--line);
}

.btn--outline .btn__icon {
    background: var(--accent);
    color: var(--white);
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--heading);
    color: var(--white);
}

/* Circle button (Contact Us / CTA) with expanding fill */
.circle-btn {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 130px;
    height: 130px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    color: var(--heading);
    overflow: hidden;
    isolation: isolate;
    transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.circle-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 300%;
    height: 300%;
    border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-in-out;
}

.circle-btn:hover {
    color: var(--white);
    border-color: var(--accent);
}

.circle-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.circle-btn svg {
    transform: rotate(-45deg);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
}

.link-more svg {
    transition: transform 0.4s var(--ease);
}

.link-more:hover {
    color: var(--accent);
}

.link-more:hover svg {
    transform: translateX(5px);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
    background: var(--white);
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}

.tag::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

a.tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

a.tag:hover::before {
    background: var(--white);
}

/* Round arrow buttons used by the card sliders */
.slider-arrows {
    display: flex;
    gap: 14px;
}

.slider-arrow {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--heading);
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.slider {
    overflow: hidden;
    padding: 10px 0 30px;
    margin: -10px 0 -30px;
}

.slider__track {
    display: flex;
    gap: 24px;
    transition: transform 0.8s var(--ease);
}

/* --------------------------------------------------------------------------
   5. Header: logo block, top bar and navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: relative;
    z-index: 1000;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
}

.site-header__logo {
    grid-row: span 2;
    display: grid;
    place-items: center;
    padding: 20px 22px;
    background: var(--white);
    box-shadow: 10px 0 30px rgba(12, 27, 51, 0.06);
}

.site-header__logo img {
    width: 200px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 40px;
    background: var(--dark);
    color: var(--white);
    font-size: 14px;
}

.topbar__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.topbar__info li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar__info li + li {
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.topbar__info svg {
    color: var(--accent-light);
}

.topbar__info a:hover {
    color: var(--accent-light);
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar__social a:hover {
    color: var(--accent-light);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 40px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 28px 14px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
    white-space: nowrap;
}

.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--accent);
}

.main-nav__link .icon {
    transition: transform 0.3s var(--ease);
}

.main-nav__item:hover .main-nav__link .icon {
    transform: rotate(180deg);
}

.main-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 14px 0;
    background: var(--white);
    border-top: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.main-nav__item:hover .main-nav__dropdown,
.main-nav__item:focus-within .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__dropdown a {
    display: block;
    padding: 8px 24px;
    font-size: 15px;
    color: var(--heading);
    transition: color 0.3s, padding 0.3s var(--ease);
}

.main-nav__dropdown a:hover {
    color: var(--accent);
    padding-left: 30px;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-search {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--heading);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.header-search:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
}

.nav-toggle span {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--white);
    transition: transform 0.35s var(--ease), opacity 0.35s;
}

.nav-toggle span:nth-child(1) {
    top: 18px;
}

.nav-toggle span:nth-child(2) {
    top: 24px;
}

.nav-toggle span:nth-child(3) {
    top: 30px;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Sticky compact header shown after scrolling */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    grid-template-columns: 220px minmax(0, 1fr);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(12, 27, 51, 0.08);
    animation: headerDrop 0.6s var(--ease);
}

.site-header.is-sticky .topbar {
    display: none;
}

.site-header.is-sticky .site-header__logo {
    grid-row: auto;
    padding: 10px 20px;
    box-shadow: none;
}

.site-header.is-sticky .site-header__logo img {
    width: 170px;
}

.site-header.is-sticky .main-nav__link {
    padding-top: 24px;
    padding-bottom: 24px;
}

.header-spacer {
    display: none;
}

@keyframes headerDrop {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   6. Search overlay
   -------------------------------------------------------------------------- */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(11, 23, 48, 0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

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

.search-overlay__form {
    width: 100%;
    max-width: 760px;
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.search-overlay__form input {
    flex: 1;
    min-width: 0;
    padding: 18px 0;
    border: 0;
    background: transparent;
    font-size: clamp(22px, 4vw, 38px);
    color: var(--white);
    outline: none;
}

.search-overlay__form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search-overlay__form button {
    border: 0;
    background: transparent;
    color: var(--accent);
}

.search-overlay__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    font-size: 26px;
    line-height: 1;
    transition: transform 0.4s var(--ease), border-color 0.3s;
}

.search-overlay__close:hover {
    transform: rotate(90deg);
    border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   7. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 70px 0 90px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    left: -160px;
    bottom: -220px;
    width: 560px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 166, 0, 0.55), rgba(255, 138, 31, 0.15) 50%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.hero .container {
    position: relative;
}

.hero__shape-circles {
    position: absolute;
    right: 0;
    top: 150px;
    width: 300px;
    height: 220px;
    pointer-events: none;
}

.hero__shape-circles span {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 166, 0, 0.55);
    border-radius: 50%;
    animation: heroCircle 4s linear infinite;
}

.hero__shape-circles span:nth-child(2) {
    left: 50px;
    animation-delay: -1.3s;
}

.hero__shape-circles span:nth-child(3) {
    left: 100px;
    animation-delay: -2.6s;
}

@keyframes heroCircle {
    from {
        transform: rotate(0deg) translateX(4px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(4px) rotate(-360deg);
    }
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
}

.hero__eyebrow-lines {
    display: grid;
    gap: 4px;
    width: 40px;
}

.hero__eyebrow-lines span {
    height: 2px;
    background: var(--accent);
}

.hero__eyebrow-lines span:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.hero__row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px 34px;
}

.hero__row + .hero__row {
    margin-top: 26px;
}

.hero__title {
    margin: 0;
    font-size: clamp(46px, 6.6vw, 96px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--heading);
}

.hero__title span {
    font-weight: 400;
    color: var(--accent);
}

.hero__customers {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px 8px 8px;
    border: 2px solid var(--heading);
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--white);
    line-height: 1.2;
}

.hero__avatars {
    display: flex;
}

.hero__avatars img,
.hero__avatars span {
    width: 40px;
    height: 40px;
    margin-left: -10px;
    border: 2px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
}

.hero__avatars img:first-child {
    margin-left: 0;
}

.hero__avatars span {
    display: grid;
    place-items: center;
    background: var(--heading);
}

.hero__customers small {
    display: block;
    font-size: 12px;
}

.hero__customers strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
}

.hero__stars {
    display: flex;
    gap: 2px;
    margin-top: 2px;
    color: #ffd166;
}

.hero__text {
    flex: 1 1 320px;
    max-width: 440px;
    margin: 0;
    font-size: 17px;
}

/* Image circle linking to categories (Luxonix "Intro Video") */
.hero__circle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 130px;
    height: 130px;
    padding: 8px;
    border: 1px solid var(--accent);
    border-radius: 50%;
}

.hero__circle::before,
.hero__circle::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.hero__circle::before {
    top: 10px;
    left: 18px;
}

.hero__circle::after {
    bottom: 10px;
    right: 18px;
}

.hero__circle-inner {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.hero__circle-inner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: transform 0.8s var(--ease);
}

.hero__circle:hover .hero__circle-inner img {
    transform: scale(1.15);
}

.hero__circle-inner span {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
}

.hero__circle-ring {
    position: absolute;
    inset: -8px;
    border: 1px dashed rgba(241, 90, 34, 0.5);
    border-radius: 50%;
    animation: heroRing 12s linear infinite;
}

@keyframes heroRing {
    to {
        transform: rotate(360deg);
    }
}

/* Hero search bar */
.hero-search {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 10px;
    max-width: 960px;
    margin-top: 56px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-search__field {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    color: var(--text);
}

.hero-search__field + .hero-search__field {
    border-left: 1px solid var(--line);
}

.hero-search__field input,
.hero-search__field select {
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    border: 0;
    background: transparent;
    color: var(--heading);
    outline: none;
}

/* --------------------------------------------------------------------------
   8. Hero image slider with "project idea" card
   -------------------------------------------------------------------------- */
.image-slider {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: var(--dark);
}

.image-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}

.image-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 6s linear;
}

.image-slider__slide.is-active {
    opacity: 1;
}

.image-slider__slide.is-active img {
    transform: scale(1);
}

.image-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transform: translateY(-50%);
    transition: background 0.3s var(--ease);
}

.image-slider__arrow:hover {
    background: var(--accent);
}

.image-slider__arrow--prev {
    left: 36px;
}

.image-slider__arrow--next {
    right: 36px;
}

.project-card {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: min(400px, 90%);
    padding: 40px 36px;
    background: var(--white);
    text-align: center;
    transform: translateX(-50%);
}

.project-card__label {
    display: block;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.project-card h2 {
    margin-bottom: 26px;
    font-size: 28px;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   9. Clients / logo grid
   -------------------------------------------------------------------------- */
.clients-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.clients-head__stat {
    display: grid;
    justify-items: end;
    gap: 14px;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.logo-grid__item {
    display: grid;
    place-items: center;
    height: 180px;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s var(--ease);
}

.logo-grid__item img {
    max-height: 90px;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.logo-grid__item:hover {
    background: var(--bg-soft);
}

.logo-grid__item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.06);
}

.logo-grid__item--cta {
    align-content: center;
    gap: 6px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--heading);
}

.logo-grid__item--cta span {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. About (dark) with progress bars, image card and counters
   -------------------------------------------------------------------------- */
.about {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.about__text > p {
    margin-top: 30px;
}

.progress {
    margin-top: 32px;
}

.progress__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--white);
}

.progress__head span:last-child {
    color: var(--accent-light);
}

.progress__bar {
    height: 12px;
    padding: 3px;
    border-radius: 12px;
    background: var(--white);
}

.progress__fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transition: width 2s var(--ease);
}

.about__actions {
    margin-top: 50px;
}

.about__media {
    position: relative;
}

.about__image {
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 4.4;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__shape {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--accent);
    overflow: hidden;
}

.about__shape span {
    width: 34px;
    height: 34px;
    background: var(--white);
    animation: roundedSquare 8s ease-in-out infinite;
}

@keyframes roundedSquare {
    20% {
        transform: translate(0, 24px);
    }

    40% {
        transform: translate(-24px, 24px);
    }

    60% {
        transform: translate(-24px, 0);
    }

    80%,
    100% {
        transform: translate(0, 0);
    }
}

.about__card {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 26px 34px;
    background: var(--white);
    border-radius: 0 var(--radius) 0 var(--radius);
}

.about__card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--accent) !important;
}

.about__card p {
    margin: 0;
    color: var(--text);
}

.ring {
    position: relative;
    width: 86px;
    height: 86px;
    flex-shrink: 0;
}

.ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring circle {
    fill: none;
    stroke-width: 6;
}

.ring__track {
    stroke: var(--line);
}

.ring__value {
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 2s var(--ease);
}

.ring__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
}

.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 100px;
    border-top: 1px solid var(--line-dark);
}

.counter {
    padding: 40px 30px 0;
    border-right: 1px solid var(--line-dark);
}

.counter:last-child {
    border-right: 0;
}

.counter__value {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1;
    color: var(--white);
}

.counter__value sup {
    font-size: 0.45em;
    color: var(--accent-light);
}

.counter__label {
    margin-top: 10px;
    font-size: 15px;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. Service cards (slider + grid)
   -------------------------------------------------------------------------- */
.service-card {
    flex: 0 0 calc((100% - 48px) / 3);
    display: flex;
    flex-direction: column;
    padding: 50px 40px 40px;
    border: 1px solid var(--line);
    background: var(--white);
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-card__icon {
    width: 76px;
    height: 76px;
    margin-bottom: 60px;
    color: var(--heading);
    transition: color 0.4s var(--ease), transform 0.6s var(--ease);
}

.service-card:hover .service-card__icon {
    color: var(--accent);
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 26px;
    text-transform: uppercase;
}

.service-card p {
    flex: 1;
    margin-bottom: 30px;
    font-size: 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* --------------------------------------------------------------------------
   12. Featured listings (portfolio style with image width reveal)
   -------------------------------------------------------------------------- */
.featured-head {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 70px;
}

.featured-head__left {
    position: relative;
    display: grid;
    gap: 50px;
}

.featured-head__left h3 {
    margin: 0;
    font-size: 28px;
}

.portfolio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px 100px;
}

.portfolio-item:nth-child(even) {
    margin-top: 110px;
}

.portfolio-item__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
}

.portfolio-item__media > img {
    width: 0;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: width 1s ease-in-out 0.3s, transform 1s var(--ease);
}

.portfolio-item__media.is-visible > img {
    width: 100%;
}

.portfolio-item:hover .portfolio-item__media > img {
    transform: scale(1.06);
}

.portfolio-item__logo {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: grid;
    place-items: center;
    width: 150px;
    height: 90px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.portfolio-item__logo img {
    max-height: 66px;
    width: auto;
    object-fit: contain;
}

.portfolio-item h3 {
    margin: 36px 0 18px;
    font-size: clamp(24px, 2.3vw, 32px);
    text-transform: uppercase;
}

.portfolio-item h3 a:hover {
    color: var(--accent);
}

.portfolio-item p {
    margin-bottom: 22px;
}

.portfolio-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.center-action {
    margin-top: 80px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   13. Testimonials (dark, single slide)
   -------------------------------------------------------------------------- */
.testimonials {
    position: relative;
    text-align: center;
}

.ring-shapes {
    position: absolute;
    width: 180px;
    height: 120px;
    pointer-events: none;
}

.ring-shapes--left {
    left: -40px;
    top: -60px;
}

.ring-shapes--right {
    right: -40px;
    bottom: -60px;
}

.ring-shapes span {
    position: absolute;
    top: 0;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    animation: heroCircle 6s linear infinite;
}

.ring-shapes span:nth-child(2) {
    left: 30px;
    animation-delay: -2s;
}

.ring-shapes span:nth-child(3) {
    left: 60px;
    animation-delay: -4s;
}

.quote-slider {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 90px;
}

.quote-slide {
    display: none;
}

.quote-slide.is-active {
    display: block;
    animation: fadeInUp 0.8s var(--ease);
}

.quote-slide__avatar {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 110px;
    height: 110px;
    margin-bottom: 40px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.quote-slide__initials {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #0b3a75);
    font-size: 32px;
    font-weight: 500;
    color: var(--white);
}

.quote-slide__avatar svg {
    position: absolute;
    right: -40px;
    top: 0;
    color: var(--accent);
}

.quote-slide blockquote {
    margin: 0 0 30px;
    font-size: clamp(18px, 2vw, 23px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--white);
}

.quote-slide h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent) !important;
}

.quote-slide__role {
    font-size: 14px;
    text-transform: uppercase;
}

.quote-slider__arrow {
    position: absolute;
    top: 52%;
    border: 0;
    background: transparent;
    color: var(--white);
    transition: color 0.3s;
}

.quote-slider__arrow:hover {
    color: var(--accent);
}

.quote-slider__arrow--prev {
    left: 0;
}

.quote-slider__arrow--next {
    right: 0;
}

/* --------------------------------------------------------------------------
   14. Category cards & tiles
   -------------------------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    display: block;
}

.category-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.category-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(241, 90, 34, 0.75);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s var(--ease);
}

.category-card__arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--heading);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s var(--ease) 0.1s;
}

.category-card__arrow svg {
    transform: rotate(-45deg);
}

.category-card:hover .category-card__media img {
    transform: scale(1.1);
}

.category-card:hover .category-card__media::after {
    transform: scaleY(1);
}

.category-card:hover .category-card__arrow {
    transform: translate(-50%, -50%) scale(1);
}

.category-card__body {
    padding: 22px 4px 4px;
}

.category-card h3 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-card__label {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--accent);
}

.category-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-tile {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    transition: border-color 0.4s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.category-tile:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.category-tile img {
    width: 84px;
    height: 84px;
    object-fit: cover;
}

.category-tile h3 {
    margin: 0 0 2px;
    font-size: 18px;
    transition: color 0.3s;
}

.category-tile span {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--accent);
}

.category-tile:hover h3 {
    color: var(--accent);
}

.category-group + .category-group {
    margin-top: 80px;
}

.category-group__title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 30px;
    text-transform: uppercase;
}

.category-group__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* --------------------------------------------------------------------------
   15. Listing cards & rows
   -------------------------------------------------------------------------- */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.listing-grid > *,
.layout-sidebar > *,
.sidebar > *,
.about > *,
.contact-layout > *,
.featured-head > *,
.portfolio > *,
.footer-top > * {
    min-width: 0;
}

.listing-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--white);
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.listing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.listing-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.listing-card__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.listing-card:hover .listing-card__media > img {
    transform: scale(1.08);
}

.listing-logo {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 110px;
    height: 64px;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.listing-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.listing-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.listing-card__title {
    margin: 16px 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.listing-card__title a:hover {
    color: var(--accent);
}

.listing-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    font-size: 15px;
}

.listing-meta svg {
    color: var(--accent);
}

.listing-card__foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.listing-rows {
    display: grid;
    gap: 24px;
}

.listing-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    border: 1px solid var(--line);
    background: var(--white);
    transition: box-shadow 0.4s var(--ease);
}

.listing-row > * {
    min-width: 0;
}

.listing-row:hover {
    box-shadow: var(--shadow-lg);
}

.listing-row__media {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 230px;
}

.listing-row__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.listing-row:hover .listing-row__media > img {
    transform: scale(1.08);
}

.listing-row__body {
    padding: 28px 30px;
}

.listing-row h3 {
    margin: 14px 0 8px;
    font-size: 22px;
}

.listing-row h3 a:hover {
    color: var(--accent);
}

.listing-row .listing-meta {
    margin-bottom: 10px;
}

.listing-row p {
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   16. Blog cards (horizontal, Luxonix style) & RSS cards
   -------------------------------------------------------------------------- */
.blog-card {
    flex: 0 0 calc((100% - 24px) / 2);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    border: 1px solid var(--line);
    background: var(--white);
    transition: box-shadow 0.4s var(--ease);
}

.blog-card > * {
    min-width: 0;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
}

.blog-card__media {
    display: block;
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.08);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    padding: 30px 32px;
}

.blog-card h3 {
    margin: 18px 0 12px;
    font-size: 22px;
    line-height: 1.35;
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-card p {
    font-size: 15px;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.blog-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card__meta .link-more {
    margin-left: auto;
    font-size: 13px;
    text-transform: none;
}

.blog-list {
    display: grid;
    gap: 24px;
}

/* RSS feed cards */
.rss-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rss-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-dark);
    background: var(--dark-2);
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.rss-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
}

.rss-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--dark);
}

.rss-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.rss-card:hover .rss-card__media img {
    transform: scale(1.08);
}

.rss-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px;
}

.rss-card__date {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--accent-light);
}

.rss-card h3 {
    margin: 10px 0 12px;
    font-size: 20px;
    line-height: 1.4;
}

.rss-card h3 a:hover {
    color: var(--accent-light);
}

.rss-card p {
    font-size: 15px;
}

.rss-card .link-more {
    margin-top: auto;
    color: var(--white);
}

.rss-card--skeleton {
    min-height: 400px;
    background: linear-gradient(90deg, var(--dark-2) 0%, #17305c 50%, var(--dark-2) 100%);
    background-size: 200% 100%;
    animation: skeleton 1.4s linear infinite;
}

@keyframes skeleton {
    to {
        background-position: -200% 0;
    }
}

.rss-status {
    margin: 40px 0 0;
    text-align: center;
    font-size: 15px;
}

.rss-status a {
    color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   17. CTA
   -------------------------------------------------------------------------- */
.cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 80px 70px;
    background: var(--accent);
    overflow: hidden;
    isolation: isolate;
}

.cta::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 60px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: heroCircle 8s linear infinite;
}

.cta .eyebrow {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.cta .eyebrow::before {
    background: var(--white);
}

.cta__title {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 52px);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--white);
}

.cta .circle-btn {
    width: 180px;
    height: 180px;
    border: 0;
    background: var(--white);
    font-size: 18px;
    color: var(--heading);
}

.cta .circle-btn::before {
    background: var(--heading);
}

.cta .circle-btn:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   18. Inner page banner
   -------------------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 90px 0 110px;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -240px;
    width: 480px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 166, 0, 0.45), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.page-banner .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.page-banner__title {
    margin: 0;
    font-size: clamp(40px, 6vw, 86px);
    font-weight: 500;
    line-height: 1.05;
    text-transform: uppercase;
}

.page-banner__title span {
    font-weight: 400;
    color: var(--accent);
}

.page-banner__title--small {
    font-size: clamp(30px, 4vw, 56px);
}

.page-banner__text {
    max-width: 640px;
    margin: 24px 0 0;
    font-size: 17px;
}

.page-banner__image {
    position: relative;
    width: 250px;
    height: 250px;
    padding: 10px;
    border: 1px solid var(--accent);
    border-radius: 50%;
}

.page-banner__image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.page-banner__image::after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px dashed rgba(241, 90, 34, 0.45);
    border-radius: 50%;
    animation: heroRing 14s linear infinite;
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 4px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 10px;
    color: var(--accent);
}

.breadcrumb li[aria-current="page"] {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   19. Single listing
   -------------------------------------------------------------------------- */
.listing-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 36px;
    align-items: center;
    margin-top: -70px;
    padding: 36px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.listing-hero__logo {
    display: grid;
    place-items: center;
    height: 170px;
    padding: 20px;
    border: 1px solid var(--line);
}

.listing-hero__logo img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
}

.listing-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.listing-hero h1 {
    margin: 16px 0 10px;
    font-size: clamp(28px, 3vw, 42px);
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f5a623;
}

.rating span {
    margin-left: 8px;
    color: var(--text);
}

.listing-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.action-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    padding: 16px 12px;
    border: 1px solid var(--line);
    font-size: 15px;
    font-weight: 500;
    color: var(--heading);
    transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s;
}

.action-btn svg {
    color: var(--accent);
    transition: color 0.3s;
}

.action-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.action-btn:hover svg {
    color: var(--white);
}

.listing-section {
    padding: 36px;
    border: 1px solid var(--line);
    background: var(--white);
}

.listing-section + .listing-section {
    margin-top: 24px;
}

.listing-section__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 24px;
    text-transform: uppercase;
}

.listing-section__title svg {
    color: var(--accent);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-item {
    padding: 18px 20px;
    background: var(--bg-soft);
}

.info-item span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}

.info-item strong {
    font-weight: 500;
    color: var(--heading);
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
}

.check-list svg {
    color: var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-grid a {
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.gallery-grid a:hover img {
    transform: scale(1.1);
}

.map-frame {
    height: 360px;
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Business hours */
.hours-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    background: #e8f7ee;
    color: #15803d;
}

.hours-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.hours-status.is-closed {
    background: #fdecec;
    color: #dc2626;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table th,
.hours-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.hours-table th {
    font-weight: 500;
    color: var(--heading);
}

.hours-table td {
    text-align: right;
}

.hours-table tr.is-today {
    background: var(--accent-soft);
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
    color: var(--accent);
}

.hours-note {
    margin: 16px 0 0;
    font-size: 14px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
    color: var(--heading);
}

.hours-list li:last-child {
    border-bottom: 0;
}

.hours-list li.is-today {
    color: var(--accent);
}

.review-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.review-summary__score {
    padding: 28px;
    background: var(--dark);
    color: var(--text-light);
    text-align: center;
}

.review-summary__score strong {
    display: block;
    font-size: 54px;
    font-weight: 500;
    line-height: 1;
    color: var(--white);
}

.review-bars {
    display: grid;
    gap: 10px;
}

.review-bar {
    display: grid;
    grid-template-columns: 60px 1fr 46px;
    gap: 12px;
    align-items: center;
    font-size: 14px;
}

.review-bar .progress__bar {
    height: 8px;
    padding: 0;
    background: var(--line);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--heading);
    word-break: break-word;
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-list svg {
    margin-top: 4px;
    color: var(--accent);
}

.contact-list a:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   20. Sidebar layout & widgets
   -------------------------------------------------------------------------- */
.layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.sidebar {
    display: grid;
    gap: 30px;
}

.widget {
    padding: 34px 30px;
    background: var(--bg-soft);
}

.widget__title {
    position: relative;
    margin-bottom: 26px;
    padding-bottom: 16px;
    font-size: 22px;
}

.widget__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 1px;
    background: var(--heading);
}

.widget-search {
    display: flex;
    background: var(--white);
}

.widget-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 0;
    outline: none;
    background: transparent;
}

.widget-search button {
    width: 54px;
    border: 0;
    background: var(--accent);
    color: var(--white);
}

.widget-links li + li {
    border-top: 1px solid var(--line);
}

.widget-links a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--heading);
    transition: color 0.3s, padding 0.3s var(--ease);
}

.widget-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.widget-post {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    align-items: center;
}

.widget-post + .widget-post {
    margin-top: 18px;
}

.widget-post img {
    width: 82px;
    height: 82px;
    object-fit: cover;
}

.widget-post h4 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.35;
}

.widget-post h4 a:hover {
    color: var(--accent);
}

.widget-post span {
    font-size: 13px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget--dark {
    background: var(--dark);
    color: var(--text-light);
    text-align: center;
}

.widget--dark h3 {
    font-size: 24px;
    color: var(--white);
}

/* --------------------------------------------------------------------------
   21. Blog single article
   -------------------------------------------------------------------------- */
.article__media {
    margin-bottom: 34px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 22px;
    font-size: 15px;
}

.article__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article__meta svg {
    color: var(--accent);
}

.article h2 {
    margin-top: 1.4em;
    font-size: 30px;
}

.article blockquote {
    margin: 40px 0;
    padding: 40px 44px;
    border-left: 4px solid var(--accent);
    background: var(--dark);
    font-size: 22px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--white);
}

.article__list {
    display: grid;
    gap: 10px;
    margin: 0 0 1.2em;
}

.article__list li {
    position: relative;
    padding-left: 26px;
}

.article__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.article__body a {
    color: var(--accent);
}

.article__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.author-box {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 22px;
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-soft);
}

.author-box__avatar {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: 50%;
    background: var(--white);
}

.author-box h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.author-box p {
    margin: 0;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.post-nav a {
    padding: 24px;
    border: 1px solid var(--line);
    transition: border-color 0.3s;
}

.post-nav a:hover {
    border-color: var(--accent);
}

.post-nav span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--accent);
}

.post-nav strong {
    font-weight: 500;
    color: var(--heading);
}

.post-nav a:last-child {
    text-align: right;
}

/* --------------------------------------------------------------------------
   22. Forms, contact page, FAQ, filters & pagination
   -------------------------------------------------------------------------- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 15px;
    font-weight: 500;
    color: var(--heading);
}

.form-field .btn {
    justify-self: start;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--heading);
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.form-note {
    margin: 14px 0 0;
    font-size: 15px;
    font-weight: 500;
}

.form-note.is-success {
    color: #15803d;
}

.form-note.is-error {
    color: #dc2626;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 18px;
    margin-top: 36px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    transition: border-color 0.3s, transform 0.4s var(--ease);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateX(6px);
}

.contact-card__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
}

.contact-card h3 {
    margin: 0 0 2px;
    font-size: 19px;
}

.contact-card p {
    margin: 0;
}

.form-panel {
    padding: 50px;
    background: var(--bg-soft);
}

.form-panel h2 {
    font-size: 34px;
    text-transform: uppercase;
}

.faq {
    display: grid;
    gap: 16px;
}

.faq__item {
    border: 1px solid var(--line);
    background: var(--white);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 19px;
    font-weight: 500;
    color: var(--heading);
}

.faq__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-soft);
    font-size: 22px;
    transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}

.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--white);
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease);
}

.faq__item.is-open .faq__answer {
    grid-template-rows: 1fr;
}

.faq__answer > div {
    overflow: hidden;
}

.faq__answer p {
    margin: 0;
    padding: 0 28px 24px;
}

.split-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.split-card {
    padding: 56px 50px;
    border: 1px solid var(--line);
    background: var(--white);
}

.split-card--dark {
    border-color: transparent;
    background: var(--dark);
    color: var(--text-light);
}

.split-card h3 {
    font-size: 30px;
    text-transform: uppercase;
}

.split-card--dark h3,
.split-card--dark .feature-list li {
    color: var(--white);
}

.split-card--dark .eyebrow {
    background: transparent;
    border-color: var(--line-dark);
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 34px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--heading);
}

.feature-list svg {
    margin-top: 4px;
    color: var(--accent);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-bar button {
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.filter-bar button:hover,
.filter-bar button.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.search-panel {
    position: relative;
    z-index: 2;
    margin: -46px auto 0;
}

.search-summary {
    margin-bottom: 26px;
    font-size: 22px;
    font-weight: 500;
    color: var(--heading);
}

.search-summary span {
    color: var(--accent);
}

.empty-state {
    padding: 60px 30px;
    background: var(--white);
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-weight: 500;
    color: var(--heading);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.pagination a:hover,
.pagination .is-current {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   23. Sitemap, legal & 404
   -------------------------------------------------------------------------- */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sitemap-block {
    padding: 36px;
    border: 1px solid var(--line);
}

.sitemap-block--wide {
    grid-column: 1 / -1;
}

.sitemap-block h2 {
    font-size: 24px;
    text-transform: uppercase;
}

.sitemap-list {
    display: grid;
    gap: 10px;
}

.sitemap-block--wide .sitemap-list {
    grid-template-columns: repeat(3, 1fr);
}

.sitemap-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
}

.sitemap-list a::before {
    content: "";
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
}

.sitemap-list a:hover {
    color: var(--accent);
}

.legal {
    max-width: 900px;
}

.legal h2 {
    margin-top: 1.6em;
    font-size: 26px;
}

.legal ul {
    margin: 0 0 1.2em;
    padding-left: 22px;
    list-style: disc;
}

.legal li + li {
    margin-top: 6px;
}

.legal a {
    color: var(--accent);
}

.error-page {
    position: relative;
    padding: 100px 0 130px;
    text-align: center;
    overflow: hidden;
}

.error-page__code {
    display: inline-flex;
    align-items: center;
    font-size: clamp(130px, 22vw, 300px);
    font-weight: 600;
    line-height: 0.9;
    color: var(--heading);
}

.error-page__code span {
    color: var(--accent);
}

.error-page h1 {
    margin-top: 20px;
    font-size: clamp(28px, 4vw, 50px);
    text-transform: uppercase;
}

.error-page p {
    max-width: 540px;
    margin: 0 auto 30px;
}

.error-page .hero-search {
    grid-template-columns: 1fr auto;
    max-width: 620px;
    margin: 0 auto 34px;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   24. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    padding-top: 90px;
    background-color: var(--dark);
    color: var(--text-light);
    overflow: hidden;
}

.footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-brand img {
    width: 230px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--accent);
    transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-4px);
}

.social-links--outline a {
    border: 1px solid var(--line);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.8fr 1.3fr;
    gap: 50px;
    padding: 60px 0 70px;
}

.footer-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 22px;
    font-size: 24px;
    color: var(--white);
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 1px;
    background: var(--white);
}

.footer-contact li + li {
    margin-top: 14px;
}

.footer-contact a:hover {
    color: var(--accent-light);
}

.footer-links {
    display: grid;
    gap: 14px;
}

.footer-links a {
    transition: color 0.3s, padding 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.newsletter {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--white);
}

.newsletter input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 0;
    outline: none;
    color: var(--heading);
}

.newsletter button {
    padding: 10px 16px;
    border: 0;
    background: var(--accent);
    color: var(--white);
    font-weight: 500;
    transition: background 0.3s;
}

.newsletter button:hover {
    background: var(--heading);
}

.newsletter-form .form-note {
    color: var(--white);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 50px;
    padding: 20px 30px;
    background: var(--white);
}

.footer-nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--heading);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 34px 0;
    text-align: center;
    font-size: 15px;
    color: var(--white);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   25. Back to top with scroll progress ring
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 900;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(241, 90, 34, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s var(--ease);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top__ring {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    transform: rotate(-90deg);
}

.back-to-top__ring circle {
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-dasharray: 189;
    stroke-dashoffset: 189;
}

/* --------------------------------------------------------------------------
   26. Scroll animations (fadeInUp family, as in Luxonix "animated-fast")
   -------------------------------------------------------------------------- */
.js [data-animate] {
    opacity: 0;
}

.js [data-animate].is-visible {
    animation: fadeInUp 0.9s var(--ease) both;
    animation-delay: var(--delay, 0s);
}

.js [data-animate="left"].is-visible {
    animation-name: fadeInLeft;
}

.js [data-animate="right"].is-visible {
    animation-name: fadeInRight;
}

.js [data-animate="zoom"].is-visible {
    animation-name: zoomIn;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-60px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(60px, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.float-y {
    animation: floatY 6s linear infinite;
}

@keyframes floatY {
    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js [data-animate] {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   27. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1599px) {
    .site-header {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .site-header__logo img {
        width: 185px;
    }

    .main-nav__list {
        gap: 0;
    }

    .main-nav__link {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }

    .navbar {
        padding: 0 24px;
    }

    .navbar .btn {
        padding-left: 22px;
        gap: 12px;
        font-size: 15px;
    }

    .topbar {
        padding: 12px 24px;
    }
}

@media (max-width: 1299px) {
    .navbar .btn {
        display: none;
    }
}

@media (max-width: 1199px) {
    .site-header {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .navbar .btn {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .layout-sidebar {
        grid-template-columns: 1fr 320px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .service-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .blog-card {
        flex-basis: 100%;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 90px 0;
    }

    .site-header,
    .site-header.is-sticky {
        grid-template-columns: 1fr auto;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

    .site-header__logo,
    .site-header.is-sticky .site-header__logo {
        grid-row: auto;
        justify-items: start;
        padding: 12px 20px;
        box-shadow: none;
    }

    .site-header__logo img,
    .site-header.is-sticky .site-header__logo img {
        width: 160px;
    }

    .topbar {
        display: none;
    }

    .navbar {
        padding: 0 20px;
        border: 0;
        background: transparent;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(360px, 88vw);
        padding: 100px 28px 40px;
        background: var(--dark);
        transform: translateX(100%);
        transition: transform 0.6s var(--ease);
        overflow-y: auto;
    }

    .nav-open .main-nav {
        transform: translateX(0);
    }

    .main-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav__link,
    .site-header.is-sticky .main-nav__link {
        padding: 14px 0;
        font-size: 17px;
        color: var(--white);
        border-bottom: 1px solid var(--line-dark);
    }

    .main-nav__dropdown {
        position: static;
        padding: 6px 0 10px 12px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-nav__dropdown a {
        padding: 6px 0;
        color: var(--text-light);
    }

    .about,
    .contact-layout,
    .layout-sidebar,
    .split-cards,
    .featured-head,
    .cta,
    .page-banner .container {
        grid-template-columns: 1fr;
    }

    .page-banner__image {
        display: none;
    }

    .portfolio {
        gap: 60px 40px;
    }

    .portfolio-item:nth-child(even) {
        margin-top: 0;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .counters {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 70px;
    }

    .counter:nth-child(2) {
        border-right: 0;
    }

    .counter {
        padding-bottom: 30px;
    }

    .listing-grid,
    .rss-grid,
    .service-grid,
    .sitemap-grid,
    .category-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .listing-hero {
        grid-template-columns: 1fr;
    }

    .listing-hero__logo {
        max-width: 260px;
    }

    .image-slider {
        height: 520px;
    }

    .sitemap-block--wide .sitemap-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__shape-circles {
        display: none;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 50px 0 70px;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: var(--radius-lg);
    }

    .hero-search__field + .hero-search__field {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .hero-search .btn {
        justify-content: space-between;
    }

    .image-slider {
        height: 560px;
    }

    .image-slider__arrow {
        top: 80px;
        width: 64px;
        height: 64px;
        font-size: 12px;
    }

    .image-slider__arrow--prev {
        left: 16px;
    }

    .image-slider__arrow--next {
        right: 16px;
    }

    .project-card {
        padding: 30px 22px;
    }

    .clients-head__stat {
        justify-items: start;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-grid__item {
        height: 130px;
        padding: 20px;
    }

    .about__card {
        position: relative;
        padding: 22px;
    }

    .portfolio,
    .category-grid,
    .listing-grid,
    .rss-grid,
    .service-grid,
    .sitemap-grid,
    .category-tiles,
    .info-grid,
    .check-list,
    .form-grid,
    .post-nav,
    .footer-top,
    .review-summary {
        grid-template-columns: 1fr;
    }

    .sitemap-block--wide .sitemap-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        flex-basis: 100%;
        padding: 40px 30px;
    }

    .service-card__icon {
        margin-bottom: 36px;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-card__media {
        aspect-ratio: 16 / 10;
    }

    .listing-row {
        grid-template-columns: 1fr;
    }

    .listing-row__media {
        min-height: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-slider {
        padding: 0 0 70px;
    }

    .quote-slider__arrow {
        top: auto;
        bottom: 0;
    }

    .quote-slider__arrow--prev {
        left: calc(50% - 60px);
    }

    .quote-slider__arrow--next {
        right: calc(50% - 60px);
    }

    .cta {
        padding: 56px 28px;
    }

    .cta .circle-btn {
        width: 150px;
        height: 150px;
        font-size: 16px;
    }

    .form-panel,
    .split-card,
    .listing-section,
    .listing-hero {
        padding: 28px 22px;
    }

    .footer-nav {
        gap: 12px 26px;
    }

    .hours-table th,
    .hours-table td {
        padding: 12px 10px;
    }

    .js [data-animate="left"].is-visible,
    .js [data-animate="right"].is-visible {
        animation-name: fadeInUp;
    }
}
