/* Gallery, material backgrounds and the original WhatsApp launcher. */
:root { --whatsapp: #25d366; --whatsapp-dark: #128c7e; }
.barbecue-drawing { display: block; width: 100%; height: auto; color: #876a50; pointer-events: none; }
.home-hero { isolation: isolate; background: #181514; }
.home-hero > .container { position: relative; z-index: 2; }
.hero-background-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-background-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 11% 82%, #b844241f 0 7%, transparent 31%), radial-gradient(circle at 70% 44%, #a3482a20, transparent 38%), linear-gradient(100deg, #181514a8 0 42%, #1815145c 64%, #181514b8 100%); }
.hero-brick-field { position: absolute; inset: 33% 44% 0 -5%; opacity: .12; background-image: linear-gradient(#d39b7b33 1px, transparent 1px), linear-gradient(90deg, #d39b7b33 1px, transparent 1px), linear-gradient(90deg, transparent 50%, #d39b7b25 50%); background-size: 84px 36px, 84px 36px, 168px 72px; transform: perspective(520px) rotateX(62deg) rotateZ(-5deg) scale(1.25); transform-origin: center bottom; mask-image: linear-gradient(90deg,#000,transparent 92%), linear-gradient(0deg,#000,transparent 95%); }
.hero-barbecue-blueprint { position: absolute; width: 470px; left: max(calc((100vw - var(--container))/2 - 220px), -190px); top: -80px; opacity: .1; transform: rotate(-5deg); }
.hero-barbecue-blueprint .barbecue-drawing { color: #e4b08c; filter: drop-shadow(0 0 18px #c04d2438); }
.hero-ember { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #f07843; box-shadow: 0 0 10px #f07843, 0 0 22px #b82b14; opacity: .42; }
.hero-ember-one { left: 8%; bottom: 16%; }
.hero-ember-two { left: 33%; top: 24%; width: 3px; height: 3px; }
.hero-ember-three { left: 48%; bottom: 31%; width: 4px; height: 4px; }
.home-hero-image::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #e4b99916, inset 0 -80px 110px #32170c24; pointer-events: none; }
.home-intro { isolation: isolate; }
.home-intro .architectural-detail { position: absolute; width: 390px; right: -80px; top: -84px; opacity: .1; transform: rotate(-7deg); z-index: -1; }
.is-inked .barbecue-drawing > g > path { animation: sketch-in 1.8s cubic-bezier(.22,1,.36,1) both; stroke-dasharray: 1500; }
@keyframes sketch-in { from { stroke-dashoffset: 1500; opacity: .15; } to { stroke-dashoffset: 0; opacity: 1; } }
.home-about { background: linear-gradient(90deg, #ece5dcf5 15%, #ece5dced), var(--photo-project) center/cover; }
.final-cta { isolation: isolate; overflow: hidden; background: radial-gradient(circle at 78% 32%, #8c3b2628, transparent 32%), linear-gradient(115deg, #1b1816 0%, #211b18 58%, #171514 100%); border-bottom: 1px solid #6f58483b; }
.final-cta::before { content: ''; position: absolute; inset: 0 48% 0 0; z-index: 0; opacity: .09; background-image: linear-gradient(#d7aa8c55 1px, transparent 1px), linear-gradient(90deg, #d7aa8c55 1px, transparent 1px); background-size: 78px 34px; mask-image: linear-gradient(90deg,#000,transparent); pointer-events: none; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta .container > div { max-width: 770px; }
.final-cta p { color: #ded7d1; }
.site-footer { background: linear-gradient(102deg,#181512f2 0%,#221a16df 52%,#181512ed 100%), var(--photo-footer) center 46%/cover; padding-bottom: 0; }
.footer-grid { grid-template-columns: 1.1fr .9fr 1.25fr; }
.footer-grid > div { min-width: 0; }
.footer-contact-icon, .footer-shortcut-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-contacts { display: grid; gap: 11px; }
.footer-contacts li { margin: 0; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; min-height: 36px; line-height: 1.65; }
.footer-contact-item button, .footer-contact-item > a { width: 100%; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.footer-contacts button { text-decoration: none; }
.footer-contacts button:hover .contact-label, .footer-contacts button:focus-visible .contact-label, .footer-contact-item > a:hover .contact-label, .footer-contact-item > a:focus-visible .contact-label, .footer-contact-item.email > a:hover, .footer-contact-item.email > a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact-icon, .footer-shortcut-icon { width: 34px; height: 34px; color: #e6b69a; border: 1px solid #c7917444; border-radius: 5px; background: #2b211d96; }
.footer-contact-icon svg, .footer-shortcut-icon svg { width: 17px; height: 17px; stroke-width: 1.45; }
.footer-shortcuts { margin-top: 16px; padding: 34px 0 26px; border-top: 1px solid #ffffff20; font-size: 11px; }
.footer-shortcut-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.footer-shortcuts a { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 9px 8px; color: #eee7e1; text-decoration: none; border: 1px solid transparent; background: transparent; transition: color 180ms, border-color 180ms, background 180ms, transform 180ms; }
.footer-shortcuts a:hover { color: #fff; border-color: #c58b6b4d; background: #3327209e; transform: translateY(-2px); }
.button-whatsapp-icon .whatsapp-mark { width: 22px; height: 22px; }
.footer-credit { border-block: 1px solid #ffffff16; background: #15131142; padding: 24px 0; text-align: center; color: #fff; }
.footer-credit .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; font-size: 12px; line-height: 1.8; }
.footer-credit a { color: #ffffff; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.footer-credit a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit img { width: 16px; height: 17px; object-fit: contain; }
.floating-contact.whatsapp-bubble { width: 60px; height: 60px; min-height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); box-shadow: 0 5px 20px #0003; z-index: 45; transition: background 180ms, box-shadow 220ms, transform 220ms; }
.floating-contact.whatsapp-bubble img { width: 36px; height: 36px; display: block; }
.floating-contact.whatsapp-bubble:hover { background: var(--whatsapp-dark); transform: translateY(-3px); box-shadow: 0 8px 26px #0004; }
.floating-contact.whatsapp-bubble:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 8px #128c7e; }
.whatsapp-tooltip { position: absolute; right: 74px; top: 50%; transform: translate(5px, -50%); color: #fff; background: #202020; box-shadow: 0 4px 14px #0002; padding: 8px 13px; border-radius: 3px; font-size: 12px; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 180ms, transform 180ms, visibility 180ms; }
.whatsapp-bubble:hover .whatsapp-tooltip, .whatsapp-bubble:focus-visible .whatsapp-tooltip { opacity: 1; visibility: visible; transform: translate(0,-50%); }
.dialog-open .whatsapp-bubble, .photo-dialog-open .whatsapp-bubble { visibility: hidden; }
.project-section { isolation: isolate; background: linear-gradient(118deg,#211e1c 0%,#29231f 54%,#1d1a18 100%); }
.project-section > .container { position: relative; z-index: 1; }
.project-brick-pattern { position: absolute; inset: 0 0 0 55%; opacity: .07; background-image: linear-gradient(#e2b699 1px, transparent 1px), linear-gradient(90deg,#e2b699 1px,transparent 1px), linear-gradient(90deg,transparent 50%,#e2b699 50%); background-size: 76px 32px,76px 32px,152px 64px; mask-image: linear-gradient(90deg,transparent,#000); pointer-events: none; }
.project-steps { gap: 22px; align-items: stretch; }
.project-step { min-width: 0; min-height: 315px; display: flex; flex-direction: column; padding: 27px 27px 24px; border: 1px solid #b99a8452; background: linear-gradient(145deg,#302a26d9,#211e1cdf); transition: transform 300ms var(--ease-craft), border-color 300ms var(--ease-craft), background 300ms var(--ease-craft); }
.project-step:hover { transform: translateY(-5px); border-color: #da8e6a80; background: linear-gradient(145deg,#352d29ed,#26211eed); }
.step-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.step-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; color: #f1b08e; background: #181513; border: 1px solid #c77b5959; }
.step-icon svg { width: 24px; height: 24px; stroke-width: 1.4; }
.step-number { width: 2.7ch; margin: 0; padding: 0; color: #bfa998; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .08em; text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.project-step h3 { margin: 0 0 14px; font-size: 21px; text-wrap: balance; }
.project-step p { flex: 1; max-width: 32ch; font-size: 12px; line-height: 1.9; color: #c7bbb1; }
.project-step .step-line { margin-top: 24px; }
.project-button { margin-top: 34px; }
.contact-capture-preparation ul { display: grid; gap: 8px; margin-block: 18px 8px; }
.contact-capture-preparation li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; min-height: 48px; padding: 8px 10px 8px 0; border-bottom: 1px solid #aa927c42; color: #54483e; font-size: 12px; line-height: 1.7; }
.contact-preparation-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: #9d3d2e; background: #eee4d8; border: 1px solid #ae80645c; }
.contact-preparation-icon svg { width: 17px; height: 17px; stroke-width: 1.5; }
.contact-data-row { display: grid !important; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; }
.contact-data-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: #9d3d2e; background: #eee4d8; border: 1px solid #ae80645c; }
.contact-data-icon svg { width: 17px; height: 17px; stroke-width: 1.5; }
.contact-data-row dt { grid-column: 1/-1; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; margin: 0; }
.contact-data-row dd { grid-column: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-barbecue-blueprint .barbecue-drawing > g > path { animation: hero-sketch 2.2s 180ms cubic-bezier(.22,1,.36,1) both; stroke-dasharray: 1500; }
  .hero-ember { animation: ember-drift 4.8s ease-in-out infinite alternate; }
  .hero-ember-two { animation-delay: -1.6s; animation-duration: 5.7s; }
  .hero-ember-three { animation-delay: -3.1s; animation-duration: 4.2s; }
  @keyframes hero-sketch { from { stroke-dashoffset: 1500; opacity: .12; } to { stroke-dashoffset: 0; opacity: 1; } }
  @keyframes ember-drift { from { transform: translate3d(0,8px,0); opacity: .18; } to { transform: translate3d(6px,-13px,0); opacity: .55; } }
}
.gallery-intro-count { display: flex; gap: 23px; align-items: center; justify-content: flex-end; color: #d6c7b8; }
.gallery-intro-count strong { font-size: clamp(95px,11vw,150px); font-weight: 400; line-height: 1; letter-spacing: -.075em; }
.gallery-intro-count span { font-size: 12px; line-height: 1.8; border-left: 1px solid #9a806259; padding-left: 24px; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.gallery-toolbar h2 { font-size: clamp(30px,3.3vw,44px); }
.gallery-toolbar > p { font-size: 12px; color: #655a50; white-space: nowrap; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 40px; }
.gallery-filters[hidden], .gallery-more[hidden] { display: none; }
.gallery-filters button { border: 1px solid #b4a795; background: transparent; color: #493e35; padding: 12px 18px; font: inherit; font-size: 12px; min-height: 44px; transition: color 180ms, background 180ms, border-color 180ms; cursor: pointer; }
.gallery-filters button:hover { border-color: #28211d; }
.gallery-filters button[aria-pressed=true] { color: #fff; background: #28211d; border-color: #28211d; }
.photo-gallery { columns: 3; column-gap: 28px; }
.photo-tile { margin: 0 0 32px; break-inside: avoid; }
.photo-tile[hidden] { display: none; }
.photo-open { display: block; position: relative; background: #d2c6b7; overflow: hidden; }
.photo-open > img { width: 100%; height: auto; display: block; transition: transform 650ms cubic-bezier(.22,1,.36,1); }
.photo-open:hover > img { transform: scale(1.035); }
.photo-open:focus-visible { outline-offset: 5px; }
.photo-number { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; min-width: 31px; height: 31px; background: #201b18d9; color: #fff; font-size: 10px; }
.photo-expand { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; background: #fffffff2; color: #332821; transition: background 200ms, color 200ms; }
.photo-expand svg { width: 17px; height: 17px; }
.photo-open:hover .photo-expand { background: var(--red); color: #fff; }
.photo-tile figcaption { padding-block: 16px 5px; }
.photo-tile h3 { font-size: 15px; font-weight: 600; line-height: 1.55; letter-spacing: -.02em; margin-bottom: 6px; }
.photo-tile p { font-size: 12px; color: #655a50; line-height: 1.8; }
.gallery-load { display: flex; justify-content: center; padding-top: 17px; }
.gallery-source-note { font-size: 12px; line-height: 1.9; color: #655a50; max-width: 760px; margin: 36px auto 0; text-align: center; }
.photo-dialog { width: min(1160px,calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #6b5d5247; background: #181615; color: #f5efea; }
.photo-dialog[open] { display: flex; flex-direction: column; animation: photo-arrive 200ms ease-out; }
.photo-dialog::backdrop { background: #100e0dfa; }
@keyframes photo-arrive { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.photo-dialog-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 10px 25px; border-bottom: 1px solid #ffffff18; font-size: 12px; }
.photo-dialog button { border: 1px solid #ffffff35; color: #fff; background: #181615dd; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.photo-dialog button:hover { background: #493d33; }
.photo-dialog button svg { width: 22px; height: 22px; }
.photo-dialog-stage { display: grid; grid-template-columns: 60px 1fr 60px; gap: 12px; padding: 18px; align-items: center; min-height: 0; }
[data-photo-image-holder] { min-width: 0; min-height: 0; display: flex; justify-content: center; align-items: center; }
[data-photo-image] { max-width: 100%; width: auto; height: auto; max-height: calc(100dvh - 255px); object-fit: contain; }
.photo-next { justify-self: end; }
.photo-dialog-caption { padding: 4px 32px 24px; text-align: center; }
.photo-dialog-caption h2 { color: #f5efea; font-size: 19px; margin-bottom: 7px; line-height: 1.4; }
.photo-dialog-caption p { font-size: 12px; line-height: 1.8; color: #c4b8ae; }
.photo-dialog-open { overflow: hidden; }
.gallery-preview-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.gallery-preview-photo { display: block; position: relative; overflow: hidden; min-width: 0; background: #d5c8b8; }
.gallery-preview-photo:first-child { grid-row: span 2; }
.gallery-preview-photo:last-child { grid-column: span 2; }
.gallery-preview-photo img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform 650ms cubic-bezier(.22,1,.36,1); }
.gallery-preview-photo:first-child img { height: 540px; }
.gallery-preview-photo > span { position: absolute; inset: auto 0 0; padding: 35px 22px 19px; background: linear-gradient(transparent,#17120df2); color: #fff; display: flex; justify-content: space-between; gap: 18px; font-size: 12px; line-height: 1.7; }
.gallery-preview-photo svg { width: 18px; flex-shrink: 0; }
.gallery-preview-photo:hover img { transform: scale(1.035); }
.home-gallery .section-intro { margin-bottom: 36px; }
.information-layout { display: grid; grid-template-columns: 1fr 280px; gap: 80px; }
.information-copy { max-width: 740px; }
.information-copy section { margin-bottom: 35px; }
.information-copy h2 { font-size: 26px; margin-bottom: 14px; }
.information-copy p { font-size: 14px; margin-top: 12px; }
.information-drawing { opacity: .55; align-self: start; position: sticky; top: 40px; }
.information-actions { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 30px; }
@media (min-width: 801px) and (max-width: 1200px) {
  .header-navigation { gap: 16px; }
  .header-navigation > a { font-size: 10px; }
  .brand-caption { display: none; }
}
@media (max-width: 1000px) {
  .hero-barbecue-blueprint { left: -170px; width: 420px; opacity: .08; }
  .footer-shortcut-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .photo-gallery { columns: 2; column-gap: 22px; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .gallery-preview-photo:first-child { grid-row: auto; }
  .gallery-preview-photo:last-child { grid-column: auto; }
  .gallery-preview-photo img, .gallery-preview-photo:first-child img { height: 300px; }
}
@media (max-width: 800px) {
  .hero-brick-field { inset: 43% 5% 0 -12%; }
  .hero-barbecue-blueprint { left: auto; right: -165px; top: 20px; width: 390px; opacity: .075; }
  .hero-ember-three { left: 78%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-shortcut-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-steps { grid-template-columns: 1fr; gap: 16px; }
  .project-step { min-height: 0; }
  .project-brick-pattern { inset: 0 0 0 25%; }
  .gallery-intro-count { justify-content: flex-start; }
  .gallery-intro-count strong { font-size: 88px; }
  .information-layout { grid-template-columns: 1fr; }
  .information-drawing { display: none; }
  .photo-dialog { width: calc(100vw - 24px); }
  .photo-dialog-stage { grid-template-columns: 44px 1fr 44px; padding: 12px 8px; gap: 6px; }
}
@media (max-width: 540px) {
  .hero-background-art::after { background: radial-gradient(circle at 14% 35%,#b844241c,transparent 33%), linear-gradient(180deg,#181514bd,#18151466 54%,#181514e8); }
  .hero-brick-field { inset: 54% -25% 0 -20%; opacity: .1; }
  .hero-barbecue-blueprint { right: -180px; top: 15px; width: 350px; opacity: .065; }
  .hero-ember-two { left: 72%; top: 19%; }
  .floating-contact.whatsapp-bubble { width: 60px; height: 60px; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .floating-contact .whatsapp-tooltip { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-shortcuts { font-size: 11px; }
  .footer-shortcut-list { grid-template-columns: 1fr 1fr; gap: 7px; }
  .footer-shortcuts a { min-height: 58px; padding: 10px; }
  .footer-credit { padding: 20px 0 90px; }
  .footer-credit .container { display: block; font-size: 11px; }
  .footer-credit-separator { display: none; }
  .footer-credit-developer { display: block; margin-top: 5px; }
  .gallery-toolbar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .gallery-toolbar > p { white-space: normal; }
  .gallery-filters { gap: 8px; margin-bottom: 28px; }
  .gallery-filters button { padding: 11px 13px; font-size: 11px; }
  .photo-gallery { columns: 1; }
  .photo-tile { margin-bottom: 26px; }
  .photo-tile h3 { font-size: 17px; }
  .photo-tile p { font-size: 13px; }
  .gallery-more { width: 100%; justify-content: space-between; }
  .gallery-preview-grid { gap: 18px; grid-template-columns: 1fr; }
  .gallery-preview-photo img, .gallery-preview-photo:first-child img { height: auto; aspect-ratio: 1.1; }
  .gallery-preview-photo:nth-child(n+3) { display: none; }
  .gallery-preview-photo > span { font-size: 13px; }
  .photo-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; }
  .photo-dialog-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 0; }
  [data-photo-image] { max-height: calc(100dvh - 250px); }
  .photo-previous, .photo-next { position: absolute; bottom: 8px; z-index: 1; }
  .photo-previous { left: 14px; }
  .photo-next { right: 14px; }
  .photo-dialog-caption { min-height: 120px; padding: 10px 24px 24px; }
  .photo-dialog-caption h2 { font-size: 18px; }
  .home-intro .architectural-detail { right: -210px; width: 340px; }
  .project-step { display: flex; padding: 23px 22px 21px; }
  .step-meta { width: 100%; margin-bottom: 22px; }
  .step-icon { width: 46px; height: 46px; }
  .step-icon svg { width: 21px; height: 21px; }
  .step-number { width: 2.7ch; padding: 0; font-size: 12px; }
  .project-step h3 { font-size: 21px; }
  .project-step p { max-width: none; font-size: 13px; }
  .project-step .step-line { width: 100%; grid-column: auto; }
  .contact-capture-preparation li { grid-template-columns: 34px 1fr; }
  .contact-preparation-icon, .contact-data-icon { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-inked .barbecue-drawing > g > path, .photo-dialog[open], .hero-ember { animation: none; }
  .photo-open:hover > img, .gallery-preview-photo:hover img { transform: none; }
}
