:root {
    --primary-color: #9E3B3B;
    --primary-dark: #7A2D2D;
    --accent-gold: #C9A961;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-overlay: rgba(255, 255, 255, 0.85);
    --border-light: rgba(158, 59, 59, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-medium);
    background: var(--bg-white);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant', Georgia, serif;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: 0.3px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

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

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(158, 59, 59, 0.05) 0%, rgba(201, 169, 97, 0.05) 100%);
    margin-top: 72px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

section {
    padding: 96px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.section-line {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
}

.lead-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 48px;
    max-width: 900px;
}

.about-section {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.about-item {
    padding: 32px;
    background: rgba(248, 248, 248, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.about-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.about-item p {
    font-size: 13px;
    line-height: 1.7;
}

.services-section {
    background: linear-gradient(to bottom, rgba(158, 59, 59, 0.02) 0%, transparent 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.service-card {
    position: relative;
    display: block;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
    color: inherit;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-number {
    font-family: 'Cormorant', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-methods {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.card-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.methodology-section {
    background: rgba(248, 248, 248, 0.5);
}

.methodology-content {
    max-width: 1000px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.method-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.method-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.method-box {
    display: block;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    color: inherit;
}

.method-box:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.method-box h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.method-box p {
    font-size: 13px;
    line-height: 1.7;
}

.standards-box {
    padding: 32px;
    background: rgba(201, 169, 97, 0.08);
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
}

.standards-box p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-medium);
}

.additional-section {
    background: var(--bg-white);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.additional-item {
    display: block;
    padding: 28px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
    color: inherit;
}

.additional-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.additional-item:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-sm);
}

.additional-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.additional-item p {
    font-size: 13px;
    line-height: 1.7;
}

.differentiator {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    padding: 32px;
    background: rgba(158, 59, 59, 0.03);
    border-radius: 4px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-section {
    background: linear-gradient(135deg, rgba(158, 59, 59, 0.04) 0%, rgba(201, 169, 97, 0.04) 100%);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--text-medium);
}

.contact-info {
    margin-bottom: 32px;
}

.contact-email {
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-slogan {
    font-family: 'Cormorant', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--accent-gold);
    margin-top: 32px;
}

.detail-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(158, 59, 59, 0.05) 0%, rgba(201, 169, 97, 0.05) 100%);
    margin-top: 72px;
}

.back-link {
    display: inline-block;
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.detail-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.detail-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 48px 0 24px;
}

.content-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 32px 0 16px;
}

.content-wrapper p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.detail-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.detail-list li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.cta-box {
    margin-top: 64px;
    padding: 40px;
    background: rgba(158, 59, 59, 0.03);
    border-radius: 4px;
    text-align: center;
}

.cta-box h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        padding: 24px;
        gap: 20px;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }

    .hero {
        min-height: 70vh;
        margin-top: 72px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
        text-align: center;
    }

    .section-header {
        justify-content: center;
    }

    .lead-text {
        font-size: 14px;
        text-align: center;
    }

    section {
        padding: 64px 0;
    }

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

    .service-card,
    .method-box,
    .additional-item {
        text-align: center;
    }

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

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

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

    .differentiator {
        text-align: center;
    }

    .standards-box {
        text-align: center;
    }

    .contact-email {
        font-size: 18px;
        padding: 12px 24px;
    }

    .detail-hero {
        padding: 100px 0 40px;
    }

    .detail-title {
        font-size: 32px;
        text-align: center;
    }

    .back-link {
        text-align: center;
        display: block;
    }

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

    .detail-list {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .container {
        padding: 0 16px;
    }

    .service-card,
    .about-item,
    .method-box {
        padding: 24px 20px;
    }
}
