/* ========================================
   QuadroDigitale - Internal Pages Stylesheet
   Clean, professional design for internal pages
   ======================================== */

/* === INTERNAL PAGE OVERRIDES === */
body.internal-page {
    background-color: #fafbfc;
}

/* Hide seagulls on internal pages */
body.internal-page .seagulls-container {
    display: none;
}

/* === CLEAN HEADER FOR INTERNAL PAGES === */
body.internal-page header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* === HERO SECTION - CLEAN WHITE === */
body.internal-page .hero-internal {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 5rem 0 4rem;
    text-align: center;
}

body.internal-page .hero-internal h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: none;
}

body.internal-page .hero-internal p {
    font-size: 1.25rem;
    color: rgba(26, 26, 26, 0.7);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* === BREADCRUMB CLEAN === */
body.internal-page .breadcrumb {
    background-color: #ffffff;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.internal-page .breadcrumb-link {
    color: rgba(26, 26, 26, 0.6);
    font-weight: 500;
}

body.internal-page .breadcrumb-link:hover {
    color: #0066cc;
}

body.internal-page .breadcrumb-current {
    color: #1a1a1a;
    font-weight: 600;
}

/* === SECTIONS WITH GENEROUS SPACING === */
body.internal-page .section-clean {
    padding: 5rem 0 6rem;
    background-color: #ffffff;
}

body.internal-page .section-clean-alt {
    padding: 5rem 0 6rem;
    background-color: #f8fafc;
}

body.internal-page .section-title {
    margin-bottom: 4rem;
}

body.internal-page .section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

body.internal-page .section-title p {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.6);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* === CARDS - CLEAN PROFESSIONAL STYLE === */
body.internal-page .card-clean {
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.internal-page .card-clean:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

body.internal-page .card-clean h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

body.internal-page .card-clean p {
    color: rgba(26, 26, 26, 0.65);
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-size: 1rem;
}

body.internal-page .card-clean a {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

body.internal-page .card-clean a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Lottie animation container in cards */
body.internal-page .card-lottie {
    width: 200px;
    height: 200px;
    margin: -10px auto -10px auto;
}

/* === SERVICE ROWS WITH IMAGES === */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.service-row-reverse {
    direction: rtl;
}

.service-row-reverse > * {
    direction: ltr;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.service-text p {
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(26, 26, 26, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: 700;
}

.service-features li strong {
    color: #1a1a1a;
}

.service-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .service-row-reverse {
        direction: ltr;
    }
    
    .service-image {
        order: -1;
    }
    
    .service-image img {
        height: 220px;
    }
    
    .service-text h2 {
        font-size: 1.5rem;
    }
}

/* === CTA UNDERWATER SECTION === */
.cta-underwater-section {
    position: relative;
    background: linear-gradient(to bottom, #0d4a6f, #062a40);
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-underwater-section .underwater-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Squali posizionati più in basso nel banner */
.cta-underwater-section .shark-1 {
    bottom: -5%;
    animation: sharkSwimRight 55s linear infinite;
}

.cta-underwater-section .shark-2 {
    bottom: -15%;
    animation: sharkSwimLeft 60s linear infinite;
}

.cta-underwater-section .shark img {
    width: 280px;
    opacity: 0.35;
}

/* Pesci in alto nel banner */
.cta-underwater-section .fish-banner {
    position: absolute;
    z-index: 2;
}

.cta-underwater-section .fish-banner img {
    width: 45px;
    height: auto;
    opacity: 0.6;
}

.cta-underwater-section .fish-banner-1 {
    top: 15%;
    animation: fishSwimRight 35s linear infinite;
}

.cta-underwater-section .fish-banner-2 {
    top: 25%;
    animation: fishSwimLeft 40s linear infinite;
    animation-delay: -10s;
}

.cta-underwater-section .fish-banner-3 {
    top: 10%;
    animation: fishSwimRight 38s linear infinite;
    animation-delay: -20s;
}

.cta-underwater-section .fish-banner-1 img,
.cta-underwater-section .fish-banner-3 img {
    transform: scaleX(-1);
}

@keyframes fishSwimRight {
    0% { left: -60px; }
    100% { left: calc(100% + 60px); }
}

@keyframes fishSwimLeft {
    0% { right: -60px; left: auto; }
    100% { right: calc(100% + 60px); left: auto; }
}

/* === FAQ GRID === */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.faq-card p {
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-card {
        padding: 1.5rem;
    }
}

/* === SEQUENTIAL FORM SECTION === */
.sequential-form-section {
    position: relative;
    background: linear-gradient(to bottom, #0d4a6f, #062a40);
    padding: 5rem 0;
    overflow: hidden;
}

.sequential-form-section .underwater-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Squali posizionati più in basso */
.sequential-form-section .shark-1 {
    bottom: -5%;
    animation: sharkSwimRight 55s linear infinite;
}

.sequential-form-section .shark-2 {
    bottom: -15%;
    animation: sharkSwimLeft 60s linear infinite;
}

.sequential-form-section .shark img {
    width: 280px;
    opacity: 0.35;
}

/* Pesci in alto */
.sequential-form-section .fish-banner {
    position: absolute;
    z-index: 2;
}

.sequential-form-section .fish-banner img {
    width: 45px;
    height: auto;
    opacity: 0.6;
}

.sequential-form-section .fish-banner-1 {
    top: 12%;
    animation: fishSwimRight 35s linear infinite;
}

.sequential-form-section .fish-banner-2 {
    top: 22%;
    animation: fishSwimLeft 40s linear infinite;
    animation-delay: -10s;
}

.sequential-form-section .fish-banner-3 {
    top: 8%;
    animation: fishSwimRight 38s linear infinite;
    animation-delay: -20s;
}

.sequential-form-section .fish-banner-1 img,
.sequential-form-section .fish-banner-3 img {
    transform: scaleX(-1);
}

/* Progress Bar - Chevron Style */
.form-progress {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    background: transparent;
    padding: 0;
}

.progress-pill {
    position: relative;
    width: 3.5rem;
    height: 2rem;
    background: rgba(200, 200, 200, 0.7);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}

.progress-pill:first-child {
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    border-radius: 0.5rem 0 0 0.5rem;
}

.progress-pill:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%);
    border-radius: 0 0.5rem 0.5rem 0;
}

.progress-pill.active {
    background: #0066cc;
}

.progress-pill.completed {
    background: #5eeaa0;
    overflow: hidden;
}

/* Shine effect handled by JavaScript for fluidity */

/* Sequential Form */
.sequential-form {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem 2.5rem 2.5rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Blurred shadow for underwater banners text */
.cta-underwater-section h2,
.cta-underwater-section p,
.sequential-form-section h2,
.sequential-form-section p,
.sequential-form-section label,
.sequential-form-section .form-question {
    text-shadow: 
        0 2px 8px rgba(0,0,0,0.08),
        0 4px 16px rgba(0,0,0,0.06),
        0 0 30px rgba(0,0,0,0.04);
}

/* Input styles for sequential form */
.sequential-form input[type="text"],
.sequential-form input[type="email"],
.sequential-form input[type="tel"],
.sequential-form textarea,
.sequential-form select {
    border: 1px solid rgba(255,255,255,0.3);
}

.sequential-form input::placeholder,
.sequential-form textarea::placeholder {
    font-style: italic;
}

.sequential-form input,
.sequential-form textarea {
    font-style: normal;
}

/* Tasto Continua nel form */
.sequential-form .btn-next {
    background: #25D366;
    border-color: #25D366;
}

.sequential-form .btn-next:hover {
    background: #1da851;
    border-color: #1da851;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.form-question {
    display: block;
    color: black;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    line-height: 1.4;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.form-input-seq {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    font-style: italic;
    transition: border-color 0.3s ease;
}

.form-input-seq:focus {
    outline: none;
    border-color: #e6c84a;
}

.form-input-seq::placeholder {
    color: rgba(26, 26, 26, 0.5);
    font-style: italic;
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 3rem;
    animation: scaleIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
    animation: pulse 2s infinite;
}

.form-success h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.form-success p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-info-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 0.75rem;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.contact-info-card p {
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .sequential-form {
        padding: 1.5rem;
    }
    
    .form-question {
        font-size: 1.1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-pill {
        width: 2.2rem;
        height: 1.5rem;
        clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 0 100%, 6px 50%);
    }
    
    .progress-pill:first-child {
        clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 0 100%);
    }
    
    .progress-pill:last-child {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6px 50%);
    }
}

/* === WHY CHOOSE US GRID (3 columns) === */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.why-choose-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-choose-card .material-symbols-outlined {
    font-size: 3.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
    display: block;
}

.why-choose-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
}

.why-choose-card p {
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* === BUTTONS - SOLID COLORS === */
body.internal-page .btn-solid-primary,
body.internal-page .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border: none;
    background-color: #0066cc;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
}

body.internal-page .btn-solid-primary::before,
body.internal-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

body.internal-page .btn-solid-primary:hover,
body.internal-page .btn-primary:hover {
    background-color: #e6c84a;
    box-shadow: 0 4px 16px rgba(230, 200, 74, 0.5);
    color: white;
}

body.internal-page .btn-solid-primary:hover::before,
body.internal-page .btn-primary:hover::before {
    animation: btn-shine 2s ease-in-out infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

body.internal-page .btn-solid-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    background-color: #ffffff;
    color: #0066cc;
    border: 2px solid #0066cc;
    position: relative;
    overflow: hidden;
}

body.internal-page .btn-solid-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    pointer-events: none;
}

body.internal-page .btn-solid-secondary:hover {
    background-color: #e6c84a;
    box-shadow: 0 4px 16px rgba(230, 200, 74, 0.5);
    border-color: #e6c84a;
    color: white;
}

body.internal-page .btn-solid-secondary:hover::before {
    animation: btn-shine 2s ease-in-out infinite;
}

/* === CTA BOX - CLEAN === */
body.internal-page .cta-box-clean {
    background-color: #f8fafc;
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 4rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.internal-page .cta-box-clean h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

body.internal-page .cta-box-clean p {
    color: rgba(26, 26, 26, 0.65);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* === CTA SECTION - SOLID BACKGROUND === */
body.internal-page .cta-section-clean {
    background-color: #0066cc;
    padding: 5rem 0;
    text-align: center;
}

body.internal-page .cta-section-clean h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

body.internal-page .cta-section-clean p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

body.internal-page .cta-section-clean .btn-white {
    background-color: #ffffff;
    color: #0066cc;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.internal-page .cta-section-clean .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* === ACCORDION - CLEAN === */
body.internal-page .accordion-item {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

body.internal-page .accordion-item:hover {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.internal-page .accordion-summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

body.internal-page .accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.7;
}

/* === SERVICE DETAIL PAGE === */
body.internal-page .service-content {
    background-color: #ffffff;
    padding: 5rem 0 6rem;
}

body.internal-page .service-detail h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

body.internal-page .service-detail h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

body.internal-page .service-detail h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

body.internal-page .service-detail p {
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

body.internal-page .service-detail ul,
body.internal-page .service-detail ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

body.internal-page .service-detail li {
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 0.625rem;
    line-height: 1.65;
}

body.internal-page .service-detail a {
    color: #0066cc;
    font-weight: 600;
}

body.internal-page .service-detail a:hover {
    color: #0052a3;
}

/* === FORM STYLES - CLEAN === */
body.internal-page .form-input,
body.internal-page .form-select,
body.internal-page .form-textarea {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

body.internal-page .form-input:focus,
body.internal-page .form-select:focus,
body.internal-page .form-textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

body.internal-page .form-label {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

/* === CONTACT INFO CARDS === */
body.internal-page .contact-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

body.internal-page .contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* === LOTTIE HERO ICON === */
body.internal-page .hero-lottie {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

/* === OTHER SERVICES SECTION === */
body.internal-page .other-services {
    background-color: #f8fafc;
    padding: 5rem 0 6rem;
}

/* === PROBLEM → SOLUTION SECTION === */
body.internal-page .problem-solution {
    padding: 4rem 0;
    background-color: #ffffff;
}

body.internal-page .problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    body.internal-page .problem-solution-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

body.internal-page .problem-box,
body.internal-page .solution-box {
    padding: 2.5rem;
    border-radius: 1rem;
    position: relative;
}

body.internal-page .problem-box {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

body.internal-page .solution-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

body.internal-page .problem-box h3,
body.internal-page .solution-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.internal-page .problem-box h3 {
    color: #dc2626;
}

body.internal-page .solution-box h3 {
    color: #16a34a;
}

body.internal-page .problem-box ul,
body.internal-page .solution-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.internal-page .problem-box li,
body.internal-page .solution-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(26, 26, 26, 0.8);
    line-height: 1.6;
}

body.internal-page .problem-box li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

body.internal-page .solution-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

/* === PROCESS STEPS SECTION === */
body.internal-page .process-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

body.internal-page .process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    body.internal-page .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    body.internal-page .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    body.internal-page .process-steps.three-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

body.internal-page .process-step {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

body.internal-page .process-step-number {
    width: 48px;
    height: 48px;
    background-color: #0066cc;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

body.internal-page .process-step h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

body.internal-page .process-step p {
    font-size: 0.9375rem;
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* === STATS/NUMBERS SECTION === */
body.internal-page .stats-section {
    padding: 4rem 0;
    background-color: #0066cc;
}

body.internal-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    body.internal-page .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    body.internal-page .stats-grid.three-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

body.internal-page .stat-item {
    text-align: center;
    color: #ffffff;
}

body.internal-page .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

body.internal-page .stat-label {
    font-size: 0.9375rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* === CTA SECTION UPDATED === */
body.internal-page .cta-final {
    padding: 5rem 0;
    background-color: #ffffff;
    text-align: center;
}

body.internal-page .cta-final h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

body.internal-page .cta-final p {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* === DEPRECATED CONTENT (grayed out) === */
body.internal-page .deprecated-content,
body.internal-page .deprecated-content * {
    color: #9ca3af;
}

/* === SERVICE HEADER === */
body.internal-page .service-header {
    text-align: center;
    padding: 5rem 0 3rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.internal-page .service-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

body.internal-page .service-header .subtitle {
    font-size: 1.25rem;
    color: rgba(26, 26, 26, 0.7);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 767px) {
    body.internal-page .service-header h1 {
        font-size: 2rem;
    }
    
    body.internal-page .stat-number {
        font-size: 2rem;
    }
    
    body.internal-page .process-step {
        padding: 1.5rem;
    }
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (min-width: 768px) {
    body.internal-page .hero-internal h1 {
        font-size: 3.25rem;
    }
    
    body.internal-page .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    body.internal-page .hero-internal {
        padding: 6rem 0 5rem;
    }
    
    body.internal-page .section-clean,
    body.internal-page .section-clean-alt {
        padding: 6rem 0 7rem;
    }
}

@media (max-width: 767px) {
    body.internal-page .hero-internal h1 {
        font-size: 2rem;
    }
    
    body.internal-page .hero-internal p {
        font-size: 1.1rem;
    }
    
    body.internal-page .section-title h2 {
        font-size: 1.75rem;
    }
    
    body.internal-page .card-clean {
        padding: 2rem;
    }
    
    body.internal-page .card-lottie {
        width: 160px;
        height: 160px;
        margin: -5px auto -5px auto;
    }
    
    body.internal-page .hero-lottie {
        width: 100px;
        height: 100px;
    }
}

