:root {
    --color-primary: #1A1A1A;
    --color-secondary: #2C2C2C;
    --color-accent: #C9A961;
    --color-text: #1A1A1A;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F8F8F8;
    --color-border: #E5E5E5;
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Inter', sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.main-header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 229, 229, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: var(--space-xs) 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-identity {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.brand-identity:hover {
    color: var(--color-accent);
}

.brand-identity::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.brand-identity:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.burger-line {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.primary-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-xs) var(--space-sm);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.main-content {
    min-height: calc(100vh - 200px);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

.hero-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.hero-content-wrapper {
    padding: var(--space-lg) 0;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-text {
    padding: var(--space-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 90%;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    color: var(--color-bg);
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: var(--space-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    z-index: 1;
}

.cta-button > * {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background: linear-gradient(135deg, #B89A50 0%, var(--color-accent) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
    animation: glow 2s ease infinite;
    opacity: 1 !important;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.hero-visual {
    padding: var(--space-md);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    position: relative;
    z-index: 1;
}

.hero-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.intro-section,
.philosophy-section,
.transformation-section,
.testimonial-section {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.content-block h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    transition: all 0.3s ease;
}

.content-block:hover .body-text,
.service-body:hover .body-text {
    color: var(--color-text);
    transform: translateX(5px);
}

.visual-block {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.visual-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.visual-block:hover::after {
    opacity: 1;
}

.visual-block img,
.content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.visual-block:hover img,
.content-block:hover .content-image {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.philosophy-item {
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--space-md);
    border-radius: 12px;
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.philosophy-item:hover::before {
    opacity: 1;
}

.philosophy-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.philosophy-visual {
    margin-bottom: var(--space-md);
}

.philosophy-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.philosophy-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.philosophy-item:hover .philosophy-visual::after {
    opacity: 1;
}

.philosophy-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.philosophy-item:hover .philosophy-visual img {
    transform: scale(1.1) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.philosophy-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.philosophy-item:hover .philosophy-title {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.philosophy-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.philosophy-item:hover .philosophy-title::after {
    width: 100%;
}

.philosophy-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-text {
    color: var(--color-text);
    transform: translateY(-2px);
}

.section-heading {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.section-heading:hover {
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.gallery-item:hover img {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1) contrast(1.05);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.testimonial-section {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: var(--space-xl) 0;
}

.testimonial-section .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.testimonial-content {
    padding: var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-bg);
    margin-bottom: var(--space-md);
    line-height: 1.8;
    text-align: center;
    max-width: 100%;
}

.testimonial-author {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    text-align: center;
    display: block;
}

.testimonial-visual {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.testimonial-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.testimonial-visual:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-bg);
    padding: var(--space-xl) 0;
    text-align: center;
    margin-top: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.3), transparent);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 2.5rem;
    color: var(--color-bg);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.9);
}

.cta-button-large {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    color: var(--color-bg);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    z-index: 1;
}

.cta-button-large > * {
    position: relative;
    z-index: 1;
}

.cta-button-large:hover {
    background: linear-gradient(135deg, #B89A50 0%, var(--color-accent) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.6);
    animation: glow 2s ease infinite;
    opacity: 1 !important;
}

.cta-button-large:active {
    transform: translateY(-1px) scale(0.98);
}

.main-footer {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: var(--space-xl) 0 var(--space-md);
    margin-top: var(--space-xl);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: var(--color-bg);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.footer-column:hover .footer-heading::after {
    width: 100%;
}

.footer-column:hover .footer-heading {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-list li {
    margin-bottom: var(--space-xs);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    padding: 2px 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 100%;
}

.footer-address p {
    margin-bottom: var(--space-xs);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.privacy-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--space-md);
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.privacy-popup.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.popup-content {
    position: relative;
}

.popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-bg);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-close:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.popup-heading {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.popup-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.popup-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.popup-accept {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    color: var(--color-bg);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.popup-accept:hover {
    background: linear-gradient(135deg, #B89A50 0%, var(--color-accent) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
}

.popup-accept:active {
    transform: translateY(0) scale(0.98);
}

.contact-hero {
    padding: var(--space-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.profile-hero:hover .page-title::after,
.profile-intro:hover .page-title::after,
.intro-text:hover .page-title::after {
    width: 100%;
}

.page-intro {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    transition: all 0.3s ease;
}

.page-hero:hover .page-intro {
    color: var(--color-text);
    transform: translateY(-2px);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.contact-form-wrapper {
    background-color: var(--color-bg);
    padding: var(--space-lg);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #B89A50, var(--color-accent));
    background-size: 200% 100%;
    animation: gradient 3s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-form-wrapper:hover::before {
    opacity: 1;
}

.contact-form-wrapper:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.form-heading {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.form-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.contact-form-wrapper:hover .form-heading::after {
    width: 100%;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-bg);
    position: relative;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15), 0 4px 15px rgba(201, 169, 97, 0.1);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.98);
}

.form-input:hover,
.form-textarea:hover {
    border-color: rgba(201, 169, 97, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-input.invalid,
.form-textarea.invalid,
.form-checkbox.invalid + .checkbox-label::before {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(92, 43, 46, 0.2);
}

.error-message {
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1.25rem;
}

.form-input.invalid,
.form-textarea.invalid {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.2);
}

.form-error {
    display: block;
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
}

.form-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.form-submit {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    color: var(--color-bg);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: var(--space-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    z-index: 1;
}

.form-submit > * {
    position: relative;
    z-index: 1;
}

.form-submit:hover {
    background: linear-gradient(135deg, #B89A50 0%, var(--color-accent) 100%);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
    animation: glow 2s ease infinite;
    opacity: 1 !important;
}

.form-submit:active {
    transform: translateY(-1px) scale(0.99);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-block {
    background-color: var(--color-bg-light);
    padding: var(--space-md);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-block:hover::before {
    opacity: 1;
}

.info-block:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--color-bg);
}

.info-heading {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.info-icon {
    color: var(--color-accent);
    font-size: 1.2rem;
    width: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.1);
    position: relative;
    z-index: 1;
}

.info-item:hover .info-icon {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.info-item:hover .info-icon i {
    color: var(--color-bg);
    z-index: 2;
    position: relative;
}

.info-link {
    color: var(--color-text);
    transition: var(--transition);
}

.info-link:hover {
    color: var(--color-accent);
}

.info-text {
    color: var(--color-text-light);
    line-height: 1.6;
}

.info-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.location-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.faq-item {
    background-color: var(--color-bg-light);
    padding: var(--space-md);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:hover {
    background-color: var(--color-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
    padding-left: calc(var(--space-md) + 10px);
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.faq-item:hover .faq-question {
    color: var(--color-accent);
    transform: translateX(5px);
}

.faq-question::before {
    content: '+';
    position: absolute;
    left: -25px;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.faq-item:hover .faq-question::before {
    opacity: 1;
    transform: translateX(0);
}

.faq-answer {
    color: var(--color-text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-answer {
    color: var(--color-text);
    transform: translateX(5px);
}

.visual-gallery-contact {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.gallery-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.gallery-small img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-small img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.legal-hero {
    padding: var(--space-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.legal-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

.legal-content {
    padding: var(--space-xl) 0;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-heading {
    font-size: 2rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.legal-subheading {
    font-size: 1.3rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.legal-list {
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.legal-list li {
    list-style: disc;
    margin-bottom: var(--space-xs);
    color: var(--color-text-light);
    line-height: 1.8;
}

.inline-link {
    color: var(--color-accent);
    text-decoration: underline;
    transition: var(--transition);
}

.inline-link:hover {
    color: #B89A50;
}

.content-list {
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.content-list li {
    list-style: disc;
    margin-bottom: var(--space-xs);
    color: var(--color-text-light);
    line-height: 1.8;
}

.content-half {
    width: 100%;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.content-half:hover .featured-image {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.framework-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.framework-step {
    text-align: center;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: var(--space-sm);
    transition: all 0.4s ease;
    display: inline-block;
}

.framework-step:hover .step-number {
    opacity: 0.6;
    transform: scale(1.1);
    animation: pulse 1s ease infinite;
}

.step-visual {
    margin-bottom: var(--space-md);
}

.step-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.step-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.framework-step:hover .step-visual::after {
    opacity: 1;
}

.step-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.framework-step:hover .step-visual img {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.framework-step:hover .step-title,
.process-step:hover .process-heading {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.step-title::after,
.process-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.framework-step:hover .step-title::after,
.process-step:hover .process-heading::after {
    width: 100%;
}

.step-text {
    color: var(--color-text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.framework-step:hover .step-text,
.process-step:hover .process-text {
    color: var(--color-text);
    transform: translateY(-2px);
}

.distinction-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
}

.distinction-section::before,
.distinction-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.distinction-section::before {
    top: 0;
}

.distinction-section::after {
    bottom: 0;
}

.distinction-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-accent);
    animation: fadeInUp 0.8s ease;
    color: var(--color-text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.distinction-heading::before,
.distinction-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
}

.distinction-heading::before {
    left: -60px;
}

.distinction-heading::after {
    right: -60px;
}

.distinction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.distinction-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-bg);
    padding: var(--space-md);
    text-align: center;
}

.distinction-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.distinction-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.distinction-item:hover::before {
    opacity: 1;
}

.distinction-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.distinction-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.distinction-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--space-md);
    border-radius: 8px;
    margin-top: var(--space-md);
    animation: fadeIn 0.6s ease;
}

.distinction-text::before,
.distinction-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.3;
    position: absolute;
}

.distinction-text::before {
    top: -10px;
    left: 10px;
}

.distinction-text::after {
    bottom: -30px;
    right: 10px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-item:hover .service-number {
    opacity: 0.6;
    transform: scale(1.1);
    animation: pulse 1s ease infinite;
}

.service-title {
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-item:hover .service-title {
    color: var(--color-accent);
    transform: translateX(5px);
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.service-item:hover .service-title::after {
    width: 100%;
}

.service-body {
    flex: 1;
}

.service-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    transition: all 0.3s ease;
}

.service-item:hover .service-description {
    color: var(--color-text);
    transform: translateX(5px);
}

.service-details {
    background-color: var(--color-bg-light);
    padding: var(--space-md);
    border-radius: 8px;
}

.details-heading {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.details-list {
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.details-list li {
    list-style: disc;
    margin-bottom: var(--space-xs);
    color: var(--color-text-light);
    line-height: 1.8;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: right;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-item:hover .service-price {
    transform: scale(1.05);
    animation: glow 2s ease infinite;
}

.service-visual {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.service-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.service-item:hover .service-visual::after {
    opacity: 1;
}

.service-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.service-item:hover .service-visual img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.process-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.process-step {
    text-align: center;
}

.process-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: var(--space-md);
    transition: all 0.4s ease;
}

.process-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.process-step:hover .process-visual::after {
    opacity: 1;
}

.process-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.process-step:hover .process-visual img {
    transform: scale(1.1) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.process-title {
    font-size: 1.3rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.process-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

.process-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: var(--space-lg) auto;
    transition: all 0.3s ease;
}

.process-step:hover .process-text {
    color: var(--color-text);
}

.page-hero {
    padding: var(--space-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.methodology-section,
.context-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.science-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-light);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.principle-card {
    background-color: var(--color-bg);
    border-radius: 12px;
    padding: var(--space-md);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.principle-card:hover::before {
    opacity: 1;
}

.principle-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.card-visual {
    margin-bottom: var(--space-md);
}

.card-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.card-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.principle-card:hover .card-visual::after {
    opacity: 1;
}

.card-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.principle-card:hover .card-visual img {
    transform: scale(1.1) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1) contrast(1.05);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.principle-card:hover .card-title {
    color: var(--color-accent);
    transform: translateX(5px);
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.principle-card:hover .card-title::after {
    width: 100%;
}

.card-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.profile-hero {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.profile-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.intro-text {
    padding: var(--space-md);
}

.intro-lead {
    font-size: 1.2rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-top: var(--space-md);
}

.intro-visual {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.intro-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.profile-intro:hover .intro-visual::after {
    opacity: 1;
}

.intro-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.profile-intro:hover .intro-visual img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.background-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.background-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-top: var(--space-lg);
    position: relative;
}

.background-section:hover .section-heading::after {
    width: 100%;
}

.background-text {
    padding: var(--space-md);
}

.background-visual {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.background-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.background-content:hover .background-visual::after {
    opacity: 1;
}

.background-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.background-content:hover .background-visual img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.approach-summary {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.audience-card {
    text-align: center;
    background-color: var(--color-bg-light);
    border-radius: 12px;
    padding: var(--space-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.audience-card:hover::before {
    opacity: 1;
}

.audience-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.audience-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.audience-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.audience-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.audience-card:hover .audience-title {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.audience-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.audience-card:hover .audience-title::after {
    width: 100%;
}

.audience-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    transition: all 0.3s ease;
}

.audience-card:hover .audience-text {
    color: var(--color-text);
    transform: translateY(-2px);
}

.differentiation-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-light);
}

.diff-content {
    max-width: 1200px;
    margin: 0 auto;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.diff-item {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.diff-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.diff-item:hover::before {
    opacity: 1;
}

.diff-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.diff-item img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
    position: relative;
    z-index: 0;
}

.diff-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1) rotate(1deg);
}

.diff-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.98), rgba(26, 26, 26, 0.7), transparent);
    color: var(--color-bg);
    padding: var(--space-lg) var(--space-md) var(--space-md);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    z-index: 2;
    transition: all 0.4s ease;
    transform: translateY(10px);
    opacity: 0.9;
}

.diff-item:hover .diff-text {
    transform: translateY(0);
    opacity: 1;
    padding-bottom: var(--space-lg);
}

.services-overview {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.process-heading {
    font-size: 1.3rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.process-step:hover .process-heading {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.results-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.result-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.result-item:hover::before {
    opacity: 1;
}

.result-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.result-item img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(10%);
    position: relative;
    z-index: 0;
}

.result-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1) rotate(-1deg);
}

.result-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.98), rgba(26, 26, 26, 0.7), transparent);
    color: var(--color-bg);
    padding: var(--space-lg) var(--space-md) var(--space-md);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    z-index: 2;
    transition: all 0.4s ease;
    transform: translateY(10px);
    opacity: 0.9;
}

.result-item:hover .result-text {
    transform: translateY(0);
    opacity: 1;
    padding-bottom: var(--space-lg);
}

.principle-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(201, 169, 97, 0.1) 100%);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.principle-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.principle-block:hover .principle-icon::before {
    opacity: 1;
}

.principle-icon i {
    font-size: 2rem;
    color: var(--color-accent);
    transition: var(--transition);
}

.principle-block:hover .principle-icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
    animation: pulse 1s ease infinite;
}

.principle-block:hover .principle-icon i {
    color: var(--color-bg);
    transform: scale(1.1);
}


.philosophy-detail {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
}

.philosophy-detail::before,
.philosophy-detail::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.philosophy-detail::before {
    top: 0;
}

.philosophy-detail::after {
    bottom: 0;
}

.principles-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.principle-block {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-bg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.principle-block:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.principle-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    transform: translateY(-50%);
    opacity: 0.6;
    transition: var(--transition);
}

.principle-block:hover::before {
    opacity: 1;
}

.principle-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}


.principle-content {
    flex: 1;
}

.principle-heading {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.principle-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.principle-block:hover .principle-heading::after {
    width: 100%;
}

.principle-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    padding-left: var(--space-sm);
}

.principle-block:hover .principle-description {
    padding-left: var(--space-md);
}

.principle-visual-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    flex-shrink: 0;
    width: 300px;
}

.principle-visual-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.2), transparent);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.principle-block:hover .principle-visual-wrapper::before {
    opacity: 1;
    width: 200px;
    height: 200px;
}

.principle-visual-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: var(--transition);
    filter: grayscale(10%);
}

.principle-block:hover .principle-visual-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.principle-visual-small {
    width: 200px;
    flex-shrink: 0;
}

.principle-visual-small img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.values-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.values-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.values-visual {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.values-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.values-split:hover .values-visual::after {
    opacity: 1;
}

.values-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.values-split:hover .values-visual img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.content-heading {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.content-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.content-block:hover .content-heading::after,
.content-half:hover .content-heading::after {
    width: 100%;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.value-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.values-list li:hover .value-title {
    color: var(--color-accent);
    transform: translateX(5px);
}

.value-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.values-list li:hover .value-title::after {
    width: 100%;
}

.value-text {
    color: var(--color-text-light);
    line-height: 1.8;
    transition: all 0.3s ease;
}

.values-list li:hover .value-text {
    color: var(--color-text);
    transform: translateX(5px);
}

.target-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.target-item {
    text-align: center;
}

.target-item {
    position: relative;
    transition: all 0.4s ease;
}

.target-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.target-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.target-item:hover .target-visual::after {
    opacity: 1;
}

.target-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.target-item:hover .target-visual img {
    transform: scale(1.1) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.target-item:hover {
    transform: translateY(-10px);
}

.comparison-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-light);
}

.comparison-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.comparison-visual {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.comparison-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.comparison-split:hover .comparison-visual::after {
    opacity: 1;
}

.comparison-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.comparison-split:hover .comparison-visual img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.comparison-heading {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.comparison-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #B89A50);
    z-index: 9999;
    transition: width 0.1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(201, 169, 97, 0.5), 0 0 10px rgba(201, 169, 97, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(201, 169, 97, 0.8), 0 0 30px rgba(201, 169, 97, 0.5);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        clip-path: inset(0 0 100% 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in {
    animation: slideInUp 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.hero-title {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    animation: fadeInUp 1.2s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button::before,
.cta-button-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.cta-button:hover::before,
.cta-button-large:hover::before {
    width: 200px;
    height: 200px;
    opacity: 0.2;
}

.cta-button::after,
.cta-button-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.cta-button:hover::after,
.cta-button-large:hover::after {
    left: 100%;
}

.philosophy-item,
.gallery-item,
.framework-step,
.service-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-item:hover,
.gallery-item:hover,
.framework-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    position: relative;
    overflow: hidden;
}

.gallery-item img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img::after {
    opacity: 1;
}

.testimonial-quote {
    position: relative;
    padding: var(--space-md);
    text-align: center;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--color-accent);
    opacity: 0.2;
    font-family: var(--font-primary);
}

.testimonial-visual {
    position: relative;
    overflow: hidden;
}

.testimonial-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.1), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-visual:hover::before {
    opacity: 1;
}

.testimonial-visual img {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.testimonial-visual:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.form-input,
.form-textarea {
    position: relative;
}

.form-input:focus,
.form-textarea:focus {
    animation: pulse 0.3s ease;
}

.form-submit {
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.form-submit:hover::before {
    width: 300px;
    height: 300px;
}

.form-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.brand-identity {
    position: relative;
    display: inline-block;
}

.brand-identity::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.brand-identity:hover::before {
    width: 100%;
}

.hero-image {
    animation: fadeInUp 1s ease;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), transparent);
    pointer-events: none;
}

.content-image,
.featured-image,
.service-visual img,
.principle-visual-wrapper img,
.values-visual img,
.comparison-visual img {
    transition: transform 0.5s ease, filter 0.3s ease;
    position: relative;
}

.content-image:hover,
.featured-image:hover,
.service-visual img:hover,
.principle-visual-wrapper img:hover,
.values-visual img:hover,
.comparison-visual img:hover {
    transform: scale(1.08) translateY(-8px) rotate(1deg);
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.step-number {
    animation: pulse 2s ease infinite;
}

.distinction-item {
    position: relative;
    overflow: hidden;
}

.distinction-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.distinction-item:hover::after {
    width: 400px;
    height: 400px;
}

.principle-icon-wrapper {
    animation: float 3s ease-in-out infinite;
}

.principle-block:hover .principle-icon-wrapper {
    animation: none;
    transform: scale(1.1) rotate(5deg);
}

.info-icon {
    animation: float 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.info-item:hover .info-icon {
    animation: pulse 0.5s ease;
    color: var(--color-bg);
    background: var(--color-accent);
}

.info-item:hover .info-icon i {
    color: var(--color-bg);
}

.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-small > * {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-small > *::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.gallery-small > *:hover::before {
    width: 300px;
    height: 300px;
}

.gallery-small > *::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-small > *:hover::after {
    opacity: 1;
}

.gallery-small img {
    transition: transform 0.5s ease, filter 0.3s ease;
    position: relative;
    z-index: 0;
}

.gallery-small > *:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-small > *:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #B89A50);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.5);
}

.main-header {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.section-heading {
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.3s ease;
}

.section-heading:hover::after,
.background-section:hover .section-heading::after,
.background-content:hover .section-heading::after,
.background-visual:hover ~ .background-text .section-heading::after,
.background-visual:hover ~ * .section-heading::after {
    width: 100%;
}

.body-text {
    animation: fadeIn 0.8s ease;
}

.content-block,
.visual-block {
    animation: fadeInUp 0.8s ease;
}

.philosophy-item:nth-child(1) {
    animation: slideInLeft 0.8s ease;
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.philosophy-item:nth-child(2) {
    animation: fadeInUp 0.8s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.philosophy-item:nth-child(3) {
    animation: slideInRight 0.8s ease;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.framework-step:nth-child(1),
.process-step:nth-child(1) {
    animation: slideInLeft 0.8s ease;
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.framework-step:nth-child(2),
.process-step:nth-child(2) {
    animation: fadeInUp 0.8s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.framework-step:nth-child(3),
.process-step:nth-child(3) {
    animation: slideInRight 0.8s ease;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.service-item:nth-child(odd) {
    animation: slideInLeft 0.8s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

.service-item:nth-child(even) {
    animation: slideInRight 0.8s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.principle-block:nth-child(1) {
    animation: slideInLeft 0.8s ease;
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.principle-block:nth-child(2) {
    animation: fadeInUp 0.8s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.principle-block:nth-child(3) {
    animation: slideInRight 0.8s ease;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.distinction-item:nth-child(1) {
    animation: slideInLeft 0.8s ease;
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.distinction-item:nth-child(2) {
    animation: slideInRight 0.8s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.gallery-small > *:nth-child(1) {
    animation: fadeInUp 0.6s ease;
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.gallery-small > *:nth-child(2) {
    animation: fadeInUp 0.6s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.gallery-small > *:nth-child(3) {
    animation: fadeInUp 0.6s ease;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.gallery-small > *:nth-child(4) {
    animation: fadeInUp 0.6s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.faq-item:nth-child(odd) {
    animation: slideInLeft 0.6s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

.faq-item:nth-child(even) {
    animation: slideInRight 0.6s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.popup-accept,
.popup-close {
    position: relative;
    overflow: hidden;
}

.popup-accept::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.popup-accept:hover::before {
    width: 200px;
    height: 200px;
}

.popup-close:hover {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.privacy-popup {
    animation: slideInUp 0.5s ease;
}

.privacy-popup.active {
    animation: slideInUp 0.5s ease;
}

@keyframes magnetic {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--mx, 0), var(--my, 0));
    }
    100% {
        transform: translate(0, 0);
    }
}

.cta-button,
.cta-button-large,
.form-submit,
.nav-link {
    will-change: transform;
}

.cta-button:hover,
.cta-button-large:hover,
.form-submit:hover {
    transform: translateY(-3px) scale(1.02);
    opacity: 1 !important;
    visibility: visible !important;
}

.cta-button:active,
.cta-button-large:active,
.form-submit:active {
    transform: translateY(-1px) scale(0.98);
}

img {
    will-change: transform;
    backface-visibility: hidden;
}

.gallery-item,
.philosophy-item,
.framework-step,
.service-item,
.principle-block,
.distinction-item {
    will-change: transform;
    backface-visibility: hidden;
}

@media (max-width: 1024px) {
    .hero-split,
    .content-grid,
    .contact-layout,
    .values-split,
    .comparison-split {
        grid-template-columns: 1fr;
    }

    .philosophy-grid,
    .gallery-grid,
    .framework-grid,
    .process-grid,
    .results-grid,
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .legal-content,
    .legal-text,
    .legal-heading,
    .legal-subheading,
    .legal-list,
    .body-text {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--space-sm);
    }

    .brand-identity {
        font-size: 1.25rem;
    }

    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .primary-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .nav-link {
        font-size: 1rem;
        padding: var(--space-sm);
        width: 100%;
    }

    .section-container {
        padding: 0 var(--space-sm);
    }

    .hero-section {
        padding: var(--space-md) 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--space-sm);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
    }

    .hero-text {
        padding: var(--space-sm);
    }

    .hero-visual {
        padding: var(--space-sm);
    }

    .section-heading {
        font-size: 2rem;
        margin-bottom: var(--space-md);
    }

    .body-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .intro-section,
    .philosophy-section,
    .transformation-section,
    .testimonial-section,
    .cta-section {
        padding: var(--space-lg) 0;
    }

    .philosophy-grid,
    .gallery-grid,
    .framework-grid,
    .process-grid,
    .results-grid,
    .target-grid,
    .faq-grid,
    .gallery-small,
    .principles-grid,
    .audience-grid,
    .diff-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .distinction-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .service-item.reverse {
        direction: ltr;
    }

    .principle-block {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }

    .principle-visual-wrapper,
    .principle-visual-small {
        width: 100%;
    }

    .testimonial-section .section-container {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: var(--space-md);
    }

    .testimonial-content {
        max-width: 100%;
        width: 100%;
        padding: var(--space-md);
    }

    .testimonial-quote {
        font-size: 1.25rem;
    }

    .cta-button,
    .cta-button-large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .form-submit {
        width: 100%;
        padding: var(--space-sm) var(--space-md);
    }

    .content-grid,
    .split-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .privacy-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: var(--space-md);
    }

    .footer-container {
        padding: 0 var(--space-sm);
    }

    .footer-column {
        margin-bottom: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --space-xs: 0.4rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 2rem;
        --space-xl: 2.5rem;
    }

    .header-container {
        padding: 0 var(--space-xs);
    }

    .brand-identity {
        font-size: 1rem;
        line-height: 1.2;
    }

    .section-container {
        padding: 0 var(--space-sm);
    }

    .hero-section {
        padding: var(--space-md) 0;
        margin-bottom: var(--space-md);
    }

    .hero-text {
        padding: var(--space-sm);
    }

    .hero-visual {
        padding: var(--space-sm);
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: var(--space-sm);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: var(--space-md);
        max-width: 100%;
    }

    .section-heading {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: var(--space-sm);
    }

    .body-text {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: var(--space-sm);
    }

    .content-block h2 {
        font-size: 1.6rem;
        margin-bottom: var(--space-sm);
    }

    .intro-section,
    .philosophy-section,
    .transformation-section,
    .testimonial-section,
    .cta-section {
        padding: var(--space-md) 0;
        margin-top: var(--space-md);
        margin-bottom: var(--space-md);
    }

    .content-grid {
        gap: var(--space-md);
    }

    .visual-block {
        margin-top: var(--space-sm);
        border-radius: 8px;
    }

    .visual-block img,
    .content-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: block;
        object-fit: cover;
        margin: 0 auto;
    }

    .content-block {
        margin-bottom: var(--space-md);
    }

    .content-block h2 {
        text-align: center;
    }

    .body-text {
        text-align: left;
    }

    .cta-heading {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: var(--space-sm);
    }

    .cta-text {
        font-size: 0.95rem;
        margin-bottom: var(--space-md);
    }

    .page-title {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .testimonial-content {
        padding: var(--space-sm);
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: var(--space-sm);
    }

    .testimonial-author {
        font-size: 0.85rem;
    }

    .cta-button,
    .cta-button-large {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        margin-top: var(--space-sm);
    }

    .philosophy-grid {
        gap: var(--space-md);
    }

    .philosophy-item {
        padding: var(--space-sm);
    }

    .philosophy-visual {
        margin-bottom: var(--space-sm);
    }

    .philosophy-title,
    .card-title,
    .process-heading,
    .service-heading {
        font-size: 1.15rem;
        margin-bottom: var(--space-xs);
    }

    .philosophy-text,
    .card-text,
    .process-text,
    .service-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .footer-container {
        padding: var(--space-md) var(--space-sm);
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: var(--space-sm);
    }

    .footer-link {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }

    .copyright {
        font-size: 0.8rem;
        text-align: center;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: var(--space-sm);
    }

    .privacy-popup {
        padding: var(--space-sm);
        font-size: 0.9rem;
    }

    .popup-heading {
        font-size: 1.1rem;
    }

    .popup-text {
        font-size: 0.85rem;
    }

    .form-group {
        margin-bottom: var(--space-sm);
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .form-input,
    .form-textarea {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .form-submit {
        padding: 0.875rem var(--space-sm);
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    :root {
        --space-xs: 0.35rem;
        --space-sm: 0.65rem;
        --space-md: 0.85rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .section-heading {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .cta-heading {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .page-title {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .body-text {
        font-size: 0.85rem;
        line-height: 1.65;
    }

    .brand-identity {
        font-size: 0.9rem;
    }

    .section-container {
        padding: 0 var(--space-xs);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .content-block h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 320px) {
    :root {
        --space-xs: 0.3rem;
        --space-sm: 0.6rem;
        --space-md: 0.75rem;
        --space-lg: 1.25rem;
        --space-xl: 1.75rem;
    }

    body {
        font-size: 0.9rem;
    }

    .header-container {
        padding: 0 0.5rem;
    }

    .main-header {
        padding: 0.5rem 0;
    }

    .brand-identity {
        font-size: 0.85rem;
        letter-spacing: -0.02em;
    }

    .menu-toggle {
        width: 26px;
        height: 26px;
    }

    .burger-line {
        width: 22px;
        height: 2px;
    }

    .section-container {
        padding: 0 0.75rem;
    }

    .hero-section {
        padding: var(--space-md) 0;
        margin-bottom: var(--space-md);
    }

    .hero-text {
        padding: var(--space-xs);
    }

    .hero-visual {
        padding: var(--space-xs);
    }

    .hero-title {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: var(--space-xs);
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.55;
        margin-bottom: var(--space-sm);
    }

    .section-heading {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: var(--space-xs);
        word-break: break-word;
    }

    .content-block h2 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: var(--space-xs);
    }

    .body-text {
        font-size: 0.8rem;
        line-height: 1.65;
        margin-bottom: var(--space-xs);
        word-break: break-word;
    }

    .intro-section,
    .philosophy-section,
    .transformation-section,
    .testimonial-section,
    .cta-section {
        padding: var(--space-sm) 0;
        margin-top: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .content-grid {
        gap: var(--space-sm);
    }

    .visual-block {
        margin-top: var(--space-xs);
        border-radius: 6px;
    }

    .visual-block img,
    .content-image {
        border-radius: 6px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    .cta-heading {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: var(--space-xs);
    }

    .cta-text {
        font-size: 0.85rem;
        margin-bottom: var(--space-sm);
    }

    .page-title {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .testimonial-content {
        padding: var(--space-xs);
    }

    .testimonial-quote {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: var(--space-xs);
    }

    .testimonial-author {
        font-size: 0.8rem;
    }

    .cta-button,
    .cta-button-large {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        margin-top: var(--space-xs);
        border-radius: 3px;
    }

    .philosophy-grid {
        gap: var(--space-sm);
    }

    .philosophy-item {
        padding: var(--space-xs);
        border-radius: 8px;
    }

    .philosophy-visual {
        margin-bottom: var(--space-xs);
        border-radius: 8px;
    }

    .philosophy-title,
    .card-title,
    .process-heading,
    .service-heading {
        font-size: 1.05rem;
        margin-bottom: var(--space-xs);
        line-height: 1.25;
    }

    .philosophy-text,
    .card-text,
    .process-text,
    .service-text {
        font-size: 0.8rem;
        line-height: 1.65;
    }

    .footer-container {
        padding: var(--space-sm) 0.75rem;
    }

    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: var(--space-xs);
    }

    .footer-link {
        font-size: 0.8rem;
        padding: 0.2rem 0;
        line-height: 1.5;
    }

    .copyright {
        font-size: 0.75rem;
        padding: var(--space-xs) 0;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: var(--space-xs);
    }

    .primary-nav {
        padding: var(--space-sm);
    }

    .nav-list {
        gap: var(--space-xs);
    }

    .privacy-popup {
        padding: var(--space-xs);
        font-size: 0.85rem;
        bottom: 5px;
        right: 5px;
        left: 5px;
    }

    .popup-heading {
        font-size: 1rem;
        margin-bottom: var(--space-xs);
    }

    .popup-text {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .popup-accept {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .form-group {
        margin-bottom: var(--space-xs);
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }

    .form-input,
    .form-textarea {
        font-size: 0.85rem;
        padding: 0.65rem;
        border-radius: 3px;
    }

    .form-submit {
        padding: 0.75rem var(--space-xs);
        font-size: 0.85rem;
    }

    .legal-heading {
        font-size: 1.2rem;
    }

    .legal-subheading {
        font-size: 1.05rem;
    }

    .legal-text {
        font-size: 0.8rem;
        line-height: 1.65;
    }

    .hero-split {
        gap: var(--space-sm);
    }

    .split-content {
        gap: var(--space-sm);
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .content-block {
        margin-bottom: var(--space-sm);
    }

    .content-block h2 {
        text-align: left;
    }

    .body-text {
        text-align: left;
        hyphens: auto;
    }

    .profile-hero {
        padding: var(--space-sm) 0;
    }

    .profile-intro {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .intro-text {
        padding: var(--space-xs);
        order: 1;
    }

    .intro-visual {
        order: 2;
        border-radius: 8px;
        margin-top: var(--space-xs);
    }

    .intro-visual img {
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    .intro-lead {
        font-size: 0.85rem;
        line-height: 1.65;
        margin-top: var(--space-xs);
    }

    .page-title {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: var(--space-xs);
    }

    .background-section {
        margin-top: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .background-content {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        margin-top: var(--space-sm);
    }

    .background-text {
        padding: var(--space-xs);
        order: 1;
    }

    .background-visual {
        order: 2;
        border-radius: 8px;
        margin-top: var(--space-xs);
    }

    .background-visual img {
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    .philosophy-detail {
        padding: var(--space-sm) 0;
        margin-top: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .principles-layout {
        gap: var(--space-sm);
        margin-top: var(--space-sm);
    }

    .principle-block {
        flex-direction: column;
        padding: var(--space-xs);
        gap: var(--space-xs);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .principle-icon {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }

    .principle-icon i {
        font-size: 1.25rem;
    }

    .principle-content {
        order: 2;
        width: 100%;
        padding: 0;
    }

    .principle-heading {
        font-size: 1.05rem;
        margin-bottom: var(--space-xs);
        line-height: 1.25;
        text-align: left;
    }

    .principle-description {
        font-size: 0.8rem;
        line-height: 1.65;
        text-align: left;
    }

    .principle-visual-small {
        order: 3;
        width: 100%;
        margin-top: var(--space-xs);
        border-radius: 6px;
    }

    .principle-visual-small img {
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        width: 100%;
        height: auto;
    }

    .values-section {
        padding: var(--space-sm) 0;
        margin-top: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .values-split {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .values-visual {
        order: 1;
        border-radius: 8px;
    }

    .values-visual img {
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    .values-content {
        order: 2;
        padding: var(--space-xs);
    }

    .content-heading {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: var(--space-sm);
    }

    .values-list {
        padding: 0;
        margin: 0;
    }

    .values-list li {
        margin-bottom: var(--space-sm);
        padding: var(--space-xs);
        border-radius: 6px;
    }

    .value-title {
        font-size: 1rem;
        margin-bottom: var(--space-xs);
        line-height: 1.25;
    }

    .value-text {
        font-size: 0.8rem;
        line-height: 1.65;
    }

    .approach-summary {
        padding: var(--space-sm) 0;
        margin-top: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .section-heading.centered {
        font-size: 1.3rem;
        text-align: center;
    }

    .target-audience {
        margin-top: var(--space-sm);
    }

    .audience-grid {
        gap: var(--space-sm);
    }

    .audience-item {
        padding: var(--space-xs);
        border-radius: 8px;
    }

    .audience-title {
        font-size: 1rem;
        margin-bottom: var(--space-xs);
    }

    .audience-text {
        font-size: 0.8rem;
        line-height: 1.65;
    }
}

@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;
    }
}

.principle-visual-small {
    transition: all 0.4s ease;
}

.principle-block:hover .principle-visual-small {
    transform: scale(1.05);
}

.principle-visual-small img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-block:hover .principle-visual-small img {
    transform: scale(1.1) rotate(-1deg);
    filter: brightness(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.error-section {
    min-height: calc(100vh - 200px);
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.error-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.error-section .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.error-content {
    padding: var(--space-lg);
    animation: fadeInUp 0.8s ease-out;
}

.error-code {
    font-family: var(--font-primary);
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(201, 169, 97, 0.3);
    position: relative;
}

.error-code::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: shimmer 3s ease-in-out infinite;
}

.error-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.error-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.error-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.action-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    color: var(--color-bg);
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    z-index: 1;
    text-align: center;
}

.action-button > * {
    position: relative;
    z-index: 1;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.action-button:hover::before {
    width: 300px;
    height: 300px;
}

.action-button:hover {
    background: linear-gradient(135deg, #B89A50 0%, var(--color-accent) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
    opacity: 1 !important;
    visibility: visible !important;
}

.action-button:active {
    transform: translateY(-1px) scale(0.98);
}

.action-button.secondary {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    box-shadow: none;
}

.action-button.secondary:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.5);
}

.error-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInRight 1s ease-out 0.3s both;
}

.error-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.error-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%) brightness(0.95);
}

.error-visual:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.thanks-section {
    min-height: calc(100vh - 200px);
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.thanks-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
}

.thanks-section .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.thanks-content {
    padding: var(--space-lg);
    animation: fadeInUp 0.8s ease-out;
    text-align: center;
}

.thanks-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(201, 169, 97, 0.4);
    animation: scaleIn 0.6s ease-out 0.2s both, float 3s ease-in-out infinite 1s;
    position: relative;
}

.thanks-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0;
    animation: ripple 2s ease-out infinite;
}

.thanks-icon i {
    font-size: 4rem;
    color: var(--color-bg);
    z-index: 1;
    position: relative;
}

.thanks-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.thanks-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.thanks-subtext {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.thanks-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.thanks-visual {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInRight 1s ease-out 0.5s both;
}

.thanks-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.thanks-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(10%) brightness(0.98);
}

.thanks-visual:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.next-steps {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-light);
    margin-top: var(--space-xl);
}

.next-steps .section-heading.centered {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 2.5rem;
    color: var(--color-text);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.step-item {
    background-color: var(--color-bg);
    padding: var(--space-lg);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

.step-item:nth-child(1) {
    animation-delay: 0.2s;
}

.step-item:nth-child(2) {
    animation-delay: 0.4s;
}

.step-item:nth-child(3) {
    animation-delay: 0.6s;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, #B89A50 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step-item:hover::before {
    transform: scaleX(1);
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.step-item:hover .step-icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, #B89A50 100%);
    transform: scale(1.1) rotate(5deg);
}

.step-icon i {
    font-size: 2rem;
    color: var(--color-accent);
    transition: all 0.4s ease;
}

.step-item:hover .step-icon i {
    color: var(--color-bg);
    transform: scale(1.1);
}

.step-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.step-description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.inspiration-gallery {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg);
}

.inspiration-gallery .section-heading.centered {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 2.5rem;
    color: var(--color-text);
}

.gallery-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.inspiration-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out both;
    cursor: pointer;
}

.inspiration-item:nth-child(1) {
    animation-delay: 0.1s;
}

.inspiration-item:nth-child(2) {
    animation-delay: 0.2s;
}

.inspiration-item:nth-child(3) {
    animation-delay: 0.3s;
}

.inspiration-item:nth-child(4) {
    animation-delay: 0.4s;
}

.inspiration-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.inspiration-item:hover::before {
    opacity: 1;
}

.inspiration-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.inspiration-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%) brightness(0.95);
}

.inspiration-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .error-section .section-container,
    .thanks-section .section-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .error-visual,
    .thanks-visual {
        order: -1;
    }

    .error-code {
        font-size: 6rem;
    }

    .thanks-title {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .error-section,
    .thanks-section {
        padding: var(--space-lg) 0;
        min-height: auto;
    }

    .error-content,
    .thanks-content {
        padding: var(--space-md);
        text-align: center;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .thanks-icon {
        width: 100px;
        height: 100px;
    }

    .thanks-icon i {
        font-size: 3rem;
    }

    .thanks-title {
        font-size: 2rem;
    }

    .error-actions,
    .thanks-actions {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-small {
        grid-template-columns: 1fr;
    }

    .next-steps .section-heading.centered,
    .inspiration-gallery .section-heading.centered {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.75rem;
    }

    .error-text {
        font-size: 1rem;
    }

    .thanks-icon {
        width: 80px;
        height: 80px;
    }

    .thanks-icon i {
        font-size: 2.5rem;
    }

    .thanks-title {
        font-size: 1.75rem;
    }

    .thanks-text,
    .thanks-subtext {
        font-size: 0.95rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .step-description {
        font-size: 0.9rem;
    }
}
