html {
    font-size: 14px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --brand-teal: #14b8a6;
    --brand-teal-light: #ccfbf1;
    --brand-coral: #f43f5e;
    --brand-coral-light: #ffe4e6;
    --brand-yellow: #fbbf24;
    --brand-yellow-light: #fef3c7;
    --brand-purple: #8b5cf6;
    --brand-purple-light: #ede9fe;
    --brand-dark: #0f172a;
}

/* Fallback brand utilities so custom colors still render even when Tailwind CDN custom config misses */
.text-brand-teal { color: var(--brand-teal); }
.text-brand-coral { color: var(--brand-coral); }
.text-brand-yellow { color: var(--brand-yellow); }
.text-brand-purple { color: var(--brand-purple); }

.bg-brand-teal { background-color: var(--brand-teal); }
.bg-brand-tealLight { background-color: var(--brand-teal-light); }
.bg-brand-coral { background-color: var(--brand-coral); }
.bg-brand-coralLight { background-color: var(--brand-coral-light); }
.bg-brand-yellow { background-color: var(--brand-yellow); }
.bg-brand-yellowLight { background-color: var(--brand-yellow-light); }
.bg-brand-purple { background-color: var(--brand-purple); }
.bg-brand-purpleLight { background-color: var(--brand-purple-light); }

.border-brand-teal { border-color: var(--brand-teal); }

.hover\:text-brand-teal:hover { color: var(--brand-teal); }
.hover\:border-brand-teal:hover { border-color: var(--brand-teal); }
.hover\:border-brand-teal\/30:hover { border-color: rgb(20 184 166 / 0.3); }
.hover\:border-brand-teal\/40:hover { border-color: rgb(20 184 166 / 0.4); }
.hover\:bg-brand-tealLight\/50:hover { background-color: rgb(204 251 241 / 0.5); }
.hover\:bg-brand-tealLight\/60:hover { background-color: rgb(204 251 241 / 0.6); }

.group\/contact:hover .group-hover\/contact\:bg-brand-teal { background-color: var(--brand-teal); }
.group\/contact:hover .group-hover\/contact\:bg-brand-coral { background-color: var(--brand-coral); }
.group\/contact:hover .group-hover\/contact\:bg-brand-yellow { background-color: var(--brand-yellow); }
.group\/contact:hover .group-hover\/contact\:bg-brand-purple { background-color: var(--brand-purple); }

.ring-brand-teal\/10 {
    --tw-ring-color: rgb(20 184 166 / 0.1);
}

.shadow-brand-teal\/10 {
    box-shadow: 0 4px 10px rgb(20 184 166 / 0.1);
}

.shadow-brand-teal\/15 {
    box-shadow: 0 8px 18px rgb(20 184 166 / 0.15);
}

body.home-page {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

body.page-loading {
    overflow: hidden;
}

::selection {
    background-color: #14b8a6;
    color: #ffffff;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(204, 251, 241, 0.9), transparent 36%),
        radial-gradient(circle at bottom right, rgba(255, 228, 230, 0.9), transparent 34%),
        rgba(248, 250, 252, 0.96);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.95rem;
}

.page-loader__trail {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
}

.page-loader__paw {
    position: relative;
    display: inline-block;
    height: 0.95rem;
    width: 1.1rem;
    border-radius: 999px 999px 70% 70%;
    background: currentColor;
    animation: pawBounce 1.2s ease-in-out infinite;
}

.page-loader__paw::before {
    content: "";
    position: absolute;
    top: -0.35rem;
    left: 0.05rem;
    height: 0.38rem;
    width: 0.38rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow:
        0.38rem -0.12rem 0 0 currentColor,
        0.78rem 0.02rem 0 0 currentColor;
}

.page-loader__paw--teal {
    color: #14b8a6;
}

.page-loader__paw--coral {
    color: #f43f5e;
    animation-delay: 0.15s;
}

.page-loader__paw--gold {
    color: #fbbf24;
    animation-delay: 0.3s;
}

.page-loader__dots {
    display: flex;
    gap: 0.45rem;
}

.page-loader__dots span {
    display: inline-block;
    height: 0.42rem;
    width: 0.42rem;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.55);
    animation: loaderDot 0.9s ease-in-out infinite;
}

.page-loader__dots span:nth-child(2) {
    animation-delay: 0.12s;
}

.page-loader__dots span:nth-child(3) {
    animation-delay: 0.24s;
}

.page-loader__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
    will-change: transform;
}

@keyframes pawBounce {
    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-0.38rem) rotate(0deg);
        opacity: 1;
    }
}

@keyframes loaderDot {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-0.18rem);
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}

.accordion-content.open {
    max-height: 500px;
    opacity: 1;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-icon.open {
    transform: rotate(180deg);
}

.hero-fade-stage {
    position: relative;
    isolation: isolate;
    height: 20rem;
}

.hero-fade-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-fade-image.is-active {
    opacity: 1;
}

@media (min-width: 640px) {
    .hero-fade-stage {
        height: 30rem;
    }
}

body.menu-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

.mobile-nav-backdrop {
    opacity: 0;
    transition: opacity 0.28s ease;
}

.mobile-nav-backdrop.is-open {
    opacity: 1;
}

.mobile-nav-panel {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.mobile-nav-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.product-modal.hidden {
    display: none;
}

.product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
}

.product-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(72rem, calc(100vw - 2rem));
    max-height: min(44rem, calc(100vh - 2rem));
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.2);
    -webkit-overflow-scrolling: touch;
}

.product-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.product-modal__close:hover {
    transform: scale(1.05);
    background: #f8fafc;
}

.product-modal__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(191, 219, 254, 0.55), transparent 40%),
        radial-gradient(circle at bottom right, rgba(254, 215, 170, 0.5), transparent 40%),
        #f8fafc;
}

.product-modal__image-shell {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.product-modal__image {
    max-width: 100%;
    max-height: 24rem;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.12));
}

.product-modal__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem 1.5rem;
    min-height: 0;
}

.product-modal__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #64748b;
}

.product-modal__meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(167, 243, 208, 0.95);
    background: rgba(236, 253, 245, 0.95);
    color: #047857;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-modal__title {
    font-size: clamp(2rem, 2.6vw, 3rem);
    line-height: 1.05;
    font-weight: 700;
    color: #0f172a;
    max-width: 18ch;
}

.product-modal__type-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background:
        radial-gradient(circle at top left, rgba(204, 251, 241, 0.9), transparent 42%),
        rgba(248, 250, 252, 0.96);
}

.product-modal__type-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    align-items: baseline;
}

.product-modal__type-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0f766e;
}

.product-modal__type-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-modal__type-item {
    display: grid;
    gap: 0.5rem;
}

.product-modal__type-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 2.8rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.product-modal__type-button::after {
    content: "+";
    flex: 0 0 auto;
    margin-left: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1;
    color: #0f766e;
    transition: transform 0.25s ease;
}

.product-modal__type-button:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 184, 166, 0.45);
    color: #0f172a;
}

.product-modal__type-button.is-active {
    border-color: rgba(20, 184, 166, 0.55);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(255, 255, 255, 0.95));
    color: #0f172a;
    box-shadow: 0 12px 28px rgba(20, 184, 166, 0.16);
}

.product-modal__type-button.is-active::after {
    content: "-";
    transform: scale(1.05);
}

.product-modal__type-panel-body {
    display: none;
    padding: 1rem 1rem 0.35rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.88);
    color: #475569;
}

.product-modal__type-panel-body.is-open {
    display: block;
}

.product-modal__type-panel-body p {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 1.8;
}

.product-modal__type-panel-body .product-modal__section-title {
    margin: 1.5rem 0 0.7rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f172a;
}

.product-modal__type-panel-body .product-modal__section-title:first-child {
    margin-top: 0;
}

.product-modal__type-panel-body .product-modal__list {
    margin: 0 0 1.1rem;
    padding-left: 1.4rem;
    color: #475569;
}

.product-modal__type-panel-body .product-modal__list--ordered {
    list-style: decimal;
}

.product-modal__type-panel-body .product-modal__list:not(.product-modal__list--ordered) {
    list-style: disc;
}

.product-modal__type-panel-body .product-modal__list li {
    margin: 0 0 0.55rem;
    padding-left: 0.15rem;
    font-size: 0.98rem;
    line-height: 1.75;
}

.product-modal__type-panel-body .product-modal__list li:last-child,
.product-modal__type-panel-body p:last-child {
    margin-bottom: 0;
}

.product-modal__description {
    flex: 1 1 auto;
    overflow-y: auto;
    max-height: min(24rem, calc(100vh - 16rem));
    padding: 1rem 1rem 1rem 0;
    color: #475569;
}

.product-modal__description p {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.85;
}

.product-modal__description .product-modal__section-title {
    margin: 1.5rem 0 0.7rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f172a;
}

.product-modal__description .product-modal__section-title:first-child {
    margin-top: 0;
}

.product-modal__list {
    margin: 0 0 1.1rem;
    padding-left: 1.4rem;
    color: #475569;
}

.product-modal__list--ordered {
    list-style: decimal;
}

.product-modal__list:not(.product-modal__list--ordered) {
    list-style: disc;
}

.product-modal__list li {
    margin: 0 0 0.55rem;
    padding-left: 0.15rem;
    font-size: 1rem;
    line-height: 1.75;
}

.product-modal__list li:last-child {
    margin-bottom: 0;
}

.product-modal__description p:last-child {
    margin-bottom: 0;
}

.blog-article-content {
    color: #475569;
    font-size: 1rem;
    line-height: 1.9;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3 {
    margin: 1.6rem 0 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

.blog-article-content h1 {
    font-size: 2rem;
}

.blog-article-content h2 {
    font-size: 1.65rem;
}

.blog-article-content h3 {
    font-size: 1.3rem;
}

.blog-article-content p {
    margin: 0 0 1rem;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 0 0 1.2rem;
    padding-left: 1.5rem;
}

.blog-article-content ul {
    list-style: disc;
}

.blog-article-content ol {
    list-style: decimal;
}

.blog-article-content li {
    margin-bottom: 0.5rem;
}

.blog-article-content blockquote {
    margin: 1.3rem 0;
    padding-left: 1rem;
    border-left: 3px solid #14b8a6;
    color: #475569;
    font-style: italic;
}

.blog-article-content a {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.section-side-pet {
    position: absolute;
    top: 50%;
    z-index: 0;
    width: clamp(11rem, 13vw, 14rem);
    opacity: 0.92;
    pointer-events: none;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.12));
    transform: translateY(-50%);
}

.section-side-pet--left {
    left: max(1rem, calc((100vw - 71rem) / 2 - 7rem));
}

.section-side-pet--right {
    right: max(1rem, calc((100vw - 71rem) / 2 - 7rem));
}

.section-side-pet--hero {
    width: clamp(12rem, 15vw, 16rem);
}

.anim-delay-2s {
    animation-delay: 2s;
}

.anim-delay-4s {
    animation-delay: 4s;
}

.pattern-dots-slate {
    color: #94a3b8;
    background-image: radial-gradient(currentColor 2px, transparent 2px);
    background-size: 20px 20px;
}

.pattern-dots-white {
    background-image: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 30px 30px;
}

.home-page .max-w-7xl {
    max-width: min(71rem, calc(100vw - 2rem));
}

.home-page .max-w-5xl {
    max-width: min(59rem, calc(100vw - 2rem));
}

.home-page .max-w-4xl {
    max-width: min(47rem, calc(100vw - 2rem));
}

.home-page .max-w-3xl {
    max-width: min(41.5rem, calc(100vw - 2rem));
}

@media (max-width: 1023px) {
    html {
        font-size: 13.6px;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 13.25px;
    }

    #navbar {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    #mobile-menu-panel {
        max-height: calc(100svh - 1.25rem);
        overflow-y: auto;
    }

    .marquee-copy {
        font-size: 0.88rem;
    }

    .mobile-stat-card {
        padding: 1rem;
        border: 1px solid rgb(226 232 240);
        border-radius: 1rem;
        background: #ffffff;
    }

    .footer-social-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .site-footer {
        padding-bottom: 7.5rem;
    }

    .site-footer__grid {
        gap: 2rem;
    }

    .site-footer__brand {
        gap: 0.85rem;
    }

    .site-footer__logo {
        width: 3.35rem;
        height: 3.35rem;
        border-radius: 1.2rem;
    }

    .site-footer__logo img {
        width: 2rem;
        height: 2rem;
    }

    .site-footer__title {
        font-size: 1.55rem;
    }

    .site-footer__socials {
        gap: 0.75rem;
    }

    .site-footer__social-link {
        border-radius: 1rem;
    }

    .site-footer__contact-item {
        align-items: flex-start;
    }

    .site-floating-actions {
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        gap: 0.7rem;
    }

    .site-whatsapp-toggle {
        width: 3.5rem;
        height: 3.5rem;
    }

    .site-whatsapp-menu {
        max-height: min(70vh, 29rem);
        overflow-y: auto;
    }

    .product-modal {
        padding: 0.75rem;
    }

    .product-modal__dialog {
        width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 1.5rem);
        border-radius: 1.5rem;
    }

    .product-modal__media {
        padding: 1rem;
    }

    .product-modal__image-shell {
        min-height: 13rem;
    }

    .product-modal__image {
        max-height: 14rem;
    }

    .product-modal__content {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .product-modal__title {
        max-width: none;
        font-size: 1.7rem;
    }

    .product-modal__type-panel {
        padding: 0.9rem;
        border-radius: 1.2rem;
    }

    .product-modal__type-buttons {
        gap: 0.55rem;
    }

    .product-modal__type-button {
        min-height: 2.55rem;
        padding: 0.6rem 0.9rem;
        font-size: 0.88rem;
    }

    .product-modal__type-panel-body {
        padding: 0.9rem 0.9rem 0.25rem;
    }

    .product-modal__type-panel-body p,
    .product-modal__type-panel-body .product-modal__list li {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .product-modal__description {
        max-height: 15rem;
        padding-right: 0;
    }

    .product-modal__description p,
    .product-modal__list li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .blog-article-content {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .blog-article-content h1 {
        font-size: 1.65rem;
    }

    .blog-article-content h2 {
        font-size: 1.4rem;
    }

    .blog-article-content h3 {
        font-size: 1.15rem;
    }

    .partner-marquee-logo {
        width: 8.75rem;
        height: 4.75rem;
        padding: 0.85rem 1rem;
        border-radius: 1.35rem;
    }

    .home-page .max-w-7xl,
    .home-page .max-w-5xl,
    .home-page .max-w-4xl,
    .home-page .max-w-3xl {
        max-width: calc(100vw - 1.5rem);
    }
}

@media (max-width: 639px) {
    .page-loader__label {
        letter-spacing: 0.16em;
    }

    .site-footer__contact-item + .site-footer__contact-item {
        margin-top: 0.15rem;
    }
}

@media (min-width: 1536px) {
    html {
        font-size: 13.85px;
    }
}
