/* ============================================
   PET LOVE BLOG - CSS PÁGINA DE POLÍTICAS
   ============================================ */

/* Page Hero */
.page-hero {
    background: var(--gradient);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

/* Policy Content Layout */
.policy-content {
    padding: 80px 0;
    background: var(--bg);
}

.policy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
}

/* Sidebar */
.policy-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.policy-nav {
    background: var(--bg-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

.policy-nav h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.policy-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.policy-nav a {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    border-radius: 6px;
    transition: var(--transition);
}

.policy-nav a:hover,
.policy-nav a.active {
    color: var(--primary);
    background: var(--bg-cream);
    font-weight: 600;
}

/* Article */
.policy-article {
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

.last-updated {
    padding: 12px 20px;
    background: var(--bg-cream);
    border-radius: var(--radius);
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-left: 3px solid var(--primary);
}

.policy-article section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.policy-article section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.policy-article h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    padding-left: 16px;
}

.policy-article h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.policy-article h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 12px;
    margin-top: 24px;
}

.policy-article p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.policy-article ul {
    margin: 16px 0;
    padding-left: 0;
}

.policy-article ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.policy-article ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.policy-article strong {
    color: var(--text);
}

.policy-article a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.policy-article a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Policy Table */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.policy-table thead {
    background: var(--gradient);
    color: white;
}

.policy-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
}

.policy-table td {
    padding: 14px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.policy-table tbody tr {
    background: var(--bg);
    transition: var(--transition);
}

.policy-table tbody tr:hover {
    background: var(--bg-cream);
}

.policy-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.policy-table tbody tr:nth-child(even):hover {
    background: var(--bg-cream);
}

/* Contact Info Box */
.contact-info-box {
    background: var(--bg-cream);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 20px 0;
}

.contact-info-box p {
    margin-bottom: 8px;
    color: var(--text);
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .policy-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-sidebar {
        position: static;
    }

    .policy-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .policy-content {
        padding: 40px 0;
    }

    .policy-article {
        padding: 28px 20px;
    }

    .policy-article h2 {
        font-size: 1.3rem;
    }

    .policy-table {
        font-size: 0.85rem;
    }

    .policy-table th,
    .policy-table td {
        padding: 10px 12px;
    }

    .policy-article section {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .policy-table {
        display: block;
        overflow-x: auto;
    }
}
