:root {
    --bg-color: #fdfcfb;
    --bg-light: #f5f3f0;
    --accent-color: #8e8d8a;
    --text-color: #4a4a4a;
    --heading-color: #2f2f2f;
    --white: #ffffff;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--heading-color);
    font-weight: 400;
}

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

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.editorial-tag {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.sticky {
    background-color: rgba(253, 252, 251, 0.95);
    padding: 15px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #5a5a5a; /* Not overly dark */
    font-weight: 600;
}

.logo span {
    font-weight: 400;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

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

.cta-nav {
    border: 1px solid var(--accent-color);
    padding: 10px 25px !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s linear;
}

#hero:hover .hero-bg {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(253, 252, 251, 0.8), rgba(253, 252, 251, 0.2));
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    animation: slideUp 1.2s var(--transition);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: slideUp 1.4s var(--transition);
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: slideUp 1.6s var(--transition);
}

.floating-contact {
    position: absolute;
    bottom: 60px;
    left: 40px;
    display: flex;
    gap: 40px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.floating-contact a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--heading-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border: 1px solid var(--heading-color);
}

.btn-secondary:hover {
    background-color: var(--heading-color);
    color: white;
}

.full-width {
    width: 100%;
}

/* About Section */
.split-about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-col img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(20%);
}

.about-text-block h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-text-block p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Services Section */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 30px;
}

.service-block {
    position: relative;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.service-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    transition: var(--transition);
}

.service-block:hover .service-img {
    opacity: 0.2;
    transform: scale(1.1);
}

.service-info {
    position: relative;
    z-index: 1;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.block-large {
    grid-column: span 2;
}

.block-medium {
    grid-column: span 1;
}

.block-small {
    grid-column: span 1;
    background: var(--bg-light);
}

/* Workflow Section */
.horizontal-scroll-container {
    overflow-x: auto;
    padding: 40px 0;
    scrollbar-width: none;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.workflow-scroll {
    display: flex;
    gap: 60px;
    width: max-content;
}

.workflow-step {
    width: 300px;
    padding: 40px;
    background: white;
    border-left: 1px solid var(--accent-color);
}

.step-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--bg-light);
    -webkit-text-stroke: 1px var(--accent-color);
    margin-bottom: 20px;
}

.workflow-step h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-details p {
    margin-bottom: 15px;
}

.contact-details a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-form-box {
    background: white;
    padding: 60px;
}

.form-group {
    margin-bottom: 25px;
}

input, textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-bottom-color: var(--heading-color);
}

.success-ui {
    text-align: center;
    padding: 40px 0;
}

.success-ui i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
    .split-about, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); }
    .block-large { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .masonry-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .block-large, .block-medium, .block-small { grid-column: span 1; }
    .workflow-step { width: 260px; }
    .contact-form-box { padding: 30px; }
}
