/* =============================================
   ZAIRAH CREATIVES — Pages Stylesheet
   Responsive: Mobile-first, all inner pages
   ============================================= */

/* =============================================
   PAGE HEADER (Inner pages hero banner)
   ============================================= */
.page-header {
    position: relative;
    padding: clamp(100px, 18vw, 160px) 0 clamp(48px, 8vw, 80px);
    background: linear-gradient(145deg, #0a1a2e 0%, #1a3a5c 50%, #2c5f8d 100%);
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(74,159,212,.18) 0%, transparent 65%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    padding-inline: clamp(16px, 4vw, 32px);
}

.page-header-content h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    color: #fff;
    font-weight: 700;
    margin-bottom: .875rem;
    text-shadow: 0 2px 14px rgba(0,0,0,.28);
    line-height: 1.1;
}

.page-header-content p {
    font-size: clamp(.9rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,.78);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   ABOUT — MISSION & VISION
   ============================================= */
.mission-vision-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    box-shadow: 0 6px 30px rgba(26,58,92,.09);
    text-align: center;
    transition: all .3s ease;
    border: 1px solid rgba(74,159,212,.1);
    height: 100%;
}

.mission-vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26,58,92,.14);
}

.mv-icon {
    width: clamp(60px, 9vw, 80px);
    height: clamp(60px, 9vw, 80px);
    background: linear-gradient(135deg, #1a3a5c, #4a9fd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.mv-icon i { font-size: clamp(1.4rem, 2.5vw, 2rem); color: #fff; }

.mission-vision-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    color: #1a3a5c;
    margin-bottom: .875rem;
}

.mission-vision-card p {
    color: #6c757d;
    line-height: 1.8;
    font-size: clamp(.88rem, 1.2vw, .98rem);
}

/* =============================================
   ABOUT — VALUES GRID
   ============================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.value-card {
    background: #fff;
    border-radius: 12px;
    padding: clamp(1.25rem, 2.5vw, 1.875rem);
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    border-left: 4px solid #4a9fd4;
    transition: all .3s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,58,92,.12);
}

.value-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: rgba(74,159,212,.2);
    line-height: 1;
    margin-bottom: .4rem;
}

.value-card h3 {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: #1a3a5c;
    margin-bottom: .6rem;
}

.value-card p {
    color: #6c757d;
    font-size: clamp(.85rem, 1.1vw, .95rem);
    line-height: 1.7;
}

/* =============================================
   ABOUT — PROCESS STEPS
   ============================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(.75rem, 2vw, 1.5rem);
}

.process-step {
    text-align: center;
    padding: clamp(1rem, 2vw, 1.75rem) 1rem;
}

.process-icon {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid rgba(255,255,255,.28);
    transition: all .3s ease;
}

.process-step:hover .process-icon {
    background: rgba(255,255,255,.25);
    transform: scale(1.08);
}

.process-icon i { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: #fff; }

.process-step h3 {
    color: #fff;
    font-size: clamp(.95rem, 1.4vw, 1.15rem);
    margin-bottom: .5rem;
}

.process-step p {
    color: rgba(255,255,255,.72);
    font-size: clamp(.8rem, 1vw, .9rem);
    line-height: 1.7;
}

/* =============================================
   ABOUT — TEAM
   ============================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}

.team-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    text-align: center;
    box-shadow: 0 5px 24px rgba(0,0,0,.07);
    transition: all .3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 38px rgba(26,58,92,.14);
}

.team-avatar {
    width: clamp(70px, 10vw, 90px);
    height: clamp(70px, 10vw, 90px);
    background: linear-gradient(135deg, #1a3a5c, #4a9fd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}

.team-avatar i { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }

.team-card h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    color: #1a3a5c;
    margin-bottom: .25rem;
}

.team-role {
    color: #4a9fd4;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .875rem;
}

.team-card p {
    color: #6c757d;
    font-size: .875rem;
    line-height: 1.7;
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.portfolio-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0,0,0,.07);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26,58,92,.14);
}

.portfolio-item > img {
    width: 100%;
    height: clamp(180px, 22vw, 280px);
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
}

.portfolio-content {
    padding: clamp(1rem, 2vw, 1.5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, #1a3a5c, #2c5f8d);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: .7rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    align-self: flex-start;
}

.portfolio-content h3 {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: #1a3a5c;
    margin-bottom: .5rem;
}

.portfolio-content p {
    color: #6c757d;
    font-size: .875rem;
    line-height: 1.65;
    margin-bottom: .875rem;
    flex: 1;
}

.portfolio-placeholder {
    text-align: center;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, rgba(26,58,92,.03), rgba(74,159,212,.06));
    border-radius: 16px;
    border: 2px dashed rgba(74,159,212,.28);
}

.portfolio-placeholder h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #1a3a5c;
    margin: 1.25rem 0 .75rem;
}

.portfolio-placeholder p {
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    font-size: clamp(.875rem, 1.2vw, 1rem);
}

/* Centered single button inside placeholder */
.portfolio-placeholder .btn {
    margin: 0 auto;
    display: inline-flex;
}

/* =============================================
   PRICING PAGE
   ============================================= */
/* =============================================
   PRICING PAGE — quick-nav buttons
   ============================================= */
.pricing-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    /* prevent overflow on narrow screens */
    max-width: 100%;
    padding: 0 clamp(8px, 2vw, 0px);
}

.pricing-nav .btn {
    /* compact size — fits many buttons on one row */
    font-size: clamp(.75rem, 1.4vw, .85rem);
    padding: clamp(7px, 1.2vw, 9px) clamp(12px, 2vw, 18px);
    border-radius: 20px;
    min-height: 38px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Active pricing nav button */
.pricing-nav .btn.btn-nav-active,
.pricing-nav .btn.btn-nav-active:hover {
    background: linear-gradient(135deg, var(--primary, #1a3a5c), var(--accent, #2c5f8d));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(26,58,92,.22);
    transform: translateY(-1px);
}

.pricing-section { scroll-margin-top: 80px; }

.pricing-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pricing-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #1a3a5c;
    margin-bottom: .5rem;
}

.pricing-header h2 i { color: #4a9fd4; margin-right: .4rem; }

.pricing-header p {
    color: #6c757d;
    margin-bottom: .875rem;
    font-size: clamp(.88rem, 1.2vw, 1rem);
}

.price-note {
    display: inline-block;
    background: rgba(74,159,212,.08);
    border: 1px solid rgba(74,159,212,.2);
    border-radius: 8px;
    padding: .7rem 1.25rem;
    font-size: .875rem;
    color: #1a3a5c;
    line-height: 1.7;
    max-width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: start;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: 0 3px 18px rgba(0,0,0,.07);
    transition: all .3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(26,58,92,.14);
    border-color: rgba(74,159,212,.25);
}

.pricing-card.featured {
    border-color: #4a9fd4;
    position: relative;
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(74,159,212,.2);
}

.pricing-card.featured:hover { transform: scale(1.02) translateY(-5px); }

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a3a5c, #4a9fd4);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pricing-tier {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: .875rem;
}

.pricing-amount {
    margin-bottom: .7rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.pricing-amount > div {
    display: flex;
    align-items: baseline;
    gap: .15rem;
}

.currency { font-size: 1.1rem; font-weight: 700; color: #4a9fd4; }

.price-naira {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1;
}

.price-dollar {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    color: #6c757d;
}

.pricing-description {
    color: #6c757d;
    font-size: .875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #f0f4f8;
    font-style: italic;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.25rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: .5rem;
    font-size: clamp(.8rem, 1.1vw, .9rem);
    color: #495057;
    line-height: 1.5;
}

.pricing-features li i { color: #4a9fd4; margin-top: 3px; flex-shrink: 0; font-size: .85rem; }

/* Pricing card CTA button — full width, bottom-aligned */
.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    /* slightly compact so cards don't look bloated */
    font-size: clamp(.82rem, 1.3vw, .9rem);
    padding: clamp(9px, 1.5vw, 11px) clamp(16px, 2vw, 20px);
    min-height: 42px;
}

/* =============================================
   BLOG PAGE
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(0,0,0,.07);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(26,58,92,.14);
}

.blog-image {
    height: clamp(120px, 15vw, 170px);
    background: linear-gradient(135deg, #1a3a5c, #2c5f8d);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-image i { font-size: clamp(2rem, 4vw, 3rem); color: rgba(255,255,255,.45); }

.blog-content { padding: clamp(1rem, 2vw, 1.5rem); flex: 1; display: flex; flex-direction: column; }

.blog-meta { display: flex; gap: .875rem; margin-bottom: .65rem; flex-wrap: wrap; }

.blog-meta span {
    font-size: .78rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-meta span i { color: #4a9fd4; }

.blog-card h3 { font-size: clamp(.98rem, 1.4vw, 1.12rem); color: #1a3a5c; margin-bottom: .65rem; line-height: 1.4; }

.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: #4a9fd4; }

.blog-excerpt {
    color: #6c757d;
    font-size: clamp(.82rem, 1.1vw, .9rem);
    line-height: 1.7;
    margin-bottom: .875rem;
    flex: 1;
}

/* =============================================
   TESTIMONIALS PAGE
   ============================================= */
.testimonials-empty {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(26,58,92,.04), rgba(74,159,212,.06));
    border-radius: 20px;
    margin-bottom: clamp(2rem, 4vw, 4rem);
}

.testimonials-empty-icon {
    width: clamp(70px, 12vw, 100px);
    height: clamp(70px, 12vw, 100px);
    background: linear-gradient(135deg, #1a3a5c, #4a9fd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    animation: sparkle 3s ease infinite;
}

@keyframes sparkle {
    0%,100% { transform: scale(1); box-shadow: 0 0 18px rgba(74,159,212,.3); }
    50% { transform: scale(1.06); box-shadow: 0 0 36px rgba(74,159,212,.5); }
}

.testimonials-empty-icon i { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: #fff; }

.testimonials-empty h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: #1a3a5c;
    margin-bottom: .875rem;
}

.testimonials-empty p {
    color: #6c757d;
    max-width: 580px;
    margin: 0 auto .875rem;
    line-height: 1.8;
    font-size: clamp(.875rem, 1.2vw, 1.05rem);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
    margin-top: clamp(1.5rem, 3vw, 3rem);
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: 0 5px 24px rgba(0,0,0,.07);
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(26,58,92,.12);
}

.testimonial-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3.5rem, 7vw, 5rem);
    color: rgba(74,159,212,.2);
    line-height: .7;
    margin-bottom: .4rem;
}

.testimonial-text {
    color: #495057;
    font-size: clamp(.875rem, 1.1vw, .95rem);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.25rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding-top: .875rem;
    border-top: 1px solid #f0f4f8;
}

.testimonial-avatar {
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    background: linear-gradient(135deg, #1a3a5c, #4a9fd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #fff; }

.testimonial-info h4 { font-size: .95rem; color: #1a3a5c; margin-bottom: .15rem; }

.testimonial-role { font-size: .78rem; color: #6c757d; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #1a3a5c;
    margin-bottom: .875rem;
}

.contact-info > p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    font-size: clamp(.875rem, 1.2vw, 1rem);
}

.contact-methods { display: flex; flex-direction: column; gap: 1.1rem; }

.contact-method {
    display: flex;
    gap: .875rem;
    align-items: flex-start;
    padding: 1.1rem;
    background: #f4f7fb;
    border-radius: 12px;
    transition: all .3s ease;
}

.contact-method:hover { background: rgba(74,159,212,.08); transform: translateX(4px); }

.contact-method-icon {
    width: clamp(44px, 6vw, 52px);
    height: clamp(44px, 6vw, 52px);
    background: linear-gradient(135deg, #1a3a5c, #4a9fd4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon i { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #fff; }

.contact-method-content h3 {
    font-size: clamp(.95rem, 1.3vw, 1.05rem);
    color: #1a3a5c;
    margin-bottom: .2rem;
}

.contact-method-content p {
    color: #6c757d;
    font-size: clamp(.8rem, 1vw, .9rem);
    margin-bottom: .25rem;
    line-height: 1.6;
}

.contact-method-content a {
    color: #4a9fd4;
    font-weight: 600;
    font-size: clamp(.875rem, 1.1vw, .95rem);
}

.contact-method-content a:hover { color: #1a3a5c; }

/* Contact form */
.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 10px 40px rgba(26,58,92,.1);
}

.contact-form h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #1a3a5c;
    margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(.875rem, 1.1vw, .95rem);
    color: #1a1a2e;
    background: #fafbfc;
    transition: border-color .25s, box-shadow .25s, background .25s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4a9fd4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74,159,212,.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a9fd4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 38px;
}

/* Contact form submit button */
.form-submit {
    width: 100%;
    justify-content: center;
    padding: clamp(12px, 2vw, 14px) clamp(20px, 3vw, 28px);
    font-size: clamp(.9rem, 1.5vw, 1rem);
    margin-top: .375rem;
    min-height: 50px;
    /* no white-space override needed — single line always */
}

.form-success {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: .875rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: .9rem;
    line-height: 1.5;
}

.form-error {
    display: none;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: .875rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: .9rem;
    line-height: 1.5;
}

.form-success.show, .form-error.show { display: block; }

/* =============================================
   ===  RESPONSIVE BREAKPOINTS — PAGES  ===
   ============================================= */

/* ── Tablet landscape (1024-1199px) ── */
@media (max-width: 1199px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet portrait (768-1023px) ── */
@media (max-width: 1023px) {
    .contact-content { grid-template-columns: 1fr; gap: 2rem; }

    .pricing-grid { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }

    .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile landscape (600-767px) ── */
@media (max-width: 767px) {
    .page-header { padding: clamp(90px, 16vw, 130px) 0 clamp(36px, 6vw, 60px); }

    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-5px); }

    .team-grid { max-width: 380px; margin-inline: auto; grid-template-columns: 1fr; }

    .contact-method { padding: .875rem; }
}

/* ── Small phones (320-599px) ── */
@media (max-width: 599px) {
    .blog-grid,
    .portfolio-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

    .process-grid { grid-template-columns: 1fr; }

    .values-grid { grid-template-columns: 1fr; }

    .pricing-nav { gap: .4rem; }
    .pricing-nav .btn {
        font-size: clamp(.7rem, 2.8vw, .78rem);
        padding: 6px 11px;
        min-height: 34px;
    }

    .pricing-grid { grid-template-columns: 1fr; }

    /* Stack CTA buttons on mobile */
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: min(300px, 88vw); }

    .contact-method { flex-direction: row; gap: .75rem; }

    .contact-form { padding: 1.25rem; border-radius: 16px; }

    .testimonials-empty { padding: 2rem 1rem; }

    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 16px; /* Prevent iOS zoom */ }

    .portfolio-item > img { height: clamp(160px, 45vw, 220px); }
}

/* ── Ultra-narrow (below 360px) ── */
@media (max-width: 359px) {
    .page-header-content h1 { font-size: 1.75rem; }
    .page-header-content p { font-size: .85rem; }
    .pricing-tier { font-size: 1.1rem; }
    .price-naira { font-size: 1.5rem; }

    /* Pricing nav wraps to 2 columns on tiny screens */
    .pricing-nav { gap: .35rem; }
    .pricing-nav .btn {
        font-size: .68rem;
        padding: 5px 9px;
        min-height: 32px;
    }

    /* Full-width CTA buttons */
    .cta-buttons .btn { width: 100%; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .testimonials-empty-icon { animation: none; }
    .portfolio-item:hover,
    .service-card:hover,
    .pricing-card:hover,
    .blog-card:hover,
    .team-card:hover,
    .mission-vision-card:hover,
    .value-card:hover { transform: none; }
}
