:root {
    /* Colors */
    --color-primary: #0ac39b;
    /* Mint */
    --color-secondary: #f9b40b;
    /* Selective Yellow */
    --color-bg: #f8f9fa;
    /* Off-white */
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --color-white: #ffffff;
    --color-contrast-bg: #e0f2f1;

    /* Typography */
    --font-title: 'Anton', sans-serif;
    --font-special: 'Boogaloo', cursive;
    --font-subtitle: 'Roboto Condensed', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing - MOBILE OPTIMIZED */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    --border-radius: 20px;
    --header-height: 72px;
    --safe-area-padding: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    overflow-x: hidden;
    /* Critical for Mobile width fix */
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    font-size: 1rem;
    padding-bottom: 0px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Critical for Mobile width fix */
    width: 100%;
    position: relative;
}

/* Typography Overrides */
h1 {
    font-family: var(--font-special);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    text-transform: none;
}

h2 {
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.2;
}

h3 {
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    border-radius: var(--border-radius);
    display: block;
}

/* Utilities */
.container {
    padding: 0 var(--safe-area-padding);
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    width: 100%;
    min-height: 56px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, #f9b40b 0%, #f7c945 100%);
    color: #000000;
}

/* Button Shine & Move Animation */
.btn-shine-anim {
    position: relative;
    overflow: hidden;
    animation: btn-pulse-move 3s infinite ease-in-out;
}

.btn-shine-anim::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: btn-shine-sweep 4s infinite 1s;
    /* delayed start */
}

@keyframes btn-pulse-move {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: translateY(-3px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    }
}

@keyframes btn-shine-sweep {
    0% {
        left: -150%;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        left: 150%;
        opacity: 0;
    }
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.btn-whatsapp-solid {
    background-color: #25D366;
    color: white;
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #0ac39b;
    /* Primary Mint Solid */
    height: var(--header-height);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--safe-area-padding);
    width: 100%;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 12px;
}

/* HAMBURGER */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin: 3px 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE MENU */
.nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    padding: var(--spacing-lg) var(--safe-area-padding);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: 999;
    overflow-y: auto;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-link {
    font-family: var(--font-subtitle);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    width: 100%;
}

/* HERO SECTION UPDATED */
.hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-image: url('http://petsbr.com/wp-content/uploads/2026/01/petz-uberlandia-scaled.png');
    background-size: cover;
    background-position: center top;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--safe-area-padding);
}

.hero h1 {
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
    /* Adjusted base margin */
}

/* Extra spacer class for spacing request */
.spacer-large {
    height: 3rem;
    display: block;
}

.hero h2 {
    color: #f1f1f1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    color: #f5f5f5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Highlight Animation */
.highlight-text {
    color: var(--color-secondary);
    font-weight: 800;
    display: inline-block;
    animation: pulse 2s infinite ease-in-out;
    text-shadow: 0 0 15px rgba(249, 180, 11, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* EDUCATIONAL SECTION */
.educational {
    padding: var(--spacing-lg) var(--safe-area-padding);
}

.edu-img-wrapper {
    position: relative;
    margin-bottom: var(--spacing-sm);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.edu-title-overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #5d4037;
    text-transform: uppercase;
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 2.2rem;
    z-index: 10;
    padding-bottom: 20px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);

    /* Fade In Animation State */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

/* STEPS & REVIEWS */
.steps {
    padding: var(--spacing-xl) var(--safe-area-padding);
    background: var(--color-white);
}

.timeline {
    position: relative;
    padding-left: 20px;
    /* Removed default border, replaced with pseudo for animation */
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0%;
    /* Start at 0 height */
    background: rgba(10, 195, 155, 0.2);
    transition: height 2.0s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline.line-visible::before {
    height: 100%;
}

.step-item {
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-left: 25px;
}

.step-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--color-secondary);
    border: 4px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(10, 195, 155, 0.2);

    /* Pop In Animation State */
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    /* Ensure on top of line */
}

.step-item.visible::before {
    transform: scale(1);
}

.reviews {
    padding: var(--spacing-xl) 0;
    background-color: #fafafa;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    gap: var(--spacing-md);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 85%;
    scroll-snap-align: center;
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* SOLUTIONS SECTION */
.solutions {
    padding: var(--spacing-xl) var(--safe-area-padding);
    background-color: var(--color-contrast-bg);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.solution-icon {
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.solution-icon i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.solutions-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: var(--spacing-lg);
}

.tel-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    text-align: center;
}

.tel-link strong {
    color: var(--color-primary);
}

.separator-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: lowercase;
}

/* FOOTER - INFO SECTION */
footer {
    background-color: #f5f5f5;
    padding: var(--spacing-xl) var(--safe-area-padding);
    border-top: 1px solid #e0e0e0;
}

.footer-info h3 {
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* FINAL IMAGE */
.final-footer-img {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    max-height: 400px;
    object-fit: contain;
    object-fit: cover;
    background: #f5f5f5;
}

/* COPYRIGHT BAR */
.copyright-bar {
    background-color: #f5f5f5;
    /* Same as footer/image background for continuity */
    color: var(--color-text-light);
    text-align: center;
    padding: 1.5rem 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: #e0e0e0;
    border-radius: 50%;
    margin-right: 10px;
    color: #333;
    text-decoration: none;
}

/* FLOATING BUTTON (FAB) */
.float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 2000;
    /* Increased Z-Index to stay on top */
    font-size: 32px;
    text-decoration: none;
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* DESKTOP TWEAKS */
@media (min-width: 768px) {
    :root {
        --spacing-xl: 8rem;
        /* Increased from 4rem for more breathing room on desktop */
    }

    .container {
        max-width: 1000px;
        padding: 0 40px;
    }

    .edu-img-wrapper {
        height: auto;
        max-height: 500px;
        /* Limit height */
        aspect-ratio: 16/9;
        /* Enforce ratio */
    }

    .edu-img-wrapper img {
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        /* Adjust focus to avoid bad crop */
    }

    .final-footer-img {
        height: auto;
        /* Allow natural height */
        max-height: 600px;
        /* Don't get too tall */
        object-fit: contain;
        /* Ensure full image is seen if it acts as a banner */
        width: 100%;
        background-color: #f5f5f5;
        /* Match footer bg */
    }

    .hero {
        background-attachment: fixed;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        transform: none;
        flex-direction: row;
        box-shadow: none;
        overflow: visible;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0;
        border: none;
    }

    .hamburger {
        display: none;
    }

    .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .review-card {
        min-width: 350px;
    }

    .btn {
        width: auto;
        min-width: 250px;
    }

    /* Precise Desktop Spacing Controls */
    .hero,
    .educational,
    .steps,
    .solutions,
    footer {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    /* Remove huge top/bottom padding from simple container children if needed, 
       but here we target the section wrappers themselves */
}