/* ========================================
   AT HOME DOG SERVICES — PREMIUM STYLES
   Nature-Inspired | 3D Interactive | Deep Creek, MD
   ======================================== */

/* === CSS Custom Properties === */
:root {
    /* Nature Green Palette */
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    --green-950: #052e16;

    /* Accent Earth Tones */
    --earth-100: #fef3c7;
    --earth-200: #fde68a;
    --earth-300: #fcd34d;
    --earth-400: #f59e0b;
    --earth-500: #d97706;
    --earth-warm: #92400e;

    /* Sage & Forest */
    --sage-100: #e8f0e4;
    --sage-200: #c5d9bc;
    --sage-300: #a3c293;
    --sage-400: #7dab68;
    --sage-500: #5a8f4a;
    --forest-deep: #1a3a1a;
    --forest-mid: #2d5a2d;
    --forest-light: #3d7a3d;

    /* Backgrounds */
    --bg-primary: #fafdf7;
    --bg-secondary: #f0f7ec;
    --bg-tertiary: #e5f0df;
    --bg-dark: #0a1f0a;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.15);

    /* Text Colors */
    --text-primary: #1a2e1a;
    --text-secondary: #3d5a3d;
    --text-muted: #6b8a6b;
    --text-light: #94b794;
    --text-white: #fafdf7;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #15803d 0%, #22c55e 50%, #4ade80 100%);
    --gradient-hero: linear-gradient(135deg, #052e16 0%, #14532d 30%, #166534 60%, #15803d 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(240,253,244,0.9) 100%);
    --gradient-dark: linear-gradient(135deg, #0a1f0a 0%, #14532d 100%);
    --gradient-glow: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
    --gradient-forest: linear-gradient(180deg, #052e16 0%, #0a2f0a 20%, #14532d 50%, #166534 80%, #15803d 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(20, 83, 45, 0.06);
    --shadow-md: 0 4px 20px rgba(20, 83, 45, 0.1);
    --shadow-lg: 0 8px 40px rgba(20, 83, 45, 0.12);
    --shadow-xl: 0 16px 60px rgba(20, 83, 45, 0.15);
    --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.2);
    --shadow-card: 0 10px 40px rgba(20, 83, 45, 0.08), 0 2px 10px rgba(20, 83, 45, 0.04);
    --shadow-card-hover: 0 20px 60px rgba(20, 83, 45, 0.15), 0 4px 20px rgba(20, 83, 45, 0.08);

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;

    /* Sizing */
    --nav-height: 80px;
    --section-padding: 120px;
    --container-max: 1280px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Lock horizontal panning at the scroll-root level (mobile/tablet
       browsers often scroll <html>, not <body>, so it must be set here too) */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    line-height: 1.7;
    cursor: none;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

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

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

@media (max-width: 768px) {
    a { cursor: pointer; }
}

button {
    cursor: none;
    border: none;
    background: none;
    font-family: inherit;
}

@media (max-width: 768px) {
    button { cursor: pointer; }
}

::selection {
    background: var(--green-300);
    color: var(--green-950);
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--green-400);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--green-500);
}

/* === Custom Cursor === */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--green-400);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease, background 0.2s ease;
    mix-blend-mode: difference;
}
.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
}
.cursor-dot.hover {
    transform: scale(2.5);
    background: var(--green-300);
}
.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(34, 197, 94, 0.2);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* === Leaf Canvas === */
#leafCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* === Section Container === */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .section-container { padding: 0 20px; }
}

/* === Section Labels & Titles === */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 20px;
}
.section-label.center {
    justify-content: center;
}
.label-line {
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.section-title.center {
    text-align: center;
}
.section-title em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--green-600);
    font-weight: 600;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}
.section-header {
    margin-bottom: 80px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
}
.navbar.scrolled {
    background: rgba(250, 253, 247, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}
.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--green-500);
    transition: transform var(--transition-spring);
}
.nav-logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
}
.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    transition: color var(--transition-base);
}
.navbar.scrolled .logo-text {
    color: var(--text-primary);
}
.nav-links {
    display: flex;
    gap: 8px;
}
.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-base);
    overflow: hidden;
}
.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}
.nav-link:hover,
.nav-link.active {
    color: var(--green-400);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--green-600);
}
.nav-cta {
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-950);
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}
.navbar.scrolled .nav-toggle span {
    background: var(--text-primary);
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(10, 31, 10, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 120px 40px 40px;
        gap: 8px;
        transition: right var(--transition-slow);
    }
    .nav-links.active { right: 0; }
    .nav-link {
        font-size: 1.2rem;
        padding: 16px 0;
        color: rgba(255, 255, 255, 0.8) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav-cta { display: none; }
    .nav-container { padding: 0 20px; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-forest);
}

/* Parallax Background Layers */
.hero-bg-layers {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-layer {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    transition: transform 0.1s linear;
}
.hero-bg-1 {
    background-image: url('../images/hero.webp');
    opacity: 0.4;
    filter: blur(2px);
}
.hero-bg-2 {
    background: radial-gradient(ellipse at 30% 50%, rgba(34, 197, 94, 0.2) 0%, transparent 60%);
}
.hero-bg-3 {
    background: radial-gradient(ellipse at 70% 60%, rgba(74, 222, 128, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(5, 46, 22, 0.6) 0%,
        rgba(10, 31, 10, 0.4) 40%,
        rgba(20, 83, 45, 0.5) 70%,
        rgba(5, 46, 22, 0.8) 100%
    );
    z-index: 1;
}

/* Floating 3D Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    perspective: 1000px;
}
.floating-leaf,
.floating-paw {
    position: absolute;
    font-size: 2rem;
    animation: float-3d 8s ease-in-out infinite;
    opacity: 0.5;
    filter: blur(1px);
    transform-style: preserve-3d;
}
.leaf-1 { top: 15%; left: 10%; animation-delay: 0s; font-size: 2.5rem; }
.leaf-2 { top: 25%; right: 15%; animation-delay: 1.5s; font-size: 1.8rem; }
.leaf-3 { bottom: 30%; left: 20%; animation-delay: 3s; font-size: 2.2rem; }
.leaf-4 { top: 60%; right: 10%; animation-delay: 4.5s; font-size: 1.5rem; }
.leaf-5 { bottom: 20%; right: 25%; animation-delay: 2s; font-size: 2rem; }
.paw-1 { top: 20%; right: 30%; animation-delay: 2.5s; opacity: 0.3; font-size: 1.5rem; }
.paw-2 { bottom: 40%; left: 8%; animation-delay: 5s; opacity: 0.25; font-size: 1.8rem; }
.paw-3 { top: 50%; left: 40%; animation-delay: 3.5s; opacity: 0.2; }

@keyframes float-3d {
    0%, 100% {
        transform: translateY(0) translateX(0) rotateX(0deg) rotateY(0deg) translateZ(0);
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotateX(10deg) rotateY(15deg) translateZ(20px);
    }
    50% {
        transform: translateY(-15px) translateX(-10px) rotateX(-5deg) rotateY(-10deg) translateZ(10px);
    }
    75% {
        transform: translateY(-40px) translateX(20px) rotateX(8deg) rotateY(20deg) translateZ(30px);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
    padding-top: var(--nav-height);
    padding-bottom: 100px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green-200);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.title-line {
    display: block;
}
.title-accent {
    background: linear-gradient(135deg, var(--green-300) 0%, var(--green-400) 40%, var(--earth-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-small {
    font-size: 0.45em;
    font-weight: 400;
    letter-spacing: 0.08em;
    opacity: 0.8;
    margin-top: 8px;
    color: var(--green-200);
    -webkit-text-fill-color: initial;
}
.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}
.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}
.btn:hover svg {
    transform: translateX(4px);
}
.btn-primary {
    background: var(--gradient-primary);
    color: var(--green-950);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-400);
    line-height: 1;
    display: inline;
}
.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-400);
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 2s;
    opacity: 0;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--green-400);
    border-radius: 3px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    line-height: 0;
}
.wave-divider svg {
    width: 100%;
    height: 80px;
}
.wave-bottom {
    position: relative;
    margin-top: -1px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-glow);
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* About Image */
.about-image-wrapper {
    position: relative;
    perspective: 1000px;
}
.about-image-frame {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
}
.about-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.about-image-wrapper:hover .about-image-frame img {
    transform: scale(1.05);
}
.image-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.05) 50%, transparent 55%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}
.about-image-wrapper:hover .image-shine {
    transform: translateX(100%);
}
.about-experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--green-950);
    padding: 20px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 2;
    animation: badge-float 4s ease-in-out infinite;
}
.exp-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}
.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}
.about-nature-badge {
    position: absolute;
    bottom: 30px;
    left: -15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-700);
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: badge-float 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

/* About Content */
.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}
.about-feature:hover {
    background: white;
    border-color: var(--green-200);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.feature-icon svg {
    width: 22px;
    height: 22px;
}
.about-feature strong {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.about-feature span {
    font-size: 0.88rem;
    color: var(--text-muted);
}



/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
    padding: var(--section-padding) 0;
    padding-bottom: 160px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}
.services-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--green-600) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--green-600) 1px, transparent 1px);
    background-size: 60px 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    perspective: 1200px;
}

/* Service Cards */
.service-card {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: visible;
    transition: transform var(--transition-slow);
    transform-style: preserve-3d;
}
.service-card:hover {
    transform: translateY(-12px);
}
.card-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--green-950);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
.card-3d-wrapper {
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
}
.card-front {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    height: 100%;
}
.service-card:hover .card-front {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--green-200);
}
.service-card.featured .card-front {
    border-color: var(--green-300);
    box-shadow: var(--shadow-card-hover), 0 0 0 1px var(--green-200);
}
.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.service-card:hover .card-image img {
    transform: scale(1.1);
}
/* Portrait service photos (training & grooming): fill frame edge-to-edge,
   pulled toward the top so more of the dog shows */
#serviceCard1 .card-image img,
#serviceCard3 .card-image img {
    object-fit: cover;
    object-position: center 30%;
}
.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 46, 22, 0.6) 100%);
}
.card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    pointer-events: none;
}
.card-content {
    padding: 32px 28px;
}
.card-icon {
    width: 52px;
    height: 52px;
    color: var(--green-500);
    margin-bottom: 20px;
}
.card-icon svg {
    width: 100%;
    height: 100%;
}
.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.card-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.card-features {
    list-style: none;
    margin-bottom: 24px;
}
.card-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--green-100);
    color: var(--green-600);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}
.card-price {
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--green-100);
}
.price-from {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-700);
}
.price-amount span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}
.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--bg-secondary);
    color: var(--green-700);
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--transition-base);
    border: 1px solid var(--green-200);
}
.card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}
.card-cta:hover {
    background: var(--gradient-primary);
    color: var(--green-950);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
.card-cta:hover svg {
    transform: translateX(4px);
}



/* =============================================
   PROCESS / TIMELINE
   ============================================= */
.process {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--green-200) 0%, var(--green-400) 50%, var(--green-200) 100%);
}
.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.step-number {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    transition: all var(--transition-base);
}
.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}
.step-number span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green-950);
}
.step-content {
    flex: 1;
    padding: 8px 0;
}
.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}



/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}
.testimonials-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(74, 222, 128, 0.05) 0%, transparent 40%);
}
.testimonials .section-title {
    color: var(--text-white);
}
.testimonials .section-title em {
    color: var(--green-400);
}
.testimonials .section-label {
    color: var(--green-400);
}

.testimonials-carousel {
    overflow: hidden;
}
.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-xl);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 6rem;
    font-family: var(--font-accent);
    color: rgba(34, 197, 94, 0.08);
    line-height: 1;
}
.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.testimonial-stars {
    font-size: 1.1rem;
    color: var(--earth-300);
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-950);
}
.author-info strong {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
}
.author-info span {
    font-size: 0.82rem;
    color: var(--green-400);
}



/* =============================================
   GALLERY BANNER (Marquee)
   ============================================= */
.gallery-banner {
    background: var(--gradient-primary);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}
.gallery-scroll {
    display: flex;
    width: max-content;
}
.gallery-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}
.gallery-item {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-950);
    letter-spacing: 0.02em;
}
.gallery-dot {
    font-size: 1rem;
    color: rgba(5, 46, 22, 0.3);
}

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

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--gradient-glow);
    pointer-events: none;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.contact-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}
.contact-item:hover {
    background: white;
    border-color: var(--green-200);
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}
.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.contact-item span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Social Links */
.contact-social {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover {
    background: var(--gradient-primary);
    color: var(--green-950);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Contact Form */
.contact-form {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-xl);
    padding: 44px 36px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.contact-form::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-xl);
    background: linear-gradient(135deg, var(--green-200), transparent, var(--green-300));
    z-index: -1;
    opacity: 0.5;
}
.form-header {
    margin-bottom: 32px;
}
.form-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.92rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all var(--transition-base);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: white;
    border-color: var(--green-400);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b8a6b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}
.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform: translateX(-50%);
}
.form-group input:focus ~ .input-focus-line,
.form-group select:focus ~ .input-focus-line,
.form-group textarea:focus ~ .input-focus-line {
    width: 80%;
}

/* Form Submit Button */
.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--green-950);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}
.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}
.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}
.form-submit:hover::before { opacity: 1; }
.submit-icon svg, .submit-loading svg {
    width: 18px;
    height: 18px;
}
.submit-loading {
    display: none;
}
.form-submit.loading .submit-text,
.form-submit.loading .submit-icon {
    display: none;
}
.form-submit.loading .submit-loading {
    display: block;
    animation: spin 1s linear infinite;
}
.form-submit.success {
    background: var(--green-600);
    color: white;
}

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



/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--gradient-dark);
    padding: 80px 0 40px;
    position: relative;
}
.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}
.footer-wave svg {
    width: 100%;
    height: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-logo .logo-text {
    color: var(--text-white);
}
.footer-tagline {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}
.footer-links-group h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.footer-links-group a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 0;
    transition: all var(--transition-fast);
}
.footer-links-group a:hover {
    color: var(--green-400);
    transform: translateX(4px);
}
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}



/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animation Classes */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate="fade-up"] {
    transform: translateY(50px);
}
[data-animate="fade-right"] {
    transform: translateX(-50px);
}
[data-animate="fade-left"] {
    transform: translateX(50px);
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Smooth Entrance for Hero */
.hero-content > * {
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }
.hero-content > *:nth-child(5) { animation-delay: 1s; }

/* =============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   Breakpoints:
   - 1200px : Small desktop / large tablet landscape
   - 1024px : Tablet landscape (iPad Pro, Surface)
   - 900px  : Tablet portrait / small tablet landscape
   - 768px  : Tablet portrait (iPad, iPad Mini)
   - 600px  : Large phone landscape / small tablet
   - 480px  : Phone (iPhone, Pixel, Galaxy)
   - 375px  : Small phone (iPhone SE, Galaxy S)
   - 320px  : Extra small (iPhone SE 1st gen)
   ============================================= */

/* ---- 1200px: Small Desktop / Large Tablet Landscape ---- */
@media (max-width: 1200px) {
    .section-container {
        padding: 0 32px;
    }
    .about-grid {
        gap: 60px;
    }
    .services-grid {
        gap: 24px;
    }
    .contact-grid {
        gap: 60px;
    }
    .footer-grid {
        gap: 36px;
    }
}

/* ---- 1024px: Tablet Landscape ---- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    /* Services: 2-column on tablet, featured card full width */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 24px;
    }
    .service-card.featured {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .card-content {
        padding: 28px 24px;
    }

    /* Testimonials 2 columns */
    .testimonial-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-grid {
        gap: 50px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 32px;
    }
}

/* ---- 900px: Tablet Portrait / Breakpoint for Nav ---- */
@media (max-width: 900px) {
    :root {
        --section-padding: 80px;
    }

    .section-container {
        padding: 0 24px;
    }
    .section-header {
        margin-bottom: 56px;
    }
    .section-subtitle {
        font-size: 1rem;
        padding: 0 16px;
    }

    /* Nav (already handled - burger menu) */

    /* Hero */
    .hero-content {
        padding: 0 24px;
        padding-top: var(--nav-height);
    }
    .hero-description {
        margin-bottom: 32px;
    }
    .hero-actions {
        margin-bottom: 48px;
    }
    .hero-scroll-indicator {
        bottom: 80px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-image-col {
        order: 1;
    }
    .about-content-col {
        order: 2;
    }
    .about-image-frame img {
        height: 400px;
    }
    .about-experience-badge {
        right: 20px;
        top: -15px;
        bottom: auto;
    }
    .about-nature-badge {
        left: 15px;
        bottom: 30px;
        top: auto;
    }

    /* Services single column */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .service-card.featured {
        max-width: 100%;
    }

    /* Testimonials single column */
    .testimonial-track {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .testimonial-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    .testimonial-card {
        padding: 28px 24px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---- 768px: Tablet Portrait (iPad, iPad Mini) ---- */
@media (max-width: 768px) {
    :root {
        --section-padding: 72px;
        --nav-height: 68px;
        --border-radius-xl: 24px;
    }

    .section-container {
        padding: 0 20px;
    }

    /* Cursor - hide on touch */
    .cursor-dot, .cursor-ring {
        display: none;
    }
    body, a, button {
        cursor: auto;
    }

    /* Hero adjustments */
    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 16px 6px 12px;
        margin-bottom: 24px;
    }
    .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.5rem);
        margin-bottom: 20px;
    }
    .title-small {
        font-size: 0.5em;
        margin-top: 4px;
    }
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 28px;
        padding: 0 8px;
    }

    /* Buttons - bigger tap targets */
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        min-height: 48px;
    }

    /* Stats */
    .hero-stats {
        gap: 24px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-suffix {
        font-size: 1.2rem;
    }
    .stat-label {
        font-size: 0.72rem;
    }
    .stat-divider {
        height: 32px;
    }

    /* Floating elements - reduce on smaller screens */
    .floating-leaf,
    .floating-paw {
        font-size: 1.5rem;
        opacity: 0.3;
    }
    .leaf-1 { font-size: 1.8rem; }
    .leaf-3, .leaf-5, .paw-2, .paw-3 {
        display: none;
    }

    /* Wave divider smaller */
    .wave-divider svg {
        height: 50px;
    }

    /* About - show the full portrait instead of cropping it */
    .about-image-frame img {
        height: auto;
    }
    .about-lead {
        font-size: 1.05rem;
    }
    .about-text {
        font-size: 0.95rem;
    }
    .about-feature {
        padding: 14px 16px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }
    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Service cards - give the product photos a consistent, slightly taller
       frame on mobile so they show more of the dog and line up evenly */
    .card-image {
        height: 400px;
    }
    .card-image img {
        height: 100%;
        object-fit: cover;
        object-position: center 30%;
    }
    .card-content {
        padding: 24px 20px;
    }
    .card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 16px;
    }
    .card-title {
        font-size: 1.25rem;
    }
    .card-description {
        font-size: 0.88rem;
    }
    .card-features li {
        font-size: 0.85rem;
        padding: 5px 0;
    }
    .price-amount {
        font-size: 1.75rem;
    }
    .card-cta {
        padding: 13px;
        min-height: 48px;
        border-radius: 12px;
    }

    /* Process / Timeline */
    .process-timeline {
        max-width: 100%;
    }
    .timeline-line {
        left: 24px;
    }
    .step-number {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    .step-number span {
        font-size: 1rem;
    }
    .process-step {
        gap: 20px;
        margin-bottom: 36px;
    }
    .step-content h3 {
        font-size: 1.15rem;
    }
    .step-content p {
        font-size: 0.9rem;
    }

    /* Gallery banner */
    .gallery-banner {
        padding: 16px 0;
    }
    .gallery-item {
        font-size: 1.1rem;
    }
    .gallery-track {
        gap: 28px;
    }

    /* Contact */
    .contact-text {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }
    .contact-item {
        padding: 12px 16px;
        gap: 14px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .contact-details {
        gap: 14px;
        margin-bottom: 28px;
    }

    /* Contact form */
    .contact-form {
        padding: 32px 24px;
    }
    .form-header h3 {
        font-size: 1.3rem;
    }
    .form-group {
        margin-bottom: 16px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        min-height: 48px;
    }
    .form-submit {
        padding: 14px 24px;
        min-height: 52px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 64px 0 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-tagline {
        max-width: 100%;
    }
    .footer-links-group h4 {
        margin-bottom: 14px;
    }
    .footer-links-group a {
        padding: 5px 0;
        min-height: 36px;
        display: flex;
        align-items: center;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* ---- 600px: Large Phone / Small Tablet ---- */
@media (max-width: 600px) {
    :root {
        --section-padding: 64px;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    /* Hero */
    .hero-content {
        padding: 0 16px;
        padding-top: var(--nav-height);
    }
    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 40px;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Stats horizontal scroll protection */
    .hero-stats {
        gap: 20px;
        width: 100%;
        justify-content: center;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-suffix {
        font-size: 1rem;
    }

    /* About image */
    .about-image-frame img {
        height: auto;
    }
    .about-experience-badge {
        padding: 16px 18px;
        right: 12px;
        top: -12px;
        bottom: auto;
    }
    .exp-number {
        font-size: 1.8rem;
    }
    .exp-text {
        font-size: 0.68rem;
    }
    .about-nature-badge {
        left: 10px;
        bottom: 20px;
        top: auto;
        padding: 10px 16px;
        font-size: 0.78rem;
    }
    .about-features {
        margin-top: 28px;
        gap: 14px;
    }

    /* Services cards */
    .services-grid {
        max-width: 100%;
    }
    .card-number {
        font-size: 3rem;
    }

    /* Timeline */
    .timeline-line {
        left: 18px;
    }
    .step-number {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    .step-number span {
        font-size: 0.8rem;
    }
    .process-step {
        gap: 16px;
        margin-bottom: 28px;
    }
    .step-content h3 {
        font-size: 1.05rem;
    }
    .step-content p {
        font-size: 0.85rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px 20px;
    }
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .testimonial-card::before {
        font-size: 4rem;
        right: 16px;
    }
    .author-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.78rem;
    }
    .author-info strong {
        font-size: 0.88rem;
    }
    .author-info span {
        font-size: 0.78rem;
    }

    /* Gallery */
    .gallery-item {
        font-size: 1rem;
    }
    .gallery-track {
        gap: 24px;
    }
}

/* ---- 480px: Standard Phone (iPhone 12/13/14, Pixel, Galaxy S) ---- */
@media (max-width: 480px) {
    :root {
        --section-padding: 56px;
        --nav-height: 64px;
        --border-radius: 12px;
        --border-radius-lg: 18px;
        --border-radius-xl: 20px;
    }

    .section-container {
        padding: 0 16px;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .section-label {
        font-size: 0.75rem;
        gap: 8px;
        margin-bottom: 14px;
    }
    .label-line {
        width: 24px;
    }
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 14px;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Nav mobile polish */
    .nav-container {
        padding: 0 16px;
    }
    .logo-icon {
        width: 30px;
        height: 30px;
    }
    .logo-text {
        font-size: 1rem;
    }
    .nav-links {
        width: 100%;
        max-width: 100%;
        padding: 100px 24px 40px;
    }
    .nav-link {
        font-size: 1.1rem !important;
        padding: 14px 0 !important;
    }

    /* Hero - phone optimized */
    .hero {
        min-height: 100svh; /* safe viewport height for mobile browsers */
    }
    .hero-content {
        padding: 0 12px;
        padding-top: calc(var(--nav-height) + 16px);
    }
    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 14px 5px 10px;
        gap: 8px;
        margin-bottom: 20px;
    }
    .badge-dot {
        width: 6px;
        height: 6px;
    }
    .hero-title {
        font-size: clamp(1.9rem, 10vw, 2.8rem);
        margin-bottom: 16px;
        letter-spacing: -0.01em;
    }
    .title-small {
        font-size: 0.48em;
        letter-spacing: 0.04em;
    }
    .hero-description {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 24px;
        padding: 0 4px;
    }
    .hero-actions {
        margin-bottom: 36px;
        gap: 10px;
    }
    .btn {
        padding: 13px 24px;
        font-size: 0.88rem;
    }

    /* Stats */
    .hero-stats {
        gap: 16px;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-suffix {
        font-size: 0.9rem;
    }
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.03em;
    }
    .stat-divider {
        height: 28px;
    }

    /* Hide scroll indicator on small phones */
    .hero-scroll-indicator {
        display: none;
    }

    /* Remove parallax floating elements on small screens */
    .floating-elements {
        display: none;
    }

    /* Reduce wave height */
    .wave-divider svg {
        height: 40px;
    }

    /* About */
    .about-image-frame img {
        height: auto;
        border-radius: var(--border-radius-lg);
    }
    .about-image-frame {
        border-radius: var(--border-radius-lg);
    }
    .about-experience-badge {
        padding: 14px 16px;
        border-radius: var(--border-radius);
        right: 8px;
        top: -10px;
        bottom: auto;
    }
    .exp-number {
        font-size: 1.5rem;
    }
    .about-nature-badge {
        left: 8px;
        bottom: 16px;
        top: auto;
        padding: 8px 14px;
        font-size: 0.72rem;
        gap: 6px;
    }
    .about-lead {
        font-size: 0.98rem;
    }
    .about-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    .about-feature {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 12px;
    }
    .about-feature:hover {
        transform: none; /* disable hover shift on mobile */
    }
    .feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 8px;
    }
    .feature-icon svg {
        width: 18px;
        height: 18px;
    }
    .about-feature strong {
        font-size: 0.9rem;
    }
    .about-feature span {
        font-size: 0.8rem;
    }

    /* Services */
    .services {
        padding-bottom: 100px;
    }
    .card-image {
        height: 400px;
    }
    .card-content {
        padding: 20px 18px;
    }
    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 14px;
    }
    .card-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    .card-description {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    .card-features {
        margin-bottom: 18px;
    }
    .card-features li {
        font-size: 0.82rem;
        gap: 8px;
    }
    .card-features li::before {
        width: 18px;
        height: 18px;
        min-width: 18px;
        font-size: 0.6rem;
    }
    .card-price {
        padding: 14px 0;
        margin-bottom: 16px;
    }
    .price-amount {
        font-size: 1.6rem;
    }
    .price-amount span {
        font-size: 0.82rem;
    }
    .card-cta {
        padding: 12px;
        font-size: 0.88rem;
    }
    .card-number {
        font-size: 2.5rem;
    }
    .card-featured-badge {
        font-size: 0.68rem;
        padding: 5px 14px;
        top: -10px;
    }

    /* Disable 3D tilt hover on touch devices */
    .service-card:hover {
        transform: none;
    }
    .testimonial-card:hover {
        transform: none;
    }
    .contact-item:hover {
        transform: none;
    }

    /* Contact form */
    .contact-form {
        padding: 24px 18px;
        border-radius: var(--border-radius-lg);
    }
    .form-header {
        margin-bottom: 24px;
    }
    .form-header h3 {
        font-size: 1.2rem;
    }
    .form-header p {
        font-size: 0.82rem;
    }
    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 14px;
        font-size: 0.88rem;
        border-radius: 10px;
    }
    .form-group textarea {
        min-height: 80px;
    }
    .form-submit {
        padding: 14px 20px;
        font-size: 0.92rem;
        border-radius: 12px;
    }

    /* Contact info items - disable hover shift */
    .contact-item:hover {
        transform: none;
    }
    .contact-item strong {
        font-size: 0.85rem;
    }
    .contact-item span {
        font-size: 0.82rem;
    }

    /* Social links - bigger tap targets */
    .social-link {
        width: 48px;
        height: 48px;
    }
    .social-link:hover {
        transform: none;
    }

    /* Footer */
    .footer {
        padding: 56px 0 28px;
    }
    .footer-wave svg {
        height: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-links-group {
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .footer-links-group:last-child {
        border-bottom: none;
    }
    .footer-links-group h4 {
        font-size: 0.82rem;
        margin-bottom: 10px;
    }
    .footer-links-group a {
        font-size: 0.85rem;
        padding: 6px 0;
        min-height: 40px;
    }
    .footer-bottom {
        padding-top: 24px;
    }
    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* Gallery */
    .gallery-banner {
        padding: 14px 0;
    }
    .gallery-item {
        font-size: 0.9rem;
    }
    .gallery-track {
        gap: 20px;
    }
}

/* ---- 375px: Small Phone (iPhone SE 2nd/3rd, iPhone Mini) ---- */
@media (max-width: 375px) {
    :root {
        --section-padding: 48px;
    }

    .section-container {
        padding: 0 14px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
    .title-small {
        font-size: 0.5em;
    }
    .hero-description {
        font-size: 0.82rem;
    }
    .hero-badge {
        font-size: 0.68rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    .stat-number {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-image-frame img {
        height: auto;
    }
    .about-experience-badge {
        padding: 12px 14px;
    }
    .exp-number {
        font-size: 1.3rem;
    }

    .card-image {
        height: 360px;
    }
    .card-content {
        padding: 18px 16px;
    }
    .card-title {
        font-size: 1.08rem;
    }
    .price-amount {
        font-size: 1.4rem;
    }

    .contact-form {
        padding: 20px 14px;
    }
    .form-header h3 {
        font-size: 1.1rem;
    }

    .footer-grid {
        gap: 20px;
    }
    .logo-text {
        font-size: 0.9rem;
    }
}

/* ---- 320px: Extra Small (iPhone SE 1st gen, old Androids) ---- */
@media (max-width: 320px) {
    :root {
        --section-padding: 40px;
        --nav-height: 56px;
    }

    .section-container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.6rem;
    }
    .hero-description {
        font-size: 0.78rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .about-image-frame img {
        height: auto;
    }

    .card-content {
        padding: 16px 14px;
    }
    .card-features li {
        font-size: 0.78rem;
    }

    .contact-form {
        padding: 18px 12px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ---- Touch Device Optimizations ---- */
@media (hover: none) and (pointer: coarse) {
    /* Disable all hover-only effects on touch devices */
    .service-card:hover {
        transform: none;
    }
    .service-card:hover .card-image img {
        transform: none;
    }
    .service-card:hover .card-front {
        box-shadow: var(--shadow-card);
    }
    .testimonial-card:hover {
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
    }
    .about-feature:hover {
        transform: none;
        background: var(--bg-secondary);
        border-color: transparent;
        box-shadow: none;
    }
    .contact-item:hover {
        transform: none;
        background: var(--bg-secondary);
        border-color: transparent;
        box-shadow: none;
    }
    .social-link:hover {
        transform: none;
    }
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
    .nav-cta:hover {
        transform: none;
    }
    .form-submit:hover {
        transform: none;
    }
    .footer-links-group a:hover {
        transform: none;
    }

    /* Add active/tap states instead */
    .btn-primary:active {
        transform: scale(0.97);
        box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
    }
    .btn-secondary:active {
        transform: scale(0.97);
    }
    .card-cta:active {
        transform: scale(0.97);
    }
    .social-link:active {
        transform: scale(0.92);
    }
    .form-submit:active {
        transform: scale(0.97);
    }
    .nav-link:active {
        color: var(--green-400) !important;
    }
    .contact-item:active {
        background: white;
        border-color: var(--green-200);
    }

    /* Ensure cursor is normal on touch */
    *, *::before, *::after {
        cursor: auto !important;
    }

    /* Hide custom cursor elements */
    .cursor-dot, .cursor-ring {
        display: none !important;
    }

    /* Hide leaf canvas on low-power mobile devices */
    #leafCanvas {
        display: none;
    }
}

/* ---- Landscape Phone ---- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    .hero-content {
        padding-top: 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 20px;
    }
    .hero-scroll-indicator {
        display: none;
    }
    .hero-actions {
        margin-bottom: 20px;
    }
    .floating-elements {
        display: none;
    }
}

/* ---- Reduced Motion Preference ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .floating-elements { display: none; }
    #leafCanvas { display: none; }
    .gallery-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* =============================================
   SCROLLING DOG BACKGROUND VIDEO
   A softly-blended dog that plays behind the
   content as you scroll below the hero.
   ============================================= */

/* Keep a solid base color on the root so the fixed
   video (z-index:-1) can sit above it, behind content. */
html {
    background-color: var(--bg-primary);
}
body {
    background-color: transparent;
}

.dog-scroll-bg {
    position: fixed;
    inset: 0;
    z-index: -1;                 /* behind all content, above the page base color */
    overflow: hidden;
    pointer-events: none;
    opacity: 0;                  /* revealed on scroll via JS */
    transition: opacity 0.5s ease;
    will-change: opacity;
}
.dog-scroll-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* base transform; JS adds a gentle scroll parallax */
    transform: translate(-50%, -50%) scale(1.12);
    /* the studio backdrop is near-white, so multiply
       drops it out and blends just the dog into the page */
    mix-blend-mode: multiply;
    opacity: 0.85;
    filter: saturate(0.95) contrast(1.03);
    will-change: transform;
}

/* Soft vignette so the video edges melt into the page
   instead of showing a hard rectangle. */
.dog-scroll-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        transparent 35%,
        var(--bg-primary) 95%);
    mix-blend-mode: normal;
    pointer-events: none;
}

/* Let the fixed dog show softly through the light
   sections below the hero. Source order beats the
   original opaque rules above. */
.about,
.process,
.contact {
    background: rgba(250, 253, 247, 0.68);   /* --bg-primary tint */
}
.services {
    background: rgba(240, 247, 236, 0.68);   /* --bg-secondary tint */
}

/* On touch / small screens, drop the parallax cost but
   keep the blended dog as a calm backdrop. */
@media (max-width: 768px) {
    .dog-scroll-bg video {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.78;
    }
}

/* Respect reduced-motion: hold the dog still and faint. */
@media (prefers-reduced-motion: reduce) {
    .dog-scroll-bg {
        opacity: 0.32 !important;
        transition: none;
    }
}
