/* ═══════════════════════════════════════════════════════════
   CBX Pet Premium — Main Stylesheet
   Mobile-first, clean, medical-professional + warm
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Variables ───────────────────────────────────── */
:root {
    --teal: #0d9488;
    --teal-dark: #0a7a70;
    --teal-light: #ccfbf1;
    --navy: #1a365d;
    --navy-dark: #0f2440;
    --white: #ffffff;
    --light: #f8fafb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --warm: #f59e0b;
    --warm-light: #fef3c7;
    --green: #10b981;
    --red: #ef4444;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--teal);
    border: 2px solid var(--teal);
}
.btn-secondary:hover {
    background: var(--teal);
    color: var(--white);
}

.btn-warm {
    background: var(--warm);
    color: var(--white);
}
.btn-warm:hover {
    background: #d97706;
    color: var(--white);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 500;
    letter-spacing: 0.5px;
}
.logo-text strong { font-weight: 800; }

.main-nav { display: none; }

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

.nav-list li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-list li a:hover,
.nav-list li.current-menu-item a,
.nav-list li.current_page_item a {
    color: var(--teal);
    background: var(--teal-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: none;
    align-items: center;
    gap: 0.375rem;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9375rem;
}
.header-phone:hover { color: var(--teal); }

.header-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.main-nav.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 1.5rem;
    animation: slideDown 0.3s ease;
}

.main-nav.open .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.main-nav.open .nav-list li a {
    padding: 1rem;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--gray-100);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--teal-dark) 100%);
    color: var(--white);
    padding: 4rem 0 5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: normal;
    color: var(--warm);
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-phone {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-phone:hover { color: var(--white); }

/* ── Trust Strip ─────────────────────────────────────────── */
.trust-strip {
    background: var(--white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 3;
    margin-top: -2rem;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
}

.trust-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-light);
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--teal);
}

.trust-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--navy);
    line-height: 1.3;
}

/* ── Section Styling ─────────────────────────────────────── */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header .label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.0625rem;
}

/* ── How It Works ────────────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    counter-reset: step;
}

.step-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    counter-increment: step;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ── Services Grid ───────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    margin: 0 auto 1.25rem;
    color: var(--teal);
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.service-card .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ── Cost Comparison ─────────────────────────────────────── */
.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.comparison-table thead th {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9375rem;
}

.comparison-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover { background: var(--gray-50); }

.price-us {
    color: var(--red);
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-tj {
    color: var(--green);
    font-weight: 700;
    font-size: 1.0625rem;
}

.savings-badge {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    position: relative;
}

.testimonial-stars {
    color: var(--warm);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--navy);
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--white);
    transition: border-color var(--transition);
}

.faq-item.active { border-color: var(--teal); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    gap: 1rem;
}

.faq-question:hover { color: var(--teal); }

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    max-width: 540px;
    margin: 0 auto 2rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cta-actions .btn-warm { padding: 1rem 2.5rem; font-size: 1.125rem; }

.cta-phone {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cta-phone:hover { color: var(--warm-light); }

/* ── AEO Answer Block ────────────────────────────────────── */
.aeo-answer {
    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.aeo-answer strong {
    color: var(--navy);
}

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumbs {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}
.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: var(--white); }

/* ── Content Area ────────────────────────────────────────── */
.content-area {
    padding: 3rem 0;
}

.content-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.content-wrap h2 {
    color: var(--teal);
    margin: 2rem 0 1rem;
}

.content-wrap h3 {
    color: var(--teal-dark);
    margin: 1.75rem 0 0.75rem;
}

.content-wrap ul, .content-wrap ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.content-wrap li { margin-bottom: 0.5rem; }

.content-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.content-wrap table th,
.content-wrap table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.content-wrap table th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.content-wrap table tr:nth-child(even) { background: var(--gray-50); }

.content-wrap img {
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.content-wrap blockquote {
    border-left: 4px solid var(--teal);
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--gray-600);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Blog / Archive ──────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--teal-light);
}

.post-card-body {
    padding: 1.5rem;
}

.post-card-meta {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

.post-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--teal); }

.post-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* ── Single Post ─────────────────────────────────────────── */
.single-post-header {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.single-post-header h1 {
    color: var(--white);
    max-width: 780px;
    margin: 0 auto;
}

.post-meta-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.single-content {
    padding: 3rem 0;
}

.single-content .content-wrap { max-width: 780px; margin: 0 auto; }

/* Post navigation */
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
    margin-top: 3rem;
}

.post-nav a {
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ── 404 ─────────────────────────────────────────────────── */
.error-404 {
    text-align: center;
    padding: 6rem 0;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-logo:hover { color: var(--white); }

.footer-disclaimer {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
    margin-bottom: 0.625rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--teal); }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.footer-contact svg { flex-shrink: 0; stroke: var(--teal); }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8125rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--teal); }

/* ── Mobile CTA Bar ──────────────────────────────────────── */
.mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--navy);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

.mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    text-align: center;
}

.mobile-cta-phone { background: var(--navy); }
.mobile-cta-estimate { background: var(--teal); }

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: all var(--transition);
}

.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ── WordPress Defaults ──────────────────────────────────── */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--radius-sm); }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption-text { font-size: 0.8125rem; color: var(--gray-400); text-align: center; margin-top: 0.5rem; }

/* Contact Form 7 */
.wpcf7-form { max-width: 600px; }
.wpcf7-form label { display: block; margin-bottom: 1rem; font-weight: 500; color: var(--navy); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color var(--transition);
    margin-top: 0.375rem;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
    background: var(--teal);
    color: var(--white);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}
.wpcf7-form .wpcf7-submit:hover { background: var(--teal-dark); }

/* ── Responsive ──────────────────────────────────────────── */
@media (min-width: 640px) {
    .trust-items { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: row; justify-content: center; }
    .cta-actions { flex-direction: row; justify-content: center; }
}

@media (min-width: 768px) {
    .section { padding: 5rem 0; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.25fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
    .main-nav { display: flex; }
    .mobile-toggle { display: none; }
    .header-phone { display: flex; }
    .mobile-cta-bar { display: none; }
    .trust-items { grid-template-columns: repeat(5, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    .hero { padding: 6rem 0 7rem; }
    .hero-content { text-align: left; margin: 0; }
    body { padding-bottom: 0; }
}

@media (max-width: 1023px) {
    body { padding-bottom: 60px; }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
    .site-header, .site-footer, .mobile-cta-bar, .cta-section { display: none; }
    body { font-size: 12pt; color: #000; }
}
