/* =========================================
   근영방수 - 매거진 스타일 시공 사례 상세
   Magazine Style v2.0
   ========================================= */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Primary Colors */
    --primary: #0047AB;
    --primary-light: #e6f0ff;
    --primary-dark: #003380;
    --primary-rgb: 0, 71, 171;
    
    /* Accent Colors */
    --accent: #FFD100;
    --accent-light: #fff8e0;
    --accent-dark: #e6bc00;
    
    /* Surface Colors */
    --surface-light: #FFFFFF;
    --surface-gray: #F3F4F6;
    
    /* Text Colors */
    --text-main: #1F2937;
    --text-sub: #4B5563;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --red-50: #FEF2F2;
    --red-500: #EF4444;
    --green-400: #4ADE80;
    --green-600: #16A34A;
    --blue-50: #EFF6FF;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
}

/* =========================================
   Layout
   ========================================= */
.mag-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* =========================================
   Breadcrumb
   ========================================= */
.mag-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.mag-breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.mag-breadcrumb a:hover {
    color: var(--primary);
}

/* =========================================
   Hero Section
   ========================================= */
.mag-hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.mag-hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--gray-50);
    z-index: -10;
    transform: skewY(-2deg);
    transform-origin: top left;
    height: 150%;
    margin-top: -50%;
}

.mag-hero-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.mag-badge-black {
    background-color: black;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mag-badge-line {
    width: 3rem;
    height: 1px;
    background-color: var(--gray-300);
}

.mag-badge-blue {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mag-badge-tag {
    background-color: var(--accent);
    color: var(--gray-900);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
}

.mag-hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-break: keep-all;
}

.mag-hero-title .highlight {
    display: inline;
    position: relative;
}

.mag-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background-color: rgba(255, 209, 0, 0.4);
    z-index: -1;
}

.mag-hero-title .blue {
    color: var(--primary);
}

.mag-hero-quote {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.75;
    max-width: 48rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.mag-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    padding: 1.5rem 0;
}

.mag-stat-label {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.mag-stat-value {
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: 700;
}

.mag-stat-value.warning {
    color: var(--red-500);
}

/* =========================================
   Article
   ========================================= */
.mag-article {
    padding: 3rem 0 4rem;
}

.mag-section {
    margin-bottom: 6rem;
}

.mag-section:last-child {
    margin-bottom: 0;
}

/* Section Header */
.mag-section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mag-section-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    user-select: none;
    margin-bottom: -1.5rem;
}

.mag-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--accent);
}

/* Prose */
.mag-prose {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mag-prose p {
    margin-bottom: 1rem;
}

.mag-prose strong {
    color: var(--primary);
    font-weight: 600;
}

/* =========================================
   Magazine Quote
   ========================================= */
.mag-quote {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--accent-light);
    border-radius: 0 1.5rem 0 1.5rem;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mag-quote::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: -0.25rem;
    font-size: 4rem;
    color: var(--accent);
    font-family: Georgia, serif;
    z-index: 0;
    opacity: 0.5;
}

.mag-quote p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    z-index: 10;
    margin: 0;
}

.mag-quote .attribution {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mag-quote.accent {
    background-color: var(--primary-light);
}

.mag-quote.accent::before {
    color: var(--primary);
}

/* =========================================
   Content Figure - 높이 제한 적용
   ========================================= */
.mag-figure {
    margin: 1.5rem 0;
}

.mag-figure img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
}

.mag-figure.small img {
    max-height: 280px;
}

.mag-figure.medium img {
    max-height: 350px;
}

.mag-figure.auto img {
    max-height: none;
    object-fit: contain;
}

.mag-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
    font-style: italic;
}

/* =========================================
   Info Card
   ========================================= */
.mag-info-card {
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-100);
}

.mag-info-card h3 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

/* =========================================
   Info Box
   ========================================= */
.mag-info-box {
    padding: 1.25rem;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.mag-info-box strong {
    display: block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* =========================================
   Warning Box
   ========================================= */
.mag-warning-box {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--red-50);
    border: 1px solid #fca5a5;
    border-left: 4px solid var(--red-500);
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.5rem 0;
}

.mag-warning-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mag-warning-content {
    flex: 1;
}

.mag-warning-content strong {
    display: block;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.mag-warning-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.mag-warning-content ul {
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
}

/* =========================================
   Tip Box
   ========================================= */
.mag-tip-box {
    margin: 1.5rem 0;
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.mag-tip-box .tip-icon {
    font-size: 1.5rem;
}

.mag-tip-box h4 {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.mag-tip-box p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.mag-tip-box p:last-child {
    margin-bottom: 0;
}

/* =========================================
   Process Item - 컴팩트하게 조정
   ========================================= */
.mag-process-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-100);
}

.mag-process-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mag-process-image {
    width: 100%;
    position: relative;
}

.mag-process-image .step-number {
    position: absolute;
    top: -0.75rem;
    left: -0.5rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-100);
    z-index: -1;
}

.mag-process-image .img-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 280px;
}

.mag-process-image img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.mag-process-image:hover img {
    transform: scale(1.03);
}

.mag-process-content {
    width: 100%;
}

.mag-process-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.mag-process-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.mag-process-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mag-process-tag {
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   Result Card - 컴팩트하게 조정
   ========================================= */
.mag-result-card {
    background-color: var(--gray-50);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    margin: 2rem 0;
}

.mag-result-content {
    padding: 1.5rem;
}

.mag-result-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.mag-result-text {
    order: 2;
}

.mag-result-text .label {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.75rem;
}

.mag-result-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mag-result-text h3 .gradient {
    background: linear-gradient(to right, var(--primary), var(--blue-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mag-result-text > p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.mag-result-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.mag-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
}

.mag-result-item .icon {
    color: var(--green-600);
    font-size: 1.25rem;
}

.mag-result-item span {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

.mag-result-image {
    width: 100%;
    order: 1;
}

.mag-result-image-inner {
    position: relative;
}

.mag-result-image-inner .shadow {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 71, 171, 0.1);
    border-radius: 0.75rem;
    transform: rotate(2deg) scale(0.95);
    transition: transform 0.5s;
}

.mag-result-image-inner:hover .shadow {
    transform: rotate(3deg) scale(0.95);
}

.mag-result-image-inner .img-wrapper {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    max-height: 300px;
}

.mag-result-image-inner img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.mag-result-image-inner:hover img {
    transform: scale(1.03);
}

.mag-result-image-inner .badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--gray-900);
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mag-result-bar {
    height: 0.375rem;
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

/* =========================================
   Tables - 컴팩트하게 조정
   ========================================= */
.mag-summary-table {
    margin: 1.5rem 0;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
}

.mag-summary-table table {
    width: 100%;
    border-collapse: collapse;
}

.mag-summary-table th,
.mag-summary-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.875rem;
}

.mag-summary-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    width: 30%;
    border-bottom: 1px solid var(--gray-200);
}

.mag-summary-table td {
    background: white;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-100);
}

.mag-summary-table tr:last-child th,
.mag-summary-table tr:last-child td {
    border-bottom: none;
}

.mag-result-table {
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
}

.mag-result-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.mag-result-table thead th {
    background: var(--gray-900);
    color: white;
    font-weight: 600;
    padding: 0.875rem;
    font-size: 0.8125rem;
    text-align: center;
}

.mag-result-table thead th.highlight {
    background: var(--primary);
}

.mag-result-table tbody td {
    padding: 0.875rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.875rem;
    text-align: center;
}

.mag-result-table tbody td:first-child {
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
    text-align: left;
}

.mag-result-table tbody td.highlight-cell {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.mag-result-table tbody tr:last-child td {
    border-bottom: none;
}

/* Option Table */
.mag-option-table {
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
}

.mag-option-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.mag-option-table thead th {
    background: var(--gray-900);
    color: white;
    font-weight: 600;
    padding: 0.875rem;
    font-size: 0.8125rem;
    text-align: left;
}

.mag-option-table tbody td {
    padding: 0.875rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.8125rem;
    vertical-align: top;
    background: white;
    line-height: 1.5;
}

.mag-option-table tbody tr:last-child td {
    border-bottom: none;
}

.mag-option-table .option-name {
    font-weight: 700;
    color: var(--gray-900);
}

.mag-option-table .cost-low {
    color: var(--green-600);
    font-weight: 700;
}

.mag-option-table .cost-mid {
    color: var(--accent-dark);
    font-weight: 700;
}

.mag-option-table .cost-high {
    color: var(--primary);
    font-weight: 700;
}

.mag-option-table .result-bad {
    color: var(--red-500);
}

.mag-option-table .result-good {
    color: var(--green-600);
}

.mag-option-table tbody tr.selected-row td {
    background: var(--primary-light);
}

/* =========================================
   Related Section
   ========================================= */
.mag-related-section {
    background: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.mag-related-section h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.mag-related-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mag-related-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: white;
    border-radius: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
    text-decoration: none;
}

.mag-related-link:hover {
    background: var(--primary-light);
    transform: translateX(4px);
    border-color: var(--primary);
}

/* =========================================
   CTA Section
   ========================================= */
.mag-cta-section {
    background-color: var(--gray-900);
    padding: 3rem 1.25rem;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 2rem 0;
}

.mag-cta-section .glow-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
}

.mag-cta-section .glow-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background-color: var(--primary);
    border-radius: 50%;
    filter: blur(80px);
}

.mag-cta-section .glow-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background-color: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
}

.mag-cta-content {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.mag-cta-content h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mag-cta-content h2 .yellow {
    color: var(--accent);
}

.mag-cta-content > p {
    color: var(--gray-300);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mag-cta-phone {
    margin-bottom: 0.75rem;
}

.mag-cta-phone a {
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
    text-decoration: none;
}

.mag-cta-phone a:hover {
    transform: scale(1.05);
}

.mag-cta-phone .phone-icon {
    font-size: 1.25rem;
}

.mag-cta-note {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.mag-cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.mag-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.mag-cta-btn:active {
    transform: scale(0.95);
}

.mag-cta-btn.primary {
    background-color: var(--accent);
    color: var(--gray-900);
    box-shadow: 0 4px 12px rgba(255, 209, 0, 0.3);
}

.mag-cta-btn.primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.mag-cta-btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mag-cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   Before After Grid
   ========================================= */
.mag-before-after {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.mag-ba-item {
    position: relative;
}

.mag-ba-item .ba-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    z-index: 10;
}

.mag-ba-item.before .ba-label {
    background: var(--red-500);
    color: white;
}

.mag-ba-item.after .ba-label {
    background: var(--primary);
    color: white;
}

.mag-ba-item img {
    width: 100%;
    border-radius: 0.5rem;
    max-height: 220px;
    object-fit: cover;
}

.mag-ba-item figcaption {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
}

/* =========================================
   FAQ Section
   ========================================= */
.mag-faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.mag-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mag-faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.mag-faq-item h3::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mag-faq-item p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
    padding-left: 2rem;
}

/* =========================================
   Section Title (inline)
   ========================================= */
.mag-section-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2rem 0 1rem;
}

/* =========================================
   Responsive - Tablet (768px)
   ========================================= */
@media (min-width: 768px) {
    .mag-hero {
        padding: 4rem 0 3rem;
    }

    .mag-hero-title {
        font-size: 2.25rem;
    }

    .mag-hero-quote {
        font-size: 1.125rem;
    }

    .mag-hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .mag-section-header {
        flex-direction: row;
        align-items: baseline;
    }

    .mag-section-number {
        font-size: 5rem;
        margin-bottom: -2rem;
    }

    .mag-quote {
        margin: 2rem 1rem;
        padding: 2rem;
    }

    .mag-tip-box {
        flex-direction: row;
        align-items: flex-start;
    }

    .mag-process-item {
        flex-direction: row;
        gap: 2rem;
    }

    .mag-process-item.reverse {
        flex-direction: row-reverse;
    }

    .mag-process-item.reverse .mag-process-content {
        text-align: right;
    }

    .mag-process-item.reverse .mag-process-tags {
        justify-content: flex-end;
    }

    .mag-process-item.reverse .step-number {
        left: auto;
        right: -0.5rem;
    }

    .mag-process-image,
    .mag-process-content {
        width: 50%;
    }

    .mag-result-content {
        padding: 2rem;
    }

    .mag-result-grid {
        flex-direction: row;
    }

    .mag-result-text,
    .mag-result-image {
        flex: 1;
        order: unset;
    }

    .mag-cta-section {
        padding: 4rem 2rem;
    }

    .mag-cta-content h2 {
        font-size: 1.75rem;
    }

    .mag-cta-phone a {
        font-size: 2rem;
    }

    .mag-cta-buttons {
        flex-direction: row;
    }

    .mag-warning-box,
    .mag-tip-box {
        flex-direction: row;
    }

    .mag-before-after {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   Responsive - Desktop (1024px)
   ========================================= */
@media (min-width: 1024px) {
    .mag-hero-title {
        font-size: 2.5rem;
    }

    .mag-container {
        padding: 0;
    }

    .mag-article {
        padding: 3rem 0;
    }

    .mag-section {
        margin-bottom: 8rem;
    }
    
    .mag-figure img {
        max-height: 650px;
    }
    
    .mag-process-image .img-container,
    .mag-process-image img {
        max-height: 320px;
    }
}

/* =========================================
   Responsive - Mobile (480px)
   ========================================= */
@media (max-width: 480px) {
    .mag-hero {
        padding: 2.5rem 0 2rem;
    }

    .mag-hero-title {
        font-size: 1.5rem;
    }

    .mag-hero-quote {
        font-size: 0.9375rem;
        padding-left: 1rem;
    }

    .mag-section-number {
        font-size: 3rem;
    }

    .mag-section-title {
        font-size: 1.25rem;
    }

    .mag-quote p {
        font-size: 1rem;
    }

    .mag-process-image .step-number {
        font-size: 3rem;
    }

    .mag-cta-content h2 {
        font-size: 1.25rem;
    }

    .mag-cta-phone a {
        font-size: 1.5rem;
    }

    .mag-result-text h3 {
        font-size: 1.25rem;
    }
    
    .mag-figure img {
        max-height: 280px;
    }
    
    .mag-ba-item img {
        max-height: 180px;
    }
}
