:root { --bg:#111010; --paper:#f3eee8; --muted:#c9beb6; --accent:#c56a62; }
    * { box-sizing:border-box; }
    html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
    img { max-width:100%; }
    .tile { -webkit-tap-highlight-color:transparent; }
    body { margin:0; background:var(--bg); color:var(--paper); font-family:Georgia, "Times New Roman", serif; }
    .hero {
      min-height:100svh; position:relative; display:flex; align-items:flex-end;
      padding:clamp(28px,7vw,90px); overflow:hidden; isolation:isolate;
      background:#302827;
    }
    .hero::before {
      content:""; position:absolute; inset:0; z-index:-2;
      background:url("imagenes/portada-imagen-1.png") center 42%/cover no-repeat;
      transform:scale(1.02);
    }
    .hero::after { content:""; position:absolute; inset:0; z-index:-1;
      background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.08) 75%); }
    .hero-copy { max-width:760px; }
    .eyebrow { font: .72rem/1.4 Arial,sans-serif; letter-spacing:.28em; text-transform:uppercase; color:#ead5d0; }
    h1 { font-size:clamp(3.4rem,10vw,8.5rem); line-height:.88; font-weight:400; margin:22px 0; letter-spacing:-.055em; }
    .hero p { max-width:520px; font:1rem/1.7 Arial,sans-serif; color:#eee5df; }
    .scroll { display:inline-block; margin-top:22px; color:white; text-decoration:none; font: .75rem Arial,sans-serif; letter-spacing:.2em; text-transform:uppercase; border-bottom:1px solid #e8b5ac; padding-bottom:9px; }
    main { max-width:1500px; margin:auto; padding:clamp(55px,8vw,110px) clamp(18px,5vw,70px); }
    .intro { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:38px; }
    .intro h2 { font-size:clamp(2rem,5vw,4.2rem); font-weight:400; margin:0; }
    .intro p { max-width:390px; color:var(--muted); font: .9rem/1.7 Arial,sans-serif; margin:0; }
    .gallery { display:grid; grid-template-columns:repeat(12,1fr); gap:18px; }
    .tile { position:relative; min-height:390px; height:clamp(390px,48vw,650px); overflow:hidden; cursor:pointer; background:#292323; isolation:isolate; }
    .tile:nth-child(1), .tile:nth-child(4) { grid-column:span 7; }
    .tile:nth-child(2), .tile:nth-child(3), .tile:nth-child(5) { grid-column:span 5; }
    .tile img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .8s cubic-bezier(.2,.7,.2,1), filter .6s; }
    .tile:nth-child(2) img, .tile:nth-child(3) img, .tile:nth-child(5) img { object-position:center 35%; }
    .tile::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.78),transparent 65%); opacity:.8; transition:opacity .5s; pointer-events:none; }
    @media(hover:hover){ .tile:hover img { transform:scale(1.045); } }
    .tile.active img { transform:scale(1.09); filter:brightness(.55); }
    .tile-content { position:absolute; z-index:2; left:clamp(18px,3vw,38px); right:clamp(18px,3vw,38px); bottom:clamp(20px,3vw,38px); }
    .tile-number { font: .7rem Arial,sans-serif; letter-spacing:.22em; color:#f0b8ae; }
    .tile h3 { font-size:clamp(1.7rem,3vw,3rem); font-weight:400; margin:9px 0 0; }
    .phrase { max-height:0; opacity:0; overflow:hidden; transition:max-height .55s ease, opacity .45s ease, margin .45s ease; color:#f7eee9; font:1rem/1.7 Arial,sans-serif; max-width:600px; }
    .tile.active .phrase { max-height:180px; opacity:1; margin-top:14px; }
    .hint { font: .68rem Arial,sans-serif; letter-spacing:.17em; text-transform:uppercase; color:#e4d4ce; margin-top:14px; }
    .tile.active .hint { display:none; }
    footer { border-top:1px solid #403735; padding:28px 5vw; text-align:center; color:#a99b94; font: .72rem Arial,sans-serif; letter-spacing:.14em; }
    @media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
  
    /* ===== Menú ===== */
    .nav { position:fixed; top:0; left:0; right:0; z-index:100; display:flex; align-items:center; justify-content:space-between;
      padding:14px clamp(18px,5vw,60px); padding-top:max(14px,env(safe-area-inset-top));
      background:linear-gradient(180deg,rgba(17,16,16,.85),rgba(17,16,16,0)); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
    .brand { font:.78rem Arial,sans-serif; letter-spacing:.24em; text-transform:uppercase; color:#fff; text-decoration:none; }
    .menu { display:flex; gap:30px; list-style:none; margin:0; padding:0; }
    .menu a { font:.75rem Arial,sans-serif; letter-spacing:.2em; text-transform:uppercase; color:#eadfd8; text-decoration:none; padding:8px 0; border-bottom:1px solid transparent; }
    .menu a:hover, .menu a.current { border-bottom-color:#e8b5ac; color:#fff; }
    .burger { display:none; width:46px; height:46px; background:none; border:0; cursor:pointer; padding:0; position:relative; }
    .burger span { position:absolute; left:11px; right:11px; height:2px; background:#fff; transition:transform .3s, opacity .3s, top .3s; }
    .burger span:nth-child(1){ top:16px; } .burger span:nth-child(2){ top:22px; } .burger span:nth-child(3){ top:28px; }
    .burger[aria-expanded="true"] span:nth-child(1){ top:22px; transform:rotate(45deg); }
    .burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
    .burger[aria-expanded="true"] span:nth-child(3){ top:22px; transform:rotate(-45deg); }
    .hero.small { min-height:70svh; }
    .hero.small h1 { font-size:clamp(2.6rem,8vw,6.5rem); }

    /* ===== Móvil ===== */
    @media(max-width:760px) {
      .nav { backdrop-filter:none; -webkit-backdrop-filter:none; }
      .burger { display:block; }
      .menu { position:fixed; top:0; left:0; right:0; bottom:0; flex-direction:column; justify-content:center; align-items:center; gap:34px;
        background:rgba(17,16,16,.97); opacity:0; visibility:hidden; transition:opacity .3s, visibility .3s; }
      .menu.open { opacity:1; visibility:visible; }
      .menu a { font-size:1rem; }
      .burger { z-index:101; }
      .hero { min-height:92svh; padding:24px 22px 44px; }
      .hero.small { min-height:78svh; }
      h1 { font-size:clamp(2.8rem,15vw,4.4rem); line-height:.95; margin:16px 0; }
      .hero.small h1 { font-size:clamp(2.2rem,11.5vw,3.6rem); }
      .hero p { font-size:.95rem; }
      .scroll { padding:12px 0; }
      main { padding:48px 16px 56px; }
      .intro { display:block; margin-bottom:26px; } .intro p { margin-top:14px; }
      .gallery { display:flex; flex-direction:column; gap:14px; }
      .tile, .tile:nth-child(n) { grid-column:auto; width:100%; height:auto; min-height:0; aspect-ratio:4/5; }
      .tile h3 { font-size:1.7rem; }
      .phrase { font-size:.95rem; line-height:1.6; }
      .tile.active .phrase { max-height:240px; }
      .hint { font-size:.64rem; }
      footer { padding:24px 18px calc(24px + env(safe-area-inset-bottom)); font-size:.65rem; line-height:1.8; }
    }
.hero[style*="--img"]::before { background-image:var(--img); background-position:center 40%; }
