/*
Theme Name: Kioshi Store Quote
Theme URI: https://kioshi.store/
Author: Kioshi Store
Description: Theme WordPress giới thiệu tăm chỉ nha khoa KIOSHI và tiếp nhận yêu cầu báo giá. Giao diện sử dụng bảng màu xanh dương, xanh ngọc, xanh lá, cam và trắng theo bao bì sản phẩm.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kioshi-store-quote
Tags: custom-logo, custom-menu, featured-images, one-column, responsive-layout, accessibility-ready
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --ksq-blue-950: #052a63;
    --ksq-blue-900: #063d8d;
    --ksq-blue-800: #0649a5;
    --ksq-blue-700: #0a58c6;
    --ksq-cyan-600: #00a9c7;
    --ksq-cyan-500: #08b7cf;
    --ksq-cyan-100: #e5f9fc;
    --ksq-green-600: #1ca446;
    --ksq-green-100: #eaf8ee;
    --ksq-orange-600: #ff6500;
    --ksq-orange-100: #fff0e6;
    --ksq-ink: #10233d;
    --ksq-muted: #5c6b7e;
    --ksq-line: #dbe5ee;
    --ksq-surface: #f4f9fd;
    --ksq-white: #ffffff;
    --ksq-container: 1180px;
    --ksq-radius-lg: 26px;
    --ksq-radius-md: 18px;
    --ksq-radius-sm: 12px;
    --ksq-shadow: 0 18px 55px rgba(6, 73, 165, 0.13);
    --ksq-shadow-soft: 0 10px 30px rgba(16, 35, 61, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--ksq-ink);
    background: var(--ksq-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .ksq-header {
    top: 32px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button,
select {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ksq-blue-950);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.ksq-container {
    width: min(calc(100% - 40px), var(--ksq-container));
    margin-inline: auto;
}

.ksq-icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    z-index: 99999;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    color: var(--ksq-white);
    background: var(--ksq-blue-900);
    border-radius: 8px;
}

.ksq-topbar {
    color: var(--ksq-white);
    background: linear-gradient(90deg, var(--ksq-blue-900), var(--ksq-blue-700));
}

.ksq-topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    font-size: 12px;
    font-weight: 700;
}

.ksq-topbar-inner > span,
.ksq-topbar-points,
.ksq-topbar-points > span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ksq-topbar-points {
    gap: 24px;
}

.ksq-topbar .ksq-icon {
    width: 15px;
    height: 15px;
}

.ksq-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(219, 229, 238, 0.9);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.ksq-header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}

.ksq-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
}

.ksq-brand .custom-logo-link,
.ksq-brand .custom-logo {
    display: block;
}

.ksq-brand .custom-logo {
    width: auto;
    max-height: 58px;
}

.ksq-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--ksq-white);
    background: linear-gradient(145deg, var(--ksq-blue-700), var(--ksq-cyan-600));
    border-radius: 15px 15px 15px 5px;
    box-shadow: 0 9px 22px rgba(6, 73, 165, 0.22);
    font-size: 25px;
    font-weight: 900;
}

.ksq-brand-copy {
    display: grid;
    line-height: 1;
}

.ksq-brand-copy strong {
    color: var(--ksq-blue-800);
    font-size: 26px;
    letter-spacing: -0.04em;
}

.ksq-brand-copy small {
    margin-top: 5px;
    color: var(--ksq-cyan-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.23em;
}

.ksq-nav {
    justify-self: center;
}

.primary-menu,
.primary-menu ul,
.ksq-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--ksq-ink);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 750;
    transition: color 0.2s, background-color 0.2s;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
    color: var(--ksq-blue-800);
    background: #eef7ff;
}

.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    display: none;
    padding: 10px;
    border: 1px solid var(--ksq-line);
    border-radius: 14px;
    background: var(--ksq-white);
    box-shadow: var(--ksq-shadow-soft);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    display: block;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.primary-menu .sub-menu a:hover {
    color: var(--ksq-blue-800);
    background: #eef7ff;
}

.ksq-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ksq-quote-button,
.ksq-button,
.ksq-footer-button,
.ksq-submit-button,
.ksq-product-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    font-weight: 850;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.ksq-quote-button {
    min-height: 46px;
    padding: 0 18px;
    color: var(--ksq-white);
    background: var(--ksq-orange-600);
    border-radius: 11px;
    box-shadow: 0 10px 24px rgba(255, 101, 0, 0.24);
    font-size: 13px;
}

.ksq-quote-button:hover,
.ksq-button:hover,
.ksq-footer-button:hover,
.ksq-submit-button:hover,
.ksq-product-quote:hover {
    transform: translateY(-2px);
}

.ksq-menu-toggle {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    color: var(--ksq-blue-900);
    border: 1px solid var(--ksq-line);
    border-radius: 11px;
    background: var(--ksq-white);
}

.ksq-menu-toggle .ksq-icon {
    width: 24px;
    height: 24px;
}

.ksq-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 46px;
    background:
        radial-gradient(circle at 90% 15%, rgba(0, 169, 199, 0.18), transparent 28%),
        radial-gradient(circle at 14% 76%, rgba(6, 73, 165, 0.10), transparent 32%),
        linear-gradient(135deg, #f7fcff 0%, #eaf7ff 58%, #f9fdff 100%);
}

.ksq-hero::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -90px;
    height: 160px;
    background: var(--ksq-white);
    border-radius: 50% 50% 0 0;
}

.ksq-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ksq-hero-shape-one {
    width: 240px;
    height: 240px;
    top: 70px;
    right: -90px;
    border: 50px solid rgba(255, 255, 255, 0.55);
}

.ksq-hero-shape-two {
    width: 170px;
    height: 170px;
    left: -80px;
    bottom: 30px;
    background: rgba(0, 169, 199, 0.08);
}

.ksq-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 46px;
    align-items: center;
}

.ksq-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    color: var(--ksq-cyan-600);
    background: var(--ksq-cyan-100);
    border: 1px solid rgba(0, 169, 199, 0.14);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ksq-hero-copy h1 {
    max-width: 650px;
    margin: 17px 0 20px;
    font-size: clamp(48px, 5.6vw, 74px);
    line-height: 1.02;
    text-transform: uppercase;
}

.ksq-hero-copy h1::first-line {
    color: var(--ksq-blue-800);
}

.ksq-hero-copy > p {
    max-width: 600px;
    margin-bottom: 28px;
    color: var(--ksq-muted);
    font-size: 18px;
}

.ksq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ksq-button {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
}

.ksq-button-primary {
    color: var(--ksq-white);
    background: linear-gradient(135deg, var(--ksq-blue-800), var(--ksq-blue-700));
    box-shadow: 0 12px 30px rgba(6, 73, 165, 0.22);
}

.ksq-button-outline {
    color: var(--ksq-blue-800);
    border: 1.5px solid var(--ksq-blue-700);
    background: rgba(255, 255, 255, 0.72);
}

.ksq-hero-mini-features {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ksq-hero-mini-features > div {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ksq-hero-mini-features > div > .ksq-icon {
    width: 42px;
    height: 42px;
    padding: 9px;
    color: var(--ksq-cyan-600);
    background: var(--ksq-white);
    border: 1px solid rgba(0, 169, 199, 0.18);
    border-radius: 50%;
    box-shadow: var(--ksq-shadow-soft);
}

.ksq-hero-mini-features span {
    display: grid;
    line-height: 1.25;
}

.ksq-hero-mini-features strong {
    color: var(--ksq-blue-950);
    font-size: 13px;
}

.ksq-hero-mini-features small {
    margin-top: 3px;
    color: var(--ksq-muted);
    font-size: 11px;
}

.ksq-hero-products {
    position: relative;
    min-height: 510px;
}

.ksq-hero-products::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 160px;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(6, 73, 165, 0.18), transparent 70%);
    filter: blur(10px);
}

.ksq-product-float {
    position: absolute;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    background: var(--ksq-white);
    box-shadow: 0 28px 60px rgba(6, 73, 165, 0.22);
}

.ksq-product-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ksq-product-float-left {
    width: 250px;
    height: 330px;
    left: 3%;
    top: 90px;
    transform: rotate(-7deg);
}

.ksq-product-float-center {
    width: 275px;
    height: 360px;
    left: 29%;
    top: 35px;
    z-index: 3;
    transform: rotate(1deg);
}

.ksq-product-float-right {
    width: 235px;
    height: 310px;
    right: 1%;
    top: 112px;
    transform: rotate(8deg);
}

.ksq-hero-picks {
    position: absolute;
    right: 12%;
    bottom: 0;
    z-index: 4;
    width: 210px;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow: var(--ksq-shadow);
    transform: rotate(-5deg);
}

.ksq-hero-picks img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ksq-hero-badge {
    position: absolute;
    right: 4%;
    top: 8px;
    z-index: 6;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    padding: 12px;
    color: var(--ksq-blue-800);
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 2px dashed var(--ksq-cyan-600);
    border-radius: 50%;
    box-shadow: var(--ksq-shadow-soft);
    font-size: 11px;
    line-height: 1.15;
}

.ksq-hero-badge .ksq-icon {
    width: 28px;
    height: 28px;
    color: var(--ksq-orange-600);
}

.ksq-section {
    padding: 84px 0;
}

.ksq-section-heading,
.ksq-quote-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.ksq-section-heading h2,
.ksq-quote-heading h2,
.ksq-gallery-content h2 {
    margin: 13px 0 12px;
    font-size: clamp(32px, 4vw, 46px);
}

.ksq-section-heading p,
.ksq-quote-heading p,
.ksq-gallery-content > p {
    color: var(--ksq-muted);
}

.ksq-product-lines {
    position: relative;
    z-index: 3;
    padding-top: 58px;
    background: var(--ksq-white);
}

.ksq-line-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ksq-line-card {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: stretch;
    border: 1px solid var(--ksq-line);
    border-radius: var(--ksq-radius-md);
    background: var(--ksq-white);
    box-shadow: var(--ksq-shadow-soft);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ksq-line-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ksq-shadow);
}

.ksq-line-media {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    background: linear-gradient(145deg, #effaff, #e8f5ff);
}

.ksq-tone-green .ksq-line-media {
    background: linear-gradient(145deg, #f0fbf2, #e5f7e9);
}

.ksq-tone-orange .ksq-line-media {
    background: linear-gradient(145deg, #fff5ee, #fff0e5);
}

.ksq-tone-cyan .ksq-line-media {
    background: linear-gradient(145deg, #e9fbfd, #ddf6fa);
}

.ksq-line-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.ksq-line-card:hover .ksq-line-media img {
    transform: scale(1.035);
}

.ksq-product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 9px;
    color: var(--ksq-white);
    background: var(--ksq-blue-800);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ksq-tone-green .ksq-product-tag {
    background: var(--ksq-green-600);
}

.ksq-tone-orange .ksq-product-tag {
    background: var(--ksq-orange-600);
}

.ksq-tone-cyan .ksq-product-tag {
    background: var(--ksq-cyan-600);
}

.ksq-line-content {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ksq-line-content h3 {
    margin-bottom: 17px;
    font-size: 23px;
}

.ksq-line-content ul,
.ksq-featured-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ksq-line-content li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--ksq-muted);
    font-size: 13px;
}

.ksq-line-content li .ksq-icon {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: var(--ksq-cyan-600);
}

.ksq-line-content > a {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    color: var(--ksq-blue-800);
    font-size: 13px;
    font-weight: 850;
}

.ksq-line-content > a .ksq-icon {
    width: 16px;
}

.ksq-benefits {
    background:
        radial-gradient(circle at 0% 80%, rgba(28, 164, 70, 0.07), transparent 25%),
        linear-gradient(180deg, #f8fcff, #f2f9fd);
}

.ksq-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ksq-benefit-grid article {
    min-height: 238px;
    padding: 28px;
    border: 1px solid rgba(219, 229, 238, 0.94);
    border-radius: var(--ksq-radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--ksq-shadow-soft);
}

.ksq-benefit-grid article > span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--ksq-cyan-600);
    background: var(--ksq-cyan-100);
    border-radius: 17px;
}

.ksq-benefit-grid article:nth-child(2n) > span {
    color: var(--ksq-blue-700);
    background: #eaf3ff;
}

.ksq-benefit-grid article:nth-child(3n) > span {
    color: var(--ksq-orange-600);
    background: var(--ksq-orange-100);
}

.ksq-benefit-grid .ksq-icon {
    width: 30px;
    height: 30px;
}

.ksq-benefit-grid h3 {
    margin-bottom: 9px;
    font-size: 19px;
}

.ksq-benefit-grid p {
    margin: 0;
    color: var(--ksq-muted);
    font-size: 14px;
}

.ksq-featured-section {
    position: relative;
    overflow: hidden;
    background: var(--ksq-white);
}

.ksq-featured-section::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -170px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(0, 169, 199, 0.07);
}

.ksq-featured-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ksq-featured-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ksq-line);
    border-radius: var(--ksq-radius-md);
    background: var(--ksq-white);
    box-shadow: var(--ksq-shadow-soft);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ksq-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ksq-shadow);
}

.ksq-featured-media {
    position: relative;
    aspect-ratio: 1 / 0.92;
    overflow: hidden;
    background: #f1f9fd;
}

.ksq-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.ksq-featured-card:hover .ksq-featured-media img {
    transform: scale(1.035);
}

.ksq-card-number {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--ksq-blue-800);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: var(--ksq-shadow-soft);
    font-size: 11px;
    font-weight: 900;
}

.ksq-featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.ksq-featured-content h3 {
    min-height: 57px;
    margin-bottom: 14px;
    font-size: 18px;
}

.ksq-featured-content ul {
    display: grid;
    gap: 6px;
    margin-bottom: 20px;
}

.ksq-featured-content li {
    position: relative;
    padding-left: 15px;
    color: var(--ksq-muted);
    font-size: 12px;
}

.ksq-featured-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ksq-cyan-600);
}

.ksq-product-quote {
    width: 100%;
    min-height: 45px;
    margin-top: auto;
    padding: 0 14px;
    color: var(--ksq-white);
    background: var(--ksq-orange-600);
    border-radius: 10px;
    font-size: 13px;
}

.ksq-product-quote .ksq-icon {
    width: 17px;
}

.ksq-gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #f8fdff 55%, #effbfa 100%);
}

.ksq-gallery-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 46px;
    align-items: center;
}

.ksq-gallery-image {
    overflow: hidden;
    border: 10px solid var(--ksq-white);
    border-radius: 28px;
    background: var(--ksq-white);
    box-shadow: var(--ksq-shadow);
}

.ksq-gallery-image img {
    width: 100%;
    min-height: 390px;
    object-fit: cover;
}

.ksq-gallery-content h2 {
    max-width: 550px;
}

.ksq-color-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 25px 0;
}

.ksq-color-chips span {
    position: relative;
    min-height: 66px;
    display: grid;
    align-content: center;
    padding: 10px 12px 10px 50px;
    border: 1px solid var(--ksq-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
}

.ksq-color-chips span::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 25px;
    height: 38px;
    transform: translateY(-50%);
    border-radius: 8px;
    background: var(--chip);
}

.ksq-color-chips b {
    font-size: 12px;
}

.ksq-color-chips small {
    color: var(--ksq-muted);
    font-size: 10px;
}

.ksq-why-strip {
    color: var(--ksq-white);
    background:
        linear-gradient(120deg, rgba(0, 169, 199, 0.18), transparent 50%),
        linear-gradient(90deg, var(--ksq-blue-950), var(--ksq-blue-700));
}

.ksq-why-grid {
    min-height: 172px;
    display: grid;
    grid-template-columns: 1.1fr repeat(4, 1fr);
    align-items: stretch;
}

.ksq-why-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.ksq-why-grid > div:last-child {
    border-right: 0;
}

.ksq-why-title {
    display: grid !important;
    align-content: center;
}

.ksq-why-title span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.ksq-why-title strong {
    font-size: 32px;
    line-height: 1;
}

.ksq-why-grid > div > .ksq-icon {
    width: 39px;
    height: 39px;
    padding: 7px;
    color: var(--ksq-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
}

.ksq-why-grid > div > span {
    display: grid;
    line-height: 1.3;
}

.ksq-why-grid strong {
    font-size: 13px;
}

.ksq-why-grid small {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

.ksq-quote-section {
    background: var(--ksq-white);
}

.ksq-quote-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 28px;
    align-items: stretch;
}

.ksq-quote-visual {
    position: relative;
    overflow: hidden;
    min-height: 555px;
    border-radius: var(--ksq-radius-lg);
    background: linear-gradient(145deg, #e6f7ff, #edf9f2);
    box-shadow: var(--ksq-shadow-soft);
}

.ksq-quote-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ksq-quote-promise {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: var(--ksq-white);
    background: rgba(5, 42, 99, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.ksq-quote-promise > .ksq-icon {
    width: 37px;
    height: 37px;
    padding: 7px;
    color: var(--ksq-cyan-500);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.ksq-quote-promise span {
    display: grid;
}

.ksq-quote-promise small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

.ksq-quote-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 32px;
    border: 1px solid var(--ksq-line);
    border-radius: var(--ksq-radius-lg);
    background: #fbfdff;
    box-shadow: var(--ksq-shadow-soft);
}

.ksq-quote-form label {
    display: grid;
    align-content: start;
    gap: 7px;
}

.ksq-quote-form label > span {
    color: var(--ksq-blue-950);
    font-size: 12px;
    font-weight: 800;
}

.ksq-quote-form label > span b {
    color: var(--ksq-orange-600);
}

.ksq-quote-form input,
.ksq-quote-form select,
.ksq-quote-form textarea {
    width: 100%;
    min-width: 0;
    color: var(--ksq-ink);
    border: 1px solid #cfdce7;
    border-radius: 10px;
    background: var(--ksq-white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ksq-quote-form input,
.ksq-quote-form select {
    height: 48px;
    padding: 0 13px;
}

.ksq-quote-form textarea {
    min-height: 132px;
    resize: vertical;
    padding: 12px 13px;
}

.ksq-quote-form input:focus,
.ksq-quote-form select:focus,
.ksq-quote-form textarea:focus {
    border-color: var(--ksq-cyan-600);
    box-shadow: 0 0 0 3px rgba(0, 169, 199, 0.12);
}

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

.ksq-submit-button {
    min-height: 52px;
    color: var(--ksq-white);
    background: linear-gradient(90deg, var(--ksq-orange-600), #ff7b1c);
    border-radius: 11px;
    box-shadow: 0 13px 28px rgba(255, 101, 0, 0.22);
}

.ksq-submit-button .ksq-icon {
    width: 19px;
}

.ksq-form-note {
    margin: -4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--ksq-muted);
    font-size: 11px;
}

.ksq-form-note .ksq-icon {
    width: 15px;
    color: var(--ksq-green-600);
}

.ksq-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ksq-form-message {
    max-width: 800px;
    margin: -10px auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 750;
}

.ksq-form-message.is-success {
    color: #11652b;
    border: 1px solid #bde5c7;
    background: #edfaef;
}

.ksq-form-message.is-error {
    color: #9f2f13;
    border: 1px solid #f4c2b3;
    background: #fff2ed;
}

.ksq-footer {
    color: var(--ksq-white);
    background:
        radial-gradient(circle at 90% 0%, rgba(0, 169, 199, 0.22), transparent 32%),
        linear-gradient(120deg, var(--ksq-blue-950), var(--ksq-blue-900));
}

.ksq-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.25fr 0.8fr 1fr;
    gap: 42px;
    padding: 62px 0 42px;
}

.ksq-brand-footer .ksq-brand-mark {
    color: var(--ksq-blue-800);
    background: var(--ksq-white);
}

.ksq-brand-footer .ksq-brand-copy strong {
    color: var(--ksq-white);
}

.ksq-brand-footer .ksq-brand-copy small {
    color: var(--ksq-cyan-500);
}

.ksq-footer-brand > p,
.ksq-footer-column > p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.ksq-footer-brand > p {
    max-width: 330px;
    margin: 18px 0;
}

.ksq-socials {
    display: flex;
    gap: 9px;
}

.ksq-socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--ksq-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.ksq-socials .ksq-icon {
    width: 18px;
    height: 18px;
}

.ksq-footer-column h2 {
    margin-bottom: 18px;
    color: var(--ksq-white);
    font-size: 15px;
}

.ksq-footer-column > a,
.ksq-footer-column > p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 11px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
}

.ksq-footer-column > a:hover,
.ksq-footer-menu a:hover {
    color: var(--ksq-cyan-500);
}

.ksq-footer-column .ksq-icon {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    color: var(--ksq-cyan-500);
}

.ksq-footer-menu {
    display: grid;
    gap: 8px;
}

.ksq-footer-menu a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
}

.ksq-footer-cta {
    align-self: start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
}

.ksq-footer-button {
    min-height: 43px;
    padding: 0 15px;
    color: var(--ksq-white) !important;
    background: var(--ksq-orange-600);
    border-radius: 10px;
}

.ksq-footer-bottom {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
}

.ksq-content-shell {
    min-height: 60vh;
    padding: 70px 0;
}

.ksq-content-shell article {
    max-width: 820px;
    margin-inline: auto;
}

.ksq-content-shell .entry-title {
    font-size: clamp(36px, 5vw, 56px);
}

.ksq-content-shell .entry-content {
    color: var(--ksq-muted);
}

.ksq-content-shell .entry-content a {
    color: var(--ksq-blue-700);
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .ksq-header-inner {
        grid-template-columns: 190px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .primary-menu > li > a {
        padding-inline: 10px;
    }

    .ksq-hero-grid {
        grid-template-columns: 0.94fr 1.06fr;
        gap: 22px;
    }

    .ksq-product-float-left {
        width: 215px;
        height: 295px;
    }

    .ksq-product-float-center {
        width: 235px;
        height: 325px;
    }

    .ksq-product-float-right {
        width: 205px;
        height: 280px;
    }

    .ksq-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .ksq-why-grid > div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .ksq-why-title {
        grid-column: 1 / -1;
        min-height: 110px;
    }

    .ksq-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    body.admin-bar .ksq-header {
        top: 46px;
    }

    .ksq-topbar-points > span:nth-child(2) {
        display: none;
    }

    .ksq-header-inner {
        min-height: 72px;
        grid-template-columns: 1fr auto;
    }

    .ksq-nav {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        display: none;
        padding: 12px;
        border: 1px solid var(--ksq-line);
        border-radius: 16px;
        background: var(--ksq-white);
        box-shadow: var(--ksq-shadow);
    }

    .ksq-nav.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-menu > li > a {
        min-height: 44px;
        padding: 0 12px;
    }

    .primary-menu .sub-menu {
        position: static;
        display: block;
        padding: 0 0 8px 16px;
        border: 0;
        box-shadow: none;
    }

    .ksq-menu-toggle {
        display: grid;
    }

    .ksq-quote-button span {
        display: none;
    }

    .ksq-quote-button {
        width: 46px;
        padding: 0;
    }

    .ksq-hero {
        padding-top: 56px;
    }

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

    .ksq-hero-copy {
        text-align: center;
    }

    .ksq-hero-copy > p,
    .ksq-hero-copy h1 {
        margin-inline: auto;
    }

    .ksq-hero-actions {
        justify-content: center;
    }

    .ksq-hero-mini-features {
        max-width: 650px;
        margin-inline: auto;
        margin-top: 32px;
        text-align: left;
    }

    .ksq-hero-products {
        min-height: 480px;
        max-width: 700px;
        width: 100%;
        margin-inline: auto;
    }

    .ksq-line-grid,
    .ksq-gallery-grid,
    .ksq-quote-layout {
        grid-template-columns: 1fr;
    }

    .ksq-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ksq-quote-visual {
        min-height: 430px;
    }
}

@media (max-width: 680px) {
    .ksq-container {
        width: min(calc(100% - 24px), var(--ksq-container));
    }

    .ksq-topbar-inner {
        justify-content: center;
    }

    .ksq-topbar-points {
        display: none;
    }

    .ksq-brand-mark {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .ksq-brand-copy strong {
        font-size: 22px;
    }

    .ksq-header-actions {
        gap: 7px;
    }

    .ksq-header-actions > a,
    .ksq-menu-toggle {
        width: 42px;
        height: 42px;
        min-height: 42px;
    }

    .ksq-hero {
        padding-top: 45px;
    }

    .ksq-hero-copy h1 {
        font-size: 45px;
    }

    .ksq-hero-copy > p {
        font-size: 16px;
    }

    .ksq-hero-mini-features {
        grid-template-columns: 1fr;
    }

    .ksq-hero-products {
        min-height: 370px;
        margin-top: 16px;
    }

    .ksq-product-float-left {
        width: 155px;
        height: 225px;
        left: 0;
        top: 84px;
        border-width: 5px;
    }

    .ksq-product-float-center {
        width: 175px;
        height: 250px;
        left: 26%;
        top: 35px;
        border-width: 5px;
    }

    .ksq-product-float-right {
        width: 145px;
        height: 215px;
        right: 0;
        top: 96px;
        border-width: 5px;
    }

    .ksq-hero-picks {
        width: 125px;
        right: 12%;
        border-width: 4px;
        border-radius: 16px;
    }

    .ksq-hero-badge {
        width: 84px;
        height: 84px;
        top: 0;
        font-size: 9px;
    }

    .ksq-section,
    .ksq-gallery-section {
        padding: 64px 0;
    }

    .ksq-section-heading h2,
    .ksq-quote-heading h2,
    .ksq-gallery-content h2 {
        font-size: 34px;
    }

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

    .ksq-line-media {
        min-height: 240px;
    }

    .ksq-benefit-grid,
    .ksq-featured-grid,
    .ksq-why-grid,
    .ksq-footer-grid {
        grid-template-columns: 1fr;
    }

    .ksq-benefit-grid article {
        min-height: 0;
    }

    .ksq-featured-content h3 {
        min-height: 0;
    }

    .ksq-color-chips {
        grid-template-columns: 1fr;
    }

    .ksq-why-title {
        grid-column: auto;
    }

    .ksq-why-grid > div {
        border-right: 0;
    }

    .ksq-why-grid > div:last-child {
        border-bottom: 0;
    }

    .ksq-quote-form {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .ksq-form-full,
    .ksq-form-wide-mobile {
        grid-column: auto;
    }

    .ksq-quote-visual {
        min-height: 360px;
    }

    .ksq-footer-grid {
        gap: 28px;
        padding-top: 48px;
    }

    .ksq-footer-bottom {
        padding: 18px 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .ksq-brand-copy small {
        display: none;
    }

    .ksq-hero-copy h1 {
        font-size: 38px;
    }

    .ksq-hero-actions {
        flex-direction: column;
    }

    .ksq-button {
        width: 100%;
    }

    .ksq-product-float-left {
        width: 135px;
        height: 195px;
        left: -8px;
    }

    .ksq-product-float-center {
        width: 155px;
        height: 220px;
        left: 24%;
    }

    .ksq-product-float-right {
        width: 125px;
        height: 185px;
        right: -8px;
    }
}

.ksq-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(6, 73, 165, 0.08);
}

.ksq-brand-custom .custom-logo-link {
    display: inline-flex;
    align-items: center;
}
