:root {
    --bg-color: #f6f3f0;
    --text-primary: #3c342c;
    --text-secondary: #7f7469;
    --accent-color: #ba9974;
    --card-bg: #ffffff;
    --card-hover: rgba(186, 153, 116, 0.05);
    --border-color: #e5dfd8;
    --shadow-sm: 0 4px 12px rgba(60, 52, 44, 0.04);
    --shadow-md: 0 12px 32px rgba(60, 52, 44, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background-image: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--bg-color) 70%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    max-width: 900px;
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.greeting-wrapper {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    align-items: center;
}

.clock {
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 0.25rem;
}

.hero-image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: white;
    padding: 1.25rem;
    position: relative;
    border: 1px solid var(--border-color);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.history-article {
    margin-top: 2rem;
    padding: 2.5rem;
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.article-header {
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    opacity: 1;
    animation: none;
}

.article-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.article-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.drop-cap::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    float: left;
    line-height: 0.85;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    color: var(--accent-color);
}

.highlight-box {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    border-left: 4px solid var(--accent-color);
}

.highlight-box h3 {
    margin-top: 0;
}

.highlight-box ul {
    list-style: none;
    margin-top: 1rem;
}

.highlight-box li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-box i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.article-image {
    margin: 3rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.article-image figcaption {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    font-family: 'Outfit', sans-serif;
}

.sources-section {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.sources-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sources-section ol {
    padding-left: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sources-section li {
    margin-bottom: 0.75rem;
}

.sources-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.sources-section a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.3s;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
}

.service-card:nth-child(4) {
    animation-delay: 0.5s;
}

.service-card:nth-child(5) {
    animation-delay: 0.6s;
}

.service-card:nth-child(6) {
    animation-delay: 0.7s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--card-hover);
    border-color: var(--accent-color);
}

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

.service-card i {
    font-size: 2rem;
    color: var(--accent-color);
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover i {
    background: white;
    transform: scale(1.1);
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.service-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

footer {
    text-align: center;
    padding-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.8s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-link i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
    background-color: var(--card-hover);
}

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

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 3.5rem;
    }

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

    .container {
        padding: 2rem 1.5rem;
    }
}