/**
 * Service Detail Page Styles
 * Premium UI with sophisticated animations and modern design
 * All class names prefixed with 'detail-' to avoid conflicts
 * 
 * File: assets/css/pages/service-detail.css
 */

/* ============================================
   GLOBAL VARIABLES & RESETS
   ============================================ */

:root {
    --detail-color-rose-50: #fff1f2;
    --detail-color-rose-100: #ffe4e6;
    --detail-color-rose-500: #f43f5e;
    --detail-color-rose-600: #e11d48;
    --detail-color-pink-500: #ec4899;
    --detail-color-pink-600: #db2777;
    --detail-color-purple-500: #a855f7;
    --detail-color-purple-600: #9333ea;
    --detail-color-gray-50: #f9fafb;
    --detail-color-gray-100: #f3f4f6;
    --detail-color-gray-300: #d1d5db;
    --detail-color-gray-600: #4b5563;
    --detail-color-gray-700: #374151;
    --detail-color-gray-800: #1f2937;
    --detail-color-gray-900: #111827;
}

/* ============================================
   SERVICE HERO SECTION
   ============================================ */

.service-detail-hero {
    position: relative;
    background: linear-gradient(160deg,
        #fef1f4 0%,
        #fce7f3 20%,
        #fae8ff 40%,
        #fef3f9 60%,
        #fff5f7 80%,
        #fef1f4 100%
    );
    padding: 3rem 0 5rem;
    overflow: hidden;
}

/* Animated Background */
.detail-hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.detail-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: detail-float-orb 25s ease-in-out infinite;
}

.detail-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fda4af, #f9a8d4);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.detail-orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #c084fc, #f9a8d4);
    bottom: -100px;
    right: -150px;
    animation-delay: 8s;
}

.detail-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #fbbf24, #fda4af);
    top: 40%;
    left: 50%;
    animation-delay: 15s;
}

@keyframes detail-float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.detail-mesh-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(251, 113, 133, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(192, 132, 252, 0.08) 0%, transparent 50%);
}

/* Floating Particles */
.detail-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.detail-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #fb7185, #f472b6);
    border-radius: 50%;
    opacity: 0;
    animation: detail-particle-float 18s ease-in-out infinite;
}

.detail-particle:nth-child(1) { left: 15%; animation-delay: 0s; }
.detail-particle:nth-child(2) { left: 35%; animation-delay: 3s; }
.detail-particle:nth-child(3) { left: 55%; animation-delay: 6s; }
.detail-particle:nth-child(4) { left: 75%; animation-delay: 9s; }
.detail-particle:nth-child(5) { left: 25%; animation-delay: 12s; }
.detail-particle:nth-child(6) { left: 85%; animation-delay: 15s; }

@keyframes detail-particle-float {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 0.8;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 0.8;
        transform: translateX(30px) scale(1);
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(60px) scale(0);
    }
}

.service-detail-hero .container {
    position: relative;
    z-index: 3;
}

/* Hero Layout */
.detail-hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .detail-hero-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* ============================================
   IMAGE COLUMN - 16:9 RATIO
   ============================================ */

.detail-hero-image-wrapper {
    position: relative;
    order: 1;
}

@media (min-width: 1024px) {
    .detail-hero-image-wrapper {
        order: 0;
    }
}

.detail-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(244, 63, 94, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.detail-image-container {
    max-height: 420px; /* controls hero dominance */
}

.detail-service-image {
    object-fit: cover;
    object-position: center top; /* faces stay visible */
}


.detail-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(244, 63, 94, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.12);
}

.detail-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.detail-image-container:hover .detail-service-image {
    transform: scale(1.05);
}

/* Category Badge */
.detail-category-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(244, 63, 94, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--detail-color-rose-600);
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.detail-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}

.detail-category-badge i {
    font-size: 0.875rem;
}

/* Image Effects */
.detail-image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
}

.detail-image-container:hover .detail-image-shine {
    left: 150%;
}

.detail-image-glow {
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f43f5e, #ec4899, #a855f7);
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.5s ease;
}

.detail-image-container:hover .detail-image-glow {
    opacity: 0.4;
}

/* Floating Info Cards */
.detail-floating-info {
    position: absolute;
    bottom: -2rem;
    left: 1.5rem;
    right: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    z-index: 15;
}

.detail-info-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.detail-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1rem;
}

.detail-info-card-duration .detail-info-icon {
    background: linear-gradient(135deg, #c084fc, #a855f7);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.detail-info-card-price .detail-info-icon {
    background: linear-gradient(135deg, #fda4af, #fb7185);
    box-shadow: 0 4px 12px rgba(251, 113, 133, 0.3);
}

.detail-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.detail-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--detail-color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-info-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--detail-color-gray-900);
}

/* ============================================
   CONTENT COLUMN
   ============================================ */

.detail-hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Service Title */
.detail-service-title {
    position: relative;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--detail-color-gray-900);
    margin: 0;
    padding-bottom: 1rem;
}

.detail-title-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #f43f5e, #ec4899, #a855f7);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
}

/* Service Description */
.detail-service-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--detail-color-gray-600);
    margin: 0;
}

/* Service Features */
.detail-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.detail-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

.detail-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.detail-feature-icon-certified {
    background: linear-gradient(135deg, #fda4af, #fb7185);
    box-shadow: 0 4px 12px rgba(251, 113, 133, 0.25);
}

.detail-feature-icon-quality {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
}

.detail-feature-icon-hygiene {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.detail-feature-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--detail-color-gray-700);
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.detail-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.detail-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.detail-btn i {
    font-size: 1.25rem;
}

.detail-btn-primary {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.detail-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.4);
}

.detail-btn-primary:active {
    transform: translateY(-1px);
}

.detail-btn-secondary {
    background: #ffffff;
    color: var(--detail-color-gray-700);
    border: 2px solid var(--detail-color-gray-300);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.detail-btn-secondary:hover {
    border-color: var(--detail-color-rose-500);
    color: var(--detail-color-rose-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.15);
}

.detail-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.6s ease;
}

.detail-btn:hover .detail-btn-shine {
    left: 100%;
}

/* Trust Indicators */
.detail-trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
}

.detail-trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--detail-color-gray-600);
}

.detail-trust-item i {
    color: var(--detail-color-rose-500);
    font-size: 1rem;
}

/* ============================================
   SERVICE DESCRIPTION SECTION
   ============================================ */

.detail-service-description-section {
    background: linear-gradient(to bottom,
        #ffffff 0%,
        var(--detail-color-gray-50) 50%,
        #ffffff 100%);
    padding: 5rem 0;
}

.detail-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.detail-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--detail-color-rose-50);
    color: var(--detail-color-rose-600);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.detail-section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--detail-color-gray-900);
    margin: 0;
}

/* Service Content */
.detail-service-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--detail-color-gray-700);
}

.detail-service-content h2,
.detail-service-content h3,
.detail-service-content h4 {
    color: var(--detail-color-gray-900);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.detail-service-content p {
    margin-bottom: 1.25rem;
}

.detail-service-content ul,
.detail-service-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.detail-service-content li {
    margin-bottom: 0.75rem;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.detail-benefits-section {
    background: #ffffff;
    padding: 5rem 0;
}

.detail-benefits-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.detail-benefits-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--detail-color-gray-900);
    margin: 0 0 1rem;
}

.detail-benefits-subtitle {
    font-size: 1.125rem;
    color: var(--detail-color-gray-600);
    margin: 0;
}

.detail-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .detail-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .detail-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.detail-benefit-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 1px solid var(--detail-color-gray-100);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #f43f5e, #ec4899, #a855f7);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.detail-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.15);
}

.detail-benefit-card:hover::before {
    opacity: 1;
}

.detail-benefit-icon-wrapper {
    margin-bottom: 1.5rem;
}

.detail-benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-benefit-card:hover .detail-benefit-icon {
    transform: rotateY(180deg) scale(1.1);
}

.detail-benefit-icon-expert {
    background: linear-gradient(135deg, #fda4af, #fb7185);
    box-shadow: 0 8px 24px rgba(251, 113, 133, 0.3);
}

.detail-benefit-icon-products {
    background: linear-gradient(135deg, #c084fc, #a855f7);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.detail-benefit-icon-hygiene {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.detail-benefit-icon-results {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.detail-benefit-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--detail-color-gray-900);
    margin: 0 0 0.75rem;
}

.detail-benefit-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--detail-color-gray-600);
    margin: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.detail-final-cta-section {
    position: relative;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #a855f7 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.detail-cta-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.detail-cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.1) 2%, transparent 0%),
        radial-gradient(circle at 75px 75px, rgba(255, 255, 255, 0.1) 2%, transparent 0%);
    background-size: 100px 100px;
    opacity: 0.3;
}

.detail-cta-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    filter: blur(60px);
}

.detail-cta-orb-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: detail-float-gentle 20s ease-in-out infinite;
}

.detail-cta-orb-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    right: -100px;
    animation: detail-float-gentle 25s ease-in-out infinite reverse;
}

@keyframes detail-float-gentle {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

.detail-final-cta-section .container {
    position: relative;
    z-index: 2;
}

.detail-cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.detail-cta-icon-wrapper {
    margin-bottom: 2rem;
}

.detail-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: detail-icon-pulse-glow 3s ease-in-out infinite;
}

@keyframes detail-icon-pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
    }
}

.detail-cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.detail-cta-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.5rem;
}

.detail-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: #ffffff;
    color: var(--detail-color-rose-600);
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.detail-cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.detail-cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.detail-cta-button i {
    font-size: 1.5rem;
}

.detail-cta-button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(244, 63, 94, 0.2) 50%,
        transparent 100%);
    transition: left 0.6s ease;
}

.detail-cta-button:hover .detail-cta-button-shine {
    left: 100%;
}

.detail-cta-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
}

.detail-cta-trust-badge i {
    font-size: 1.125rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1023px) {
    .service-detail-hero {
        padding: 3rem 0 4rem;
    }

    .detail-floating-info {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .service-detail-hero {
        padding: 2.5rem 0 3.5rem;
    }

    .detail-hero-layout {
        gap: 2.5rem;
    }

    .detail-service-title {
        padding-bottom: 0.75rem;
    }

    .detail-title-decoration {
        width: 80px;
        height: 4px;
    }

    .detail-service-description {
        font-size: 1rem;
    }

    .detail-cta-buttons {
        flex-direction: column;
    }

    .detail-btn {
        width: 100%;
    }

    .detail-service-description-section,
    .detail-benefits-section,
    .detail-final-cta-section {
        padding: 3.5rem 0;
    }

    .detail-benefits-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .detail-category-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .detail-info-card {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .detail-info-icon {
        width: 36px;
        height: 36px;
    }

    .detail-feature-item {
        padding: 0.625rem 1rem;
        gap: 0.625rem;
    }

    .detail-feature-icon {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .detail-benefit-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
.detail-btn:focus-visible,
.detail-cta-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* Print Styles */
@media print {
    .detail-hero-background,
    .detail-hero-particles,
    .detail-cta-background,
    .detail-image-shine,
    .detail-image-glow,
    .detail-btn-shine,
    .detail-cta-button-shine {
        display: none;
    }

    .service-detail-hero,
    .detail-benefits-section,
    .detail-final-cta-section {
        background: white;
        padding: 1rem 0;
    }
}

@media (max-width: 1023px) {
    .detail-floating-info {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 1.75rem;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .detail-floating-info {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   HERO OFFSET FIX (FIXES HIDDEN HEADING)
   ============================================ */

.service-detail-hero {
    padding-top: calc(var(--navbar-height) + 2.5rem);
}
@media (max-width: 768px) {
    .service-detail-hero {
        padding-top: calc(var(--navbar-height) + 1.75rem);
    }
}
.service-detail-hero .container {
    position: relative;
    z-index: 2;
}
