:root {
    --ink: #17221b;
    --muted: #757c74;
    --green: #277745;
    --green-dark: #195c33;
    --pale: #edf4ed;
    --line: #e9ece6;
    --canvas: #fcfcfa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body.catalog-site { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.has-gallery { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:disabled, [aria-disabled="true"] { cursor: wait; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #78ae83; outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex-shrink: 0; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: white; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon-button { border: 0; padding: 0; display: inline-flex; justify-content: center; align-items: center; background: transparent; }
.site-header { background: #101411; color: #fff; position: relative; z-index: 5; }
.header-inner { height: 96px; display: flex; align-items: center; gap: 38px; position: relative; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 164px; height: 52px; object-fit: contain; }
.header-location { display: flex; align-items: center; gap: 7px; color: #b6bdb6; font-size: 13px; }
.header-location .icon { width: 17px; height: 17px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.instagram-link { color: #eb7e93; }
.instagram-link .icon { width: 29px; height: 29px; stroke-width: 2; }
.header-phone { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-weight: 500; font-size: 15px; }
.header-phone .icon { width: 17px; height: 17px; }
.header-saved { position: relative; width: 30px; height: 40px; }
.header-saved .icon { width: 23px; height: 23px; }
.header-saved span { position: absolute; top: -1px; right: -7px; min-width: 16px; padding: 0 3px; border-radius: 10px; background: #3c8650; font-size: 10px; line-height: 16px; }
.header-saved.is-active .icon { fill: #d7edda; stroke: #d7edda; }
.catalog-main { padding-top: 40px; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.catalog-heading h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.13; font-weight: 750; letter-spacing: -1.6px; }
.catalog-heading p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.local-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #61735d; padding: 8px 13px; border: 1px solid #e0e8dc; border-radius: 24px; white-space: nowrap; }
.local-label > span { width: 6px; height: 6px; border-radius: 50%; background: #4f8c4c; }
.category-list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; padding-bottom: 3px; }
.category-list::-webkit-scrollbar { display: none; }
.category-tab { flex: 1 0 100px; min-height: 92px; padding: 14px 12px 12px; border: 1px solid transparent; background: #f0f1ed; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; transition: background .18s, color .18s; }
.category-tab .icon { width: 30px; height: 30px; stroke-width: 1.35; }
.category-tab span { font-size: 13px; line-height: 1.25; text-align: center; font-weight: 600; }
.category-tab:hover { background: #e6ece3; }
.category-tab.is-active { color: #fff; background: var(--green); }
.catalog-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; min-height: 360px; background: #efefeb; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 78%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #efefeb 2%, #efefebfa 25%, #efefebcc 37%, #efefeb00 66%); z-index: -1; }
.hero-content { padding: 42px 46px 54px; max-width: 49%; }
.eyebrow { display: block; font-size: 10px; line-height: 1.5; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: #6c7e66; }
.hero-content h2 { margin-top: 14px; font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -1.5px; font-weight: 750; line-height: 1.08; max-width: 340px; }
.hero-content p { font-size: 16px; line-height: 1.5; max-width: 275px; margin-top: 13px; color: #646c61; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; border-radius: 11px; padding: 13px 21px; font-size: 14px; font-weight: 600; line-height: 1.4; min-height: 46px; transition: background .18s, border-color .18s; }
.button .icon { width: 20px; height: 20px; }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: var(--green-dark); }
.hero-content .button { margin-top: 23px; }
.hero-dots { position: absolute; bottom: 17px; left: 50%; display: flex; align-items: center; transform: translateX(-50%); }
.hero-dots button { position: relative; padding: 10px 7px; width: 24px; height: 28px; border: 0; background: transparent; }
.hero-dots button::before { content: ""; position: absolute; top: 9px; left: 7px; width: 9px; height: 9px; border-radius: 50%; background: #ffffffba; box-shadow: 0 0 0 1px #00000008; }
.hero-dots button.is-active::before { background: var(--green); }
.hero-note { position: absolute; right: 20px; bottom: 17px; color: white; font-size: 10px; text-shadow: 0 1px 6px #000b; }
.projects-section { margin-top: 38px; scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.section-heading h2 { margin-top: 4px; font-size: 28px; font-weight: 720; letter-spacing: -.8px; line-height: 1.2; }
.project-total { color: #7d8779; font-size: 12px; margin-bottom: 4px; white-space: nowrap; }
.project-total [data-total] { color: var(--green); font-weight: 600; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; transition: opacity .15s; }
.project-grid.is-filtering { opacity: .5; pointer-events: none; }
.project-card { position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 3px 12px #253b2710; transition: transform .2s, box-shadow .2s; }
.project-photo { display: block; position: relative; overflow: hidden; background: #eeefeb; aspect-ratio: 4 / 3; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.photo-count { position: absolute; left: 12px; bottom: 11px; display: flex; align-items: center; gap: 5px; color: white; font-size: 10px; background: #17221b70; border-radius: 6px; padding: 4px 7px; backdrop-filter: blur(5px); }
.photo-count .icon { width: 13px; height: 13px; }
.favorite-button { position: absolute; top: 11px; right: 11px; height: 35px; width: 35px; border-radius: 50%; background: #fffffff0; box-shadow: 0 2px 6px #0000000d; }
.favorite-button .icon { width: 20px; height: 20px; }
.favorite-button[aria-pressed="true"] { color: var(--green); }
.favorite-button[aria-pressed="true"] .icon { fill: var(--green); }
.project-info { padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-info > div { min-width: 0; }
.project-info h3 { font-size: 16px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.category-pill { display: inline-block; color: #417549; background: #edf5ec; border-radius: 20px; padding: 3px 9px; font-size: 10px; font-weight: 500; margin-top: 7px; line-height: 1.4; }
.project-arrow { flex: 0 0 33px; width: 33px; height: 33px; border-radius: 50%; background: #f3f4f0; }
.project-arrow .icon { width: 18px; height: 18px; }
.catalog-pagination { display: flex; flex-direction: column; align-items: center; gap: 13px; margin-top: 26px; }
.catalog-pagination p { font-size: 12px; color: var(--muted); }
.catalog-sentinel { width: 100%; height: 1px; }
.catalog-pagination .catalog-loading { display: inline-flex; align-items: center; gap: 9px; color: var(--green); }
.catalog-loading::before { content: ""; width: 15px; height: 15px; border: 2px solid #dce8dc; border-top-color: var(--green); border-radius: 50%; animation: catalog-loading .7s linear infinite; }
@keyframes catalog-loading { to { transform: rotate(360deg); } }
.button-outline { background: #fff; border-color: #d7e0d4; color: var(--green); padding-inline: 29px; }
.button-outline:hover { background: var(--pale); border-color: #9ab595; }
.catalog-message { padding: 15px; margin-top: 18px; border: 1px solid #e6d2b6; background: #faf4e9; border-radius: 10px; font-size: 13px; }
.catalog-empty { grid-column: 1 / -1; text-align: center; padding: 56px 25px; background: #f2f5ee; border-radius: 16px; }
.catalog-empty > .icon { width: 48px; height: 48px; color: #7e9277; margin-bottom: 15px; }
.catalog-empty h3 { font-size: 20px; font-weight: 650; }
.catalog-empty p { font-size: 14px; color: var(--muted); max-width: 410px; margin: 10px auto 0; }
.advantages { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); padding-block: 25px; margin-block: 38px; }
.advantages > div { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 13px; line-height: 1.4; padding-inline: 12px; }
.advantages > div + div { border-left: 1px solid var(--line); }
.advantages .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.about-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 25px; background: #eef2e9; border-radius: 20px; padding: 45px; margin-bottom: 44px; }
.about-panel h2 { margin-top: 12px; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -.9px; }
.about-panel p { margin-top: 16px; font-size: 14px; color: #6b7564; max-width: 480px; line-height: 1.7; }
.about-panel .button { margin-top: 24px; }
.about-detail { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; text-align: center; color: #79906e; border-left: 1px solid #dbe4d3; }
.about-detail > span { font-size: 18px; line-height: 1.4; letter-spacing: -.4px; }
.about-detail .icon { width: 96px; height: 96px; stroke-width: .6; }
.about-detail small { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; }
.site-footer { background: #141c16; color: #d0d7cc; padding-top: 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding-bottom: 30px; }
.footer-brand { display: block; color: white; font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: 1px; }
.footer-brand span { display: block; margin-top: 7px; font-size: 11px; font-weight: 400; letter-spacing: .2px; color: #9da996; }
.footer-inner p { font-size: 10px; color: #82907c; margin-top: 12px; }
.footer-contact { display: flex; flex-direction: column; gap: 5px; }
.footer-contact > a { color: #fff; font-size: 19px; font-weight: 500; }
.footer-contact span { font-size: 11px; color: #a4af9e; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { display: grid; place-items: center; background: #ffffff0a; border: 1px solid #ffffff14; width: 38px; height: 38px; border-radius: 50%; }
.footer-socials .icon { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; padding-block: 17px; border-top: 1px solid #ffffff12; color: #76846f; }
.whatsapp-float { position: fixed; right: 25px; bottom: 25px; z-index: 6; display: grid; place-items: center; width: 58px; height: 58px; background: #2ba353; color: white; border: 3px solid #ffffff88; border-radius: 50%; box-shadow: 0 4px 16px #216d3d40; transition: background .2s; }
.whatsapp-float:hover { background: #248b46; }
.whatsapp-float .icon { width: 33px; height: 33px; stroke-width: 1.6; }
.catalog-toast { position: fixed; bottom: 27px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 110px); padding: 12px 20px; border-radius: 10px; background: #172a1fee; color: white; box-shadow: 0 4px 20px #0002; font-size: 13px; z-index: 7; text-align: center; }
.project-dialog { width: min(1040px, calc(100% - 64px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: #fff; overflow: auto; }
.project-dialog::backdrop { background: #0b150ee6; backdrop-filter: blur(7px); }
.gallery-top { display: flex; align-items: center; justify-content: space-between; padding: 17px 22px; gap: 16px; }
.gallery-top h2 { font-size: 19px; line-height: 1.3; }
.gallery-top span { font-size: 11px; color: var(--muted); }
.gallery-top .icon-button { width: 36px; height: 36px; border-radius: 50%; background: #f0f2ed; flex-shrink: 0; }
.gallery-stage { position: relative; display: flex; justify-content: center; align-items: center; background: #131a15; min-height: 240px; height: min(62dvh, 650px); touch-action: pan-y pinch-zoom; }
.gallery-stage > img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #ffffffe0; }
.gallery-prev { left: 14px; }
.gallery-prev .icon { transform: rotate(180deg); }
.gallery-next { right: 14px; }
.gallery-counter { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); padding: 4px 13px; border-radius: 15px; color: #fff; background: #0008; font-size: 12px; }
.gallery-error { position: absolute; max-width: 280px; color: #fff; font-size: 14px; text-align: center; }
.gallery-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 19px 22px; }
.gallery-bottom > div { min-width: 0; }
.gallery-bottom p { font-size: 13px; color: #6e7768; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 110px; overflow: auto; }
.gallery-bottom strong { display: block; font-size: 17px; margin-top: 3px; }
.gallery-bottom .button { flex-shrink: 0; }
.original-link { display: inline-block; font-size: 11px; color: var(--green); margin-top: 5px; }
@media (hover: hover) {
    .project-card:hover { transform: translateY(-3px); box-shadow: 0 7px 22px #253b271a; }
    .project-card:hover .project-photo img { transform: scale(1.035); }
    .project-card:hover .project-arrow { background: var(--pale); color: var(--green); }
}
@media (max-width: 1050px) {
    .header-location { display: none; }
    .header-inner { gap: 20px; }
    .hero-content { max-width: 56%; padding: 35px; }
    .hero-content .eyebrow { font-size: 9px; letter-spacing: 1px; }
    .hero-note { display: none; }
    .local-label { display: none; }
}
@media (max-width: 900px) {
    .shell { width: calc(100% - 48px); }
    .header-inner { height: 84px; }
    .catalog-main { padding-top: 30px; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .category-tab { flex-basis: 85px; }
    .catalog-hero { min-height: 320px; }
    .hero-content h2 { font-size: 37px; }
    .hero-content p { font-size: 14px; max-width: 215px; }
    .advantages > div { font-size: 11px; gap: 9px; padding-inline: 8px; }
    .advantages .icon { width: 25px; height: 25px; }
    .about-panel { padding: 30px; }
    .about-panel h2 { font-size: 28px; }
    .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .shell { width: calc(100% - 36px); }
    .header-inner { height: 80px; gap: 12px; }
    .brand img { width: 120px; height: 39px; }
    .header-actions { display: grid; grid-template-columns: auto 28px; grid-template-rows: 27px 20px; column-gap: 13px; row-gap: 0; align-items: center; }
    .instagram-link { grid-area: 1 / 1; justify-self: center; }
    .instagram-link .icon { width: 26px; height: 26px; }
    .header-phone { grid-area: 2 / 1; font-size: 10px; gap: 5px; }
    .header-phone .icon { width: 12px; height: 12px; }
    .header-saved { grid-area: 1 / 2 / 3 / 3; width: 26px; }
    .header-saved .icon { width: 21px; height: 21px; }
    .header-saved span { font-size: 8px; line-height: 13px; min-width: 13px; top: 1px; right: -5px; }
    .catalog-main { padding-top: 24px; }
    .catalog-heading { margin-bottom: 17px; }
    .catalog-heading h1 { font-size: 32px; letter-spacing: -1.1px; }
    .catalog-heading p { font-size: 13px; margin-top: 6px; }
    .category-list { gap: 6px; margin: 0 -2px 19px; padding-inline: 2px; }
    .category-tab { flex: 1 0 66px; min-height: 76px; border-radius: 12px; padding: 9px 6px 8px; gap: 6px; }
    .category-tab .icon { width: 27px; height: 27px; }
    .category-tab span { font-size: 10px; line-height: 1.2; }
    .catalog-hero { min-height: 268px; border-radius: 16px; }
    .hero-image { width: 88%; object-position: 59% center; }
    .hero-shade { background: linear-gradient(90deg, #efefeb 0%, #efefebf5 25%, #efefebc2 43%, #efefeb00 79%); }
    .hero-content { padding: 25px 22px 40px; max-width: 68%; }
    .hero-content .eyebrow { display: none; }
    .hero-content h2 { font-size: 30px; letter-spacing: -1px; margin-top: 0; max-width: 185px; }
    .hero-content p { font-size: 13px; line-height: 1.45; margin-top: 12px; max-width: 170px; }
    .hero-content .button { font-size: 11px; padding: 11px 13px; min-height: 41px; gap: 10px; margin-top: 18px; white-space: nowrap; }
    .hero-content .button .icon { width: 17px; height: 17px; }
    .hero-dots { bottom: 5px; }
    .projects-section { margin-top: 26px; }
    .section-heading { margin-bottom: 16px; }
    .section-heading .eyebrow { font-size: 8px; letter-spacing: 1.25px; }
    .section-heading h2 { font-size: 24px; letter-spacing: -.7px; }
    .project-total { font-size: 10px; margin-bottom: 3px; }
    .project-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .project-card { border-radius: 14px; }
    .project-photo { aspect-ratio: 16 / 10; }
    .project-info { padding: 13px 14px; }
    .project-info > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
    .project-info h3 { font-size: 16px; }
    .category-pill { margin-top: 0; font-size: 10px; padding: 4px 9px; }
    .favorite-button { width: 34px; height: 34px; }
    .catalog-pagination { margin-top: 23px; }
    .advantages { margin-block: 29px; padding-block: 20px; gap: 0; }
    .advantages > div { flex-direction: column; text-align: center; font-size: 9px; line-height: 1.4; gap: 9px; padding: 0 3px; }
    .advantages .icon { width: 28px; height: 28px; }
    .about-panel { display: block; padding: 27px 24px; border-radius: 16px; margin-bottom: 30px; }
    .about-panel h2 { font-size: 27px; }
    .about-panel p { font-size: 13px; }
    .about-panel .eyebrow { font-size: 9px; }
    .about-panel .button { font-size: 12px; margin-top: 20px; }
    .about-detail { display: none; }
    .site-footer { padding-top: 29px; }
    .footer-inner { display: grid; gap: 23px; }
    .footer-brand { font-size: 19px; }
    .footer-contact > a { font-size: 18px; }
    .footer-contact span { max-width: 250px; }
    .footer-bottom { padding-right: 65px; font-size: 9px; gap: 16px; }
    .whatsapp-float { right: 15px; bottom: max(16px, env(safe-area-inset-bottom)); width: 54px; height: 54px; border-width: 2px; }
    .whatsapp-float .icon { width: 32px; height: 32px; }
    .catalog-toast { left: 17px; bottom: 20px; transform: none; max-width: calc(100% - 100px); padding: 10px 14px; font-size: 12px; }
    .project-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 20px); border-radius: 13px; }
    .gallery-top { padding: 13px 15px; }
    .gallery-top h2 { font-size: 17px; }
    .gallery-stage { height: 53dvh; min-height: 180px; }
    .gallery-prev, .gallery-next { width: 34px; height: 34px; }
    .gallery-prev { left: 7px; }
    .gallery-next { right: 7px; }
    .gallery-bottom { padding: 14px 15px 17px; flex-direction: column; align-items: stretch; gap: 12px; }
    .gallery-bottom .button { font-size: 12px; padding: 11px; }
    .gallery-bottom p { max-height: 64px; font-size: 12px; }
}
@media (max-width: 360px) {
    .shell { width: calc(100% - 28px); }
    .brand img { width: 100px; height: 34px; }
    .header-actions { grid-template-columns: auto 23px; column-gap: 8px; }
    .header-saved { width: 24px; }
    .hero-content { padding-left: 18px; max-width: 73%; }
    .hero-content h2 { font-size: 28px; }
    .catalog-heading h1 { font-size: 29px; }
    .catalog-heading p { font-size: 11px; }
    .section-heading h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
