:root {
    --azul-navy: #082b50;
    --azul-navy-deep: #041a31;
    --azul-blue: #1769aa;
    --azul-accent: #f2a900;
    --azul-ink: #233243;
    --azul-muted: #5f6f7e;
    --azul-paper: #ffffff;
    --azul-paw-pattern: url("/src/brand/cat-paws.svg");
}

html {
    scroll-padding-top: 100px;
}

body {
    color: var(--azul-ink);
    background-color: #fff;
    background-image: var(--azul-paw-pattern) !important;
    background-size: 280px 180px;
    background-repeat: repeat;
    background-attachment: fixed;
}

main > section:not(.hero),
main > .page-header,
footer {
    position: relative;
    isolation: isolate;
}

main > section:not(.hero)::before,
main > .page-header::before,
.hero-overlay::before,
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--azul-paw-pattern);
    background-size: 280px 180px;
    background-repeat: repeat;
    pointer-events: none;
    border-radius: inherit;
}

main > .page-header::before,
main > .cta-section::before,
.hero-overlay::before,
footer::before {
    filter: brightness(0) invert(1);
}

.hero-overlay::before {
    z-index: 0;
}

.content-panel,
.service-card,
.why-card,
.faq-item,
.review-card,
.review-status,
.video-card {
    background-image: var(--azul-paw-pattern) !important;
    background-size: 280px 180px;
    background-repeat: repeat;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--azul-navy);
}

a {
    color: var(--azul-blue);
}

a:hover {
    color: var(--azul-navy);
}

.top-bar,
.sidebar-close,
.sidebar-quote,
.cta-section,
.form-header,
.btn-submit {
    background: var(--azul-navy);
}

.main-header {
    border-bottom: 3px solid var(--azul-accent);
}

.header-inner {
    min-height: 86px;
    height: 86px;
}

.logo a {
    height: 100%;
}

.logo img {
    width: auto;
    height: 74px;
    max-height: 80px;
    object-fit: contain;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.dropdown-menu li a:hover,
.header-phone i,
.section-title span,
.dropdown-menu li a i,
.feature-item i {
    color: var(--azul-blue);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.dropdown-menu li a:hover {
    background: rgba(23, 105, 170, .08);
}

.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

.top-bar {
    background: var(--azul-navy-deep);
}

.marquee-content {
    width: max-content;
}

.hero {
    min-height: 620px;
    background: var(--azul-navy-deep);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 26, 49, .88), rgba(4, 26, 49, .43));
}

.hero-content h1,
.hero-content h1 span,
.hero-content p,
.hero-content .stars-text {
    color: #fff;
}

.top-tagline {
    color: #ffe4a3;
}

.btn-primary,
.btn-secondary,
.btn-quote-large,
.btn-submit {
    border-color: var(--azul-accent);
    background: var(--azul-accent);
    color: var(--azul-navy-deep);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-quote-large:hover,
.btn-submit:hover {
    border-color: #ffc43d;
    background: #ffc43d;
    color: var(--azul-navy-deep);
}

.section-title span,
.section-divider {
    color: var(--azul-blue);
}

.section-divider {
    background: var(--azul-accent);
}

.service-card,
.why-card,
.estimate-box,
.faq-item,
.content-panel {
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(8, 43, 80, .1);
    box-shadow: 0 12px 32px rgba(8, 43, 80, .08);
}

.service-card .icon {
    background: rgba(23, 105, 170, .1);
    color: var(--azul-blue);
}

.cta-section {
    background-image: linear-gradient(110deg, var(--azul-navy-deep), var(--azul-navy));
}

.cta-section .btn-white {
    color: var(--azul-navy);
}

.page-header {
    background: linear-gradient(110deg, rgba(4, 26, 49, .96), rgba(8, 43, 80, .88)), url("/src/banner/1.jpg") center/cover;
}

footer {
    background-color: var(--azul-navy-deep);
}

.footer-logo img {
    width: auto;
    max-width: 210px;
    max-height: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
}

.floating-social-bar {
    position: fixed;
    z-index: 1100;
    top: 50%;
    right: 14px;
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
    transform: translateY(-50%);
}

.floating-btn {
    width: 48px;
    height: 48px;
    box-shadow: 0 5px 16px rgba(4, 26, 49, .24);
}

.floating-phone {
    background: var(--azul-accent) !important;
    color: var(--azul-navy-deep);
}

.floating-whatsapp { background: #25d366; }
.floating-facebook { background: #1877f2; }
.floating-instagram { background: #c13584; }
.floating-tiktok { background: #111; }
.floating-google { background: #4285f4; }

.site-loader {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    background: #fff;
    transition: opacity .35s ease, visibility .35s ease;
}

.site-loader.is-hidden {
    visibility: hidden;
    opacity: 0;
}

.loader-paws {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--azul-navy);
}

.loader-paws svg,
.loader-paws span {
    display: block;
    width: 30px;
    height: 30px;
    font-size: 27px;
    color: var(--azul-blue);
    animation: paw-walk .8s ease-in-out infinite;
}

.loader-paws span {
    filter: grayscale(1) sepia(1) saturate(8) hue-rotate(170deg);
}

.loader-paws :nth-child(2) { animation-delay: .18s; }
.loader-paws :nth-child(3) { animation-delay: .36s; }

@keyframes paw-walk {
    0%, 100% { opacity: .35; transform: translate(-12px, 3px) rotate(-16deg) scale(.84); }
    50% { opacity: 1; transform: translate(4px, -4px) rotate(12deg) scale(1); }
}

.page-content {
    padding: 68px 0;
}

.content-panel {
    border-radius: 12px;
    padding: clamp(22px, 4vw, 42px);
}

.content-panel h2 {
    margin: 28px 0 12px;
}

.content-panel h2:first-child {
    margin-top: 0;
}

.content-panel p,
.content-panel li {
    color: var(--azul-muted);
}

.service-photo {
    width: 100%;
    height: 215px;
    border-radius: 8px;
    object-fit: cover;
}

.service-card .icon {
    overflow: hidden;
}

.service-card .icon img {
    height: 82px;
    width: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 72px 0;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border-radius: 9px;
}

.faq-item summary {
    position: relative;
    padding: 19px 52px 19px 20px;
    color: var(--azul-navy);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    color: var(--azul-blue);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.form-success-alert {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #e7f6ec;
    color: #155d2d;
}

.estimate-form input,
.estimate-form textarea,
.estimate-form select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 2px solid #dbe3eb;
    border-radius: 6px;
    background: #fff;
    color: var(--azul-ink);
    font: inherit;
}

.estimate-form input:focus,
.estimate-form textarea:focus,
.estimate-form select:focus {
    border-color: var(--azul-blue);
    outline: 2px solid rgba(23, 105, 170, .2);
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--azul-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery-grid a {
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(8, 43, 80, .12);
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.04);
}

.gallery-grid .gallery-status {
    grid-column: 1 / -1;
    padding: 36px 20px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .96);
    color: var(--azul-muted);
    text-align: center;
}

.gallery-grid .gallery-status.is-error {
    color: #8b1e1e;
}

.firebase-gallery-item {
    min-width: 0;
}

.home-services {
    padding: 74px 0;
}

.home-intro {
    padding: 68px 0;
}

.section-bg {
    background: rgba(255, 255, 255, .72);
}

.call-paw {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.hero-estimate-box {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 16px;
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
}

.hero-estimate-box .form-header {
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    background: rgba(4, 26, 49, .35);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.hero-estimate-box .estimate-form {
    background: transparent;
}

.hero-estimate-box .estimate-form label {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 5px;
    padding: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.hero-estimate-box .estimate-form input,
.hero-estimate-box .estimate-form select,
.hero-estimate-box .estimate-form textarea {
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .75);
    color: #1a1a1a;
    font-weight: 500;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-estimate-box .estimate-form input::placeholder,
.hero-estimate-box .estimate-form textarea::placeholder {
    color: #404040;
    opacity: 1;
}

.hero-estimate-box .estimate-form input:focus,
.hero-estimate-box .estimate-form select:focus,
.hero-estimate-box .estimate-form textarea:focus {
    border-color: var(--azul-navy);
    outline: 2px solid rgba(8, 43, 80, .45);
    background: rgba(255, 255, 255, .95);
}

/* Shared brand and interaction refinements. */
.main-header .logo img,
.footer-logo img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 82px;
    object-fit: contain;
    image-rendering: auto;
}

.footer-logo img {
    max-width: 140px;
    max-height: 110px;
    background: transparent;
    padding: 0;
}

footer .footer-links a,
footer .footer-links a:visited {
    color: #fff !important;
    font-weight: 700;
}

footer .footer-contact p,
footer .footer-contact a,
footer .footer-contact a:visited {
    color: #fff !important;
    font-weight: 700;
}

.footer-contact-detail {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.footer-contact-detail > i,
.footer-payment-methods i {
    flex: 0 0 18px;
    margin-top: 3px;
    color: var(--azul-accent);
    text-align: center;
}

.footer-payment-methods .zelle-mark {
    display: inline-flex;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: #6d1a7c;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.footer-payment-methods {
    margin-top: 12px;
    color: #fff;
    font-weight: 700;
}

.footer-payment-methods ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.footer-payment-methods li {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    color: #fff;
    font-weight: 700;
}

.footer-bottom .footer-credit {
    display: inline-block;
    margin-left: 12px;
}

.footer-bottom a,
.footer-bottom a:visited {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.floating-social-bar {
    top: auto;
    right: 14px;
    bottom: 25px;
    z-index: 9999;
    transform: none;
}

.floating-social-bar.is-covered {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.floating-phone,
.floating-phone:hover {
    background: var(--azul-navy) !important;
    color: #fff !important;
}

.floating-phone .call-paw {
    width: 26px;
    height: 26px;
}

.floating-instagram,
.floating-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.marquee-content,
.marquee-content strong {
    font-weight: 800;
}

.dropdown-menu {
    overflow: hidden;
    border-top: 3px solid var(--azul-accent);
}

.dropdown-menu li a {
    position: relative;
    padding-left: 46px;
    transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

.dropdown-menu li a::before {
    position: absolute;
    left: 19px;
    color: var(--azul-blue);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.dropdown-menu li:nth-child(1) a::before { content: "\f018"; }
.dropdown-menu li:nth-child(2) a::before { content: "\f1b3"; }
.dropdown-menu li:nth-child(3) a::before { content: "\f015"; }
.dropdown-menu li:nth-child(4) a::before { content: "\f03a"; }

.has-dropdown .dropdown-menu {
    animation: dropdownFade .24s ease both;
}

.has-dropdown.is-open .dropdown-menu {
    display: block;
}

.sidebar-services-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.sidebar-services-toggle i {
    transition: transform .2s ease;
}

.sidebar-services-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.sidebar-services-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}

.sidebar-services-panel.is-open {
    max-height: 280px;
}

.sidebar-services-panel a {
    display: block;
    padding: 11px 18px 11px 34px;
}

.services-grid .service-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    text-align: left;
}

.services-grid .service-card .icon {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0 0 20px;
    border-radius: 10px;
}

.services-grid .service-card .icon img {
    width: 100%;
    height: 100%;
}

.services-grid .service-card h3 {
    margin: 0 0 10px;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 800;
    text-transform: uppercase;
}

.services-grid .service-card p {
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 14px;
    padding: 10px 18px;
    border: 2px solid var(--azul-navy);
    border-radius: 4px;
    background: var(--azul-navy);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.service-card:hover .read-more {
    transform: translateY(-2px);
    border-color: var(--azul-accent);
    background: var(--azul-accent);
    color: var(--azul-navy-deep);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.about-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 16px 42px rgba(8, 43, 80, .16);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.about-feature {
    color: var(--azul-navy);
    font-weight: 700;
}

.about-feature i {
    margin-right: 7px;
    color: var(--azul-blue);
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.contact-details .contact-detail {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 18px 0;
}

.contact-detail > i {
    display: flex;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--azul-navy);
    color: #fff;
    font-size: 19px;
    text-align: center;
}

.map-panel {
    grid-column: 1 / -1;
    overflow: hidden;
    min-height: 360px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(8, 43, 80, .12);
}

.map-panel iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

.review-grid,
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.review-card,
.video-card {
    padding: 24px;
    border: 1px solid rgba(8, 43, 80, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 32px rgba(8, 43, 80, .08);
}

.review-stars {
    color: #e3a400;
    letter-spacing: .12em;
}

.review-status {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    text-align: center;
}

.review-form label {
    display: block;
    margin: 12px 0 5px;
    color: var(--azul-navy);
    font-weight: 700;
}

.review-form input,
.review-form textarea,
.review-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    font: inherit;
}

.review-form textarea {
    min-height: 120px;
}

.video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #061a2d;
    object-fit: cover;
}

@media (max-width: 768px) {
    .main-header .logo img { max-height: 68px; max-width: 125px; }
    .floating-social-bar { top: auto; bottom: 25px; right: 8px; transform: none; }
    .about-grid,
    .contact-layout { grid-template-columns: 1fr; }
    .review-grid,
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .map-panel { grid-column: auto; min-height: 300px; }
    .map-panel iframe { height: 300px; }
}

@media (max-width: 480px) {
    .review-grid,
    .video-grid,
    .about-features { grid-template-columns: 1fr; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid img { height: 175px; }
    .floating-social-bar { right: 8px; gap: 7px; }
    .floating-btn { width: 42px; height: 42px; }
    .page-content { padding: 42px 0; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
.floating-nextdoor {
    background: #008a45;
    color: #fff;
}

.floating-youtube {
    background: #ff0000;
    color: #fff;
}
body {
    background-image: none !important;
}
.floating-social-bar .floating-btn.floating-youtube {
    background: #ff0000 !important;
    color: #fff !important;
}

.floating-social-bar .floating-btn.floating-nextdoor {
    background: #008a45 !important;
    color: #fff !important;
}

.floating-social-bar .floating-youtube i,
.floating-social-bar .floating-nextdoor i {
    color: #fff !important;
}