﻿:root {
    --ink: #282116;
    --ink-soft: #5c554b;
    --stone: #f4efe7;
    --stone-2: #e8ded0;
    --paper: #fffdf9;
    --clay: #b86f46;
    --clay-dark: #7d3f28;
    --sage: #66745f;
    --gold: #d6b37a;
    --line: rgba(40, 33, 22, 0.14);
    --white: #ffffff;
    --success: #2f8f66;
    --radius: 8px;
    --shadow: 0 18px 60px rgba(40, 33, 22, 0.12);
    --shadow-soft: 0 8px 28px rgba(40, 33, 22, 0.08);
    --transition: 180ms ease;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(40, 33, 22, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 33, 22, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    z-index: -1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
section { padding: 88px 0; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-mark { width: 34px; height: 34px; border-radius: var(--radius); background: conic-gradient(from 45deg, var(--ink) 0 25%, var(--gold) 0 50%, var(--ink) 0 75%, var(--gold) 0); box-shadow: inset 0 0 0 5px var(--paper); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; border-radius: var(--radius); font-size: 0.95rem; color: var(--ink-soft); transition: var(--transition); }
.nav a:hover { background: var(--stone); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { font-weight: 800; white-space: nowrap; }
.lang-switcher { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.lang-btn { border: 0; background: transparent; color: var(--ink-soft); border-radius: 6px; padding: 7px 9px; font-weight: 800; font-size: 0.78rem; transition: var(--transition); }
.lang-btn.active { background: var(--ink); color: var(--white); }

.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; padding: 104px 0 64px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(26,20,13,0.66) 0%, rgba(26,20,13,0.34) 44%, rgba(26,20,13,0.06) 72%, rgba(26,20,13,0.22) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: start; }
.hero-glass {
    max-width: 640px;
    padding: 34px 36px;
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 24px 70px rgba(20, 15, 10, 0.3);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
}
.eyebrow { color: var(--clay-dark); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.hero-title { font-size: clamp(2.05rem, 4.2vw, 3.7rem); line-height: 1.05; letter-spacing: -0.01em; }
.hero-subtitle { margin-top: 18px; color: var(--ink-soft); font-size: clamp(1.01rem, 1.5vw, 1.16rem); max-width: 560px; }
.hero-cta, .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta { margin-top: 26px; }
.hero-consult { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.hero-consult strong { font-size: 1rem; }
.hero-consult span { color: var(--ink-soft); font-size: 0.93rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 20px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 900; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: #17120c; box-shadow: var(--shadow); }
.btn-secondary { background: rgba(255,255,255,0.72); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { background: var(--white); border-color: rgba(40,33,22,0.34); }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; box-shadow: var(--shadow-soft); }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; box-shadow: var(--shadow); }
.btn-lg { min-height: 58px; padding-inline: 26px; }
.btn-block { width: 100%; }

.hero-capsules { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-capsule {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 22px; border-radius: 999px;
    background: rgba(255, 253, 249, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 38px rgba(20, 15, 10, 0.24);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    font-weight: 800; color: var(--ink);
}
.hero-capsule strong { font-size: 1.5rem; line-height: 1; color: var(--clay-dark); }
.hero-capsule > span { font-size: 0.92rem; font-weight: 700; color: var(--ink-soft); }
.hero-capsule .proof-mark { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: var(--sage); color: #fff; font-size: 0.95rem; font-weight: 900; }
.hero-capsule-badge > span { color: var(--ink); font-weight: 800; }

.trust-strip { padding: 0; background: var(--ink); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.14); }
.trust-grid div { padding: 18px; background: var(--ink); font-weight: 800; font-size: 0.94rem; }

.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading-row { max-width: none; display: grid; grid-template-columns: 0.9fr 0.8fr; gap: 36px; align-items: end; }
.section-title { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.04; letter-spacing: 0; }
.section-lead { margin-top: 14px; color: var(--ink-soft); font-size: 1.06rem; }

.services { background: var(--paper); }
.services-grid, .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card, .benefit-card, .review-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.72); box-shadow: var(--shadow-soft); }
.service-card { min-height: 240px; padding: 24px; transition: var(--transition); }
.service-card:hover, .portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon, .benefit-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--ink); color: var(--gold); font-weight: 900; margin-bottom: 20px; }
.service-title, .benefit-title { font-size: 1.2rem; line-height: 1.2; margin-bottom: 10px; }
.service-description, .benefit-description { color: var(--ink-soft); font-size: 0.96rem; }

.portfolio { background: linear-gradient(180deg, var(--stone), var(--paper)); }
.portfolio-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.72); color: var(--ink-soft); font-weight: 850; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.portfolio-item { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.5); background: var(--ink); cursor: pointer; transition: var(--transition); }
.portfolio-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.portfolio-item:hover .portfolio-image { transform: scale(1.05); }
.portfolio-overlay { position: absolute; inset: auto 0 0; padding: 72px 20px 20px; color: var(--white); background: linear-gradient(to top, rgba(20,16,11,0.94), rgba(20,16,11,0)); pointer-events: none; }
.portfolio-category { font-size: 0.78rem; color: var(--gold); text-transform: uppercase; font-weight: 900; margin-bottom: 8px; }
.portfolio-title { font-size: 1.25rem; line-height: 1.2; font-weight: 900; }
.portfolio-description { margin-top: 8px; color: rgba(255,255,255,0.78); font-size: 0.94rem; }

.process { background: var(--paper); }
.process-layout, .faq-layout, .estimator-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 52px; align-items: start; }
.sticky-heading { position: sticky; top: 112px; }
.process-steps { display: grid; gap: 12px; }
.process-step { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.72); }
.step-number { width: 42px; height: 42px; border-radius: var(--radius); display: grid; place-items: center; background: var(--clay); color: var(--white); font-weight: 900; }
.step-content h3 { font-size: 1.18rem; margin-bottom: 4px; }
.step-content p { color: var(--ink-soft); }

.estimator { background: var(--ink); color: var(--white); }
.estimator .eyebrow { color: var(--gold); }
.estimator .section-title { color: var(--white); }
.estimator .section-lead { color: rgba(255,255,255,0.72); }
.estimator-card { display: grid; gap: 18px; border-radius: var(--radius); padding: 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); }
.estimator-form, .estimator-result { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label, .form-label { display: block; font-weight: 900; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); outline: none; transition: var(--transition); }
.form-group textarea { resize: vertical; min-height: 92px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 4px rgba(184,111,70,0.14); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group label.checkbox-label { display: flex; align-items: center; gap: 13px; min-height: 44px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; font-weight: 600; margin-bottom: 0; }
.checkbox-label input { accent-color: var(--clay); width: 20px; min-width: 20px; height: 20px; min-height: 20px; flex: 0 0 auto; margin: 0; }
.estimator-result { display: none; text-align: center; }
.result-label { color: var(--ink-soft); font-weight: 800; }
.result-price { font-size: clamp(2rem, 5vw, 3rem); font-weight: 950; margin: 6px 0; }
.result-disclaimer { color: var(--ink-soft); margin-bottom: 18px; }

.benefits { background: var(--paper); }
.benefit-card { padding: 24px; }
.benefit-icon { font-size: 1.2rem; }
.reviews { background: var(--stone); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card { padding: 24px; }
.review-rating { color: var(--clay); letter-spacing: 0.08em; margin-bottom: 14px; }
.review-text { color: var(--ink-soft); margin-bottom: 18px; }
.review-author { font-weight: 950; }
.review-project { color: var(--ink-soft); font-size: 0.9rem; }

.faq { background: var(--paper); }
.faq-accordion { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: transparent; border: 0; text-align: left; font-weight: 900; font-size: 1.08rem; color: var(--ink); }
.faq-icon { width: 32px; height: 32px; border-radius: var(--radius); display: grid; place-items: center; background: var(--stone); flex: 0 0 auto; transition: var(--transition); }
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 260ms ease; }
.faq-item.active .faq-answer { max-height: 360px; }
.faq-answer-content { padding: 0 52px 22px 0; color: var(--ink-soft); }

.service-area { background: var(--paper); padding-top: 44px; }
.area-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px; border-radius: var(--radius); background: var(--stone); border: 1px solid var(--line); }
.area-card .section-title { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.service-area-text { margin-top: 12px; color: var(--ink-soft); max-width: 720px; }

.final-cta { background: linear-gradient(135deg, #2a2117, #6d3a26); color: var(--white); text-align: center; }
.final-cta-inner { max-width: 840px; }
.final-cta .eyebrow { color: var(--gold); }
.final-cta .section-title { color: var(--white); }
.final-cta-text { color: rgba(255,255,255,0.78); font-size: 1.12rem; margin: 16px auto 28px; max-width: 720px; }
.final-cta .cta-buttons { justify-content: center; }
.final-cta .btn-primary { background: var(--gold); color: var(--ink); }
.final-cta .btn-secondary { color: var(--white); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }

.contacts { background: var(--paper); }
.contacts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 660px; }
.contact-item { min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.78); box-shadow: var(--shadow-soft); }
.contact-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius); background: var(--ink); color: var(--gold); font-weight: 950; }
.contact-item small { display: block; color: var(--ink-soft); margin-bottom: 3px; }
.contact-item strong { display: block; line-height: 1.2; }

.footer { background: var(--ink); color: rgba(255,255,255,0.76); padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer a { color: var(--gold); font-weight: 900; }

.mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 99; display: none; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,249,0.92); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.mobile-bar-btn { min-height: 54px; display: grid; place-items: center; gap: 2px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font-weight: 900; }
.mobile-bar-btn span { line-height: 1; }
.mobile-bar-btn small { font-size: 0.72rem; }
.mobile-bar-btn:hover { background: var(--stone); }

.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(22,16,10,0.68); backdrop-filter: blur(8px); }
.modal-content { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; border-radius: var(--radius); background: var(--paper); padding: 28px; box-shadow: var(--shadow); }
.modal-large { width: min(920px, 100%); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: var(--radius); background: var(--stone); color: var(--ink); font-size: 1.6rem; line-height: 1; }
.modal-title { font-size: 1.55rem; margin-bottom: 18px; padding-right: 44px; }
.lead-success { display: none; text-align: center; padding: 20px 0 4px; }
.success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: var(--radius); background: var(--success); color: var(--white); font-size: 2rem; font-weight: 900; }
.lead-success h4 { font-size: 1.35rem; margin-bottom: 8px; }
.lead-success p { color: var(--ink-soft); margin-bottom: 18px; }
.portfolio-modal-visual { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--ink); }
.portfolio-modal-visual img { width: 100%; max-height: 68vh; object-fit: contain; display: block; }
.portfolio-modal-text { display: grid; gap: 8px; }
.portfolio-modal-text p { color: var(--ink-soft); }

@media (max-width: 1020px) {
    .nav { display: none; }
    .process-layout, .faq-layout, .estimator-layout, .section-heading-row { grid-template-columns: 1fr; }
    .services-grid, .portfolio-grid, .benefits-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .sticky-heading { position: static; }
}

@media (max-width: 720px) {
    body { padding-bottom: 84px; }
    section { padding: 58px 0; }
    .container { width: min(100% - 22px, 1180px); }
    .header-inner { min-height: 66px; }
    .header-phone { display: none; }
    .brand { font-size: 0.94rem; }
    .brand-logo { height: 32px; }
    .hero { min-height: auto; padding: 92px 0 44px; }
    .hero-glass { padding: 26px 22px; }
    .hero-title { font-size: clamp(2rem, 8.5vw, 2.6rem); }
    .hero-capsule { padding: 11px 18px; }
    .services-grid, .portfolio-grid, .benefits-grid, .reviews-grid, .contacts-grid, .trust-grid, .form-row, .checkbox-grid { grid-template-columns: 1fr; }
    .hero-showcase { min-height: 360px; }
    .hero-card-top { top: 12px; }
    .hero-card-bottom { right: 8px; bottom: 14px; }
    .portfolio-item { min-height: 310px; }
    .process-step { grid-template-columns: 44px 1fr; padding: 16px; }
    .area-card { align-items: stretch; flex-direction: column; padding: 22px; }
    .cta-buttons, .hero-cta { flex-direction: column; }
    .btn { width: 100%; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .mobile-bar { display: grid; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger.is-visible > *:nth-child(1) { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.07s; }
.stagger.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.14s; }
.stagger.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.21s; }
.stagger.is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.28s; }
.stagger.is-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.35s; }

/* ============================================================
   WHATSAPP FLOATING BUTTON (desktop only)
   ============================================================ */
.wa-float {
    position: fixed;
    right: 26px;
    bottom: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 98;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.38), 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 220ms var(--ease-spring), box-shadow 220ms ease;
}
.wa-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.52), 0 4px 14px rgba(0,0,0,0.12);
}
@media (max-width: 720px) { .wa-float { display: none; } }

/* ============================================================
   PROCESS — VERTICAL CONNECTOR LINE
   ============================================================ */
.process-steps { position: relative; }
.process-steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--clay) 0%, rgba(184,111,70,0.15) 100%);
    z-index: 0;
    pointer-events: none;
}
.process-step { position: relative; z-index: 1; }

/* ============================================================
   IMPROVED CARD TRANSITIONS
   ============================================================ */
.service-card {
    transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(40,33,22,0.13);
    border-color: rgba(184,111,70,0.28);
}
.benefit-card, .review-card {
    transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(40,33,22,0.11); }
.review-card:hover  { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(40,33,22,0.1); }

/* ============================================================
   HERO STATS HOVER
   ============================================================ */
.hero-proof div {
    transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
    cursor: default;
}
.hero-proof div:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(40,33,22,0.1);
}

/* ============================================================
   HEADER SHADOW ON SCROLL
   ============================================================ */
.header { transition: box-shadow 280ms ease, background 280ms ease; }
.header.scrolled { box-shadow: 0 4px 28px rgba(40,33,22,0.1); }

/* ============================================================
   PORTFOLIO — RICHER OVERLAY ON HOVER
   ============================================================ */
.portfolio-overlay { transition: background 280ms ease; }
.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(20,16,11,0.97) 0%, rgba(20,16,11,0.08) 100%);
}
.portfolio-item:focus-visible {
    outline: 3px solid var(--clay);
    outline-offset: 3px;
}

/* ============================================================
   PORTFOLIO FILTER — SMOOTH TRANSITION
   ============================================================ */
.portfolio-grid {
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.portfolio-grid.is-filtering {
    opacity: 0.25;
    transform: scale(0.985);
}

/* ============================================================
   TRUST STRIP — DIVIDER DOTS
   ============================================================ */
.trust-grid div {
    position: relative;
    padding: 20px 20px 20px 40px;
    transition: background 180ms ease;
}
.trust-grid div::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.7;
}

/* ============================================================
   FORM — BETTER FOCUS RING
   ============================================================ */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(184,111,70,0.16);
}
.checkbox-label:has(input:checked) {
    border-color: var(--clay);
    background: rgba(184,111,70,0.05);
}

/* ============================================================
   CONTACT ITEMS LINK HOVER
   ============================================================ */
a.contact-item {
    transition: transform 200ms var(--ease-out), box-shadow 200ms ease, border-color 200ms ease;
}
a.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(40,33,22,0.1);
    border-color: rgba(40,33,22,0.22);
}

/* ============================================================
   SCROLL-TO-TOP (footer link)
   ============================================================ */
.footer a {
    transition: color 180ms ease, opacity 180ms ease;
}
.footer a:hover { opacity: 0.75; }

/* ============================================================
   PROCESS — LIVE PHOTO GALLERY
   ============================================================ */
.process-live { margin-top: 52px; }
.process-live-title { font-size: clamp(1.15rem, 2.4vw, 1.55rem); margin-bottom: 18px; }
.process-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.process-shot {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink);
    box-shadow: var(--shadow-soft);
}
.process-shot img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 420ms var(--ease-out);
}
.process-shot:hover img { transform: scale(1.05); }
.process-shot figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 34px 14px 13px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    background: linear-gradient(to top, rgba(20,16,11,0.92), rgba(20,16,11,0));
}
@media (max-width: 1020px) {
    .process-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .process-gallery { grid-template-columns: 1fr; }
    .process-shot img { height: 260px; }
}
