/* ─── BASE ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: rgba(185, 29, 64, 0.15);
    color: #6c132c;
}

/* ─── NAV ─── */
.nav {
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(185, 29, 64, 0.08);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(253, 248, 246, 0.97);
    box-shadow: 0 1px 20px rgba(108, 19, 44, 0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #6c132c;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-logo svg {
    color: #b91d40;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7e1330;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #b91d40;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #b91d40;
}

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

.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c132c;
    padding: 4px;
    display: flex;
    align-items: center;
}

.nav-mobile {
    border-top: 1px solid rgba(185, 29, 64, 0.08);
}

.mobile-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7e1330;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: #b91d40;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn--primary {
    background: #b91d40;
    color: #fdf8f6;
    border-color: #b91d40;
}

.btn--primary:hover {
    background: #971434;
    border-color: #971434;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(185, 29, 64, 0.25);
}

.btn--light {
    background: rgba(253, 248, 246, 0.12);
    color: #fdf8f6;
    border-color: rgba(253, 248, 246, 0.4);
    backdrop-filter: blur(8px);
}

.btn--light:hover {
    background: rgba(253, 246, 246, 0.2);
    border-color: rgba(253, 248, 246, 0.7);
}

.btn--ghost {
    background: transparent;
    color: #fdf8f6;
    border-color: rgba(253, 248, 246, 0.3);
}

.btn--ghost:hover {
    background: rgba(253, 248, 246, 0.08);
    border-color: rgba(253, 248, 246, 0.6);
}

.btn--outline {
    background: transparent;
    color: #6c132c;
    border-color: #b91d40;
}

.btn--outline:hover {
    background: #b91d40;
    color: #fdf8f6;
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.75rem;
}

.btn--full {
    width: 100%;
}

/* ─── HERO ─── */
.hero {
    background: linear-gradient(135deg, #3b0712 0%, #6c132c 30%, #b91d40 60%, #dc3d5a 80%, #e87347 100%);
}

.hero-gradient {
    background: linear-gradient(135deg, #3b0712 0%, #6c132c 35%, #b91d40 65%, #dc3d5a 85%, #e87347 100%);
}

.hero-content {
    opacity: 1;
    animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.4s forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
    opacity: 0;
    animation: heroFadeUp 0.8s ease 0.8s forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-line-1,
.hero-line-2 {
    opacity: 0.6;
}

.hero-scroll {
    opacity: 0.6;
}

/* ─── SECTIONS ─── */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 0;
}

.eyebrow {
    display: block;
}

.section-line {
    width: 48px;
    height: 1px;
    background: #b91d40;
}

/* ─── SERVICES ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.service-card {
    background: #fdf8f6;
    padding: 48px 36px;
    transition: all 0.4s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #b91d40, #e87347);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    background: #fef0ec;
}

.service-icon {
    color: #b91d40;
    margin-bottom: 20px;
    opacity: 0.8;
}

.service-card h3 {
    font-weight: 400;
}

.service-card p {
    font-size: 0.95rem;
}

/* ─── ABOUT ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    z-index: 1;
}

.about-img {
    width: 100%;
    height: 475px;
    object-fit: cover;
    border-radius: 2px;
}

.about-img-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(185, 29, 64, 0.2);
    border-radius: 2px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-weight: 300;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(185, 29, 64, 0.15);
}

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 7, 18, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* ─── PROCESS ─── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.process-step {
    padding: 48px 36px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(185, 29, 64, 0.2);
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    font-weight: 300;
    line-height: 1;
}

.process-step h3 {
    font-weight: 400;
}

.process-step p {
    font-size: 0.95rem;
}

/* ─── CONTACT ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    color: #b91d40;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail p:first-child {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-detail p:last-child {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─── FORM ─── */
.contact-form-wrapper {
    background: #fdf8f6;
    padding: 48px;
    border-radius: 2px;
    border: 1px solid rgba(185, 29, 64, 0.08);
}

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

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7e1330;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #6c132c;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(185, 29, 64, 0.15);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: #fad0d9;
}

.form-input:focus {
    border-bottom-color: #b91d40;
}

.form-select {
    cursor: pointer;
    color: #fad0d9;
}

.form-select option {
    color: #6c132c;
    background: #fdf8f6;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    display: block;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success-icon {
    color: #b91d40;
    margin-bottom: 20px;
}

.form-success h3 {
    font-weight: 400;
}

.form-success p {
    font-size: 0.95rem;
}

/* ─── FOOTER ─── */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: #fce7eb;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo svg {
    color: #fce7eb;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    line-height: 2;
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal[data-reveal].revealed ~ .reveal[data-reveal] {
    /* handled by JS */
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
    .hero-content,
    .hero-eyebrow,
    .hero-title,
    .hero-subtitle,
    .hero-cta {
        opacity: 1;
        animation: none;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-step:nth-child(2)::after {
        display: none;
    }
    .process-step:last-child {
        grid-column: span 2;
    }
    .about-grid,
    .contact-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-title br {
        display: none;
    }
    .services-grid,
    .gallery-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    .process-step::after,
    .process-step:last-child::after {
        display: none;
    }
    .process-step:last-child {
        grid-column: auto;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-img {
        height: 320px;
    }
    .about-img-accent {
        display: none;
    }
    .about-stats {
        gap: 24px;
    }
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .section-header h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .section {
        padding: 56px 0;
    }
    .service-card {
        padding: 36px 28px;
    }
}
