/* PawCare public site — works without Vite/Node on Hostinger */
:root {
    --color-brand: #6c4cf1;
    --color-brand-light: #8f72ff;
    --color-brand-mid: #7c5cff;
    --color-brand-deep: #5b3fe0;
    --color-ink: #1f1637;
    --color-muted: #6b7280;
    --color-soft: #f7f6ff;
    --color-soft-2: #faf9ff;
    --color-line: #ebe7f7;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    color: var(--color-ink);
    background-color: var(--color-soft-2);
    background-image:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(108, 76, 241, 0.14), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 0%, rgba(143, 114, 255, 0.12), transparent 50%),
        linear-gradient(180deg, #f7f6ff 0%, #faf9ff 40%, #ffffff 100%);
    background-attachment: fixed;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(108, 76, 241, 0.22);
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-shell > main {
    flex: 1 0 auto;
}

.site-footer {
    position: relative;
    margin-top: auto;
    overflow: hidden;
    border-top: 1px solid rgba(235, 231, 247, 0.9);
    background:
        radial-gradient(ellipse 70% 80% at 0% 100%, rgba(108, 76, 241, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(143, 114, 255, 0.07), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 100%;
    max-width: 72rem;
    box-sizing: border-box;
    padding: 3rem 1.25rem 0;
}

@media (min-width: 640px) {
    .site-footer__inner {
        padding: 3.5rem 2rem 0;
    }
}

.site-footer__brand-band {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-line);
}

@media (min-width: 768px) {
    .site-footer__brand-band {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
    }
}

.site-footer__brand-copy {
    margin: 0.85rem 0 0;
    max-width: 28rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-muted);
}

.site-footer__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* 3-column link grid — forced from 640px up */
.site-footer__columns {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 0;
}

@media (min-width: 640px) {
    .site-footer__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 2rem 3rem;
    }
}

.site-footer__heading {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-brand);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links li + li {
    margin-top: 0.7rem;
}

.site-footer__links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__links a:hover {
    color: var(--color-brand);
}

.site-footer__markets {
    padding: 1.35rem 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.site-footer__markets-label {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.site-footer__market-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__market-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__market-list a:hover {
    color: var(--color-brand);
}

.site-footer__market-list span[aria-hidden] {
    font-size: 1.05rem;
    line-height: 1;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 0 1.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-muted);
}

@media (min-width: 640px) {
    .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.site-footer__bottom a {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.site-footer__bottom a:hover {
    color: var(--color-brand);
}

.site-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
}

/* Contact page */
.contact-layout {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 0.85fr 1.35fr;
        gap: 2rem;
        align-items: start;
    }
}

.contact-aside {
    border-radius: 28px;
    border: 1px solid rgba(235, 231, 247, 0.9);
    background: var(--color-soft);
    padding: 1.75rem;
}

@media (min-width: 640px) {
    .contact-aside {
        padding: 2rem;
    }
}

.contact-aside__label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.contact-panel {
    border-radius: 28px;
    border: 1px solid rgba(235, 231, 247, 0.9);
    background: #fff;
    padding: 1.75rem;
    box-shadow: 0 16px 40px rgba(108, 76, 241, 0.08);
}

@media (min-width: 640px) {
    .contact-panel {
        padding: 2.25rem;
    }
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-grid {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-field label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-ink);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--color-line);
    border-radius: 1rem;
    background: #fff;
    padding: 0.85rem 1rem;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--color-ink);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: rgba(108, 76, 241, 0.45);
    box-shadow: 0 0 0 4px rgba(108, 76, 241, 0.12);
}

.contact-form__footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .contact-form__footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 1.25rem;
    padding: 1rem 1.15rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.contact-alert--success {
    border: 1px solid rgba(22, 163, 74, 0.2);
    background: #e9f9ef;
    color: #166534;
}

.contact-alert--error {
    border: 1px solid rgba(220, 38, 38, 0.18);
    background: #fef2f2;
    color: #991b1b;
}

/* FAQ page */
.faq-list {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(235, 231, 247, 0.9);
    background: #fff;
    box-shadow: 0 16px 40px rgba(108, 76, 241, 0.06);
}

.faq-item + .faq-item {
    border-top: 1px solid var(--color-line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item__chevron {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: var(--color-brand);
    transition: transform 0.2s ease;
}

.faq-item[open] summary {
    color: var(--color-brand);
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__body {
    padding: 0 1.25rem 1.25rem;
}

.faq-item__body p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-muted);
}

@media (min-width: 640px) {
    .faq-item summary {
        padding: 1.25rem 1.5rem;
    }

    .faq-item__body {
        padding: 0 1.5rem 1.4rem;
    }
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(235, 231, 247, 0.7);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
}

.brand-mark {
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    background: rgba(108, 76, 241, 0.12);
}

.brand-wordmark {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-brand);
    line-height: 1;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.text-brand {
    color: var(--color-brand);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    background: linear-gradient(90deg, #6c4cf1, #7c5cff);
    box-shadow: 0 12px 28px rgba(108, 76, 241, 0.28);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--color-line);
    background: #fff;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-ink);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(108, 76, 241, 0.08);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
    border-color: rgba(108, 76, 241, 0.3);
    color: var(--color-brand);
}

.section {
    margin: 0 auto;
    width: 100%;
    max-width: 72rem;
    padding: 4rem 1.25rem;
}

@media (min-width: 640px) {
    .section {
        padding: 5rem 2rem;
    }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-ink);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-lead {
    margin-top: 0.75rem;
    max-width: 42rem;
    font-size: 1rem;
    color: var(--color-muted);
}

@media (min-width: 640px) {
    .section-lead {
        font-size: 1.125rem;
    }
}

.soft-card {
    border-radius: 28px;
    border: 1px solid rgba(235, 231, 247, 0.8);
    background: #fff;
    box-shadow: 0 16px 40px rgba(108, 76, 241, 0.08);
}

.tone-purple { background: #efeaff; color: #6c4cf1; }
.tone-blue { background: #e8f2ff; color: #3b82f6; }
.tone-green { background: #e9f9ef; color: #16a34a; }
.tone-orange { background: #fff1e8; color: #ea8a1f; }
.tone-pink { background: #ffeaf2; color: #ec4899; }
.tone-teal { background: #e6faf7; color: #0d9488; }

.feature-icon {
    display: flex;
    margin-bottom: 1rem;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 1.25rem;
}

.hero-float {
    animation: hero-float 5.5s ease-in-out infinite;
}

.fade-up {
    animation: fade-up 0.8s ease-out both;
}

.fade-up-delay {
    animation: fade-up 0.9s ease-out 0.15s both;
}

.fade-up-delay-2 {
    animation: fade-up 1s ease-out 0.28s both;
}

.wave-shadow {
    filter: drop-shadow(0 -10px 24px rgba(108, 76, 241, 0.12));
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float,
    .fade-up,
    .fade-up-delay,
    .fade-up-delay-2 {
        animation: none !important;
    }
}

/* Utility helpers used heavily in Blade (no Vite required) */
.text-brand { color: var(--color-brand) !important; }
.text-ink { color: var(--color-ink) !important; }
.text-muted { color: var(--color-muted) !important; }
.bg-white { background-color: #fff; }
.bg-soft { background-color: var(--color-soft); }
.bg-soft-2 { background-color: var(--color-soft-2); }
.border-line { border-color: var(--color-line); }
.divide-line > :not([hidden]) ~ :not([hidden]) {
    border-color: var(--color-line);
}
.from-brand { --tw-gradient-from: #6c4cf1; }
.to-brand-deep { --tw-gradient-to: #5b3fe0; }
