/* Approved Kutyacica homepage reference build */
:root {
    --kc-ref-ink: #2f201a;
    --kc-ref-muted: #725f56;
    --kc-ref-coral: #ff7b66;
    --kc-ref-orange: #f4a244;
    --kc-ref-peach: #fff0e7;
    --kc-ref-lavender: #eee7f8;
    --kc-ref-mint: #edf5ec;
    --kc-ref-cream: #fffaf3;
    --kc-ref-line: #eadfd4;
    --kc-ref-shadow: 0 18px 48px rgba(94, 66, 49, .08);
    --kc-ref-radius: 24px;
    --kc-ref-shell: 1440px;
}

body.home {
    background: #fffdf9;
    color: var(--kc-ref-ink);
}

body.home .site-main,
body.home .kc-homepage {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

body.home .kc-partners,
body.home .entry-content > * {
    display: none !important;
}

.kc-ref-shell {
    width: min(var(--kc-ref-shell), calc(100% - 64px));
    margin-inline: auto;
}

/* Header alignment with approved mockup */
body.home .kc-site-header {
    position: relative;
    z-index: 50;
    background: rgba(255, 253, 249, .96);
    border-bottom: 1px solid rgba(234, 223, 212, .72);
    box-shadow: none;
}

body.home .kc-site-header__inner {
    width: min(var(--kc-ref-shell), calc(100% - 64px));
    min-height: 102px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(270px, .8fr) minmax(360px, 1.15fr) minmax(310px, .8fr);
    align-items: center;
    gap: 28px;
}

body.home .kc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--kc-ref-ink);
    text-decoration: none;
}

body.home .kc-brand__paw {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: var(--kc-ref-peach);
    font-size: 28px;
    transform: rotate(-7deg);
}

body.home .kc-brand__name {
    display: block;
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: clamp(25px, 2vw, 34px);
    line-height: 1;
    letter-spacing: -.04em;
    white-space: nowrap;
}

body.home .kc-brand__dog { color: var(--kc-ref-ink); }
body.home .kc-brand__cat { color: var(--kc-ref-coral); }
body.home .kc-brand__domain { color: var(--kc-ref-ink); }
body.home .kc-brand small {
    display: block;
    margin-top: 7px;
    color: var(--kc-ref-muted);
    font-size: 11px;
    letter-spacing: .01em;
}

body.home .kc-header-search {
    width: 100%;
    max-width: 560px;
    justify-self: center;
    position: relative;
}

body.home .kc-header-search input {
    width: 100%;
    height: 50px;
    padding: 0 58px 0 24px;
    border: 1px solid var(--kc-ref-line);
    border-radius: 999px;
    background: #fff8ef;
    color: var(--kc-ref-ink);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

body.home .kc-header-search button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--kc-ref-ink);
    font-size: 25px;
    cursor: pointer;
}

body.home .kc-header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 22px;
}

body.home .kc-header-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6b4534;
    text-decoration: none;
    font-size: 14px;
}

body.home .kc-header-action > span:first-child {
    font-size: 29px;
    line-height: 1;
}

body.home .kc-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: transparent;
}

body.home .kc-menu-toggle span {
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #704832;
}

body.home .kc-primary-nav {
    top: calc(100% - 7px);
    right: 0;
    left: auto;
    width: min(420px, calc(100vw - 32px));
    border: 1px solid var(--kc-ref-line);
    border-radius: 20px;
    background: #fffdf9;
    box-shadow: var(--kc-ref-shadow);
}

/* Hero */
.kc-ref-hero {
    position: relative;
    padding: 44px 0 22px;
    background: linear-gradient(90deg, #fffdf9 0%, #fffdf9 58%, #fffaf5 100%);
}

.kc-ref-hero::before,
.kc-ref-hero::after {
    content: "";
    position: absolute;
    border-radius: 48% 52% 62% 38%;
    filter: blur(.2px);
    pointer-events: none;
}

.kc-ref-hero::before {
    left: -90px;
    bottom: -70px;
    width: 230px;
    height: 250px;
    background: #ffe4d8;
}

.kc-ref-hero::after {
    right: -110px;
    bottom: -120px;
    width: 300px;
    height: 280px;
    background: #eee5f8;
}

.kc-ref-hero__grid {
    min-height: 570px;
    display: grid;
    grid-template-columns: .92fr 1.35fr;
    align-items: center;
    gap: 54px;
}

.kc-ref-hero__copy {
    position: relative;
    z-index: 4;
    padding: 30px 0 34px 38px;
}

.kc-ref-hero__copy h1 {
    max-width: 650px;
    margin: 0;
    color: var(--kc-ref-ink);
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    font-size: clamp(48px, 4.4vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
}

.kc-ref-hero__copy h1 span {
    display: inline-block;
    margin-left: 10px;
    font-size: .38em;
    color: var(--kc-ref-coral);
    transform: rotate(-12deg) translateY(-1em);
}

.kc-ref-hero__copy > p {
    margin: 24px 0 26px;
    color: #594941;
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.45;
}

.kc-ref-pet-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 250px));
    gap: 18px;
}

.kc-ref-pet-card {
    position: relative;
    min-height: 208px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(105, 78, 58, .08);
    border-radius: 24px;
    color: var(--kc-ref-ink);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.kc-ref-pet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kc-ref-shadow);
}

.kc-ref-pet-card--dog { background: #ffe9d3; }
.kc-ref-pet-card--cat { background: #ebe2f7; }

.kc-ref-pet-card img {
    align-self: stretch;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    mix-blend-mode: multiply;
}

.kc-ref-pet-card strong {
    justify-self: center;
    font-size: 24px;
    line-height: 1.25;
    text-align: center;
}

.kc-ref-pet-card__icon {
    position: absolute;
    top: 25px;
    right: 27px;
    font-size: 24px;
}

.kc-ref-pet-card__arrow {
    position: absolute;
    right: 29px;
    bottom: 26px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.58);
    font-size: 20px;
}

.kc-ref-hero__visual {
    position: relative;
    min-height: 560px;
    isolation: isolate;
}

.kc-ref-blob {
    position: absolute;
    z-index: -3;
    display: block;
}

.kc-ref-blob--peach {
    top: 24px;
    left: 5%;
    width: 67%;
    height: 67%;
    border-radius: 44% 56% 57% 43% / 50% 38% 62% 50%;
    background: #fff0df;
}

.kc-ref-blob--mint {
    left: -1%;
    bottom: 0;
    width: 62%;
    height: 42%;
    border-radius: 55% 45% 44% 56%;
    background: #dfeedd;
}

.kc-ref-blob--lavender {
    right: -2%;
    bottom: -2%;
    width: 62%;
    height: 46%;
    border-radius: 52% 48% 34% 66%;
    background: #e8dcf4;
}

.kc-ref-hero__dog,
.kc-ref-hero__cat {
    position: absolute;
    z-index: 2;
    border-radius: 46% 46% 22% 22% / 32% 32% 12% 12%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.98) contrast(.98);
    box-shadow: 0 18px 34px rgba(66, 47, 35, .12);
}

.kc-ref-hero__dog {
    left: 17%;
    bottom: 9%;
    width: 48%;
    height: 79%;
}

.kc-ref-hero__cat {
    right: 6%;
    bottom: 8%;
    width: 38%;
    height: 58%;
}

.kc-ref-doodle {
    position: absolute;
    z-index: 3;
    color: #efb6a4;
    opacity: .8;
}

.kc-ref-doodle--heart {
    top: 28%;
    left: 0;
    font-size: 72px;
    transform: rotate(-12deg);
}

.kc-ref-doodle--paw {
    top: 16%;
    right: 2%;
    font-size: 36px;
    opacity: .45;
}

/* Shared sections */
.kc-ref-section {
    padding: 46px 0;
}

.kc-ref-section-title,
.kc-ref-subtitle {
    margin: 0 0 30px;
    text-align: center;
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    color: var(--kc-ref-ink);
}

.kc-ref-section-title { font-size: 34px; }
.kc-ref-subtitle { font-size: 26px; text-align: left; }
.kc-ref-section-title span,
.kc-ref-subtitle span { color: var(--kc-ref-coral); }

.kc-ref-tools {
    background: #fffaf3;
    border-top: 1px solid #f4e9df;
}

.kc-ref-tools__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.kc-ref-tool {
    min-height: 178px;
    padding: 25px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--kc-ref-line);
    border-radius: 24px;
    color: var(--kc-ref-ink);
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.kc-ref-tool:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(86, 60, 45, .08);
}

.kc-ref-tool--peach { background: #fff8f4; }
.kc-ref-tool--mint { background: #f7fbf6; }
.kc-ref-tool--sky { background: #f5f9fb; }
.kc-ref-tool--cream { background: #fffaf4; }
.kc-ref-tool--rose { background: #fff7f4; }

.kc-ref-tool__icon { font-size: 39px; }
.kc-ref-tool strong { font-size: 20px; line-height: 1.22; }
.kc-ref-tool small { color: var(--kc-ref-muted); font-size: 13px; }

/* Feature row */
.kc-ref-feature-row { background: #fffaf3; padding-top: 4px; }
.kc-ref-feature-row__grid {
    display: grid;
    grid-template-columns: 1.48fr .95fr .95fr;
    gap: 18px;
}

.kc-ref-feature {
    position: relative;
    min-height: 335px;
    overflow: hidden;
    border: 1px solid var(--kc-ref-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(80, 54, 39, .035);
}

.kc-ref-feature--tip {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
}

.kc-ref-feature--tip .kc-ref-feature__copy {
    position: relative;
    z-index: 2;
    padding: 30px 0 30px 30px;
}

.kc-ref-feature--tip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(to right, transparent 0%, black 24%);
}

.kc-ref-kicker {
    margin: 0 0 18px;
    color: #6d4736;
    font-size: 17px;
    font-weight: 700;
}

.kc-ref-feature h2 {
    margin: 0 0 18px;
    font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
    color: var(--kc-ref-ink);
    font-size: 27px;
    line-height: 1.22;
}

.kc-ref-feature p { color: #4f4038; line-height: 1.55; }

.kc-ref-button {
    display: inline-flex;
    align-items: center;
    min-height: 43px;
    margin-top: 12px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--kc-ref-coral), #ff654f);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 9px 18px rgba(255, 105, 82, .22);
}

.kc-ref-feature--alerts { padding: 30px; }
.kc-ref-feature--alerts ul { margin: 0 0 14px; padding: 0; list-style: none; }
.kc-ref-feature--alerts li {
    display: grid;
    grid-template-columns: 38px 1fr 12px;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
}
.kc-ref-feature--alerts li > span { font-size: 28px; }
.kc-ref-feature--alerts li strong,
.kc-ref-feature--alerts li small { display: block; }
.kc-ref-feature--alerts li small { margin-top: 3px; color: var(--kc-ref-muted); }
.kc-ref-feature--alerts i { width: 10px; height: 10px; border-radius: 50%; }
.kc-ref-feature--alerts .is-orange { background: #f7a13b; }
.kc-ref-feature--alerts .is-green { background: #68a96f; }
.kc-ref-feature--alerts > a { color: #aa78b2; text-decoration: none; font-size: 13px; }

.kc-ref-feature--newsletter {
    padding: 30px;
    background: linear-gradient(145deg, #f2ebf8, #e5d8ef);
}
.kc-ref-feature--newsletter p { max-width: 260px; }
.kc-ref-feature--newsletter form {
    position: relative;
    z-index: 2;
    max-width: 260px;
}
.kc-ref-feature--newsletter input {
    width: 100%;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
}
.kc-ref-feature--newsletter button {
    min-height: 42px;
    margin-top: 12px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #9c72ad;
    color: #fff;
    opacity: 1;
}
.kc-ref-feature--newsletter img {
    position: absolute;
    right: -8px;
    bottom: -16px;
    width: 155px;
    height: 150px;
    border-radius: 60% 0 0 0;
    object-fit: cover;
    object-position: center 35%;
    mix-blend-mode: multiply;
}

/* Popular content */
.kc-ref-popular { background: #fff; }
.kc-ref-popular__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.kc-ref-article {
    overflow: hidden;
    border: 1px solid var(--kc-ref-line);
    border-radius: 20px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}
.kc-ref-article:hover { transform: translateY(-4px); box-shadow: var(--kc-ref-shadow); }
.kc-ref-article > img { width: 100%; height: 154px; object-fit: cover; }
.kc-ref-article__body { padding: 0 16px 18px; }
.kc-ref-article__body > span {
    display: inline-flex;
    margin-top: -14px;
    padding: 5px 10px;
    position: relative;
    border-radius: 999px;
    background: #e2efcf;
    color: #4d6142;
    font-size: 10px;
    font-weight: 700;
}
.kc-ref-article:nth-child(2) .kc-ref-article__body > span,
.kc-ref-article:nth-child(5) .kc-ref-article__body > span { background: #eadcf1; color: #6b4c75; }
.kc-ref-article:nth-child(3) .kc-ref-article__body > span { background: #ffe2cb; color: #a45128; }
.kc-ref-article h3 { margin: 13px 0 9px; font-size: 16px; line-height: 1.3; }
.kc-ref-article p { min-height: 58px; margin: 0 0 13px; color: var(--kc-ref-muted); font-size: 12px; line-height: 1.5; }
.kc-ref-article a { color: #754232; text-decoration: none; font-size: 12px; }

/* Trust and partners */
.kc-ref-trust { padding: 14px 0 30px; background: #fff; }
.kc-ref-trust__grid {
    min-height: 105px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border-radius: 24px;
    background: linear-gradient(90deg, #eef5ef, #f5f8f4);
}
.kc-ref-trust__grid > div {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 22px;
    border-right: 1px solid #d7e3d8;
}
.kc-ref-trust__grid > div:last-child { border-right: 0; }
.kc-ref-trust__grid span { color: #5f9b7b; font-size: 34px; }
.kc-ref-trust__grid strong { font-size: 14px; line-height: 1.35; }

.kc-ref-partners { padding: 18px 0 34px; background: #fff; }
.kc-ref-partners h2 { margin: 0 0 20px; font-size: 17px; }
.kc-ref-partners__row {
    min-height: 78px;
    display: grid;
    grid-template-columns: repeat(6, 1fr) 1.3fr;
    align-items: center;
    border-top: 1px solid #f0e6dd;
    border-bottom: 1px solid #f0e6dd;
}
.kc-ref-partners__row span {
    padding: 0 18px;
    border-right: 1px solid #eee3d9;
    color: #73645d;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}
.kc-ref-partners__row span:nth-child(3) { color: #d73939; }
.kc-ref-partners__row span:nth-child(4) { color: #ed7d28; }
.kc-ref-partners__row a {
    justify-self: center;
    padding: 11px 22px;
    border-radius: 999px;
    background: #fff3e6;
    color: #704c37;
    text-decoration: none;
    font-size: 13px;
}
.kc-ref-partners__note { margin: 12px 0 0; color: #9a877c; font-size: 11px; text-align: center; }

@media (max-width: 1180px) {
    body.home .kc-site-header__inner { grid-template-columns: 1fr 1.15fr auto; }
    body.home .kc-header-action span:last-child { display: none; }
    .kc-ref-hero__grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .kc-ref-hero__copy { padding-left: 0; }
    .kc-ref-pet-switch { grid-template-columns: repeat(2, minmax(0, 220px)); }
    .kc-ref-tools__grid { grid-template-columns: repeat(3, 1fr); }
    .kc-ref-feature-row__grid { grid-template-columns: 1.25fr 1fr; }
    .kc-ref-feature--newsletter { grid-column: 1 / -1; min-height: 260px; }
    .kc-ref-popular__grid { grid-template-columns: repeat(3, 1fr); }
    .kc-ref-partners__row { grid-template-columns: repeat(4, 1fr); }
    .kc-ref-partners__row a { grid-column: span 2; }
}

@media (max-width: 860px) {
    .kc-ref-shell,
    body.home .kc-site-header__inner { width: min(100% - 32px, var(--kc-ref-shell)); }
    body.home .kc-site-header__inner {
        min-height: 82px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }
    body.home .kc-header-search { grid-column: 1 / -1; grid-row: 2; padding-bottom: 14px; }
    body.home .kc-header-actions { gap: 10px; }
    body.home .kc-header-action { display: none; }
    .kc-ref-hero { padding-top: 20px; }
    .kc-ref-hero__grid { grid-template-columns: 1fr; }
    .kc-ref-hero__copy { text-align: center; }
    .kc-ref-hero__copy h1 { margin-inline: auto; }
    .kc-ref-pet-switch { justify-content: center; }
    .kc-ref-hero__visual { min-height: 480px; }
    .kc-ref-hero__dog { left: 12%; }
    .kc-ref-tools__grid { grid-template-columns: repeat(2, 1fr); }
    .kc-ref-feature-row__grid { grid-template-columns: 1fr; }
    .kc-ref-feature--newsletter { grid-column: auto; }
    .kc-ref-popular__grid { grid-template-columns: repeat(2, 1fr); }
    .kc-ref-trust__grid { grid-template-columns: repeat(2, 1fr); }
    .kc-ref-trust__grid > div:nth-child(2) { border-right: 0; }
    .kc-ref-partners__row { grid-template-columns: repeat(3, 1fr); }
    .kc-ref-partners__row a { grid-column: span 3; margin: 14px; }
}

@media (max-width: 560px) {
    body.home .kc-brand__paw { width: 42px; height: 42px; font-size: 22px; }
    body.home .kc-brand__name { font-size: 23px; }
    body.home .kc-brand small { font-size: 9px; }
    .kc-ref-hero__copy h1 { font-size: 43px; }
    .kc-ref-hero__copy > p br { display: none; }
    .kc-ref-pet-switch { grid-template-columns: 1fr 1fr; gap: 10px; }
    .kc-ref-pet-card { min-height: 170px; grid-template-columns: 1fr; }
    .kc-ref-pet-card img { position: absolute; inset: 0 48% 0 0; width: 52%; opacity: .78; }
    .kc-ref-pet-card strong { position: relative; justify-self: end; padding-right: 24px; font-size: 18px; }
    .kc-ref-pet-card__icon { right: 20px; top: 16px; }
    .kc-ref-pet-card__arrow { right: 20px; bottom: 16px; }
    .kc-ref-hero__visual { min-height: 390px; }
    .kc-ref-hero__dog { left: 7%; width: 57%; height: 78%; }
    .kc-ref-hero__cat { right: 1%; width: 45%; height: 57%; }
    .kc-ref-tools__grid,
    .kc-ref-popular__grid,
    .kc-ref-trust__grid { grid-template-columns: 1fr; }
    .kc-ref-feature--tip { grid-template-columns: 1fr; }
    .kc-ref-feature--tip img { position: absolute; inset: 0; opacity: .22; mask-image: none; }
    .kc-ref-feature--tip .kc-ref-feature__copy { padding: 26px; }
    .kc-ref-trust__grid > div { border-right: 0; border-bottom: 1px solid #d7e3d8; }
    .kc-ref-trust__grid > div:last-child { border-bottom: 0; }
    .kc-ref-partners__row { grid-template-columns: repeat(2, 1fr); }
    .kc-ref-partners__row a { grid-column: span 2; }
}
