/* ALUJER ARQUITECTOS — Production CSS */
:root {
  --ink: #1a1a1a;
  --ink2: #444;
  --ink3: #666;
  --mute: #999;
  --faint: #bbb;
  --ghost: #ddd;
  --line: #f0f0f0;
  --bg: #fff;
  --bg2: #fafaf8;
  --bg3: #f0efed;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; font-weight: 300; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 14px; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: #fff; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; transition: all .5s var(--ease); }
.nav.scrolled { padding: 10px 5%; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,.04); }
.nav-logo img { height: 28px; cursor: pointer; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; opacity: .35; transition: opacity .3s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }

/* BURGER */
.burger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 4px; background: none; border: none; }
.burger span { width: 18px; height: 1.5px; background: var(--ink); transition: all .3s var(--ease); }

/* MOBILE MENU */
.mob-menu { position: fixed; inset: 0; background: rgba(255,255,255,.98); z-index: 199; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mob-menu a { font-size: 14px; letter-spacing: .15em; text-transform: uppercase; opacity: .4; transition: opacity .3s; }
.mob-menu a.active { opacity: 1; }

/* HERO */
.hero { position: relative; width: 100%; height: 100vh; overflow: hidden; background: var(--bg3); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 20s var(--ease) both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,.15) 100%); }
.hero-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; animation: fadeUp .8s 1s var(--ease) both; }
.hero-center img { height: 60px; filter: brightness(10); opacity: .95; }
.hero-sub { margin-top: 16px; font-size: 9px; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.35); text-align: center; }

/* SECTIONS */
.section { padding: 90px 5%; }
.section-sm { padding: 50px 5%; }
.section-bg { background: var(--bg2); }
.section-line { border-top: 1px solid var(--line); }
.section-center { text-align: center; }

/* TYPOGRAPHY */
.h1 { font-weight: 200; font-size: clamp(22px, 3.5vw, 36px); letter-spacing: .02em; line-height: 1.4; }
.h2 { font-weight: 200; font-size: clamp(18px, 2.5vw, 28px); line-height: 1.5; }
.label { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.label-lg { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
.body-text { font-size: 13px; color: var(--ink3); line-height: 2.2; }
.italic { font-size: 10px; letter-spacing: .15em; color: var(--faint); font-style: italic; }
.link { display: inline-block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--ghost); padding-bottom: 4px; color: var(--ink3); cursor: pointer; transition: color .3s; }
.link:hover { color: var(--ink); }

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 14px; }

/* PROJECT CARD */
.proj-card { margin-bottom: 6px; }
.proj-img { position: relative; overflow: hidden; background: var(--bg3); padding-bottom: 70%; }
.proj-img.wide { padding-bottom: 55%; }
.proj-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.proj-card:hover .proj-img img { transform: scale(1.05); }
.proj-hover { position: absolute; bottom: 0; left: 0; right: 0; height: 45%; background: linear-gradient(0deg, rgba(0,0,0,.3) 0%, transparent 100%); opacity: 0; transition: opacity .5s; }
.proj-card:hover .proj-hover { opacity: 1; }
.proj-info { position: absolute; bottom: 16px; left: 20px; opacity: 0; transition: all .4s .1s; transform: translateY(6px); }
.proj-card:hover .proj-info { opacity: 1; transform: translateY(0); }
.proj-info h3 { font-size: 12px; font-weight: 400; color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.proj-info span { font-size: 8px; color: rgba(255,255,255,.5); letter-spacing: .14em; text-transform: uppercase; }

/* REVEAL */
.r { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.r.v { opacity: 1; transform: none; }
.rc { opacity: 0; transform: scale(1.02); clip-path: inset(5% 2% 5% 2%); transition: all 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rc.v { opacity: 1; transform: scale(1); clip-path: inset(0); }

/* COUNTER */
.counter { text-align: center; }
.counter-num { font-size: 32px; font-weight: 200; }
.counter-label { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }

/* SERVICES */
.svc-item { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink2); }

/* TEAM */
.team-card { background: var(--bg2); overflow: hidden; }
.team-photo { position: relative; width: 100%; padding-bottom: 125%; overflow: hidden; background: #e8e6e2; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease); filter: grayscale(100%); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info { padding: 20px 22px 24px; }
.team-name { font-weight: 400; font-size: 13px; letter-spacing: .02em; }
.team-role { font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 4px 0 12px; line-height: 1.8; }
.team-desc { font-size: 11px; color: #888; line-height: 1.9; }

/* FILTERS */
.filters { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); cursor: pointer; border: none; background: none; padding: 0 0 3px; transition: all .3s; font-family: inherit; }
.filter-btn.active { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* FOOTER */
.footer { border-top: 1px solid #eee; padding: 44px 5%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-info { font-size: 10px; color: var(--mute); line-height: 2.2; }
.footer-legal { font-size: 8px; color: var(--ghost); text-align: right; align-self: flex-end; }
.footer img { height: 24px; margin-bottom: 12px; }

/* FULLWIDTH IMAGE */
.full-img { height: 340px; overflow: hidden; }
.full-img img { width: 100%; height: 100%; object-fit: cover; }

/* KEYFRAMES */
@keyframes heroZoom { 0% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes fadeUp { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes loaderIn { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .section { padding: 60px 5%; }
  .hero-center img { height: 40px; }
  .full-img { height: 220px; }
  .grid-svc { grid-template-columns: 1fr !important; }
  .team-photo { padding-bottom: 0; height: 300px; }
}

@media (min-width: 769px) {
  .burger { display: none; }
}
