/* ==========================================================================
   FLYSURFER CZ — Pages CSS (non-product, non-frontpage)
   2026 fullwidth design — teal #003d4c + orange #dc4405
   ========================================================================== */

/* Variables inherited from style.css — no redefinition needed */

/* ==========================================================================
   1. BASE — full-width layout on pages
   ========================================================================== */
.fs-page,
article.fs-page {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--fs-text);
    line-height: 1.7;
}
.fs-page img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   2. FULLWIDTH BREAKOUT — proven 50% / -50vw technique
   ========================================================================== */
.page-hero-overlay,
.page-photo-grid,
.page-section--wide,
.page-section--grey,
.page-cta-banner,
.page-accent-img {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}
/* page-split — no fullwidth breakout needed, grid handles centering */

/* ==========================================================================
   3. HERO — unified style (matches product page pdp-hero)
   ========================================================================== */
.page-hero-overlay {
    height: 55vh;
    min-height: 400px;
    max-height: 600px;
    overflow: visible;
    margin-bottom: 60px;
}
.page-hero-overlay img {
    width: 100%;
    height: 55vh;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    display: block;
}
.page-hero-overlay__text {
    position: absolute;
    bottom: 0;
    left: 5%;
    transform: translateY(40%);
    z-index: 2;
}
.page-hero-overlay__text h1,
.page-hero-overlay__text .page-hero-title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.85;
    text-shadow: 0 4px 40px rgba(0,0,0,0.4);
    margin: 0;
}
.page-hero-overlay__text p,
.page-hero-overlay__text .page-hero-subtitle {
    display: block;
    color: #003d4c;
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* ==========================================================================
   4. TEXT SECTIONS
   ========================================================================== */
.page-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
/* Page label — small orange tag above headings (mirrors .hp-label on homepage) */
.page-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--fs-orange);
    margin-bottom: 8px;
}
/* Centered variant — when parent has text-align:center */
[style*="text-align:center"] .page-label,
[style*="text-align: center"] .page-label,
.page-section[style*="text-align:center"] .page-label,
.page-section[style*="text-align: center"] .page-label,
.page-prices .page-label,
.page-cta-banner .page-label {
    text-align: center;
}
/* Teal/wide section variant — keep orange on dark backgrounds */
.page-section--wide .page-label,
.page-split--teal .page-label {
    color: var(--fs-orange);
}

.page-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--fs-teal);
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.page-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--fs-orange);
    margin-top: 12px;
    border-radius: 2px;
}
/* Center the orange line when section is text-center */
.page-section[style*="text-align:center"] h2::after,
.page-section[style*="text-align: center"] h2::after {
    margin-left: auto;
    margin-right: auto;
}
.page-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fs-teal);
    margin-top: 36px;
    margin-bottom: 12px;
}
.page-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}
.page-section ul,
.page-section ol {
    padding-left: 24px;
    margin-bottom: 18px;
}
.page-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.page-section a {
    color: var(--fs-orange);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--fs-transition);
}
.page-section a:hover {
    border-bottom-color: var(--fs-orange);
}

/* ==========================================================================
   5. WIDE / GREY / TEAL SECTIONS
   ========================================================================== */
.page-section--wide {
    background: var(--fs-teal);
    color: #fff;
    padding: 70px 24px;
}
.page-section--wide .page-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.page-section--wide h2 {
    color: #fff;
}
.page-section--wide h2::after {
    background: var(--fs-orange);
}
.page-section--wide p {
    color: rgba(255, 255, 255, 0.9);
}
.page-section--wide a {
    color: var(--fs-orange);
}

.page-section--grey {
    background: var(--fs-off-white);
    padding: 70px 24px;
}
.page-section--grey .page-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.page-section--grey h2,
.page-section--grey .page-section__inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--fs-teal);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
/* Features grid nested inside grey/wide sections — remove extra spacing */
.page-section--grey .page-features-grid,
.page-section--wide .page-features-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 0;
    left: auto;
    position: static;
}

/* ==========================================================================
   6. SPLIT SECTIONS (50/50 photo + text)
   ========================================================================== */
.page-split,
.page-split--reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    background: #fff;
    max-width: 1340px;
    margin: 30px auto;
}
.page-split--reverse .page-split__img {
    order: 2;
}
.page-split--reverse .page-split__text {
    order: 1;
}
.page-split__img {
    overflow: hidden;
    position: relative;
    background: #f5f7f8;
}
.page-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.page-split:hover .page-split__img img,
.page-split--reverse:hover .page-split__img img {
    transform: scale(1.04);
}
.page-split__text {
    padding: 55px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #f8fafb 100%);
}
.page-split__text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--fs-teal);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.page-split__text h2::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background: var(--fs-orange);
    margin-top: 12px;
    border-radius: 2px;
}
.page-split__text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}
.page-split__text ul {
    padding-left: 20px;
    margin-bottom: 18px;
}
.page-split__text li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: #555;
}
.page-split__text li strong {
    color: var(--fs-teal);
}

/* Teal background variant */
.page-split--teal {
    box-shadow: 0 8px 40px rgba(0,61,76,0.15), 0 1px 3px rgba(0,0,0,0.04);
}
.page-split--teal .page-split__text {
    background: linear-gradient(135deg, var(--fs-teal) 0%, #004d5e 100%);
    color: #fff;
}
.page-split--teal .page-split__text h2 {
    color: #fff;
}
.page-split--teal .page-split__text h2::after {
    background: var(--fs-orange);
}
.page-split--teal .page-split__text p {
    color: rgba(255, 255, 255, 0.88);
}
.page-split--teal .page-split__text li {
    color: rgba(255, 255, 255, 0.88);
}
.page-split--teal .page-split__text li strong {
    color: #fff;
}

/* ==========================================================================
   7. PHOTO GRID
   ========================================================================== */
.page-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: var(--fs-teal-dark);
}
.page-photo-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform var(--fs-transition), filter var(--fs-transition);
}
.page-photo-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    z-index: 1;
    position: relative;
}

/* 3-column variant */
.page-photo-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.page-photo-grid--3 img {
    aspect-ratio: 16 / 10;
}

/* ==========================================================================
   7b. TWO-COLUMN LAYOUT (inside sections)
   ========================================================================== */
.page-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.page-two-col__item h2::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background: var(--fs-orange);
    margin-top: 10px;
    border-radius: 2px;
}
@media (max-width: 768px) {
    .page-two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Three columns */
.page-three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.page-three-col__item h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    color: var(--fs-teal);
    margin-bottom: 16px;
}
.page-three-col__item h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--fs-orange);
    margin-top: 8px;
    border-radius: 2px;
}
.page-three-col__item p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #555;
}
.page-three-col__item ul li {
    font-size: 0.92rem;
    color: #555;
}
@media (max-width: 900px) {
    .page-three-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   8. ACCENT IMAGES (fullwidth panoramas)
   ========================================================================== */
.page-accent-img {
    overflow: hidden;
    line-height: 0;
    height: 450px;
}
.page-accent-img img {
    width: 100%;
    height: 180%;
    object-fit: cover;
    display: block;
    position: relative;
    top: -40%;
    will-change: transform;
}

/* ==========================================================================
   9. CTA BANNER
   ========================================================================== */
.page-cta-banner {
    background: var(--fs-off-white);
    padding: 80px 24px;
    text-align: center;
}
.page-cta-banner h2 {
    color: var(--fs-teal);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}
.page-cta-banner h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--fs-orange);
    margin: 14px auto 0;
    border-radius: 2px;
}
.page-cta-banner p {
    color: #666;
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.page-cta-banner .page-btn,
.page-cta-banner a.page-btn {
    display: inline-block;
    background: var(--fs-teal);
    color: #fff;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s;
}
.page-cta-banner .page-btn:hover,
.page-cta-banner a.page-btn:hover {
    background: var(--fs-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220,68,5,0.25);
}
/* Secondary links under CTA button */
.page-cta-banner p:last-child a {
    color: var(--fs-teal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-cta-banner p:last-child a:hover {
    color: var(--fs-orange);
}

/* ==========================================================================
   10. BUTTONS (general)
   ========================================================================== */
.page-btn,
.fs-page .btn {
    display: inline-block;
    background: var(--fs-orange);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform var(--fs-transition), box-shadow var(--fs-transition), background var(--fs-transition);
}
.page-btn:hover,
.fs-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 68, 5, 0.3);
    background: #c93d04;
    color: #fff;
}
.page-btn--outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.page-btn--outline:hover {
    background: #fff;
    color: var(--fs-teal);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   11. FAQ ACCORDION (details/summary)
   ========================================================================== */
.page-faq {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 24px;
}
.page-faq h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--fs-teal);
    margin-bottom: 20px;
}
.page-faq h2::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background: var(--fs-orange);
    margin-top: 10px;
    border-radius: 2px;
}
/* Card-style accordion (matches homepage FAQ) */
.page-faq details {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.page-faq details:hover {
    border-color: var(--fs-teal);
}
.page-faq details[open] {
    border-color: var(--fs-teal);
    box-shadow: 0 4px 18px rgba(0,61,76,0.08);
}
.page-faq summary {
    padding: 18px 50px 18px 24px;
    font-weight: 700;
    font-size: 15px;
    color: var(--fs-teal);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.2s;
}
.page-faq summary::-webkit-details-marker {
    display: none;
}
.page-faq summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--fs-orange);
    transition: transform 0.3s;
}
.page-faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.page-faq details[open] summary {
    color: var(--fs-orange);
}
.page-faq details p,
.page-faq details div {
    padding: 0 24px 18px;
    color: #555;
    line-height: 1.7;
    font-size: 14px;
    margin: 0;
}
.page-faq details a {
    color: var(--fs-orange);
}

/* ==========================================================================
   12. PRICE CARDS
   ========================================================================== */
.page-prices {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}
.page-prices h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--fs-teal);
    text-align: center;
    margin-bottom: 40px;
}
.page-prices h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--fs-orange);
    margin: 12px auto 0;
    border-radius: 2px;
}
.page-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.page-price-card {
    background: #fff;
    border-radius: var(--fs-radius);
    overflow: hidden;
    box-shadow: var(--fs-shadow);
    transition: transform var(--fs-transition), box-shadow var(--fs-transition);
}
.page-price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fs-shadow-lg);
}
.page-price-card__header {
    background: var(--fs-teal);
    color: #fff;
    padding: 24px;
    text-align: center;
}
.page-price-card__header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.page-price-card__header .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fs-orange);
}
.page-price-card__body {
    padding: 24px;
}
.page-price-card__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.page-price-card__body li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}
.page-price-card__body li:last-child {
    border-bottom: none;
}
.page-price-card__body li::before {
    content: '\2713';
    color: var(--fs-orange);
    font-weight: 700;
    margin-right: 10px;
}

/* Highlighted card */
.page-price-card--featured {
    border: 2px solid var(--fs-orange);
    transform: scale(1.03);
}
.page-price-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}
.page-price-card--featured .page-price-card__header {
    background: var(--fs-orange);
}
.page-price-card--featured .page-price-card__header .price {
    color: var(--fs-teal);
}

/* ==========================================================================
   13. CONTACT CARDS
   ========================================================================== */
.page-contacts {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}
.page-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.page-contact-card {
    background: #fff;
    border-radius: var(--fs-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--fs-shadow);
    transition: transform var(--fs-transition), box-shadow var(--fs-transition);
}
.page-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fs-shadow-lg);
}
.page-contact-card__icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: var(--fs-teal);
}
.page-contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fs-teal);
    margin-bottom: 12px;
}
.page-contact-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
}
.page-contact-card a {
    color: var(--fs-orange);
    text-decoration: none;
    font-weight: 600;
}
.page-contact-card a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   14. SERVICE STEPS (numbered list)
   ========================================================================== */
.page-steps {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
    counter-reset: step-counter;
}
.page-steps h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--fs-teal);
    margin-bottom: 36px;
}
.page-steps h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--fs-orange);
    margin-top: 12px;
    border-radius: 2px;
}
.page-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    counter-increment: step-counter;
}
.page-step::before {
    content: counter(step-counter);
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fs-teal);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
}
.page-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fs-teal);
    margin-bottom: 6px;
}
.page-step p {
    color: #555;
    line-height: 1.7;
}

/* ==========================================================================
   15. DOWNLOAD LISTS
   ========================================================================== */
.page-downloads {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.page-downloads h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--fs-teal);
    margin-bottom: 32px;
}
.page-download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.page-download-list li {
    margin-bottom: 12px;
}
.page-download-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--fs-off-white);
    border-radius: var(--fs-radius);
    text-decoration: none;
    color: var(--fs-teal);
    font-weight: 600;
    transition: background var(--fs-transition), transform var(--fs-transition), box-shadow var(--fs-transition);
}
.page-download-list a::before {
    content: '\1F4C4';
    font-size: 1.4rem;
    flex-shrink: 0;
}
.page-download-list a:hover {
    background: #e8f4f7;
    transform: translateX(4px);
    box-shadow: var(--fs-shadow);
}
.page-download-list .file-size {
    margin-left: auto;
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
}

/* ==========================================================================
   16. FEATURES / ICON GRID
   ========================================================================== */
.page-features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 0;
}
.page-feature-card {
    text-align: center;
    padding: 28px 14px;
    background: #fff;
    border-radius: var(--fs-radius);
    box-shadow: var(--fs-shadow);
    transition: transform var(--fs-transition), box-shadow var(--fs-transition);
    flex: 0 1 170px;
    min-width: 150px;
}
.page-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fs-shadow-lg);
}
.page-feature-card__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.page-feature-card h3 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--fs-teal);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.page-feature-card p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   17. TESTIMONIALS
   ========================================================================== */
.page-testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
}
.page-testimonial blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    margin: 0 0 20px;
    position: relative;
    padding-top: 40px;
}
.page-testimonial blockquote::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--fs-orange);
    line-height: 1;
    font-family: Georgia, serif;
}
.page-testimonial cite {
    font-style: normal;
    font-weight: 700;
    color: var(--fs-teal);
}

/* ==========================================================================
   18. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
/* Scroll reveal — show immediately, animate via CSS animation */
[data-reveal] {
    animation: fadeReveal 0.6s ease both;
}

@keyframes fadeReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

/* Stagger children */
[data-reveal-stagger] > *:nth-child(1) { animation-delay: 0.05s; }
[data-reveal-stagger] > *:nth-child(2) { animation-delay: 0.1s; }
[data-reveal-stagger] > *:nth-child(3) { animation-delay: 0.15s; }
[data-reveal-stagger] > *:nth-child(4) { animation-delay: 0.2s; }
[data-reveal-stagger] > *:nth-child(5) { animation-delay: 0.25s; }
[data-reveal-stagger] > *:nth-child(6) { animation-delay: 0.3s; }

/* (old stagger CSS removed — now handled via animation-delay above) */

/* ==========================================================================
   19. MAP EMBED
   ========================================================================== */
.page-map {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
}
.page-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    filter: grayscale(0.3);
    transition: filter var(--fs-transition);
}
.page-map iframe:hover {
    filter: grayscale(0);
}

/* ==========================================================================
   20. TABLE STYLES
   ========================================================================== */
.fs-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--fs-radius);
    overflow: hidden;
    box-shadow: var(--fs-shadow);
}
.fs-page table thead th {
    background: var(--fs-teal);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
}
.fs-page table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #444;
}
.fs-page table tbody tr:last-child td {
    border-bottom: none;
}
.fs-page table tbody tr:hover {
    background: #f8fafb;
}

/* ==========================================================================
   21. RESPONSIVE — TABLET (max 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .page-split,
    .page-split--reverse {
        min-height: 400px;
    }
    .page-split__text {
        padding: 40px 32px;
    }
    .page-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Accent images */
    .page-accent-img {
        height: 350px;
    }

    /* Section padding */
    .page-section {
        padding: 50px 20px;
    }

    /* CTA banner */
    .page-cta-banner {
        padding: 60px 20px;
    }

    /* Price grid */
    .page-price-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    /* Feature cards */
    .page-feature-card {
        flex: 0 1 150px;
        min-width: 130px;
        padding: 22px 12px;
    }
}

/* ==========================================================================
   22. RESPONSIVE — MOBILE (max 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .page-hero-overlay {
        height: 40vh;
        min-height: 280px;
        margin-bottom: 50px;
    }
    .page-hero-overlay img {
        height: 40vh;
        min-height: 280px;
    }

    .page-split,
    .page-split--reverse {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 16px;
        margin: 20px 12px;
        width: auto;
        left: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .page-split__img {
        max-height: 280px;
    }
    .page-split--reverse .page-split__img {
        order: 0;
    }
    .page-split--reverse .page-split__text {
        order: 0;
    }
    .page-split__text {
        padding: 30px 24px;
    }

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

    .page-accent-img img {
        height: 220px;
    }

    .page-section {
        padding: 40px 20px;
    }
    .page-section--wide {
        padding: 50px 20px;
    }
    .page-section--grey {
        padding: 50px 20px;
    }
    .page-cta-banner {
        padding: 50px 20px;
    }

    .page-contact-grid {
        grid-template-columns: 1fr;
    }

    .page-price-card--featured {
        transform: none;
    }
    .page-price-card--featured:hover {
        transform: translateY(-4px);
    }

    .page-step {
        gap: 16px;
    }
    .page-step::before {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .page-features-grid {
        gap: 12px;
        padding: 20px 12px;
    }
    .page-feature-card {
        flex: 0 1 calc(50% - 8px);
        min-width: 130px;
        padding: 20px 10px;
    }
    .page-feature-card__icon {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    .page-feature-card h3 {
        font-size: 0.78rem;
    }
    .page-feature-card p {
        font-size: 0.75rem;
    }

    .page-map iframe {
        height: 300px;
    }

    /* Hero text sizing */
    .page-hero-overlay__text h1,
    .page-hero-overlay__text .page-hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    .page-hero-overlay__text p,
    .page-hero-overlay__text .page-hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    /* Accent images */
    .page-accent-img {
        height: 250px;
    }

    /* Sections */
    .page-section h2 {
        font-size: 1.3rem;
    }
    .page-section h3 {
        font-size: 1.1rem;
    }
    .page-section p {
        font-size: 0.95rem;
    }

    /* CTA banner */
    .page-cta-banner h2 {
        font-size: 1.4rem;
    }
    .page-cta-banner p {
        font-size: 0.95rem;
    }
    .page-cta-banner .page-btn,
    .page-cta-banner a.page-btn {
        padding: 12px 30px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
        box-sizing: border-box;
    }

    /* Buttons */
    .page-btn,
    .fs-page .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    /* Steps */
    .page-step {
        gap: 12px;
    }

    /* Prices */
    .page-prices {
        padding: 40px 16px;
    }
    .page-prices h2 {
        font-size: 1.3rem;
    }
    .page-price-card__header h3 {
        font-size: 1.1rem;
    }
    .page-price-card__header .price {
        font-size: 1.6rem;
    }

    /* Contact cards */
    .page-contacts {
        padding: 40px 16px;
    }
    .page-contact-card {
        padding: 28px 20px;
    }
    .page-contact-card__icon {
        font-size: 2rem;
    }

    /* Downloads */
    .page-downloads {
        padding: 40px 16px;
    }
    .page-download-list a {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* FAQ */
    .page-faq {
        padding: 35px 16px;
    }
    .page-faq summary {
        padding: 14px 44px 14px 18px;
        font-size: 14px;
    }

    /* Steps */
    .page-steps {
        padding: 40px 16px;
    }

    /* Testimonial */
    .page-testimonial {
        padding: 40px 16px;
    }
    .page-testimonial blockquote {
        font-size: 1.05rem;
    }

    /* Wide sections inner padding */
    .page-section--wide {
        padding: 45px 16px;
    }
    .page-section--grey {
        padding: 45px 16px;
    }

    /* Table responsive */
    .fs-page table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ==========================================================================
   23. RESPONSIVE — SMALL MOBILE (max 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .page-hero-overlay {
        height: 30vh;
        min-height: 200px;
        margin-bottom: 35px;
    }
    .page-hero-overlay img {
        height: 30vh;
        min-height: 200px;
    }
    .page-hero-overlay__text h1,
    .page-hero-overlay__text .page-hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-photo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }
    .page-features-grid {
        flex-direction: column;
        align-items: center;
    }
    .page-feature-card {
        flex: 0 1 100%;
        width: 100%;
        max-width: 280px;
    }
    .page-price-grid {
        grid-template-columns: 1fr;
    }

    /* Accent images */
    .page-accent-img {
        height: 180px;
    }

    /* Split sections tighter */
    .page-split,
    .page-split--reverse {
        margin: 15px 8px;
        border-radius: 12px;
    }
    .page-split__text {
        padding: 24px 18px;
    }
    .page-split__text h2 {
        font-size: 1.2rem;
    }

    /* CTA button full width */
    .page-cta-banner .page-btn,
    .page-cta-banner a.page-btn {
        width: 100%;
        max-width: 100%;
    }

    /* Steps */
    .page-step::before {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   24. PRINT STYLES
   ========================================================================== */
@media print {
    .page-hero-overlay img {
        filter: none;
    }
    .page-cta-banner,
    .page-map {
        display: none;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   25. SMOOTH SCROLL & SELECTION
   ========================================================================== */
/* smooth scroll removed — causes issues with sticky header */
.fs-page ::selection {
    background: var(--fs-teal);
    color: #fff;
}

/* ==========================================================================
   26. WORDPRESS CONTENT OVERRIDES
   ========================================================================== */
.fs-page .wp-block-image {
    margin: 0;
}
.fs-page .wp-block-image img {
    border-radius: 0;
}
.fs-page .alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
