﻿:root {
    --color-bg-light: #FFF9F0;
    --color-text-dark: #3E2723;
    --color-accent: #E6A822;
    --color-accent-hover: #D4971B;
    --color-pink: #FFD1DC;
    --color-white: #FFFFFF;
    --font-main: 'Nunito', sans-serif;
    --border-radius: 28px;
    --transition: 0.3s ease;
    --ui-shadow-soft: 0 12px 34px rgba(62, 39, 35, 0.06);
    --ui-shadow-lift: 0 20px 48px rgba(62, 39, 35, 0.11);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { width: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    background: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(circle at top left, rgba(255, 209, 220, 0.22), transparent 26%),
        radial-gradient(circle at top right, rgba(230, 168, 34, 0.12), transparent 24%);
    background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 4000;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.scroll-progress__bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #E6A822 0%, #FFD1DC 100%);
    box-shadow: 0 0 18px rgba(230, 168, 34, 0.35);
    transition: width 0.12s linear;
}

header {
    width: 100%;
    background: var(--color-white);
    padding: 1rem 3%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--color-pink);
    box-shadow: 0 4px 15px rgba(62, 39, 35, 0.05);
    transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
header.scrolled {
    box-shadow: 0 14px 34px rgba(62, 39, 35, 0.14);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}
.header-top {
    display: grid;
    grid-template-columns: minmax(150px, 220px) auto minmax(150px, 220px);
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 2.2vw, 2.4rem);
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
}
.logo-wrapper { display: flex; align-items: center; min-width: 0; justify-self: center; text-decoration: none; }
.logo-full-mark { width: 100px; height: 100px; min-width: 100px; object-fit: contain; display: block; filter: drop-shadow(0 8px 18px rgba(62, 39, 35, 0.1)); transition: transform 0.28s ease, filter 0.28s ease; }
.header-meta { display: flex; flex-direction: column; gap: 0.15rem; color: #8D6E63; min-width: 0; }
.header-meta--left { justify-self: start; text-align: left; }
.header-meta--right { justify-self: end; text-align: right; }
.header-meta__label { font-size: 0.74rem; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: #B08B7A; }
.header-meta__sub { font-size: 0.84rem; font-weight: 800; color: #8D6E63; line-height: 1.25; }
.header-meta strong,
.header-phone { font-size: 1rem; font-weight: 900; color: #3E2723; line-height: 1.15; }
.header-phone:hover { color: #E6A822; }
header:hover .logo-full-mark {
    transform: translateY(-1px);
}
.btn-caramel,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 900;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-caramel::before,
.btn-light::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -140%;
    width: 62%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}
.btn-caramel {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 14px 28px rgba(230, 168, 34, 0.28);
}
.btn-caramel:hover,
.btn-light:hover { transform: translateY(-4px); }
.btn-caramel:hover::before,
.btn-light:hover::before { left: 165%; }
.btn-caramel:hover { background: var(--color-accent-hover); }
.btn-light {
    background: var(--color-white);
    color: var(--color-text-dark);
    border: 2px solid rgba(62, 39, 35, 0.08);
    box-shadow: 0 8px 20px rgba(62, 39, 35, 0.08);
}
.btn-light:hover { transform: translateY(-2px); border-color: var(--color-pink); }

.top-nav {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px dashed #F0E0D6;
    flex-wrap: wrap;
}
.top-nav a {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--color-bg-light);
    border: 2px solid transparent;
    font-weight: 800;
    font-size: 1.05rem;
    color: #5D4037;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-nav a:hover,
.top-nav a.active {
    border-color: var(--color-pink);
    color: var(--color-accent);
    transform: translateY(-1px);
}

.detail-shell {
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}
.reveal,
.reveal-left,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}
.reveal { transform: translateY(26px); }
.reveal-left { transform: translateX(-26px); }
.reveal-scale { transform: scale(0.96); }
.reveal.active,
.reveal-left.active,
.reveal-scale.active {
    opacity: 1;
    transform: none;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: #8D6E63;
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.breadcrumbs a:hover { color: var(--color-accent); }

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
    gap: 1.5rem;
    background: var(--color-white);
    border: 2px solid #FEF0E6;
    border-radius: var(--border-radius);
    padding: 2.2rem;
    box-shadow: var(--ui-shadow-soft);
    margin-bottom: 1.6rem;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    background: #FFF4D8;
    color: #8D6E63;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 0.9rem;
}
.detail-hero h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
}
.hero-text {
    font-size: 1.08rem;
    color: #5D4037;
    font-weight: 800;
    max-width: 700px;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
}
.hero-tags span {
    padding: 0.45rem 0.85rem;
    background: var(--color-bg-light);
    border: 1px solid #F0E0D6;
    border-radius: 999px;
    color: #5D4037;
    font-weight: 900;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.hero-card {
    background: linear-gradient(160deg, #FFF4D8 0%, #FFE8F0 100%);
    border-radius: 24px;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}
.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -52% auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}
.hero-card-label {
    display: block;
    color: #8D6E63;
    font-weight: 900;
    margin-bottom: 0.4rem;
}
.hero-card strong {
    display: block;
    font-size: 2.35rem;
    line-height: 1;
    margin-bottom: 0.55rem;
}
.hero-card p {
    color: #5D4037;
    font-weight: 800;
    margin-bottom: 1rem;
}
.hero-facts {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}
.hero-facts li {
    background: rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(240, 224, 214, 0.9);
}
.hero-facts span {
    display: block;
    color: #8D6E63;
    font-size: 0.88rem;
    font-weight: 800;
}
.hero-facts strong {
    font-size: 1.02rem;
    margin: 0.15rem 0 0;
}

.content-section {
    background: var(--color-white);
    border: 2px solid #FEF0E6;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 8px 24px rgba(62, 39, 35, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.section-heading {
    margin-bottom: 1.2rem;
}
.section-heading h2 {
    font-size: 1.85rem;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}
.section-heading p {
    color: #8D6E63;
    font-weight: 700;
    max-width: 760px;
}

.info-grid,
.expectation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.info-card,
.expectation-card {
    background: var(--color-bg-light);
    border: 2px dashed #F0E0D6;
    border-radius: 22px;
    padding: 1.15rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.info-card h3,
.expectation-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}
.info-card p,
.expectation-card p {
    color: #5D4037;
    font-weight: 700;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.step-card {
    background: linear-gradient(180deg, #FFFDF8 0%, #FFF7F9 100%);
    border: 2px solid #FEF0E6;
    border-radius: 22px;
    padding: 1.15rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.content-section:hover,
.care-card:hover,
.final-cta:hover {
    box-shadow: var(--ui-shadow-lift);
}
.step-card:hover,
.info-card:hover,
.expectation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(62, 39, 35, 0.09);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 900;
    margin-bottom: 0.8rem;
}
.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}
.step-card p {
    color: #5D4037;
    font-weight: 700;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
}
.pill-list li {
    padding: 0.65rem 0.9rem;
    border-radius: 18px;
    background: var(--color-bg-light);
    border: 1px solid #F0E0D6;
    font-weight: 900;
    color: #5D4037;
}

.visual-explainer {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 1.2rem;
    align-items: stretch;
}
.visual-explainer > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}
.visual-explainer.single-art {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
}
.ear-diagram-card,
.explain-card,
.care-card {
    background: var(--color-bg-light);
    border: 2px solid #FEF0E6;
    border-radius: 24px;
    padding: 1.2rem;
}
.ear-diagram-card h3,
.explain-card h3,
.care-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.schema-illustration {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 430px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    border-radius: 18px;
}
.tooth-illustration {
    max-width: 84%;
    max-height: 350px;
}
.ear-illustration {
    max-width: 88%;
    max-height: 360px;
}
.claw-illustration {
    max-width: 86%;
    max-height: 355px;
}
.ear-diagram {
    position: relative;
    min-height: 360px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), transparent 32%),
        linear-gradient(180deg, #FFFDF8 0%, #FFF5EA 100%);
    border: 2px dashed #F0E0D6;
    overflow: hidden;
}
.ear-shape {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220px;
    height: 280px;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, #FFD1DC 0%, #FFC2D3 100%);
    border: 5px solid rgba(230, 168, 34, 0.35);
    border-radius: 58% 42% 64% 36% / 28% 28% 72% 72%;
    box-shadow: inset 0 0 0 18px rgba(255, 244, 216, 0.7);
}
.ear-shape::before {
    content: "";
    position: absolute;
    inset: 34px 48px 90px 48px;
    border-radius: 58% 42% 70% 30% / 22% 22% 78% 78%;
    background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,232,181,0.82) 100%);
    border: 3px solid rgba(230, 168, 34, 0.2);
}
.ear-shape::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 42px;
    width: 38px;
    height: 96px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 232, 181, 0.95) 0%, rgba(255, 209, 220, 0.95) 100%);
    border: 3px solid rgba(230, 168, 34, 0.22);
}
.ear-point {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 5px rgba(230, 168, 34, 0.18);
}
.ear-point::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 2px;
    background: rgba(230, 168, 34, 0.45);
    transform-origin: left center;
}
.ear-point.left::after {
    right: 12px;
    transform: rotate(168deg);
}
.ear-point.right::after {
    left: 12px;
    transform: rotate(12deg);
}
.ear-label {
    position: absolute;
    max-width: 150px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(230, 168, 34, 0.18);
    border-radius: 16px;
    padding: 0.45rem 0.6rem;
    color: #5D4037;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
}
.ear-label strong {
    display: block;
    color: var(--color-text-dark);
    font-size: 0.86rem;
    margin-bottom: 0.1rem;
}
.ear-point-a { top: 74px; left: 82px; }
.ear-point-b { top: 152px; right: 90px; }
.ear-point-c { bottom: 68px; left: 116px; }
.ear-label-a { top: 34px; left: 20px; }
.ear-label-b { top: 130px; right: 18px; }
.ear-label-c { bottom: 28px; left: 18px; }
.explain-list,
.care-list {
    display: grid;
    gap: 0.8rem;
}
.explain-item,
.care-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.85rem;
    background: rgba(255,255,255,0.72);
    border-radius: 18px;
    border: 1px solid rgba(240, 224, 214, 0.95);
}
.explain-icon,
.care-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFF4D8;
    color: var(--color-text-dark);
    font-size: 1.15rem;
}
.explain-item h4,
.care-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.explain-item p,
.care-item p {
    color: #5D4037;
    font-weight: 700;
    font-size: 0.95rem;
}
.care-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.care-card.good {
    background: linear-gradient(180deg, #FFFDF8 0%, #FFF8ED 100%);
}
.care-card.alert {
    background: linear-gradient(180deg, #FFF9FB 0%, #FFF1F4 100%);
}
.schema-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 360px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 18%, rgba(255,255,255,0.88), transparent 28%),
        linear-gradient(180deg, #FFFDF8 0%, #FFF5EA 100%);
    border: 2px dashed #F0E0D6;
    overflow: hidden;
    padding: 1rem;
}
.schema-frame svg {
    width: 100%;
    height: 100%;
    display: block;
}
.schema-caption {
    margin-top: 0.8rem;
    color: #8D6E63;
    font-weight: 700;
    font-size: 0.93rem;
}
.schema-note-grid {
    display: grid;
    gap: 0.85rem;
}
.schema-note {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.95rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(240, 224, 214, 0.95);
}
.schema-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFF4D8;
    color: var(--color-text-dark);
    font-size: 1.15rem;
}
.schema-note h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.schema-note p {
    color: #5D4037;
    font-weight: 700;
    font-size: 0.95rem;
}
.dog-ear-label,
.claw-label,
.tooth-label {
    fill: #3E2723;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 14px;
}
.dog-ear-sub,
.claw-sub,
.tooth-sub {
    fill: #8D6E63;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 12px;
}
.svg-callout {
    stroke: rgba(230, 168, 34, 0.7);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
}
.svg-dot {
    fill: #E6A822;
    stroke: rgba(230, 168, 34, 0.25);
    stroke-width: 8;
}

.final-cta {
    background: linear-gradient(135deg, #FFE8B5 0%, #FFD1DC 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 26px rgba(62, 39, 35, 0.05);
}
.final-cta h2 {
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 0.35rem;
}
.final-cta p {
    color: #5D4037;
    font-weight: 800;
    max-width: 640px;
}
.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(62, 39, 35, 0.48);
}
.contact-modal.active { display: flex; }
.contact-dialog {
    width: min(440px, 100%);
    background: var(--color-white);
    border: 2px solid #FEF0E6;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(62, 39, 35, 0.24);
    padding: 1.4rem;
    position: relative;
}
.contact-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
}
.contact-dialog h2 {
    font-size: 1.55rem;
    margin: 0 2.2rem 0.4rem 0;
}
.contact-dialog p { color: #8D6E63; font-weight: 800; margin-bottom: 1rem; }
.messenger-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}
.messenger-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 64px;
    padding: 0.85rem;
    border-radius: 18px;
    background: var(--color-bg-light);
    border: 2px solid #FEF0E6;
    font-weight: 900;
    transition: var(--transition);
}
.messenger-link:hover { border-color: var(--color-pink); transform: translateY(-2px); }
.messenger-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-pink);
    font-size: 0.78rem;
}

footer {
    margin-top: 3rem;
    background: var(--color-text-dark);
    color: var(--color-white);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}
.footer-shell {
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 1.5rem;
}
.footer-brand {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
}
.footer-text,
.footer-links a,
.footer-contacts a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}
.footer-links,
.footer-contacts {
    display: grid;
    gap: 0.5rem;
}
.footer-links a:hover,
.footer-contacts a:hover { color: #FFD77A; }

.footer-legal {
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: 0.95rem 0 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.3rem;
    color: rgba(255, 249, 240, 0.82);
    font-size: 0.92rem;
    font-weight: 800;
}

.footer-legal a {
    color: inherit;
    transition: color 0.24s ease, transform 0.24s ease;
}

.footer-legal a:hover {
    color: var(--color-pink);
    transform: translateY(-1px);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 24px));
    z-index: 4200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 24px;
    background: rgba(62, 39, 35, 0.94);
    color: #FFF9F0;
    border: 1px solid rgba(255, 209, 220, 0.2);
    box-shadow: 0 18px 36px rgba(31, 18, 14, 0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cookie-banner__text {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.45;
}

.cookie-banner__text a {
    color: var(--color-pink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.cookie-banner__button {
    min-height: 46px;
    padding: 0.72rem 1.3rem;
    border: none;
    border-radius: 999px;
    background: var(--color-accent);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(230, 168, 34, 0.26);
    transition: transform 0.24s ease, background-color 0.24s ease;
}

.cookie-banner__button:hover {
    transform: translateY(-2px);
    background: var(--color-accent-hover);
}

.dog-widget {
    position: fixed;
    right: 24px;
    bottom: 0;
    width: min(420px, 18vw);
    min-width: 240px;
    z-index: 3500;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.dog-widget-frame {
    width: 350px;
    margin: 0 0 -6px;
    display: block;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(62, 39, 35, 0.14));
}

#dog-image {
    width: 100%;
    display: block;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 16px 28px rgba(62, 39, 35, 0.18));
    transition: transform 0.22s ease, filter 0.22s ease;
}

#dog-image:hover {
    transform: translateY(-4px) scale(1.03);
    filter: drop-shadow(0 18px 32px rgba(62, 39, 35, 0.24));
}

.contact-menu {
    position: absolute;
    right: 50%;
    bottom: calc(100% - 30px);
    width: max-content;
    max-width: min(360px, calc(100vw - 48px));
    padding: 1.1rem 1.15rem;
    border-radius: 30px;
    background: rgba(255, 249, 240, 0.98);
    border: 1px solid rgba(240, 224, 214, 0.95);
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.18);
    opacity: 1;
    transform: translateX(50%) translateY(0) scale(1);
    transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-menu.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(50%) translateY(12px) scale(0.92);
}

.contact-menu a,
.close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 900;
    box-shadow: none;
    transition: transform 0.26s ease, opacity 0.26s ease;
    transform: translateY(0) scale(1);
    position: relative;
    overflow: hidden;
    border: none;
    background: transparent;
}

.contact-menu a::before,
.close-btn::before {
    content: none;
}

.contact-menu a::after,
.close-btn::after {
    content: none;
}

.contact-menu a img,
.close-btn img {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: none;
    pointer-events: none;
}

.contact-menu a:nth-child(1) {
    transition-delay: 0ms;
}

.contact-menu a:nth-child(2) {
    transition-delay: 55ms;
}

.contact-menu a:nth-child(3) {
    transition-delay: 110ms;
}

.close-btn {
    width: 64px;
    height: 64px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    transition-delay: 155ms;
}

.contact-menu a:hover,
.close-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.contact-menu.hidden a,
.contact-menu.hidden .close-btn {
    opacity: 0;
    transform: translateY(10px) scale(0.78);
}

@media (max-width: 980px) {
    .top-nav {
        justify-content: flex-start;
        gap: 0.6rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.3rem;
    }
    .top-nav a {
        flex: 0 0 auto;
        font-size: 0.95rem;
        padding: 0.45rem 0.8rem;
    }
    .detail-hero,
    .final-cta,
    .footer-shell {
        grid-template-columns: 1fr;
    }
    .info-grid,
    .expectation-grid,
    .care-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .visual-explainer,
    .visual-explainer.single-art { grid-template-columns: 1fr; }
    .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .header-top { grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr); align-items: center; justify-content: center; gap: 0.55rem; width: 100%; }
    .header-meta { display: flex; gap: 0.08rem; }
    .header-meta__label { font-size: 0.56rem; letter-spacing: 0.9px; }
    .header-meta strong, .header-phone { font-size: 0.72rem; }
    .header-meta__sub { font-size: 0.62rem; line-height: 1.2; }
    .logo-full-mark { width: min(30vw, 96px); min-width: 72px; }
    .top-nav {
        justify-content: center;
        gap: 0.45rem;
        overflow: visible;
        flex-wrap: wrap;
        padding-bottom: 0;
    }
    .top-nav a {
        flex: 0 1 auto;
        white-space: nowrap;
        font-size: 0.88rem;
        padding: 0.42rem 0.7rem;
    }
    .footer-legal {
        padding: 0.85rem 0 1.5rem;
        font-size: 0.88rem;
        gap: 0.55rem 0.95rem;
    }
    .cookie-banner {
        width: min(100vw - 16px, 460px);
        bottom: 10px;
        padding: 0.85rem 0.9rem;
        border-radius: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .cookie-banner__text {
        font-size: 0.88rem;
    }
    .cookie-banner__actions {
        width: 100%;
    }
    .cookie-banner__button {
        width: 100%;
    }
    .detail-shell { width: auto; margin: 0; padding: 1.2rem 14px 2rem; }
    .detail-hero,
    .content-section,
    .final-cta {
        padding: 1.35rem;
        border-radius: 22px;
    }
    .final-cta {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 1rem;
    }
    .hero-text,
    .section-heading p,
    .final-cta p { font-size: 0.98rem; }
    .hero-actions,
    .final-cta-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
    .final-cta-actions {
        align-self: stretch;
    }
    .hero-actions a,
    .final-cta-actions a {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        text-align: center;
    }
    .info-grid,
    .expectation-grid,
    .step-grid,
    .care-grid,
    .messenger-grid,
    .footer-shell {
        grid-template-columns: 1fr;
    }
    .ear-diagram { min-height: 310px; }
    .ear-shape { width: 190px; height: 246px; }
    .ear-label { max-width: 120px; font-size: 0.76rem; }
    .ear-point::after { width: 56px; }
    .visual-explainer,
    .visual-explainer.single-art { grid-template-columns: 1fr !important; gap: 0.95rem; }
    .ear-diagram-card,
    .explain-card,
    .care-card { padding: 1rem; }
    .schema-frame { min-height: 250px; padding: 0.7rem; }
    .schema-illustration {
        width: 100%;
        height: auto;
        max-height: 250px;
    }
    .tooth-illustration { max-width: 72%; max-height: 235px; }
    .ear-illustration { max-width: 78%; max-height: 240px; }
    .claw-illustration { max-width: 76%; max-height: 236px; }
    .schema-caption { font-size: 0.88rem; }
    .schema-note { grid-template-columns: 42px minmax(0, 1fr); }
    .schema-note-icon { width: 42px; height: 42px; }
    .schema-note h4 { font-size: 0.96rem; }
    .schema-note p { font-size: 0.9rem; }
    .dog-widget {
        right: 8px;
        width: min(200px, 34vw);
        min-width: 152px;
    }
    .dog-widget-frame {
        width: 150px;
        margin-bottom: -6px;
    }
    .contact-menu {
        right: 50%;
        bottom: calc(100% - 14px);
        width: auto;
        max-width: min(248px, calc(100vw - 24px));
        gap: 0.62rem;
        padding: 0.88rem;
        display: grid;
        grid-template-columns: repeat(2, 56px);
        justify-content: center;
        transform: translateX(50%) translateY(0) scale(1);
    }

    .contact-menu.hidden {
        transform: translateX(50%) translateY(12px) scale(0.92);
    }
    .contact-menu a,
    .close-btn {
        width: 56px;
        height: 56px;
        font-size: 0.82rem;
    }

    .contact-menu a img,
    .close-btn img {
        width: 40px;
        height: 40px;
    }

    .close-btn {
        width: 56px;
        height: 56px;
        font-size: 0.88rem;
        flex: 0 0 auto;
    }
}





