/* CSS Variables */
:root {
    --primary-color: #E91E8C;
    --primary-light: #FF4BA6;
    --primary-dark: #C4177A;
    --secondary-color: #FFF5FA;
    --accent-color: #FF8DC7;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --border-color: #F0D4E4;
    --shadow: 0 2px 8px rgba(233, 30, 140, 0.1);
    --shadow-hover: 0 8px 24px rgba(233, 30, 140, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-light);
}

/* Layout */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== */
/* ANIMATED BACKGROUNDS */
/* ==================== */

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

/* Paw drift animations */
@keyframes pawDrift {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -20px) rotate(10deg) scale(1.05);
    }
    50% {
        transform: translate(10px, 20px) rotate(-5deg) scale(0.95);
    }
    75% {
        transform: translate(-20px, 10px) rotate(5deg) scale(1.02);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes pawDriftAlt {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(-25px, 30px) rotate(-8deg) scale(1.08);
    }
    66% {
        transform: translate(20px, -15px) rotate(12deg) scale(0.92);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

@keyframes pawFloat {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotate, 0deg));
        opacity: var(--opacity);
    }
    50% {
        transform: translateY(-15px) rotate(calc(var(--rotate, 0deg) + 5deg));
        opacity: calc(var(--opacity) * 1.2);
    }
}

/* ==================== */
/* PAW PRINT PARTICLES  */
/* ==================== */

.paw-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Base paw print */
.paw {
    position: absolute;
    background-image: url('images/favicon-192-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: var(--opacity, 0.15);
    animation: pawDrift var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* Far layer - smallest, most blurred (deep bokeh) */
.paw-far {
    --opacity: 0.08;
    width: 30px;
    height: 33px;
    filter: blur(12px);
    animation-name: pawDriftAlt;
}

/* Mid layer - medium size and blur */
.paw-mid {
    --opacity: 0.12;
    width: 45px;
    height: 50px;
    filter: blur(6px);
    animation-name: pawDrift;
}

/* Near layer - larger, slight blur */
.paw-near {
    --opacity: 0.18;
    width: 60px;
    height: 66px;
    filter: blur(3px);
    animation-name: pawDriftAlt;
}

/* Closest layer - largest, minimal blur (sharp bokeh) */
.paw-closest {
    --opacity: 0.25;
    width: 80px;
    height: 88px;
    filter: blur(1px);
    animation-name: pawDrift;
}

/* Floating blob elements */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(233, 30, 140, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.logo-img {
    height: 3rem;
    width: auto;
}

.logo-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ==================== */
/* HERO SECTION */
/* ==================== */

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, var(--primary-dark), var(--primary-color), var(--primary-light), var(--accent-color));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    z-index: -2;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    z-index: 1;
    will-change: transform, opacity;
}

#hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in,
.slide-in-left,
.slide-in-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in {
    transform: translateY(40px);
}

.slide-in-left {
    transform: translateX(-60px);
}

.slide-in-right {
    transform: translateX(60px);
}

.fade-in.visible,
.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ==================== */
/* ABOUT SECTION */
/* ==================== */

#about {
    position: relative;
    max-width: 100%;
    padding: 6rem 2rem;
    background: var(--white);
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Decorative blob in about */
.about-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.1), rgba(255, 141, 199, 0.1));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    animation: morphBlob 20s ease-in-out infinite;
    pointer-events: none;
}

/* ==================== */
/* SERVICES SECTION */
/* ==================== */

#services {
    padding: 6rem 2rem;
    background: var(--white);
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 30, 140, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(233, 30, 140, 0.12);
    border-color: rgba(233, 30, 140, 0.2);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==================== */
/* PRICING SECTION */
/* ==================== */

#schedule {
    position: relative;
    max-width: 100%;
    padding: 8rem 2rem;
    background: var(--white);
}

/* Paw print decorations */
#schedule::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    top: -60px;
    left: -80px;
    background: url('images/favicon-512.png') no-repeat center / contain;
    opacity: 0.06;
    transform: rotate(-25deg);
    pointer-events: none;
}

#schedule::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: 40px;
    right: -40px;
    background: url('images/favicon-512.png') no-repeat center / contain;
    opacity: 0.05;
    transform: rotate(15deg);
    pointer-events: none;
}

#schedule h2,
.pricing-intro,
.pricing-grid,
.pricing-notes {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.pricing-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.pricing-base {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.pricing-main {
    text-align: center;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.pricing-option {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(233, 30, 140, 0.1);
    transition: all 0.3s ease;
}

.pricing-option:hover {
    border-color: rgba(233, 30, 140, 0.3);
    box-shadow: 0 10px 30px rgba(233, 30, 140, 0.1);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-header h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.option-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.option-availability {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.option-breakdown {
    background: var(--secondary-color);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.pricing-option p:last-child {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--secondary-color) 100%);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    border: 1px solid rgba(233, 30, 140, 0.1);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 80px rgba(233, 30, 140, 0.15);
}

.pricing-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.pricing-card .availability {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card .price {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.pricing-card .price-detail {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card .note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

.pricing-notes {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(233, 30, 140, 0.1);
    margin-top: 3rem;
}

.pricing-notes h3 {
    color: var(--primary-color);
}

.pricing-notes ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-notes li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.safety-note {
    background: rgba(233, 30, 140, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0;
    border-radius: 0 20px 20px 0;
}

/* Visit Estimator */
.estimator-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Step Container - show/hide approach */
.estimator-steps-wrapper {
    position: relative;
    min-height: 400px;
}

.estimator-step {
    display: none;
    padding: 0 2rem;
    box-sizing: border-box;
    animation: fadeIn 0.3s ease;
}

.estimator-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Compact first step */
#step-customer-type .step-content-centered {
    padding: 0.5rem 0;
}

#step-customer-type h3 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

#step-customer-type .step-subtitle {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.estimator-step-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.step-content-centered {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.step-content-centered h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.step-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Customer Type Selection */
.customer-type-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.customer-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

.customer-type-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(233, 30, 140, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.customer-type-btn .btn-icon {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.btn-paw {
    height: 2rem;
    width: auto;
}

.customer-type-btn .icon-badge {
    position: absolute;
    top: -2px;
    right: -10px;
    background: var(--white);
    color: var(--primary-color);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.customer-type-btn .btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.customer-type-btn .btn-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* New Customer Onboarding Card */
.onboarding-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    max-width: 450px;
    margin: 0 auto;
}

.onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.onboarding-header h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0;
}

.onboarding-duration {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.onboarding-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.onboarding-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
}

.onboarding-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.onboarding-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.onboarding-option {
    position: relative;
}

.onboarding-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.onboarding-option label {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.15rem 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.onboarding-option input:checked + label {
    border-color: var(--primary-color);
    background: rgba(233, 30, 140, 0.05);
}

.onboarding-option label:hover {
    border-color: var(--primary-color);
}

.onboarding-option .option-title {
    font-weight: 600;
    color: var(--text-color);
    grid-row: 1;
    grid-column: 1;
}

.onboarding-option .option-location {
    font-size: 0.85rem;
    color: var(--text-light);
    grid-row: 2;
    grid-column: 1;
}

.onboarding-option .option-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
}

.onboarding-card .estimator-btn {
    width: 100%;
    text-align: center;
}

.estimator-services h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.estimator-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Single Toggle Category (e.g., Physical Examination) */
.category-single-toggle {
    margin-bottom: 0.5rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-single-toggle:hover {
    border-color: var(--primary-color);
}

.category-single-toggle:has(input:checked) {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(233, 30, 140, 0.1);
}

.single-toggle-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    width: 100%;
}

.single-toggle-checkbox input {
    display: none;
}

.single-toggle-checkbox .checkbox-custom {
    flex-shrink: 0;
}

.single-toggle-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.single-toggle-subtitle {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.single-toggle-subtitle i {
    font-size: 1rem;
    color: var(--primary-color);
}

/* Category Accordion Styles */
.category-accordion {
    margin-bottom: 0.5rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.category-accordion:hover {
    border-color: rgba(233, 30, 140, 0.3);
}

.category-accordion.has-selection {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(233, 30, 140, 0.1);
}

.category-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--secondary-color);
    border: none;
    border-radius: 11px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, border-radius 0.2s ease;
}

.category-header:hover {
    background: #ffeef6;
}

.category-accordion.has-selection:not(.expanded) .category-header {
    border-radius: 11px 11px 0 0;
}

.category-accordion.expanded .category-header {
    background: var(--primary-color);
    border-radius: 11px 11px 0 0;
}

.category-accordion.expanded .category-title,
.category-accordion.expanded .category-subtitle {
    color: var(--white);
}

.category-accordion.expanded .subtitle-icons i {
    color: var(--white);
}

.category-accordion.expanded .category-toggle {
    color: var(--white);
    transform: rotate(45deg);
}

.category-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    flex-shrink: 0;
}

.category-subtitle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-light);
    flex: 1;
}

.subtitle-icons {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.subtitle-icons i {
    font-size: 1rem;
    color: var(--primary-color);
}

.subtitle-text {
    opacity: 0.9;
}

.category-toggle {
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.category-toggle i {
    display: block;
}

.category-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: var(--white);
    border-radius: 0 0 11px 11px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.category-accordion.expanded .category-content {
    max-height: 800px;
    padding: 0.75rem 1rem 1rem;
    overflow-y: auto;
}

/* Accordions with autocomplete dropdowns need overflow visible */
.category-accordion[data-category="other"].expanded .category-content,
.category-accordion[data-category="advice"].expanded .category-content {
    overflow: visible;
}

/* Selected Service Chiclets */
.selected-chiclets {
    display: none;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    background: var(--white);
}

.selected-chiclets:not(:empty) {
    display: flex;
    padding: 0.5rem 1rem 0.75rem;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 11px 11px;
}

.category-accordion.expanded .selected-chiclets {
    display: none !important;
}

.service-chiclet {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: var(--secondary-color);
    border: 1px solid rgba(233, 30, 140, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-chiclet:hover {
    background: rgba(233, 30, 140, 0.15);
}

/* Free included chiclet (e.g., Free Quick Exam for vaccines) */
.service-chiclet.chiclet-free {
    cursor: help;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #81c784;
    color: #2e7d32;
    position: relative;
}

.service-chiclet.chiclet-free:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
}

/* Tooltip for free chiclet */
.service-chiclet.chiclet-free::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #2e7d32;
    color: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    width: 220px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-chiclet.chiclet-free::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2e7d32;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.service-chiclet.chiclet-free:hover::after,
.service-chiclet.chiclet-free:hover::before {
    opacity: 1;
    visibility: visible;
}

.service-chiclet .chiclet-label {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-chiclet .chiclet-remove {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.service-chiclet:hover .chiclet-remove {
    opacity: 1;
}

.category-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Service checkbox with price */
.service-checkbox.has-price {
    justify-content: flex-start;
}

.service-checkbox.has-price .checkbox-label {
    flex: 1;
}

.item-price {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-left: auto;
}

.checkbox-note {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    margin-left: auto;
}

.service-category {
    margin-bottom: 1.5rem;
}

.service-category h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-checkbox:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

.service-checkbox input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '✓';
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.service-checkbox input:checked + .checkbox-custom,
.single-toggle-checkbox input:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.service-checkbox input:checked + .checkbox-custom::after,
.single-toggle-checkbox input:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.service-checkbox input:checked ~ .checkbox-label {
    color: var(--primary-color);
    font-weight: 500;
}

.single-toggle-checkbox input:checked ~ .single-toggle-title {
    color: var(--primary-color);
    font-weight: 600;
}

.checkbox-label {
    font-size: 0.95rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

/* Custom Concern Autocomplete */
.custom-concern-wrapper {

}

.custom-concern-input-wrapper {
    position: relative;
    z-index: 50;
}

.custom-concern-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-concern-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

/* When autocomplete is showing, square off bottom corners of input */
.custom-concern-input-wrapper:has(.autocomplete-list.active) .custom-concern-input {
    border-radius: 12px 12px 0 0;
    border-bottom-color: var(--border-color);
}

.custom-concern-input::placeholder {
    color: var(--text-light);
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.autocomplete-list.active {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid var(--border-color);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: var(--secondary-color);
}

.autocomplete-item-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.autocomplete-item-type {
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-top: 0.15rem;
}

.autocomplete-item-unavailable {
    opacity: 0.6;
}

.autocomplete-item-unavailable .autocomplete-item-type {
    color: #e67700;
}

.custom-concerns-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.concern-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(233, 30, 140, 0.2);
}

.concern-tag-remove {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.concern-tag-remove:hover {
    opacity: 1;
}

.concern-tag.in-person {
    background: #fff0f5;
    border-color: var(--primary-color);
}

.concern-tag.unavailable {
    background: #fff8e6;
    color: #e67700;
    border-color: #ffd480;
}

/* Topic Selector (Advice & Guidance) */
.topic-selector-wrapper {
    margin-bottom: 1rem;
}

.topic-input-wrapper {
    position: relative;
    z-index: 50;
}

.topic-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topic-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

/* When autocomplete is showing, square off bottom corners of input */
.topic-input-wrapper:has(.autocomplete-list.active) .topic-input {
    border-radius: 12px 12px 0 0;
    border-bottom-color: var(--border-color);
}

.topic-input::placeholder {
    color: var(--text-light);
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.topic-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(233, 30, 140, 0.2);
}

.topic-tag-remove {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.topic-tag-remove:hover {
    opacity: 1;
}

/* Topic Context Textarea */
.topic-context-wrapper {
    margin-top: 1.25rem;
}

.topic-context-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.topic-context-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-color);
    background: var(--white);
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topic-context-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.topic-context-textarea::placeholder {
    color: var(--text-light);
}

/* Estimator Result Card */
.estimator-result {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.result-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.25rem;
}

.result-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 1.1rem;
}

.result-empty {
    text-align: center;
    padding: 1.25rem 1rem;
    color: var(--text-light);
}

.result-empty p {
    margin: 0;
    font-size: 0.9rem;
}

.visit-type {
    text-align: center;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.visit-type-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.visit-type-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.visit-type-location {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-color);
}

.multiple-visits-notice {
    background: #e8f4fd;
    border-left: 3px solid #3498db;
    padding: 0.5rem 0.75rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 0.75rem;
}

.multiple-visits-notice p {
    margin: 0;
    font-size: 0.8rem;
    color: #2471a3;
}

.per-visit-label {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85em;
}

.visits-count span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* Estimated Duration Display */
.estimated-duration {
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.75rem;
    background: var(--secondary-color);
    border-radius: 10px;
}

.estimated-duration .duration-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.estimated-duration .duration-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.duration-reasoning {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-style: italic;
    background: #fff8e6;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    margin: 0.35rem 0 0;
    border: 1px solid #ffd480;
}

.price-breakdown {
    border-top: 1px solid var(--border-color);
    padding-top: 0.6rem;
    margin-bottom: 0.6rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--text-color);
}

.price-total {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0.35rem;
    font-weight: 700;
    font-size: 1rem;
}

.price-total span:last-child {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Quote Contact Form */
.quote-contact-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.quote-contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.quote-contact-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.quote-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
}

.quote-option input {
    display: none;
}

.quote-option-check {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quote-option-check::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.quote-option input:checked + .quote-option-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.quote-option input:checked + .quote-option-check::after {
    opacity: 1;
    transform: scale(1);
}

.quote-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quote-field input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.quote-field input::placeholder {
    color: var(--text-light);
}

.estimator-btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    border: none;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.estimator-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.5);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white) !important;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(233, 30, 140, 0.6); }
}

/* Pricing Reference */
.pricing-reference {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-reference-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: var(--secondary-color);
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.2s ease;
}

.pricing-reference-header:hover {
    background: #ffeef6;
}

.pricing-reference-header i {
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.pricing-reference.collapsed .pricing-reference-header i {
    transform: rotate(-90deg);
}

.pricing-reference-content {
    padding: 0.75rem 1rem;
    max-height: 300px;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
    opacity: 1;
}

.pricing-reference.collapsed .pricing-reference-content {
    max-height: 0;
    padding: 0 1rem;
    opacity: 0;
    overflow: hidden;
}

.pricing-breakdown-list {
    list-style: none;
    margin: 0 0 0.5rem 0;
    padding: 0;
}

.pricing-breakdown-list li {
    padding: 0.3rem 0;
    font-size: 0.8rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-breakdown-list li:last-child {
    border-bottom: none;
}

.pricing-breakdown-list strong {
    color: var(--primary-color);
}

.pricing-examples {
    background: var(--secondary-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.examples-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.example-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 0.15rem 0;
    color: var(--text-color);
}

.example-row span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* ==================== */
/* TEAM SECTION */
/* ==================== */

#team {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
#team::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 141, 199, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 12s ease-in-out infinite;
}

.team-content {
    margin-top: 2rem;
    position: relative;
}

.team-member {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.team-photo {
    width: 100%;
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(233, 30, 140, 0.1) 100%);
    border: 2px dashed var(--border-color);
    border-radius: 30px;
    padding: 6rem 2rem;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.team-info h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.team-info .title {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.team-info p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.team-closing {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 4rem;
    margin-bottom: 0;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */

#contact {
    position: relative;
    color: var(--white);
    text-align: center;
    max-width: 100%;
    padding: 8rem 2rem;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, var(--primary-dark), var(--primary-color), var(--primary-light), var(--accent-color));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    z-index: -2;
}

#contact h2 {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.contact-method {
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    min-width: 200px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-method h3 {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-method a {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
}

.contact-method a:hover {
    opacity: 0.9;
}

.contact-note {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==================== */
/* FOOTER */
/* ==================== */

/* Floating Schedule Button */
.floating-schedule-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: floatPulse 2s ease-in-out infinite;
}

.floating-schedule-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.5);
    color: var(--white);
}

.floating-schedule-btn i {
    font-size: 1.25rem;
}

@keyframes floatPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(233, 30, 140, 0.6);
    }
}

footer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 2.5rem;
    padding-bottom: 100px; /* Extra padding for floating button */
    position: relative;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.emergency-notice {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce paw particles on tablet */
    .paw-far {
        width: 25px;
        height: 28px;
    }
    .paw-mid {
        width: 35px;
        height: 39px;
    }
    .paw-near {
        width: 45px;
        height: 50px;
    }
    .paw-closest {
        width: 60px;
        height: 66px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header & Navigation */
    header {
        padding: 0;
    }

    nav {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -4px 0 30px rgba(233, 30, 140, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    /* Logo */
    .logo-icon {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    /* Hero */
    #hero {
        min-height: 100svh;
        padding: 6rem 1.5rem 4rem;
    }

    #hero h1 {
        font-size: 1.75rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Reduce paw particles on mobile for performance */
    .paw-far,
    .paw-mid:nth-child(even) {
        display: none;
    }
    .paw-mid {
        width: 25px;
        height: 28px;
        filter: blur(4px);
    }
    .paw-near {
        width: 35px;
        height: 39px;
        filter: blur(2px);
    }
    .paw-closest {
        width: 45px;
        height: 50px;
        filter: blur(0.5px);
    }

    /* Sections */
    section {
        padding: 3rem 1.5rem;
    }

    #about {
        padding: 4rem 1.5rem 3rem;
    }

    .about-blob {
        display: none;
    }

    .about-content p {
        font-size: 1rem;
    }

    /* Services grid */
    #services {
        padding: 4rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Pricing */
    #schedule {
        padding: 4rem 1.5rem;
    }

    #schedule::before {
        font-size: 150px;
        top: -30px;
        left: -40px;
    }

    #schedule::after {
        font-size: 120px;
        bottom: 20px;
        right: -30px;
    }

    .pricing-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
        opacity: 1;
        transform: none;
        border-radius: 25px;
    }

    .pricing-card .price {
        font-size: 3rem;
    }

    .pricing-notes {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .safety-note {
        padding: 1rem;
        border-radius: 0 15px 15px 0;
    }

    /* Estimator Mobile */
    .estimator-step {
        padding: 0 1rem;
    }

    .estimator-step-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 320px; /* Space for fixed estimate card */
    }

    .customer-type-options {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 350px;
    }

    .customer-type-btn {
        padding: 1.75rem 1.5rem;
        flex-direction: row;
        gap: 1rem;
        text-align: left;
        min-height: 100px;
    }

    .customer-type-btn .btn-icon {
        font-size: 2rem;
    }

    .customer-type-btn .icon-badge {
        width: 18px;
        height: 18px;
        font-size: 12px;
        top: -2px;
        right: -6px;
    }

    .customer-type-btn .btn-title {
        font-size: 1.1rem;
    }

    .customer-type-btn .btn-desc {
        font-size: 0.85rem;
    }

    .onboarding-card {
        padding: 1.5rem;
    }

    .onboarding-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .onboarding-option .option-price {
        font-size: 1.25rem;
    }

    .estimator-services h3 {
        font-size: 1.5rem;
    }

    .category-accordion {
        margin-bottom: 0.375rem;
    }

    .category-header {
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    .category-title {
        font-size: 0.9rem;
    }

    .category-subtitle {
        font-size: 0.7rem;
        flex-basis: 100%;
        order: 3;
        margin-top: 0.25rem;
    }

    .category-toggle {
        order: 2;
    }

    .category-accordion.expanded .category-content {
        padding: 0.5rem 0.75rem 0.75rem;
    }

    .selected-chiclets:not(:empty) {
        padding: 0.4rem 0.75rem 0.6rem;
        gap: 0.3rem;
    }

    .service-chiclet {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .service-chiclet .chiclet-label {
        max-width: 100px;
    }

    .service-checkbox {
        padding: 0.6rem 0.75rem;
    }

    .checkbox-custom {
        width: 20px;
        height: 20px;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    .item-price {
        font-size: 0.85rem;
    }

    .estimator-result {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 60vh;
        overflow-y: auto;
        z-index: 99;
        padding: 0 1rem 1rem;
        background: linear-gradient(to top, var(--white) 90%, transparent);
    }

    .result-card {
        padding: 1.25rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .visit-type-value {
        font-size: 1.25rem;
    }

    .pricing-reference {
        padding: 1rem;
    }

    .pricing-breakdown-list li {
        font-size: 0.85rem;
    }

    .example-row {
        font-size: 0.8rem;
    }

    /* Team */
    #team {
        padding: 4rem 1.5rem;
    }

    #team::before {
        width: 200px;
        height: 200px;
    }

    .team-member {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-photo {
        max-width: 250px;
        margin: 0 auto;
    }

    .photo-placeholder {
        border-radius: 20px;
    }

    .team-info h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .team-info .title {
        text-align: center;
    }

    .team-info p {
        font-size: 1rem;
    }

    .team-closing {
        font-size: 1rem;
        margin-top: 2rem;
    }

    /* Contact */
    #contact {
        padding: 4rem 1.5rem 3rem;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-method {
        padding: 1.5rem;
        min-width: auto;
        border-radius: 20px;
    }

    /* Floating Schedule Button */
    .floating-schedule-btn {
        bottom: 16px;
        right: 16px;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem;
        padding-bottom: 80px;
    }

    .emergency-notice {
        font-size: 0.75rem;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    #hero h1 {
        font-size: 1.5rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ==================== */
/* PET SELECTOR */
/* ==================== */

.pet-selector {
    margin-bottom: 1.5rem;
}

.pet-selector h3 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.pet-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.pet-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.pet-tab:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

.pet-tab.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.pet-tab .pet-icon {
    font-size: 1.1rem;
}

.pet-tab .pet-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pet-tab .remove-pet {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    font-size: 1rem;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.pet-tab .remove-pet:hover {
    opacity: 1;
}

.pet-tab.active .remove-pet {
    color: var(--white);
}

/* Household step */
.household-pets-setup {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.household-pets-setup .pet-tabs {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.household-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

#household-continue-btn {
    min-width: 200px;
}

#household-continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Inline pet tabs for services step */
.pet-tabs-inline {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pet-tab-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}

.pet-tab-inline:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

.pet-tab-inline.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.pet-tab-inline .pet-icon {
    font-size: 1rem;
}

.pet-tab-inline .pet-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.add-pet-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    background: var(--secondary-color);
    border: 2px dashed var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.add-pet-btn:hover {
    border-color: var(--primary-color);
    background: #ffeef6;
}

.add-pet-icon {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Add Pet Modal */
.add-pet-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

.pet-modal-content {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 20px;
    width: 90%;
    max-width: 340px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

#pet-name-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.2s ease;
}

#pet-name-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

#pet-name-input::placeholder {
    color: var(--text-light);
}

.pet-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.pet-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.pet-type-btn:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

.pet-type-btn.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.pet-type-icon {
    font-size: 2rem;
}

.pet-modal-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    text-align: center;
}

.pet-modal-field {
    margin-bottom: 1rem;
}

.pet-modal-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.pet-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.pet-modal-row .pet-modal-field {
    margin-bottom: 0;
}

.pet-modal-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-color);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.pet-modal-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.pet-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.pet-modal-cancel,
.pet-modal-add {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pet-modal-cancel {
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.pet-modal-cancel:hover {
    border-color: var(--text-light);
    background: #f5f5f5;
}

.pet-modal-add {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
}

.pet-modal-add:hover:not(:disabled) {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.pet-modal-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Pet Services Section */
.pet-services-section {
    animation: fadeIn 0.3s ease;
    max-width: 100%;
}

.pet-services-header {
    margin-bottom: 1rem;
}

#service-categories-container {
    max-width: 100%;
}

.pet-services-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* Multi-pet estimate breakdown */
.pet-breakdown {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.pet-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.pet-breakdown-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-color);
}

.pet-breakdown-name .pet-icon {
    font-size: 1rem;
}

.pet-breakdown-fee {
    color: var(--text-color);
}

.pet-breakdown-services {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: 1.4rem;
}

/* Pet Selector Mobile Styles */
@media (max-width: 768px) {
    .pet-tabs {
        gap: 0.4rem;
    }

    .pet-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .pet-tab .pet-icon {
        font-size: 1rem;
    }

    .pet-tab .pet-name {
        max-width: 70px;
    }

    .add-pet-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .pet-modal-content {
        padding: 1.5rem;
        max-width: 300px;
    }

    .pet-type-btn {
        padding: 1rem 0.75rem;
    }

    .pet-type-icon {
        font-size: 1.75rem;
    }

    .pet-breakdown-item {
        flex-wrap: wrap;
    }

    .pet-breakdown-fee {
        font-size: 0.8rem;
    }
}

/* =============================================================================
   SCHEDULING STEP (Step 3 & 4)
   ============================================================================= */

.scheduling-step-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.scheduling-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scheduling-section {
    background: rgba(139, 90, 43, 0.03);
    border: 1px solid rgba(139, 90, 43, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.scheduling-section h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 1rem;
}

/* Calendar */
.calendar-container {
    max-width: 350px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calendar-month {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown);
}

.calendar-nav {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brown);
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.calendar-nav:hover:not(:disabled) {
    background: rgba(139, 90, 43, 0.1);
}

.calendar-nav:disabled,
.calendar-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brown);
    opacity: 0.6;
    padding: 4px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day:hover:not(.disabled):not(.empty):not(.selected) {
    background: rgba(139, 90, 43, 0.1);
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.weekend:not(.disabled):not(.selected) {
    color: var(--brown);
    opacity: 0.7;
}

.calendar-day.selected {
    background: var(--green);
    color: white;
    font-weight: 600;
}

/* Time Slots */
.selected-date-display {
    font-size: 0.95rem;
    color: var(--brown);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.5rem;
}

.time-slot {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(139, 90, 43, 0.15);
    border-radius: 10px;
    background: white;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brown);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.time-slot:hover {
    border-color: var(--green);
    background: rgba(110, 166, 90, 0.05);
}

.time-slot.selected {
    border-color: var(--green);
    background: var(--green);
    color: white;
}

.time-slots-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--brown);
    opacity: 0.7;
    padding: 1rem 0;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 90, 43, 0.2);
    border-top-color: var(--brown);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.time-slots-empty {
    padding: 1rem;
    text-align: center;
    color: var(--brown);
    opacity: 0.7;
}

/* Client Form */
.client-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brown);
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(139, 90, 43, 0.15);
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--brown);
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--green);
}

.form-group input::placeholder {
    color: #aaa;
}

/* Client Info Section (Step 3) */
.client-info-section {
    padding: 1.5rem;
}

.client-info-section h3 {
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.client-info-section .step-subtitle {
    color: var(--brown);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.next-steps-info {
    margin-top: 2rem;
    padding: 1.25rem;
    background: rgba(100, 174, 89, 0.1);
    border-left: 4px solid var(--green);
    border-radius: 0 12px 12px 0;
}

.next-steps-info h4 {
    color: var(--green);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.next-steps-info p {
    margin: 0;
    color: var(--brown);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Summary pet display */
.summary-pet,
.pet-summary .summary-pet {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--brown);
}

.pet-summary {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(139, 90, 43, 0.1);
}

/* Booking error message */
.booking-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    text-align: center;
}

/* Appointment Summary Sidebar */
.scheduling-right {
    position: sticky;
    top: 100px;
}

.appointment-summary {
    background: white;
    border: 1px solid rgba(139, 90, 43, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 90, 43, 0.08);
}

.appointment-summary h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(139, 90, 43, 0.1);
}

.summary-section {
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.summary-label {
    color: var(--brown);
    opacity: 0.7;
}

.summary-value {
    font-weight: 600;
    color: var(--brown);
}

.summary-pets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 90, 43, 0.1);
}

.summary-pet {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(139, 90, 43, 0.05);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--brown);
}

.summary-pet i {
    font-size: 1rem;
}

.summary-pricing {
    margin-bottom: 1.25rem;
}

.summary-pricing .summary-row {
    font-size: 0.85rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 2px solid rgba(139, 90, 43, 0.1);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown);
}

.booking-error {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    color: #dc3545;
    font-size: 0.85rem;
    text-align: center;
}

/* Confirmation Page */
.confirmation-content {
    text-align: center;
    padding: 2rem;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.confirmation-icon i {
    display: inline-block;
}

.confirmation-content h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 1rem;
}

.confirmation-code {
    font-size: 1.1rem;
    color: var(--brown);
    margin-bottom: 1.5rem;
}

.confirmation-code strong {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    color: var(--green);
}

.confirmation-details {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--brown);
}

.calendar-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid rgba(139, 90, 43, 0.15);
    border-radius: 10px;
    background: white;
    color: var(--brown);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.calendar-btn:hover {
    border-color: var(--green);
    background: rgba(110, 166, 90, 0.05);
}

.calendar-btn i {
    font-size: 1.1rem;
}

.confirmation-email-note {
    font-size: 0.9rem;
    color: var(--brown);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.estimator-btn-secondary {
    background: white;
    color: var(--brown);
    border: 2px solid rgba(139, 90, 43, 0.2);
}

.estimator-btn-secondary:hover {
    border-color: var(--green);
    background: rgba(110, 166, 90, 0.05);
}

/* Scheduling responsive */
@media (max-width: 900px) {
    .scheduling-step-grid {
        grid-template-columns: 1fr;
    }

    .scheduling-right {
        position: static;
        order: -1;
    }

    .calendar-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .calendar-day {
        font-size: 0.8rem;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .time-slot {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }

    .calendar-buttons {
        flex-direction: column;
    }

    .calendar-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Booking Success Screen
   ============================================ */
.booking-success-screen {
    max-width: 500px;
    margin: 4rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.booking-success-screen .success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s ease-out;
}

.booking-success-screen .success-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.booking-success-screen h2 {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.booking-success-screen .success-message {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.booking-success-screen .success-details {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.booking-success-screen .success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.booking-success-screen .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.booking-success-screen .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.booking-success-screen .btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.booking-success-screen .btn-secondary:hover {
    color: var(--primary-color);
}

/* ==================== */
/* STANDALONE SCHEDULE PAGE */
/* ==================== */

.schedule-standalone {
    min-height: 100vh;
    background: var(--secondary-color);
}

.schedule-standalone .schedule-header {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.schedule-standalone .schedule-header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-standalone .schedule-header .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.schedule-standalone .schedule-header .logo-icon {
    font-size: 1.5rem;
}

.schedule-standalone .schedule-header .logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.schedule-standalone-section {
    padding-top: 2rem;
}

.schedule-standalone-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.schedule-standalone-section .pricing-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

/* Share Link Section */
.share-link-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 0.75rem 0;
}

.share-link-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-link-btn:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.share-link-btn i {
    font-size: 1rem;
}

.share-link-copied {
    font-size: 0.875rem;
    color: #4CAF50;
    font-weight: 500;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Standalone footer adjustments */
.schedule-standalone footer {
    margin-top: 3rem;
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.schedule-standalone footer p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.schedule-standalone footer .emergency-notice {
    font-size: 0.75rem;
}

/* ==================== */
/* PHONE-FIRST FLOW */
/* ==================== */

/* Hide reCAPTCHA badge and use inline branding instead */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Phone Entry Form */
.phone-entry-form {
    max-width: 320px;
    margin: 0 auto 1.5rem;
}

.name-input-wrapper,
.phone-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.name-input-wrapper input,
.phone-input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.name-input-wrapper input:focus,
.phone-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1);
}

.name-input-wrapper input::placeholder,
.phone-input-wrapper input::placeholder {
    color: #aaa;
}

.input-icon,
.phone-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.25rem;
}

.phone-error {
    color: #e53935;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-align: center;
}

.phone-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.phone-privacy-note i {
    color: var(--primary-color);
}

/* reCAPTCHA branding (required when badge is hidden) */
.recaptcha-branding {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.recaptcha-branding a {
    color: #999;
    text-decoration: underline;
}

.recaptcha-branding a:hover {
    color: var(--primary-color);
}

/* Confirmation Step */
#step-confirmation .confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

#step-confirmation .confirmation-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

#step-confirmation .confirmation-note {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem;
    font-family: inherit;
    transition: color 0.2s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link .resend-text {
    text-decoration: underline;
}

.resend-cooldown {
    color: var(--text-light);
    font-size: 0.85rem;
}

.different-phone-btn {
    color: var(--text-light);
    font-size: 0.85rem;
}

.different-phone-btn:hover {
    color: var(--primary-color);
}

/* Loading state */
#send-link-btn .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#send-link-btn .btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Phone step specific padding */
#step-phone .step-content-centered {
    padding: 2rem 0;
}

#step-confirmation .step-content-centered {
    padding: 2rem 0;
}

/* Confirmation phone number highlight */
#confirmation-phone {
    font-weight: 600;
    color: var(--primary-color);
}

/* Mobile adjustments for phone-first flow */
@media (max-width: 768px) {
    .phone-entry-form {
        max-width: 280px;
    }

    .phone-input-wrapper input {
        font-size: 1.125rem;
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
    }

    #step-confirmation .confirmation-icon {
        width: 70px;
        height: 70px;
    }

    #step-confirmation .confirmation-icon i {
        font-size: 2rem;
    }
}
