/* ============================================
   PETCARE — LANDING PAGE
   Paleta tierra · Corporativa · Minimalista
   ============================================ */

/* -------------------- VARIABLES -------------------- */
:root {
    --primary: #A67C52;
    --primary-light: #C9A882;
    --primary-dark: #8B6340;

    --secondary: #8A9A5B;
    --secondary-light: #A8B87C;
    --secondary-dark: #6E7D48;

    --accent: #5C4033;
    --accent-light: #7D5E4E;

    --terracotta: #C67B5C;
    --sand: #E8D5B7;
    --sand-light: #F2E8D5;

    --bg: #FAF6F1;
    --bg-white: #FFFFFF;
    --bg-tertiary: #F3EDE4;

    --text: #2C2420;
    --text-secondary: #6B5E54;
    --text-light: #9E9288;
    --text-white: #FFFFFF;

    --border: #E6DDD3;

    --shadow-sm: 0 2px 8px rgba(92, 64, 51, 0.06);
    --shadow-md: 0 4px 20px rgba(92, 64, 51, 0.08);
    --shadow-lg: 0 8px 40px rgba(92, 64, 51, 0.10);
    --shadow-xl: 0 16px 64px rgba(92, 64, 51, 0.12);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* -------------------- RESET -------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* -------------------- UTILITIES -------------------- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--terracotta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -------------------- BUTTONS -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 2px 12px rgba(166, 124, 82, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(166, 124, 82, 0.4);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary-light);
    background: var(--bg-white);
}
.btn-soft {
    background: var(--sand-light);
    color: var(--primary-dark);
    cursor: default;
    font-size: 0.8125rem;
    letter-spacing: 0.3px;
}

/* -------------------- NOTIFY FORM -------------------- */
.notify-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.notify-form--center { justify-content: center; }
.notify-input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.9375rem;
    background: var(--bg-white);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.notify-input:focus { border-color: var(--primary-light); }
.notify-input::placeholder { color: var(--text-light); }
.notify-hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
}
.notify-success {
    font-size: 0.9375rem;
    color: var(--secondary-dark);
    font-weight: 500;
    margin-top: 12px;
    text-align: center;
}

/* -------------------- NAVBAR -------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo-icon { font-size: 28px; line-height: 1; }
.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.3px;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* Nav toggle (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 101;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* -------------------- HERO -------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-circle {
    position: absolute;
    border-radius: 50%;
}
.hero-circle--1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    opacity: 0.05;
    top: -120px;
    right: -100px;
}
.hero-circle--2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    opacity: 0.06;
    bottom: 40px;
    left: -80px;
}
.hero-circle--3 {
    width: 200px;
    height: 200px;
    background: var(--terracotta);
    opacity: 0.04;
    top: 40%;
    right: 20%;
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--accent);
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 36px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
    width: 280px;
    background: var(--bg-white);
    border-radius: 32px;
    padding: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}
.phone-screen {
    background: var(--bg);
    border-radius: 22px;
    padding: 20px 16px;
    min-height: 340px;
}
.mockup-header {
    margin-bottom: 20px;
}
.mockup-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}
.mockup-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}
.mockup-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.mockup-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.mockup-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
}
.mockup-breed {
    font-size: 0.75rem;
    color: var(--text-light);
}
.mockup-status {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--secondary-dark);
    background: rgba(138, 154, 91, 0.12);
    padding: 4px 10px;
    border-radius: 100px;
}
.mockup-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.mockup-action-btn {
    flex: 1;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* -------------------- SECTION COMMON -------------------- */
.section-heading {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
}
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.section-heading h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    padding: 0;
}
.section-heading p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

/* -------------------- FEATURES -------------------- */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.feature-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    padding: 0;
}
.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* -------------------- HOW IT WORKS -------------------- */
.how {
    padding: 100px 0;
}
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}
.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(166, 124, 82, 0.25);
}
.step h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    padding: 0;
}
.step p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.step-connector {
    width: 48px;
    height: 2px;
    background: var(--border);
    margin-top: 26px;
    flex-shrink: 0;
}

/* -------------------- FAMILY -------------------- */
.family {
    padding: 100px 0;
    background: var(--bg-white);
}
.family-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.family-text .section-tag { margin-bottom: 12px; }
.family-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    padding: 0;
}
.family-text p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
.family-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.family-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text);
}
.benefit-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(138, 154, 91, 0.12);
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Family visual */
.family-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.family-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}
.family-card:hover { transform: translateX(6px); }
.family-card strong { color: var(--text); }
.family-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.family-card--1 { transform: translateX(0); }
.family-card--2 { transform: translateX(20px); }
.family-card--3 { transform: translateX(8px); }
.family-card--1:hover { transform: translateX(6px); }
.family-card--2:hover { transform: translateX(26px); }
.family-card--3:hover { transform: translateX(14px); }

/* -------------------- CTA -------------------- */
.cta {
    padding: 100px 0;
}
.cta-inner {
    text-align: center;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 64px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.cta-badge {
    font-size: 40px;
    margin-bottom: 20px;
}
.cta-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 0;
}
.cta-inner p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* -------------------- FOOTER -------------------- */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-copy {
    font-size: 0.8125rem;
    color: var(--text-light);
}

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

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .family-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .family-card--2 { transform: translateX(0); }
    .family-card--3 { transform: translateX(0); }
    .family-card--2:hover { transform: translateX(6px); }
    .family-card--3:hover { transform: translateX(6px); }
}

@media (max-width: 700px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 260px;
        background: var(--bg);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.0625rem; }
    .nav-toggle { display: block; }
    .navbar .btn-sm { display: none; }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .notify-form { flex-direction: column; width: 100%; }
    .hero-visual { margin-top: 48px; }
    .phone-mockup { width: 260px; }

    .features { padding: 72px 0; }
    .features-grid { grid-template-columns: 1fr; }

    .how { padding: 72px 0; }
    .steps { flex-direction: column; gap: 32px; }
    .step-connector {
        width: 2px;
        height: 32px;
        margin: 0 auto;
    }

    .family { padding: 72px 0; }

    .cta { padding: 72px 0; }
    .cta-inner { padding: 48px 24px; }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
