/* ============================================
   ALLIES Celine Hair Salon - Main Stylesheet
   藍綠色主題一頁式網站
   ============================================ */

/* -------------------- CSS Variables -------------------- */
:root {
    /* Primary Colors - 清新青綠色系 (接近 #00f6e7 的柔和版本) */
    --primary: #3ec9c3;
    --primary-dark: #2a9e99;
    --primary-light: #5dd9d4;
    --primary-gradient: linear-gradient(135deg, #2a9e99 0%, #3ec9c3 50%, #5dd9d4 100%);
    
    /* Secondary Colors */
    --secondary: #4dbfba;
    --accent: #6ee0db;
    --accent-light: #a0ece8;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafa;
    --light-gray: #e8eeee;
    --gray: #6b7c7c;
    --dark-gray: #3a4545;
    --black: #1a2525;
    
    /* Text Colors */
    --text-primary: #1a2525;
    --text-secondary: #4a5858;
    --text-light: #6b7c7c;
    --text-white: #ffffff;
    
    /* Typography */
    --font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;
    
    /* Spacing */
    --section-padding: 100px 0;
    --section-padding-sm: 60px 0;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(62, 201, 195, 0.1);
    --shadow-md: 0 4px 20px rgba(62, 201, 195, 0.14);
    --shadow-lg: 0 8px 40px rgba(62, 201, 195, 0.18);
    --shadow-xl: 0 16px 60px rgba(62, 201, 195, 0.22);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

.backstretch {
    max-width: 100% !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* -------------------- Utility Classes -------------------- */
.section-padding {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* -------------------- Fixed Social Buttons -------------------- */
.fixed-social-btns {
    position: fixed;
    bottom: 80px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.fixed-social-btn {
    width: 54px;
    height: 54px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.fixed-social-btn:hover {
    color: var(--white);
    transform: scale(1.12);
}

.fixed-social-btn--line {
    background: #00B900;
}

.fixed-social-btn--line:hover {
    background: #00a000;
    box-shadow: 0 8px 25px rgba(0, 185, 0, 0.4);
}

.fixed-social-btn--ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.fixed-social-btn--ig:hover {
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

.fixed-social-btn--fb {
    background: #1877f2;
}

.fixed-social-btn--fb:hover {
    background: #166fe5;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* -------------------- Navigation -------------------- */
.navbar {
    padding: 15px 0;
    background: transparent;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(42, 158, 153, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}

.brand-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--accent-light);
    letter-spacing: 0.1em;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    padding: 8px 16px;
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
}

.nav-cta {
    background: var(--accent);
    border-radius: var(--radius-xl);
    padding: 8px 24px !important;
    margin-left: 10px;
    color: var(--white) !important;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* -------------------- Hero Section V2 -------------------- */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #1f8a86;
    overflow: hidden;
}

/* 單張形象照背景（當前啟用） */
.hero-v2__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #1f8a86 0%, #2a9e99 50%, #3ec9c3 100%);
}

.hero-v2__bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    background-image: url('../img/形象照/headshot.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 1;
    filter: brightness(1.05) contrast(1.05);
}

/* 輪播背景（暫時停用，可隨時切換回來） */
.hero-v2 > .backstretch {
    display: none;
    opacity: 1;
}

.hero-v2 > .backstretch img {
    object-position: center top;
}

.hero-v2__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(95deg, rgba(29, 127, 123, 0.8) 0%, rgba(35, 138, 134, 0.55) 30%, rgba(42, 158, 153, 0.2) 50%, rgba(62, 201, 195, 0.05) 70%, transparent 100%);
}

.hero-v2__accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 50%, transparent 100%);
}

.hero-v2__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding: 120px 0 80px;
}

.hero-v2__content {
    max-width: 560px;
}

.hero-v2__eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #b3f0ed;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-v2__title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 16px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.hero-v2__title-sub {
    display: block;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 400;
    color: #b3f0ed;
    margin-top: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-v2__stylist {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-v2__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-v2__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 4px 20px 4px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-v2__cta:hover {
    background: var(--accent-light);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(110, 224, 219, 0.35);
}

.hero-v2__promo {
    display: flex;
    justify-content: center;
}

.promo-card-v2 {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 4px 24px 4px 24px;
    padding: 36px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    max-width: 280px;
}

.promo-card-v2::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 6px 26px 6px 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-card-v2:hover::before {
    opacity: 1;
}

.promo-card-v2__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.promo-card-v2__label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.promo-card-v2__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.promo-card-v2__price-text {
    font-size: 0.9rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

.promo-card-v2__price-num {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.promo-card-v2__price-num small {
    font-size: 1.1rem;
    font-weight: 500;
    vertical-align: top;
    margin-left: 2px;
}

.promo-card-v2__note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.hero-v2__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.hero-v2__scroll-hint span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

@media (max-width: 991.98px) {
    .hero-v2__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 140px 0 100px;
        min-height: auto;
    }
    
    .hero-v2__bg::after {
        width: 65%;
        opacity: 0.85;
        filter: brightness(1.08) contrast(1.08);
    }
    
    .hero-v2__content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-v2__cta {
        margin: 0 auto;
    }
    
    .promo-card-v2 {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-v2__scroll-hint {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-v2 {
        min-height: 100vh;
    }
    
    .hero-v2__bg::after {
        width: 100%;
        top: 0;
        bottom: 0;
        height: 100%;
        background-position: center top;
        opacity: 1;
        filter: none;
    }
    
    .hero-v2__overlay {
        background: linear-gradient(180deg, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    }
    
    .hero-v2__content {
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        padding: 24px 20px;
        border-radius: 4px 16px 4px 16px;
        margin-top: 35vh;
    }
    
    .hero-v2 .backstretch img {
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
        top: 0 !important;
        object-fit: cover !important;
        object-position: center top;
    }
    
    .hero-v2__grid {
        padding: 80px 0 50px;
        gap: 28px;
        justify-content: flex-end;
    }
    
    .hero-v2__eyebrow {
        font-size: 0.72rem;
    }
    
    .hero-v2__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .hero-v2__title-sub {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }
    
    .hero-v2__stylist {
        font-size: 1rem;
    }
    
    .hero-v2__desc {
        font-size: 0.92rem;
    }
    
    .hero-v2__cta {
        padding: 12px 24px;
        font-size: 0.92rem;
    }
    
    .promo-card-v2 {
        padding: 24px 20px;
        max-width: 280px;
    }
    
    .promo-card-v2__price-num {
        font-size: 2.4rem;
    }
    
    .promo-card-v2__label {
        font-size: 0.88rem;
    }
    
    .promo-card-v2__note {
        font-size: 0.78rem;
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-gradient);
    overflow: hidden;
}

/* -------------------- Services Section V2 -------------------- */
.services-section-v2 {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(175deg, var(--off-white) 0%, #e8f0f0 50%, var(--off-white) 100%);
    overflow: hidden;
}

.services-bg-layer {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 5% 10%, rgba(62, 201, 195, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 95% 90%, rgba(110, 224, 219, 0.06) 0%, transparent 35%);
    pointer-events: none;
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.services-headline {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.services-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.services-intro-block {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 32px 36px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 4px 24px 4px 24px;
    color: var(--white);
}

.services-intro-block p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.services-intro-block p:last-child {
    margin-bottom: 0;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-block {
    background: var(--white);
    border-radius: 4px 20px 4px 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(62, 201, 195, 0.08);
    transition: all 0.4s ease;
}

.service-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(62, 201, 195, 0.14);
}

.service-block--featured {
    grid-column: span 2;
    background: var(--white);
    border-left: 4px solid var(--accent);
}

.service-block__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.service-block__num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(110, 224, 219, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    flex-shrink: 0;
}

.service-block__titles {
    flex: 1;
}

.service-block__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.service-block__subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    margin: 0;
}

.service-block__body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.85;
}

.service-block__body p {
    margin-bottom: 14px;
}

.service-block__body p:last-child {
    margin-bottom: 0;
}

.service-block__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.service-block__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.service-block__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.service-block__list--tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.service-block__list--tags li {
    padding: 6px 14px;
    background: var(--off-white);
    border-radius: 20px;
    font-size: 0.85rem;
}

.service-block__list--tags li::before {
    display: none;
}

.service-block__list--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-block__list--inline li {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
}

.service-block__list--inline li::before {
    display: none;
}

.service-block__highlight {
    padding: 14px 18px;
    background: rgba(110, 224, 219, 0.08);
    border-radius: 8px;
    color: var(--primary-dark);
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 0 !important;
}

.service-block--cta {
    grid-column: span 2;
    justify-self: center;
    width: 100%;
    max-width: 560px;
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 240px;
}

.service-cta-inner {
    color: var(--white);
}

.service-cta-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 16px;
}

.service-cta-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.service-cta-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-dark);
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-cta-btn:hover {
    background: var(--accent-light);
    color: var(--white);
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .services-section-v2 {
        padding: 70px 0 80px;
    }
    
    .services-intro-block {
        padding: 28px 24px;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .service-block--featured,
    .service-block--cta {
        grid-column: span 1;
        max-width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 767.98px) {
    .services-section-v2 {
        padding: 50px 0 60px;
    }
    
    .services-header {
        margin-bottom: 32px;
    }
    
    .services-intro-block {
        padding: 24px 20px;
        margin-bottom: 40px;
    }
    
    .services-intro-block p {
        font-size: 0.95rem;
    }
    
    .services-list {
        gap: 16px;
    }
    
    .service-block {
        padding: 24px 20px;
    }
    
    .service-block__title {
        font-size: 1.15rem;
    }
    
    .service-block--cta {
        min-height: 200px;
    }
}

.services-section {
    background: var(--off-white);
}

/* -------------------- Portfolio Section -------------------- */
.portfolio-section {
    background: var(--primary-dark);
    color: var(--white);
}

.portfolio-section .section-title {
    color: var(--white);
}

.portfolio-section .section-subtitle {
    color: var(--accent-light);
}

.portfolio-filter {
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    margin: 5px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* Portfolio Grid - Isotope Masonry with Bootstrap */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.portfolio-item {
    padding: 8px;
}

/* Ensure Bootstrap columns work with Isotope */
.portfolio-grid .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.portfolio-grid .col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.portfolio-grid .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-card img,
.portfolio-card video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.portfolio-card video.lazy-video {
    background: var(--bg-dark);
}

.portfolio-card .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a9e99 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card .video-placeholder.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio-card .video-placeholder::after {
    content: '';
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.portfolio-card:hover img,
.portfolio-card:hover video {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(42, 158, 153, 0.9) 0%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.load-more-btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 12px 32px;
    border-radius: var(--radius-xl);
}

.load-more-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* -------------------- Reviews Section -------------------- */
.reviews-section {
    background: var(--off-white);
}

.stars-display {
    margin-top: 16px;
}

.stars-display .star {
    color: #ffc107;
    font-size: 1.5rem;
    margin: 0 2px;
}

.reviews-swiper {
    padding: 40px 50px;
    position: relative;
}

.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next {
    color: var(--primary);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.reviews-swiper .swiper-button-prev:hover,
.reviews-swiper .swiper-button-next:hover {
    background: var(--primary);
    color: var(--white);
}

.reviews-swiper .swiper-button-prev::after,
.reviews-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

.review-slide {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.review-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-pagination-bullet {
    background: var(--primary);
}

.swiper-pagination-bullet-active {
    background: var(--accent);
}

/* -------------------- SEO Content Section -------------------- */
.seo-content-section {
    background: var(--white);
}

.seo-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 48px;
}

.article-header h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.article-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
}

.article-intro {
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    margin-bottom: 48px;
}

.article-intro p {
    margin-bottom: 16px;
    line-height: 1.9;
}

.article-intro p:last-child {
    margin-bottom: 0;
}

.article-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--light-gray);
}

.article-section:last-child {
    border-bottom: none;
}

.article-section h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--accent);
}

.article-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.9;
}

.article-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.article-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.article-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* -------------------- FAQ Section -------------------- */
.faq-section {
    background: var(--white);
}

.faq-section .section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--off-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition-base);
}

.faq-question:not(.collapsed) {
    background: var(--primary);
}

.faq-question:not(.collapsed) .faq-q-label,
.faq-question:not(.collapsed) .faq-q-text {
    color: var(--white);
}

.faq-question:not(.collapsed) .faq-toggle::before {
    transform: rotate(180deg);
    border-top-color: var(--white);
}

.faq-q-label {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.faq-question:not(.collapsed) .faq-q-label {
    background: var(--white);
    color: var(--primary);
}

.faq-q-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-toggle::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary);
    transition: var(--transition-base);
}

.faq-answer {
    background: var(--white);
}

.faq-a-content {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid var(--light-gray);
}

.faq-a-label {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.faq-a-content p {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* -------------------- Promotion Section V2 -------------------- */
.promo-v2 {
    position: relative;
    padding: 90px 0 100px;
    background: linear-gradient(160deg, #1d7f7b 0%, #238a86 50%, #2a9e99 100%);
    overflow: hidden;
}

.promo-v2__bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(110, 224, 219, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(93, 217, 212, 0.1) 0%, transparent 35%);
    pointer-events: none;
}

.promo-v2__wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 4px 28px 4px 28px;
    padding: 48px 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.promo-v2__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
    border-radius: 0 0 4px 4px;
}

.promo-v2__header {
    text-align: center;
    margin-bottom: 40px;
}

.promo-v2__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.promo-v2__title {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.promo-v2__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.promo-v2__grid {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--light-gray);
}

.price-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

.price-item__badge {
    position: absolute;
    top: 50%;
    left: -32px;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.price-item__name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.price-item__line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        var(--light-gray) 0,
        var(--light-gray) 4px,
        transparent 4px,
        transparent 8px
    );
    min-width: 40px;
}

.price-item__cost {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-item__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.price-item__unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

.price-item__note {
    position: absolute;
    right: 0;
    bottom: 4px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.price-item--hot {
    background: linear-gradient(90deg, rgba(110, 224, 219, 0.06) 0%, transparent 100%);
    margin: 0 -40px;
    padding: 20px 40px;
    border-left: 3px solid var(--accent);
}

.price-item--hot .price-item__num {
    color: var(--primary);
}

.promo-v2__cta {
    text-align: center;
    margin-top: 36px;
}

.promo-v2__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 4px 20px 4px 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-v2__btn:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(62, 201, 195, 0.4);
}

@media (max-width: 767.98px) {
    .promo-v2 {
        padding: 50px 16px 60px;
    }
    
    .promo-v2__wrapper {
        padding: 32px 20px 28px;
        margin: 0;
        border-radius: 4px 16px 4px 16px;
    }
    
    .promo-v2__wrapper::before {
        left: 20px;
        right: 20px;
    }
    
    .promo-v2__header {
        margin-bottom: 24px;
    }
    
    .promo-v2__title {
        font-size: 1.4rem;
    }
    
    .promo-v2__subtitle {
        font-size: 0.88rem;
    }
    
    .price-item {
        grid-template-columns: 1fr auto;
        gap: 8px;
        padding: 16px 0;
    }
    
    .price-item__line {
        display: none;
    }
    
    .price-item__name {
        font-size: 1rem;
    }
    
    .price-item__badge {
        position: static;
        transform: none;
        grid-column: 1 / -1;
        margin-bottom: -4px;
        font-size: 0.6rem;
    }
    
    .price-item--hot {
        margin: 0 -20px;
        padding: 14px 20px;
    }
    
    .price-item__num {
        font-size: 1.4rem;
    }
    
    .price-item__unit {
        font-size: 0.75rem;
    }
    
    .price-item__note {
        position: static;
        grid-column: 1 / -1;
        margin-top: -2px;
        font-size: 0.7rem;
    }
    
    .promo-v2__cta {
        margin-top: 24px;
    }
    
    .promo-v2__btn {
        padding: 12px 28px;
        font-size: 0.92rem;
    }
}

/* -------------------- About Section V2 -------------------- */
.about-section-v2 {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(165deg, #f0f7f7 0%, #e8f2f2 40%, #f5f9f9 100%);
    overflow: hidden;
}

.about-bg-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
}

.about-accent-shape {
    position: absolute;
    top: -80px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(110, 224, 219, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.about-label .label-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.about-label .label-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
    align-items: start;
}

/* Profile Card */
.profile-card {
    position: relative;
    background: var(--white);
    border-radius: 24px 4px 24px 4px;
    padding: 32px 28px 36px;
    box-shadow: 0 8px 40px rgba(62, 201, 195, 0.1);
}

.profile-corner {
    position: absolute;
    top: -8px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 0 0 30px 30px;
    opacity: 0.9;
}

.profile-photo-wrap {
    position: relative;
    margin-bottom: 24px;
}

.photo-frame {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.photo-placeholder-v2 {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder-v2 span {
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
}

.photo-decoration {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 12px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-light) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0.6;
}

.profile-content {
    text-align: center;
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.profile-greeting {
    font-size: 1rem;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.profile-bio .bio-highlight {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 500;
}

/* Contact Pills */
.contact-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pill-phone {
    background: var(--off-white);
    color: var(--text-secondary);
    border: 1px solid var(--light-gray);
}

.pill-phone:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pill-line {
    background: #00B900;
    color: var(--white);
}

.pill-line:hover {
    background: #00a000;
    color: var(--white);
    transform: translateY(-2px);
}

.pill-ig {
    background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
    color: var(--white);
}

.pill-ig:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

/* Location Card V2 */
.location-card-v2 {
    background: var(--white);
    border-radius: 4px 24px 4px 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(62, 201, 195, 0.1);
    margin-bottom: 24px;
}

.location-header {
    display: flex;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--light-gray);
}

.location-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.location-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.location-text .address-main {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.location-text .address-hint {
    font-size: 0.82rem;
    color: var(--text-light);
}

.map-container-v2 {
    position: relative;
}

.map-container-v2 iframe {
    display: block;
}

/* Philosophy Card */
.philosophy-card {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 16px;
    padding: 32px 28px 28px;
    color: var(--white);
}

.philosophy-quote-mark {
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.philosophy-text-v2 {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.philosophy-signature {
    font-size: 0.9rem;
    color: var(--accent-light);
    text-align: right;
    font-style: italic;
}

/* About Section Responsive */
@media (max-width: 991.98px) {
    .about-section-v2 {
        padding: 70px 0 80px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-accent-shape {
        width: 250px;
        height: 250px;
        top: -40px;
        right: -60px;
    }
    
    .profile-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .about-section-v2 {
        padding: 50px 0 60px;
    }
    
    .about-label {
        margin-bottom: 32px;
    }
    
    .profile-card {
        padding: 24px 20px 28px;
    }
    
    .photo-frame {
        width: 120px;
        height: 120px;
    }
    
    .photo-placeholder-v2 span {
        font-size: 2.8rem;
    }
    
    .profile-name {
        font-size: 1.4rem;
    }
    
    .philosophy-card {
        padding: 28px 22px 24px;
    }
    
    .philosophy-text-v2 {
        font-size: 0.95rem;
        line-height: 1.9;
    }
}

/* Legacy styles kept for compatibility */
.about-section {
    background: var(--off-white);
}

/* -------------------- Contact Section -------------------- */
.contact-section {
    background: var(--primary-dark);
}

/* LINE CTA Card */
.line-cta-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}

.line-cta-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.line-cta-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.line-qr-large {
    max-width: 180px;
    margin: 0 auto 24px;
}

.line-qr-large img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00B900;
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 500;
    transition: var(--transition-base);
}

.btn-line:hover {
    background: #00a000;
    color: var(--white);
    transform: translateY(-2px);
}

/* Social Connect */
.social-connect {
    color: var(--white);
}

.social-connect h4 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.social-connect > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: var(--transition-base);
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-info {
    display: flex;
    flex-direction: column;
}

.social-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.social-handle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Old styles - keep for compatibility */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* -------------------- Footer -------------------- */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--accent-light);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* -------------------- Back to Top Button -------------------- */
.back-to-top {
    position: fixed;
    bottom: 150px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* -------------------- Fancybox Customization -------------------- */
.fancybox__container {
    --fancybox-bg: rgba(26, 37, 37, 0.95);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 1199.98px) {
    .portfolio-grid .col-lg-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: var(--section-padding-sm);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-title .highlight {
        font-size: 1.6rem;
    }
    
    .hero-promo-card {
        margin-top: 40px;
    }
    
    .portfolio-grid .col-lg-3,
    .portfolio-grid .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .navbar-collapse {
        background: rgba(42, 158, 153, 0.98);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-title .highlight {
        font-size: 1.3rem;
    }
    
    .hero-title .sub-highlight {
        font-size: 1.1rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-promo-card {
        padding: 30px 20px;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .portfolio-grid .col-lg-3,
    .portfolio-grid .col-md-4,
    .portfolio-grid .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .article-header h2 {
        font-size: 1.8rem;
    }
    
    .article-section h3 {
        font-size: 1.3rem;
    }
    
    .promo-card {
        padding: 24px 16px;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-tagline {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
        margin-top: 30px;
    }
    
    .fixed-social-btns {
        bottom: 70px;
        right: 16px;
        gap: 10px;
    }
    
    .fixed-social-btn {
        width: 46px;
        height: 46px;
    }
    
    .fixed-social-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .back-to-top {
        bottom: 250px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .portfolio-grid .col-lg-3,
    .portfolio-grid .col-md-4,
    .portfolio-grid .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .promo-price-tag {
        font-size: 2rem;
    }
}

/* -------------------- Animation Keyframes -------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* -------------------- Loading Animation -------------------- */
.portfolio-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--accent);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* -------------------- Mobile Overflow Fixes -------------------- */
@media (max-width: 767.98px) {
    .contact-section {
        overflow-x: hidden;
    }
    
    .contact-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .contact-section .row.g-5 {
        --bs-gutter-x: 0;
        --bs-gutter-y: 2rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .contact-section .col-lg-5,
    .contact-section .col-lg-7 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .line-cta-card {
        padding: 32px 24px;
    }
    
    .line-qr-large {
        max-width: 150px;
    }
    
    .social-card {
        padding: 14px 16px;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .social-name {
        font-size: 0.95rem;
    }
    
    .social-handle {
        font-size: 0.8rem;
    }
    
    .about-section-v2 {
        overflow-x: hidden;
        padding: 60px 16px 70px;
    }
    
    .about-section-v2 .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* -------------------- Print Styles -------------------- */
@media print {
    .fixed-social-btns,
    .back-to-top,
    .navbar,
    .portfolio-filter,
    .load-more-btn {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .section-padding {
        padding: 30px 0;
    }
}
