/* Kutyacica homepage v1 */

body.home {
    background: #fffaf4;
}

body.home .site-main,
body.home .entry-content,
body.home .ct-container-full {
    margin: 0;
    padding: 0;
}

.kc-homepage {
    overflow: hidden;
    color: #433b3a;
}

.kc-homepage a {
    text-underline-offset: 0.18em;
}

.kc-homepage .alignwide {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    margin-inline: auto;
}

.kc-homepage .alignfull {
    width: 100%;
    max-width: none;
}

.kc-eyebrow {
    margin: 0 0 12px;
    color: #d26858;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.kc-section {
    padding: clamp(68px, 8vw, 108px) 0;
}

.kc-section--soft {
    background: linear-gradient(180deg, #fff7ef 0%, #fffaf5 100%);
}

.kc-section__title {
    max-width: 760px;
    margin: 0 auto 14px;
    color: #403638;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.kc-section__lead {
    max-width: 650px;
    margin: 0 auto 42px;
    color: #766d6b;
    font-size: 1.06rem;
}

/* Hero */
.kc-hero {
    position: relative;
    padding: clamp(54px, 8vw, 98px) 0 clamp(70px, 9vw, 120px);
    background:
        radial-gradient(circle at 7% 16%, rgba(255, 203, 184, 0.5), transparent 24%),
        radial-gradient(circle at 89% 19%, rgba(214, 211, 250, 0.6), transparent 25%),
        linear-gradient(135deg, #fff8f1 0%, #fffdf9 52%, #f9f5ff 100%);
}

.kc-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 52px;
    background: #fffaf4;
    clip-path: ellipse(58% 48% at 50% 100%);
}

.kc-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.kc-hero__copy {
    position: relative;
    z-index: 2;
}

.kc-hero__title {
    max-width: 760px;
    margin: 0 0 22px;
    color: #3f3436;
    font-size: clamp(2.7rem, 5.6vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.kc-hero__lead {
    max-width: 680px;
    margin: 0 0 30px;
    color: #6e6260;
    font-size: clamp(1.08rem, 1.7vw, 1.28rem);
    line-height: 1.65;
}

.kc-hero-search {
    max-width: 690px;
    margin-bottom: 28px;
}

.kc-hero-search .wp-block-search__inside-wrapper {
    min-height: 62px;
    padding: 7px;
    border: 1px solid rgba(104, 86, 86, 0.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(113, 88, 83, 0.12);
}

.kc-hero-search .wp-block-search__input {
    padding-inline: 22px;
    border: 0;
    background: transparent;
    color: #493e3d;
    font-size: 1rem;
}

.kc-hero-search .wp-block-search__button {
    min-width: 122px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: #ee806e;
    color: #fff;
    font-weight: 800;
}

.kc-pet-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 690px;
}

.kc-choice {
    position: relative;
    min-height: 210px;
    padding: 26px;
    border: 1px solid rgba(104, 86, 86, 0.1);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(100, 77, 72, 0.09);
}

.kc-choice::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -42px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
}

.kc-choice--dog {
    background: linear-gradient(145deg, #ffe1d2, #fff1e9);
}

.kc-choice--cat {
    background: linear-gradient(145deg, #e8e1ff, #f5f1ff);
}

.kc-choice__icon {
    margin: 0 0 8px;
    font-size: 2.1rem;
}

.kc-choice h3 {
    margin: 0 0 8px;
    color: #493d3c;
    font-size: 1.32rem;
}

.kc-choice p:not(.kc-choice__icon) {
    margin: 0 0 18px;
    color: #716663;
    line-height: 1.5;
}

.kc-choice .wp-block-button__link {
    padding: 8px 0;
    border: 0;
    color: #5d4d4b;
    font-weight: 800;
    text-decoration: none;
}

/* CSS pet illustration */
.kc-pet-visual {
    position: relative;
    min-height: 570px;
    isolation: isolate;
}

.kc-pet-visual::before {
    content: "";
    position: absolute;
    inset: 62px 18px 34px;
    z-index: -2;
    border-radius: 47% 53% 45% 55% / 48% 42% 58% 52%;
    background: linear-gradient(145deg, #f7d8c9, #e4ddff 58%, #d9efe2);
    box-shadow: 0 40px 100px rgba(117, 90, 96, 0.18);
    transform: rotate(-4deg);
}

.kc-pet-visual__blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(0.2px);
}

.kc-pet-visual__blob--one {
    top: 28px;
    right: 34px;
    width: 190px;
    height: 190px;
    background: rgba(255, 220, 168, 0.75);
}

.kc-pet-visual__blob--two {
    left: 8px;
    bottom: 56px;
    width: 170px;
    height: 170px;
    background: rgba(190, 231, 207, 0.82);
}

.kc-pet-visual__pet {
    position: absolute;
    display: grid;
    place-items: center;
    border: 10px solid rgba(255,255,255,0.9);
    border-radius: 46% 54% 50% 50%;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 26px 60px rgba(98, 74, 75, 0.18);
    line-height: 1;
}

.kc-pet-visual__dog {
    left: 22px;
    bottom: 82px;
    width: 270px;
    height: 300px;
    font-size: 10rem;
    transform: rotate(-5deg);
}

.kc-pet-visual__cat {
    right: 12px;
    top: 90px;
    width: 235px;
    height: 265px;
    font-size: 8.5rem;
    transform: rotate(5deg);
}

.kc-pet-visual__paw {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.35;
}

.kc-pet-visual__paw--one {
    top: 32px;
    left: 52px;
    transform: rotate(-18deg);
}

.kc-pet-visual__paw--two {
    right: 8px;
    bottom: 94px;
    transform: rotate(24deg);
}

.kc-pet-visual__badge {
    position: absolute;
    right: 54px;
    bottom: 20px;
    padding: 15px 22px;
    border: 1px solid rgba(104, 86, 86, 0.1);
    border-radius: 20px;
    background: rgba(255,255,255,0.92);
    color: #6b5c59;
    box-shadow: 0 18px 40px rgba(94, 74, 76, 0.13);
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: center;
    transform: rotate(-3deg);
}

.kc-pet-visual__badge strong {
    color: #dd7262;
}

/* Tool cards */
.kc-card-grid {
    display: grid;
    gap: 20px;
}

.kc-card-grid--tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kc-tool-card {
    min-height: 255px;
    padding: 30px;
    border: 1px solid rgba(104, 86, 86, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(93, 71, 69, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.kc-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(93, 71, 69, 0.12);
}

.kc-tool-card--peach { background: #fff0e8; }
.kc-tool-card--mint { background: #eaf7ef; }
.kc-tool-card--lavender { background: #f0edff; }
.kc-tool-card--sky { background: #eaf5fb; }
.kc-tool-card--cream { background: #fff8dd; }
.kc-tool-card--rose { background: #fff0f2; }

.kc-tool-card__icon {
    margin: 0 0 18px;
    font-size: 2.35rem;
}

.kc-tool-card h3 {
    margin: 0 0 11px;
    color: #493e3d;
    font-size: 1.38rem;
}

.kc-tool-card p {
    color: #746966;
    line-height: 1.58;
}

.kc-tool-card p:last-child {
    margin-top: 22px;
    margin-bottom: 0;
}

.kc-tool-card a {
    color: #d56758;
    font-weight: 800;
    text-decoration: none;
}

/* Features */
.kc-feature-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 24px;
}

.kc-feature-card {
    min-height: 390px;
    padding: clamp(34px, 5vw, 58px);
    border-radius: 34px;
    overflow: hidden;
}

.kc-feature-card--tip {
    background:
        radial-gradient(circle at 88% 16%, rgba(255,255,255,0.65), transparent 22%),
        linear-gradient(145deg, #ffd9c9, #fff0e7);
}

.kc-feature-card--alert {
    background:
        radial-gradient(circle at 84% 12%, rgba(255,255,255,0.65), transparent 22%),
        linear-gradient(145deg, #eee9ff, #f8f5ff);
}

.kc-feature-card h2 {
    max-width: 700px;
    margin: 0 0 18px;
    color: #463b3b;
    font-size: clamp(1.85rem, 3.2vw, 3rem);
    line-height: 1.08;
}

.kc-feature-card p {
    max-width: 680px;
    color: #6d6260;
    font-size: 1.03rem;
    line-height: 1.7;
}

.kc-feature-card .wp-block-button__link {
    border-radius: 999px;
    background: #e87967;
    color: #fff;
    font-weight: 800;
}

.kc-feature-card a {
    color: #c85f52;
    font-weight: 800;
}

/* Article cards */
.kc-card-grid--articles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
}

.kc-article-card {
    padding: 18px 18px 28px;
    border: 1px solid rgba(104, 86, 86, 0.09);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(90, 70, 69, 0.07);
}

.kc-article-card__visual {
    display: grid;
    min-height: 205px;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff0e7, #efebff);
    font-size: 5rem;
}

.kc-article-card__tag {
    margin: 22px 0 8px;
    color: #d16d5e;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.kc-article-card h3 {
    margin: 0 0 11px;
    color: #493e3d;
    font-size: 1.32rem;
    line-height: 1.25;
}

.kc-article-card p:not(.kc-article-card__tag) {
    color: #766c69;
    line-height: 1.55;
}

.kc-article-card a {
    color: #cd6658;
    font-weight: 800;
    text-decoration: none;
}

/* Newsletter */
.kc-newsletter {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 0.78fr);
    gap: 38px;
    align-items: center;
    margin-bottom: clamp(70px, 9vw, 120px);
    padding: clamp(34px, 5vw, 58px);
    border-radius: 34px;
    background: linear-gradient(135deg, #e7f4eb, #f6f1ff 58%, #fff0e7);
}

.kc-newsletter h2 {
    margin: 0 0 12px;
    color: #463b3b;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.kc-newsletter p {
    color: #6c6260;
}

.kc-newsletter__form {
    display: flex;
    gap: 9px;
    padding: 7px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(93, 73, 75, 0.1);
}

.kc-newsletter__form input {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    border: 0;
    background: transparent;
}

.kc-newsletter__form button {
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: #e97a69;
    color: #fff;
    font-weight: 800;
    opacity: 1;
}

/* Trust */
.kc-trust {
    padding: 34px 0;
    background: #443a3c;
    color: #fff;
}

.kc-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    text-align: center;
}

.kc-trust__grid p {
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.kc-disclaimer {
    width: min(900px, calc(100% - 40px));
    margin: 24px auto 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* Generic buttons */
.kc-homepage .wp-element-button {
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.kc-homepage .wp-element-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(110, 78, 74, 0.15);
}

@media (max-width: 980px) {
    .kc-hero__grid,
    .kc-feature-grid,
    .kc-newsletter {
        grid-template-columns: 1fr;
    }

    .kc-pet-visual {
        width: min(620px, 100%);
        min-height: 500px;
        margin-inline: auto;
    }

    .kc-card-grid--tools,
    .kc-card-grid--articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kc-newsletter__copy {
        text-align: center;
    }
}

@media (max-width: 680px) {
    .kc-homepage .alignwide,
    .kc-hero__grid {
        width: min(100% - 24px, 1180px);
    }

    .kc-hero {
        padding-top: 42px;
    }

    .kc-hero__title {
        font-size: clamp(2.45rem, 13vw, 4rem);
    }

    .kc-pet-choices,
    .kc-card-grid--tools,
    .kc-card-grid--articles,
    .kc-trust__grid {
        grid-template-columns: 1fr;
    }

    .kc-choice,
    .kc-tool-card {
        min-height: auto;
    }

    .kc-hero-search .wp-block-search__inside-wrapper {
        min-height: 56px;
    }

    .kc-hero-search .wp-block-search__button {
        min-width: auto;
        padding-inline: 18px;
    }

    .kc-pet-visual {
        min-height: 390px;
    }

    .kc-pet-visual__dog {
        left: 4px;
        bottom: 62px;
        width: 205px;
        height: 225px;
        font-size: 7rem;
    }

    .kc-pet-visual__cat {
        right: 2px;
        top: 66px;
        width: 180px;
        height: 205px;
        font-size: 6.1rem;
    }

    .kc-pet-visual__badge {
        right: 22px;
        bottom: 10px;
    }

    .kc-feature-card {
        min-height: auto;
        border-radius: 26px;
    }

    .kc-newsletter {
        width: min(100% - 24px, 1180px);
        padding: 28px 18px;
        border-radius: 26px;
    }

    .kc-newsletter__form {
        flex-direction: column;
        border-radius: 20px;
    }

    .kc-newsletter__form input,
    .kc-newsletter__form button {
        min-height: 48px;
        border-radius: 14px;
    }
}
