.section { position: relative; padding: clamp(92px, 10vw, 156px) 0; background: var(--paper); color: var(--ink); overflow: hidden; }
.section::before { display: none; }
.section.dark { background: #66747a; color: var(--paper); }
.section.alt { background: #f3eee6; }
.section-head { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(260px, 390px); gap: 48px; align-items: end; margin-bottom: 44px; }
.section h2 { font-family: var(--display); font-size: clamp(38px, 4.8vw, 70px); line-height: .98; letter-spacing: 0; font-weight: 500; text-wrap: balance; }
.section-head p { color: #6f6659; font-size: 17px; }
.dark .section-head p { color: rgba(244,239,230,.62); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--bronze), transparent); margin: 34px 0; opacity: .24; }

.services { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 34px; }
.service { min-height: 210px; padding: 28px 4px; border-top: 1px solid rgba(18,17,15,.14); background: transparent; transition: border-color .3s, transform .3s; }
.service:nth-child(1) { grid-column: auto; background: transparent; color: inherit; }
.service:nth-child(1) p { color: #6b6255; }
.service:hover { border-color: var(--bronze); transform: translateY(-3px); }
.service svg { width: 34px; height: 34px; color: var(--bronze); margin-bottom: 24px; }
.service h3 { font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1.05; }
.service p { margin-top: 12px; color: #6b6255; font-size: 13px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; position: relative; z-index: 1; }
.filter { padding: 10px 14px; background: rgba(255,255,255,.25); border: 1px solid rgba(18,17,15,.12); color: inherit; font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.filter.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.projects { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { min-height: 410px; position: relative; overflow: hidden; background: var(--coal-2); border: 0; color: var(--paper); display: flex; align-items: flex-end; padding: 28px; box-shadow: 0 20px 56px rgba(42,55,64,.14); }
.project:nth-child(2), .project:nth-child(5) { min-height: 410px; }
.project::before { content: ''; position: absolute; inset: 0; background: var(--img) center/cover; transform: scale(1.04); transition: transform .7s ease, filter .7s ease; filter: saturate(.9) contrast(1.05); }
.project::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.58)); }
.project:hover::before { transform: scale(1.11); filter: saturate(1.04) contrast(1.12); }
.project-body { position: relative; z-index: 1; }
.project h3 { font-family: var(--display); font-size: 32px; line-height: .98; font-weight: 500; margin: 7px 0; }
.project p { color: rgba(255,255,255,.72); font-size: 14px; max-width: 34ch; }
.project button { margin-top: 18px; color: var(--bronze-2); background: transparent; font: 760 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

.timeline { position: relative; z-index: 1; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; background: transparent; border: 0; }
.step { counter-increment: step; min-height: 160px; padding: 25px 0; background: transparent; border-top: 1px solid rgba(255,255,255,.28); position: relative; }
.step::before { content: '0' counter(step); color: var(--bronze-2); font: 700 12px/1 var(--mono); letter-spacing: .16em; }
.step h3 { margin-top: 38px; font-family: var(--display); font-size: 25px; line-height: 1.08; font-weight: 500; }

.seo-panel { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 58px; align-items: center; }
.seo-copy { font-size: clamp(19px, 2.2vw, 29px); line-height: 1.36; color: rgba(244,239,230,.86); font-family: var(--display); }
.section#seo { background: #e7ded1; color: var(--ink); }
.section#seo .seo-copy { color: #596269; }
.seo-image { min-height: 480px; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(52,64,74,.08)), url('/photos/site/liberatto-RUYCsWDSJFo-unsplash.jpg') center/cover; border: 0; box-shadow: 0 22px 64px rgba(52,64,74,.14); }

.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; }
.section#contact { display: none; }
.contact-details { display: grid; gap: 10px; margin-top: 30px; font-size: 16px; color: #5c6870; }
.contact-details a { width: fit-content; border-bottom: 1px solid var(--line); }
.contact-details address { font-style: normal; }
.business-meta { margin-top: 22px; color: #6c746f; font: 700 11px/1.75 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 7px; }
.field label { font: 700 10px/1 var(--mono); letter-spacing: .14em; color: var(--bronze); text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid rgba(18,17,15,.18); background: rgba(255,255,255,.32); color: var(--ink); outline: none; }
.field textarea { min-height: 132px; resize: vertical; }
.footer { padding: 70px 0 34px; background: #52616a; color: rgba(246,242,235,.82); }
.footer-brand { color: var(--paper); }
.footer-brand img { width: min(190px, 100%); height: auto; display: block; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 54px; }
.footer-spacer { display: none; }
.footer h4 { color: var(--paper); font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { display: block; color: rgba(244,239,230,.62); margin: 8px 0; }
.footer-contact { color: rgba(244,239,230,.72); }
.footer-contact h4 { margin-bottom: 16px; }
.footer-contact address { margin-top: 14px; font-style: normal; font-size: 13px; line-height: 1.55; }
.footer-contact-item { display: flex !important; align-items: center; gap: 9px; margin: 10px 0 !important; }
.footer-contact-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { display: grid !important; place-items: center; width: 32px; height: 32px; margin: 0 !important; border: 1px solid rgba(244,239,230,.28); color: var(--paper); font: 700 16px/1 var(--body); }
.bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.bottom button, .bottom a { display: inline; margin: 0 0 0 16px; padding: 0; color: rgba(244,239,230,.72); background: transparent; border-bottom: 1px solid rgba(244,239,230,.24); font-size: inherit; }
.legal-modal { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; padding: 20px; background: rgba(30,36,40,.62); backdrop-filter: blur(12px); }
.legal-modal.open { display: grid; }
.legal-dialog { position: relative; width: min(760px, 100%); max-height: min(78vh, 760px); overflow: auto; padding: clamp(28px, 5vw, 58px); background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.legal-dialog h2 { margin-top: 8px; font-family: var(--display); font-size: clamp(34px, 5vw, 58px); line-height: .98; font-weight: 500; }
.legal-close { position: absolute; top: 18px; right: 20px; width: 36px; height: 36px; background: transparent; color: var(--ink); font-size: 27px; line-height: 1; }
.legal-body { margin-top: 26px; color: #5f6870; font-size: 15px; line-height: 1.7; }
.legal-body h3 { margin: 22px 0 6px; color: var(--ink); font-family: var(--display); font-size: 23px; font-weight: 500; }
.legal-body p + p { margin-top: 12px; }
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 220; display: none; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; background: rgba(251,248,242,.97); color: var(--ink); border: 1px solid rgba(52,64,74,.16); box-shadow: 0 18px 60px rgba(52,64,74,.2); }
.cookie-banner.open { display: flex; }
.cookie-banner strong { font-family: var(--display); font-size: 22px; font-weight: 500; }
.cookie-banner p { max-width: 700px; margin-top: 4px; color: #5f6870; font-size: 13px; }
.cookie-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-reject, .cookie-link { min-height: 42px; padding: 0 14px; color: var(--ink); background: transparent; border: 1px solid rgba(52,64,74,.2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cookie-link { border: 0; text-decoration: underline; }

.admin { position: fixed; inset: 16px; z-index: 200; display: none; background: rgba(10,10,9,.96); border: 1px solid rgba(210,176,115,.28); color: var(--paper); box-shadow: 0 40px 160px rgba(0,0,0,.65); overflow: auto; }
.admin.open { display: block; }
.admin-head { position: sticky; top: 0; background: rgba(10,10,9,.92); backdrop-filter: blur(16px); padding: 20px; border-bottom: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; align-items: center; }
.admin-body { padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-card { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); padding: 20px; }
.admin-card b { display: block; font-family: var(--display); font-size: 42px; line-height: 1; color: var(--bronze-2); font-weight: 500; }
.admin-card ul { margin: 12px 0 0 18px; color: rgba(244,239,230,.68); }
.admin-card li { margin: 6px 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .links, .nav .cta { display: none; }
  .menu { display: grid; }
  .links.open { position: fixed; left: 20px; right: 20px; top: 86px; display: grid; padding: 22px; background: rgba(8,8,8,.94); border: 1px solid rgba(255,255,255,.12); }
  .section-head, .seo-panel, .contact-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .board-row { grid-template-columns: 1fr; }
  .scene-cards { align-items: center; padding-bottom: 0; }
}
@media (max-width: 620px) {
  .nav { gap: 8px; }
  .brand { font-size: 17px; }
  .tools { gap: 6px; }
  .lang button { min-width: 32px; }
  .header-call { gap: 3px; font-size: 9px; letter-spacing: .02em; }
  .header-call strong { font-size: 9px; }
  .header-call { position: fixed; top: 78px; right: 12px; z-index: 70; padding: 9px 11px; background: rgba(251,248,242,.96); border: 1px solid rgba(52,64,74,.14); box-shadow: 0 10px 28px rgba(52,64,74,.14); }
  .cinematic-call { top: 12px; right: 12px; width: 148px; align-items: flex-start; flex-direction: column; gap: 3px; padding: 8px 9px; font-size: 8px; white-space: normal; }
  .cinematic-call strong { font-size: 8px; }
  h1 { max-width: 10ch; font-size: clamp(38px, 11vw, 56px); overflow-wrap: break-word; }
  .wall-left, .wall-right { width: 50.5%; }
  .services, .footer-grid, .admin-body { grid-template-columns: 1fr; }
  .project, .project:nth-child(2), .project:nth-child(5) { min-height: 380px; }
  .bottom { flex-direction: column; }
  .bottom button, .bottom a { margin-left: 0; margin-right: 14px; margin-top: 8px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; align-items: stretch; flex-direction: column; gap: 14px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .cookie-actions .cookie-link { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  .section { padding: 62px 0; }
  .section-head { gap: 18px; margin-bottom: 26px; }
  .section-head p { font-size: 14px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .service { min-height: 170px; padding: 18px 0; }
  .service svg { width: 28px; height: 28px; margin-bottom: 14px; }
  .service h3 { font-size: 19px; }
  .service p { font-size: 12px; line-height: 1.45; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .project, .project:nth-child(2), .project:nth-child(5) { min-height: 270px; padding: 15px; }
  .project h3 { font-size: 22px; }
  .project p { font-size: 12px; line-height: 1.4; }
  .project button { margin-top: 12px; font-size: 9px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .step { min-height: 128px; padding: 16px 0; }
  .step h3 { margin-top: 22px; font-size: 20px; }
  .seo-panel { gap: 24px; }
  .seo-image { min-height: 260px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; }
  .footer-brand img { width: 150px; }
  .bottom { margin-top: 28px; padding-top: 16px; font-size: 12px; }
  .seo-panel { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; gap: 14px; }
  .seo-panel h2 { font-size: clamp(25px, 7vw, 34px); }
  .seo-copy { font-size: 13px; line-height: 1.5; }
  .seo-image { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
