/* page-styles.css — shared styles for the 20 service / product pages */

.page-main {
    background: var(--off-white);
}

/* ----- Main Nav with Dropdowns ----- */
.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list > li {
    position: relative;
}

.nav-trigger,
.nav-list .nav-item {
    background: transparent;
    border: none;
    font: inherit;
    color: var(--charcoal);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-trigger:hover,
.nav-list .nav-item:hover,
.nav-dropdown:focus-within .nav-trigger {
    background: rgba(137, 207, 240, 0.18);
    color: var(--baby-blue-dark);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border: 1px solid var(--silver);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    margin: 0.4rem 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1100;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu,
.nav-dropdown.open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(137, 207, 240, 0.2);
    color: var(--baby-blue-dark);
}

.nav-menu a.active {
    font-weight: 700;
}

/* Mobile: collapse dropdowns into inline tap menus */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        background: transparent;
        display: none;
        min-width: 0;
    }
    .nav-dropdown.open .nav-menu {
        display: block;
        margin-left: 1rem;
    }
}


.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ----- Hero ----- */
.page-hero {
    background: linear-gradient(135deg, rgba(137, 207, 240, 0.18) 0%, rgba(250, 249, 246, 0.95) 100%);
    padding: 3.5rem 1.5rem;
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.page-eyebrow {
    display: inline-block;
    background: var(--baby-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-size: 2.3rem;
    line-height: 1.18;
    color: var(--charcoal);
    margin-bottom: 1.25rem;
}

.short-desc p {
    color: #444;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.page-hero .hero-cta {
    margin-top: 1.5rem;
    justify-content: flex-start;
}

@media (max-width: 880px) {
    .page-hero-inner {
        grid-template-columns: 1fr;
    }
    .page-hero h1 {
        font-size: 1.85rem;
    }
}

/* ----- Pricing Section ----- */
.pricing-section {
    background: white;
    padding: 3.5rem 0;
}

.pricing-section h2 {
    font-size: 1.9rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.pricing-intro {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pricing-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 2px solid var(--silver);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.97rem;
    min-width: 640px;
}

.pricing-table thead {
    background: var(--baby-blue);
    color: white;
}

.pricing-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.pricing-table tbody tr {
    border-top: 1px solid #eee;
}

.pricing-table tbody tr:nth-child(odd) {
    background: var(--off-white);
}

.pricing-table td {
    padding: 0.85rem 1rem;
    color: var(--charcoal);
    vertical-align: top;
}

.price-low,
.price-high {
    font-weight: 700;
    color: var(--baby-blue-dark);
    white-space: nowrap;
}

.price-notes {
    color: #777;
    font-size: 0.9rem;
}

.pricing-disclaimer {
    margin-top: 1rem;
    color: #777;
    font-size: 0.88rem;
    line-height: 1.6;
}

.pricing-disclaimer a {
    color: var(--baby-blue-dark);
    text-decoration: underline;
}

/* ----- Long Form Content ----- */
.long-form {
    background: var(--off-white);
    padding: 3.5rem 0;
}

.long-form h2 {
    font-size: 1.9rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.long-form h3 {
    font-size: 1.2rem;
    color: var(--baby-blue-dark);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.long-form p {
    color: #444;
    line-height: 1.8;
}

/* ----- Image Gallery ----- */
.image-gallery {
    background: white;
    padding: 3.5rem 0;
}

.image-gallery h2 {
    font-size: 1.9rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.figure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.page-figure {
    margin: 0;
    background: var(--off-white);
    border: 2px solid var(--silver);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(137, 207, 240, 0.3);
    border-color: var(--baby-blue);
}

.page-figure img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.page-figure figcaption {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.5;
}

/* ----- Related Section ----- */
.related-section {
    background: linear-gradient(135deg, rgba(137, 207, 240, 0.12) 0%, rgba(250, 249, 246, 1) 100%);
    padding: 3.5rem 0;
}

.related-section h2 {
    font-size: 1.9rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.related-section > .section-inner > p {
    color: #555;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid var(--silver);
    border-radius: 10px;
    color: var(--charcoal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card strong {
    color: var(--baby-blue-dark);
    font-size: 1rem;
}

.related-card span {
    color: #777;
    font-size: 0.85rem;
}

.related-card:hover {
    border-color: var(--baby-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(137, 207, 240, 0.25);
}

/* ----- FAQ Section ----- */
.faq-section {
    background: white;
    padding: 3.5rem 0;
}

.faq-section h2 {
    font-size: 1.9rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.faq-item {
    background: var(--off-white);
    border: 2px solid var(--silver);
    border-radius: 10px;
    margin-bottom: 0.85rem;
    padding: 0.25rem 1.25rem;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--baby-blue);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--baby-blue-dark);
    font-weight: 700;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
    display: inline;
}

.faq-item p {
    padding-bottom: 1rem;
    color: #555;
    line-height: 1.75;
}

/* ----- Quote CTA ----- */
.quote-cta {
    background: linear-gradient(135deg, #6AB5D6 0%, #89CFF0 100%);
    color: white;
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
}

.quote-cta h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    color: white;
}

.quote-cta p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-actions .cta-primary {
    background: white;
    color: var(--baby-blue-dark);
    border-color: white;
}

.cta-actions .cta-primary:hover {
    background: var(--off-white);
}

.cta-actions .cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-actions .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ----- Mobile tweaks ----- */
@media (max-width: 600px) {
    .pricing-section,
    .long-form,
    .image-gallery,
    .related-section,
    .faq-section,
    .quote-cta {
        padding: 2.5rem 0;
    }
    .pricing-section h2,
    .long-form h2,
    .image-gallery h2,
    .related-section h2,
    .faq-section h2,
    .quote-cta h2 {
        font-size: 1.55rem;
    }
}
