/*
 * Sankalpa Pets: shared stylesheet for every page.
 * Dark theme by default; .light-theme (set on <html>) switches the tokens.
 * .js (set on <html> by the inline head script) gates anything that hides
 * content until JavaScript runs.
 */

/* ---------- Theme tokens ---------- */
:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --primary-gold: #FFD700;
    --secondary-bg: #1a1a1a;
    --border-color: #2c2c2c;
    --header-bg: rgba(13, 13, 13, 0.85);
    --shadow-color: rgba(255, 215, 0, 0.1);
    --muted-text: #cccccc;
    --subtle-text: #888888;
    --header-offset: 80px;
}

.light-theme {
    --bg-color: #f5f5f7;
    --text-color: #0A0F29;
    --primary-gold: #8a6800; /* 4.7:1 on the light background (was #b38600, 3:1) */
    --secondary-bg: #ffffff;
    --border-color: #e1e1e1;
    --header-bg: rgba(245, 245, 247, 0.85);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --muted-text: #444444;
    --subtle-text: #595959;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Keep in-page targets clear of the fixed header */
section[id],
.product-category[id] {
    scroll-margin-top: var(--header-offset);
}

.section-alt {
    background-color: var(--secondary-bg);
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    z-index: 2000;
    background-color: var(--primary-gold);
    color: var(--bg-color);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    top: 10px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 3px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: box-shadow 0.3s, background-color 0.3s;
}
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current]::after {
    width: 100%;
}

/* Mobile nav toggle (shown under 768px when JS is on) */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1;
    padding: 6px;
    cursor: pointer;
}

/* ---------- Buttons ---------- */
.cta-buttons a, .cta-buttons button {
    text-decoration: none;
    color: var(--bg-color);
    background-color: var(--primary-gold);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin: 5px 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
}
.cta-buttons a:hover, .cta-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}
.cta-buttons a.secondary {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

/* ---------- Hero ---------- */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1), transparent 70%), var(--bg-color);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    color: var(--text-color);
    max-width: 950px;
    margin: 0 auto 20px;
    line-height: 1.2;
}
.hero-content h1 span {
    color: var(--primary-gold);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 30px;
}
.hero-content .hero-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

/* ---------- Section headings ---------- */
#products, #google-reviews, #location {
    background-color: var(--secondary-bg);
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.section-title.text-left {
    text-align: left;
}
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--muted-text);
}

/* ---------- Products ---------- */
.category-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}
.filter-btn {
    display: inline-block;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 8px 22px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--bg-color);
}

.product-category + .product-category {
    margin-top: 70px;
}
.category-head {
    text-align: center;
    margin-bottom: 30px;
}
.category-head h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}
.category-head h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}
.category-head h3 a:hover {
    color: var(--primary-gold);
}
.category-head h3 a i {
    color: var(--primary-gold);
    font-size: 0.8em;
    margin-left: 8px;
}
.category-desc {
    color: var(--muted-text);
    max-width: 700px;
    margin: 0 auto;
}

.product-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}
.product-card .product-link {
    display: block;
    border-radius: 10px;
    cursor: zoom-in;
}
.product-card img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}
.product-card .product-name {
    margin-top: 15px;
    font-size: 1.1rem;
}
.product-card p {
    color: var(--subtle-text);
}
.product-card .enquire-btn {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
}
.product-card .enquire-btn:hover {
    text-decoration: underline;
}

/* ---------- Lightbox ---------- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}
.lightbox.active {
    display: flex;
    flex-direction: column;
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}
.lightbox-caption {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 15px;
    padding: 0 20px;
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    background: none;
    border: 0;
    font-size: 2.5rem;
    line-height: 1;
    padding: 5px 10px;
    color: #fff;
    cursor: pointer;
}
body.lightbox-open {
    overflow: hidden;
}

/* ---------- About ---------- */
.profile-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.profile-text { flex: 1; }
.profile-text p + p {
    margin-top: 15px;
}
.profile-text h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
}
.profile-text .text-link {
    color: var(--primary-gold);
}
.profile-image {
    flex: 1;
    max-width: 500px;
}
.profile-image img {
    display: block;
    width: 100%;
    border-radius: 15px;
}

.industry-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.industry-list a,
.industry-list span {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-color);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.industry-list a:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* ---------- Custom design ---------- */
.custom-design-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--secondary-bg);
    padding: 50px;
    border-radius: 20px;
}
.custom-design-text { flex: 1; }
.custom-design-image {
    flex: 1;
    max-width: 450px;
}
.custom-design-image img {
    display: block;
    width: 100%;
    border-radius: 15px;
}
.custom-design-text ul {
    list-style: none;
    margin: 25px 0 15px;
}
.custom-design-text li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.custom-design-text li i {
    color: var(--primary-gold);
    margin-right: 15px;
    width: 24px;
    text-align: center;
}
.custom-note {
    font-size: 0.9rem;
    color: var(--subtle-text);
    margin-bottom: 25px;
}
.custom-design-text .cta-buttons a {
    margin-left: 0;
}

/* ---------- FAQ (shared by every page) ---------- */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: border-color 0.2s;
}
.section-alt .faq-item {
    background-color: var(--bg-color);
}
.faq-item[open] {
    border-color: var(--primary-gold);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 55px 18px 22px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--primary-gold);
}
.faq-item[open] summary::after {
    content: '\2212';
}
.faq-item summary h3 {
    display: inline;
    font-size: 1.1rem;
}
.faq-answer {
    padding: 0 22px 20px;
    color: var(--muted-text);
}
.faq-answer a {
    color: var(--primary-gold);
}

/* ---------- Location ---------- */
.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}
.map-frame {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 15px;
    background-color: var(--bg-color);
}
.location-details {
    text-align: left;
}
.location-details h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.location-address {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}
.location-details p a {
    color: var(--primary-gold);
}
.location-details .cta-buttons {
    margin-top: 20px;
}
.location-details .cta-buttons a {
    margin-left: 0;
}

/* ---------- Contact ---------- */
#contact {
    padding-bottom: 60px;
}
#contact-form {
    max-width: 700px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-bg);
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px var(--shadow-color);
}
#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
#contact-form .cta-buttons {
    align-self: center;
}
#form-status {
    text-align: center;
    margin-top: 20px;
    min-height: 24px;
    font-weight: 600;
}
.contact-note {
    text-align: center;
    margin-top: 10px;
    color: var(--subtle-text);
}
.contact-note a {
    color: var(--primary-gold);
}

/* ---------- Footer ---------- */
.footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
}
.footer-nav a {
    color: #aaa;
    margin: 0 15px;
    text-decoration: none;
}
.footer-nav a:hover,
.footer-nav a[aria-current] {
    color: var(--primary-gold);
}
.footer-details {
    margin-top: 25px;
    color: #aaa;
    line-height: 1.8;
    font-style: normal;
}
.footer-details a {
    color: #aaa;
    text-decoration: none;
}
.footer-details a:hover {
    color: var(--primary-gold);
}
.footer-social {
    margin-top: 15px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #333;
    color: #aaa;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}
.social-link:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}
.footer-copy {
    margin-top: 20px;
    color: #777;
}

/* ---------- Floating buttons ---------- */
.floating-btn {
    position: fixed;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, opacity 0.3s;
    text-decoration: none;
}
.whatsapp-btn {
    background-color: #25D366;
    bottom: 30px; right: 30px;
}
.call-btn {
    background-color: #ffffff;
    color: #0078ff;
    bottom: 90px;
    right: 30px;
}
.back-to-top {
    background-color: #FF9900;
    bottom: 150px; right: 30px;
    color: #fff;
    opacity: 0;
    visibility: hidden; /* keeps the hidden button out of the tab order */
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s, visibility 0s linear 0.3s;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s, opacity 0.3s;
}
.btn-label { display: none; }

/* ---------- Theme toggle ---------- */
.theme-switch {
    margin-left: 20px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px; height: 26px;
}
/* Visually hidden but still focusable, so keyboard users can switch themes */
.switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider { background-color: var(--primary-gold); }
input:checked + .slider:before { transform: translateX(24px); }
.switch input:focus-visible + .slider {
    outline: 2px solid var(--primary-gold);
    outline-offset: 3px;
}

/* ---------- Category pages: page header and breadcrumb ---------- */
.page-header {
    padding: 140px 0 70px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1), transparent 70%), var(--bg-color);
}
.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 15px;
}
.page-header h1 span {
    color: var(--primary-gold);
}
.page-lead {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 25px;
    color: var(--muted-text);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--subtle-text);
}
.breadcrumb li + li::before {
    content: '\203A';
    margin-right: 6px;
    color: var(--subtle-text);
}
.breadcrumb a {
    color: var(--primary-gold);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb [aria-current] {
    color: var(--text-color);
}

/* ---------- Category pages: body copy ---------- */
.prose {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.prose p + p {
    margin-top: 15px;
}
.prose a {
    color: var(--primary-gold);
}

.feature-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px 40px;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.feature-list li i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    width: 24px;
    margin-top: 3px;
    text-align: center;
    flex-shrink: 0;
}

/* ---------- Category pages: CTA block ---------- */
.cta-block {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.section-alt .cta-block {
    background-color: var(--bg-color);
}
.cta-block h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.cta-block p {
    max-width: 620px;
    margin: 0 auto 25px;
    color: var(--muted-text);
}

/* ---------- Category pages: related categories ---------- */
.related-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.related-card a {
    display: block;
    height: 100%;
    padding: 25px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.related-card a:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 30px var(--shadow-color);
}
.related-card h3 {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
}
.related-card p {
    color: var(--subtle-text);
    font-size: 0.95rem;
}

/* ---------- Scroll animations (only hide content when JS is running) ---------- */
.js .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.js .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .js .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .product-card,
    .product-card:hover,
    .related-card a,
    .related-card a:hover,
    .cta-buttons a:hover,
    .cta-buttons button:hover {
        transition: none;
        transform: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    /* Without JS the links simply wrap under the logo */
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 8px;
    }
    .nav-links li {
        margin: 4px 12px;
    }

    /* With JS the links move into an off-canvas panel */
    .js .navbar {
        flex-wrap: nowrap;
    }
    .js .nav-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }
    .js .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 70%; height: 100vh;
        margin-top: 0;
        background-color: var(--secondary-bg);
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        transition: right 0.4s ease-in-out, visibility 0s linear 0.4s;
    }
    .js .nav-links.active {
        right: 0;
        visibility: visible;
        transition: right 0.4s ease-in-out;
    }
    .js .nav-links li { margin: 20px 0; }

    .section-title { font-size: 2rem; }
    .profile-content { flex-direction: column; }
    .custom-design-content { flex-direction: column-reverse; padding: 30px; }
    .location-grid { grid-template-columns: 1fr; }
    .map-frame { height: 300px; }
    .page-header { padding-top: 120px; }
}

/* ---------- Mobile contact bar (WhatsApp + Call), copied from the inline CSS of index.html ---------- */
@media (max-width: 768px) {
    /* WhatsApp & Call become a sticky bottom bar */
    body { padding-bottom: 72px; }
    .contact-bar {
        --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        position: fixed;
        left: 0; right: 0; bottom: 0;
        display: flex;
        gap: 10px;
        padding: 10px 12px;
        z-index: 999;
        border-radius: 18px 18px 0 0;
        background-color: var(--header-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
    }
    /* Film-grain texture over the bar */
    .contact-bar::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background-image: var(--grain);
        opacity: 0.08;
        pointer-events: none;
    }
    /* Gold hairline following the curved top edge, fading out at the ends */
    .contact-bar::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border-top: 1px solid var(--primary-gold);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
        opacity: 0.6;
        pointer-events: none;
    }
    .contact-bar .floating-btn {
        position: relative;
        inset: auto;
        overflow: hidden;
        flex: 1;
        width: auto; height: 52px;
        border-radius: 14px;
        gap: 10px;
        font-size: 1.3rem;
        transition: transform 0.15s, box-shadow 0.15s;
    }
    /* Drifting wavy lines + grain inside each button */
    /* Oversized square rotated 45deg so the tilted pattern still covers the whole button */
    .contact-bar .floating-btn::before {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        width: 600px; height: 600px;
        margin: -300px 0 0 -300px;
        transform: rotate(45deg);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8'%3E%3Cpath d='M0 -4 Q25 -20 50 -4 T100 -4 T150 -4 T200 -4 M0 4 Q25 -12 50 4 T100 4 T150 4 T200 4 M0 12 Q25 -4 50 12 T100 12 T150 12 T200 12' fill='none' stroke='white' stroke-opacity='0.6' stroke-width='1.1'/%3E%3C/svg%3E"), var(--grain);
        mix-blend-mode: overlay;
        opacity: 0.45;
        pointer-events: none;
        animation: wave-drift 20s linear infinite;
    }
    /* Glint that sweeps across every 4s */
    .contact-bar .floating-btn::after {
        content: '';
        position: absolute;
        top: 0; bottom: 0; left: 0;
        width: 40%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
        transform: translateX(-120%) skewX(-20deg);
        animation: glint 4s ease-in-out infinite;
        pointer-events: none;
    }
    .contact-bar .call-btn::before { filter: invert(1); opacity: 0.3; }
    .contact-bar .call-btn::after { animation-delay: 0.35s; }
    .contact-bar .floating-btn > * { position: relative; }
    @keyframes wave-drift {
        to { background-position: 200px 0, 0 0; }
    }
    @keyframes glint {
        0% { transform: translateX(-120%) skewX(-20deg); }
        20%, 100% { transform: translateX(260%) skewX(-20deg); }
    }
    @media (prefers-reduced-motion: reduce) {
        .contact-bar .floating-btn::before,
        .contact-bar .floating-btn::after { animation: none; }
    }
    .contact-bar .floating-btn:active { transform: scale(0.97); }
    .contact-bar .whatsapp-btn {
        background: linear-gradient(135deg, #3BE07F 0%, #1FAF5A 55%, #128C7E 100%);
        color: #06210f; /* white text on this green is under 3:1 */
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(0,0,0,0.15), 0 6px 16px rgba(18,140,126,0.35);
    }
    .contact-bar .call-btn {
        flex: 0 0 22%;
        background: linear-gradient(135deg, #FFE883 0%, #FFD700 45%, #C99A00 100%);
        color: #1a1400;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -2px 0 rgba(0,0,0,0.12), 0 6px 16px rgba(201,154,0,0.35);
    }
    .btn-label {
        display: inline;
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .back-to-top { bottom: 88px; right: 20px; }
}
