:root {
    --bg: #eef5df;
    --bg-cream: #fff8ee;
    --card: #fffdf8;
    --text: #2b3124;
    --muted: #667058;
    --line: #dde6cc;
    --green: #9bbd6e;
    --green-dark: #627d3c;
    --green-soft: #dcebbb;
    --coral: #ff8562;
    --coral-dark: #e5694b;
    --coral-soft: #ffe2d7;
    --yellow: #f8d77c;
    --shadow: 0 18px 45px rgba(73, 89, 49, 0.14);
    --shadow-soft: 0 10px 28px rgba(73, 89, 49, 0.10);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 133, 98, 0.22), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(248, 215, 124, 0.28), transparent 22rem),
        linear-gradient(180deg, var(--bg) 0%, #f7f3df 55%, #fff8ee 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--text); }

.public-header, .backoffice-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px clamp(14px, 4vw, 56px);
    background: rgba(238, 245, 223, 0.90);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(98, 125, 60, 0.18);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; min-width: max-content; }
.brand-logo-wrap {
    width: 54px;
    height: 54px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #fffdf8;
    box-shadow: 0 8px 22px rgba(73, 89, 49, 0.12);
    overflow: hidden;
    border: 1px solid rgba(98, 125, 60, 0.16);
}
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.08; }
.brand-text strong { font-size: 16px; letter-spacing: -0.02em; }
.brand-text small { font-size: 12px; color: var(--muted); font-weight: 750; }
.public-nav, .backoffice-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.public-nav a, .backoffice-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--green-dark);
    font-weight: 800;
    font-size: 14px;
}
.public-nav a:hover, .backoffice-nav a:hover { background: rgba(255, 255, 255, 0.65); color: var(--text); }
.nav-cta { background: var(--coral) !important; color: white !important; box-shadow: 0 8px 20px rgba(255, 133, 98, 0.30); }
.nav-cta:hover { background: var(--coral-dark) !important; }

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: clamp(24px, 5vw, 62px);
    align-items: center;
    padding: clamp(38px, 7vw, 96px) clamp(16px, 5vw, 76px) 48px;
    min-height: calc(100vh - 82px);
}
.hero-catcafe { position: relative; overflow: hidden; }
.hero-catcafe::before, .hero-catcafe::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: .56;
}
.hero-catcafe::before { width: 360px; height: 360px; background: var(--green-soft); right: -130px; bottom: 6%; }
.hero-catcafe::after { width: 220px; height: 220px; background: var(--coral-soft); left: -80px; top: 16%; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-copy h1, .page-hero h1 {
    margin: 0;
    font-size: clamp(44px, 8vw, 96px);
    line-height: 0.92;
    letter-spacing: -0.07em;
}
.hero-text, .page-hero p {
    max-width: 780px;
    color: var(--muted);
    font-size: clamp(18px, 2.1vw, 24px);
    line-height: 1.52;
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--coral-dark);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 12px;
}
.hero-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: 26px 0 0;
    max-width: 720px;
}
.hero-bullets li {
    background: rgba(255, 253, 248, 0.72);
    border: 1px solid rgba(98, 125, 60, 0.14);
    border-radius: 999px;
    padding: 11px 14px;
    font-weight: 800;
    color: var(--green-dark);
}
.hero-bullets li::before { content: "🐾"; margin-right: 8px; }
.hero-actions, .form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions.centered { justify-content: center; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 19px;
    border-radius: 18px;
    border: 1px solid transparent;
    font-weight: 950;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--coral); color: white; box-shadow: 0 12px 26px rgba(255, 133, 98, 0.28); }
.button-primary:hover { background: var(--coral-dark); }
.button-secondary { background: rgba(255, 253, 248, 0.78); border-color: rgba(98, 125, 60, 0.18); color: var(--text); }
.hero-meta { margin-top: 22px; color: var(--green-dark); font-weight: 850; line-height: 1.5; }
.hero-visual { min-height: 500px; display: grid; place-items: center; }
.hero-logo-card {
    width: min(420px, 84vw);
    aspect-ratio: 1 / 1;
    padding: clamp(24px, 6vw, 54px);
    border-radius: 42% 58% 50% 50% / 52% 42% 58% 48%;
    background: radial-gradient(circle at top, #fffdf8 0%, #fff6e3 52%, #f7d777 100%);
    box-shadow: var(--shadow);
    border: 1px solid rgba(98, 125, 60, 0.15);
    transform: rotate(-3deg);
}
.hero-logo-card img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(73, 89, 49, .16)); }
.floating-note {
    position: absolute;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 950;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,.7);
}
.note-one { top: 16%; right: 10%; background: #fffdf8; color: var(--green-dark); }
.note-two { bottom: 17%; left: 8%; background: var(--coral); color: #fff; }

.section-grid, .section-block, .page-hero, .booking-preview, .inside-section {
    padding: 30px clamp(16px, 5vw, 76px);
}
.section-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.section-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 20px; }
.section-heading.stacked { display: block; max-width: 760px; }
.section-heading h2, .bo-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.055em; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.55; }
.text-link { color: var(--green-dark); font-weight: 950; }

.info-card, .cat-card, .bo-panel, .booking-step, .login-card, .feature-card, .story-card, .faq-list article {
    background: rgba(255, 253, 248, 0.86);
    border: 1px solid rgba(98, 125, 60, 0.15);
    border-radius: var(--radius);
    padding: 23px;
    box-shadow: var(--shadow-soft);
}
.info-card h2, .cat-card h2, .cat-card h3, .feature-card h3, .story-card h3 { margin-top: 0; letter-spacing: -0.035em; }
.info-card p, .cat-card p, .feature-card p, .story-card p, .faq-list p, .muted { color: var(--muted); line-height: 1.58; }
.warm-card { background: linear-gradient(145deg, #fffdf8, var(--coral-soft)); }
.green-card { background: linear-gradient(145deg, #fffdf8, var(--green-soft)); }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-card span { display: block; font-size: 38px; margin-bottom: 12px; }
.gallery-story { padding-top: 52px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card { overflow: hidden; padding: 0; display: grid; grid-template-rows: 190px 1fr; }
.story-card > div:not(.story-placeholder) { padding: 20px; }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-placeholder {
    display: grid;
    place-items: center;
    font-size: 62px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 34%),
        linear-gradient(135deg, var(--green-soft), var(--coral-soft));
}

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat-grid.wide { padding: 28px clamp(16px, 5vw, 76px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat-card { position: relative; overflow: hidden; }
.cat-card.large { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; }
.cat-photo {
    min-height: 170px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 25% 22%, #fff, transparent 34%),
        linear-gradient(145deg, var(--green-soft), var(--coral-soft));
    display: grid;
    place-items: center;
    font-size: 58px;
    overflow: hidden;
}
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge {
    display: inline-flex;
    width: auto;
    border-radius: 999px;
    background: rgba(220, 235, 187, .78);
    color: var(--green-dark) !important;
    padding: 5px 11px;
    font-weight: 950;
    font-size: 12px;
}
.split-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.page-hero.small { padding-top: 58px; }
.reserve-hero { text-align: center; }
.reserve-hero p { margin-left: auto; margin-right: auto; }
.booking-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.booking-step span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 950;
}
.booking-step.active { outline: 2px solid var(--coral); }
.rates-grid { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); }
.featured-price { border-color: rgba(255, 133, 98, .35); }
.price-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
}
.price-line strong { font-size: clamp(28px, 4vw, 44px); color: var(--coral-dark); }
.clean-list { display: grid; gap: 12px; padding-left: 20px; color: var(--muted); line-height: 1.55; }
.no-card { background: linear-gradient(145deg, #fffdf8, #fff1ec); }
.yes-card { background: linear-gradient(145deg, #fffdf8, #edf7d6); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.map-card { min-height: 240px; }

.public-footer {
    margin-top: 52px;
    padding: 28px clamp(16px, 5vw, 76px);
    border-top: 1px solid rgba(98, 125, 60, 0.16);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    background: rgba(255, 253, 248, 0.55);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; }
.footer-links a { display: block; font-weight: 900; color: var(--green-dark); margin-bottom: 8px; }

.backoffice-body { background: #f5f0e7; }
.backoffice-header { align-items: center; background: rgba(245, 240, 231, .92); }
.backoffice-main { padding: 26px clamp(14px, 3vw, 42px); }
.bo-heading, .panel-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.bo-heading h1 { margin: 0; }
.bo-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.bo-metrics article { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-soft); }
.bo-metrics strong { display: block; font-size: 34px; }
.bo-metrics span { color: var(--muted); font-weight: 800; }
.responsive-list { display: grid; gap: 10px; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; }
.list-row span { color: var(--muted); text-align: right; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.media-card { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.media-card img, .media-placeholder { aspect-ratio: 4 / 3; border-radius: 14px; object-fit: cover; background: var(--green-soft); display: grid; place-items: center; color: var(--muted); }
.bo-form { max-width: 900px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.bo-form p, .form-stack p { display: grid; gap: 7px; }
.bo-form input, .bo-form textarea, .bo-form select, .form-stack input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font: inherit; }
.bo-form textarea { min-height: 130px; }
.message-stack { display: grid; gap: 10px; margin-bottom: 18px; }
.message { padding: 12px 14px; border-radius: 14px; background: #e9f9ef; color: #246a3c; font-weight: 800; }
.message.error { background: #ffe5e5; color: #9d2a2a; }
.link-button { border: none; background: transparent; color: var(--green-dark); font-weight: 950; cursor: pointer; padding: 10px; }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(145deg, var(--bg), var(--coral-soft)); }
.login-card { width: min(460px, 100%); }
.login-card h1, .login-card p { text-align: center; }
.form-stack { display: grid; gap: 10px; }

@media (max-width: 1080px) {
    .hero-section { grid-template-columns: 1fr; min-height: auto; }
    .hero-visual { min-height: 360px; }
    .section-grid, .cat-grid, .booking-preview, .bo-metrics, .media-grid, .feature-grid, .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rates-grid, .split-cta { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .public-header, .backoffice-header { align-items: flex-start; flex-direction: column; }
    .public-nav, .backoffice-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: thin; }
    .brand-logo-wrap { width: 48px; height: 48px; border-radius: 17px; }
    .brand-logo { width: 41px; height: 41px; }
    .cat-grid.wide { grid-template-columns: 1fr; }
    .cat-card.large { grid-template-columns: 1fr; }
    .faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .hero-section { padding-top: 32px; }
    .hero-copy h1, .page-hero h1 { font-size: 44px; }
    .hero-text, .page-hero p { font-size: 17px; }
    .hero-bullets, .section-grid, .section-grid.two, .cat-grid, .booking-preview, .bo-metrics, .media-grid, .feature-grid, .story-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 280px; }
    .hero-logo-card { width: min(300px, 88vw); border-radius: 36px; transform: rotate(-2deg); }
    .floating-note { display: none; }
    .section-heading, .bo-heading, .panel-header, .list-row, .public-footer { flex-direction: column; align-items: flex-start; }
    .list-row span { text-align: left; }
    .button { width: 100%; }
    .hero-actions { width: 100%; }
    .backoffice-main { padding-inline: 12px; }
    .public-nav a, .backoffice-nav a { white-space: nowrap; }
    .footer-brand { align-items: flex-start; }
}

/* PACK 003 · Tilda asset import / richer photo layout */
.hero-photo-card {
    width: min(500px, 88vw);
    aspect-ratio: 4 / 5;
    border-radius: 48px;
    overflow: hidden;
    background: var(--card);
    border: 10px solid rgba(255, 253, 248, .85);
    box-shadow: var(--shadow);
    transform: rotate(-2.5deg);
}
.hero-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.floating-logo-note {
    position: absolute;
    right: 5%;
    bottom: 7%;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 40px;
    background: rgba(255,253,248,.92);
    box-shadow: var(--shadow-soft);
    transform: rotate(6deg);
    border: 1px solid rgba(98, 125, 60, .16);
}
.floating-logo-note img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}
.story-grid {
    align-items: stretch;
}
.cat-card.large .cat-photo {
    min-height: 210px;
}
@media (max-width: 760px) {
    .hero-photo-card { width: min(340px, 90vw); border-radius: 34px; }
    .floating-logo-note { width: 92px; height: 92px; border-radius: 28px; right: 0; bottom: 2%; }
    .floating-logo-note img { width: 78px; height: 78px; }
}
