.service-hero {
    background: linear-gradient(135deg, var(--bg-soft) 0%, #e2e8f0 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}
body.dark-mode .service-hero {
    background: linear-gradient(135deg, var(--dm-card) 0%, #1e293b 100%);
}
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-content {
    padding-right: 1rem;
    animation: fadeInUp 0.8s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-badge {
    margin-bottom: 1rem;
    display: inline-block;
}
.badge-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgb(2 179 255 / 0.25);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 4px 15px rgb(2 179 255 / 0.25);
    }
    50% {
        box-shadow: 0 4px 20px rgb(2 179 255 / 0.4);
    }
}
body.dark-mode .badge-text {
    background: linear-gradient(135deg, var(--dm-primary) 0%, #0056b3 100%);
    box-shadow: 0 4px 15px rgb(3 164 228 / 0.3);
}
.hero-heading {
    line-height: 1.1;
    margin-bottom: 0.75rem;
    background: var(--primary-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    font-weight: 700;
}
body.dark-mode .hero-heading {
    background: var(--primary-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
}
.hero-subheading {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.4;
}
body.dark-mode .hero-subheading {
    color: var(--dm-gray);
}
.hero-content > p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text);
    max-width: 90%;
}
body.dark-mode .hero-content > p {
    color: var(--dm-text);
}
.hero-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
.hero-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgb(0 0 0 / 0.1);
    transform: perspective(1000px) rotateY(-8deg);
    transition: transform 0.5s ease;
    position: relative;
}
.hero-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgb(2 179 255 / 0.1), transparent);
    pointer-events: none;
}
.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}
.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}
.writers-section {
    background: var(--bg-lavender);
    padding: 1.5rem 0;
    position: relative;
}
body.dark-mode .writers-section {
    background: var(--dm-card);
}
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}
.section-header h2 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
body.dark-mode .section-header h2 {
    color: var(--dm-text);
}
body.dark-mode .section-header h2::after {
    background: linear-gradient(to right, var(--dm-primary), var(--dm-secondary));
}
.section-header p {
    color: var(--gray);
    line-height: 1.5;
}
body.dark-mode .section-header p {
    color: var(--dm-gray);
}
.swiper-container {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}
.swiper-wrapper {
    padding: 20px 0;
}
.writer-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border: solid 0.8px var(--primary);
}
body.dark-mode .writer-card {
    background: var(--dm-sidebar);
    border-color: var(--dm-border);
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.2);
}
.writer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgb(0 0 0 / 0.1);
    border: solid 0.8px var(--secondary);
}
body.dark-mode .writer-card:hover {
    box-shadow: 0 12px 30px rgb(0 0 0 / 0.3);
}
.writer-avatar-container {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}
.writer-avatar-container img {
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}
.writer-card:hover .writer-avatar-container img {
    border-color: var(--secondary);
    transform: scale(1.03);
}
body.dark-mode .writer-avatar-container img {
    border-color: var(--dm-primary);
}
.status-indicator {
    position: absolute;
    top: 15px;
    right: calc(50% - 50px);
    width: 14px;
    height: 14px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--bg);
    z-index: 2;
    transition: all 0.3s ease;
}
.status-indicator.offline {
    background: var(--danger);
}
.stars {
    color: gold;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 2px;
}
.writer-name {
    font-weight: 700;
    color: var(--dark);
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
body.dark-mode .writer-name {
    color: var(--dm-text);
}
.writer-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.writer-rank {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary) 0%, #d97706 100%);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    align-self: center;
    box-shadow: 0 4px 12px rgb(245 158 11 / 0.2);
}
.writer-specialty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    justify-content: center;
    font-weight: 500;
}
body.dark-mode .writer-specialty {
    color: var(--dm-primary);
}
.writer-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    justify-content: center;
    font-size: 0.8rem;
}
body.dark-mode .writer-meta {
    border-bottom-color: var(--dm-border);
}
.meta-item {
    text-align: center;
    flex: 1;
}
.meta-value {
    display: block;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
body.dark-mode .meta-value {
    color: var(--dm-text);
}
.meta-label {
    display: block;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    font-weight: 500;
}
body.dark-mode .meta-label {
    color: var(--dm-gray);
}
.writer-bio {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    font-size: 0.7rem;
}
body.dark-mode .writer-bio {
    color: var(--dm-text);
}
.writer-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}
.swiper-nav-container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}
.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
    pointer-events: all;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid #fff0;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-weight: 700;
}
body.dark-mode .swiper-button-prev,
body.dark-mode .swiper-button-next {
    background: var(--dm-card);
    color: var(--dm-primary);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.3);
    border-color: var(--dm-border);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
    border-color: var(--primary);
}
body.dark-mode .swiper-button-prev:hover,
body.dark-mode .swiper-button-next:hover {
    background: var(--dm-primary);
    border-color: var(--dm-primary);
}
.service-content-section {
    padding: 1.5rem 0;
    background: var(--bg);
    position: relative;
}
body.dark-mode .service-content-section {
    background: var(--dm-bg);
}
.service-layout-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.5rem;
}
.service-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0.5rem;
    align-items: start;
}
.service-main-content {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
body.dark-mode .service-main-content {
    background: var(--dm-card);
    border-color: var(--dm-border);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
}
.content-section {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.content-section:last-child {
    margin-bottom: 0;
}
.content-section h2 {
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    position: relative;
}
.content-section h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--secondary);
}
body.dark-mode .content-section h2 {
    color: var(--dm-text);
    border-bottom-color: var(--dm-primary);
}
body.dark-mode .content-section h2::after {
    background: var(--dm-secondary);
}
.content-section h3 {
    color: var(--dark);
    margin: 1.5rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}
.content-section h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 5px;
    height: 1.25rem;
    background: var(--primary);
    border-radius: 2px;
}
body.dark-mode .content-section h3 {
    color: var(--dm-text);
}
body.dark-mode .content-section h3::before {
    background: var(--dm-primary);
}
.content-body {
    color: var(--text);
    line-height: 1.7;
}
body.dark-mode .content-body {
    color: var(--dm-text);
}
.content-body p {
    margin-bottom: 1rem;
}
.content-body p:last-child {
    margin-bottom: 0;
}
.content-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.content-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}
.content-list li:last-child {
    border-bottom: none;
}
body.dark-mode .content-list li {
    color: var(--dm-text);
    border-bottom-color: var(--dm-border);
}
.content-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    top: 0.75rem;
}
body.dark-mode .content-list li::before {
    color: var(--dm-success);
}
.content-cta {
    background: linear-gradient(135deg, rgb(2 179 255 / 0.1), rgb(245 158 11 / 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    border: 2px dashed var(--primary);
    position: relative;
    overflow: hidden;
}
.content-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(2 179 255 / 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.content-cta h4 {
    margin-bottom: 0.75rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}
.content-cta p {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.content-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
}
.content-body a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.content-body a:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 2px;
}
body.dark-mode .content-body a {
    color: var(--dm-primary);
}
body.dark-mode .content-body a:hover {
    color: var(--dm-primary-light);
    text-decoration-color: var(--dm-primary-light);
}
body.dark-mode .content-body a:focus {
    outline-color: var(--dm-primary);
}
.content-list li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.content-list li a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
body.dark-mode .content-list li a {
    color: var(--dm-primary);
}
body.dark-mode .content-list li a:hover {
    color: var(--dm-primary-light);
}
.service-sidebar {
    position: relative;
    height: fit-content;
    min-width: 0;
}
.sticky-sidebar {
    background: var(--bg);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.08);
    border: 1px solid var(--border);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    transition: top 0.1s linear;
    will-change: top;
}
body.dark-mode .sticky-sidebar {
    background: var(--dm-card);
    border-color: var(--dm-border);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
}
.sticky-sidebar h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}
body.dark-mode .sticky-sidebar h3 {
    color: var(--dm-text);
}
.order-steps-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}
.order-steps-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgb(2 179 255 / 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgb(245 158 11 / 0.1) 0%, transparent 50%);
}
body.dark-mode .order-steps-section {
    background: linear-gradient(135deg, var(--dm-card) 0%, #1e293b 100%);
}
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.step {
    text-align: center;
    position: relative;
}
.step::after {
    content: "";
    position: absolute;
    top: 60px;
    right: -0.75rem;
    width: 1.5rem;
    height: 2px;
    background: var(--primary);
    opacity: 0.5;
}
.step:last-child::after {
    display: none;
}
.step-visual {
    position: relative;
    margin-bottom: 1rem;
    perspective: 800px;
}
.flip-container {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    cursor: pointer;
    position: relative;
}
.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}
.flip-container:hover .flip-card,
.flip-container:focus .flip-card {
    transform: rotateY(180deg);
}
.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.08);
}
.flip-front {
    background: var(--bg);
    border: 2px solid var(--primary);
    flex-direction: column;
    gap: 0.75rem;
}
body.dark-mode .flip-front {
    background: var(--dm-card);
    border-color: var(--dm-primary);
}
.flip-back {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    transform: rotateY(180deg);
    line-height: 1.3;
    font-weight: 500;
    text-align: center;
}
body.dark-mode .flip-back {
    background: linear-gradient(135deg, var(--dm-primary) 0%, #0056b3 100%);
}
.flip-front img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.1));
}
.step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--secondary) 0%, #d97706 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgb(245 158 11 / 0.25);
    position: absolute;
    top: -10px;
    left: -10px;
    z-index: 2;
}
.step-heading {
    color: var(--dark);
    margin-top: 0.75rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.25rem;
}
.step-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}
body.dark-mode .step-heading {
    color: var(--dm-text);
}
.steps-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}
.reviews-section {
    padding: 2rem 0;
    background: var(--bg-lavender);
    position: relative;
}
body.dark-mode .reviews-section {
    background: var(--dm-card);
}
.testimonial-card {
    background: var(--bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.06);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
    min-height: 220px;
    height: auto;
    display: flex;
    flex-direction: column;
    border: solid 0.8px var(--primary);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgb(0 0 0 / 0.1);
}
body.dark-mode .testimonial-card {
    background: var(--dm-sidebar);
    border-color: var(--dm-border);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
}
.testimonial-quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 20px rgb(2 179 255 / 0.25);
}
body.dark-mode .testimonial-quote-icon {
    background: linear-gradient(135deg, var(--dm-primary) 0%, #0056b3 100%);
}
.testimonial-text {
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.25rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}
body.dark-mode .testimonial-text {
    color: var(--dm-text);
}
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
    gap: 0.75rem;
    flex-wrap: wrap;
}
body.dark-mode .testimonial-footer {
    border-top-color: var(--dm-border);
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.125rem;
}
body.dark-mode .name {
    color: var(--dm-text);
}
.subject {
    color: var(--gray);
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
}
body.dark-mode .subject {
    color: var(--dm-gray);
}
.testimonial-rating {
    color: gold;
    letter-spacing: 1px;
}
.reviews-swiper {
    padding: 20px 5px 30px;
}
.swiper-pagination {
    position: relative;
    margin-top: 1rem;
}
.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.3;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
}
.faq-section {
    padding: 2rem 0;
    background: var(--bg);
}
body.dark-mode .faq-section {
    background: var(--dm-bg);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.accordion-item:hover {
    border-color: var(--primary);
}
body.dark-mode .accordion-item {
    border-color: var(--dm-border);
}
body.dark-mode .accordion-item:hover {
    border-color: var(--dm-primary);
}
.accordion-header {
    width: 100%;
    padding: 1rem;
    background: var(--bg-soft);
    border: none;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    position: relative;
}
.accordion-header:hover {
    background: rgb(2 179 255 / 0.05);
}
body.dark-mode .accordion-header {
    background: var(--dm-card);
    color: var(--dm-text);
}
body.dark-mode .accordion-header:hover {
    background: rgb(3 164 228 / 0.1);
}
.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--primary);
}
.accordion-header[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--secondary);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg);
}
body.dark-mode .accordion-content {
    background: var(--dm-card);
}
.accordion-content.active {
    max-height: 1000px;
}
.accordion-content p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}
body.dark-mode .accordion-content p {
    color: var(--dm-text);
}
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary);
    z-index: 9999;
    transition: width 0.1s ease;
}
@media (max-width: 1200px) {
    .hero-grid {
        gap: 1.5rem;
    }
    .service-layout {
        grid-template-columns: 1fr 300px;
        gap: 1.5rem;
    }
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .step:nth-child(2)::after {
        display: none;
    }
    .step::after {
        right: -1rem;
    }
}
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        max-width: 800px;
        margin: 0 auto;
    }
    .hero-content > p {
        max-width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    .service-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .service-sidebar {
        order: 1;
        height: auto;
    }
    .service-main-content {
        order: 2;
    }
    .sticky-sidebar {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
    }
    .steps-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }
    .step::after {
        display: none;
    }
    .swiper-container {
        padding: 0 30px;
    }
}
@media (max-width: 768px) {
    .service-hero {
        padding: 1.5rem 0;
        min-height: auto;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .writers-section,
    .service-content-section,
    .order-steps-section,
    .reviews-section,
    .faq-section {
        padding: 1.5rem 0;
    }
    .service-main-content {
        padding: 1rem;
    }
    .flip-container {
        width: 120px;
        height: 120px;
    }
    .flip-front,
    .flip-back {
        padding: 1rem;
    }
    .order-steps-section .section-header h2 {
        font-size: clamp(1.2rem, 5vw, 1.55rem);
    }
    .order-steps-section .section-header .subtitle {
        font-size: 0.9rem;
    }
    .step-heading {
        font-size: 0.92rem;
        line-height: 1.3;
    }
    .flip-back {
        font-size: 0.8rem;
        line-height: 1.35;
    }
    .flip-back p {
        margin: 0;
    }
    .flip-front img {
        width: 50px;
        height: 50px;
    }
    .accordion-header {
        padding: 0.875rem;
    }
    .accordion-content p {
        padding: 0 0.875rem 0.875rem;
    }
    .testimonial-card {
        padding: 1.25rem;
        min-height: 200px;
    }
    .testimonial-text {
        font-size: 0.93rem;
        line-height: 1.5;
        padding-left: 1rem;
    }
    .testimonial-text::before {
        font-size: 1.6rem;
    }
    .name {
        font-size: 0.95rem;
    }
    .subject {
        font-size: 0.82rem;
    }
    .testimonial-rating {
        font-size: 0.9rem;
    }
    .swiper-container {
        padding: 0 25px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }
}
@media (max-width: 576px) {
    .section-header {
        margin-bottom: 1.5rem;
    }
    .writer-actions {
        flex-direction: column;
    }
    .sticky-sidebar {
        padding: 1rem;
    }
    .content-cta {
        padding: 1.25rem;
    }
    .testimonial-card {
        padding: 1rem;
    }
    .testimonial-quote-icon {
        width: 35px;
        height: 35px;
        top: -12px;
        left: 15px;
    }
    .service-layout-wrapper {
        padding: 0 0.75rem;
    }
}
@media (max-width: 480px) {
    .hero-container {
        padding: 0 0.75rem;
    }
    .badge-text {
        padding: 0.4rem 0.875rem;
    }
    .service-main-content {
        padding: 0.875rem;
        border-radius: 8px;
    }
    .sticky-sidebar {
        padding: 0.875rem;
        border-radius: 10px;
    }
    .steps-container {
        gap: 1rem 0.75rem;
    }
    .flip-container {
        width: 92px;
        height: 92px;
    }
    .flip-front,
    .flip-back {
        padding: 0.6rem;
    }
    .flip-front img {
        width: 40px;
        height: 40px;
    }
    .step-number {
        width: 26px;
        height: 26px;
    }
    .step-heading {
        font-size: 0.82rem;
    }
    .flip-back {
        font-size: 0.72rem;
    }
    .testimonial-card {
        min-height: 180px;
    }
    .testimonial-text {
        font-size: 0.88rem;
        margin-bottom: 1rem;
    }
    .name {
        font-size: 0.88rem;
    }
    .subject {
        font-size: 0.78rem;
    }
    .swiper-container {
        padding: 0 20px;
    }
}
