/*
Theme Name: Kathury Home
Template: astra
Version: 1.2.0
*/

:root {
    --bg: #f6f9fb;
    --panel: #ffffff;
    --ink: #111827;
    --muted: #64748b;
    --line: #dbe5ee;
    --cyan: #04c7df;
    --cyan-dark: #0099ad;
    --blue: #1d4ed8;
    --deep: #0b1220;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.kh-wrap {
    max-width: 1200px;
    margin: auto;
    padding: 0 28px;
}

.kh-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.kh-nav {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.kh-brand {
    display: inline-flex;
    align-items: center;
    width: 172px;
    height: 56px;
    text-decoration: none;
}

.kh-brand img {
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
    display: block;
}

.kh-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.kh-links a {
    color: #1f2937;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    padding: 10px 12px;
    border-radius: 999px;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.kh-links a:hover {
    background: #eef9fb;
    color: var(--cyan-dark);
    transform: translateY(-1px);
}

.kh-nav-cta {
    background: var(--deep);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 800;
}

.kh-hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 48vw);
    background: linear-gradient(135deg, #ffffff 0%, #eef7fb 100%);
    border-bottom: 1px solid var(--line);
}

.kh-hero-inner {
    display: flex;
    align-items: center;
}

.kh-hero-copy {
    max-width: 690px;
}

.kh-hero h1,
.kh-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    font-size: 58px;
    margin: 18px 0;
}

.kh-hero-image {
    min-height: 650px;
    overflow: hidden;
}

.kh-hero-image img,
.kh-card img,
.kh-detail img,
.kh-catalog-visual img,
.kh-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kh-eyebrow {
    color: var(--cyan-dark);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}

.kh-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 610px;
}

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

.kh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    background: var(--cyan);
    color: #06131a;
    text-decoration: none;
    border-radius: 6px;
    padding: 13px 22px;
    margin-top: 28px;
    border: 1px solid var(--cyan);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.kh-button.alt {
    background: transparent;
    color: var(--deep);
    border-color: #a8c7d8;
}

.kh-button.light {
    background: #fff;
    color: var(--deep);
    border-color: #fff;
}

.kh-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.kh-stats span {
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    color: var(--muted);
    font-size: 13px;
}

.kh-stats b {
    display: block;
    color: var(--ink);
    font-size: 20px;
}

.kh-section {
    padding: 88px 0;
}

.kh-soft {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 24%, rgba(255, 190, 118, .32) 0 0, rgba(255, 190, 118, .22) 16%, transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(36, 197, 214, .20) 0 0, rgba(36, 197, 214, .15) 14%, transparent 31%),
        linear-gradient(135deg, #fff4e5 0%, #eef8fa 48%, #fffaf0 100%);
    border-top: 1px solid rgba(15, 23, 42, .08);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.kh-soft::before,
.kh-soft::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.kh-soft::before {
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(14, 152, 169, .09) 1px, transparent 1px),
        linear-gradient(30deg, rgba(245, 158, 11, .08) 1px, transparent 1px);
    background-size: 92px 92px, 140px 140px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 72%);
}

.kh-soft::after {
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, .72), rgba(255, 205, 137, .30) 45%, transparent 70%);
    filter: blur(2px);
}

.kh-soft > .kh-wrap {
    position: relative;
    z-index: 1;
}

.kh-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 34px;
}

.kh-section-head a {
    color: var(--cyan-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.kh-section h2 {
    font: 800 38px Arial, Helvetica, sans-serif;
    margin: 10px 0;
}

.kh-grid,
.kh-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.kh-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.kh-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
    border-color: #9adfea;
}

.kh-card-image {
    aspect-ratio: 1 / 1;
    height: auto;
    background: linear-gradient(180deg, #f8fbfc 0%, #eef6f8 100%);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.kh-card-info {
    padding: 20px;
}

.kh-card-top,
.kh-card-bottom,
.kh-catalog-tools,
.kh-detail-meta,
.kh-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.kh-card-top span {
    color: var(--cyan-dark);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
}

.kh-card-top small {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.kh-card h3 {
    font: 800 22px Arial, Helvetica, sans-serif;
    margin: 12px 0 8px;
}

.kh-card-info p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    min-height: 68px;
}

.kh-card-bottom {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
}

.kh-card-bottom b {
    color: var(--deep);
}

.kh-card-bottom em {
    color: var(--cyan-dark);
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.kh-features {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
}

.kh-soft .kh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 15px;
    border: 1px solid rgba(14, 152, 169, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    color: #078293;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .16em;
    box-shadow: 0 12px 30px rgba(14, 152, 169, .10);
    backdrop-filter: blur(8px);
}

.kh-soft .kh-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 0 5px rgba(36, 197, 214, .14);
}

.kh-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.kh-feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.kh-feature h3 {
    font: 800 21px Arial, Helvetica, sans-serif;
    margin: 10px 0;
}

.kh-feature p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.kh-mark {
    color: var(--cyan-dark);
    font-weight: 900;
}

.kh-cta {
    background: var(--deep);
    color: #fff;
    padding: 58px;
    text-align: center;
    border-radius: 8px;
}

.kh-cta .kh-eyebrow {
    color: var(--cyan);
}

.kh-cta h2 {
    font: 800 38px Arial, Helvetica, sans-serif;
    margin: 14px 0 6px;
    color: #f8fafc;
}

.kh-section .kh-cta h2 {
    color: #f8fafc;
}

.kh-cta .kh-lead,
.kh-cta p:not(.kh-eyebrow) {
    color: #cbd5e1;
}

.kh-cta .kh-button.light {
    background: #ffffff;
    color: var(--deep);
    border-color: #ffffff;
}

.kh-cta .kh-button.light:hover {
    background: var(--cyan);
    color: #031018;
    border-color: var(--cyan);
}

.kh-catalog-hero,
.kh-page-hero {
    background: linear-gradient(135deg, #ffffff 0%, #edf8fc 100%);
    border-bottom: 1px solid var(--line);
    padding: 70px 0;
}

.kh-catalog-hero-inner {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 52px;
    align-items: center;
}

.kh-catalog-hero h1,
.kh-page-hero h1 {
    font: 800 52px Arial, Helvetica, sans-serif;
    margin: 12px 0 14px;
}

.kh-catalog-visual {
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.kh-breadcrumb {
    justify-content: flex-start;
    margin-top: 26px;
    color: var(--muted);
    font-size: 13px;
}

.kh-breadcrumb a {
    color: var(--cyan-dark);
    text-decoration: none;
}

.kh-catalog {
    padding: 42px 28px 88px;
}

.kh-catalog-tools {
    margin-bottom: 18px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.kh-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.kh-search span {
    color: var(--deep);
    font-weight: 800;
    white-space: nowrap;
}

.kh-search input {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfdff;
    border-radius: 6px;
    padding: 13px 14px;
    font-size: 15px;
    outline: 0;
}

.kh-search input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(4, 199, 223, .18);
}

.kh-count {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.kh-category-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 24px;
}

.kh-category-row button {
    border: 1px solid var(--line);
    background: #fff;
    color: #334155;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
}

.kh-category-row button.is-active,
.kh-category-row button:hover {
    border-color: var(--cyan);
    background: #e8fbfe;
    color: var(--cyan-dark);
}

.kh-empty {
    grid-column: 1 / -1;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 8px;
}

.kh-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 64px;
    padding: 70px 28px;
}

.kh-detail-image {
    height: 590px;
    overflow: hidden;
    border-radius: 8px;
    background: #e8f1f5;
    border: 1px solid var(--line);
}

.kh-detail h1 {
    font: 800 48px Arial, Helvetica, sans-serif;
    margin: 12px 0 18px;
}

.kh-detail-copy {
    padding-top: 16px;
}

.kh-detail-meta {
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    margin: 20px 0;
}

.kh-detail-meta strong {
    color: var(--cyan-dark);
    font-size: 22px;
}

.kh-detail-meta span {
    color: var(--blue);
    font-size: 13px;
    letter-spacing: .1em;
    font-weight: 800;
}

.kh-detail-content {
    line-height: 1.8;
    color: var(--muted);
}

.kh-specs {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    color: var(--deep);
}

.kh-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding: 90px 28px;
}

.kh-about-image {
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.kh-contact {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    padding: 90px 28px;
}

.kh-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 42px;
}

.kh-form label {
    display: block;
    font-size: 14px;
    color: var(--deep);
    margin-top: 20px;
    font-weight: 800;
}

.kh-form input,
.kh-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfdff;
    border-radius: 6px;
    padding: 13px;
    margin-top: 8px;
    font-size: 15px;
    outline: 0;
}

.kh-form input:focus,
.kh-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(4, 199, 223, .18);
}

.kh-form button {
    border: 0;
}

.kh-message {
    margin-top: 16px;
    color: var(--cyan-dark);
}

.kh-footer {
    background: var(--deep);
    color: #cbd5e1;
    padding: 52px 0;
    margin-top: 70px;
}

.kh-footer-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
}

.kh-footer-logo {
    display: block;
    max-width: 170px;
    max-height: 54px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
}

.kh-footer p {
    font-size: 13px;
    color: #94a3b8;
}

.kh-footer a {
    display: block;
    color: #e2e8f0;
    text-decoration: none;
    margin-top: 12px;
}

.kh-footer .kh-footer-heading {
    color: #f8fafc;
    font-weight: 800;
    margin-top: 0;
}

.kh-supplier-info {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 28px;
    padding-top: 22px;
    font-size: 13px;
    line-height: 1.8;
    color: #b9c4d4;
}

.kh-supplier-info strong {
    display: block;
    color: #fff;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.kh-supplier-info span {
    display: block;
}

@media (max-width: 920px) {
    .kh-hero,
    .kh-catalog-hero-inner,
    .kh-features,
    .kh-about,
    .kh-contact,
    .kh-detail,
    .kh-footer-grid {
        grid-template-columns: 1fr;
    }

    .kh-hero {
        min-height: auto;
    }

    .kh-hero-inner {
        padding-top: 72px;
        padding-bottom: 58px;
    }

    .kh-hero-image {
        min-height: 360px;
    }

    .kh-hero h1,
    .kh-title {
        font-size: 42px;
    }

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

    .kh-catalog-tools {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .kh-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 28px;
    }

    .kh-links {
        gap: 14px;
        flex-wrap: wrap;
    }

    .kh-nav-cta {
        display: none;
    }

    .kh-grid,
    .kh-products-grid,
    .kh-feature-grid,
    .kh-stats {
        grid-template-columns: 1fr;
    }

    .kh-section {
        padding: 64px 0;
    }

    .kh-catalog-hero h1,
    .kh-page-hero h1,
    .kh-detail h1 {
        font-size: 36px;
    }

    .kh-cta {
        padding: 38px 22px;
    }
}
