/* --- 기본 설정 (Reset & Variables) --- */
:root {
    --primary-color: #2A3B5C;
    --secondary-color: #2e446a;
    --accent-color: #f39c12;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f5f0e1;
    --bg-dark: #1a253a;
    --font-main: 'Noto Sans KR', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-point { background-color: var(--secondary-color); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--text-white); }
.text-white h2, .text-white p { color: var(--text-white); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #9198e5;
    color: var(--text-white);
}
.btn-primary:hover { background-color: #7d82be; }

.btn-large {
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(145, 152, 229, 0.3);
}

.about-action-wrap {
    margin-top: 40px;
    margin-bottom: -20px;
}

.review-action-wrap {
    margin-top: 10px;
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(222, 240, 255, 0.8);
    color: var(--text-white);
}
.btn-outline-white:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}
.btn-full { width: 100%; }

.section-header { margin-bottom: 50px; }
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: inline-block;
    border-bottom: 2px solid;
    padding-bottom: 10px;
}
.section-header p { font-size: 1.1rem; color: var(--text-light); }

.section-header.text-white h2,
.section-header.text-white p {
    color: var(--text-white);
}

.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #e66465, #9198e5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.header.scrolled {
    background-color: rgba(245, 240, 225, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.scrolled::after {
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: padding 0.4s ease;
}
.header.scrolled .nav-container { padding: 10px 0; }

.logo-wrap img {
    height: 35px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 10px 15px;
    margin-left: 10px;
    transition: color 0.3s;
}

.header.scrolled .nav-link { color: var(--text-dark); }
.nav-link:hover,
.header.scrolled .nav-link:hover { color: var(--secondary-color); }
.nav-link.btn-point {
    background-color: #9198e5;
    color: white !important;
    border-radius: 4px;
    padding: 10px 20px;
}
.nav-link.btn-point:hover { background-color: #7d82be; }

.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url("../img/BG.png");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-white);
    margin-top: 0;
    -webkit-mask-image: linear-gradient(#000, #000), url("../img/Mask.png");
    mask-image: linear-gradient(#000, #000), url("../img/Mask.png");

    -webkit-mask-size: 100% calc(100% - 79px), 100% 80px;
    mask-size: 100% calc(100% - 79px), 100% 80px;

    -webkit-mask-position: top center, bottom center;
    mask-position: top center, bottom center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(102, 116, 106, 0.2), rgba(42, 59, 92, 0.1));
}

.hero-content-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: flex-start; 
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.0rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content h1 .highlight {
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
    color: #90D65D;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.hero-content h2 {
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
    margin-left: 62px;
    color: #90D65D;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 420;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.hero-extras {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.btn-call-hero {
    font-size: 1.1rem;
    padding: 12px 35px;
    display: inline-flex;
    align-items: center;
    margin-left: 28px;
    margin-top: 12px;
}

.scroll-down-container {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down-btn {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
}

.scroll-down-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -12px;
    margin-left: -10px;
    border-right: 3px solid #ffffff; 
    border-bottom: 3px solid #ffffff;
    transform: rotate(45deg);
    box-sizing: border-box;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    40% {
        transform: rotate(45deg) translate(-10px, -10px);
    }
    60% {
        transform: rotate(45deg) translate(-5px, -5px);
    }
}

.desktop-widget {
    position: fixed;
    bottom: 10%;
    right: 20px;
    z-index: 999;
    width: 220px;
    background-color: #f5f0e1;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    font-size: 14px;
    transition: transform 0.4s ease-out;
    padding-left: 6px;
}

.desktop-widget.minimized {
    transform: translateX(calc(100% + 14px));
}

.desktop-widget:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #e66465, #9198e5);
    z-index: 1000;
}

.widget-header {
    background-color: transparent;
    color: #333;
    padding: 25px 12px 10px;
    text-align: center;
}
.widget-header h4 { 
    font-size: 1.1rem; 
    margin: 0; 
    font-weight: 700; 
    color: #e66465;
}

.simple-form { padding: 0 15px 15px; }

.simple-form input[type="text"],
.simple-form input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: rgba(255,255,255,0.8);
}

.simple-privacy {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: #666;
}
.simple-privacy input { margin-right: 5px; }

.btn-simple-submit {
    width: 100%;
    background: linear-gradient(to right, #e66465, #9198e5);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: opacity 0.3s;
}
.btn-simple-submit:hover { opacity: 0.9; }

.widget-contact-info {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 15px;
    text-align: center;
    background-color: transparent;
}
.widget-contact-info p { font-size: 0.85rem; color: #666; margin-bottom: 5px; }
.widget-tel {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.mobile-bottom-bar { display: none; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-box { background: #fff; padding: 40px 30px; text-align: center; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.24s; }
.feature-box:hover { transform: translateY(-10px); }
.icon-box { margin-bottom: 20px; }
.icon-box img { height: 160px; width: auto; }
.feature-box h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-color); }

.grid-2-large { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.service-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.service-item:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.service-item img { width: 100%; height: 250px; object-fit: cover; }
.service-text { padding: 30px; }
.service-text h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-color); }

.process-steps { display: flex; justify-content: space-between; text-align: center; position: relative; }
.step { flex: 1; padding: 20px; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -50%; width: 100%; height: 2px; background-color: rgba(255,255,255,0.3); z-index: 0; }
.step-number { display: inline-block; width: 60px; height: 60px; background-color: var(--text-white); color: var(--secondary-color); font-size: 1.5rem; font-weight: 700; line-height: 60px; border-radius: 50%; margin-bottom: 20px; position: relative; z-index: 1; }
.step h4 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { opacity: 0.8; font-size: 0.95rem;}

.contact-container { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: center; }
.contact-info { padding-left: 80px; }
.contact-info h2 { 
    font-size: 2rem; 
    color: var(--primary-color); 
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid;
    padding-bottom: 10px;
}
.contact-info > p { margin-bottom: 40px; color: var(--text-light); }
.info-item { margin-bottom: 25px; font-size: 1.1rem; }
.info-item strong { display: block; margin-bottom: 5px; color: var(--primary-color);}
.contact-form-box { background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--primary-color); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary-color); }

.animate-ready {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-ready.animate-triggered {
    opacity: 1;
    transform: translateY(0);
}

/* 푸터 */
.footer { background-color: var(--bg-dark); color: #aaa; padding: 50px 0; text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: var(--text-white); margin-bottom: 20px; }
.footer-logo span { color: var(--secondary-color); }
.footer-links p { margin-bottom: 10px; font-size: 0.9rem; }
.footer-links p a[href^="tel:"] { color: inherit; text-decoration: none; pointer-events: none; cursor: text; }
.copyright { margin-top: 30px; font-size: 0.85rem;}



.form-group label .required-mark {
    color: red;
    margin-left: 2px;
}

.privacy-agreement {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
    position: relative;
}

.privacy-agreement input[type='checkbox'] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.privacy-agreement label {
    cursor: pointer;
    margin-right: 10px;
    color: var(--text-dark);
}

.btn-view-privacy {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-left: auto;
}

.btn-view-privacy:hover {
    color: var(--primary-color);
}


.privacy-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    max-width: 400px;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 15px;
    z-index: 100;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
    white-space: normal;
    }


.privacy-popup p {
    margin-bottom: 10px;
}

.privacy-popup p:last-child {
    margin-bottom: 0;
}

.privacy-popup.show {
    display: block;
}


.phone-input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

#inquiryForm .phone-input-group .phone-part {
    width: 30%; 
    text-align: center;
}

.simple-phone-group {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
}

.simple-form .phone-input-group .phone-part {
    width: 30% !important;
    margin-bottom: 0 !important;
    padding: 8px !important;
    text-align: center;
}

.phone-dash {
    margin: 0 2px;
    color: #666;
}
.default-value-color {
    color: #666 !important
}

.blog-posts {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    margin-top: 50px;
    scrollbar-width: none;
    padding-bottom: 20px;
}

.blog-posts::-webkit-scrollbar {
    display: none;
}

.blog-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    flex: 0 0 calc(33.333% - 20px); 
    min-width: 300px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-slider-wrapper {
    position: relative;
    padding: 0 40px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.slider-btn.prev {
    left: -10px; 
}
.slider-btn.next { 
    right: -10px; 
}

@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5rem; margin-left: 20px; }
    .hero-content h1 .highlight { font-size: 2.8rem; }
    .hero-content h2 { font-size: 1.5rem; margin-left: 38px;}
    .hero-content p { font-size: 1.2rem; margin-left: 20px;}
    .hero-logo-img { height: 90px; margin-left: 20px;}
    .btn-call-hero { margin-left: 10px; margin-top: 20px;}

    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; }
    .contact-info { padding-left: 0; }
    .process-steps { flex-wrap: wrap; }
    .step { flex: 0 0 50%; }
    .step:not(:last-child)::after { display: none; }
    .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
}

@media (max-width: 768px) {
    .header { background: linear-gradient(to top, rgba(255, 255, 225, 0),rgba(154, 79, 62, 0.1)); }
    .header::after { display: none; }

    .nav-container { justify-content: center; padding: 15px 0; }
    .nav-list { display: none; }
    
    .hero { 
        min-height: 620px; 
        max-height: 684px; 
        align-items: flex-start; 
        padding-top: 130px;
        background-image: url("../img/mobileBG.png");
    }
    .hero-content h1 { font-size: 1.4rem; margin-left: 10px; }
    .hero-content h1 .highlight { font-size: 1.6rem; }
    .hero-content h2 { font-size: 1.1rem; margin-left: 30px; margin-top: 5px; margin-bottom: 5px;}
    .hero-content p { font-size: 0.95rem; margin-left: 10px; }
    .hero-logo-img { height: 70px; margin-left: 10px; margin-top: 0px;}
    .btn-call-hero { font-size: 0.9rem; padding: 12px 12px; margin-top: 0px; margin-left: 14px; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2-large { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .icon-box img { height: auto; width: 220px; }
    .grid-2-large .service-item .service-text { padding: 15px; }
    .grid-2-large .service-item img { height: 120px; }
    .grid-2-large .service-item h3 { font-size: calc(1.1rem - 3px); margin-bottom: 5px; }
    .grid-2-large .service-item p { font-size: calc(0.9rem - 3px); word-break: keep-all; }

    .section-padding { padding: 50px 0; }
    .section-header h2 { font-size: 1.4rem; }
    .section-header p { font-size: 1rem; }
    
    .btn-large {
        font-size: 1.08rem;
        padding: 13.5px 36px;
    }

    .about-action-wrap {
        margin-top: 30px;
        margin-bottom: -25px;
    }

    .review-action-wrap {
        margin-top: 0px;
    }
    .process-steps { 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        justify-content: flex-start;
        gap: 15px; 
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .process-steps::-webkit-scrollbar { display: none; }
    
    .hero-logo-img { filter: brightness(0) invert(1) drop-shadow(2px 2px 4px rgba(0,0,0,0.75)); }
    .step { 
        flex: 0 0 75%;
        scroll-snap-align: center;
        border-bottom: none;
        background: rgba(255,255,255,0.1); 
        border-radius: 12px;
        margin: 0; 
    }
    .contact-form-box { padding: 25px; }

    .desktop-widget { display: none; }

    .scroll-down-btn span { margin-top: 52px; }

    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        
        background-color: #f5f0e1;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
        color: #000000;
        overflow: hidden;
        
        justify-content: space-around;
        align-items: center;
        padding: 5px 0;
        padding-bottom: calc(5px + env(safe-area-inset-bottom));
        z-index: 2000;
        border-top: none; 
        transition: transform 0.24s ease-out;

        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    .mobile-bottom-bar.minimized {
        transform: translateY(calc(100% - 6px));
    }

    .mobile-bottom-bar:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(to right, #e66465, #9198e5);
        z-index: 2001;
    }

    .mobile-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #333;
        padding: 0; 
        transition: all 0.3s ease;
        position: relative;
        z-index: 2002;
    }
    
    .mobile-item:active { transform: scale(0.95); }
    
    .mobile-item .icon-img { 
        width: 24px;
        height: 32px;
        object-fit: contain;
        margin-bottom: 4px; 
        margin-top: 4px; 
        transition: opacity 0.3s;
    } 
    .mobile-item .text { 
        font-size: 0.75rem;
        color: #333; 
        font-weight: 500;
    } 
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0%;
        width: 2vw;
        height: 100vh;
        background: linear-gradient(to bottom, #e66465, #9198e5);
        z-index: 0;
        opacity: 0.1;
    }
    .call-item {
        flex: 1.2;
        background-color: transparent;
        width: auto;
        height: auto;
        border: none;
        box-shadow: none;
        margin-top: 1px;
        border-radius: 0;
    }
    .call-item .icon-img {
        width: 32px;
        height: 32px;
        margin-bottom: 2px;
    }

    .call-item .text {
        color: #e66465;
        font-weight: 700;
    }

    #contact.section-padding {
        padding: 30px 0;
        margin-bottom: 20%;
    }

    .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 18x;
    }
    .contact-info > p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    .info-item {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .info-item strong {
        margin-bottom: 2px;
    }

    .contact-form-box {
        padding: 20px 15px;
    }

    .form-group {
        margin-bottom: 10px;
    }
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 8px;
        font-size: 0.9rem;
        height: auto;
    }
    
    #message {
        height: 100px;
    }

    .privacy-agreement {
        font-size: calc(0.95rem - 4px);
        margin-bottom: 10px;
    }
    .privacy-agreement label {
        font-size: calc(0.95rem - 4px);
    }
    .btn-view-privacy {
        font-size: calc(0.85rem - 4px);
    }

    .footer { padding: 30px;}
    .footer-links p {
        margin-bottom: 3px;
        font-size: 0.7rem;
    }
    
    .blog-slider-wrapper {
        padding: 0; 
        position: relative;
    }
    
    .slider-btn {
        display: flex;
        width: 30px;
        height: 30px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.8);
    }
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
    
    .blog-posts {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        scroll-behavior: smooth;
    }
    
    .blog-posts::-webkit-scrollbar {
        display: none; 
    }

    .blog-card {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: center;
        margin-right: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .blog-card {
        padding: 0 15px;
        box-sizing: border-box;
        background: transparent;
    }
    
    .blog-card > * {
         background: #fff;
         border-radius: 12px;
         overflow: hidden;
         box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .blog-card:hover {
        transform: none;
        box-shadow: none;
    }
}

