@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&display=swap');

/* ==========================================
   VARIÁVEIS
   ========================================== */

:root {
    --primary-bg: #161616;
    --primary-text: #FFFFFF;
    --accent-primary: #006437;
    --accent-secondary: #2d7a4f;
    --accent-gold: #EFC47D;
    --text-secondary: #A8A8A8;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-display: 'Syne', system-ui, sans-serif;
}

/* ==========================================
   RESET
   ========================================== */

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(22, 22, 22, 0.9);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* ==========================================
   CONTAINER
   ========================================== */

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

/* ==========================================
   NAVBAR
   ========================================== */

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(16, 16, 16, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border-color);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

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

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

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

.nav-link {
    font-family: var(--font-display);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.25s ease;
    position: relative;
}

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

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

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

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

.menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--primary-text);
    border-radius: 1px;
    transition: all 0.3s ease;
    display: block;
}

/* ==========================================
   HERO
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 100, 55, 0.35), transparent);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

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

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.hero-title {
    font-size: clamp(44px, 8vw, 84px);
    font-weight: 800;
    line-height: 1.0;
    color: var(--primary-text);
    margin-bottom: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.25s forwards;
}

.hero-title-accent {
    color: var(--accent-primary);
}

.hero-title-location {
    display: block;
    font-size: clamp(13px, 1.8vw, 20px);
    font-weight: 700;
    color: rgba(239, 196, 125, 0.65);
    letter-spacing: 0.04em;
    margin-top: 18px;
    font-family: var(--font-display);
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--text-secondary);
    margin-top: 36px;
    margin-bottom: 48px;
    line-height: 1.75;
    max-width: 520px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.55s forwards;
}

/* ==========================================
   BOTÕES CTA
   ========================================== */

.cta-button {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    border: 1.5px solid transparent;
}

.cta-button.primary {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.cta-button.primary:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 100, 55, 0.35);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-text);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.25);
    opacity: 0;
    animation: bounce 2.5s ease-in-out infinite, fadeIn 0.8s ease 1.2s forwards;
}

/* ==========================================
   KEYFRAMES
   ========================================== */

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

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-7px); }
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
    padding: 112px 24px;
    position: relative;
}

.section-title {
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--accent-gold);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 56px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.section-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   SOBRE
   ========================================== */

.sobre {
    background-color: rgba(10, 10, 10, 0.4);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
    max-width: 1200px;
    margin: 48px auto 0;
}

.sobre-foto-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 3px;
    border: 1px solid rgba(0, 100, 55, 0.2);
    position: sticky;
    top: 96px;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

/* Gradiente que escurece as bordas e o fundo branco da foto */
.sobre-foto-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, transparent 55%, rgba(14, 14, 14, 0.72) 100%),
        radial-gradient(ellipse at center, transparent 55%, rgba(14, 14, 14, 0.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.sobre-foto-placeholder::after { content: none; }

.sobre-foto-placeholder:hover {
    border-color: rgba(0, 100, 55, 0.4);
}

.sobre-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 65%;
    display: block;
    border-radius: 3px;
}

.sobre-text {
    line-height: 1.8;
    color: var(--text-secondary);
}

.sobre-text .lead {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 28px;
}

.sobre-text p {
    font-size: 16px;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sobre-text p.visible {
    opacity: 1;
    transform: translateY(0);
}

.sobre-text p:nth-child(2) { transition-delay: 0.08s; }
.sobre-text p:nth-child(3) { transition-delay: 0.16s; }

.sobre-text strong { color: var(--accent-primary); font-weight: 600; }

/* ==========================================
   SERVIÇOS
   ========================================== */

.servicos {
    background-color: rgba(22, 22, 22, 0.2);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

.servico-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 36px 28px 30px;
    border-radius: 4px;
    text-align: left;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
}

/* Borda esquerda animada no hover */
.servico-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.servico-card.complementar::before {
    background-color: var(--accent-gold);
}

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

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

/* Stagger de entrada */
.servico-card:nth-child(1) { transition-delay: 0s; }
.servico-card:nth-child(2) { transition-delay: 0.07s; }
.servico-card:nth-child(3) { transition-delay: 0.14s; }
.servico-card:nth-child(4) { transition-delay: 0.07s; }
.servico-card:nth-child(5) { transition-delay: 0.14s; }
.servico-card:nth-child(6) { transition-delay: 0.21s; }

.servico-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transition-delay: 0s;
}

.servico-card.complementar {
    background-color: rgba(239, 196, 125, 0.03);
    border-color: rgba(239, 196, 125, 0.12);
}

.servico-card.complementar:hover {
    background-color: rgba(239, 196, 125, 0.06);
    border-color: rgba(239, 196, 125, 0.22);
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid rgba(239, 196, 125, 0.3);
    padding: 3px 9px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-num {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    transition: color 0.3s ease;
}

.servico-card:hover .card-num {
    color: rgba(0, 100, 55, 0.28);
}

.servico-card.complementar:hover .card-num {
    color: rgba(239, 196, 125, 0.22);
}

.servico-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.servico-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================
   DIFERENCIAIS
   ========================================== */

.diferenciais {
    background-color: rgba(10, 10, 10, 0.4);
}

.diferenciais-list {
    margin-top: 56px;
    border-top: 1px solid var(--border-color);
}

.diferencial-item {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.25s ease;
    opacity: 0;
    transform: translateY(14px);
    cursor: default;
}

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

/* Stagger de entrada */
.diferencial-item:nth-child(1) { transition-delay: 0s; }
.diferencial-item:nth-child(2) { transition-delay: 0.07s; }
.diferencial-item:nth-child(3) { transition-delay: 0.14s; }
.diferencial-item:nth-child(4) { transition-delay: 0.21s; }
.diferencial-item:nth-child(5) { transition-delay: 0.28s; }

.diferencial-item:hover {
    transform: translateX(6px);
    transition-delay: 0s;
}

.diferencial-num {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.4;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    width: 32px;
    padding-top: 4px;
    transition: opacity 0.25s ease;
}

.diferencial-item:hover .diferencial-num {
    opacity: 1;
}

.diferencial-body { flex: 1; }

.diferencial-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 6px;
    transition: color 0.25s ease;
}

.diferencial-item:hover h3 {
    color: var(--accent-primary);
}

.diferencial-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   PORTFOLIO
   ========================================== */

.portfolio {
    background-color: rgba(22, 22, 22, 0.2);
}

.portfolio-carousel {
    overflow: hidden;
    margin: 0 0 32px;
    position: relative;
}

/* Fade nas bordas */
.portfolio-carousel::before,
.portfolio-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
}

.portfolio-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-bg), transparent);
}

.portfolio-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-bg), transparent);
}

.portfolio-track {
    display: flex;
    gap: 20px;
    animation: scroll 32s linear infinite;
    width: max-content;
    padding: 40px 0;
}

.portfolio-track:hover {
    animation-play-state: paused;
}

.portfolio-item {
    width: 180px;
    height: 180px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.portfolio-item:hover {
    border-color: rgba(0, 100, 55, 0.45);
    background-color: rgba(0, 100, 55, 0.06);
    transform: scale(1.04);
}

.portfolio-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.portfolio-logo img {
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    filter: brightness(0.55) grayscale(50%);
    transition: filter 0.35s ease;
}

.portfolio-item:hover .portfolio-logo img {
    filter: brightness(1) grayscale(0%);
}

.portfolio-cta {
    text-align: center;
    color: var(--accent-gold);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

/* ==========================================
   CONTATO
   ========================================== */

.contato {
    background-color: rgba(10, 10, 10, 0.4);
}

.contato-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    margin-top: 0;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--primary-text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: rgba(0, 100, 55, 0.07);
    box-shadow: 0 0 0 3px rgba(0, 100, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.18);
}

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

.submit-button {
    padding: 13px 28px;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 4px;
    letter-spacing: 0.02em;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 100, 55, 0.3);
}

.submit-button:active { transform: translateY(0); }

.form-status {
    font-size: 13px;
    font-weight: 500;
    min-height: 18px;
    margin-top: 4px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 22px 24px;
    border-radius: 4px;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateX(4px);
}

.info-icon {
    color: var(--accent-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.info-card-text { flex: 1; min-width: 0; }

.info-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 2px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.location-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.28);
    margin-top: 2px;
}

.info-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.info-link:hover { color: var(--accent-gold); }

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 28px 24px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

.footer a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer a:hover { color: var(--accent-gold); }

/* ==========================================
   RESPONSIVE — 1024px
   ========================================== */

@media (max-width: 1024px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-foto-placeholder {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .submit-button { align-self: stretch; }
}

/* ==========================================
   RESPONSIVE — 768px
   ========================================== */

@media (max-width: 768px) {
    .navbar-container { height: 64px; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: rgba(16, 16, 16, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        gap: 0;
        padding: 20px 0;
        backdrop-filter: blur(12px);
    }

    .nav-menu.active { left: 0; }

    .nav-item {
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after { display: none; }
    .menu-toggle { display: flex; }

    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .hero {
        padding: 100px 24px 64px;
    }

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

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section { padding: 80px 24px; }

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

    .diferencial-item { gap: 28px; }

    .portfolio-track { animation-duration: 22s; }

    .portfolio-item { width: 148px; height: 148px; }

    .info-card:hover { transform: none; }

    .sobre-foto-placeholder {
        order: -1;
        max-width: 340px;
        margin: 0 auto;
    }
}

/* ==========================================
   RESPONSIVE — 480px
   ========================================== */

@media (max-width: 480px) {
    .hero-title { font-size: clamp(28px, 8.5vw, 40px); }
    .section-title { font-size: 26px; }
    .section { padding: 64px 20px; }
    .portfolio-item { width: 120px; height: 120px; }
    .servico-card { padding: 28px 22px; }
    .diferencial-item { gap: 20px; padding: 28px 0; }
    .diferencial-item h3 { font-size: 17px; }
}

/* ==========================================
   BLOG
   ========================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, border-color 0.25s ease;
    transition-delay: 0s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    transition-delay: 0s;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-text);
    line-height: 1.3;
    margin: 0;
}

.blog-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.blog-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: opacity 0.2s ease;
}

.blog-card-link:hover {
    opacity: 0.75;
}

.blog-skeleton {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    height: 200px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.blog-cta-wrap {
    text-align: center;
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   PREFERS 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; }
    .portfolio-track { animation: none; }
}
