:root {
    --cream: #FAF7F2;
    --cream-dark: #F0EBE3;
    --warm-beige: #E8DFD4;
    --taupe: #9C8B7A;
    --taupe-dark: #7A6B5C;
    --charcoal: #3D3A36;
    --gold: #C9A86C;
    --gold-light: #D4BC8E;
    --rose: #C9A99A;
    --white: #FFFFFF;

    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Noto Serif KR', serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--taupe);
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--gold-light);
    color: var(--charcoal);
}

/* Loading Screen */
.loader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--taupe-dark);
    animation: pulse 2s ease-in-out infinite;
}

.loader-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
    animation: expand 1.5s var(--ease-out-expo) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes expand {

    0%,
    100% {
        transform: scaleX(0.5);
        opacity: 0.5;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 1px 0 rgba(201, 168, 108, 0.15);
    transition: all 0.5s var(--ease-out-expo);
}

nav.scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 1px 0 rgba(201, 168, 108, 0.2);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--charcoal);
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.nav-logo:hover {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--charcoal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    padding: 0.9rem 2rem;
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(201, 168, 108, 0.3);
    transition: all 0.4s var(--ease-out-expo);
}

.nav-cta:hover {
    background: var(--taupe-dark);
    border-color: var(--taupe-dark);
    box-shadow: 0 4px 12px rgba(122, 107, 92, 0.4);
    transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 1px;
    background: var(--charcoal);
    transition: all 0.3s var(--ease-out-expo);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background: linear-gradient(135deg, rgba(250, 247, 242, 0.95) 0%, rgba(250, 247, 242, 0.85) 100%);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 2rem;
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
    font-style: italic;
    color: var(--gold);
}

.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--taupe-dark);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--charcoal);
    text-decoration: none;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--white);
    transition: all 0.4s var(--ease-out-expo);
}

.hero-cta:hover {
    background: var(--taupe-dark);
    transform: translateX(5px);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s var(--ease-out-expo);
}

.hero-cta:hover svg {
    transform: translateX(5px);
}

.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-image-container {
    position: relative;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--cream-dark) 100%);
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid var(--gold-light);
    border-radius: 180px 180px 10px 10px;
    opacity: 0.5;
}

.hero-image-inner {
    position: absolute;
    inset: 40px;
    background:
        linear-gradient(180deg, rgba(201, 168, 108, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--cream) 0%, var(--warm-beige) 100%);
    border-radius: 160px 160px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    width: 80px;
    height: 80px;
    color: var(--gold);
    opacity: 0.6;
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(61, 58, 54, 0.1);
    opacity: 0;
    animation: floatIn 1s var(--ease-out-expo) forwards;
}

.hero-float-card.card-1 {
    top: 15%;
    left: -30px;
    animation-delay: 1s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 1.2s;
}

.float-card-label {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--taupe);
    margin-bottom: 0.3rem;
}

.float-card-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--charcoal);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    to {
        opacity: 1;
    }
}

/* Section Styles */
section {
    padding: 8rem 4rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--taupe-dark);
}

/* About Section */
.about {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image {
    aspect-ratio: 1;
    background-image: url('images/cosmetic.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    opacity: 0.5;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 30px;
    /* background:
        radial-gradient(circle at 30% 30%, var(--cream) 0%, transparent 50%),
        linear-gradient(135deg, var(--cream-dark) 0%, var(--warm-beige) 100%); */
    border-radius: 50%;
}

.about-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    bottom: -30px;
    right: -30px;
    opacity: 0.3;
}

.about-content h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--taupe-dark);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Services Section */
.services {
    background: var(--cream);
    position: relative;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(61, 58, 54, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.5s var(--ease-out-expo);
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--white);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-content {
    flex: 1;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--taupe-dark);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    background: var(--white);
    position: relative;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.5s var(--ease-out-expo);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--taupe-dark) 100%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 0.3;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 58, 54, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

.lightbox-counter {
    margin-top: 1rem;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Process Section */
.process {
    background: var(--charcoal);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(201, 168, 108, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(201, 169, 154, 0.08) 0%, transparent 50%);
}

.process .section-tag {
    color: var(--gold-light);
}

.process .section-title {
    color: var(--cream);
}

.process .section-desc {
    color: var(--taupe);
}

.process-steps {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold);
    background: var(--charcoal);
    position: relative;
    z-index: 1;
}

.process-content {
    flex: 1;
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--cream);
}

.process-desc {
    font-size: 0.85rem;
    color: var(--taupe);
    line-height: 1.6;
}

/* Info Section */
.info {
    background: var(--white);
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.info-main {
    background: var(--cream);
    padding: 3rem;
}

.info-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--warm-beige);
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--warm-beige);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--taupe);
}

.info-value {
    font-size: 0.95rem;
}

.info-value a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.info-value a:hover {
    color: var(--gold);
}

.info-hours {
    display: grid;
    gap: 0.5rem;
}

.info-hour-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.info-hour-row.closed {
    color: var(--rose);
}

.info-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--cream);
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--gold);
}

.info-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.info-card-value {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.info-card-value a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.info-card-value a:hover {
    color: var(--gold);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--cream-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23C9A86C' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.cta-title span {
    font-style: italic;
    color: var(--gold);
}

.cta-desc {
    font-size: 1rem;
    color: var(--taupe-dark);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    padding: 1.2rem 2.5rem;
    background: var(--charcoal);
    color: var(--cream);
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
}

.cta-button:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(61, 58, 54, 0.2);
}

.cta-button svg {
    width: 18px;
    height: 18px;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--taupe);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-legal {
    font-size: 0.75rem;
    color: var(--taupe);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--taupe);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(156, 139, 122, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--taupe);
}

/* Animations on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Fixed CTA */
.mobile-fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    padding: 0;
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-fixed-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    min-height: 60px;
}

.mobile-fixed-cta svg {
    width: 22px;
    height: 22px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
    padding: 2rem;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
    padding: 1rem 2rem;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--gold);
}

.mobile-menu-cta {
    margin-top: 2rem;
    padding: 1rem 2.5rem !important;
    background: var(--gold);
    color: var(--white) !important;
    border-radius: 4px;
    font-size: 1rem !important;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Tablet Styles */
@media (max-width: 1024px) {
    nav {
        padding: 1.2rem 2rem;
    }

    nav.scrolled {
        padding: 0.8rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    section {
        padding: 5rem 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 0 2rem;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-float-card.card-1 {
        left: 10px;
    }

    .hero-float-card.card-2 {
        right: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        max-width: 350px;
        margin: 0 auto;
    }

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .process-steps::before {
        display: none;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-fixed-cta {
        display: block;
    }

    body {
        padding-bottom: 60px;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding-top: 80px;
    }

    .hero-content {
        padding: 0 1.5rem;
        gap: 2.5rem;
    }

    .hero-badge {
        margin-bottom: 1.5rem;
        font-size: 0.7rem;
    }

    .hero-badge::before,
    .hero-badge::after {
        width: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.9;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        padding: 1.1rem 2rem;
        font-size: 0.9rem;
    }

    .hero-visual {
        max-width: 300px;
    }

    .hero-float-card {
        padding: 1rem 1.2rem;
    }

    .hero-float-card.card-1 {
        top: 10%;
        left: 0;
    }

    .hero-float-card.card-2 {
        bottom: 15%;
        right: 0;
    }

    .float-card-value {
        font-size: 1.1rem;
    }

    /* About Mobile */
    .about {
        padding-top: 5rem;
    }

    .about::before {
        height: 50px;
    }

    .about-visual {
        max-width: 250px;
    }

    .about-content h3 {
        font-size: 1.8rem;
        text-align: center;
    }

    .about-content p {
        font-size: 0.95rem;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .about-feature {
        background: var(--cream);
        padding: 1rem 1.2rem;
        border-radius: 8px;
    }

    .about-feature-icon {
        width: 44px;
        height: 44px;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Gallery Mobile - Horizontal Scroll */
    .gallery {
        padding: 4rem 0;
    }

    .gallery .section-header {
        padding: 0 1.5rem;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1.5rem;
        margin: 0;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .gallery-item {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .service-card {
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: row;
        text-align: left;
        gap: 1.2rem;
        align-items: flex-start;
    }

    .service-card::before {
        height: 100%;
        width: 3px;
        left: 0;
        right: auto;
        transform: scaleY(0);
    }

    .service-card:hover::before {
        transform: scaleY(1);
    }

    .service-card:hover {
        transform: translateX(5px);
    }

    .service-icon {
        margin: 0;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .service-content {
        flex: 1;
    }

    .service-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    /* Process Mobile */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
    }

    .process-number {
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
        font-size: 1.2rem;
    }

    .process-content {
        flex: 1;
        padding-top: 0.5rem;
    }

    .process-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .process-desc {
        font-size: 0.85rem;
    }

    /* Info Mobile */
    .info-main {
        padding: 2rem 1.5rem;
    }

    .info-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .info-label {
        font-size: 0.75rem;
        color: var(--gold);
    }

    .info-value {
        font-size: 1rem;
    }

    .info-hour-row {
        font-size: 0.95rem;
    }

    .info-side {
        flex-direction: row;
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem 1rem;
    }

    .info-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }

    .info-card-title {
        font-size: 0.9rem;
    }

    .info-card-value {
        font-size: 1.1rem;
    }

    /* CTA Mobile */
    .cta {
        padding: 4rem 1.5rem 5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .cta-desc br {
        display: none;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1.1rem 2rem;
    }

    /* Footer Mobile */
    footer {
        padding: 3rem 1.5rem 4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-desc {
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    nav {
        padding: 1rem 1rem;
    }

    nav.scrolled {
        padding: 0.8rem 1rem;
    }

    .nav-logo {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }

    section {
        padding: 3.5rem 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-visual {
        max-width: 260px;
    }

    .hero-float-card {
        padding: 0.8rem 1rem;
    }

    .float-card-label {
        font-size: 0.6rem;
    }

    .float-card-value {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .about-content h3 {
        font-size: 1.5rem;
    }

    .info-side {
        flex-direction: column;
    }

    .mobile-menu a {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-visual {
        max-width: 220px;
    }

    .hero-float-card.card-1,
    .hero-float-card.card-2 {
        display: none;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-number {
        margin: 0 auto;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .hero-cta:hover {
        transform: none;
    }

    .hero-cta:active {
        transform: scale(0.98);
    }

    .cta-button:hover {
        transform: none;
    }

    .cta-button:active {
        transform: scale(0.98);
    }

    .nav-cta:hover {
        background: transparent;
        color: var(--charcoal);
    }

    .nav-cta:active {
        background: var(--gold);
        color: var(--white);
    }
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-fixed-cta {
        padding-bottom: env(safe-area-inset-bottom);
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

/* Landscape mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .mobile-menu a {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .loader {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}